@apple-pie/slice 0.1.33 → 0.1.34

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 (255) hide show
  1. package/dist/cjs/chunks/{AudioBubble-_eYM1QMu.js → AudioBubble-D6EdVxCx.js} +4 -4
  2. package/dist/cjs/chunks/{Avatar-DTro_MXZ.js → Avatar-C8Y8QA6W.js} +1 -1
  3. package/dist/cjs/chunks/{AvatarGroup-OPJJ_Te5.js → AvatarGroup-BJGROy0D.js} +1 -1
  4. package/dist/cjs/chunks/{Badge-DWUeXxm2.js → Badge-D0jOqpGM.js} +1 -1
  5. package/dist/cjs/chunks/{Button-CuGvPAkH.js → Button-CSyenByA.js} +1 -1
  6. package/dist/cjs/chunks/{ButtonBar-CbXToyfD.js → ButtonBar-D6nO_KLU.js} +1 -1
  7. package/dist/cjs/chunks/{Camera-DjENiyud.js → Camera-C8ug84NJ.js} +5 -5
  8. package/dist/cjs/chunks/{CheckBox-DiJpbdy5.js → CheckBox-rALyYaSt.js} +1 -1
  9. package/dist/cjs/chunks/{Chip-kzOvEo0P.js → Chip-BwxjTPRM.js} +1 -1
  10. package/dist/cjs/chunks/{DivInput-B917fKB9.js → DivInput-BRhOr7b5.js} +1 -1
  11. package/dist/cjs/chunks/{Dot-DaRF2JyO.js → Dot-DLk45OlQ.js} +1 -1
  12. package/dist/cjs/chunks/{DrggablePanel-CJTEmYW6.js → DrggablePanel-Ch24xWZu.js} +4 -4
  13. package/dist/cjs/chunks/{DropDown-DRSQvXCC.js → DropDown-BbhZnN_w.js} +1 -1
  14. package/dist/cjs/chunks/{ErrorSummary-ltiIsgJ6.js → ErrorSummary-CI6hUFwD.js} +4 -4
  15. package/dist/cjs/chunks/{FileIcon-WIVOTJLa.js → FileIcon-CfjasX-r.js} +4 -4
  16. package/dist/cjs/chunks/{FileList-CzQZZErI.js → FileList-B93Xcxz4.js} +1 -1
  17. package/dist/cjs/chunks/{FlexDiv-CBENyLT4.js → FlexDiv-rfXrDSOq.js} +1 -1
  18. package/dist/cjs/chunks/{Grouper-Cd3AJEFv.js → Grouper-DSrE9R-U.js} +4 -4
  19. package/dist/cjs/chunks/{Icon-DjvProjz.js → Icon-CRxH8X5b.js} +4 -4
  20. package/dist/cjs/chunks/{IconButton-BuwQLUuj.js → IconButton-KFtalJ6A.js} +1 -1
  21. package/dist/cjs/chunks/{IndexedDB-Ddhq6Gjd.js → IndexedDB-BFj53nVB.js} +1 -1
  22. package/dist/cjs/chunks/{Label-d32ENzwL.js → Label-BHP_DdP0.js} +1 -1
  23. package/dist/cjs/chunks/{Level-B8eT8XyV.js → Level-BWOIrzAv.js} +1 -1
  24. package/dist/cjs/chunks/{Modal-CUAj4e6x.js → Modal-BEKrk6zT.js} +1 -1
  25. package/dist/cjs/chunks/{ModalController-BwFAVI5G.js → ModalController-DQJ-Vr6w.js} +3 -3
  26. package/dist/cjs/chunks/{Overlay-CaAA3ey5.js → Overlay-CgD0_kQK.js} +1 -1
  27. package/dist/cjs/chunks/{Pager-uExZ5E3x.js → Pager-CjMnXBqh.js} +1 -1
  28. package/dist/cjs/chunks/{ProgressIndicator-DwqslY4o.js → ProgressIndicator-V-orBNdI.js} +4 -4
  29. package/dist/cjs/chunks/{PromptInput-Dl8l8cZv.js → PromptInput-DK1pGnIm.js} +16 -14
  30. package/dist/cjs/chunks/{RadioButton-DPpAOFQt.js → RadioButton-DOv8YC-8.js} +1 -1
  31. package/dist/cjs/chunks/{RadioButtonList-IbPA6A3y.js → RadioButtonList-BC0PaUB2.js} +1 -1
  32. package/dist/cjs/chunks/{Slider-D5oa7NGy.js → Slider-D4zQ-4aq.js} +10 -1
  33. package/dist/cjs/chunks/{Spacer-DtUh2VLv.js → Spacer-CdIj0JdL.js} +1 -1
  34. package/dist/cjs/chunks/{Switch-Bs0r5va5.js → Switch-BcyjA09W.js} +1 -1
  35. package/dist/cjs/chunks/{TabBar-BCSTg_Uc.js → TabBar-BzfXUqQ7.js} +38 -18
  36. package/dist/cjs/chunks/{TextArea-Dj7jsvVr.js → TextArea-Aqo_XxW3.js} +1 -1
  37. package/dist/cjs/chunks/{TextField-DNP0wJla.js → TextField-D9cVqxeH.js} +5 -5
  38. package/dist/cjs/chunks/{Tip-awq6PDZa.js → Tip-6p-WETDg.js} +1 -1
  39. package/dist/cjs/chunks/{Toast-xS1TC3Ba.js → Toast-D2RPpe4w.js} +5 -5
  40. package/dist/cjs/chunks/{ToggleButton-CqD5c6JA.js → ToggleButton-DIO-mLzn.js} +1 -1
  41. package/dist/cjs/chunks/{UploadArea-CvWqk8YK.js → UploadArea-dLHkxZaJ.js} +1 -1
  42. package/dist/cjs/chunks/{WSConnection-BACWw4TS.js → WSConnection-DUtc0Zek.js} +1 -1
  43. package/dist/cjs/chunks/{WebRTCConnection-DBeyg4j9.js → WebRTCConnection-DOegM5k_.js} +1 -1
  44. package/dist/cjs/chunks/{localDBStore-wgCc1SmV.js → localDBStore-BE1Spdvk.js} +1 -1
  45. package/dist/cjs/chunks/{microphoneStore-Dy5TwE2I.js → microphoneStore-BQttBRKb.js} +1 -1
  46. package/dist/cjs/chunks/{misc-BwQIEIuF.js → misc-CktV9aap.js} +1 -1
  47. package/dist/cjs/chunks/{sseStore-CFFaYonG.js → sseStore-CUctZwDm.js} +2 -2
  48. package/dist/cjs/chunks/{uploads-worker-DWvOe9F8.js → uploads-worker-B-7wl30J.js} +1 -1
  49. package/dist/cjs/chunks/{uploadsStore-BCmts7Ie.js → uploadsStore-BhvyVpxk.js} +2 -2
  50. package/dist/cjs/chunks/{volumeStore-BXFAQhvS.js → volumeStore-CPxgI64S.js} +4 -5
  51. package/dist/cjs/chunks/{webRTCStore-DRjvbnve.js → webRTCStore-M1HXHN92.js} +1 -1
  52. package/dist/cjs/chunks/{windowStore-C4Bg6I9i.js → windowStore-BeMPlP7X.js} +1 -1
  53. package/dist/cjs/components/AudioBubble/index.js +6 -6
  54. package/dist/cjs/components/Avatar/index.js +3 -3
  55. package/dist/cjs/components/AvatarGroup/index.js +3 -3
  56. package/dist/cjs/components/Badge/index.js +2 -2
  57. package/dist/cjs/components/Button/index.js +9 -9
  58. package/dist/cjs/components/ButtonBar/index.js +6 -6
  59. package/dist/cjs/components/Camera/index.js +7 -7
  60. package/dist/cjs/components/CheckBox/index.js +6 -6
  61. package/dist/cjs/components/Chip/index.js +7 -7
  62. package/dist/cjs/components/DivInput/index.js +3 -3
  63. package/dist/cjs/components/Dot/index.js +2 -2
  64. package/dist/cjs/components/DraggablePanel/index.js +5 -5
  65. package/dist/cjs/components/DropDown/index.js +6 -6
  66. package/dist/cjs/components/ErrorSummary/index.js +5 -5
  67. package/dist/cjs/components/FileIcon/index.js +5 -5
  68. package/dist/cjs/components/FileList/index.js +7 -7
  69. package/dist/cjs/components/FlexDiv/index.js +2 -2
  70. package/dist/cjs/components/Grouper/index.js +7 -7
  71. package/dist/cjs/components/Icon/index.js +5 -5
  72. package/dist/cjs/components/IconButton/index.js +8 -8
  73. package/dist/cjs/components/Label/index.js +3 -3
  74. package/dist/cjs/components/Level/index.js +3 -3
  75. package/dist/cjs/components/Modal/index.js +10 -10
  76. package/dist/cjs/components/ModalController/index.js +5 -5
  77. package/dist/cjs/components/Overlay/index.js +2 -2
  78. package/dist/cjs/components/Pager/index.js +3 -3
  79. package/dist/cjs/components/Progress/index.js +5 -5
  80. package/dist/cjs/components/PromptInput/index.js +9 -9
  81. package/dist/cjs/components/RadioButton/index.js +6 -6
  82. package/dist/cjs/components/RadioButtonList/index.js +7 -7
  83. package/dist/cjs/components/Slider/index.js +7 -4
  84. package/dist/cjs/components/Spacer/index.js +2 -2
  85. package/dist/cjs/components/Switch/index.js +2 -2
  86. package/dist/cjs/components/TabBar/index.js +8 -8
  87. package/dist/cjs/components/TextArea/index.js +9 -9
  88. package/dist/cjs/components/Textfield/index.js +9 -9
  89. package/dist/cjs/components/Tip/index.js +3 -3
  90. package/dist/cjs/components/Toast/index.js +6 -6
  91. package/dist/cjs/components/ToggleButton/index.js +9 -9
  92. package/dist/cjs/components/UploadArea/index.js +8 -8
  93. package/dist/cjs/hooks/useAudioRecorder.js +1 -1
  94. package/dist/cjs/hooks/useBindWebRTC.js +2 -2
  95. package/dist/cjs/hooks/useMdStreamBuffer.js +1 -1
  96. package/dist/cjs/hooks/useMicrophone.js +1 -1
  97. package/dist/cjs/hooks/useTrackRenders.js +2 -2
  98. package/dist/cjs/hooks.js +3 -3
  99. package/dist/cjs/index.js +8 -8
  100. package/dist/cjs/stores/LocalDB.js +3 -3
  101. package/dist/cjs/stores/SSE.js +2 -2
  102. package/dist/cjs/stores/WS.js +2 -2
  103. package/dist/cjs/stores/WebRTC.js +2 -2
  104. package/dist/cjs/stores/microphone.js +2 -2
  105. package/dist/cjs/stores/modal.js +1 -1
  106. package/dist/cjs/stores/tip.js +1 -1
  107. package/dist/cjs/stores/toast.js +1 -1
  108. package/dist/cjs/stores/uploads.js +2 -2
  109. package/dist/cjs/stores/volume.js +2 -2
  110. package/dist/cjs/stores/window.js +2 -2
  111. package/dist/cjs/stores.js +4 -4
  112. package/dist/cjs/utils/index.js +2 -2
  113. package/dist/cjs/utils/objects/index.js +2 -2
  114. package/dist/cjs/workers/uploads/uploads.js +2 -2
  115. package/dist/esm/chunks/{AudioBubble-SB1LCBlJ.mjs → AudioBubble-BudIMUsf.mjs} +6 -6
  116. package/dist/esm/chunks/{Avatar-B6PcVOmT.mjs → Avatar-Bk8kdTEa.mjs} +2 -2
  117. package/dist/esm/chunks/{AvatarGroup-DEb3j2IZ.mjs → AvatarGroup-CRixAHW5.mjs} +2 -2
  118. package/dist/esm/chunks/{Badge-bh5UVUnt.mjs → Badge-DHvo2-ZQ.mjs} +1 -1
  119. package/dist/esm/chunks/{Button-CWKs3uAV.mjs → Button-v92U2QVV.mjs} +6 -6
  120. package/dist/esm/chunks/{ButtonBar-CWeMhkSb.mjs → ButtonBar-Bn4GhpbO.mjs} +3 -3
  121. package/dist/esm/chunks/{Camera-BmuMA9xY.mjs → Camera-Cvp_kb-A.mjs} +8 -8
  122. package/dist/esm/chunks/{CheckBox-BR6a2n0j.mjs → CheckBox-CUbeBXgg.mjs} +3 -3
  123. package/dist/esm/chunks/{Chip-DXW0jxKf.mjs → Chip-HGLXF8JO.mjs} +4 -4
  124. package/dist/esm/chunks/{DivInput-BWO1EJXA.mjs → DivInput-CZ3PVteW.mjs} +2 -2
  125. package/dist/esm/chunks/{Dot-DMst-5Q2.mjs → Dot-B6Q97aIp.mjs} +1 -1
  126. package/dist/esm/chunks/{DrggablePanel-qxrCS7Ot.mjs → DrggablePanel-DLltuMUc.mjs} +5 -5
  127. package/dist/esm/chunks/{DropDown-DlO2J4QP.mjs → DropDown-DqVsJwO3.mjs} +3 -3
  128. package/dist/esm/chunks/{ErrorSummary-BplQFunJ.mjs → ErrorSummary-CCTJpTqA.mjs} +5 -5
  129. package/dist/esm/chunks/{FileIcon-iFmAF7_a.mjs → FileIcon-DnEohsNX.mjs} +5 -5
  130. package/dist/esm/chunks/{FileList-CztHFCJe.mjs → FileList-CnuT4Llg.mjs} +5 -5
  131. package/dist/esm/chunks/{FlexDiv-DGmDZL7M.mjs → FlexDiv-DGEzQRcq.mjs} +1 -1
  132. package/dist/esm/chunks/{Grouper-DxOISLzH.mjs → Grouper-BoGryrnc.mjs} +6 -6
  133. package/dist/esm/chunks/{Icon-L8B35JN1.mjs → Icon-CbDAKN_S.mjs} +5 -5
  134. package/dist/esm/chunks/{IconButton-DxwJemEK.mjs → IconButton-nOcdRqR3.mjs} +5 -5
  135. package/dist/esm/chunks/{IndexedDB-DA5oZXju.mjs → IndexedDB-Bqjric8V.mjs} +1 -1
  136. package/dist/esm/chunks/{Label-wDPtyK4h.mjs → Label-BlvreqNJ.mjs} +2 -2
  137. package/dist/esm/chunks/{Level-B9JayinM.mjs → Level-COXHoBs6.mjs} +3 -3
  138. package/dist/esm/chunks/{Modal-C-Q2A_RY.mjs → Modal-CqBytyja.mjs} +5 -5
  139. package/dist/esm/chunks/{ModalController-ClAjHLPb.mjs → ModalController-6Gc8QRxx.mjs} +5 -5
  140. package/dist/esm/chunks/{Overlay-Dr9YYxJ6.mjs → Overlay-iKgSkUKP.mjs} +1 -1
  141. package/dist/esm/chunks/{Pager-DPbTCMNe.mjs → Pager-XgsZBzcg.mjs} +2 -2
  142. package/dist/esm/chunks/{ProgressIndicator-HaJJDZ-m.mjs → ProgressIndicator-BWrcdWvF.mjs} +5 -5
  143. package/dist/esm/chunks/{PromptInput-wGhpXw-h.mjs → PromptInput-DbT3sVeA.mjs} +18 -16
  144. package/dist/esm/chunks/{RadioButton-oOGgTDhg.mjs → RadioButton-DUzPaLKa.mjs} +3 -3
  145. package/dist/esm/chunks/{RadioButtonList-CDWKVvyL.mjs → RadioButtonList-NjEGYpj4.mjs} +3 -3
  146. package/dist/esm/chunks/{Slider-ioPGftDY.mjs → Slider-Bvnhqzjx.mjs} +14 -4
  147. package/dist/esm/chunks/{Spacer-VJBjxVlr.mjs → Spacer-B2JAN7e8.mjs} +1 -1
  148. package/dist/esm/chunks/{Switch-BCk2sTh3.mjs → Switch-CspvY_DQ.mjs} +1 -1
  149. package/dist/esm/chunks/{TabBar-C1DYnCRx.mjs → TabBar-BlvOUGJx.mjs} +39 -21
  150. package/dist/esm/chunks/{TextArea-CF3r5m2G.mjs → TextArea-BpMTGopK.mjs} +2 -2
  151. package/dist/esm/chunks/{TextField-BNfTj9v2.mjs → TextField-DELrBLOa.mjs} +8 -8
  152. package/dist/esm/chunks/{Tip-DIKQvxxO.mjs → Tip-DBVeB0Zs.mjs} +2 -2
  153. package/dist/esm/chunks/{Toast-CkXPrDpp.mjs → Toast-HU8Pgwsr.mjs} +7 -7
  154. package/dist/esm/chunks/{ToggleButton-Dvy8fc4t.mjs → ToggleButton-CGpBWhaX.mjs} +2 -2
  155. package/dist/esm/chunks/{UploadArea-D_xGzR2e.mjs → UploadArea-DdV_ILIU.mjs} +4 -4
  156. package/dist/esm/chunks/{WSConnection-TiYLENWB.mjs → WSConnection-eStD8i-1.mjs} +1 -1
  157. package/dist/esm/chunks/{WebRTCConnection-d0Yvd66q.mjs → WebRTCConnection-BaPHQ_C4.mjs} +1 -1
  158. package/dist/esm/chunks/{localDBStore-C-5y16uv.mjs → localDBStore-NpiMrXsA.mjs} +2 -2
  159. package/dist/esm/chunks/{microphoneStore-Cbx9nV4R.mjs → microphoneStore-uYs2NQQx.mjs} +1 -1
  160. package/dist/esm/chunks/{misc-zecH7-IH.mjs → misc-BQH7I5Zj.mjs} +1 -1
  161. package/dist/esm/chunks/{sseStore-DIquUNpm.mjs → sseStore-ueYoyFeB.mjs} +2 -2
  162. package/dist/esm/chunks/{uploads-worker-CUggKU9b.mjs → uploads-worker-CFPGExfT.mjs} +1 -1
  163. package/dist/esm/chunks/{uploadsStore-9QngohOe.mjs → uploadsStore-DNalSMtC.mjs} +1 -1
  164. package/dist/esm/chunks/{volumeStore-BrgZCRKF.mjs → volumeStore-C0iU07fK.mjs} +4 -5
  165. package/dist/esm/chunks/{webRTCStore-DhFE9-bb.mjs → webRTCStore-Ck8TCzr_.mjs} +2 -2
  166. package/dist/esm/chunks/{windowStore-BKW7HyoD.mjs → windowStore-DcYPAWds.mjs} +1 -1
  167. package/dist/esm/components/AudioBubble/index.mjs +8 -8
  168. package/dist/esm/components/Avatar/index.mjs +3 -3
  169. package/dist/esm/components/AvatarGroup/index.mjs +4 -4
  170. package/dist/esm/components/Badge/index.mjs +2 -2
  171. package/dist/esm/components/Button/index.mjs +12 -12
  172. package/dist/esm/components/ButtonBar/index.mjs +8 -8
  173. package/dist/esm/components/Camera/index.mjs +10 -10
  174. package/dist/esm/components/CheckBox/index.mjs +8 -8
  175. package/dist/esm/components/Chip/index.mjs +9 -9
  176. package/dist/esm/components/DivInput/index.mjs +3 -3
  177. package/dist/esm/components/Dot/index.mjs +2 -2
  178. package/dist/esm/components/DraggablePanel/index.mjs +7 -7
  179. package/dist/esm/components/DropDown/index.mjs +8 -8
  180. package/dist/esm/components/ErrorSummary/index.mjs +7 -7
  181. package/dist/esm/components/FileIcon/index.mjs +7 -7
  182. package/dist/esm/components/FileList/index.mjs +10 -10
  183. package/dist/esm/components/FlexDiv/index.mjs +2 -2
  184. package/dist/esm/components/Grouper/index.mjs +9 -9
  185. package/dist/esm/components/Icon/index.mjs +8 -8
  186. package/dist/esm/components/IconButton/index.mjs +11 -11
  187. package/dist/esm/components/Label/index.mjs +3 -3
  188. package/dist/esm/components/Level/index.mjs +4 -4
  189. package/dist/esm/components/Modal/index.mjs +14 -14
  190. package/dist/esm/components/ModalController/index.mjs +8 -8
  191. package/dist/esm/components/Overlay/index.mjs +2 -2
  192. package/dist/esm/components/Pager/index.mjs +3 -3
  193. package/dist/esm/components/Progress/index.mjs +8 -8
  194. package/dist/esm/components/PromptInput/index.mjs +15 -15
  195. package/dist/esm/components/RadioButton/index.mjs +8 -8
  196. package/dist/esm/components/RadioButtonList/index.mjs +9 -9
  197. package/dist/esm/components/Slider/index.mjs +19 -5
  198. package/dist/esm/components/Spacer/index.mjs +2 -2
  199. package/dist/esm/components/Switch/index.mjs +2 -2
  200. package/dist/esm/components/TabBar/index.mjs +13 -13
  201. package/dist/esm/components/TextArea/index.mjs +13 -13
  202. package/dist/esm/components/Textfield/index.mjs +14 -14
  203. package/dist/esm/components/Tip/index.mjs +3 -3
  204. package/dist/esm/components/Toast/index.mjs +9 -9
  205. package/dist/esm/components/ToggleButton/index.mjs +13 -13
  206. package/dist/esm/components/UploadArea/index.mjs +11 -11
  207. package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
  208. package/dist/esm/hooks/useBindWebRTC.mjs +5 -5
  209. package/dist/esm/hooks/useMdStreamBuffer.mjs +2 -2
  210. package/dist/esm/hooks/useMicrophone.mjs +1 -1
  211. package/dist/esm/hooks/useTrackRenders.mjs +2 -2
  212. package/dist/esm/hooks.mjs +6 -6
  213. package/dist/esm/index.mjs +53 -53
  214. package/dist/esm/stores/LocalDB.mjs +3 -3
  215. package/dist/esm/stores/SSE.mjs +3 -3
  216. package/dist/esm/stores/WS.mjs +2 -2
  217. package/dist/esm/stores/WebRTC.mjs +3 -3
  218. package/dist/esm/stores/microphone.mjs +2 -2
  219. package/dist/esm/stores/modal.mjs +1 -1
  220. package/dist/esm/stores/tip.mjs +1 -1
  221. package/dist/esm/stores/toast.mjs +1 -1
  222. package/dist/esm/stores/uploads.mjs +3 -3
  223. package/dist/esm/stores/volume.mjs +2 -2
  224. package/dist/esm/stores/window.mjs +2 -2
  225. package/dist/esm/stores.mjs +15 -15
  226. package/dist/esm/utils/index.mjs +10 -10
  227. package/dist/esm/utils/objects/index.mjs +7 -7
  228. package/dist/esm/workers/uploads/uploads.mjs +2 -2
  229. package/dist/styles.css +21 -1
  230. package/dist/types/components/TabBar/_types.d.ts +5 -0
  231. package/dist/types/stores/volume/_types.d.ts +1 -1
  232. package/dist/types/stores/volume/volumeStore.d.ts +2 -2
  233. package/package.json +1 -1
  234. /package/dist/cjs/chunks/{MdStreamBuffer-Chwibu07.js → MdStreamBuffer-CQGZtTLN.js} +0 -0
  235. /package/dist/cjs/chunks/{SSEConnection-CF5WZG9b.js → SSEConnection-BqitbvAq.js} +0 -0
  236. /package/dist/cjs/chunks/{_types-BTdDWVYI.js → _types-CnvV2yMQ.js} +0 -0
  237. /package/dist/cjs/chunks/{audioVisualizer-C7fMG0WH.js → audioVisualizer-i41gzZXM.js} +0 -0
  238. /package/dist/cjs/chunks/{colors-CmOkcjB3.js → colors-BlSE7Sf2.js} +0 -0
  239. /package/dist/cjs/chunks/{debounce-BtCCTkbG.js → debounce-C7m-uQW2.js} +0 -0
  240. /package/dist/cjs/chunks/{modalStore-CaQkdY5_.js → modalStore-BrwOUMH_.js} +0 -0
  241. /package/dist/cjs/chunks/{sharedTypes-BOieqpQy.js → sharedTypes-Cep5dDpY.js} +0 -0
  242. /package/dist/cjs/chunks/{tipStore-4Bs9v2sg.js → tipStore-BXKWR6IE.js} +0 -0
  243. /package/dist/cjs/chunks/{toastStore-CyCE9-lr.js → toastStore-Y9JmFP0o.js} +0 -0
  244. /package/dist/cjs/chunks/{tslib.es6-DqjaJVC3.js → tslib.es6-yslq87rf.js} +0 -0
  245. /package/dist/esm/chunks/{MdStreamBuffer-Cyon3ytf.mjs → MdStreamBuffer-BF5ZQeUD.mjs} +0 -0
  246. /package/dist/esm/chunks/{SSEConnection-g0GBGAqe.mjs → SSEConnection-DNA5yBWy.mjs} +0 -0
  247. /package/dist/esm/chunks/{_types-9ekyeJYl.mjs → _types-DR4jXucA.mjs} +0 -0
  248. /package/dist/esm/chunks/{audioVisualizer-nMo67yOW.mjs → audioVisualizer-CAET7dc9.mjs} +0 -0
  249. /package/dist/esm/chunks/{colors-v5b8_oYV.mjs → colors-BHYMt294.mjs} +0 -0
  250. /package/dist/esm/chunks/{debounce-DFxAyrPi.mjs → debounce-DpPYyz3x.mjs} +0 -0
  251. /package/dist/esm/chunks/{modalStore-D6_oc47l.mjs → modalStore-DbxIsSpU.mjs} +0 -0
  252. /package/dist/esm/chunks/{sharedTypes-CdmzhKXN.mjs → sharedTypes-DoNQkNSM.mjs} +0 -0
  253. /package/dist/esm/chunks/{tipStore-C2M6zBzd.mjs → tipStore-CmyIJWe7.mjs} +0 -0
  254. /package/dist/esm/chunks/{toastStore-B-6kdNHw.mjs → toastStore-BYMHSiu2.mjs} +0 -0
  255. /package/dist/esm/chunks/{tslib.es6-CVvvNSPr.mjs → tslib.es6-75ZdAmtm.mjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
5
5
 
@@ -9,13 +9,13 @@ import { useTheme } from "../hooks/useTheme.mjs";
9
9
 
10
10
  import "../theme/colors.mjs";
11
11
 
12
- import { a as accessibleKeyDown } from "./misc-zecH7-IH.mjs";
12
+ import { a as accessibleKeyDown } from "./misc-BQH7I5Zj.mjs";
13
13
 
14
- import "./webRTCStore-DhFE9-bb.mjs";
14
+ import "./webRTCStore-Ck8TCzr_.mjs";
15
15
 
16
- import "./microphoneStore-Cbx9nV4R.mjs";
16
+ import "./microphoneStore-uYs2NQQx.mjs";
17
17
 
18
- import "./volumeStore-BrgZCRKF.mjs";
18
+ import "./volumeStore-C0iU07fK.mjs";
19
19
 
20
20
  import "../hooks/useWindow.mjs";
21
21
 
@@ -1,17 +1,17 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.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-zecH7-IH.mjs";
8
+ import { s as setStyle, a as accessibleKeyDown } from "./misc-BQH7I5Zj.mjs";
9
9
 
10
- import { F as FileIcon } from "./FileIcon-iFmAF7_a.mjs";
10
+ import { F as FileIcon } from "./FileIcon-DnEohsNX.mjs";
11
11
 
12
- import { I as Icon } from "./Icon-L8B35JN1.mjs";
12
+ import { I as Icon } from "./Icon-CbDAKN_S.mjs";
13
13
 
14
- import { P as ProgressIndicator } from "./ProgressIndicator-HaJJDZ-m.mjs";
14
+ import { P as ProgressIndicator } from "./ProgressIndicator-BWrcdWvF.mjs";
15
15
 
16
16
  /**
17
17
  * Split a file name into its display name and extension.
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -11,17 +11,17 @@ import { useTheme } from "../hooks/useTheme.mjs";
11
11
 
12
12
  import "../theme/colors.mjs";
13
13
 
14
- import "./webRTCStore-DhFE9-bb.mjs";
14
+ import "./webRTCStore-Ck8TCzr_.mjs";
15
15
 
16
- import "./microphoneStore-Cbx9nV4R.mjs";
16
+ import "./microphoneStore-uYs2NQQx.mjs";
17
17
 
18
- import "./volumeStore-BrgZCRKF.mjs";
18
+ import "./volumeStore-C0iU07fK.mjs";
19
19
 
20
20
  import "../hooks/useWindow.mjs";
21
21
 
22
- import { B as Badge } from "./Badge-bh5UVUnt.mjs";
22
+ import { B as Badge } from "./Badge-DHvo2-ZQ.mjs";
23
23
 
24
- import { I as Icon } from "./Icon-L8B35JN1.mjs";
24
+ import { I as Icon } from "./Icon-CbDAKN_S.mjs";
25
25
 
26
26
  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";
27
27
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
5
5
 
@@ -9,13 +9,13 @@ import { useTheme } from "../hooks/useTheme.mjs";
9
9
 
10
10
  import "../theme/colors.mjs";
11
11
 
12
- import { a as accessibleKeyDown } from "./misc-zecH7-IH.mjs";
12
+ import { a as accessibleKeyDown } from "./misc-BQH7I5Zj.mjs";
13
13
 
14
- import "./webRTCStore-DhFE9-bb.mjs";
14
+ import "./webRTCStore-Ck8TCzr_.mjs";
15
15
 
16
- import "./microphoneStore-Cbx9nV4R.mjs";
16
+ import "./microphoneStore-uYs2NQQx.mjs";
17
17
 
18
- import "./volumeStore-BrgZCRKF.mjs";
18
+ import "./volumeStore-C0iU07fK.mjs";
19
19
 
20
20
  import "../hooks/useWindow.mjs";
21
21
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
@@ -7,13 +7,13 @@ 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-bh5UVUnt.mjs";
10
+ import { B as Badge } from "./Badge-DHvo2-ZQ.mjs";
11
11
 
12
- import { D as Dot } from "./Dot-DMst-5Q2.mjs";
12
+ import { D as Dot } from "./Dot-B6Q97aIp.mjs";
13
13
 
14
- import { I as Icon } from "./Icon-L8B35JN1.mjs";
14
+ import { I as Icon } from "./Icon-CbDAKN_S.mjs";
15
15
 
16
- import { T as ToolTipType } from "./sharedTypes-CdmzhKXN.mjs";
16
+ import { T as ToolTipType } from "./sharedTypes-DoNQkNSM.mjs";
17
17
 
18
18
  var 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
19
 
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-CVvvNSPr.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-75ZdAmtm.mjs";
2
2
 
3
3
  class IndexedDB {
4
4
  constructor(storeName, options = {}) {
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.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-zecH7-IH.mjs";
8
+ import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
9
9
 
10
10
  var LabelBackground, css = {
11
11
  label: "Label-module_label__RaRvM",
@@ -1,12 +1,12 @@
1
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
1
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
2
2
 
3
3
  import { jsx } from "react/jsx-runtime";
4
4
 
5
5
  import React, { useRef, useState, useMemo, useEffect } from "react";
6
6
 
7
- import { s as setStyle } from "./misc-zecH7-IH.mjs";
7
+ import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
8
8
 
9
- import { A as AudioVisualizer } from "./audioVisualizer-nMo67yOW.mjs";
9
+ import { A as AudioVisualizer } from "./audioVisualizer-CAET7dc9.mjs";
10
10
 
11
11
  var css_wrapper = "Level-module_wrapper__yOfXw", css_barContainer = "Level-module_barContainer__QMUdv", css_bar = "Level-module_bar__MnApX";
12
12
 
@@ -1,17 +1,17 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.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-zecH7-IH.mjs";
8
+ import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
9
9
 
10
- import { B as Button } from "./Button-CWKs3uAV.mjs";
10
+ import { B as Button } from "./Button-v92U2QVV.mjs";
11
11
 
12
- import { I as Icon } from "./Icon-L8B35JN1.mjs";
12
+ import { I as Icon } from "./Icon-CbDAKN_S.mjs";
13
13
 
14
- import { I as IconButton } from "./IconButton-DxwJemEK.mjs";
14
+ import { I as IconButton } from "./IconButton-nOcdRqR3.mjs";
15
15
 
16
16
  var css = {
17
17
  wrapper: "Modal-module_wrapper__34Hds flexBox-module_columnBetween__ERfp7",
@@ -4,15 +4,15 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
4
4
 
5
5
  import { useRef } from "react";
6
6
 
7
- import "./microphoneStore-Cbx9nV4R.mjs";
7
+ import "./microphoneStore-uYs2NQQx.mjs";
8
8
 
9
- import "./volumeStore-BrgZCRKF.mjs";
9
+ import "./volumeStore-C0iU07fK.mjs";
10
10
 
11
- import "./webRTCStore-DhFE9-bb.mjs";
11
+ import "./webRTCStore-Ck8TCzr_.mjs";
12
12
 
13
- import { O as Overlay } from "./Overlay-Dr9YYxJ6.mjs";
13
+ import { O as Overlay } from "./Overlay-iKgSkUKP.mjs";
14
14
 
15
- import { u as useModal, a as useModalActions } from "./modalStore-D6_oc47l.mjs";
15
+ import { u as useModal, a as useModalActions } from "./modalStore-DbxIsSpU.mjs";
16
16
 
17
17
  var css_container = "ModalController-module_container__3cSaO", css_box = "ModalController-module_box__cPzOz", css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
18
18
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useState, useMemo, useEffect, useCallback } from "react";
7
7
 
8
- import { a as accessibleKeyDown } from "./misc-zecH7-IH.mjs";
8
+ import { a as accessibleKeyDown } from "./misc-BQH7I5Zj.mjs";
9
9
 
10
10
  var css_wrapper = "Pager-module_wrapper__eutVg flexBox-module_row__z24tF", css_bullet = "Pager-module_bullet__TxyR5 flexBox-module_row__z24tF", css_selected = "Pager-module_selected__C6xbR";
11
11
 
@@ -7,17 +7,17 @@ import { useTheme } from "../hooks/useTheme.mjs";
7
7
 
8
8
  import "../theme/colors.mjs";
9
9
 
10
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
10
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
11
11
 
12
- import "./webRTCStore-DhFE9-bb.mjs";
12
+ import "./webRTCStore-Ck8TCzr_.mjs";
13
13
 
14
- import "./microphoneStore-Cbx9nV4R.mjs";
14
+ import "./microphoneStore-uYs2NQQx.mjs";
15
15
 
16
- import "./volumeStore-BrgZCRKF.mjs";
16
+ import "./volumeStore-C0iU07fK.mjs";
17
17
 
18
18
  import "../hooks/useWindow.mjs";
19
19
 
20
- import { I as Icon } from "./Icon-L8B35JN1.mjs";
20
+ import { I as Icon } from "./Icon-CbDAKN_S.mjs";
21
21
 
22
22
  import { AnimatePresence, motion } from "motion/react";
23
23
 
@@ -7,21 +7,21 @@ import { useTheme } from "../hooks/useTheme.mjs";
7
7
 
8
8
  import "../theme/colors.mjs";
9
9
 
10
- import "./tslib.es6-CVvvNSPr.mjs";
10
+ import "./tslib.es6-75ZdAmtm.mjs";
11
11
 
12
- import { s as setStyle } from "./misc-zecH7-IH.mjs";
12
+ import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
13
13
 
14
- import "./webRTCStore-DhFE9-bb.mjs";
14
+ import "./webRTCStore-Ck8TCzr_.mjs";
15
15
 
16
- import "./microphoneStore-Cbx9nV4R.mjs";
16
+ import "./microphoneStore-uYs2NQQx.mjs";
17
17
 
18
- import "./volumeStore-BrgZCRKF.mjs";
18
+ import "./volumeStore-C0iU07fK.mjs";
19
19
 
20
20
  import "../hooks/useWindow.mjs";
21
21
 
22
- import { B as Button } from "./Button-CWKs3uAV.mjs";
22
+ import { B as Button } from "./Button-v92U2QVV.mjs";
23
23
 
24
- import { F as FileList } from "./FileList-CztHFCJe.mjs";
24
+ import { F as FileList } from "./FileList-CnuT4Llg.mjs";
25
25
 
26
26
  var css = {
27
27
  wrapperBg: "PromptInput-module_wrapperBg__zabZq flexBox-module_columnStart__C7P44",
@@ -42,11 +42,13 @@ const PromptInputBase = React.forwardRef((props, ref) => {
42
42
  var _a, _b;
43
43
  setIsFocused(!0), null === (_a = null == textAreaRef ? void 0 : textAreaRef.current) || void 0 === _a || _a.focus(),
44
44
  null == onFocus || onFocus(null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
45
- }, [ onFocus, attachments ]), handleBlur = useCallback(() => {
45
+ }, [ onFocus, attachments ]), handleBlur = useCallback(valueOverride => {
46
46
  var _a, _b;
47
47
  setIsFocused(!1), null === (_a = textAreaRef.current) || void 0 === _a || _a.blur(),
48
- null == onBlur || onBlur(null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
49
- }, [ onBlur, attachments ]), handleAttachmentsChange = useCallback(newFiles => {
48
+ null == onBlur || onBlur(null != valueOverride ? valueOverride : null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
49
+ }, [ onBlur, attachments ]), handleTextAreaBlur = useCallback(() => {
50
+ handleBlur();
51
+ }, [ handleBlur ]), handleAttachmentsChange = useCallback(newFiles => {
50
52
  var _a;
51
53
  null == onAttachmentsChange || onAttachmentsChange(newFiles), null == onChange || onChange(null === (_a = textAreaRef.current) || void 0 === _a ? void 0 : _a.value, newFiles);
52
54
  }, [ onAttachmentsChange, onChange ]), handleChange = useCallback(e => {
@@ -57,9 +59,10 @@ const PromptInputBase = React.forwardRef((props, ref) => {
57
59
  if (stopEnabled) return;
58
60
  if (working && submitWorking) return;
59
61
  const currentValue = null === (_a = textAreaRef.current) || void 0 === _a ? void 0 : _a.value;
60
- currentValue && (null == onSubmit || onSubmit(currentValue, attachments), submitClears && setTextValue(""),
61
- handleBlur());
62
- }, [ stopEnabled, submitClears, onSubmit, handleBlur, attachments, working, submitWorking ]), handleStop = useCallback(() => {
62
+ currentValue && (null == onSubmit || onSubmit(currentValue, attachments), submitClears && (setTextValue(""),
63
+ null == onChange || onChange("", attachments), textAreaRef.current && (textAreaRef.current.value = "")),
64
+ handleBlur(submitClears ? "" : currentValue));
65
+ }, [ stopEnabled, submitClears, onChange, onSubmit, handleBlur, attachments, working, submitWorking ]), handleStop = useCallback(() => {
63
66
  null == onStop || onStop(), handleFocus();
64
67
  }, [ onStop, handleFocus ]), handleKeyDown = useCallback(e => {
65
68
  "Enter" === e.key && enterSubmits && (e.preventDefault(), handleSubmit());
@@ -80,8 +83,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
80
83
  var _a, _b;
81
84
  focused ? null === (_a = textAreaRef.current) || void 0 === _a || _a.focus() : null === (_b = textAreaRef.current) || void 0 === _b || _b.blur();
82
85
  }, [ focused ]), useEffect(() => {
83
- var _a;
84
- (null === (_a = textAreaRef.current) || void 0 === _a ? void 0 : _a.value) !== value && setTextValue(value);
86
+ setTextValue(value);
85
87
  }, [ value ]);
86
88
  const cssVars = useMemo(() => ({
87
89
  "--prompt-width": setStyle(width),
@@ -120,7 +122,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
120
122
  onChange: handleChange,
121
123
  placeholder: setPlaceholder,
122
124
  onFocus: handleFocus,
123
- onBlur: handleBlur,
125
+ onBlur: handleTextAreaBlur,
124
126
  onKeyDown: handleKeyDown,
125
127
  maxLength: maxLength,
126
128
  rows: 1
@@ -1,13 +1,13 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useState, useEffect, useCallback, useMemo } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-zecH7-IH.mjs";
8
+ import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
9
9
 
10
- import { I as Icon } from "./Icon-L8B35JN1.mjs";
10
+ import { I as Icon } from "./Icon-CbDAKN_S.mjs";
11
11
 
12
12
  var css_wrapper = "RadioButton-module_wrapper__-pWRe flexBox-module_row__z24tF", css_radioIcon = "RadioButton-module_radioIcon__I27Xv flexBox-module_column__ezvMq", css_radioTitle = "RadioButton-module_radioTitle__zCQII flexBox-module_rowStart__4tcxS type-module_body-m-regular__LuQBA", css_radioContent = "RadioButton-module_radioContent__38xVx flexBox-module_columnStart__C7P44";
13
13
 
@@ -1,13 +1,13 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useId, useState, useEffect, useCallback, useMemo } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-zecH7-IH.mjs";
8
+ import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
9
9
 
10
- import { R as RadioButton } from "./RadioButton-oOGgTDhg.mjs";
10
+ import { R as RadioButton } from "./RadioButton-DUzPaLKa.mjs";
11
11
 
12
12
  var css_wrapper = "RadioButtonList-module_wrapper__wnq1-", css_column = "RadioButtonList-module_column__Bq16e flexBox-module_columnStart__C7P44", css_row = "RadioButtonList-module_row__D3szq flexBox-module_rowStart__4tcxS";
13
13
 
@@ -1,15 +1,25 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useRef, useState, useMemo, useCallback, useEffect } from "react";
7
7
 
8
- import { useObserveResize } from "../hooks/useObserveResize.mjs";
8
+ import "../theme/colors.mjs";
9
+
10
+ import { p as pointerPosition } from "./misc-BQH7I5Zj.mjs";
11
+
12
+ import { d as debounce } from "./debounce-DpPYyz3x.mjs";
13
+
14
+ import "./webRTCStore-Ck8TCzr_.mjs";
9
15
 
10
- import { p as pointerPosition } from "./misc-zecH7-IH.mjs";
16
+ import "./microphoneStore-uYs2NQQx.mjs";
11
17
 
12
- import { d as debounce } from "./debounce-DFxAyrPi.mjs";
18
+ import "./volumeStore-C0iU07fK.mjs";
19
+
20
+ import "../hooks/useWindow.mjs";
21
+
22
+ import { useObserveResize } from "../hooks/useObserveResize.mjs";
13
23
 
14
24
  var css_wrapper = "Slider-module_wrapper__KCCs1", css_trackBg = "Slider-module_trackBg__7zfqm flexBox-module_rowStart__4tcxS", css_track = "Slider-module_track__kaJkL flexBox-module_rowStart__4tcxS", css_trackHead = "Slider-module_trackHead__W-UdG", css_trackWrapper = "Slider-module_trackWrapper__Ot0Wh flexBox-module_rowStart__4tcxS";
15
25
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -9,23 +9,36 @@ import { useTheme } from "../hooks/useTheme.mjs";
9
9
 
10
10
  import "../theme/colors.mjs";
11
11
 
12
- import "./webRTCStore-DhFE9-bb.mjs";
12
+ import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
13
13
 
14
- import "./microphoneStore-Cbx9nV4R.mjs";
14
+ import "./webRTCStore-Ck8TCzr_.mjs";
15
15
 
16
- import "./volumeStore-BrgZCRKF.mjs";
16
+ import "./microphoneStore-uYs2NQQx.mjs";
17
+
18
+ import "./volumeStore-C0iU07fK.mjs";
17
19
 
18
20
  import "../hooks/useWindow.mjs";
19
21
 
20
- import { B as Badge } from "./Badge-bh5UVUnt.mjs";
22
+ import { B as Badge } from "./Badge-DHvo2-ZQ.mjs";
21
23
 
22
- import { I as Icon } from "./Icon-L8B35JN1.mjs";
24
+ import { I as Icon } from "./Icon-CbDAKN_S.mjs";
23
25
 
24
- import { I as IconButton } from "./IconButton-DxwJemEK.mjs";
26
+ import { I as IconButton } from "./IconButton-nOcdRqR3.mjs";
25
27
 
26
- import { T as ToolTipType } from "./sharedTypes-CdmzhKXN.mjs";
28
+ import { T as ToolTipType } from "./sharedTypes-DoNQkNSM.mjs";
27
29
 
28
- var css_wrapper = "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS", css_option = "TabBar-module_option__gYjDf flexBox-module_row__z24tF type-module_body-m-regular__LuQBA", css_icon = "TabBar-module_icon__JDgG3 flexBox-module_row__z24tF", css_close = "TabBar-module_close__bvSBh flexBox-module_row__z24tF";
30
+ var css = {
31
+ wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
32
+ option: "TabBar-module_option__gYjDf flexBox-module_row__z24tF",
33
+ icon: "TabBar-module_icon__JDgG3 flexBox-module_row__z24tF",
34
+ close: "TabBar-module_close__bvSBh flexBox-module_row__z24tF",
35
+ xs: "TabBar-module_xs__QDjV9 type-module_body-xs-regular__ZAFft",
36
+ s: "TabBar-module_s__-EBj2 type-module_body-s-regular__vRHSP",
37
+ m: "TabBar-module_m__3sCA3 type-module_body-m-regular__LuQBA",
38
+ l: "TabBar-module_l__hy1rR type-module_body-l-regular__lOYbg",
39
+ xl: "TabBar-module_xl__zaASU type-module_body-xl-regular__pF2kC",
40
+ selected: "TabBar-module_selected__UmBdu"
41
+ };
29
42
 
30
43
  const placeholderOptions = [ {
31
44
  name: "Light",
@@ -36,7 +49,7 @@ const placeholderOptions = [ {
36
49
  value: "Option 2",
37
50
  icon: "moon full"
38
51
  } ], TabBar = React.memo(props => {
39
- const {options: options = placeholderOptions, selected: selected = 0, border: border = !0, underline: underline = !0, height: height = "100%", width: width = "100%", tabWidth: tabWidth = "fill", padding: padding = 8, iconFill: iconFill = !1, iconSize: iconSize = 20, iconGap: iconGap = 8, tabGap: tabGap = 0, disabled: disabled = !1, hasClose: hasClose = !1, closeWidth: closeWidth = "auto", selectedValue: selectedValue = null, onChange: onChange = () => null, onTabChange: onTabChange = () => null, onClose: onClose = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "options", "selected", "border", "underline", "height", "width", "tabWidth", "padding", "iconFill", "iconSize", "iconGap", "tabGap", "disabled", "hasClose", "closeWidth", "selectedValue", "onChange", "onTabChange", "onClose", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [index, setIndex] = useState(selected), optionRefs = useRef([]);
52
+ const {options: options = placeholderOptions, selected: selected = 0, border: border = !0, underline: underline = !0, height: height = "100%", width: width = "100%", tabWidth: tabWidth = "fill", padding: padding = 8, iconFill: iconFill = !1, iconSize: iconSize = 20, iconGap: iconGap = 8, tabGap: tabGap = 0, disabled: disabled = !1, hasClose: hasClose = !1, closeWidth: closeWidth = "auto", selectedValue: selectedValue = null, justify: justify = "start", borderColor: borderColor = "var(--core-outline-secondary)", textSize: textSize = "m", onChange: onChange = () => null, onTabChange: onTabChange = () => null, onClose: onClose = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "options", "selected", "border", "underline", "height", "width", "tabWidth", "padding", "iconFill", "iconSize", "iconGap", "tabGap", "disabled", "hasClose", "closeWidth", "selectedValue", "justify", "borderColor", "textSize", "onChange", "onTabChange", "onClose", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [index, setIndex] = useState(selected), optionRefs = useRef([]);
40
53
  useEffect(() => {
41
54
  let selectedIndex = 0;
42
55
  selectedValue && options ? (selectedIndex = options.findIndex(option => option.value === selectedValue),
@@ -88,26 +101,30 @@ const placeholderOptions = [ {
88
101
  underline: underline,
89
102
  iconFill: iconFill,
90
103
  tabWidth: tabWidth,
104
+ textSize: textSize,
105
+ borderColor: borderColor,
91
106
  buttonRef: element => {
92
107
  optionRefs.current[i] = element;
93
108
  }
94
- }, `${i}_option_${option.name}`)), [ options, index, padding, iconSize, iconGap, disabled, underline, tabWidth, onToolTip, handleOptionClick, iconFill, handleOptionKeyDown ]), setStyle = useCallback(value => "string" == typeof value ? value : `${value}px`, []), cssVars = useMemo(() => ({
109
+ }, `${i}_option_${option.name}`)), [ options, index, padding, iconSize, iconGap, disabled, underline, tabWidth, onToolTip, handleOptionClick, iconFill, handleOptionKeyDown, textSize ]), cssVars = useMemo(() => ({
95
110
  "--tab-bar-gap": `${tabGap}px`,
96
111
  "--tab-bar-height": `${setStyle(height)}px`,
97
112
  "--tab-bar-width": setStyle(width),
98
113
  "--tab-bar-border-bottom": "" + (border ? "1px" : "0"),
114
+ "--tab-bar-border-color": borderColor,
115
+ "--tab-bar-justify": justify,
99
116
  "--tab-bar-close-width": `${closeWidth}px`,
100
- "--tab-bar-close-padding": padding ? `${padding}px` : "8px"
101
- }), [ tabGap, height, width, border, setStyle, closeWidth, padding ]);
117
+ "--tab-bar-close-padding": setStyle(padding, "8px")
118
+ }), [ tabGap, height, width, border, closeWidth, padding, borderColor, justify ]);
102
119
  return jsxs("div", Object.assign({
103
120
  id: divId,
104
- className: `${css_wrapper}${divClass}`,
121
+ className: `${css.wrapper}${divClass}`,
105
122
  style: Object.assign(Object.assign({}, divStyle), cssVars),
106
123
  role: "tablist",
107
124
  "aria-orientation": "horizontal"
108
125
  }, rest, {
109
126
  children: [ renderedOptions, hasClose && jsx("div", {
110
- className: css_close,
127
+ className: css.close,
111
128
  children: jsx(IconButton, {
112
129
  iconSize: iconSize - 4,
113
130
  frameSize: iconSize,
@@ -124,7 +141,7 @@ const placeholderOptions = [ {
124
141
  TabBar.displayName = "TabBar";
125
142
 
126
143
  const Option = React.memo(props => {
127
- const theme = useTheme(), {label: label = "Option", value: value = 0, icon: icon = null, selected: selected = !1, onClick: onClick = () => null, onToolTip: onToolTip = () => null, padding: padding = 8, iconSize: iconSize = 20, iconGap: iconGap = 6, disabled: disabled = !1, showToolTip: showToolTip = null, underline: underline = !0, tabWidth: tabWidth = "fill", count: count = 0, iconFill: iconFill = !1, onKeyDown: onKeyDown = () => null, buttonRef: buttonRef} = props, ref = useRef(null), strokeColor = useMemo(() => !disabled && selected ? theme.current.colors["core-text-special"] : disabled ? theme.current.colors["core-text-disabled"] : theme.current.colors["core-text-primary"], [ disabled, selected, theme ]), handleMouseOver = useCallback(e => {
144
+ const theme = useTheme(), {label: label = "Option", value: value = 0, icon: icon = null, selected: selected = !1, onClick: onClick = () => null, onToolTip: onToolTip = () => null, padding: padding = 8, iconSize: iconSize = 20, iconGap: iconGap = 6, disabled: disabled = !1, showToolTip: showToolTip = null, underline: underline = !0, tabWidth: tabWidth = "fill", borderColor: borderColor = "var(--core-outline-secondary)", count: count = 0, iconFill: iconFill = !1, textSize: textSize = "m", onKeyDown: onKeyDown = () => null, buttonRef: buttonRef} = props, ref = useRef(null), strokeColor = useMemo(() => !disabled && selected ? theme.current.colors["core-text-special"] : disabled ? theme.current.colors["core-text-disabled"] : theme.current.colors["core-text-primary"], [ disabled, selected, theme ]), handleMouseOver = useCallback(e => {
128
145
  if (onToolTip(null), showToolTip && ref.current) {
129
146
  const tip = {
130
147
  type: ToolTipType.button,
@@ -140,17 +157,18 @@ const Option = React.memo(props => {
140
157
  showToolTip && onToolTip(null);
141
158
  }, [ showToolTip, onToolTip ]), textColor = useMemo(() => disabled ? "var(--core-text-disabled)" : selected ? "var(--core-text-special)" : "var(--core-text-primary)", [ disabled, selected ]), setTabWidth = useMemo(() => "compact" === tabWidth ? "min-content" : "fill" === tabWidth ? "unset" : `${tabWidth}px`, [ tabWidth ]), setTabFlex = useMemo(() => "fill" === tabWidth ? "1" : "unset", [ tabWidth ]), setUnderline = useMemo(() => selected && underline && !disabled ? "1px" : "0", [ underline, disabled, selected ]), cssVars = useMemo(() => ({
142
159
  "--tab-bar-option-border": setUnderline,
143
- "--tab-bar-option-padding": `${padding}px`,
160
+ "--tab-bar-option-border-color": borderColor,
161
+ "--tab-bar-option-padding": setStyle(padding, "8px"),
144
162
  "--tab-bar-option-icon-size": `${iconSize}px`,
145
163
  "--tab-bar-option-cursor": disabled ? "default" : "pointer",
146
164
  "--tab-bar-option-gap": `${null != iconGap ? iconGap : 0}px`,
147
165
  "--tab-bar-option-color": textColor,
148
166
  "--tab-bar-option-width": setTabWidth,
149
167
  "--tab-bar-option-flex": setTabFlex
150
- }), [ padding, iconSize, disabled, textColor, iconGap, setTabFlex, setTabWidth, setUnderline ]);
168
+ }), [ padding, iconSize, disabled, textColor, iconGap, setTabFlex, setTabWidth, setUnderline, borderColor ]);
151
169
  return jsxs("button", {
152
170
  type: "button",
153
- className: css_option,
171
+ className: `${css.option} ${css[textSize]} ${selected ? css.selected : ""}`,
154
172
  style: cssVars,
155
173
  ref: element => {
156
174
  ref.current = element, null == buttonRef || buttonRef(element);
@@ -163,7 +181,7 @@ const Option = React.memo(props => {
163
181
  onClick: () => onClick(value),
164
182
  onKeyDown: e => onKeyDown(e, value),
165
183
  children: [ icon && jsx("div", {
166
- className: css_icon,
184
+ className: css.icon,
167
185
  children: jsx(Icon, {
168
186
  name: icon,
169
187
  fill: iconFill,
@@ -176,7 +194,7 @@ const Option = React.memo(props => {
176
194
  count: count
177
195
  }) ]
178
196
  });
179
- }, (prevProps, nextProps) => prevProps.selected === nextProps.selected && prevProps.underline === nextProps.underline && prevProps.tabWidth === nextProps.tabWidth && prevProps.disabled === nextProps.disabled && prevProps.iconGap === nextProps.iconGap && prevProps.iconSize === nextProps.iconSize && prevProps.count === nextProps.count && prevProps.label === nextProps.label && prevProps.icon === nextProps.icon);
197
+ }, (prevProps, nextProps) => prevProps.selected === nextProps.selected && prevProps.underline === nextProps.underline && prevProps.tabWidth === nextProps.tabWidth && prevProps.disabled === nextProps.disabled && prevProps.iconGap === nextProps.iconGap && prevProps.iconSize === nextProps.iconSize && prevProps.count === nextProps.count && prevProps.label === nextProps.label && prevProps.icon === nextProps.icon && prevProps.borderColor === nextProps.borderColor && prevProps.textSize === nextProps.textSize && prevProps.padding === nextProps.padding);
180
198
 
181
199
  Option.displayName = "TabOption";
182
200
 
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useState, useRef, useCallback, useEffect, useMemo } from "react";
7
7
 
8
- import { B as Button } from "./Button-CWKs3uAV.mjs";
8
+ import { B as Button } from "./Button-v92U2QVV.mjs";
9
9
 
10
10
  var css_wrapper = "TextArea-module_wrapper__O0sWP flexBox-module_columnStart__C7P44", css_textarea = "TextArea-module_textarea__-R2n0", css_send = "TextArea-module_send__Cub13", css_xs = "TextArea-module_xs__5e748 type-module_body-xs-regular__ZAFft", css_s = "TextArea-module_s__Ac-fq type-module_body-s-regular__vRHSP", css_m = "TextArea-module_m__dod4R type-module_body-m-regular__LuQBA", css_l = "TextArea-module_l__-uLCG type-module_body-l-regular__lOYbg";
11
11