@apple-pie/slice 0.1.40 → 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 (280) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +9 -3
  3. package/dist/cjs/chunks/{AudioBubble-Ybslk38f.js → AudioBubble-DhizGVwQ.js} +4 -4
  4. package/dist/cjs/chunks/{Avatar-1485nArB.js → Avatar-CgvyXwxk.js} +1 -1
  5. package/dist/cjs/chunks/{AvatarGroup-B27k3jy-.js → AvatarGroup-LvWJF9cx.js} +1 -1
  6. package/dist/cjs/chunks/{Badge-CJSfcH0F.js → Badge-D9Aklg3q.js} +1 -1
  7. package/dist/cjs/chunks/{Button-B3MPgjBk.js → Button-BlAS1lxF.js} +1 -1
  8. package/dist/cjs/chunks/{ButtonBar-Ckz9WPjB.js → ButtonBar-3ieuz_vS.js} +1 -1
  9. package/dist/cjs/chunks/{Camera-Dnw8uKdS.js → Camera-C9imyJB2.js} +5 -5
  10. package/dist/cjs/chunks/{CheckBox-ysSRNW6b.js → CheckBox-BSM_N6-k.js} +1 -1
  11. package/dist/cjs/chunks/{Chip-3xrXgMpN.js → Chip-_miOwLKO.js} +1 -1
  12. package/dist/cjs/chunks/{DivInput-CivOdidh.js → DivInput-CLvw20QR.js} +1 -1
  13. package/dist/cjs/chunks/{Dot-BZf-xUJq.js → Dot-ChpyMY0A.js} +1 -1
  14. package/dist/cjs/chunks/{DrggablePanel-DTnGP6Sa.js → DrggablePanel-Bh4w-C2o.js} +4 -4
  15. package/dist/cjs/chunks/{DropDown-DBnywjWN.js → DropDown-BBEsxo6E.js} +1 -1
  16. package/dist/cjs/chunks/{ErrorSummary-Dj-mZarX.js → ErrorSummary-Bh5g3g1Y.js} +4 -4
  17. package/dist/cjs/chunks/{FileIcon-gZhaa0hy.js → FileIcon-mAzQ42GJ.js} +4 -4
  18. package/dist/cjs/chunks/{FileList-Cd0YpfTH.js → FileList-C85_jfbe.js} +1 -1
  19. package/dist/cjs/chunks/{FlexDiv-B4VdDfEW.js → FlexDiv-C8h28Y08.js} +1 -1
  20. package/dist/cjs/chunks/{Grouper-CfbyOJX8.js → Grouper-BwGMkFXw.js} +4 -4
  21. package/dist/cjs/chunks/{Icon-DwiUnchE.js → Icon-C_9-AnkK.js} +4 -4
  22. package/dist/cjs/chunks/{IconButton-C80BfoOY.js → IconButton-Bft4uEdc.js} +1 -1
  23. package/dist/cjs/chunks/{IndexedDB-B9d-Mf6t.js → IndexedDB-D6BQTwAU.js} +1 -1
  24. package/dist/cjs/chunks/{Label-BZAy28Ac.js → Label-gUTFSuwS.js} +1 -1
  25. package/dist/cjs/chunks/{Level-DSg5vS7v.js → Level-BiXP-ftE.js} +1 -1
  26. package/dist/cjs/chunks/{Modal-DV5NW1GF.js → Modal-40onSUtS.js} +2 -2
  27. package/dist/cjs/chunks/{ModalController-B8DAkV9H.js → ModalController-DZ1SV20-.js} +6 -1
  28. package/dist/cjs/chunks/{Overlay-Bj1RWEui.js → Overlay-BVKrZfr_.js} +1 -1
  29. package/dist/cjs/chunks/{Pager-C6yG63F-.js → Pager-AIPFkb0G.js} +1 -1
  30. package/dist/cjs/chunks/{ProgressIndicator-Dy6OmrgJ.js → ProgressIndicator-DQFn0gwg.js} +4 -4
  31. package/dist/cjs/chunks/{PromptInput-DGJ6JYOY.js → PromptInput-BVgv7ynL.js} +5 -5
  32. package/dist/cjs/chunks/{RadioButton-Cn3777t6.js → RadioButton-CB7fDv7u.js} +1 -1
  33. package/dist/cjs/chunks/{RadioButtonList-CXVO1NCc.js → RadioButtonList-Dn2BkyfG.js} +1 -1
  34. package/dist/cjs/chunks/{Slider-CkR3S_EA.js → Slider-CoxZoIhC.js} +4 -4
  35. package/dist/cjs/chunks/{Spacer-Dy1PST4g.js → Spacer-D7UgAVhd.js} +1 -1
  36. package/dist/cjs/chunks/{Switch-BUOLM0cl.js → Switch-ivA8u7nX.js} +1 -1
  37. package/dist/cjs/chunks/{TabBar-BdINbAHO.js → TabBar--_DR7Mg1.js} +5 -5
  38. package/dist/cjs/chunks/{TextArea-Bi50g6yM.js → TextArea-DzCHugsI.js} +6 -4
  39. package/dist/cjs/chunks/{TextField-DDbrIBUS.js → TextField-BNNieT7B.js} +5 -5
  40. package/dist/cjs/chunks/{Tip-BOtxszA9.js → Tip-BvVfzDFb.js} +1 -1
  41. package/dist/cjs/chunks/{Toast-D6Db9esr.js → Toast-CjrVLdRd.js} +5 -5
  42. package/dist/cjs/chunks/{ToggleButton-Ci2FEGRB.js → ToggleButton-auDgzPuS.js} +1 -1
  43. package/dist/cjs/chunks/{UploadArea-I46ka1A9.js → UploadArea-D308XeFd.js} +1 -1
  44. package/dist/cjs/chunks/{Video-DQAW-PZZ.js → Video-BiQIvpFr.js} +1 -1
  45. package/dist/cjs/chunks/{VideoController-CNrD9Mxg.js → VideoController-BUuzXsbv.js} +6 -1
  46. package/dist/cjs/chunks/{WSConnection-BOyOXoR5.js → WSConnection-DiWYhP4h.js} +1 -1
  47. package/dist/cjs/chunks/{WebRTCConnection-BzYw8Id7.js → WebRTCConnection-eVRKHsuy.js} +1 -1
  48. package/dist/cjs/chunks/{localDBStore-KCaFIUNf.js → localDBStore-BvgdNFzE.js} +1 -1
  49. package/dist/cjs/chunks/{microphoneStore-C5ee_LKT.js → microphoneStore-CSk6jaja.js} +1 -1
  50. package/dist/cjs/chunks/{misc-DNy9Lt5i.js → misc-BMPaUWuY.js} +1 -1
  51. package/dist/cjs/chunks/{sseStore-BchSKscL.js → sseStore-BegTn0ky.js} +2 -2
  52. package/dist/cjs/chunks/{uploads-worker-Cdw9215K.js → uploads-worker-Cvvdbnpc.js} +1 -1
  53. package/dist/cjs/chunks/{uploadsStore-CmqxavBo.js → uploadsStore-BV1775q_.js} +2 -2
  54. package/dist/cjs/chunks/viewState-BXZkYXcb.js +160 -0
  55. package/dist/cjs/chunks/{volumeStore-DLDgcwI_.js → volumeStore-cwkrbgdk.js} +1 -1
  56. package/dist/cjs/chunks/{webRTCStore-CLivAEPU.js → webRTCStore-BLkbbMXQ.js} +1 -1
  57. package/dist/cjs/chunks/{windowStore-DbsSYEoM.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 +6 -4
  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 +11 -10
  101. package/dist/cjs/hooks/useAudioRecorder.js +1 -1
  102. package/dist/cjs/hooks/useBindWebRTC.js +2 -2
  103. package/dist/cjs/hooks/useMdStreamBuffer.js +1 -1
  104. package/dist/cjs/hooks/useMicrophone.js +1 -1
  105. package/dist/cjs/hooks/useTrackRenders.js +2 -2
  106. package/dist/cjs/hooks.js +3 -3
  107. package/dist/cjs/index.js +12 -10
  108. package/dist/cjs/stores/LocalDB.js +3 -3
  109. package/dist/cjs/stores/SSE.js +2 -2
  110. package/dist/cjs/stores/WS.js +2 -2
  111. package/dist/cjs/stores/WebRTC.js +2 -2
  112. package/dist/cjs/stores/microphone.js +2 -2
  113. package/dist/cjs/stores/modal.js +1 -1
  114. package/dist/cjs/stores/tip.js +1 -1
  115. package/dist/cjs/stores/toast.js +1 -1
  116. package/dist/cjs/stores/uploads.js +2 -2
  117. package/dist/cjs/stores/video.js +1 -1
  118. package/dist/cjs/stores/volume.js +2 -2
  119. package/dist/cjs/stores/window.js +2 -2
  120. package/dist/cjs/stores.js +45 -45
  121. package/dist/cjs/utils/index.js +2 -2
  122. package/dist/cjs/utils/objects/index.js +2 -2
  123. package/dist/cjs/workers/uploads/uploads.js +2 -2
  124. package/dist/esm/chunks/{AudioBubble-BkdZFxQ7.mjs → AudioBubble-BUy4D4rN.mjs} +6 -6
  125. package/dist/esm/chunks/{Avatar-DmZwCQwd.mjs → Avatar-Bdcl8-Nf.mjs} +2 -2
  126. package/dist/esm/chunks/{AvatarGroup-o5WHZUSG.mjs → AvatarGroup-B-4GGdPS.mjs} +2 -2
  127. package/dist/esm/chunks/{Badge-DFJyVOyX.mjs → Badge-B1QAa8tc.mjs} +1 -1
  128. package/dist/esm/chunks/{Button-Chho_Lrw.mjs → Button-DanlQxTR.mjs} +6 -6
  129. package/dist/esm/chunks/{ButtonBar-BXl1c_Jc.mjs → ButtonBar-DC8aN4QC.mjs} +3 -3
  130. package/dist/esm/chunks/{Camera-ECLWVJgb.mjs → Camera-B3IB3IOi.mjs} +8 -8
  131. package/dist/esm/chunks/{CheckBox-DrEcuTbj.mjs → CheckBox-Df50BNHk.mjs} +3 -3
  132. package/dist/esm/chunks/{Chip-X1P7dJ2W.mjs → Chip-CwDXxAua.mjs} +4 -4
  133. package/dist/esm/chunks/{DivInput-BTLkK5UU.mjs → DivInput-Cv-eeWBP.mjs} +2 -2
  134. package/dist/esm/chunks/{Dot-CYLKBFgT.mjs → Dot-DOKFQo0B.mjs} +1 -1
  135. package/dist/esm/chunks/{DrggablePanel-BoVlqtnh.mjs → DrggablePanel-BEXY5M9q.mjs} +5 -5
  136. package/dist/esm/chunks/{DropDown-ztVVke9M.mjs → DropDown-DG01hr2F.mjs} +3 -3
  137. package/dist/esm/chunks/{ErrorSummary-C3kf2E4H.mjs → ErrorSummary-oi5G6wC8.mjs} +5 -5
  138. package/dist/esm/chunks/{FileIcon-BcL4Y9iU.mjs → FileIcon-enLJYEUf.mjs} +5 -5
  139. package/dist/esm/chunks/{FileList-BGBUdwjJ.mjs → FileList-Bzdgyxx-.mjs} +5 -5
  140. package/dist/esm/chunks/{FlexDiv-DdHqD3UF.mjs → FlexDiv-DknkNy_U.mjs} +2 -2
  141. package/dist/esm/chunks/{Grouper-BNVCE03o.mjs → Grouper-Dt4Dde2r.mjs} +6 -6
  142. package/dist/esm/chunks/{Icon-BZt1vyIG.mjs → Icon-BOU_SmIc.mjs} +5 -5
  143. package/dist/esm/chunks/{IconButton-CR755qeH.mjs → IconButton-Dtzc9KOm.mjs} +5 -5
  144. package/dist/esm/chunks/{IndexedDB-BTreBVy0.mjs → IndexedDB-CMyig7VA.mjs} +1 -1
  145. package/dist/esm/chunks/{Label-CfWrxTqR.mjs → Label-Dv2i58Zw.mjs} +2 -2
  146. package/dist/esm/chunks/{Level-DdWXAhN7.mjs → Level-DIhFiktF.mjs} +3 -3
  147. package/dist/esm/chunks/{Modal-B9i3p9uc.mjs → Modal-9m9mnVHg.mjs} +6 -6
  148. package/dist/esm/chunks/{ModalController-5ErHVoWX.mjs → ModalController-B_dDx154.mjs} +8 -2
  149. package/dist/esm/chunks/{Overlay-e1ApW6k4.mjs → Overlay-D99175pC.mjs} +1 -1
  150. package/dist/esm/chunks/{Pager-7cdJcuLf.mjs → Pager-DmiLccjC.mjs} +2 -2
  151. package/dist/esm/chunks/{ProgressIndicator-DeGlulNo.mjs → ProgressIndicator-Ch3G17Mt.mjs} +5 -5
  152. package/dist/esm/chunks/{PromptInput-D15JCcO_.mjs → PromptInput-DO4qEupV.mjs} +7 -7
  153. package/dist/esm/chunks/{RadioButton-DxTfddbp.mjs → RadioButton-CJR7Xt-k.mjs} +3 -3
  154. package/dist/esm/chunks/{RadioButtonList-BFP66UlZ.mjs → RadioButtonList-C94nUpWA.mjs} +3 -3
  155. package/dist/esm/chunks/{Slider-BycFcO8F.mjs → Slider-SseVlmbl.mjs} +6 -6
  156. package/dist/esm/chunks/{Spacer-DJo_-gVl.mjs → Spacer-BZv85Dxl.mjs} +1 -1
  157. package/dist/esm/chunks/{Switch-CNGwnZv6.mjs → Switch-DWbt6jA7.mjs} +1 -1
  158. package/dist/esm/chunks/{TabBar-7q4roccF.mjs → TabBar-DsEyyBiY.mjs} +9 -9
  159. package/dist/esm/chunks/{TextArea-sen2Zfvz.mjs → TextArea-CKYtQKHj.mjs} +8 -6
  160. package/dist/esm/chunks/{TextField-DxloReNm.mjs → TextField-CEc95_UF.mjs} +8 -8
  161. package/dist/esm/chunks/{Tip-D-FQMv3l.mjs → Tip-joe5AXj-.mjs} +2 -2
  162. package/dist/esm/chunks/{Toast-CsT_aFlb.mjs → Toast-CZqRqr-l.mjs} +7 -7
  163. package/dist/esm/chunks/{ToggleButton-CPdXaS7E.mjs → ToggleButton-BEASCBHE.mjs} +2 -2
  164. package/dist/esm/chunks/{UploadArea-Bdl3i7eE.mjs → UploadArea-BCzgf_yA.mjs} +4 -4
  165. package/dist/esm/chunks/{Video-Bcjl732W.mjs → Video-BJbqZjL2.mjs} +5 -5
  166. package/dist/esm/chunks/{VideoController-BaARvXnU.mjs → VideoController-UU97YVMu.mjs} +11 -5
  167. package/dist/esm/chunks/{WSConnection-xF4eafdv.mjs → WSConnection-IvbyrJH5.mjs} +1 -1
  168. package/dist/esm/chunks/{WebRTCConnection-DN1mZiOD.mjs → WebRTCConnection-CMISrbkj.mjs} +1 -1
  169. package/dist/esm/chunks/{localDBStore-B-6phfUd.mjs → localDBStore-BaMrWZ7c.mjs} +2 -2
  170. package/dist/esm/chunks/{microphoneStore-BTpDrQ-h.mjs → microphoneStore-CAbCtIQb.mjs} +1 -1
  171. package/dist/esm/chunks/{misc-CrRqXhHT.mjs → misc-DrBZJBmZ.mjs} +1 -1
  172. package/dist/esm/chunks/{sseStore-BrDfyzIq.mjs → sseStore-CGTH5JjI.mjs} +2 -2
  173. package/dist/esm/chunks/{uploads-worker-De4Komgf.mjs → uploads-worker-CgeRABUG.mjs} +1 -1
  174. package/dist/esm/chunks/{uploadsStore-DrHX1PuY.mjs → uploadsStore-DARU8ZLF.mjs} +1 -1
  175. package/dist/esm/chunks/viewState-BhDVDWPZ.mjs +172 -0
  176. package/dist/esm/chunks/{volumeStore-BhwxRT5u.mjs → volumeStore-Bh8R2WVg.mjs} +1 -1
  177. package/dist/esm/chunks/{webRTCStore-B-8GAdfg.mjs → webRTCStore-EN1TQcjW.mjs} +2 -2
  178. package/dist/esm/chunks/{windowStore-DIJcIaau.mjs → windowStore-AfHJTRDP.mjs} +1 -1
  179. package/dist/esm/components/AudioBubble/index.mjs +8 -8
  180. package/dist/esm/components/Avatar/index.mjs +3 -3
  181. package/dist/esm/components/AvatarGroup/index.mjs +4 -4
  182. package/dist/esm/components/Badge/index.mjs +2 -2
  183. package/dist/esm/components/Button/index.mjs +12 -12
  184. package/dist/esm/components/ButtonBar/index.mjs +8 -8
  185. package/dist/esm/components/Camera/index.mjs +10 -10
  186. package/dist/esm/components/CheckBox/index.mjs +8 -8
  187. package/dist/esm/components/Chip/index.mjs +9 -9
  188. package/dist/esm/components/DataTable/index.mjs +9 -0
  189. package/dist/esm/components/DivInput/index.mjs +3 -3
  190. package/dist/esm/components/Dot/index.mjs +2 -2
  191. package/dist/esm/components/DraggablePanel/index.mjs +7 -7
  192. package/dist/esm/components/DropDown/index.mjs +8 -8
  193. package/dist/esm/components/ErrorSummary/index.mjs +7 -7
  194. package/dist/esm/components/FileIcon/index.mjs +7 -7
  195. package/dist/esm/components/FileList/index.mjs +10 -10
  196. package/dist/esm/components/FlexDiv/index.mjs +2 -2
  197. package/dist/esm/components/Grouper/index.mjs +9 -9
  198. package/dist/esm/components/Icon/index.mjs +8 -8
  199. package/dist/esm/components/IconButton/index.mjs +11 -11
  200. package/dist/esm/components/Label/index.mjs +3 -3
  201. package/dist/esm/components/Level/index.mjs +4 -4
  202. package/dist/esm/components/Modal/index.mjs +14 -14
  203. package/dist/esm/components/ModalController/index.mjs +13 -5
  204. package/dist/esm/components/Overlay/index.mjs +2 -2
  205. package/dist/esm/components/Pager/index.mjs +3 -3
  206. package/dist/esm/components/Progress/index.mjs +8 -8
  207. package/dist/esm/components/PromptInput/index.mjs +15 -15
  208. package/dist/esm/components/RadioButton/index.mjs +8 -8
  209. package/dist/esm/components/RadioButtonList/index.mjs +9 -9
  210. package/dist/esm/components/Slider/index.mjs +8 -8
  211. package/dist/esm/components/Spacer/index.mjs +2 -2
  212. package/dist/esm/components/Switch/index.mjs +2 -2
  213. package/dist/esm/components/TabBar/index.mjs +12 -12
  214. package/dist/esm/components/TextArea/index.mjs +13 -13
  215. package/dist/esm/components/Textfield/index.mjs +14 -14
  216. package/dist/esm/components/Tip/index.mjs +3 -3
  217. package/dist/esm/components/Toast/index.mjs +9 -9
  218. package/dist/esm/components/ToggleButton/index.mjs +13 -13
  219. package/dist/esm/components/UploadArea/index.mjs +11 -11
  220. package/dist/esm/components/Video/index.mjs +16 -16
  221. package/dist/esm/components/VideoController/index.mjs +20 -20
  222. package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
  223. package/dist/esm/hooks/useBindWebRTC.mjs +5 -5
  224. package/dist/esm/hooks/useMdStreamBuffer.mjs +2 -2
  225. package/dist/esm/hooks/useMicrophone.mjs +1 -1
  226. package/dist/esm/hooks/useTrackRenders.mjs +2 -2
  227. package/dist/esm/hooks.mjs +6 -6
  228. package/dist/esm/index.mjs +58 -56
  229. package/dist/esm/stores/LocalDB.mjs +3 -3
  230. package/dist/esm/stores/SSE.mjs +3 -3
  231. package/dist/esm/stores/WS.mjs +2 -2
  232. package/dist/esm/stores/WebRTC.mjs +3 -3
  233. package/dist/esm/stores/microphone.mjs +2 -2
  234. package/dist/esm/stores/modal.mjs +1 -1
  235. package/dist/esm/stores/tip.mjs +1 -1
  236. package/dist/esm/stores/toast.mjs +1 -1
  237. package/dist/esm/stores/uploads.mjs +3 -3
  238. package/dist/esm/stores/video.mjs +1 -1
  239. package/dist/esm/stores/volume.mjs +2 -2
  240. package/dist/esm/stores/window.mjs +2 -2
  241. package/dist/esm/stores.mjs +17 -17
  242. package/dist/esm/utils/index.mjs +10 -10
  243. package/dist/esm/utils/objects/index.mjs +7 -7
  244. package/dist/esm/workers/uploads/uploads.mjs +2 -2
  245. package/dist/styles.css +476 -80
  246. package/dist/types/components/DataTable/DataTable.d.ts +2 -0
  247. package/dist/types/components/DataTable/_data.d.ts +13 -0
  248. package/dist/types/components/DataTable/_types.d.ts +43 -0
  249. package/dist/types/components/DataTable/columnHelper.d.ts +5 -0
  250. package/dist/types/components/DataTable/index.d.ts +5 -0
  251. package/dist/types/components/DataTable/viewState.d.ts +8 -0
  252. package/dist/types/components/DataTable/viewState.test.d.ts +1 -0
  253. package/dist/types/components/TextArea/_types.d.ts +1 -0
  254. package/dist/types/components/playHelpers.d.ts +29 -29
  255. package/dist/types/index.d.ts +4 -0
  256. package/package.json +3 -3
  257. /package/dist/cjs/chunks/{MdStreamBuffer-B0GHRBFX.js → MdStreamBuffer-Beqhwp6W.js} +0 -0
  258. /package/dist/cjs/chunks/{SSEConnection-CCw3Ea8W.js → SSEConnection-BXI8k_ln.js} +0 -0
  259. /package/dist/cjs/chunks/{_types-Dl8WpYlK.js → _types-B5g4Xcj2.js} +0 -0
  260. /package/dist/cjs/chunks/{audioVisualizer-CxgL_gZ3.js → audioVisualizer-DoLnZmy2.js} +0 -0
  261. /package/dist/cjs/chunks/{colors-Bi4lT_zB.js → colors-tr9QhAvR.js} +0 -0
  262. /package/dist/cjs/chunks/{debounce-C98X5gQO.js → debounce-Cegf7-v6.js} +0 -0
  263. /package/dist/cjs/chunks/{modalStore-C-_Yr_qD.js → modalStore-C0YXUa7W.js} +0 -0
  264. /package/dist/cjs/chunks/{sharedTypes-f9plotud.js → sharedTypes-DarRT_Xu.js} +0 -0
  265. /package/dist/cjs/chunks/{tipStore-CcfSOgEX.js → tipStore-BR0fGs0U.js} +0 -0
  266. /package/dist/cjs/chunks/{toastStore-CPnkKCN1.js → toastStore-BQjpdKCD.js} +0 -0
  267. /package/dist/cjs/chunks/{tslib.es6-D5UbMixw.js → tslib.es6-C-Jd---0.js} +0 -0
  268. /package/dist/cjs/chunks/{videoStore-DTcdzG_S.js → videoStore-Brwoikta.js} +0 -0
  269. /package/dist/esm/chunks/{MdStreamBuffer-BZ45soKI.mjs → MdStreamBuffer-BtGh2HQC.mjs} +0 -0
  270. /package/dist/esm/chunks/{SSEConnection-CGcw3SDi.mjs → SSEConnection-S7LXth1M.mjs} +0 -0
  271. /package/dist/esm/chunks/{_types-CQz9BSgQ.mjs → _types-gAOuZiQG.mjs} +0 -0
  272. /package/dist/esm/chunks/{audioVisualizer-CmcpumUF.mjs → audioVisualizer-Dw9F2-fb.mjs} +0 -0
  273. /package/dist/esm/chunks/{colors-B0Vix7LR.mjs → colors-D1Rpfngc.mjs} +0 -0
  274. /package/dist/esm/chunks/{debounce-KFJgJi3c.mjs → debounce-COjcxIqP.mjs} +0 -0
  275. /package/dist/esm/chunks/{modalStore-DLISP3bM.mjs → modalStore-DEtRKydt.mjs} +0 -0
  276. /package/dist/esm/chunks/{sharedTypes-CowE3tly.mjs → sharedTypes-BZILPfY0.mjs} +0 -0
  277. /package/dist/esm/chunks/{tipStore-5EENmwsQ.mjs → tipStore-CaqkhOSU.mjs} +0 -0
  278. /package/dist/esm/chunks/{toastStore-D-FhQuSQ.mjs → toastStore-BBQBzlws.mjs} +0 -0
  279. /package/dist/esm/chunks/{tslib.es6-Ds68U-an.mjs → tslib.es6-SLveycHb.mjs} +0 -0
  280. /package/dist/esm/chunks/{videoStore-BqjAjmlR.mjs → videoStore-BPWPeEyt.mjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-Ds68U-an.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-CrRqXhHT.mjs";
10
+ import { p as pointerPosition } from "./misc-DrBZJBmZ.mjs";
11
11
 
12
- import { d as debounce } from "./debounce-KFJgJi3c.mjs";
12
+ import { d as debounce } from "./debounce-COjcxIqP.mjs";
13
13
 
14
- import "./webRTCStore-B-8GAdfg.mjs";
14
+ import "./webRTCStore-EN1TQcjW.mjs";
15
15
 
16
- import "./microphoneStore-BTpDrQ-h.mjs";
16
+ import "./microphoneStore-CAbCtIQb.mjs";
17
17
 
18
- import "./volumeStore-BhwxRT5u.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-Ds68U-an.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-Ds68U-an.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-Ds68U-an.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-CrRqXhHT.mjs";
12
+ import { s as setStyle } from "./misc-DrBZJBmZ.mjs";
13
13
 
14
- import "./webRTCStore-B-8GAdfg.mjs";
14
+ import "./webRTCStore-EN1TQcjW.mjs";
15
15
 
16
- import "./microphoneStore-BTpDrQ-h.mjs";
16
+ import "./microphoneStore-CAbCtIQb.mjs";
17
17
 
18
- import "./volumeStore-BhwxRT5u.mjs";
18
+ import "./volumeStore-Bh8R2WVg.mjs";
19
19
 
20
20
  import "../hooks/useWindow.mjs";
21
21
 
22
- import { B as Badge } from "./Badge-DFJyVOyX.mjs";
22
+ import { B as Badge } from "./Badge-B1QAa8tc.mjs";
23
23
 
24
- import { I as Icon } from "./Icon-BZt1vyIG.mjs";
24
+ import { I as Icon } from "./Icon-BOU_SmIc.mjs";
25
25
 
26
- import { I as IconButton } from "./IconButton-CR755qeH.mjs";
26
+ import { I as IconButton } from "./IconButton-Dtzc9KOm.mjs";
27
27
 
28
- import { T as ToolTipType } from "./sharedTypes-CowE3tly.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-Ds68U-an.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-Chho_Lrw.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-Ds68U-an.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-CrRqXhHT.mjs";
14
+ import { s as setStyle } from "./misc-DrBZJBmZ.mjs";
15
15
 
16
- import "./webRTCStore-B-8GAdfg.mjs";
16
+ import "./webRTCStore-EN1TQcjW.mjs";
17
17
 
18
- import "./microphoneStore-BTpDrQ-h.mjs";
18
+ import "./microphoneStore-CAbCtIQb.mjs";
19
19
 
20
- import "./volumeStore-BhwxRT5u.mjs";
20
+ import "./volumeStore-Bh8R2WVg.mjs";
21
21
 
22
22
  import "../hooks/useWindow.mjs";
23
23
 
24
- import { B as Button } from "./Button-Chho_Lrw.mjs";
24
+ import { B as Button } from "./Button-DanlQxTR.mjs";
25
25
 
26
- import { I as Icon } from "./Icon-BZt1vyIG.mjs";
26
+ import { I as Icon } from "./Icon-BOU_SmIc.mjs";
27
27
 
28
- import { I as IconButton } from "./IconButton-CR755qeH.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-Ds68U-an.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-CrRqXhHT.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-Ds68U-an.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-CrRqXhHT.mjs";
14
+ import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-DrBZJBmZ.mjs";
15
15
 
16
- import "./webRTCStore-B-8GAdfg.mjs";
16
+ import "./webRTCStore-EN1TQcjW.mjs";
17
17
 
18
- import "./microphoneStore-BTpDrQ-h.mjs";
18
+ import "./microphoneStore-CAbCtIQb.mjs";
19
19
 
20
- import "./volumeStore-BhwxRT5u.mjs";
20
+ import "./volumeStore-Bh8R2WVg.mjs";
21
21
 
22
22
  import "../hooks/useWindow.mjs";
23
23
 
24
- import { I as Icon } from "./Icon-BZt1vyIG.mjs";
24
+ import { I as Icon } from "./Icon-BOU_SmIc.mjs";
25
25
 
26
- import { P as ProgressIndicator } from "./ProgressIndicator-DeGlulNo.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-CR755qeH.mjs";
6
+ import { I as IconButton } from "./IconButton-Dtzc9KOm.mjs";
7
7
 
8
- import { L as Label } from "./Label-CfWrxTqR.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-CrRqXhHT.mjs";
6
+ import { s as setStyle, a as accessibleKeyDown } from "./misc-DrBZJBmZ.mjs";
7
7
 
8
- import { F as FileList } from "./FileList-BGBUdwjJ.mjs";
8
+ import { F as FileList } from "./FileList-Bzdgyxx-.mjs";
9
9
 
10
- import { I as Icon } from "./Icon-BZt1vyIG.mjs";
10
+ import { I as Icon } from "./Icon-BOU_SmIc.mjs";
11
11
 
12
- import { P as ProgressIndicator } from "./ProgressIndicator-DeGlulNo.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-Ds68U-an.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-CrRqXhHT.mjs";
8
+ import { s as setStyle } from "./misc-DrBZJBmZ.mjs";
9
9
 
10
- import { I as IconButton } from "./IconButton-CR755qeH.mjs";
10
+ import { I as IconButton } from "./IconButton-Dtzc9KOm.mjs";
11
11
 
12
- import { S as Slider } from "./Slider-BycFcO8F.mjs";
12
+ import { S as Slider } from "./Slider-SseVlmbl.mjs";
13
13
 
14
- import { T as ToggleButton } from "./ToggleButton-CPdXaS7E.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-Ds68U-an.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,13 +7,19 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
7
7
 
8
8
  import { useRef, useState, useEffect, useMemo } from "react";
9
9
 
10
- import { s as setStyle } from "./misc-CrRqXhHT.mjs";
10
+ import "./microphoneStore-CAbCtIQb.mjs";
11
11
 
12
- import { I as IconButton } from "./IconButton-CR755qeH.mjs";
12
+ import "./volumeStore-Bh8R2WVg.mjs";
13
13
 
14
- import { O as Overlay } from "./Overlay-e1ApW6k4.mjs";
14
+ import "./webRTCStore-EN1TQcjW.mjs";
15
15
 
16
- import { u as useVideo, a as useVideoActions } from "./videoStore-BqjAjmlR.mjs";
16
+ import { s as setStyle } from "./misc-DrBZJBmZ.mjs";
17
+
18
+ import { I as IconButton } from "./IconButton-Dtzc9KOm.mjs";
19
+
20
+ import { O as Overlay } from "./Overlay-D99175pC.mjs";
21
+
22
+ import { u as useVideo, a as useVideoActions } from "./videoStore-BPWPeEyt.mjs";
17
23
 
18
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";
19
25
 
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-Ds68U-an.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-Ds68U-an.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-Ds68U-an.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-BTreBVy0.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-Ds68U-an.mjs";
2
+ import { a as __awaiter } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { useEffect } from "react";
5
5
 
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-Ds68U-an.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.
@@ -1,8 +1,8 @@
1
1
  import { create } from "zustand";
2
2
 
3
- import "./tslib.es6-Ds68U-an.mjs";
3
+ import "./tslib.es6-SLveycHb.mjs";
4
4
 
5
- import { S as SSEConnection } from "./SSEConnection-CGcw3SDi.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-Ds68U-an.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-De4Komgf.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-Ds68U-an.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-Ds68U-an.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-DN1mZiOD.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-Ds68U-an.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-BkdZFxQ7.mjs";
1
+ export { A as AudioBubble } from "../../chunks/AudioBubble-BUy4D4rN.mjs";
2
2
 
3
- import "../../chunks/tslib.es6-Ds68U-an.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-B0Vix7LR.mjs";
27
+ import "../../chunks/colors-D1Rpfngc.mjs";
28
28
 
29
- import "../../chunks/audioVisualizer-CmcpumUF.mjs";
29
+ import "../../chunks/audioVisualizer-Dw9F2-fb.mjs";
30
30
 
31
- import "../../chunks/webRTCStore-B-8GAdfg.mjs";
31
+ import "../../chunks/webRTCStore-EN1TQcjW.mjs";
32
32
 
33
33
  import "zustand";
34
34
 
35
- import "../../chunks/WebRTCConnection-DN1mZiOD.mjs";
35
+ import "../../chunks/WebRTCConnection-CMISrbkj.mjs";
36
36
 
37
- import "../../chunks/microphoneStore-BTpDrQ-h.mjs";
37
+ import "../../chunks/microphoneStore-CAbCtIQb.mjs";
38
38
 
39
- import "../../chunks/volumeStore-BhwxRT5u.mjs";
39
+ import "../../chunks/volumeStore-Bh8R2WVg.mjs";
40
40
 
41
41
  import "../../hooks/useWindow.mjs";
@@ -1,9 +1,9 @@
1
- export { A as Avatar } from "../../chunks/Avatar-DmZwCQwd.mjs";
1
+ export { A as Avatar } from "../../chunks/Avatar-Bdcl8-Nf.mjs";
2
2
 
3
- import "../../chunks/tslib.es6-Ds68U-an.mjs";
3
+ import "../../chunks/tslib.es6-SLveycHb.mjs";
4
4
 
5
5
  import "react/jsx-runtime";
6
6
 
7
7
  import "react";
8
8
 
9
- import "../../chunks/misc-CrRqXhHT.mjs";
9
+ import "../../chunks/misc-DrBZJBmZ.mjs";