@apple-pie/slice 0.1.32 → 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 (260) hide show
  1. package/dist/cjs/chunks/{AudioBubble-Dh2IlYW0.js → AudioBubble-D6EdVxCx.js} +4 -3
  2. package/dist/cjs/chunks/{Avatar-WcBAu25_.js → Avatar-C8Y8QA6W.js} +1 -1
  3. package/dist/cjs/chunks/{AvatarGroup-eUkVdeTf.js → AvatarGroup-BJGROy0D.js} +1 -1
  4. package/dist/cjs/chunks/{Badge-4tBynWZe.js → Badge-D0jOqpGM.js} +1 -1
  5. package/dist/cjs/chunks/{Button-QJ5lsSAz.js → Button-CSyenByA.js} +1 -1
  6. package/dist/cjs/chunks/{ButtonBar-DcpvT1vD.js → ButtonBar-D6nO_KLU.js} +1 -1
  7. package/dist/cjs/chunks/{Camera-iDyPLq9h.js → Camera-C8ug84NJ.js} +5 -4
  8. package/dist/cjs/chunks/{CheckBox-CmZJd8u2.js → CheckBox-rALyYaSt.js} +1 -1
  9. package/dist/cjs/chunks/{Chip-Bd1bSYeC.js → Chip-BwxjTPRM.js} +1 -1
  10. package/dist/cjs/chunks/{DivInput-BY9pQ6ty.js → DivInput-BRhOr7b5.js} +1 -1
  11. package/dist/cjs/chunks/{Dot-BeWDLajy.js → Dot-DLk45OlQ.js} +1 -1
  12. package/dist/cjs/chunks/{DrggablePanel-DzY5wTco.js → DrggablePanel-Ch24xWZu.js} +4 -3
  13. package/dist/cjs/chunks/{DropDown-Cn_nX8u7.js → DropDown-BbhZnN_w.js} +1 -1
  14. package/dist/cjs/chunks/{ErrorSummary-D-0uVwyV.js → ErrorSummary-CI6hUFwD.js} +4 -3
  15. package/dist/cjs/chunks/{FileIcon-JfY2AYqG.js → FileIcon-CfjasX-r.js} +5 -3
  16. package/dist/cjs/chunks/{FileList-Dc1nfpR2.js → FileList-B93Xcxz4.js} +1 -1
  17. package/dist/cjs/chunks/{FlexDiv-B5Pi0-aJ.js → FlexDiv-rfXrDSOq.js} +1 -1
  18. package/dist/cjs/chunks/{Grouper-DKZkTlow.js → Grouper-DSrE9R-U.js} +4 -3
  19. package/dist/cjs/chunks/{Icon-BVYVJp9J.js → Icon-CRxH8X5b.js} +4 -3
  20. package/dist/cjs/chunks/{IconButton-CP1Wsvsx.js → IconButton-KFtalJ6A.js} +1 -1
  21. package/dist/cjs/chunks/{IndexedDB-CeiVT55Z.js → IndexedDB-BFj53nVB.js} +1 -1
  22. package/dist/cjs/chunks/{Label-DIs1rOey.js → Label-BHP_DdP0.js} +1 -1
  23. package/dist/cjs/chunks/{Level-3yxetsco.js → Level-BWOIrzAv.js} +1 -1
  24. package/dist/cjs/chunks/{Modal-CjpQdoOe.js → Modal-BEKrk6zT.js} +1 -1
  25. package/dist/cjs/chunks/ModalController-DQJ-Vr6w.js +80 -0
  26. package/dist/cjs/chunks/{Overlay-DRpHYZek.js → Overlay-CgD0_kQK.js} +1 -1
  27. package/dist/cjs/chunks/{Pager-ChnTKwml.js → Pager-CjMnXBqh.js} +1 -1
  28. package/dist/cjs/chunks/{ProgressIndicator-CFiAU-aF.js → ProgressIndicator-V-orBNdI.js} +4 -3
  29. package/dist/cjs/chunks/{PromptInput-BFWR0TaP.js → PromptInput-DK1pGnIm.js} +42 -36
  30. package/dist/cjs/chunks/{RadioButton-Bi-FP41j.js → RadioButton-DOv8YC-8.js} +1 -1
  31. package/dist/cjs/chunks/{RadioButtonList-JHPKMCoX.js → RadioButtonList-BC0PaUB2.js} +1 -1
  32. package/dist/cjs/chunks/{Slider-D97ws1Cl.js → Slider-D4zQ-4aq.js} +10 -1
  33. package/dist/cjs/chunks/{Spacer-DvI2M1wZ.js → Spacer-CdIj0JdL.js} +1 -1
  34. package/dist/cjs/chunks/{Switch-DDSSprb7.js → Switch-BcyjA09W.js} +1 -1
  35. package/dist/cjs/chunks/{TabBar-TllSeSzb.js → TabBar-BzfXUqQ7.js} +38 -17
  36. package/dist/cjs/chunks/{TextArea-DjZRDixt.js → TextArea-Aqo_XxW3.js} +1 -1
  37. package/dist/cjs/chunks/{TextField-CKA3K0AN.js → TextField-D9cVqxeH.js} +5 -4
  38. package/dist/cjs/chunks/{Tip-BdGXN-TQ.js → Tip-6p-WETDg.js} +1 -1
  39. package/dist/cjs/chunks/{Toast-COrDS_50.js → Toast-D2RPpe4w.js} +5 -4
  40. package/dist/cjs/chunks/{ToggleButton-hoOMzBZc.js → ToggleButton-DIO-mLzn.js} +4 -3
  41. package/dist/cjs/chunks/{UploadArea-ClG8ZgRZ.js → UploadArea-dLHkxZaJ.js} +1 -1
  42. package/dist/cjs/chunks/{WSConnection-Brxc2hEv.js → WSConnection-DUtc0Zek.js} +1 -1
  43. package/dist/cjs/chunks/{WebRTCConnection-eWP4lueC.js → WebRTCConnection-DOegM5k_.js} +1 -1
  44. package/dist/cjs/chunks/{localDBStore-SS_r0C6F.js → localDBStore-BE1Spdvk.js} +1 -1
  45. package/dist/cjs/chunks/{microphoneStore-DM_8bhFr.js → microphoneStore-BQttBRKb.js} +1 -1
  46. package/dist/cjs/chunks/{misc-4xyXRU2K.js → misc-CktV9aap.js} +1 -1
  47. package/dist/cjs/chunks/{sseStore-Ag-UnuQq.js → sseStore-CUctZwDm.js} +2 -2
  48. package/dist/cjs/chunks/{uploads-worker-CI-SZptI.js → uploads-worker-B-7wl30J.js} +1 -1
  49. package/dist/cjs/chunks/{uploadsStore-DR2hc4ct.js → uploadsStore-BhvyVpxk.js} +2 -2
  50. package/dist/cjs/chunks/{volumeStore-DtTHf-9_.js → volumeStore-CPxgI64S.js} +4 -5
  51. package/dist/cjs/chunks/{webRTCStore-DWWn7k-0.js → webRTCStore-M1HXHN92.js} +1 -1
  52. package/dist/cjs/chunks/{windowStore-BUo9Du_e.js → windowStore-BeMPlP7X.js} +1 -1
  53. package/dist/cjs/components/AudioBubble/index.js +6 -4
  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 -7
  58. package/dist/cjs/components/ButtonBar/index.js +6 -4
  59. package/dist/cjs/components/Camera/index.js +7 -5
  60. package/dist/cjs/components/CheckBox/index.js +6 -4
  61. package/dist/cjs/components/Chip/index.js +7 -5
  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 -3
  65. package/dist/cjs/components/DropDown/index.js +6 -4
  66. package/dist/cjs/components/ErrorSummary/index.js +5 -3
  67. package/dist/cjs/components/FileIcon/index.js +5 -3
  68. package/dist/cjs/components/FileList/index.js +7 -5
  69. package/dist/cjs/components/FlexDiv/index.js +2 -2
  70. package/dist/cjs/components/Grouper/index.js +7 -5
  71. package/dist/cjs/components/Icon/index.js +5 -3
  72. package/dist/cjs/components/IconButton/index.js +8 -6
  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 -8
  76. package/dist/cjs/components/ModalController/index.js +6 -4
  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 -3
  80. package/dist/cjs/components/PromptInput/index.js +9 -7
  81. package/dist/cjs/components/RadioButton/index.js +6 -4
  82. package/dist/cjs/components/RadioButtonList/index.js +7 -5
  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 -6
  87. package/dist/cjs/components/TextArea/index.js +9 -7
  88. package/dist/cjs/components/Textfield/index.js +9 -7
  89. package/dist/cjs/components/Tip/index.js +3 -3
  90. package/dist/cjs/components/Toast/index.js +6 -4
  91. package/dist/cjs/components/ToggleButton/index.js +9 -7
  92. package/dist/cjs/components/UploadArea/index.js +11 -10
  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 -9
  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 +31 -31
  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-cYlxxQ7c.mjs → AudioBubble-BudIMUsf.mjs} +9 -3
  116. package/dist/esm/chunks/{Avatar-D84wF2os.mjs → Avatar-Bk8kdTEa.mjs} +2 -2
  117. package/dist/esm/chunks/{AvatarGroup-DiwfbRxH.mjs → AvatarGroup-CRixAHW5.mjs} +2 -2
  118. package/dist/esm/chunks/{Badge-DuUb5-80.mjs → Badge-DHvo2-ZQ.mjs} +1 -1
  119. package/dist/esm/chunks/{Button-BIgwWrPJ.mjs → Button-v92U2QVV.mjs} +6 -6
  120. package/dist/esm/chunks/{ButtonBar-vNvnvw7u.mjs → ButtonBar-Bn4GhpbO.mjs} +3 -3
  121. package/dist/esm/chunks/{Camera-BMwkTJPq.mjs → Camera-Cvp_kb-A.mjs} +11 -5
  122. package/dist/esm/chunks/{CheckBox-Cpoxy8w_.mjs → CheckBox-CUbeBXgg.mjs} +3 -3
  123. package/dist/esm/chunks/{Chip-BayNVv7N.mjs → Chip-HGLXF8JO.mjs} +4 -4
  124. package/dist/esm/chunks/{DivInput-CWRUxy1y.mjs → DivInput-CZ3PVteW.mjs} +2 -2
  125. package/dist/esm/chunks/{Dot-v_kcIWV2.mjs → Dot-B6Q97aIp.mjs} +1 -1
  126. package/dist/esm/chunks/{DrggablePanel-yEeGeE1w.mjs → DrggablePanel-DLltuMUc.mjs} +8 -2
  127. package/dist/esm/chunks/{DropDown-QQhwAg_J.mjs → DropDown-DqVsJwO3.mjs} +3 -3
  128. package/dist/esm/chunks/{ErrorSummary-DzIZMIll.mjs → ErrorSummary-CCTJpTqA.mjs} +8 -2
  129. package/dist/esm/chunks/{FileIcon-6UlkbKzk.mjs → FileIcon-DnEohsNX.mjs} +8 -2
  130. package/dist/esm/chunks/{FileList-vMiGJByw.mjs → FileList-CnuT4Llg.mjs} +5 -5
  131. package/dist/esm/chunks/{FlexDiv-B1m7aY04.mjs → FlexDiv-DGEzQRcq.mjs} +1 -1
  132. package/dist/esm/chunks/{Grouper-BDrAnfDF.mjs → Grouper-BoGryrnc.mjs} +9 -3
  133. package/dist/esm/chunks/{Icon-D4A6_c4x.mjs → Icon-CbDAKN_S.mjs} +8 -2
  134. package/dist/esm/chunks/{IconButton-B_W-aOsB.mjs → IconButton-nOcdRqR3.mjs} +5 -5
  135. package/dist/esm/chunks/{IndexedDB-CTqfKmp1.mjs → IndexedDB-Bqjric8V.mjs} +1 -1
  136. package/dist/esm/chunks/{Label-I75yz3gq.mjs → Label-BlvreqNJ.mjs} +2 -2
  137. package/dist/esm/chunks/{Level-DgczkKBr.mjs → Level-COXHoBs6.mjs} +3 -3
  138. package/dist/esm/chunks/{Modal-CwwyijaO.mjs → Modal-CqBytyja.mjs} +5 -5
  139. package/dist/esm/chunks/ModalController-6Gc8QRxx.mjs +91 -0
  140. package/dist/esm/chunks/{Overlay-C-yori3-.mjs → Overlay-iKgSkUKP.mjs} +1 -1
  141. package/dist/esm/chunks/{Pager-BEtfyKtq.mjs → Pager-XgsZBzcg.mjs} +2 -2
  142. package/dist/esm/chunks/{ProgressIndicator-BV0ginXb.mjs → ProgressIndicator-BWrcdWvF.mjs} +8 -2
  143. package/dist/esm/chunks/{PromptInput-Cn5fRYap.mjs → PromptInput-DbT3sVeA.mjs} +46 -37
  144. package/dist/esm/chunks/{RadioButton-DWlg6ldv.mjs → RadioButton-DUzPaLKa.mjs} +3 -3
  145. package/dist/esm/chunks/{RadioButtonList-D9FdlhPL.mjs → RadioButtonList-NjEGYpj4.mjs} +3 -3
  146. package/dist/esm/chunks/{Slider-B2WZkZSg.mjs → Slider-Bvnhqzjx.mjs} +14 -4
  147. package/dist/esm/chunks/{Spacer-7Oj0SlD0.mjs → Spacer-B2JAN7e8.mjs} +1 -1
  148. package/dist/esm/chunks/{Switch-DRhnznnO.mjs → Switch-CspvY_DQ.mjs} +1 -1
  149. package/dist/esm/chunks/{TabBar-D6VR71ye.mjs → TabBar-BlvOUGJx.mjs} +42 -18
  150. package/dist/esm/chunks/{TextArea-CkB5rJjI.mjs → TextArea-BpMTGopK.mjs} +2 -2
  151. package/dist/esm/chunks/{TextField-BIXmkjEz.mjs → TextField-DELrBLOa.mjs} +11 -5
  152. package/dist/esm/chunks/{Tip-CTdrwLky.mjs → Tip-DBVeB0Zs.mjs} +2 -2
  153. package/dist/esm/chunks/{Toast-8bUziIgh.mjs → Toast-HU8Pgwsr.mjs} +10 -4
  154. package/dist/esm/chunks/{ToggleButton-BOFITa8_.mjs → ToggleButton-CGpBWhaX.mjs} +5 -4
  155. package/dist/esm/chunks/{UploadArea-DE2ccDVx.mjs → UploadArea-DdV_ILIU.mjs} +4 -4
  156. package/dist/esm/chunks/{WSConnection-CHudrD62.mjs → WSConnection-eStD8i-1.mjs} +1 -1
  157. package/dist/esm/chunks/{WebRTCConnection-DQbNa7Z9.mjs → WebRTCConnection-BaPHQ_C4.mjs} +1 -1
  158. package/dist/esm/chunks/{localDBStore-CaYiqITY.mjs → localDBStore-NpiMrXsA.mjs} +2 -2
  159. package/dist/esm/chunks/{microphoneStore-COEGtgyX.mjs → microphoneStore-uYs2NQQx.mjs} +1 -1
  160. package/dist/esm/chunks/{misc-2MIIqzsX.mjs → misc-BQH7I5Zj.mjs} +1 -1
  161. package/dist/esm/chunks/{sseStore-nW9CMec_.mjs → sseStore-ueYoyFeB.mjs} +2 -2
  162. package/dist/esm/chunks/{uploads-worker-CMomtRvm.mjs → uploads-worker-CFPGExfT.mjs} +1 -1
  163. package/dist/esm/chunks/{uploadsStore-CsfpSOTS.mjs → uploadsStore-DNalSMtC.mjs} +1 -1
  164. package/dist/esm/chunks/{volumeStore-TSYPqbHx.mjs → volumeStore-C0iU07fK.mjs} +4 -5
  165. package/dist/esm/chunks/{webRTCStore-CVCDJzj5.mjs → webRTCStore-Ck8TCzr_.mjs} +2 -2
  166. package/dist/esm/chunks/{windowStore-BvejIR82.mjs → windowStore-DcYPAWds.mjs} +1 -1
  167. package/dist/esm/components/AudioBubble/index.mjs +14 -4
  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 +18 -8
  172. package/dist/esm/components/ButtonBar/index.mjs +14 -4
  173. package/dist/esm/components/Camera/index.mjs +16 -6
  174. package/dist/esm/components/CheckBox/index.mjs +14 -4
  175. package/dist/esm/components/Chip/index.mjs +15 -5
  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 +13 -3
  179. package/dist/esm/components/DropDown/index.mjs +14 -4
  180. package/dist/esm/components/ErrorSummary/index.mjs +13 -3
  181. package/dist/esm/components/FileIcon/index.mjs +13 -3
  182. package/dist/esm/components/FileList/index.mjs +16 -6
  183. package/dist/esm/components/FlexDiv/index.mjs +2 -2
  184. package/dist/esm/components/Grouper/index.mjs +15 -5
  185. package/dist/esm/components/Icon/index.mjs +14 -4
  186. package/dist/esm/components/IconButton/index.mjs +17 -7
  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 +20 -10
  190. package/dist/esm/components/ModalController/index.mjs +14 -6
  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 +14 -4
  194. package/dist/esm/components/PromptInput/index.mjs +22 -12
  195. package/dist/esm/components/RadioButton/index.mjs +14 -4
  196. package/dist/esm/components/RadioButtonList/index.mjs +15 -5
  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 +19 -9
  201. package/dist/esm/components/TextArea/index.mjs +19 -9
  202. package/dist/esm/components/Textfield/index.mjs +20 -10
  203. package/dist/esm/components/Tip/index.mjs +3 -3
  204. package/dist/esm/components/Toast/index.mjs +15 -5
  205. package/dist/esm/components/ToggleButton/index.mjs +19 -9
  206. package/dist/esm/components/UploadArea/index.mjs +19 -9
  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 +17 -17
  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 +46 -3
  230. package/dist/types/components/PromptInput/PromptInput.d.ts +10 -2
  231. package/dist/types/components/PromptInput/_types.d.ts +5 -1
  232. package/dist/types/components/TabBar/_types.d.ts +5 -0
  233. package/dist/types/components/ToggleButton/_types.d.ts +1 -0
  234. package/dist/types/stores/volume/_types.d.ts +1 -1
  235. package/dist/types/stores/volume/volumeStore.d.ts +2 -2
  236. package/package.json +1 -1
  237. package/dist/cjs/chunks/ModalController-Cp2PXOOS.js +0 -68
  238. package/dist/esm/chunks/ModalController-IyB9lDRa.mjs +0 -76
  239. /package/dist/cjs/chunks/{MdStreamBuffer-BudWFoNw.js → MdStreamBuffer-CQGZtTLN.js} +0 -0
  240. /package/dist/cjs/chunks/{SSEConnection-DfjLAlOG.js → SSEConnection-BqitbvAq.js} +0 -0
  241. /package/dist/cjs/chunks/{_types-DMyBIF8s.js → _types-CnvV2yMQ.js} +0 -0
  242. /package/dist/cjs/chunks/{audioVisualizer-BxPvUj4h.js → audioVisualizer-i41gzZXM.js} +0 -0
  243. /package/dist/cjs/chunks/{colors-4n0sNFRA.js → colors-BlSE7Sf2.js} +0 -0
  244. /package/dist/cjs/chunks/{debounce-_IK-La-Z.js → debounce-C7m-uQW2.js} +0 -0
  245. /package/dist/cjs/chunks/{modalStore-CFsfK3ba.js → modalStore-BrwOUMH_.js} +0 -0
  246. /package/dist/cjs/chunks/{sharedTypes-C0ZHzH_T.js → sharedTypes-Cep5dDpY.js} +0 -0
  247. /package/dist/cjs/chunks/{tipStore-dqD9-c30.js → tipStore-BXKWR6IE.js} +0 -0
  248. /package/dist/cjs/chunks/{toastStore-BN1N7WXv.js → toastStore-Y9JmFP0o.js} +0 -0
  249. /package/dist/cjs/chunks/{tslib.es6-DsF7Wv4Y.js → tslib.es6-yslq87rf.js} +0 -0
  250. /package/dist/esm/chunks/{MdStreamBuffer-CoQWQwRL.mjs → MdStreamBuffer-BF5ZQeUD.mjs} +0 -0
  251. /package/dist/esm/chunks/{SSEConnection-iFKOV9Uo.mjs → SSEConnection-DNA5yBWy.mjs} +0 -0
  252. /package/dist/esm/chunks/{_types-DrNviSG6.mjs → _types-DR4jXucA.mjs} +0 -0
  253. /package/dist/esm/chunks/{audioVisualizer-BsmpLZyK.mjs → audioVisualizer-CAET7dc9.mjs} +0 -0
  254. /package/dist/esm/chunks/{colors-BAATtfbL.mjs → colors-BHYMt294.mjs} +0 -0
  255. /package/dist/esm/chunks/{debounce-CYBH5qXQ.mjs → debounce-DpPYyz3x.mjs} +0 -0
  256. /package/dist/esm/chunks/{modalStore-DmaeMv7z.mjs → modalStore-DbxIsSpU.mjs} +0 -0
  257. /package/dist/esm/chunks/{sharedTypes-CyrInj1b.mjs → sharedTypes-DoNQkNSM.mjs} +0 -0
  258. /package/dist/esm/chunks/{tipStore-B_MUZfr2.mjs → tipStore-CmyIJWe7.mjs} +0 -0
  259. /package/dist/esm/chunks/{toastStore-DAprlBVj.mjs → toastStore-BYMHSiu2.mjs} +0 -0
  260. /package/dist/esm/chunks/{tslib.es6-C81Qhn1z.mjs → tslib.es6-75ZdAmtm.mjs} +0 -0
