@apple-pie/slice 0.1.52 → 0.1.54

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 (321) hide show
  1. package/dist/cjs/chunks/{AudioBubble-Di2Qyjer.js → AudioBubble-Dr6qLxhJ.js} +5 -4
  2. package/dist/cjs/chunks/{Avatar-L6s2-x0u.js → Avatar-Dm6-L043.js} +2 -2
  3. package/dist/cjs/chunks/{AvatarGroup-DNGFPl1j.js → AvatarGroup-COzT3ILz.js} +3 -3
  4. package/dist/cjs/chunks/{Badge-CWASZI0E.js → Badge--0CfhLFo.js} +1 -1
  5. package/dist/cjs/chunks/{Button-kzWt5lcL.js → Button-GKTXo4mq.js} +5 -5
  6. package/dist/cjs/chunks/{ButtonBar-BaFGN5AR.js → ButtonBar-DTx0V5jh.js} +2 -2
  7. package/dist/cjs/chunks/{Camera-CBZmVUf6.js → Camera-D-JFUCUD.js} +7 -6
  8. package/dist/cjs/chunks/{CheckBox-D8e57FqA.js → CheckBox-C15tG2Bk.js} +1 -1
  9. package/dist/cjs/chunks/{Chip-DCFtFPpu.js → Chip-Ew-cd6K_.js} +2 -2
  10. package/dist/cjs/chunks/{DivInput-BbYo5dnn.js → DivInput-D9tdT7eI.js} +5 -5
  11. package/dist/cjs/chunks/{Dot-ByKZIcva.js → Dot-C_3SC1bM.js} +1 -1
  12. package/dist/cjs/chunks/{DrggablePanel-EvnMMRh0.js → DrggablePanel-BJHDIkhE.js} +21 -16
  13. package/dist/cjs/chunks/{DropDown-C-i2rIhH.js → DropDown-CAOUZGB0.js} +2 -2
  14. package/dist/cjs/chunks/{ErrorSummary-DLaE1duh.js → ErrorSummary-O4j5yVBP.js} +6 -5
  15. package/dist/cjs/chunks/{FileIcon-DqFMbhRF.js → FileIcon-CzZLisJx.js} +5 -5
  16. package/dist/cjs/chunks/{FileList-C3KR7jHj.js → FileList-Be7Sn-bF.js} +2 -2
  17. package/dist/cjs/chunks/{FlexDiv-BPmDJlQe.js → FlexDiv-D7PuHhZt.js} +1 -1
  18. package/dist/cjs/chunks/{Grouper-Bm013ATj.js → Grouper-BFDVqFxW.js} +5 -5
  19. package/dist/cjs/chunks/{Icon-CUbgmUeu.js → Icon-CsNB8HJ4.js} +5 -4
  20. package/dist/cjs/chunks/{IconButton-BbgyyMjG.js → IconButton-DlLDM8w2.js} +3 -3
  21. package/dist/cjs/chunks/{IndexedDB-DFVmvrQg.js → IndexedDB-Cj_Oxilj.js} +8 -4
  22. package/dist/cjs/chunks/{Label-CDuN-9n3.js → Label-BB8PYTuF.js} +2 -2
  23. package/dist/cjs/chunks/{Level-vbDvflcO.js → Level-IuQRDwDH.js} +3 -3
  24. package/dist/cjs/chunks/{Modal-BS-9UkxV.js → Modal-c5lf--ia.js} +3 -2
  25. package/dist/cjs/chunks/{ModalController-B-m3OD5K.js → ModalController-DqlX7Bvu.js} +3 -2
  26. package/dist/cjs/chunks/{Overlay-QprT1IaK.js → Overlay-BS3eyLZz.js} +2 -2
  27. package/dist/cjs/chunks/{Pager-7edBFop6.js → Pager-CLGGNiPg.js} +1 -1
  28. package/dist/cjs/chunks/{ProgressIndicator-Bi1UfJIW.js → ProgressIndicator-CctdHXiJ.js} +5 -4
  29. package/dist/cjs/chunks/{PromptInput-BHDK8fjX.js → PromptInput-BmPDEllv.js} +13 -8
  30. package/dist/cjs/chunks/{RadioButton-SqAqjkcO.js → RadioButton-aMfLOeHI.js} +1 -1
  31. package/dist/cjs/chunks/{RadioButtonList-Bk4zdfNK.js → RadioButtonList-DUAZeawt.js} +1 -1
  32. package/dist/cjs/chunks/{Slider-CGXCa5hf.js → Slider-CCqbXz95.js} +5 -4
  33. package/dist/cjs/chunks/{Spacer-Cz634l5B.js → Spacer-1dAdRzu7.js} +1 -1
  34. package/dist/cjs/chunks/{Switch-BWz76WjN.js → Switch-D5qUfthw.js} +2 -2
  35. package/dist/cjs/chunks/{TabBar-BhV5XeiX.js → TabBar-zpHPLgxV.js} +6 -5
  36. package/dist/cjs/chunks/{TextArea-Dc0MXEtY.js → TextArea-Dq4U3Kpd.js} +5 -5
  37. package/dist/cjs/chunks/{TextField-l62uCubT.js → TextField-qjDwSe8i.js} +12 -7
  38. package/dist/cjs/chunks/{Tip-BBMqZlgV.js → Tip-l0mnd4j8.js} +3 -3
  39. package/dist/cjs/chunks/{Toast-DNSA3BzO.js → Toast-DLh9lGPy.js} +6 -5
  40. package/dist/cjs/chunks/{ToggleButton-DclomTgT.js → ToggleButton-BXsZ_GRW.js} +5 -5
  41. package/dist/cjs/chunks/{UploadArea-Bm674kMd.js → UploadArea-O7qgIT09.js} +5 -5
  42. package/dist/cjs/chunks/{Video-Be2aIETB.js → Video-bDe-_ZqY.js} +26 -22
  43. package/dist/cjs/chunks/{VideoController-BCTD_gZh.js → VideoController-CpDn6I-1.js} +9 -7
  44. package/dist/cjs/chunks/{WSConnection-pryKJWc6.js → WSConnection-DSXroJhQ.js} +1 -1
  45. package/dist/cjs/chunks/{WebRTCConnection-C_GRUnIY.js → WebRTCConnection-hyxJJPiJ.js} +1 -1
  46. package/dist/cjs/chunks/{browserChannelsStore-6ZSY_xb-.js → browserChannelsStore-CmnVwY1c.js} +2 -2
  47. package/dist/cjs/chunks/{localDBStore-DO3FanPt.js → localDBStore-DmIQbLFy.js} +2 -2
  48. package/dist/cjs/chunks/magic-string.es-B_Vt62F2.js +724 -0
  49. package/dist/cjs/chunks/{microphoneStore-Ch3VVm4T.js → microphoneStore-Dn91izLl.js} +1 -1
  50. package/dist/cjs/chunks/{misc-BNlFh_4N.js → misc-BPL5e5rQ.js} +1 -1
  51. package/dist/cjs/chunks/{sseStore-C_INE2Dq.js → sseStore-DQsxYylT.js} +3 -3
  52. package/dist/cjs/chunks/{uploads-worker-Bz66LCly.js → uploads-worker-CrDHS1Wi.js} +1 -1
  53. package/dist/cjs/chunks/{uploadsStore-blQX5Zny.js → uploadsStore-Cnsx2-as.js} +2 -2
  54. package/dist/cjs/chunks/{viewState-8FeRZBG3.js → viewState-ClGpHAw4.js} +8 -7
  55. package/dist/cjs/chunks/{volumeStore-CA9Pdx5e.js → volumeStore-DsHPJx-8.js} +1 -1
  56. package/dist/cjs/chunks/{webRTCStore-Bu7_nxNq.js → webRTCStore-w3zT4ZiO.js} +2 -2
  57. package/dist/cjs/chunks/{windowStore-CYvn2_ma.js → windowStore-bOEjKVUr.js} +1 -1
  58. package/dist/cjs/components/AudioBubble/index.js +6 -5
  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 +12 -11
  63. package/dist/cjs/components/ButtonBar/index.js +9 -8
  64. package/dist/cjs/components/Camera/index.js +8 -7
  65. package/dist/cjs/components/CheckBox/index.js +6 -5
  66. package/dist/cjs/components/Chip/index.js +9 -9
  67. package/dist/cjs/components/DataTable/index.js +13 -13
  68. package/dist/cjs/components/DivInput/index.js +4 -3
  69. package/dist/cjs/components/Dot/index.js +2 -2
  70. package/dist/cjs/components/DraggablePanel/index.js +6 -5
  71. package/dist/cjs/components/DropDown/index.js +9 -8
  72. package/dist/cjs/components/ErrorSummary/index.js +6 -5
  73. package/dist/cjs/components/FileIcon/index.js +6 -5
  74. package/dist/cjs/components/FileList/index.js +7 -6
  75. package/dist/cjs/components/FlexDiv/index.js +2 -2
  76. package/dist/cjs/components/Grouper/index.js +7 -6
  77. package/dist/cjs/components/Icon/index.js +6 -5
  78. package/dist/cjs/components/IconButton/index.js +12 -10
  79. package/dist/cjs/components/Label/index.js +4 -3
  80. package/dist/cjs/components/Level/index.js +4 -4
  81. package/dist/cjs/components/Modal/index.js +12 -12
  82. package/dist/cjs/components/ModalController/index.js +6 -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 +6 -5
  86. package/dist/cjs/components/PromptInput/index.js +10 -9
  87. package/dist/cjs/components/RadioButton/index.js +6 -5
  88. package/dist/cjs/components/RadioButtonList/index.js +7 -6
  89. package/dist/cjs/components/Slider/index.js +6 -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 +9 -8
  93. package/dist/cjs/components/TextArea/index.js +12 -12
  94. package/dist/cjs/components/Textfield/index.js +10 -9
  95. package/dist/cjs/components/Tip/index.js +4 -3
  96. package/dist/cjs/components/Toast/index.js +7 -6
  97. package/dist/cjs/components/ToggleButton/index.js +12 -12
  98. package/dist/cjs/components/UploadArea/index.js +11 -10
  99. package/dist/cjs/components/Video/index.js +15 -13
  100. package/dist/cjs/components/VideoController/index.js +12 -12
  101. package/dist/cjs/hooks/useAudioRecorder.js +1 -1
  102. package/dist/cjs/hooks/useBindWebRTC.js +2 -2
  103. package/dist/cjs/hooks/useClipboard.js +2 -2
  104. package/dist/cjs/hooks/useMdStreamBuffer.js +2 -2
  105. package/dist/cjs/hooks/useMicrophone.js +1 -1
  106. package/dist/cjs/hooks/useTrackRenders.js +2 -2
  107. package/dist/cjs/hooks.js +4 -4
  108. package/dist/cjs/index.js +10 -10
  109. package/dist/cjs/providers/themeServer.test.js +10574 -0
  110. package/dist/cjs/stores/LocalDB.js +3 -3
  111. package/dist/cjs/stores/SSE.js +3 -3
  112. package/dist/cjs/stores/WS.js +3 -3
  113. package/dist/cjs/stores/WebRTC.js +3 -3
  114. package/dist/cjs/stores/browserChannel.js +2 -2
  115. package/dist/cjs/stores/microphone.js +2 -2
  116. package/dist/cjs/stores/modal.js +1 -1
  117. package/dist/cjs/stores/tip.js +1 -1
  118. package/dist/cjs/stores/toast.js +1 -1
  119. package/dist/cjs/stores/uploads.js +2 -2
  120. package/dist/cjs/stores/video.js +1 -1
  121. package/dist/cjs/stores/volume.js +2 -2
  122. package/dist/cjs/stores/window.js +2 -2
  123. package/dist/cjs/stores.js +15 -16
  124. package/dist/cjs/theme/corners.js +8 -8
  125. package/dist/cjs/utils/index.js +2 -2
  126. package/dist/cjs/utils/objects/index.js +2 -2
  127. package/dist/cjs/workers/uploads/uploads.js +2 -2
  128. package/dist/esm/chunks/{AudioBubble-BzlrPWjD.mjs → AudioBubble-D-RT0yf7.mjs} +8 -6
  129. package/dist/esm/chunks/{Avatar-DE7v6q5Z.mjs → Avatar-Cfg6FJ0s.mjs} +3 -3
  130. package/dist/esm/chunks/{AvatarGroup-B-E3eFeF.mjs → AvatarGroup-Gj3VU9aT.mjs} +4 -4
  131. package/dist/esm/chunks/{Badge-Cli_Ebpu.mjs → Badge-gU-yUZyp.mjs} +1 -1
  132. package/dist/esm/chunks/{Button-BdxJ4wnE.mjs → Button-CWM6SoTH.mjs} +12 -10
  133. package/dist/esm/chunks/{ButtonBar-LIzMkcAW.mjs → ButtonBar-Dn8dKTlX.mjs} +6 -4
  134. package/dist/esm/chunks/{Camera-DQIlyciR.mjs → Camera-IjLmPnrx.mjs} +11 -9
  135. package/dist/esm/chunks/{CheckBox-yuitT-oK.mjs → CheckBox-N-f1qiAg.mjs} +3 -3
  136. package/dist/esm/chunks/{Chip-BVWlgpZ4.mjs → Chip-3QPbsJ7y.mjs} +7 -5
  137. package/dist/esm/chunks/{DivInput-SeyX77Nb.mjs → DivInput-BWjyG_0R.mjs} +8 -6
  138. package/dist/esm/chunks/{Dot-Lyaimh03.mjs → Dot-BbRo6uDo.mjs} +1 -1
  139. package/dist/esm/chunks/{DrggablePanel--TPNDMpD.mjs → DrggablePanel-BxhttOxO.mjs} +23 -17
  140. package/dist/esm/chunks/{DropDown-BmumgcHV.mjs → DropDown-6pBlQiK9.mjs} +6 -4
  141. package/dist/esm/chunks/{ErrorSummary-CPsaqCL-.mjs → ErrorSummary-CYabMp4V.mjs} +8 -6
  142. package/dist/esm/chunks/{FileIcon-Ckvm7EOw.mjs → FileIcon-AtwKsycg.mjs} +7 -5
  143. package/dist/esm/chunks/{FileList-D0b6RxKc.mjs → FileList-WNFbRSQz.mjs} +6 -6
  144. package/dist/esm/chunks/{FlexDiv-D7wQNKz0.mjs → FlexDiv-B0zpV_yw.mjs} +1 -1
  145. package/dist/esm/chunks/{Grouper-BrjPf1Zm.mjs → Grouper-cxRPaYkF.mjs} +8 -6
  146. package/dist/esm/chunks/{Icon-DGQB6Mfm.mjs → Icon-Ce2CM7lt.mjs} +7 -5
  147. package/dist/esm/chunks/{IconButton-Wffb0Rhg.mjs → IconButton-DmhOQNtq.mjs} +9 -7
  148. package/dist/esm/chunks/{IndexedDB-Cwb-PZNm.mjs → IndexedDB-CTcPvxFz.mjs} +8 -4
  149. package/dist/esm/chunks/{Label-BF7Bac6I.mjs → Label-CKShh9JV.mjs} +5 -3
  150. package/dist/esm/chunks/{Level-DnWQ5mLH.mjs → Level-B-ccKdXg.mjs} +7 -5
  151. package/dist/esm/chunks/{Modal-BuDVEntK.mjs → Modal-l6vmZBDp.mjs} +9 -6
  152. package/dist/esm/chunks/{ModalController-CWZBh7Dg.mjs → ModalController-Bs280SUJ.mjs} +6 -4
  153. package/dist/esm/chunks/{Overlay-DXAULyRd.mjs → Overlay-BhrCyPRX.mjs} +2 -2
  154. package/dist/esm/chunks/{Pager-Bjwlh0Vs.mjs → Pager-Pd6QanSG.mjs} +2 -2
  155. package/dist/esm/chunks/{ProgressIndicator-C8tli-Jg.mjs → ProgressIndicator-dkR6UF1M.mjs} +7 -5
  156. package/dist/esm/chunks/{PromptInput-JE3EkzEV.mjs → PromptInput-CLVqz0ux.mjs} +14 -10
  157. package/dist/esm/chunks/{RadioButton-BK37fGER.mjs → RadioButton-ClKR7eks.mjs} +3 -3
  158. package/dist/esm/chunks/{RadioButtonList-CPfE3YBM.mjs → RadioButtonList-YtfbHCig.mjs} +3 -3
  159. package/dist/esm/chunks/{Slider-D6nWSQ-A.mjs → Slider-B8A9FdgY.mjs} +8 -6
  160. package/dist/esm/chunks/{Spacer-CWY79s4p.mjs → Spacer-CNowPM3L.mjs} +1 -1
  161. package/dist/esm/chunks/{Switch-De_cFgOS.mjs → Switch-BT1dUQya.mjs} +2 -2
  162. package/dist/esm/chunks/{TabBar-CCq8-TdA.mjs → TabBar-CCiJ42x5.mjs} +11 -9
  163. package/dist/esm/chunks/{TextArea-kAVb9Lpy.mjs → TextArea-MVHdEa8y.mjs} +8 -6
  164. package/dist/esm/chunks/{TextField-MxcxS6SE.mjs → TextField-BZ2kmUcF.mjs} +13 -9
  165. package/dist/esm/chunks/{Tip-CuRp-fki.mjs → Tip-dvhw-sBF.mjs} +6 -4
  166. package/dist/esm/chunks/{Toast-CvWVJwrM.mjs → Toast-Ct5uczWn.mjs} +9 -7
  167. package/dist/esm/chunks/{ToggleButton-DpR2FO_I.mjs → ToggleButton-nusOpkrZ.mjs} +6 -6
  168. package/dist/esm/chunks/{UploadArea-ChXIXxSg.mjs → UploadArea-BjlfBjiw.mjs} +10 -8
  169. package/dist/esm/chunks/{Video-D3FSIySJ.mjs → Video-DKjVachU.mjs} +32 -26
  170. package/dist/esm/chunks/{VideoController-CS6eZwuf.mjs → VideoController-kH0JkJf-.mjs} +16 -11
  171. package/dist/esm/chunks/{WSConnection-DX-v8PDB.mjs → WSConnection-NpYplU2v.mjs} +1 -1
  172. package/dist/esm/chunks/{WebRTCConnection-KLpY6CZG.mjs → WebRTCConnection-CCD9soqe.mjs} +1 -1
  173. package/dist/esm/chunks/{browserChannelsStore-BlUi1EOi.mjs → browserChannelsStore-srC8Ojsl.mjs} +2 -2
  174. package/dist/esm/chunks/{localDBStore-Cqmkk2oq.mjs → localDBStore-BpKbAtAQ.mjs} +3 -3
  175. package/dist/esm/chunks/magic-string.es-DLHkwHmE.mjs +722 -0
  176. package/dist/esm/chunks/{microphoneStore-CHjTUEL_.mjs → microphoneStore-CtpUG1DB.mjs} +1 -1
  177. package/dist/esm/chunks/{misc-GB29X0YR.mjs → misc-NDOWTiFf.mjs} +1 -1
  178. package/dist/esm/chunks/{sseStore-CsFtm_ph.mjs → sseStore-DUg0x7Qh.mjs} +3 -3
  179. package/dist/esm/chunks/{uploads-worker-DnuyqnvO.mjs → uploads-worker-DuzIaN9P.mjs} +1 -1
  180. package/dist/esm/chunks/{uploadsStore-BJkaMc8Q.mjs → uploadsStore-C6wzah24.mjs} +1 -1
  181. package/dist/esm/chunks/{viewState-Bz_5JiKf.mjs → viewState-KJ0VsD2b.mjs} +13 -9
  182. package/dist/esm/chunks/{volumeStore-DBjptppw.mjs → volumeStore-IY7T-8fH.mjs} +1 -1
  183. package/dist/esm/chunks/{webRTCStore-Da4krjmG.mjs → webRTCStore-DmyQS-SN.mjs} +3 -3
  184. package/dist/esm/chunks/{windowStore-DuCMm9ZH.mjs → windowStore-DSbR-lfu.mjs} +1 -1
  185. package/dist/esm/components/AudioBubble/index.mjs +11 -7
  186. package/dist/esm/components/Avatar/index.mjs +3 -3
  187. package/dist/esm/components/AvatarGroup/index.mjs +4 -4
  188. package/dist/esm/components/Badge/index.mjs +2 -2
  189. package/dist/esm/components/Button/index.mjs +17 -13
  190. package/dist/esm/components/ButtonBar/index.mjs +13 -9
  191. package/dist/esm/components/Camera/index.mjs +13 -9
  192. package/dist/esm/components/CheckBox/index.mjs +11 -7
  193. package/dist/esm/components/Chip/index.mjs +14 -10
  194. package/dist/esm/components/DataTable/index.mjs +14 -10
  195. package/dist/esm/components/DivInput/index.mjs +5 -3
  196. package/dist/esm/components/Dot/index.mjs +2 -2
  197. package/dist/esm/components/DraggablePanel/index.mjs +10 -6
  198. package/dist/esm/components/DropDown/index.mjs +13 -9
  199. package/dist/esm/components/ErrorSummary/index.mjs +10 -6
  200. package/dist/esm/components/FileIcon/index.mjs +10 -6
  201. package/dist/esm/components/FileList/index.mjs +13 -9
  202. package/dist/esm/components/FlexDiv/index.mjs +2 -2
  203. package/dist/esm/components/Grouper/index.mjs +12 -8
  204. package/dist/esm/components/Icon/index.mjs +11 -7
  205. package/dist/esm/components/IconButton/index.mjs +16 -12
  206. package/dist/esm/components/Label/index.mjs +5 -3
  207. package/dist/esm/components/Level/index.mjs +7 -5
  208. package/dist/esm/components/Modal/index.mjs +19 -15
  209. package/dist/esm/components/ModalController/index.mjs +12 -6
  210. package/dist/esm/components/Overlay/index.mjs +2 -2
  211. package/dist/esm/components/Pager/index.mjs +3 -3
  212. package/dist/esm/components/Progress/index.mjs +11 -7
  213. package/dist/esm/components/PromptInput/index.mjs +18 -14
  214. package/dist/esm/components/RadioButton/index.mjs +11 -7
  215. package/dist/esm/components/RadioButtonList/index.mjs +12 -8
  216. package/dist/esm/components/Slider/index.mjs +11 -7
  217. package/dist/esm/components/Spacer/index.mjs +2 -2
  218. package/dist/esm/components/Switch/index.mjs +2 -2
  219. package/dist/esm/components/TabBar/index.mjs +15 -11
  220. package/dist/esm/components/TextArea/index.mjs +18 -14
  221. package/dist/esm/components/Textfield/index.mjs +17 -13
  222. package/dist/esm/components/Tip/index.mjs +5 -3
  223. package/dist/esm/components/Toast/index.mjs +12 -8
  224. package/dist/esm/components/ToggleButton/index.mjs +18 -14
  225. package/dist/esm/components/UploadArea/index.mjs +16 -12
  226. package/dist/esm/components/Video/index.mjs +23 -17
  227. package/dist/esm/components/VideoController/index.mjs +20 -16
  228. package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
  229. package/dist/esm/hooks/useBindWebRTC.mjs +6 -6
  230. package/dist/esm/hooks/useClipboard.mjs +3 -3
  231. package/dist/esm/hooks/useMdStreamBuffer.mjs +3 -3
  232. package/dist/esm/hooks/useMicrophone.mjs +1 -1
  233. package/dist/esm/hooks/useTrackRenders.mjs +2 -2
  234. package/dist/esm/hooks.mjs +8 -8
  235. package/dist/esm/index.mjs +59 -59
  236. package/dist/esm/providers/themeServer.test.mjs +10572 -0
  237. package/dist/esm/stores/LocalDB.mjs +4 -4
  238. package/dist/esm/stores/SSE.mjs +4 -4
  239. package/dist/esm/stores/WS.mjs +3 -3
  240. package/dist/esm/stores/WebRTC.mjs +4 -4
  241. package/dist/esm/stores/browserChannel.mjs +3 -3
  242. package/dist/esm/stores/microphone.mjs +2 -2
  243. package/dist/esm/stores/modal.mjs +1 -1
  244. package/dist/esm/stores/tip.mjs +1 -1
  245. package/dist/esm/stores/toast.mjs +1 -1
  246. package/dist/esm/stores/uploads.mjs +3 -3
  247. package/dist/esm/stores/video.mjs +1 -1
  248. package/dist/esm/stores/volume.mjs +2 -2
  249. package/dist/esm/stores/window.mjs +2 -2
  250. package/dist/esm/stores.mjs +18 -18
  251. package/dist/esm/theme/corners.mjs +8 -8
  252. package/dist/esm/utils/index.mjs +12 -12
  253. package/dist/esm/utils/objects/index.mjs +8 -8
  254. package/dist/esm/workers/uploads/uploads.mjs +2 -2
  255. package/dist/styles.css +2569 -2558
  256. package/dist/types/components/Avatar/_types.d.ts +0 -1
  257. package/dist/types/components/AvatarGroup/_types.d.ts +0 -1
  258. package/dist/types/components/Button/Button.d.ts +0 -4
  259. package/dist/types/components/Button/_types.d.ts +0 -2
  260. package/dist/types/components/ButtonBar/_types.d.ts +0 -3
  261. package/dist/types/components/Chip/_types.d.ts +0 -2
  262. package/dist/types/components/DataTable/_useResizeColumn.test.d.ts +1 -0
  263. package/dist/types/components/DataTable/columnHelper.test.d.ts +1 -0
  264. package/dist/types/components/DivInput/_types.d.ts +0 -1
  265. package/dist/types/components/DraggablePanel/DrggablePanel.d.ts +13 -1
  266. package/dist/types/components/DropDown/_types.d.ts +0 -1
  267. package/dist/types/components/ErrorSummary/_types.d.ts +0 -1
  268. package/dist/types/components/FileList/_types.d.ts +0 -1
  269. package/dist/types/components/Icon/iconRegistry.test.d.ts +1 -0
  270. package/dist/types/components/IconButton/_animation.test.d.ts +1 -0
  271. package/dist/types/components/IconButton/_types.d.ts +3 -3
  272. package/dist/types/components/Label/_types.d.ts +0 -1
  273. package/dist/types/components/Switch/_types.d.ts +0 -2
  274. package/dist/types/components/TextArea/_types.d.ts +0 -1
  275. package/dist/types/components/Tip/_types.d.ts +0 -1
  276. package/dist/types/components/ToggleButton/_types.d.ts +3 -3
  277. package/dist/types/components/UploadArea/UploadArea.d.ts +0 -4
  278. package/dist/types/components/UploadArea/_types.d.ts +0 -2
  279. package/dist/types/components/Video/Video.d.ts +4 -0
  280. package/dist/types/components/Video/_types.d.ts +2 -0
  281. package/dist/types/components/VideoController/_types.d.ts +1 -0
  282. package/dist/types/components/playHelpers.d.ts +353 -0
  283. package/dist/types/hooks/useBindWebRTC/useBindWebRTC.test.d.ts +1 -0
  284. package/dist/types/hooks/useTrackRenders/useTrackRenders.test.d.ts +1 -0
  285. package/dist/types/providers/themeServer.test.d.ts +1 -0
  286. package/dist/types/stores/LocalDB/localDBStore.test.d.ts +1 -0
  287. package/dist/types/theme/corners/types.d.ts +8 -8
  288. package/dist/types/utils/objects/IndexedDB/IndexedDB.d.ts +3 -0
  289. package/dist/types/utils/objects/IndexedDB/IndexedDB.test.d.ts +1 -0
  290. package/dist/types/utils/objects/MDStreamBuffer/MdStreamBuffer.test.d.ts +1 -0
  291. package/dist/types/utils/objects/WebRTCConnection/WebRTCConnection.test.d.ts +1 -0
  292. package/dist/types/workers/uploads/uploads-worker.test.d.ts +1 -0
  293. package/package.json +2 -1
  294. /package/dist/cjs/chunks/{MdStreamBuffer-Ba-YbQaW.js → MdStreamBuffer-CVkue3K3.js} +0 -0
  295. /package/dist/cjs/chunks/{SSEConnection-C0XhTcpi.js → SSEConnection-zUZG9TiF.js} +0 -0
  296. /package/dist/cjs/chunks/{_types-DEjCVlhp.js → _types-BnrWf6-T.js} +0 -0
  297. /package/dist/cjs/chunks/{audioVisualizer-DFgLMDKW.js → audioVisualizer-GmZ0xNzv.js} +0 -0
  298. /package/dist/cjs/chunks/{broadcastChannel-B0l8OE4I.js → broadcastChannel-CtwRunj4.js} +0 -0
  299. /package/dist/cjs/chunks/{colors-jx2QRRls.js → colors-C2uwoGzp.js} +0 -0
  300. /package/dist/cjs/chunks/{debounce-CsmIqkDy.js → debounce-BP_p5Vjk.js} +0 -0
  301. /package/dist/cjs/chunks/{modalStore-DaB75uoa.js → modalStore-B-Xkl2-3.js} +0 -0
  302. /package/dist/cjs/chunks/{rafThrottle-DvT0BNgS.js → rafThrottle-DpVYeDi4.js} +0 -0
  303. /package/dist/cjs/chunks/{sharedTypes-BT25wBhL.js → sharedTypes-BgBhX0El.js} +0 -0
  304. /package/dist/cjs/chunks/{tipStore-Dxda_4EA.js → tipStore-B2mVU0US.js} +0 -0
  305. /package/dist/cjs/chunks/{toastStore-DqWfFw57.js → toastStore-C9lsqywS.js} +0 -0
  306. /package/dist/cjs/chunks/{tslib.es6-CTGrDO27.js → tslib.es6-CG8Jpxry.js} +0 -0
  307. /package/dist/cjs/chunks/{videoStore-q-yi22M3.js → videoStore-DIXd-mmm.js} +0 -0
  308. /package/dist/esm/chunks/{MdStreamBuffer-CuqX6fWF.mjs → MdStreamBuffer-C2X6YPkL.mjs} +0 -0
  309. /package/dist/esm/chunks/{SSEConnection-DgwE_V3B.mjs → SSEConnection-BR6JKisq.mjs} +0 -0
  310. /package/dist/esm/chunks/{_types-n_IXoiPR.mjs → _types-CvUR3WMd.mjs} +0 -0
  311. /package/dist/esm/chunks/{audioVisualizer-CLKL6Y79.mjs → audioVisualizer-jpYXWaW8.mjs} +0 -0
  312. /package/dist/esm/chunks/{broadcastChannel-qkn7bL4S.mjs → broadcastChannel-jqOpePyV.mjs} +0 -0
  313. /package/dist/esm/chunks/{colors-C3CypePZ.mjs → colors-DE286j6U.mjs} +0 -0
  314. /package/dist/esm/chunks/{debounce-xuz65F25.mjs → debounce-LajsXcz1.mjs} +0 -0
  315. /package/dist/esm/chunks/{modalStore-DN1F_WR9.mjs → modalStore-CgEpalf_.mjs} +0 -0
  316. /package/dist/esm/chunks/{rafThrottle-B6dxl-O8.mjs → rafThrottle-DGnknyNH.mjs} +0 -0
  317. /package/dist/esm/chunks/{sharedTypes-DqPH1p0Q.mjs → sharedTypes-DnHEGYor.mjs} +0 -0
  318. /package/dist/esm/chunks/{tipStore-B_trLnIa.mjs → tipStore-B0TrZT8p.mjs} +0 -0
  319. /package/dist/esm/chunks/{toastStore-BWlW1cRh.mjs → toastStore-CIW93cFF.mjs} +0 -0
  320. /package/dist/esm/chunks/{tslib.es6-DGRmn-gx.mjs → tslib.es6-BTg9ZFwR.mjs} +0 -0
  321. /package/dist/esm/chunks/{videoStore-BxCTQ_tE.mjs → videoStore-B_fdicUy.mjs} +0 -0
