@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,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 { jsx } from "react/jsx-runtime";
5
5
 
@@ -7,12 +7,14 @@ import { motion } from "motion/react";
7
7
 
8
8
  import React, { useRef, useState, useCallback, useEffect, useMemo } from "react";
9
9
 
10
- import { b as cleanString } from "./misc-GB29X0YR.mjs";
10
+ import { b as cleanString } from "./misc-NDOWTiFf.mjs";
11
+
12
+ import { corners } from "../theme/corners.mjs";
11
13
 
12
14
  var css_wrapper = "DivInput-module_wrapper__ZQxY-", css_input = "DivInput-module_input__J34-l type-module_body-m-regular__LuQBA";
13
15
 
14
16
  const DivInput = React.memo(props => {
15
- const {value: value = "", name: name = "Input Field", placeholder: placeholder = "Placeholder", isEditable: isEditable = !0, wrap: wrap = !1, focus: focus = !1, width: width = "auto", textAlign: textAlign = "left", clamp: clamp = 3, padding: padding = "0px", onChange: onChange = () => null, onSubmit: onSubmit = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onDblClick: onDblClick = () => null, onClick: onClick = () => null, borderRadius: borderRadius, radius: radius = 4, backgroundColor: backgroundColor, bgColor: bgColor = "var(--core-surface-secondary)"} = props, divAttributes = __rest(props, [ "value", "name", "placeholder", "isEditable", "wrap", "focus", "width", "textAlign", "clamp", "padding", "onChange", "onSubmit", "onFocus", "onBlur", "onDblClick", "onClick", "borderRadius", "radius", "backgroundColor", "bgColor" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = useRef(null), innerText = useRef(cleanString("" === value ? placeholder : value)), [isFocused, setIsFocused] = useState(focus), [text, setText] = useState(innerText.current), [isPlaceholder, setIsPlaceholder] = useState(!1), resolvedBorderRadius = null != borderRadius ? borderRadius : radius, resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, setCursor = useCallback((to, length = 1) => {
17
+ const {value: valueProp = "", name: name = "Input Field", placeholder: placeholder = "Placeholder", isEditable: isEditable = !0, wrap: wrap = !1, focus: focus = !1, width: width = "auto", textAlign: textAlign = "left", clamp: clamp = 3, padding: padding = "0px", onChange: onChange = () => null, onSubmit: onSubmit = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onDblClick: onDblClick = () => null, onClick: onClick = () => null, borderRadius: borderRadius, radius: radius = corners["corner-xs"], backgroundColor: backgroundColor = "var(--core-surface-secondary)"} = props, divAttributes = __rest(props, [ "value", "name", "placeholder", "isEditable", "wrap", "focus", "width", "textAlign", "clamp", "padding", "onChange", "onSubmit", "onFocus", "onBlur", "onDblClick", "onClick", "borderRadius", "radius", "backgroundColor" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = useRef(null), value = null != valueProp ? valueProp : "", innerText = useRef(cleanString("" === value ? placeholder : value)), [isFocused, setIsFocused] = useState(focus), [text, setText] = useState(innerText.current), [isPlaceholder, setIsPlaceholder] = useState(!1), resolvedBorderRadius = null != borderRadius ? borderRadius : radius, resolvedBackgroundColor = backgroundColor, setCursor = useCallback((to, length = 1) => {
16
18
  if (ref.current) {
17
19
  const range = document.createRange();
18
20
  range.setStart(ref.current, "start" === to ? 0 : length), range.setEnd(ref.current, "start" === to ? 0 : 1);
@@ -78,10 +80,10 @@ const DivInput = React.memo(props => {
78
80
  "--div-input-white-space": isEditable && wrap ? "wrap" : "no-wrap",
79
81
  "--div-input-line-clamp": isEditable && isFocused ? "none" : null != clamp ? clamp : "none",
80
82
  "--div-input-cursor": isEditable ? "text" : "default",
81
- "--div-input-bg": isEditable ? null != bgColor ? bgColor : "var(--core-surface-secondary)" : "transparent",
83
+ "--div-input-bg": isEditable ? null != resolvedBackgroundColor ? resolvedBackgroundColor : "var(--core-surface-secondary)" : "transparent",
82
84
  "--div-input-wrapper-bg": isEditable && isFocused ? null != resolvedBackgroundColor ? resolvedBackgroundColor : "var(--core-surface-secondary)" : "transparent",
83
85
  "--div-input-border-radius": `${resolvedBorderRadius}px`
84
- }), [ clamp, wrap, isEditable, width, textAlign, isFocused, padding, isPlaceholder, setWidth, resolvedBackgroundColor, resolvedBorderRadius, bgColor ]);
86
+ }), [ clamp, wrap, isEditable, width, textAlign, isFocused, padding, isPlaceholder, setWidth, resolvedBackgroundColor, resolvedBorderRadius ]);
85
87
  return jsx("div", Object.assign({
86
88
  id: divId,
87
89
  className: `${css_wrapper}${divClass}`,
@@ -101,7 +103,7 @@ const DivInput = React.memo(props => {
101
103
  onClick: handleClick,
102
104
  role: "textbox",
103
105
  "aria-label": name,
104
- children: null != value ? value : placeholder
106
+ children: null != valueProp ? valueProp : placeholder
105
107
  })
106
108
  }));
107
109
  });
@@ -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 { jsx } from "react/jsx-runtime";
5
5
 
@@ -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, jsx } from "react/jsx-runtime";
5
5
 
@@ -11,13 +11,15 @@ import "../theme/colors.mjs";
11
11
 
12
12
  import "../theme/type.mjs";
13
13
 
14
- import { p as pointerPosition } from "./misc-GB29X0YR.mjs";
14
+ import { p as pointerPosition } from "./misc-NDOWTiFf.mjs";
15
15
 
16
- import "./broadcastChannel-qkn7bL4S.mjs";
16
+ import "./broadcastChannel-jqOpePyV.mjs";
17
17
 
18
- import "./microphoneStore-CHjTUEL_.mjs";
18
+ import "./webRTCStore-DmyQS-SN.mjs";
19
19
 
20
- import "./volumeStore-DBjptppw.mjs";
20
+ import "./microphoneStore-CtpUG1DB.mjs";
21
+
22
+ import "./volumeStore-IY7T-8fH.mjs";
21
23
 
22
24
  import "../hooks/useWindow.mjs";
23
25
 
@@ -49,10 +51,10 @@ const DraggablePanel = React.memo(props => {
49
51
  width: 10,
50
52
  color: "transparent",
51
53
  offsetX: !0
52
- }, borderRight: borderRight = "1px solid var(--core-outline-secondary)", borderLeft: borderLeft = "1px solid var(--core-outline-secondary)", bgColor: bgColor = "transparent", drags: drags = "right", isTouchDevice: isTouchDevice = !1, disableOnContext: disableOnContext = !1, dragHandle: dragHandle = !0, dragHandleStyle: dragHandleStyle = {
54
+ }, borderRight: borderRight = "1px solid var(--core-outline-secondary)", borderLeft: borderLeft = "1px solid var(--core-outline-secondary)", backgroundColor: backgroundColor = "transparent", drags: drags = "right", isTouchDevice: isTouchDevice = !1, disableOnContext: disableOnContext = !1, dragHandle: dragHandle = !0, dragHandleStyle: dragHandleStyle = {
53
55
  height: 24,
54
56
  width: 9
55
- }, containerRef: containerRef, onResize: onResize = () => null, onResizeStart: onResizeStart = () => null, onResizeEnd: onResizeEnd = () => null} = props, divAttributes = __rest(props, [ "children", "sizeConstraints", "isClosed", "resizeHandle", "borderRight", "borderLeft", "bgColor", "drags", "isTouchDevice", "disableOnContext", "dragHandle", "dragHandleStyle", "containerRef", "onResize", "onResizeStart", "onResizeEnd" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", handle = useRef(null), div = useRef(null), [isDragging, setIsDragging] = useState(!1), isOver = useRef(!1), gripper = Object.assign({}, resizeHandle), containerSize = useObserveResize(containerRef), panelSize = useObserveResize(div), [handleHighlight, setHandleHighlight] = useState(!1), [lastWidth, setLastWidth] = useState(null), [panelClosed, setPanelClosed] = useState(isClosed), [constraints, setConstraints] = useState(() => resolveConstraints(sizeConstraints)), [contWidth, setContWidth] = useState((null == containerRef ? void 0 : containerRef.current) ? containerRef.current.offsetWidth : void 0 !== globalThis.window ? window.innerWidth : void 0), [mounted, setMounted] = useState(!1), timer = useRef(null), closed = panelSize.width <= 1, startX = useRef(0), startWidth = useRef(0), divWidth = useRef(0), divHeight = useRef(0), deltaWidth = useRef(0);
57
+ }, transitionDurationOnInit: transitionDurationOnInit, containerRef: containerRef, onResize: onResize = () => null, onResizeStart: onResizeStart = () => null, onResizeEnd: onResizeEnd = () => null} = props, divAttributes = __rest(props, [ "children", "sizeConstraints", "isClosed", "resizeHandle", "borderRight", "borderLeft", "backgroundColor", "drags", "isTouchDevice", "disableOnContext", "dragHandle", "dragHandleStyle", "transitionDurationOnInit", "containerRef", "onResize", "onResizeStart", "onResizeEnd" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", handle = useRef(null), div = useRef(null), [isDragging, setIsDragging] = useState(!1), isOver = useRef(!1), gripper = Object.assign({}, resizeHandle), containerSize = useObserveResize(containerRef), panelSize = useObserveResize(div), [handleHighlight, setHandleHighlight] = useState(!1), [lastWidth, setLastWidth] = useState(null), [panelClosed, setPanelClosed] = useState(isClosed), [constraints, setConstraints] = useState(() => resolveConstraints(sizeConstraints)), [contWidth, setContWidth] = useState((null == containerRef ? void 0 : containerRef.current) ? containerRef.current.offsetWidth : void 0 !== globalThis.window ? window.innerWidth : void 0), [mounted, setMounted] = useState(!1), timer = useRef(null), closed = panelSize.width <= 1, startX = useRef(0), startWidth = useRef(0), divWidth = useRef(0), divHeight = useRef(0), deltaWidth = useRef(0);
56
58
  const handleWindowResize = useCallback(() => {
57
59
  (null == containerRef ? void 0 : containerRef.current) || setContWidth(window.innerWidth);
58
60
  }, [ containerRef ]), handleMouseOver = useCallback(() => {
@@ -88,13 +90,7 @@ const DraggablePanel = React.memo(props => {
88
90
  timer.current && clearTimeout(timer.current), state ? timer.current = setTimeout(() => {
89
91
  setHandleHighlight(state);
90
92
  }, isTouchDevice ? 0 : 350) : setHandleHighlight(!1);
91
- }, [ isTouchDevice ]), getClientX = useCallback(e => pointerPosition(e), []), getNewWidth = useCallback(clientX => "right" === drags ? startWidth.current + clientX - startX.current : startWidth.current - clientX + startX.current, [ drags ]), canDrag = useCallback((newWidth, clientX) => {
92
- if (null == constraints ? void 0 : constraints.min) {
93
- if (newWidth <= constraints.min) return !1;
94
- if (newWidth < constraints.min) return !1;
95
- }
96
- return !((null == constraints ? void 0 : constraints.max) && newWidth >= constraints.max && clientX - startX.current > 0);
97
- }, [ constraints ]), doDrag = useCallback(e => {
93
+ }, [ isTouchDevice ]), getClientX = useCallback(e => pointerPosition(e), []), getNewWidth = useCallback(clientX => "right" === drags ? startWidth.current + clientX - startX.current : startWidth.current - clientX + startX.current, [ drags ]), canDrag = useCallback((newWidth, clientX) => !((null == constraints ? void 0 : constraints.min) && newWidth < constraints.min) && !((null == constraints ? void 0 : constraints.max) && newWidth > constraints.max && clientX - startX.current > 0), [ constraints ]), doDrag = useCallback(e => {
98
94
  if (null == div ? void 0 : div.current) {
99
95
  e.stopPropagation(), e.preventDefault();
100
96
  const el = div.current, clientX = getClientX(e), newWidth = getNewWidth(clientX);
@@ -124,7 +120,16 @@ const DraggablePanel = React.memo(props => {
124
120
  onResize(update), onResizeEnd(update);
125
121
  }
126
122
  setLastWidth(divWidth.current), isOver.current || setHighlight(!1);
127
- }, [ doDrag, onResizeEnd, onResize, setHighlight ]), transition = useMemo(() => "width var(--motion-water-duration) var(--motion-water)", []), initDrag = useCallback(e => {
123
+ }, [ doDrag, onResizeEnd, onResize, setHighlight ]), [initialOpenSettled, setInitialOpenSettled] = useState(!1);
124
+ useEffect(() => {
125
+ mounted && setInitialOpenSettled(!0);
126
+ }, [ mounted ]);
127
+ const transition = useMemo(() => {
128
+ if (mounted && !initialOpenSettled && void 0 !== transitionDurationOnInit) {
129
+ return `width ${"number" == typeof transitionDurationOnInit ? `${transitionDurationOnInit}ms` : transitionDurationOnInit} var(--motion-water)`;
130
+ }
131
+ return "width var(--motion-water-duration) var(--motion-water)";
132
+ }, [ mounted, initialOpenSettled, transitionDurationOnInit ]), initDrag = useCallback(e => {
128
133
  if ((null == div ? void 0 : div.current) && document.defaultView) {
129
134
  setIsDragging(!0);
130
135
  const el = div.current;
@@ -155,8 +160,8 @@ const DraggablePanel = React.memo(props => {
155
160
  } : {
156
161
  left: isTouchDevice ? -22 : -(gripper.width || 10) / 2
157
162
  }, [ drags, isTouchDevice, gripper.width ]), normalizeWidth = useCallback(width => mounted ? "number" == typeof width ? width <= 1 && width >= 0 ? contWidth ? contWidth * width + "px" : 0 : `${width}px` : width : "0px", [ contWidth, mounted ]), width = useMemo(() => drags ? panelClosed ? 0 : lastWidth || normalizeWidth(constraints.initial) : "100%", [ drags, panelClosed, lastWidth, constraints.initial, normalizeWidth ]), cssVars = useMemo(() => ({
158
- "--panel-bg": null != bgColor ? bgColor : "transparent"
159
- }), [ bgColor ]);
163
+ "--panel-bg": null != backgroundColor ? backgroundColor : "transparent"
164
+ }), [ backgroundColor ]);
160
165
  return jsxs("div", Object.assign({
161
166
  id: divId,
162
167
  className: `${css_panel}${divClass}`,
@@ -164,6 +169,7 @@ const DraggablePanel = React.memo(props => {
164
169
  onContextMenu: e => (disableOnContext && e.preventDefault(), !0),
165
170
  style: Object.assign(Object.assign(Object.assign({}, divStyle), cssVars), {
166
171
  overflow: "visible",
172
+ flexShrink: 0,
167
173
  width: width,
168
174
  height: "100%",
169
175
  maxWidth: drags ? constraints.max : "unset",
@@ -1,13 +1,15 @@
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 { jsx, jsxs } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useState, useRef, useEffect, useCallback, useMemo } 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 Icon } from "./Icon-DGQB6Mfm.mjs";
10
+ import { corners } from "../theme/corners.mjs";
11
+
12
+ import { I as Icon } from "./Icon-Ce2CM7lt.mjs";
11
13
 
12
14
  var css = {
13
15
  wrapper: "DropDown-module_wrapper__CyX0u flexBox-module_rowStart__4tcxS",
@@ -28,7 +30,7 @@ function resolveValueKey(value, valueKey) {
28
30
  }
29
31
 
30
32
  function DropDownComponent(props) {
31
- const {name: name = "drop-down-select", label: label, labelColor: labelColor = "var(--core-text-primary)", textSize: textSize = "m", width: width = "100%", height: height = "auto", inline: inline = !1, selectedIndex: selectedIndex, selectedValue: selectedValue, valueKey: valueKey, options: options = [], placeholder: placeholder = !0, borderRadius: borderRadius = 8, backgroundColor: backgroundColor = "var(--core-surface-secondary)", bgColor: bgColor = "var(--core-surface-secondary)", iconColor: iconColor = "var(--core-text-primary)", textColor: textColor = "var(--core-text-primary)", borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-outline-primary)", paddingLeft: paddingLeft = "10px", paddingRight: paddingRight = "8px", paddingTop: paddingTop = "8px", paddingBottom: paddingBottom = "8px", borderStyle: borderStyle = "box", iconSize: iconSize = 20, disabled: disabled = !1, error: error = !1, gap: gap = 8, onChange: onChange = () => null, onOption: onOption = () => null} = props, divAttributes = __rest(props, [ "name", "label", "labelColor", "textSize", "width", "height", "inline", "selectedIndex", "selectedValue", "valueKey", "options", "placeholder", "borderRadius", "backgroundColor", "bgColor", "iconColor", "textColor", "borderWidth", "borderSize", "borderColor", "paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "borderStyle", "iconSize", "disabled", "error", "gap", "onChange", "onOption" ]), {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, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, [index, setIndex] = useState(null != selectedIndex ? selectedIndex : 0), [selectedText, setSelectedText] = useState("Select an option"), ref = useRef(null);
33
+ const {name: name = "drop-down-select", label: label, labelColor: labelColor = "var(--core-text-primary)", textSize: textSize = "m", width: width = "100%", height: height = "auto", inline: inline = !1, selectedIndex: selectedIndex, selectedValue: selectedValue, valueKey: valueKey, options: options = [], placeholder: placeholder = !0, borderRadius: borderRadius = corners["corner-m"], backgroundColor: backgroundColor = "var(--core-surface-secondary)", iconColor: iconColor = "var(--core-text-primary)", textColor: textColor = "var(--core-text-primary)", borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-outline-primary)", paddingLeft: paddingLeft = "10px", paddingRight: paddingRight = "8px", paddingTop: paddingTop = "8px", paddingBottom: paddingBottom = "8px", borderStyle: borderStyle = "box", iconSize: iconSize = 20, disabled: disabled = !1, error: error = !1, gap: gap = 8, onChange: onChange = () => null, onOption: onOption = () => null} = props, divAttributes = __rest(props, [ "name", "label", "labelColor", "textSize", "width", "height", "inline", "selectedIndex", "selectedValue", "valueKey", "options", "placeholder", "borderRadius", "backgroundColor", "iconColor", "textColor", "borderWidth", "borderSize", "borderColor", "paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "borderStyle", "iconSize", "disabled", "error", "gap", "onChange", "onOption" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = backgroundColor, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, [index, setIndex] = useState(null != selectedIndex ? selectedIndex : 0), [selectedText, setSelectedText] = useState("Select an option"), ref = useRef(null);
32
34
  useEffect(() => {
33
35
  if (null == selectedValue && void 0 !== selectedIndex && (null == ref ? void 0 : ref.current)) {
34
36
  if (!(null == options ? void 0 : options[selectedIndex])) return;
@@ -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 { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -13,13 +13,15 @@ import "../theme/colors.mjs";
13
13
 
14
14
  import "../theme/type.mjs";
15
15
 
16
- import { a as addOpacity } from "./colors-C3CypePZ.mjs";
16
+ import { a as addOpacity } from "./colors-DE286j6U.mjs";
17
17
 
18
- import "./broadcastChannel-qkn7bL4S.mjs";
18
+ import "./broadcastChannel-jqOpePyV.mjs";
19
19
 
20
- import "./microphoneStore-CHjTUEL_.mjs";
20
+ import "./webRTCStore-DmyQS-SN.mjs";
21
21
 
22
- import "./volumeStore-DBjptppw.mjs";
22
+ import "./microphoneStore-CtpUG1DB.mjs";
23
+
24
+ import "./volumeStore-IY7T-8fH.mjs";
23
25
 
24
26
  import "../hooks/useWindow.mjs";
25
27
 
@@ -37,7 +39,7 @@ var css = {
37
39
  };
38
40
 
39
41
  const ErrorSummary = React.memo(props => {
40
- const {current: current} = useTheme(), warning = current.colors["feedback-warning"], bg = addOpacity(warning, .1), {entries: entries, textSize: textSize = "m", textColor: textColor = warning, backgroundColor: backgroundColor, bgColor: bgColor = bg, autoNumber: autoNumber = !0} = props, divAttributes = __rest(props, [ "entries", "textSize", "textColor", "backgroundColor", "bgColor", "autoNumber" ]), {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, variants = useMemo(() => ({
42
+ const {current: current} = useTheme(), warning = current.colors["feedback-warning"], bg = addOpacity(warning, .1), {entries: entries, textSize: textSize = "m", textColor: textColor = warning, backgroundColor: backgroundColor = bg, autoNumber: autoNumber = !0} = props, divAttributes = __rest(props, [ "entries", "textSize", "textColor", "backgroundColor", "autoNumber" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = backgroundColor, variants = useMemo(() => ({
41
43
  enter: {
42
44
  opacity: 0,
43
45
  maxHeight: 0
@@ -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
 
@@ -11,13 +11,15 @@ import "../theme/colors.mjs";
11
11
 
12
12
  import "../theme/type.mjs";
13
13
 
14
- import { a as accessibleKeyDown } from "./misc-GB29X0YR.mjs";
14
+ import { a as accessibleKeyDown } from "./misc-NDOWTiFf.mjs";
15
15
 
16
- import "./broadcastChannel-qkn7bL4S.mjs";
16
+ import "./broadcastChannel-jqOpePyV.mjs";
17
17
 
18
- import "./microphoneStore-CHjTUEL_.mjs";
18
+ import "./webRTCStore-DmyQS-SN.mjs";
19
19
 
20
- import "./volumeStore-DBjptppw.mjs";
20
+ import "./microphoneStore-CtpUG1DB.mjs";
21
+
22
+ import "./volumeStore-IY7T-8fH.mjs";
21
23
 
22
24
  import "../hooks/useWindow.mjs";
23
25
 
@@ -1,17 +1,17 @@
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 { jsx, jsxs } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useCallback, useMemo } from "react";
7
7
 
8
- import { s as setStyle, a as accessibleKeyDown } from "./misc-GB29X0YR.mjs";
8
+ import { s as setStyle, a as accessibleKeyDown } from "./misc-NDOWTiFf.mjs";
9
9
 
10
- import { F as FileIcon } from "./FileIcon-Ckvm7EOw.mjs";
10
+ import { F as FileIcon } from "./FileIcon-AtwKsycg.mjs";
11
11
 
12
- import { I as Icon } from "./Icon-DGQB6Mfm.mjs";
12
+ import { I as Icon } from "./Icon-Ce2CM7lt.mjs";
13
13
 
14
- import { P as ProgressIndicator } from "./ProgressIndicator-C8tli-Jg.mjs";
14
+ import { P as ProgressIndicator } from "./ProgressIndicator-dkR6UF1M.mjs";
15
15
 
16
16
  /**
17
17
  * Split a file name into its display name and extension.
@@ -46,7 +46,7 @@ function displayClose(uploading) {
46
46
  }
47
47
 
48
48
  const FileList = React.memo(props => {
49
- const {files: files = [], onChange: onChange, onToolTip: onToolTip, maxWidth: maxWidth, minWidth: minWidth, direction: direction = "row", padding: padding, gap: gap = 10, textSize: textSize = "s", iconSize: iconSize = 24, backgroundColor: backgroundColor, bgColor: bgColor, canRemove: canRemove = !0} = props, divAttributes = __rest(props, [ "files", "onChange", "onToolTip", "maxWidth", "minWidth", "direction", "padding", "gap", "textSize", "iconSize", "backgroundColor", "bgColor", "canRemove" ]), {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, fileNameToFileItem = useCallback(fileName => {
49
+ const {files: files = [], onChange: onChange, onToolTip: onToolTip, maxWidth: maxWidth, minWidth: minWidth, direction: direction = "row", padding: padding, gap: gap = 10, textSize: textSize = "s", iconSize: iconSize = 24, backgroundColor: backgroundColor, canRemove: canRemove = !0} = props, divAttributes = __rest(props, [ "files", "onChange", "onToolTip", "maxWidth", "minWidth", "direction", "padding", "gap", "textSize", "iconSize", "backgroundColor", "canRemove" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = backgroundColor, fileNameToFileItem = useCallback(fileName => {
50
50
  const {ext: ext, name: name} = function(fileName) {
51
51
  var _a;
52
52
  const ext = null !== (_a = fileName.split(".").pop()) && void 0 !== _a ? _a : "unknown";
@@ -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 { jsx } from "react/jsx-runtime";
5
5
 
@@ -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 { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -13,17 +13,19 @@ import "../theme/colors.mjs";
13
13
 
14
14
  import "../theme/type.mjs";
15
15
 
16
- import "./broadcastChannel-qkn7bL4S.mjs";
16
+ import "./broadcastChannel-jqOpePyV.mjs";
17
17
 
18
- import "./microphoneStore-CHjTUEL_.mjs";
18
+ import "./webRTCStore-DmyQS-SN.mjs";
19
19
 
20
- import "./volumeStore-DBjptppw.mjs";
20
+ import "./microphoneStore-CtpUG1DB.mjs";
21
+
22
+ import "./volumeStore-IY7T-8fH.mjs";
21
23
 
22
24
  import "../hooks/useWindow.mjs";
23
25
 
24
- import { B as Badge } from "./Badge-Cli_Ebpu.mjs";
26
+ import { B as Badge } from "./Badge-gU-yUZyp.mjs";
25
27
 
26
- import { I as Icon } from "./Icon-DGQB6Mfm.mjs";
28
+ import { I as Icon } from "./Icon-Ce2CM7lt.mjs";
27
29
 
28
30
  var css_header = "Grouper-module_header__D5fV0 flexBox-module_rowBetween__5FEvi", css_title = "Grouper-module_title__ZKqTP flexBox-module_rowBetween__5FEvi type-module_body-m-regular__LuQBA", css_content = "Grouper-module_content__Mof50 flexBox-module_rowBetween__5FEvi", css_icon = "Grouper-module_icon__14Jis flexBox-module_row__z24tF";
29
31
 
@@ -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
 
@@ -11,13 +11,15 @@ import "../theme/colors.mjs";
11
11
 
12
12
  import "../theme/type.mjs";
13
13
 
14
- import { a as accessibleKeyDown } from "./misc-GB29X0YR.mjs";
14
+ import { a as accessibleKeyDown } from "./misc-NDOWTiFf.mjs";
15
15
 
16
- import "./broadcastChannel-qkn7bL4S.mjs";
16
+ import "./broadcastChannel-jqOpePyV.mjs";
17
17
 
18
- import "./microphoneStore-CHjTUEL_.mjs";
18
+ import "./webRTCStore-DmyQS-SN.mjs";
19
19
 
20
- import "./volumeStore-DBjptppw.mjs";
20
+ import "./microphoneStore-CtpUG1DB.mjs";
21
+
22
+ import "./volumeStore-IY7T-8fH.mjs";
21
23
 
22
24
  import "../hooks/useWindow.mjs";
23
25
 
@@ -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, jsx } from "react/jsx-runtime";
5
5
 
@@ -7,13 +7,15 @@ import { motion } from "motion/react";
7
7
 
8
8
  import React, { useRef, useState, useEffect, useCallback, useMemo } from "react";
9
9
 
10
- import { B as Badge } from "./Badge-Cli_Ebpu.mjs";
10
+ import { corners } from "../theme/corners.mjs";
11
11
 
12
- import { D as Dot } from "./Dot-Lyaimh03.mjs";
12
+ import { B as Badge } from "./Badge-gU-yUZyp.mjs";
13
13
 
14
- import { I as Icon } from "./Icon-DGQB6Mfm.mjs";
14
+ import { D as Dot } from "./Dot-BbRo6uDo.mjs";
15
15
 
16
- import { T as ToolTipType } from "./sharedTypes-DqPH1p0Q.mjs";
16
+ import { I as Icon } from "./Icon-Ce2CM7lt.mjs";
17
+
18
+ import { T as ToolTipType } from "./sharedTypes-DnHEGYor.mjs";
17
19
 
18
20
  var AnimationPreset, AnimationType, css_button = "IconButton-module_button__rziqa flexBox-module_row__z24tF", css_label = "IconButton-module_label__qWGFD flexBox-module_row__z24tF type-module_body-l-regular__lOYbg", css_icon = "IconButton-module_icon__2DDWy flexBox-module_row__z24tF", css_count = "IconButton-module_count__6r373 flexBox-module_row__z24tF";
19
21
 
@@ -110,7 +112,7 @@ const presetAnimation = {
110
112
  transition: transition
111
113
  });
112
114
  }, IconButton = React.memo(props => {
113
- const {frameSize: frameSize = 36, iconSize: iconSize = 20, round: round = !0, icon: icon = "more", borderRadius: borderRadius = 4, border: border = !1, tooltip: tooltip, color: color, colorOn: colorOn, iconFill: iconFill = !1, bgColor: bgColor = "var(--core-surface-secondary)", bgColorHover: bgColorHover = "var(--core-outline-primary)", bgColorOn: bgColorOn = "var(--core-outline-primary)", iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, fillColor: fillColor, label: label, hover: hover = !0, count: count = 0, toggle: toggle = !1, toggleIcon: toggleIcon = !1, isToggled: isToggled = !1, disabled: disabled = !1, showDot: showDot = !1, buttonSize: buttonSize = "m", presetAnimations: presetAnimations, customAnimations: customAnimations, onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "frameSize", "iconSize", "round", "icon", "borderRadius", "border", "tooltip", "color", "colorOn", "iconFill", "bgColor", "bgColorHover", "bgColorOn", "iconColor", "iconColorOn", "iconColorHover", "transition", "variants", "initial", "animate", "exit", "fillColor", "label", "hover", "count", "toggle", "toggleIcon", "isToggled", "disabled", "showDot", "buttonSize", "presetAnimations", "customAnimations", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = useRef(null), [on, setOn] = useState(isToggled), [hovered, setHovered] = useState(!1);
115
+ const {frameSize: frameSize = 36, iconSize: iconSize = 20, round: round = !0, icon: icon = "more", borderRadius: borderRadius = corners["corner-xs"], border: border = !1, tooltip: tooltip, color: color, colorOn: colorOn, iconFill: iconFill = !1, backgroundColor: backgroundColor = "var(--core-surface-secondary)", backgroundColorHover: backgroundColorHover = "var(--core-outline-primary)", backgroundColorOn: backgroundColorOn = "var(--core-outline-primary)", iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, fillColor: fillColor, label: label, hover: hover = !0, count: count = 0, toggle: toggle = !1, toggleIcon: toggleIcon = !1, isToggled: isToggled = !1, disabled: disabled = !1, showDot: showDot = !1, buttonSize: buttonSize = "m", presetAnimations: presetAnimations, customAnimations: customAnimations, onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "frameSize", "iconSize", "round", "icon", "borderRadius", "border", "tooltip", "color", "colorOn", "iconFill", "backgroundColor", "backgroundColorHover", "backgroundColorOn", "iconColor", "iconColorOn", "iconColorHover", "transition", "variants", "initial", "animate", "exit", "fillColor", "label", "hover", "count", "toggle", "toggleIcon", "isToggled", "disabled", "showDot", "buttonSize", "presetAnimations", "customAnimations", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = useRef(null), [on, setOn] = useState(isToggled), [hovered, setHovered] = useState(!1);
114
116
  useEffect(() => setOn(isToggled), [ isToggled ]);
115
117
  const handleClick = useCallback(e => {
116
118
  disabled || (tooltip && onToolTip(null), toggle && setOn(!on), onClick(e));
@@ -127,7 +129,7 @@ const presetAnimation = {
127
129
  onToolTip(tip);
128
130
  }, [ tooltip, onToolTip ]), handleMouseLeave = useCallback(() => {
129
131
  setHovered(!1), tooltip && onToolTip(null);
130
- }, [ tooltip, onToolTip ]), bgColorNormal = useMemo(() => on ? bgColorOn : null != bgColor ? bgColor : "var(--core-surface-secondary)", [ bgColorOn, bgColor, on ]), bgHoverColor = useMemo(() => hover && on ? bgColorOn : hover ? bgColorHover : null != bgColor ? bgColor : "transparent", [ hover, bgColor, bgColorOn, bgColorHover, on ]), textColor = useMemo(() => on ? colorOn : null != color ? color : "var(--core-text-primary)", [ on, colorOn, color ]), setIconColor = useMemo(() => on ? iconColorOn : hovered ? iconColorHover : null != iconColor ? iconColor : "var(--core-text-primary)", [ on, iconColorOn, iconColor, iconColorHover, hovered ]), size = useMemo(() => buttonSize ? "s" === buttonSize ? 24 : "m" === buttonSize ? 36 : "l" === buttonSize ? 44 : "xl" === buttonSize ? 56 : void 0 : frameSize, [ frameSize, buttonSize ]), cssVars = useMemo(() => ({
132
+ }, [ tooltip, onToolTip ]), bgColorNormal = useMemo(() => on ? backgroundColorOn : null != backgroundColor ? backgroundColor : "var(--core-surface-secondary)", [ backgroundColorOn, backgroundColor, on ]), bgHoverColor = useMemo(() => hover && on ? backgroundColorOn : hover ? backgroundColorHover : null != backgroundColor ? backgroundColor : "transparent", [ hover, backgroundColor, backgroundColorOn, backgroundColorHover, on ]), textColor = useMemo(() => on ? colorOn : null != color ? color : "var(--core-text-primary)", [ on, colorOn, color ]), setIconColor = useMemo(() => on ? iconColorOn : hovered ? iconColorHover : null != iconColor ? iconColor : "var(--core-text-primary)", [ on, iconColorOn, iconColor, iconColorHover, hovered ]), size = useMemo(() => buttonSize ? "s" === buttonSize ? 24 : "m" === buttonSize ? 36 : "l" === buttonSize ? 44 : "xl" === buttonSize ? 56 : void 0 : frameSize, [ frameSize, buttonSize ]), cssVars = useMemo(() => ({
131
133
  "--ib-bg-color": bgColorNormal,
132
134
  "--ib-bg-color-hover": disabled ? bgColorNormal : bgHoverColor,
133
135
  "--ib-icon-size": `${null != iconSize ? iconSize : 0}px`,
@@ -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 IndexedDB {
4
4
  constructor(storeName, options = {}) {
@@ -41,7 +41,8 @@ class IndexedDB {
41
41
  * Get a single DB value by key.
42
42
  */ get(key) {
43
43
  return __awaiter(this, void 0, void 0, function*() {
44
- return this.runRequest("readonly", store => store.get(key));
44
+ const value = yield this.runRequest("readonly", store => store.get(key));
45
+ return null != value ? value : null;
45
46
  });
46
47
  }
47
48
  /**
@@ -60,15 +61,18 @@ class IndexedDB {
60
61
  }
61
62
  set(key, value) {
62
63
  return __awaiter(this, void 0, void 0, function*() {
63
- return this.runRequest("readwrite", store => store.put(value, key));
64
+ return this.runRequest("readwrite", store => this.key ? store.put(value) : store.put(value, key));
64
65
  });
65
66
  }
66
67
  /**
67
68
  * Adds a new value to the store with or without a key.
68
69
  * If a key already exists it will error.
70
+ *
71
+ * As with `set()`, a store configured with an in-line key path must never
72
+ * be given an explicit key - it is always derived from the value.
69
73
  */ add(value, key) {
70
74
  return __awaiter(this, void 0, void 0, function*() {
71
- return this.runRequest("readwrite", store => void 0 === key ? store.add(value) : store.add(value, key));
75
+ return this.runRequest("readwrite", store => this.key || void 0 === key ? store.add(value) : store.add(value, key));
72
76
  });
73
77
  }
74
78
  /**
@@ -1,11 +1,13 @@
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 { jsx } from "react/jsx-runtime";
5
5
 
6
6
  import { useCallback, useMemo } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-GB29X0YR.mjs";
8
+ import { s as setStyle } from "./misc-NDOWTiFf.mjs";
9
+
10
+ import { corners } from "../theme/corners.mjs";
9
11
 
10
12
  var LabelBackground, css = {
11
13
  label: "Label-module_label__RaRvM",
@@ -24,7 +26,7 @@ function resolveSemanticBackground(backgroundColor) {
24
26
  }
25
27
 
26
28
  function Label(props) {
27
- const {children: children, label: label, backgroundColor: backgroundColor, borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-outline-primary)", bgColor: bgColor = "transparent", borderRadius: borderRadius = 4, padding: padding, textColor: textColor = "var(--core-text-primary)", textSize: textSize = "s", onClick: onClick} = props, divAttributes = __rest(props, [ "children", "label", "backgroundColor", "borderWidth", "borderSize", "borderColor", "bgColor", "borderRadius", "padding", "textColor", "textSize", "onClick" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", isInteractive = Boolean(onClick), resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, handleClick = useCallback(e => {
29
+ const {children: children, label: label, backgroundColor: backgroundColor = "transparent", borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius = corners["corner-xs"], padding: padding, textColor: textColor = "var(--core-text-primary)", textSize: textSize = "s", onClick: onClick} = props, divAttributes = __rest(props, [ "children", "label", "backgroundColor", "borderWidth", "borderSize", "borderColor", "borderRadius", "padding", "textColor", "textSize", "onClick" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", isInteractive = Boolean(onClick), resolvedBackgroundColor = backgroundColor, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, handleClick = useCallback(e => {
28
30
  isInteractive && (null == onClick || onClick(e));
29
31
  }, [ isInteractive, onClick ]), setBgColor = useMemo(() => {
30
32
  if (!resolvedBackgroundColor) return "transparent";
@@ -1,20 +1,22 @@
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 { jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useRef, useState, useMemo, useEffect } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-GB29X0YR.mjs";
8
+ import { corners } from "../theme/corners.mjs";
9
9
 
10
- import { A as AudioVisualizer } from "./audioVisualizer-CLKL6Y79.mjs";
10
+ import { s as setStyle } from "./misc-NDOWTiFf.mjs";
11
11
 
12
- import "./broadcastChannel-qkn7bL4S.mjs";
12
+ import { A as AudioVisualizer } from "./audioVisualizer-jpYXWaW8.mjs";
13
+
14
+ import "./broadcastChannel-jqOpePyV.mjs";
13
15
 
14
16
  var css_wrapper = "Level-module_wrapper__yOfXw", css_barContainer = "Level-module_barContainer__QMUdv", css_bar = "Level-module_bar__MnApX";
15
17
 
16
18
  const Level = React.memo(function(props) {
17
- const {width: width = 100, height: height = 4, gap: gap = 0, audioStream: audioStream, playing: playing = !1, minIntensity: minIntensity = 0, maxIntensity: maxIntensity = 5, intensity: intensity = 3.5, peakIntensity: peakIntensity = .5, risePerSeconds: risePerSeconds = 4, releasePerSeconds: releasePerSeconds, ReleasePerSeconds: ReleasePerSeconds = 1.5, borderRadius: borderRadius = 4, borderColor: borderColor = "transparent", borderWidth: borderWidth = 0, colorActive: colorActive = "var(--feedback-positive)", backgroundColor: backgroundColor = "var(--core-surface-primary-tint)"} = props, divAttributes = __rest(props, [ "width", "height", "gap", "audioStream", "playing", "minIntensity", "maxIntensity", "intensity", "peakIntensity", "risePerSeconds", "releasePerSeconds", "ReleasePerSeconds", "borderRadius", "borderColor", "borderWidth", "colorActive", "backgroundColor" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", visualizerRef = useRef(null), [normalizedIntensity, setNormalizedIntensity] = useState(0), totalBars = Math.max(1, Math.floor(maxIntensity)), minBars = Math.max(0, Math.min(Math.floor(minIntensity), totalBars)), releaseRate = null != releasePerSeconds ? releasePerSeconds : ReleasePerSeconds, intensityIntervals = useMemo(() => new Array(totalBars).fill(0).map((_, index) => index), [ totalBars ]), activeBars = useMemo(() => {
19
+ const {width: width = 100, height: height = 4, gap: gap = 0, audioStream: audioStream, playing: playing = !1, minIntensity: minIntensity = 0, maxIntensity: maxIntensity = 5, intensity: intensity = 3.5, peakIntensity: peakIntensity = .5, risePerSeconds: risePerSeconds = 4, releasePerSeconds: releasePerSeconds, ReleasePerSeconds: ReleasePerSeconds = 1.5, borderRadius: borderRadius = corners["corner-xs"], borderColor: borderColor = "transparent", borderWidth: borderWidth = 0, colorActive: colorActive = "var(--feedback-positive)", backgroundColor: backgroundColor = "var(--core-surface-primary-tint)"} = props, divAttributes = __rest(props, [ "width", "height", "gap", "audioStream", "playing", "minIntensity", "maxIntensity", "intensity", "peakIntensity", "risePerSeconds", "releasePerSeconds", "ReleasePerSeconds", "borderRadius", "borderColor", "borderWidth", "colorActive", "backgroundColor" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", visualizerRef = useRef(null), [normalizedIntensity, setNormalizedIntensity] = useState(0), totalBars = Math.max(1, Math.floor(maxIntensity)), minBars = Math.max(0, Math.min(Math.floor(minIntensity), totalBars)), releaseRate = null != releasePerSeconds ? releasePerSeconds : ReleasePerSeconds, intensityIntervals = useMemo(() => new Array(totalBars).fill(0).map((_, index) => index), [ totalBars ]), activeBars = useMemo(() => {
18
20
  const scaledBars = Math.round(minBars + normalizedIntensity * (totalBars - minBars));
19
21
  return Math.max(minBars, Math.min(scaledBars, totalBars));
20
22
  }, [ minBars, normalizedIntensity, totalBars ]), visualizerSettings = useMemo(() => ({
@@ -1,17 +1,19 @@
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, 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 { corners } from "../theme/corners.mjs";
9
9
 
10
- import { B as Button } from "./Button-BdxJ4wnE.mjs";
10
+ import { s as setStyle } from "./misc-NDOWTiFf.mjs";
11
11
 
12
- import { I as Icon } from "./Icon-DGQB6Mfm.mjs";
12
+ import { B as Button } from "./Button-CWM6SoTH.mjs";
13
13
 
14
- import { I as IconButton } from "./IconButton-Wffb0Rhg.mjs";
14
+ import { I as Icon } from "./Icon-Ce2CM7lt.mjs";
15
+
16
+ import { I as IconButton } from "./IconButton-DmhOQNtq.mjs";
15
17
 
16
18
  var css = {
17
19
  wrapper: "Modal-module_wrapper__34Hds flexBox-module_columnBetween__ERfp7",
@@ -31,7 +33,7 @@ var css = {
31
33
  };
32
34
 
33
35
  const Modal = React.memo(props => {
34
- const {children: children, id: id, className: className, style: style, minWidth: minWidth = 300, minHeight: minHeight = 200, maxHeight: maxHeight = 400, maxWidth: maxWidth = 400, padding: padding, close: close = !0, title: title, titleTextSize: titleTextSize = "l", contentTextSize: contentTextSize = "m", actions: actions, titleIcon: titleIcon, titleIconFill: titleIconFill = !0, titleBorderColor: titleBorderColor = "var(--core-outline-primary)", titleBorderWidth: titleBorderWidth = 0, actionsBorderColor: actionsBorderColor = "var(--core-outline-primary)", actionsBorderWidth: actionsBorderWidth = 0, autoBorderBottom: autoBorderBottom = !0, onAction: onAction, onReject: onReject, onResolve: onResolve, onClose: onClose, onToolTip: onToolTip, onDragPointerDown: onDragPointerDown, backgroundColor: backgroundColor = "var(--core-surface-secondary)", scrollHandleColor: scrollHandleColor = "var(--core-text-disabled)", scrollHandleColorHover: scrollHandleColorHover = "var(--core-text-disabled)", titleColor: titleColor = "var(--core-text-special)", borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius = 8, borderWidth: borderWidth = 1} = props, rest = __rest(props, [ "children", "id", "className", "style", "minWidth", "minHeight", "maxHeight", "maxWidth", "padding", "close", "title", "titleTextSize", "contentTextSize", "actions", "titleIcon", "titleIconFill", "titleBorderColor", "titleBorderWidth", "actionsBorderColor", "actionsBorderWidth", "autoBorderBottom", "onAction", "onReject", "onResolve", "onClose", "onToolTip", "onDragPointerDown", "backgroundColor", "scrollHandleColor", "scrollHandleColorHover", "titleColor", "borderColor", "borderRadius", "borderWidth" ]), contentWrapperRef = useRef(null), modalStyle = null != style ? style : {}, modalClass = className ? ` ${className}` : "", [scrolls, setScrolls] = useState(!1), getScrolls = useCallback(() => {
36
+ const {children: children, id: id, className: className, style: style, minWidth: minWidth = 300, minHeight: minHeight = 200, maxHeight: maxHeight = 400, maxWidth: maxWidth = 400, padding: padding, close: close = !0, title: title, titleTextSize: titleTextSize = "l", contentTextSize: contentTextSize = "m", actions: actions, titleIcon: titleIcon, titleIconFill: titleIconFill = !0, titleBorderColor: titleBorderColor = "var(--core-outline-primary)", titleBorderWidth: titleBorderWidth = 0, actionsBorderColor: actionsBorderColor = "var(--core-outline-primary)", actionsBorderWidth: actionsBorderWidth = 0, autoBorderBottom: autoBorderBottom = !0, onAction: onAction, onReject: onReject, onResolve: onResolve, onClose: onClose, onToolTip: onToolTip, onDragPointerDown: onDragPointerDown, backgroundColor: backgroundColor = "var(--core-surface-secondary)", scrollHandleColor: scrollHandleColor = "var(--core-text-disabled)", scrollHandleColorHover: scrollHandleColorHover = "var(--core-text-disabled)", titleColor: titleColor = "var(--core-text-special)", borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius = corners["corner-m"], borderWidth: borderWidth = 1} = props, rest = __rest(props, [ "children", "id", "className", "style", "minWidth", "minHeight", "maxHeight", "maxWidth", "padding", "close", "title", "titleTextSize", "contentTextSize", "actions", "titleIcon", "titleIconFill", "titleBorderColor", "titleBorderWidth", "actionsBorderColor", "actionsBorderWidth", "autoBorderBottom", "onAction", "onReject", "onResolve", "onClose", "onToolTip", "onDragPointerDown", "backgroundColor", "scrollHandleColor", "scrollHandleColorHover", "titleColor", "borderColor", "borderRadius", "borderWidth" ]), contentWrapperRef = useRef(null), modalStyle = null != style ? style : {}, modalClass = className ? ` ${className}` : "", [scrolls, setScrolls] = useState(!1), getScrolls = useCallback(() => {
35
37
  var _a, _b;
36
38
  const height = null === (_a = contentWrapperRef.current) || void 0 === _a ? void 0 : _a.offsetHeight, scrollHeight = null === (_b = contentWrapperRef.current) || void 0 === _b ? void 0 : _b.scrollHeight;
37
39
  return !(!height || !scrollHeight) && height < scrollHeight;
@@ -105,6 +107,7 @@ const Modal = React.memo(props => {
105
107
  className: css.titleIcon,
106
108
  children: jsx(IconButton, {
107
109
  tooltip: "close",
110
+ "aria-label": "close",
108
111
  icon: "x",
109
112
  onClick: () => {
110
113
  null == onReject || onReject(new Error("Modal was closed", {
@@ -5,13 +5,15 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
5
5
 
6
6
  import { useRef } from "react";
7
7
 
8
- import "./microphoneStore-CHjTUEL_.mjs";
8
+ import "./microphoneStore-CtpUG1DB.mjs";
9
9
 
10
- import "./volumeStore-DBjptppw.mjs";
10
+ import "./volumeStore-IY7T-8fH.mjs";
11
11
 
12
- import { O as Overlay } from "./Overlay-DXAULyRd.mjs";
12
+ import "./webRTCStore-DmyQS-SN.mjs";
13
13
 
14
- import { u as useModal, a as useModalActions } from "./modalStore-DN1F_WR9.mjs";
14
+ import { O as Overlay } from "./Overlay-BhrCyPRX.mjs";
15
+
16
+ import { u as useModal, a as useModalActions } from "./modalStore-CgEpalf_.mjs";
15
17
 
16
18
  var css_container = "ModalController-module_container__3cSaO", css_box = "ModalController-module_box__cPzOz", css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
17
19
 
@@ -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 { jsx } from "react/jsx-runtime";
5
5
 
@@ -13,7 +13,7 @@ const defaultTransition = {
13
13
  ease: "easeOut",
14
14
  duration: .25
15
15
  }, Overlay = React.memo(props => {
16
- const {children: children, show: show = !1, type: type = "clear", global: global = !1, overlay: overlay, color: color = "rgb(0,0,0)", opacity: opacity = 0, transition: transition = defaultTransition, onClick: onClick = () => null, toggleOverlay: toggleOverlay = () => null} = props, divAttributes = __rest(props, [ "children", "show", "type", "global", "overlay", "color", "opacity", "transition", "onClick", "toggleOverlay" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", computedOpacity = useMemo(() => "clear" === type ? 0 : void 0 !== opacity ? opacity : "dark" === type ? .8 : 0, [ type, opacity ]), handleClick = useCallback(() => {
16
+ const {children: children, show: show = !1, type: type = "clear", global: global = !1, overlay: overlay, color: color = "rgb(0,0,0)", opacity: opacity, transition: transition = defaultTransition, onClick: onClick = () => null, toggleOverlay: toggleOverlay = () => null} = props, divAttributes = __rest(props, [ "children", "show", "type", "global", "overlay", "color", "opacity", "transition", "onClick", "toggleOverlay" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", computedOpacity = useMemo(() => "clear" === type ? 0 : void 0 !== opacity ? opacity : "dark" === type ? .8 : 0, [ type, opacity ]), handleClick = useCallback(() => {
17
17
  global && toggleOverlay(!1), onClick();
18
18
  }, [ global, toggleOverlay, onClick ]), handleContextMenu = useCallback(e => {
19
19
  e.preventDefault();