@@ -3,9 +3,14 @@
3
3
 
4
4
  var jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
5
5
 
6
- require("../theme/colors.js"), require("./tslib.es6-DsF7Wv4Y.js"), require("../hooks/useWindow.js");
6
+ require("../theme/colors.js"), require("./tslib.es6-yslq87rf.js");
7
7
 
8
- var Button = require("./Button-QJ5lsSAz.js"), FileList = require("./FileList-Dc1nfpR2.js"), css = {
8
+ var misc = require("./misc-CktV9aap.js");
9
+
10
+ require("./webRTCStore-M1HXHN92.js"), require("./microphoneStore-BQttBRKb.js"),
11
+ require("./volumeStore-CPxgI64S.js"), require("../hooks/useWindow.js");
12
+
13
+ var Button = require("./Button-CSyenByA.js"), FileList = require("./FileList-B93Xcxz4.js"), css = {
9
14
  wrapperBg: "PromptInput-module_wrapperBg__zabZq flexBox-module_columnStart__C7P44",
10
15
  bgRotate: "PromptInput-module_bgRotate__Um720",
11
16
  textareaWrapper: "PromptInput-module_textareaWrapper__KusiV flexBox-module_columnStart__C7P44",
@@ -20,15 +25,17 @@ var Button = require("./Button-QJ5lsSAz.js"), FileList = require("./FileList-Dc1
20
25
  };
21
26
 
22
27
  const PromptInputBase = React.forwardRef((props, ref) => {
23
- const {children: children, attachments: attachments = [], value: value = "", working: working = !1, maxHeight: maxHeight, borderStyle: borderStyle = "gradient", borderColor: borderColor, borderColorOn: borderColorOn, borderAnimate: borderAnimate = !0, borderWidth: borderWidth = 1, borderRadius: borderRadius = 8, focused: focused = !1, placeholder: placeholder = "Ask me anything ...", placeholderWorking: placeholderWorking = "Working ...", submitClears: submitClears = !0, submitEnablesStop: submitEnablesStop = !0, enterSubmits: enterSubmits = !0, attachButton: attachButton = !0, sendButton: sendButton = !0, stopEnabled: stopEnabled = !1, textSize: textSize = "m", maxLength: maxLength, toolbarGap: toolbarGap = 8, onChange: onChange, onBlur: onBlur, onFocus: onFocus, onSubmit: onSubmit, onStop: onStop, onAttachmentsChange: onAttachmentsChange} = props, {isDark: isDark} = hooks_useTheme.useTheme(), [isFocused, setIsFocused] = React.useState(null != focused && focused), [isWorking, setIsWorking] = React.useState(null != working && working), [isStopEnabled, setIsStopEnabled] = React.useState(stopEnabled), [textValue, setTextValue] = React.useState(value), textAreaRef = React.useRef(null), handleFocus = React.useCallback(() => {
28
+ const {children: children, attachments: attachments = [], value: value = "", width: width = "100%", maxWidth: maxWidth, minWidth: minWidth, working: working = !1, maxHeight: maxHeight, attachmentsDisabled: attachmentsDisabled = !1, submitWorking: submitWorking = !1, borderStyle: borderStyle = "gradient", borderColor: borderColor, borderColorOn: borderColorOn, borderAnimate: borderAnimate = !0, borderWidth: borderWidth = 1, borderRadius: borderRadius = 8, focused: focused = !1, placeholder: placeholder = "Ask me anything ...", placeholderWorking: placeholderWorking = "Working ...", submitClears: submitClears = !0, enterSubmits: enterSubmits = !0, attachButton: attachButton = !0, sendButton: sendButton = !0, stopEnabled: stopEnabled = !1, textSize: textSize = "m", maxLength: maxLength, toolbarGap: toolbarGap = 8, onChange: onChange, onBlur: onBlur, onFocus: onFocus, onSubmit: onSubmit, onStop: onStop, onAttachmentsChange: onAttachmentsChange} = props, {isDark: isDark} = hooks_useTheme.useTheme(), [isFocused, setIsFocused] = React.useState(null != focused && focused), [textValue, setTextValue] = React.useState(value), textAreaRef = React.useRef(null), handleFocus = React.useCallback(() => {
24
29
  var _a, _b;
25
30
  setIsFocused(!0), null === (_a = null == textAreaRef ? void 0 : textAreaRef.current) || void 0 === _a || _a.focus(),
26
31
  null == onFocus || onFocus(null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
27
- }, [ onFocus, attachments ]), handleBlur = React.useCallback(() => {
32
+ }, [ onFocus, attachments ]), handleBlur = React.useCallback(valueOverride => {
28
33
  var _a, _b;
29
34
  setIsFocused(!1), null === (_a = textAreaRef.current) || void 0 === _a || _a.blur(),
30
- null == onBlur || onBlur(null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
31
- }, [ onBlur, attachments ]), handleAttachmentsChange = React.useCallback(newFiles => {
35
+ null == onBlur || onBlur(null != valueOverride ? valueOverride : null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
36
+ }, [ onBlur, attachments ]), handleTextAreaBlur = React.useCallback(() => {
37
+ handleBlur();
38
+ }, [ handleBlur ]), handleAttachmentsChange = React.useCallback(newFiles => {
32
39
  var _a;
33
40
  null == onAttachmentsChange || onAttachmentsChange(newFiles), null == onChange || onChange(null === (_a = textAreaRef.current) || void 0 === _a ? void 0 : _a.value, newFiles);
34
41
  }, [ onAttachmentsChange, onChange ]), handleChange = React.useCallback(e => {
@@ -36,47 +43,46 @@ const PromptInputBase = React.forwardRef((props, ref) => {
36
43
  setTextValue(newValue), null == onChange || onChange(newValue, attachments);
37
44
  }, [ onChange, attachments ]), handleSubmit = React.useCallback(() => {
38
45
  var _a;
39
- if (isWorking || isStopEnabled) return;
46
+ if (stopEnabled) return;
47
+ if (working && submitWorking) return;
40
48
  const currentValue = null === (_a = textAreaRef.current) || void 0 === _a ? void 0 : _a.value;
41
- currentValue && (null == onSubmit || onSubmit(currentValue, attachments), setIsWorking(!0),
42
- submitClears && setTextValue(""), submitEnablesStop && setIsStopEnabled(!0), handleBlur());
43
- }, [ submitClears, onSubmit, handleBlur, submitEnablesStop, isWorking, isStopEnabled, attachments ]), handleStop = React.useCallback(() => {
44
- setIsWorking(!1), setIsStopEnabled(!1), null == onStop || onStop(), handleFocus();
49
+ currentValue && (null == onSubmit || onSubmit(currentValue, attachments), submitClears && (setTextValue(""),
50
+ null == onChange || onChange("", attachments), textAreaRef.current && (textAreaRef.current.value = "")),
51
+ handleBlur(submitClears ? "" : currentValue));
52
+ }, [ stopEnabled, submitClears, onChange, onSubmit, handleBlur, attachments, working, submitWorking ]), handleStop = React.useCallback(() => {
53
+ null == onStop || onStop(), handleFocus();
45
54
  }, [ onStop, handleFocus ]), handleKeyDown = React.useCallback(e => {
46
- if ("Enter" === e.key && enterSubmits) {
47
- if (e.preventDefault(), isWorking) return;
48
- handleSubmit();
49
- }
50
- }, [ handleSubmit, isWorking, enterSubmits ]), handleClickSend = React.useCallback(e => {
51
- e.preventDefault(), e.stopPropagation(), isWorking && !isStopEnabled || (isStopEnabled ? handleStop() : handleSubmit());
52
- }, [ handleSubmit, handleStop, isStopEnabled, isWorking ]), handleClickAttach = React.useCallback(e => {
55
+ "Enter" === e.key && enterSubmits && (e.preventDefault(), handleSubmit());
56
+ }, [ handleSubmit, enterSubmits ]), handleClickSend = React.useCallback(e => {
57
+ e.preventDefault(), e.stopPropagation(), stopEnabled ? handleStop() : handleSubmit();
58
+ }, [ handleSubmit, handleStop, stopEnabled ]), handleClickAttach = React.useCallback(e => {
53
59
  e.preventDefault(), e.stopPropagation();
54
60
  }, []), handleClickButtonBar = React.useCallback(e => {
55
- e.preventDefault(), isWorking || handleFocus();
56
- }, [ handleFocus, isWorking ]), setBorderColor = React.useMemo(() => {
61
+ e.preventDefault(), handleFocus();
62
+ }, [ handleFocus ]), setBorderColor = React.useMemo(() => {
57
63
  if ("gradient" === borderStyle) {
58
64
  const radial = isDark ? "var(--conic-gradient-dark)" : "var(--conic-gradient-light)";
59
- return isWorking && borderAnimate ? radial : isFocused ? null != borderColorOn ? borderColorOn : radial : null != borderColor ? borderColor : radial;
65
+ return working && borderAnimate ? radial : isFocused ? null != borderColorOn ? borderColorOn : radial : null != borderColor ? borderColor : radial;
60
66
  }
61
- return "solid" === borderStyle ? isWorking || isFocused ? null != borderColorOn ? borderColorOn : "var(--core-outline-special)" : null != borderColor ? borderColor : "transparent" : "transparent";
62
- }, [ borderStyle, isFocused, borderColorOn, borderColor, isWorking, borderAnimate, isDark ]), setPlaceholder = React.useMemo(() => isWorking && placeholderWorking ? placeholderWorking : placeholder, [ isWorking, placeholder, placeholderWorking ]), setSendIconColor = React.useMemo(() => isStopEnabled || isWorking ? "var(--core-text-primary)" : "" !== textValue ? "var(--core-text-light)" : "var(--core-text-disabled)", [ textValue, isWorking, isStopEnabled ]), sendButtonState = React.useMemo(() => isStopEnabled || "" !== textValue || isWorking ? "normal" : "disabled", [ textValue, isStopEnabled, isWorking ]), attachState = React.useMemo(() => isWorking ? "disabled" : "normal", [ isWorking ]);
67
+ return "solid" === borderStyle ? working || isFocused ? null != borderColorOn ? borderColorOn : "var(--core-outline-special)" : null != borderColor ? borderColor : "transparent" : "transparent";
68
+ }, [ borderStyle, isFocused, borderColorOn, borderColor, working, borderAnimate, isDark ]), setPlaceholder = React.useMemo(() => working && placeholderWorking ? placeholderWorking : placeholder, [ working, placeholder, placeholderWorking ]), setSendIconColor = React.useMemo(() => stopEnabled ? "var(--core-text-primary)" : "" !== textValue ? "var(--core-text-light)" : "var(--core-text-disabled)", [ textValue, stopEnabled ]), sendButtonState = React.useMemo(() => working && submitWorking || stopEnabled ? "normal" : "" === textValue ? "disabled" : "normal", [ textValue, stopEnabled, working, submitWorking ]), attachState = React.useMemo(() => attachmentsDisabled ? "disabled" : "normal", [ attachmentsDisabled ]);
63
69
  React.useEffect(() => {
64
70
  var _a, _b;
65
71
  focused ? null === (_a = textAreaRef.current) || void 0 === _a || _a.focus() : null === (_b = textAreaRef.current) || void 0 === _b || _b.blur();
66
72
  }, [ focused ]), React.useEffect(() => {
67
- var _a;
68
- (null === (_a = textAreaRef.current) || void 0 === _a ? void 0 : _a.value) !== value && setTextValue(value);
69
- }, [ value ]), React.useEffect(() => {
70
- void 0 !== working && setIsWorking(working);
71
- }, [ working ]), React.useEffect(() => setIsStopEnabled(stopEnabled), [ stopEnabled ]);
73
+ setTextValue(value);
74
+ }, [ value ]);
72
75
  const cssVars = React.useMemo(() => ({
76
+ "--prompt-width": misc.setStyle(width),
77
+ "--prompt-min-width": misc.setStyle(minWidth, "unset"),
78
+ "--prompt-max-width": misc.setStyle(maxWidth, "unset"),
73
79
  "--prompt-border-color": setBorderColor,
74
80
  "--prompt-max-height": maxHeight ? `${maxHeight}px` : "unset",
75
81
  "--prompt-border-width": borderWidth ? `${borderWidth}px` : "0",
76
- "--prompt-state": isWorking && borderAnimate ? "running" : "paused",
82
+ "--prompt-state": working && borderAnimate ? "running" : "paused",
77
83
  "--prompt-border-radius": borderRadius ? `${borderRadius}px` : "8px",
78
84
  "--prompt-inner-border-radius": borderRadius ? borderRadius - 1 + "px" : "7px"
79
- }), [ isWorking, borderAnimate, setBorderColor, borderWidth, borderRadius, maxHeight ]);
85
+ }), [ working, borderAnimate, setBorderColor, borderWidth, borderRadius, maxHeight, width, maxWidth, minWidth ]);
80
86
  return jsxRuntime.jsx("div", {
81
87
  className: css.wrapperBg,
82
88
  ref: ref,
@@ -103,7 +109,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
103
109
  onChange: handleChange,
104
110
  placeholder: setPlaceholder,
105
111
  onFocus: handleFocus,
106
- onBlur: handleBlur,
112
+ onBlur: handleTextAreaBlur,
107
113
  onKeyDown: handleKeyDown,
108
114
  maxLength: maxLength,
109
115
  rows: 1
@@ -127,13 +133,13 @@ const PromptInputBase = React.forwardRef((props, ref) => {
127
133
  }), sendButton && jsxRuntime.jsx(Button.Button, {
128
134
  round: !0,
129
135
  label: void 0,
130
- variant: isStopEnabled ? "outline" : "solid",
131
- iconLeft: isStopEnabled ? "stop" : "arrow up",
132
- iconSize: isStopEnabled ? 16 : 20,
136
+ variant: stopEnabled ? "outline" : "solid",
137
+ iconLeft: stopEnabled ? "stop" : "arrow up",
138
+ iconSize: stopEnabled ? 16 : 20,
133
139
  state: sendButtonState,
134
140
  bgColorDisabled: "var(--core-outline-primary)",
135
- progress: !isStopEnabled,
136
- working: !isStopEnabled && isWorking,
141
+ progress: !stopEnabled,
142
+ working: submitWorking && working,
137
143
  onMouseDown: handleClickSend,
138
144
  iconColor: setSendIconColor
139
145
  }) ]
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-4xyXRU2K.js"), Icon = require("./Icon-BVYVJp9J.js"), 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";
4
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-CktV9aap.js"), Icon = require("./Icon-CRxH8X5b.js"), 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";
5
5
 
6
6
  function RadioButtonComponent(props) {
7
7
  const {label: label, children: children, fieldName: fieldName, value: value, selected: selected = !1, controlType: controlType = "radio", deselect: deselect = !0, tabIndex: tabIndex = 0, wrap: wrap = !1, list: list = !1, hideRadio: hideRadio = !1, noFrame: noFrame = !0, icon: icon = "circle", checkedIcon: checkedIcon = "check circle", iconColor: iconColor, gap: gap = 6, onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "label", "children", "fieldName", "value", "selected", "controlType", "deselect", "tabIndex", "wrap", "list", "hideRadio", "noFrame", "icon", "checkedIcon", "iconColor", "gap", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [isSelected, setIsSelected] = React.useState(selected);
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-4xyXRU2K.js"), RadioButton = require("./RadioButton-Bi-FP41j.js"), 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";
4
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-CktV9aap.js"), RadioButton = require("./RadioButton-DOv8YC-8.js"), 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";
5
5
 
6
6
  function RadioButtonListComponent(props) {
7
7
  const {width: width = "min-content", options: options = [], selectedIndexes: selectedIndexes = null, selectedOptions: selectedOptions = null, label: label = null, deselect: deselect = !1, multiSelect: multiSelect = !1, wrap: wrap = !1, tabIndexSeed: tabIndexSeed = 0, spacer: spacer = "none", custom: custom = 0, gap: gap = 16, hideRadio: hideRadio = !1, noFrame: noFrame = !0, toggleIcon: toggleIcon = !0, iconColor: iconColor, icon: icon = "circle", checkedIcon: checkedIcon = "check circle", iconSelectedColor: iconSelectedColor, onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "width", "options", "selectedIndexes", "selectedOptions", "label", "deselect", "multiSelect", "wrap", "tabIndexSeed", "spacer", "custom", "gap", "hideRadio", "noFrame", "toggleIcon", "iconColor", "icon", "checkedIcon", "iconSelectedColor", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", labelId = React.useId(), [selected, setSelected] = React.useState(selectedIndexes);
@@ -1,7 +1,16 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useObserveResize = require("../hooks/useObserveResize.js"), debounce = require("./debounce-_IK-La-Z.js"), misc = require("./misc-4xyXRU2K.js"), 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";
4
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react");
5
+
6
+ require("../theme/colors.js");
7
+
8
+ var misc = require("./misc-CktV9aap.js"), debounce = require("./debounce-C7m-uQW2.js");
9
+
10
+ require("./webRTCStore-M1HXHN92.js"), require("./microphoneStore-BQttBRKb.js"),
11
+ require("./volumeStore-CPxgI64S.js"), require("../hooks/useWindow.js");
12
+
13
+ var hooks_useObserveResize = require("../hooks/useObserveResize.js"), 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";
5
14
 
6
15
  const Slider = React.memo(props => {
7
16
  const {value: value = 25, scaleMin: scaleMin = 0, scaleMax: scaleMax = 100, width: width, height: height = 2, touchHeight: touchHeight = 24, trackHeadSize: trackHeadSize = 7, step: step, disabled: disabled = !1, disabledOpacity: disabledOpacity = .5, cursor: cursor = "default", headColor: headColor = "var(--core-text-light)", trackColor: trackColor = "var(--core-surface-secondary)", progressColor: progressColor = "var(--core-text-tertiary)", trackHeadBorderSize: trackHeadBorderSize = 1, trackHeadBorderColor: trackHeadBorderColor = "var(--core-outline-secondary)", onChange: onChange = () => null, onDragChange: onDragChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "value", "scaleMin", "scaleMax", "width", "height", "touchHeight", "trackHeadSize", "step", "disabled", "disabledOpacity", "cursor", "headColor", "trackColor", "progressColor", "trackHeadBorderSize", "trackHeadBorderColor", "onChange", "onDragChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = React.useRef(null), track = React.useRef(null), head = React.useRef(null), [currentValue, setCurrentValue] = React.useState(value), absProgressRef = React.useRef(value), relativeProgressRef = React.useRef(0), didMount = React.useRef(!1), size = hooks_useObserveResize.useObserveResize(ref, {
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react");
4
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react");
5
5
 
6
6
  const Spacer = React.memo(props => {
7
7
  const {size: size = 8} = props, divAttributes = tslib_es6.__rest(props, [ "size" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), spacerStyle = React.useMemo(() => ({
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), css_wrapper = "Switch-module_wrapper__kudO9 flexBox-module_row__z24tF", css_knob = "Switch-module_knob__vKNOc flexBox-module_row__z24tF";
4
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), css_wrapper = "Switch-module_wrapper__kudO9 flexBox-module_row__z24tF", css_knob = "Switch-module_knob__vKNOc flexBox-module_row__z24tF";
5
5
 
6
6
  function SwitchComponent(props) {
7
7
  const {fieldName: fieldName, state: state = !1, value: value, height: height = 22, width: width = 44, padding: padding = 3, backgroundColorOn: backgroundColorOn, backgroundColorOff: backgroundColorOff, bgColorOn: bgColorOn = "var(--feedback-positive)", bgColorOff: bgColorOff = "var(--core-text-disabled)", knobColor: knobColor = "var(--core-surface-primary)", onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "fieldName", "state", "value", "height", "width", "padding", "backgroundColorOn", "backgroundColorOff", "bgColorOn", "bgColorOff", "knobColor", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [on, setOn] = React.useState(state), resolvedBackgroundColorOn = null != backgroundColorOn ? backgroundColorOn : bgColorOn, resolvedBackgroundColorOff = null != backgroundColorOff ? backgroundColorOff : bgColorOff;
@@ -1,11 +1,27 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
4
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
5
5
 
6
- require("../theme/colors.js"), require("../hooks/useWindow.js");
6
+ require("../theme/colors.js");
7
7
 
8
- var Badge = require("./Badge-4tBynWZe.js"), Icon = require("./Icon-BVYVJp9J.js"), IconButton = require("./IconButton-CP1Wsvsx.js"), sharedTypes = require("./sharedTypes-C0ZHzH_T.js"), 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";
8
+ var misc = require("./misc-CktV9aap.js");
9
+
10
+ require("./webRTCStore-M1HXHN92.js"), require("./microphoneStore-BQttBRKb.js"),
11
+ require("./volumeStore-CPxgI64S.js"), require("../hooks/useWindow.js");
12
+
13
+ var Badge = require("./Badge-D0jOqpGM.js"), Icon = require("./Icon-CRxH8X5b.js"), IconButton = require("./IconButton-KFtalJ6A.js"), sharedTypes = require("./sharedTypes-Cep5dDpY.js"), css = {
14
+ wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
15
+ option: "TabBar-module_option__gYjDf flexBox-module_row__z24tF",
16
+ icon: "TabBar-module_icon__JDgG3 flexBox-module_row__z24tF",
17
+ close: "TabBar-module_close__bvSBh flexBox-module_row__z24tF",
18
+ xs: "TabBar-module_xs__QDjV9 type-module_body-xs-regular__ZAFft",
19
+ s: "TabBar-module_s__-EBj2 type-module_body-s-regular__vRHSP",
20
+ m: "TabBar-module_m__3sCA3 type-module_body-m-regular__LuQBA",
21
+ l: "TabBar-module_l__hy1rR type-module_body-l-regular__lOYbg",
22
+ xl: "TabBar-module_xl__zaASU type-module_body-xl-regular__pF2kC",
23
+ selected: "TabBar-module_selected__UmBdu"
24
+ };
9
25
 
10
26
  const placeholderOptions = [ {
11
27
  name: "Light",
@@ -16,7 +32,7 @@ const placeholderOptions = [ {
16
32
  value: "Option 2",
17
33
  icon: "moon full"
18
34
  } ], TabBar = React.memo(props => {
19
- 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 = tslib_es6.__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 = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [index, setIndex] = React.useState(selected), optionRefs = React.useRef([]);
35
+ 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 = tslib_es6.__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 = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [index, setIndex] = React.useState(selected), optionRefs = React.useRef([]);
20
36
  React.useEffect(() => {
21
37
  let selectedIndex = 0;
22
38
  selectedValue && options ? (selectedIndex = options.findIndex(option => option.value === selectedValue),
@@ -68,26 +84,30 @@ const placeholderOptions = [ {
68
84
  underline: underline,
69
85
  iconFill: iconFill,
70
86
  tabWidth: tabWidth,
87
+ textSize: textSize,
88
+ borderColor: borderColor,
71
89
  buttonRef: element => {
72
90
  optionRefs.current[i] = element;
73
91
  }
74
- }, `${i}_option_${option.name}`)), [ options, index, padding, iconSize, iconGap, disabled, underline, tabWidth, onToolTip, handleOptionClick, iconFill, handleOptionKeyDown ]), setStyle = React.useCallback(value => "string" == typeof value ? value : `${value}px`, []), cssVars = React.useMemo(() => ({
92
+ }, `${i}_option_${option.name}`)), [ options, index, padding, iconSize, iconGap, disabled, underline, tabWidth, onToolTip, handleOptionClick, iconFill, handleOptionKeyDown, textSize ]), cssVars = React.useMemo(() => ({
75
93
  "--tab-bar-gap": `${tabGap}px`,
76
- "--tab-bar-height": `${setStyle(height)}px`,
77
- "--tab-bar-width": setStyle(width),
94
+ "--tab-bar-height": `${misc.setStyle(height)}px`,
95
+ "--tab-bar-width": misc.setStyle(width),
78
96
  "--tab-bar-border-bottom": "" + (border ? "1px" : "0"),
97
+ "--tab-bar-border-color": borderColor,
98
+ "--tab-bar-justify": justify,
79
99
  "--tab-bar-close-width": `${closeWidth}px`,
80
- "--tab-bar-close-padding": padding ? `${padding}px` : "8px"
81
- }), [ tabGap, height, width, border, setStyle, closeWidth, padding ]);
100
+ "--tab-bar-close-padding": misc.setStyle(padding, "8px")
101
+ }), [ tabGap, height, width, border, closeWidth, padding, borderColor, justify ]);
82
102
  return jsxRuntime.jsxs("div", Object.assign({
83
103
  id: divId,
84
- className: `${css_wrapper}${divClass}`,
104
+ className: `${css.wrapper}${divClass}`,
85
105
  style: Object.assign(Object.assign({}, divStyle), cssVars),
86
106
  role: "tablist",
87
107
  "aria-orientation": "horizontal"
88
108
  }, rest, {
89
109
  children: [ renderedOptions, hasClose && jsxRuntime.jsx("div", {
90
- className: css_close,
110
+ className: css.close,
91
111
  children: jsxRuntime.jsx(IconButton.IconButton, {
92
112
  iconSize: iconSize - 4,
93
113
  frameSize: iconSize,
@@ -104,7 +124,7 @@ const placeholderOptions = [ {
104
124
  TabBar.displayName = "TabBar";
105
125
 
106
126
  const Option = React.memo(props => {
107
- const theme = hooks_useTheme.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 = React.useRef(null), strokeColor = React.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 = React.useCallback(e => {
127
+ const theme = hooks_useTheme.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 = React.useRef(null), strokeColor = React.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 = React.useCallback(e => {
108
128
  if (onToolTip(null), showToolTip && ref.current) {
109
129
  const tip = {
110
130
  type: sharedTypes.ToolTipType.button,
@@ -120,17 +140,18 @@ const Option = React.memo(props => {
120
140
  showToolTip && onToolTip(null);
121
141
  }, [ showToolTip, onToolTip ]), textColor = React.useMemo(() => disabled ? "var(--core-text-disabled)" : selected ? "var(--core-text-special)" : "var(--core-text-primary)", [ disabled, selected ]), setTabWidth = React.useMemo(() => "compact" === tabWidth ? "min-content" : "fill" === tabWidth ? "unset" : `${tabWidth}px`, [ tabWidth ]), setTabFlex = React.useMemo(() => "fill" === tabWidth ? "1" : "unset", [ tabWidth ]), setUnderline = React.useMemo(() => selected && underline && !disabled ? "1px" : "0", [ underline, disabled, selected ]), cssVars = React.useMemo(() => ({
122
142
  "--tab-bar-option-border": setUnderline,
123
- "--tab-bar-option-padding": `${padding}px`,
143
+ "--tab-bar-option-border-color": borderColor,
144
+ "--tab-bar-option-padding": misc.setStyle(padding, "8px"),
124
145
  "--tab-bar-option-icon-size": `${iconSize}px`,
125
146
  "--tab-bar-option-cursor": disabled ? "default" : "pointer",
126
147
  "--tab-bar-option-gap": `${null != iconGap ? iconGap : 0}px`,
127
148
  "--tab-bar-option-color": textColor,
128
149
  "--tab-bar-option-width": setTabWidth,
129
150
  "--tab-bar-option-flex": setTabFlex
130
- }), [ padding, iconSize, disabled, textColor, iconGap, setTabFlex, setTabWidth, setUnderline ]);
151
+ }), [ padding, iconSize, disabled, textColor, iconGap, setTabFlex, setTabWidth, setUnderline, borderColor ]);
131
152
  return jsxRuntime.jsxs("button", {
132
153
  type: "button",
133
- className: css_option,
154
+ className: `${css.option} ${css[textSize]} ${selected ? css.selected : ""}`,
134
155
  style: cssVars,
135
156
  ref: element => {
136
157
  ref.current = element, null == buttonRef || buttonRef(element);
@@ -143,7 +164,7 @@ const Option = React.memo(props => {
143
164
  onClick: () => onClick(value),
144
165
  onKeyDown: e => onKeyDown(e, value),
145
166
  children: [ icon && jsxRuntime.jsx("div", {
146
- className: css_icon,
167
+ className: css.icon,
147
168
  children: jsxRuntime.jsx(Icon.Icon, {
148
169
  name: icon,
149
170
  fill: iconFill,
@@ -156,6 +177,6 @@ const Option = React.memo(props => {
156
177
  count: count
157
178
  }) ]
158
179
  });
159
- }, (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);
180
+ }, (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);
160
181
 
161
182
  Option.displayName = "TabOption", exports.TabBar = TabBar;
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), Button = require("./Button-QJ5lsSAz.js"), 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";
4
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), Button = require("./Button-CSyenByA.js"), 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";
5
5
 
6
6
  const TextArea = React.memo(props => {
7
7
  const {value: value = "", name: name = "text_area", width: width = "100%", focused: focused = !1, placeholder: placeholder = "Enter text here...", rows: rows = 6, border: border = !0, borderRadius: borderRadius = 4, padding: padding = "16px 4px 16px 16px", error: error = !1, resizable: resizable = !0, hasSend: hasSend = !1, sendOffset: sendOffset = {
@@ -1,15 +1,16 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
4
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
5
5
 
6
6
  require("../theme/colors.js");
7
7
 
8
- var misc = require("./misc-4xyXRU2K.js");
8
+ var misc = require("./misc-CktV9aap.js");
9
9
 
10
- require("../hooks/useWindow.js");
10
+ require("./webRTCStore-M1HXHN92.js"), require("./microphoneStore-BQttBRKb.js"),
11
+ require("./volumeStore-CPxgI64S.js"), require("../hooks/useWindow.js");
11
12
 
12
- var Button = require("./Button-QJ5lsSAz.js"), Icon = require("./Icon-BVYVJp9J.js"), IconButton = require("./IconButton-CP1Wsvsx.js"), css = {
13
+ var Button = require("./Button-CSyenByA.js"), Icon = require("./Icon-CRxH8X5b.js"), IconButton = require("./IconButton-KFtalJ6A.js"), css = {
13
14
  wrapper: "TextField-module_wrapper__qZ-p- flexBox-module_rowStart__4tcxS",
14
15
  container: "TextField-module_container__5U9yK flexBox-module_rowStart__4tcxS",
15
16
  label: "TextField-module_label__jD8MR flexBox-module_rowStart__4tcxS",
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), misc = require("./misc-4xyXRU2K.js"), css = {
4
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), misc = require("./misc-CktV9aap.js"), css = {
5
5
  wrapper: "Tip-module_wrapper__D7ACT flexBox-module_rowStart__4tcxS",
6
6
  xs: "Tip-module_xs__wsz9y type-module_body-xs-regular__ZAFft",
7
7
  s: "Tip-module_s__Wvz3q type-module_body-s-regular__vRHSP",
@@ -1,15 +1,16 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
4
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
5
5
 
6
6
  require("../theme/colors.js");
7
7
 
8
- var misc = require("./misc-4xyXRU2K.js");
8
+ var misc = require("./misc-CktV9aap.js");
9
9
 
10
- require("../hooks/useWindow.js");
10
+ require("./webRTCStore-M1HXHN92.js"), require("./microphoneStore-BQttBRKb.js"),
11
+ require("./volumeStore-CPxgI64S.js"), require("../hooks/useWindow.js");
11
12
 
12
- var ToastType, Icon = require("./Icon-BVYVJp9J.js"), ProgressIndicator = require("./ProgressIndicator-CFiAU-aF.js"), css = {
13
+ var ToastType, Icon = require("./Icon-CRxH8X5b.js"), ProgressIndicator = require("./ProgressIndicator-V-orBNdI.js"), css = {
13
14
  wrapper: "Toast-module_wrapper__1uj9O flexBox-module_rowBetween__5FEvi",
14
15
  close: "Toast-module_close__i10-s flexBox-module_row__z24tF",
15
16
  message: "Toast-module_message__3dP0P flexBox-module_rowStart__4tcxS",
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
- var jsxRuntime = require("react/jsx-runtime"), React = require("react"), IconButton = require("./IconButton-CP1Wsvsx.js"), Label = require("./Label-DIs1rOey.js"), css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
3
+ var jsxRuntime = require("react/jsx-runtime"), React = require("react"), IconButton = require("./IconButton-KFtalJ6A.js"), Label = require("./Label-BHP_DdP0.js"), css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
4
4
 
5
5
  exports.ToggleButton = function(props) {
6
- const {label: label, textSize: textSize, icon: icon, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", bgColor: bgColor = "var(--core-surface-secondary)", bgColorOn: bgColorOn = "var(--core-text-special)", iconSize: iconSize = 20, buttonSize: buttonSize = "m", tooltip: tooltip, gap: gap = 4, unselect: unselect = !0, fill: fill = !1, disabled: disabled = !1, onChange: onChange, onSelect: onSelect, onToolTip: onToolTip, children: children} = props, handleClick = () => {
6
+ const {label: label, textSize: textSize, icon: icon, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", bgColor: bgColor = "var(--core-surface-secondary)", bgColorOn: bgColorOn = "var(--core-text-special)", iconSize: iconSize = 20, buttonSize: buttonSize = "m", tooltip: tooltip, gap: gap = 4, unselect: unselect = !0, fill: fill = !1, disabled: disabled = !1, border: border = !1, onChange: onChange, onSelect: onSelect, onToolTip: onToolTip, children: children} = props, handleClick = () => {
7
7
  if (!unselect && selected) return;
8
8
  const newState = !selected;
9
9
  null == onChange || onChange(newState), newState && (null == onSelect || onSelect());
@@ -27,7 +27,8 @@ exports.ToggleButton = function(props) {
27
27
  iconSize: iconSize,
28
28
  iconFill: fill,
29
29
  disabled: disabled,
30
- onToolTip: onToolTip
30
+ onToolTip: onToolTip,
31
+ border: border
31
32
  }), (children || label) && jsxRuntime.jsx(Label.Label, {
32
33
  textSize: textSize,
33
34
  borderSize: 0,
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-4xyXRU2K.js"), Icon = require("./Icon-BVYVJp9J.js"), ProgressIndicator = require("./ProgressIndicator-CFiAU-aF.js"), FileList = require("./FileList-Dc1nfpR2.js"), css = {
4
+ var jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-CktV9aap.js"), FileList = require("./FileList-B93Xcxz4.js"), Icon = require("./Icon-CRxH8X5b.js"), ProgressIndicator = require("./ProgressIndicator-V-orBNdI.js"), css = {
5
5
  wrapper: "UploadArea-module_wrapper__aircC flexBox-module_column__ezvMq",
6
6
  icon: "UploadArea-module_icon__M7n-m flexBox-module_row__z24tF",
7
7
  title: "UploadArea-module_title__VbNGq type-module_body-l-bold__Fh2dt",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js");
3
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js");
4
4
 
5
5
  /**
6
6
  * Manage a WebSocket connection with optional unified events, retries, and keep-alive pings.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js");
3
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js");
4
4
 
5
5
  exports.WebRTCConnection = class {
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), React = require("react"), zustand = require("zustand"), shallow = require("zustand/react/shallow"), IndexedDB = require("./IndexedDB-CeiVT55Z.js");
3
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), React = require("react"), zustand = require("zustand"), shallow = require("zustand/react/shallow"), IndexedDB = require("./IndexedDB-BFj53nVB.js");
4
4
 
5
5
  function isValidIDBKey(key) {
6
6
  return "string" == typeof key || "number" == typeof key || key instanceof Date || key instanceof ArrayBuffer || (Array.isArray(key) ? key.every(entry => isValidIDBKey(entry)) : ArrayBuffer.isView(key));
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), React = require("react"), zustand = require("zustand");
4
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), React = require("react"), zustand = require("zustand");
5
5
 
6
6
  const emptyMicStreamRef = {
7
7
  current: null
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js");
3
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js");
4
4
 
5
5
  /**
6
6
  * Remove scripts, invisible characters, and optional HTML tags from a string.
@@ -2,9 +2,9 @@
2
2
 
3
3
  var zustand = require("zustand");
4
4
 
5
- require("./tslib.es6-DsF7Wv4Y.js");
5
+ require("./tslib.es6-yslq87rf.js");
6
6
 
7
- var SSEConnection = require("./SSEConnection-DfjLAlOG.js");
7
+ var SSEConnection = require("./SSEConnection-BqitbvAq.js");
8
8
 
9
9
  const useSSEStore = zustand.create((set, get) => ({
10
10
  connections: [],
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var FileUploadStatus, UploadError, WorkerStatus, tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js");
3
+ var FileUploadStatus, UploadError, WorkerStatus, tslib_es6 = require("./tslib.es6-yslq87rf.js");
4
4
 
5
5
  !function(FileUploadStatus) {
6
6
  FileUploadStatus.queued = "pending", FileUploadStatus.uploading = "uploading", FileUploadStatus.completed = "completed",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var zustand = require("zustand"), uploadsWorker$1 = require("./uploads-worker-CI-SZptI.js"), _documentCurrentScript = "undefined" != typeof document ? document.currentScript : null;
3
+ var zustand = require("zustand"), uploadsWorker$1 = require("./uploads-worker-B-7wl30J.js"), _documentCurrentScript = "undefined" != typeof document ? document.currentScript : null;
4
4
 
5
5
  let uploadsWorker = null;
6
6
 
@@ -64,7 +64,7 @@ function handleWorkerMessage(event) {
64
64
  const uploadsActions = useUploadsStore.getState().actions;
65
65
 
66
66
  exports.createUploadsWorker = function(workerUrl) {
67
- return new Worker(null != workerUrl ? workerUrl : new URL("../../workers/uploads/uploads.ts", "undefined" == typeof document ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && "SCRIPT" === _documentCurrentScript.tagName.toUpperCase() && _documentCurrentScript.src || new URL("chunks/uploadsStore-DR2hc4ct.js", document.baseURI).href), {
67
+ return new Worker(null != workerUrl ? workerUrl : new URL("../../workers/uploads/uploads.ts", "undefined" == typeof document ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && "SCRIPT" === _documentCurrentScript.tagName.toUpperCase() && _documentCurrentScript.src || new URL("chunks/uploadsStore-BhvyVpxk.js", document.baseURI).href), {
68
68
  type: "module"
69
69
  });
70
70
  }, exports.getUploads = () => useUploadsStore.getState().uploads, exports.getUploadsError = () => useUploadsStore.getState().error,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js");
3
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js");
4
4
 
5
5
  const useVolumeStore = require("zustand").create((set, get) => ({
6
6
  volume: 1,
@@ -26,14 +26,13 @@ const useVolumeStore = require("zustand").create((set, get) => ({
26
26
  feedbackElement: null
27
27
  });
28
28
  },
29
- setVolume: (volume, options) => {
30
- var _a;
29
+ setVolume: (volume, options) => tslib_es6.__awaiter(void 0, void 0, void 0, function*() {
31
30
  const muted = get().muted, currentVolume = muted ? 0 : volume, attachedMedia = get().elements, feedbackElement = get().feedbackElement, newStored = volume > 0 ? volume : get().storedVolume;
32
31
  attachedMedia.size > 0 && adjustMediaVolume(attachedMedia, currentVolume), set({
33
32
  volume: currentVolume,
34
33
  storedVolume: newStored
35
- }), muted || null !== (_a = null == options ? void 0 : options.playFeedback) && void 0 !== _a && !_a || playFeedbackSound(feedbackElement, currentVolume);
36
- },
34
+ }), !muted && feedbackElement && !0 === (null == options ? void 0 : options.playFeedback) && (yield playFeedbackSound(feedbackElement, currentVolume));
35
+ }),
37
36
  playFeedback: volume => tslib_es6.__awaiter(void 0, void 0, void 0, function*() {
38
37
  if (get().muted) return;
39
38
  const feedbackElement = get().feedbackElement;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), zustand = require("zustand"), WebRTCConnection = require("./WebRTCConnection-eWP4lueC.js");
3
+ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), zustand = require("zustand"), WebRTCConnection = require("./WebRTCConnection-DOegM5k_.js");
4
4
 
5
5
  const useWebRTCStore = zustand.create((set, get) => ({
6
6
  connections: [],
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var FormFactor, tslib_es6 = require("./tslib.es6-DsF7Wv4Y.js"), zustand = require("zustand");
3
+ var FormFactor, tslib_es6 = require("./tslib.es6-yslq87rf.js"), zustand = require("zustand");
4
4
 
5
5
  /**
6
6
  * Form factor names