@@ -1,17 +1,19 @@
1
1
  'use client';
2
- import { a as __rest, _ as __awaiter } from "./tslib.es6-DGRmn-gx.mjs";
2
+ import { a as __rest, _ as __awaiter } from "./tslib.es6-BTg9ZFwR.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-GB29X0YR.mjs";
8
+ import { s as setStyle } from "./misc-NDOWTiFf.mjs";
9
9
 
10
- import { I as IconButton } from "./IconButton-Wffb0Rhg.mjs";
10
+ import { I as IconButton } from "./IconButton-DmhOQNtq.mjs";
11
11
 
12
- import { S as Slider } from "./Slider-D6nWSQ-A.mjs";
12
+ import { P as ProgressIndicator } from "./ProgressIndicator-dkR6UF1M.mjs";
13
13
 
14
- import { T as ToggleButton } from "./ToggleButton-DpR2FO_I.mjs";
14
+ import { S as Slider } from "./Slider-B8A9FdgY.mjs";
15
+
16
+ import { T as ToggleButton } from "./ToggleButton-nusOpkrZ.mjs";
15
17
 
16
18
  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
19
 
@@ -26,7 +28,7 @@ const BaseVideo = React.forwardRef((props, ref) => {
26
28
  progress: !0,
27
29
  volume: !0,
28
30
  fullscreen: !0
29
- }, onPlay: onPlay, onPause: onPause, onEnd: onEnd, onProgress: onProgress, onLoadProgress: onLoadProgress, onPlaybackRateChange: onPlaybackRateChange, onCanPlayThrough: onCanPlayThrough, onPlayStateChange: onPlayStateChange, onLoadMetaData: onLoadMetaData, onFullScreenChange: onFullScreenChange, onVolumeChange: onVolumeChange, onLoadedFrameData: onLoadedFrameData, onQuit: onQuit} = props, divAttributes = __rest(props, [ "children", "src", "playing", "loop", "muted", "playsInline", "controls", "volume", "poster", "captionsSrc", "playRate", "width", "height", "borderRadius", "borderSize", "borderColor", "backgroundColor", "objectFit", "customControls", "onPlay", "onPause", "onEnd", "onProgress", "onLoadProgress", "onPlaybackRateChange", "onCanPlayThrough", "onPlayStateChange", "onLoadMetaData", "onFullScreenChange", "onVolumeChange", "onLoadedFrameData", "onQuit" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", videoRef = useRef(null), containerRef = useRef(null), progress = useRef(null), wasPlaying = useRef(null != playing && playing), playState = useRef(PlayState.Stopped), [isPlaying, setIsPlaying] = useState(null != playing && playing), [isMuted, setIsMuted] = useState(null != muted && muted), [currentVolume, setCurrentVolume] = useState(null != volume ? volume : 1), [currentProgress, setCurrentProgress] = useState(0), [hovered, setHovered] = useState(!1), timer = useRef(null), handleLoadProgress = useCallback(event => {
31
+ }, showProgressIndicator: showProgressIndicator = !0, onPlay: onPlay, onPause: onPause, onEnd: onEnd, onProgress: onProgress, onLoadProgress: onLoadProgress, onPlaybackRateChange: onPlaybackRateChange, onCanPlayThrough: onCanPlayThrough, onCanPlay: onCanPlay, onPlayStateChange: onPlayStateChange, onLoadMetaData: onLoadMetaData, onFullScreenChange: onFullScreenChange, onVolumeChange: onVolumeChange, onLoadedFrameData: onLoadedFrameData, onQuit: onQuit} = props, divAttributes = __rest(props, [ "children", "src", "playing", "loop", "muted", "playsInline", "controls", "volume", "poster", "captionsSrc", "playRate", "width", "height", "borderRadius", "borderSize", "borderColor", "backgroundColor", "objectFit", "customControls", "showProgressIndicator", "onPlay", "onPause", "onEnd", "onProgress", "onLoadProgress", "onPlaybackRateChange", "onCanPlayThrough", "onCanPlay", "onPlayStateChange", "onLoadMetaData", "onFullScreenChange", "onVolumeChange", "onLoadedFrameData", "onQuit" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", videoRef = useRef(null), containerRef = useRef(null), progress = useRef(null), wasPlaying = useRef(null != playing && playing), playState = useRef(PlayState.Stopped), [isPlaying, setIsPlaying] = useState(null != playing && playing), [isMuted, setIsMuted] = useState(null != muted && muted), [currentVolume, setCurrentVolume] = useState(null != volume ? volume : 1), [currentProgress, setCurrentProgress] = useState(0), [hovered, setHovered] = useState(!1), [canPlay, setCanPlay] = useState(!1), timer = useRef(null), handleLoadProgress = useCallback(event => {
30
32
  const target = event.target;
31
33
  if (target.buffered.length > 0) {
32
34
  const bufferedEnd = target.buffered.end(target.buffered.length - 1), duration = target.duration;
@@ -48,11 +50,12 @@ const BaseVideo = React.forwardRef((props, ref) => {
48
50
  }
49
51
  }, [ onProgress, onPlayStateChange ]), handleCanPlayThrough = useCallback(() => {
50
52
  null == onCanPlayThrough || onCanPlayThrough();
51
- }, [ onCanPlayThrough ]), handlePlay = useCallback(() => {
52
- var _a, _b, _c;
53
- (null === (_a = videoRef.current) || void 0 === _a ? void 0 : _a.paused) && videoRef.current.play().then(() => null),
53
+ }, [ onCanPlayThrough ]), handleCanPlay = useCallback(() => {
54
+ setCanPlay(!0), null == onCanPlay || onCanPlay();
55
+ }, [ onCanPlay ]), handlePlay = useCallback(() => {
56
+ var _a, _b;
54
57
  null == onPlay || onPlay(), setIsPlaying(!0);
55
- (null === (_b = videoRef.current) || void 0 === _b ? void 0 : _b.currentTime) === (null === (_c = videoRef.current) || void 0 === _c ? void 0 : _c.duration) ? (playState.current !== PlayState.Ended && (null == onPlayStateChange || onPlayStateChange(PlayState.Ended)),
58
+ (null === (_a = videoRef.current) || void 0 === _a ? void 0 : _a.currentTime) === (null === (_b = videoRef.current) || void 0 === _b ? void 0 : _b.duration) ? (playState.current !== PlayState.Ended && (null == onPlayStateChange || onPlayStateChange(PlayState.Ended)),
56
59
  playState.current = PlayState.Ended) : playState.current !== PlayState.Playing && (null == onPlayStateChange || onPlayStateChange(PlayState.Playing),
57
60
  playState.current = PlayState.Playing);
58
61
  }, [ onPlay, onPlayStateChange ]), handlePause = useCallback(() => {
@@ -93,8 +96,8 @@ const BaseVideo = React.forwardRef((props, ref) => {
93
96
  rate < .5 && (nextRate = .5), rate > 3 && (nextRate = 3), videoRef.current.playbackRate = nextRate;
94
97
  }, []), handleRestart = useCallback(() => {
95
98
  videoRef.current && (videoRef.current.pause(), videoRef.current.currentTime = 0,
96
- videoRef.current.play().then(() => null));
97
- }, []), handleVolumeChange = useCallback((volume = 1) => {
99
+ handlePlayClick(!0));
100
+ }, [ handlePlayClick ]), handleVolumeChange = useCallback((volume = 1) => {
98
101
  if (!videoRef.current) return;
99
102
  let nextVolume = volume;
100
103
  volume < 0 && (nextVolume = 0), volume > 1 && (nextVolume = 1), videoRef.current.volume = nextVolume,
@@ -187,8 +190,8 @@ const BaseVideo = React.forwardRef((props, ref) => {
187
190
  iconFill: !0,
188
191
  buttonSize: "m",
189
192
  iconSize: 18,
190
- bgColor: "rgba(255,255,255,0.05)",
191
- bgColorHover: "rgba(0,0,0,0.7)",
193
+ backgroundColor: "rgba(255,255,255,0.05)",
194
+ backgroundColorHover: "rgba(0,0,0,0.7)",
192
195
  iconColor: "var(--core-text-light)",
193
196
  iconColorHover: "var(--core-text-light)",
194
197
  onClick: () => handleFullScreen(!0)
@@ -200,9 +203,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
200
203
  iconFill: !0,
201
204
  buttonSize: "m",
202
205
  iconSize: 20,
203
- bgColor: "rgba(255,255,255,0.05)",
204
- bgColorHover: "rgba(0,0,0,0.7)",
205
- bgColorOn: "rgba(0,0,0,0.5)",
206
+ backgroundColor: "rgba(255,255,255,0.05)",
207
+ backgroundColorHover: "rgba(0,0,0,0.7)",
208
+ backgroundColorOn: "rgba(0,0,0,0.5)",
206
209
  iconColor: "var(--core-text-light)",
207
210
  iconColorHover: "var(--core-text-light)",
208
211
  onClick: () => handleMute()
@@ -225,9 +228,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
225
228
  iconOn: "pause",
226
229
  iconSize: 48,
227
230
  buttonSize: "xl",
228
- bgColor: "rgba(0,0,0,0.5)",
229
- bgColorHover: "rgba(0,0,0,0.7)",
230
- bgColorOn: "rgba(0,0,0,0.5)",
231
+ backgroundColor: "rgba(0,0,0,0.5)",
232
+ backgroundColorHover: "rgba(0,0,0,0.7)",
233
+ backgroundColorOn: "rgba(0,0,0,0.5)",
231
234
  iconColor: "var(--core-text-light)",
232
235
  iconColorOn: "var(--core-text-light)",
233
236
  iconColorHover: "var(--core-text-light)",
@@ -243,9 +246,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
243
246
  iconOn: "pause",
244
247
  buttonSize: "m",
245
248
  iconSize: 28,
246
- bgColor: "rgba(255,255,255,0.05)",
247
- bgColorHover: "rgba(0,0,0,0.7)",
248
- bgColorOn: "rgba(255,255,255,0.05)",
249
+ backgroundColor: "rgba(255,255,255,0.05)",
250
+ backgroundColorHover: "rgba(0,0,0,0.7)",
251
+ backgroundColorOn: "rgba(255,255,255,0.05)",
249
252
  iconColor: "var(--core-text-light)",
250
253
  iconColorHover: "var(--core-text-light)",
251
254
  iconColorOn: "var(--core-text-light)",
@@ -264,9 +267,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
264
267
  toggle: !1,
265
268
  icon: "x",
266
269
  buttonSize: "m",
267
- bgColor: "rgba(255,255,255,0.05)",
268
- bgColorHover: "rgba(0,0,0,0.7)",
269
- bgColorOn: "rgba(255,255,255,0.05)",
270
+ backgroundColor: "rgba(255,255,255,0.05)",
271
+ backgroundColorHover: "rgba(0,0,0,0.7)",
272
+ backgroundColorOn: "rgba(255,255,255,0.05)",
270
273
  iconColor: "var(--core-text-light)",
271
274
  iconColorHover: "var(--core-text-light)",
272
275
  iconColorOn: "var(--core-text-light)",
@@ -285,6 +288,7 @@ const BaseVideo = React.forwardRef((props, ref) => {
285
288
  controls: "default" === controls,
286
289
  poster: poster,
287
290
  onCanPlayThrough: handleCanPlayThrough,
291
+ onCanPlay: handleCanPlay,
288
292
  onPlay: handlePlay,
289
293
  onPause: handlePause,
290
294
  onEnded: handleEnd,
@@ -297,6 +301,8 @@ const BaseVideo = React.forwardRef((props, ref) => {
297
301
  kind: "captions",
298
302
  src: captionsSrc
299
303
  })
304
+ }), !canPlay && showProgressIndicator && jsx(ProgressIndicator, {
305
+ show: !0
300
306
  }) ]
301
307
  }));
302
308
  });
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-DGRmn-gx.mjs";
2
+ import { a as __rest } from "./tslib.es6-BTg9ZFwR.mjs";
3
3
 
4
4
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
5
5
 
@@ -7,17 +7,21 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
7
7
 
8
8
  import { useRef, useState, useEffect, useMemo } from "react";
9
9
 
10
- import "./microphoneStore-CHjTUEL_.mjs";
10
+ import "./microphoneStore-CtpUG1DB.mjs";
11
11
 
12
- import "./volumeStore-DBjptppw.mjs";
12
+ import "./volumeStore-IY7T-8fH.mjs";
13
13
 
14
- import { s as setStyle } from "./misc-GB29X0YR.mjs";
14
+ import "./webRTCStore-DmyQS-SN.mjs";
15
15
 
16
- import { I as IconButton } from "./IconButton-Wffb0Rhg.mjs";
16
+ import { corners } from "../theme/corners.mjs";
17
17
 
18
- import { O as Overlay } from "./Overlay-DXAULyRd.mjs";
18
+ import { s as setStyle } from "./misc-NDOWTiFf.mjs";
19
19
 
20
- import { u as useVideo, a as useVideoActions } from "./videoStore-BxCTQ_tE.mjs";
20
+ import { I as IconButton } from "./IconButton-DmhOQNtq.mjs";
21
+
22
+ import { O as Overlay } from "./Overlay-BhrCyPRX.mjs";
23
+
24
+ import { u as useVideo, a as useVideoActions } from "./videoStore-B_fdicUy.mjs";
21
25
 
22
26
  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";
23
27
 
@@ -39,7 +43,7 @@ const defaultTransition = {
39
43
 
40
44
  function VideoController(props) {
41
45
  var _a;
42
- const {dragConstraintsRef: dragConstraintsRef, transition: transition = defaultTransition, variants: variants = defaultVariants, initial: initial = "initial", animate: animate = "animate", exit: exit = "exit", draggable: draggable = !0, overlayOpacity: overlayOpacity = .7, overlayColor: overlayColor = "rgb(0,0,0)", padding: padding = 64, borderRadius: borderRadius = 8, quit: quit = "inline", onQuit: onQuit} = props, controls = useDragControls(), video = useVideo(), hide = useVideoActions().clear, VideoComponent = null == video ? void 0 : video.component, _b = null !== (_a = null == video ? void 0 : video.props) && void 0 !== _a ? _a : {}, {onLoadedFrameData: onLoadedFrameData, borderRadius: videoBorderRadius} = _b, videoProps = __rest(_b, [ "onLoadedFrameData", "borderRadius" ]), ref = useRef(null), constraints = null != dragConstraintsRef ? dragConstraintsRef : ref, [ready, setReady] = useState(!1);
46
+ const {dragConstraintsRef: dragConstraintsRef, transition: transition = defaultTransition, variants: variants = defaultVariants, initial: initial = "initial", animate: animate = "animate", exit: exit = "exit", draggable: draggable = !0, overlayOpacity: overlayOpacity = .7, overlayColor: overlayColor = "rgb(0,0,0)", padding: padding = 64, borderRadius: borderRadius = corners["corner-m"], quit: quit = "inline", showProgressIndicator: showProgressIndicator = !0, onQuit: onQuit} = props, controls = useDragControls(), video = useVideo(), hide = useVideoActions().clear, VideoComponent = null == video ? void 0 : video.component, _b = null !== (_a = null == video ? void 0 : video.props) && void 0 !== _a ? _a : {}, {onLoadedFrameData: onLoadedFrameData, borderRadius: videoBorderRadius} = _b, videoProps = __rest(_b, [ "onLoadedFrameData", "borderRadius" ]), ref = useRef(null), constraints = null != dragConstraintsRef ? dragConstraintsRef : ref, [ready, setReady] = useState(!1);
43
47
  useEffect(() => {
44
48
  (null == video ? void 0 : video.id) && setReady(!1);
45
49
  }, [ null == video ? void 0 : video.id ]);
@@ -48,7 +52,7 @@ function VideoController(props) {
48
52
  }, cssVars = useMemo(() => ({
49
53
  "--overlay-padding": setStyle(padding, 64),
50
54
  "--video-visibility": ready ? "visible" : "hidden",
51
- "--video-border-radius": setStyle(borderRadius, 8)
55
+ "--video-border-radius": setStyle(borderRadius, corners["corner-m"])
52
56
  }), [ padding, ready, borderRadius ]);
53
57
  return jsxs(Fragment, {
54
58
  children: [ jsx(Overlay, {
@@ -81,6 +85,7 @@ function VideoController(props) {
81
85
  children: [ jsx("div", {
82
86
  className: css_video,
83
87
  children: jsx(VideoComponent, Object.assign({}, videoProps, {
88
+ showProgressIndicator: showProgressIndicator,
84
89
  borderRadius: null != borderRadius ? borderRadius : videoBorderRadius,
85
90
  onLoadedFrameData: () => {
86
91
  setReady(!0), null == onLoadedFrameData || onLoadedFrameData();
@@ -94,8 +99,8 @@ function VideoController(props) {
94
99
  icon: "x",
95
100
  buttonSize: "l",
96
101
  onClick: handleHide,
97
- bgColor: "rgba(255,255,255,0.05)",
98
- bgColorHover: "rgba(255,255,255,0.25)",
102
+ backgroundColor: "rgba(255,255,255,0.05)",
103
+ backgroundColorHover: "rgba(255,255,255,0.25)",
99
104
  iconColor: "var(--core-text-light)",
100
105
  iconColorHover: "var(--core-text-light)"
101
106
  }) ]
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter } from "./tslib.es6-DGRmn-gx.mjs";
1
+ import { _ as __awaiter } from "./tslib.es6-BTg9ZFwR.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 { _ as __awaiter } from "./tslib.es6-DGRmn-gx.mjs";
1
+ import { _ as __awaiter } from "./tslib.es6-BTg9ZFwR.mjs";
2
2
 
3
3
  class WebRTCConnection {
4
4
  /**
@@ -1,8 +1,8 @@
1
1
  import { create } from "zustand";
2
2
 
3
- import "./tslib.es6-DGRmn-gx.mjs";
3
+ import "./tslib.es6-BTg9ZFwR.mjs";
4
4
 
5
- import { B as BrowserChannel } from "./broadcastChannel-qkn7bL4S.mjs";
5
+ import { B as BrowserChannel } from "./broadcastChannel-jqOpePyV.mjs";
6
6
 
7
7
  const useBrowserChannelsStore = create((set, get) => ({
8
8
  channels: null,
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter, a as __rest } from "./tslib.es6-DGRmn-gx.mjs";
1
+ import { _ as __awaiter, a as __rest } from "./tslib.es6-BTg9ZFwR.mjs";
2
2
 
3
3
  import { useMemo } from "react";
4
4
 
@@ -6,9 +6,9 @@ import { create } from "zustand";
6
6
 
7
7
  import { useShallow } from "zustand/react/shallow";
8
8
 
9
- import { I as IndexedDB } from "./IndexedDB-Cwb-PZNm.mjs";
9
+ import { I as IndexedDB } from "./IndexedDB-CTcPvxFz.mjs";
10
10
 
11
- import "./broadcastChannel-qkn7bL4S.mjs";
11
+ import "./broadcastChannel-jqOpePyV.mjs";
12
12
 
13
13
  function isValidIDBKey(key) {
14
14
  return "string" == typeof key || "number" == typeof key || key instanceof Date || key instanceof ArrayBuffer || (Array.isArray(key) ? key.every(entry => isValidIDBKey(entry)) : ArrayBuffer.isView(key));