@apple-pie/slice 0.1.51 → 0.1.53

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 (328) hide show
  1. package/dist/cjs/chunks/{AudioBubble-CWG0JYyG.js → AudioBubble-BSceAgq8.js} +4 -4
  2. package/dist/cjs/chunks/{Avatar-DyIIYHth.js → Avatar-LhoIzZYs.js} +2 -2
  3. package/dist/cjs/chunks/{AvatarGroup--zAf-dNr.js → AvatarGroup-6rYDbrq0.js} +3 -3
  4. package/dist/cjs/chunks/{Badge-Ca3fUHzW.js → Badge-DNzsgQk9.js} +1 -1
  5. package/dist/cjs/chunks/{Button-Cep3SqsR.js → Button-GrPLJIBP.js} +6 -5
  6. package/dist/cjs/chunks/{ButtonBar-CDoTe2KT.js → ButtonBar-Df0iGtC3.js} +2 -2
  7. package/dist/cjs/chunks/{Camera-BilzVJC-.js → Camera-BN2emgEV.js} +6 -6
  8. package/dist/cjs/chunks/{CheckBox-DlRmdo4F.js → CheckBox-DOTWw9VH.js} +1 -1
  9. package/dist/cjs/chunks/{Chip-Bcn3P9vI.js → Chip-BjzBZU6j.js} +4 -3
  10. package/dist/cjs/chunks/{DivInput-CPoU2IlK.js → DivInput-DXpi201k.js} +5 -5
  11. package/dist/cjs/chunks/{Dot-W1TQ5vfI.js → Dot-nWPzJqlj.js} +1 -1
  12. package/dist/cjs/chunks/{DrggablePanel--LSNphoy.js → DrggablePanel-Bi4cmUh5.js} +20 -16
  13. package/dist/cjs/chunks/{DropDown-AUxguryP.js → DropDown-K6xOYkfl.js} +5 -4
  14. package/dist/cjs/chunks/{ErrorSummary-D-eB1h3-.js → ErrorSummary-pWO_o2MN.js} +7 -6
  15. package/dist/cjs/chunks/{FileIcon-D7hcykwe.js → FileIcon-BXmM4L3A.js} +4 -4
  16. package/dist/cjs/chunks/{FileList-CBGZ8PsW.js → FileList-NDj9e_To.js} +3 -3
  17. package/dist/cjs/chunks/{FlexDiv-DsN5tGEG.js → FlexDiv-Dfp6NfR-.js} +1 -1
  18. package/dist/cjs/chunks/{Grouper-DzGrJo5i.js → Grouper-DJP2JXUi.js} +5 -5
  19. package/dist/cjs/chunks/{Icon-NDphOLR6.js → Icon-VcvTUkMA.js} +4 -4
  20. package/dist/cjs/chunks/{IconButton-DFk-yVc6.js → IconButton-Cz7iTVhO.js} +3 -3
  21. package/dist/cjs/chunks/{IndexedDB-CpCbUa22.js → IndexedDB-D7TVb0pF.js} +8 -4
  22. package/dist/cjs/chunks/{Label-DkUq49nx.js → Label-E7350HYG.js} +4 -3
  23. package/dist/cjs/chunks/{Level-MO3XuoBp.js → Level-ZmAb4JQ9.js} +3 -3
  24. package/dist/cjs/chunks/{Modal-o7KtPH6D.js → Modal-BKZ9fgWF.js} +5 -4
  25. package/dist/cjs/chunks/{ModalController-Bh4HjLKC.js → ModalController-CCcRXYUs.js} +3 -3
  26. package/dist/cjs/chunks/{Overlay-CxVrTI2z.js → Overlay-B0jNgBu3.js} +2 -2
  27. package/dist/cjs/chunks/{Pager-DkpPXtWt.js → Pager-CwOhw4nE.js} +1 -1
  28. package/dist/cjs/chunks/{ProgressIndicator-a4uthp1C.js → ProgressIndicator--Ph78ZSe.js} +4 -4
  29. package/dist/cjs/chunks/{PromptInput-DJ3sMLAK.js → PromptInput-8TqoRRtq.js} +16 -10
  30. package/dist/cjs/chunks/{RadioButton-J0dfBuuZ.js → RadioButton-oZxMZCpd.js} +1 -1
  31. package/dist/cjs/chunks/{RadioButtonList-CovzfXBb.js → RadioButtonList-C0zngoe4.js} +1 -1
  32. package/dist/cjs/chunks/{Slider-CLQ0GSie.js → Slider-BfiaN55A.js} +4 -4
  33. package/dist/cjs/chunks/{Spacer-hd4zs1jA.js → Spacer-D9SULpcV.js} +1 -1
  34. package/dist/cjs/chunks/{Switch-Bk0OdvjZ.js → Switch-Bax_lPw4.js} +2 -2
  35. package/dist/cjs/chunks/{TabBar-DqkCgnSR.js → TabBar-C9NycMo8.js} +18 -18
  36. package/dist/cjs/chunks/{TextArea-BCeor0hV.js → TextArea-BSo1K02e.js} +5 -5
  37. package/dist/cjs/chunks/{TextField-CtbfTAmK.js → TextField-TpzwNrB3.js} +13 -8
  38. package/dist/cjs/chunks/{Tip-D7gtWmNi.js → Tip-CtobkAG3.js} +6 -5
  39. package/dist/cjs/chunks/{Toast-D3Hd0AMU.js → Toast-BRvp6HeI.js} +10 -8
  40. package/dist/cjs/chunks/{ToggleButton-DnDRKdTq.js → ToggleButton-BGsKt1uz.js} +5 -5
  41. package/dist/cjs/chunks/{UploadArea-BHTAfz-P.js → UploadArea-BVIOxAk0.js} +8 -7
  42. package/dist/cjs/chunks/{Video-B7bisMIA.js → Video-B9BWFeiN.js} +15 -15
  43. package/dist/cjs/chunks/{VideoController-QMAJKhPH.js → VideoController-D5J76aQJ.js} +8 -8
  44. package/dist/cjs/chunks/{WSConnection-BAltqes7.js → WSConnection-BrwlAScO.js} +1 -1
  45. package/dist/cjs/chunks/{WebRTCConnection-dL2SK3_2.js → WebRTCConnection-nx-EhtdY.js} +1 -1
  46. package/dist/cjs/chunks/{browserChannelsStore-BTPpbDRA.js → browserChannelsStore-C8C4qb7h.js} +2 -2
  47. package/dist/cjs/chunks/{localDBStore-C3NUtnhe.js → localDBStore-DhruyXfz.js} +2 -2
  48. package/dist/cjs/chunks/magic-string.es-DXiBW6ft.js +724 -0
  49. package/dist/cjs/chunks/{microphoneStore-Ds2J_e1I.js → microphoneStore-axA5TgKM.js} +1 -1
  50. package/dist/cjs/chunks/{misc-LAaHE64b.js → misc-B2oK3rIL.js} +1 -1
  51. package/dist/cjs/chunks/{sseStore-DPzXXIbg.js → sseStore-DaJgRKej.js} +3 -3
  52. package/dist/cjs/chunks/{uploads-worker-BpfjZ_xT.js → uploads-worker-B_12HqmC.js} +1 -1
  53. package/dist/cjs/chunks/{uploadsStore-Dek7g7dl.js → uploadsStore-hFHe0RDh.js} +2 -2
  54. package/dist/cjs/chunks/{viewState--I3LaDpn.js → viewState-BzvJJA68.js} +7 -7
  55. package/dist/cjs/chunks/{volumeStore-DbLg_-L9.js → volumeStore-D64ziNWo.js} +1 -1
  56. package/dist/cjs/chunks/{webRTCStore-B-ZZdCuw.js → webRTCStore-XciamNCa.js} +2 -2
  57. package/dist/cjs/chunks/{windowStore-CjjP9E2z.js → windowStore-DRgyVg9e.js} +1 -1
  58. package/dist/cjs/components/AudioBubble/index.js +6 -6
  59. package/dist/cjs/components/Avatar/index.js +3 -3
  60. package/dist/cjs/components/AvatarGroup/index.js +3 -3
  61. package/dist/cjs/components/Badge/index.js +2 -2
  62. package/dist/cjs/components/Button/index.js +12 -12
  63. package/dist/cjs/components/ButtonBar/index.js +9 -9
  64. package/dist/cjs/components/Camera/index.js +8 -8
  65. package/dist/cjs/components/CheckBox/index.js +6 -6
  66. package/dist/cjs/components/Chip/index.js +9 -10
  67. package/dist/cjs/components/DataTable/index.js +13 -14
  68. package/dist/cjs/components/DivInput/index.js +4 -3
  69. package/dist/cjs/components/Dot/index.js +2 -2
  70. package/dist/cjs/components/DraggablePanel/index.js +6 -6
  71. package/dist/cjs/components/DropDown/index.js +9 -9
  72. package/dist/cjs/components/ErrorSummary/index.js +6 -6
  73. package/dist/cjs/components/FileIcon/index.js +6 -6
  74. package/dist/cjs/components/FileList/index.js +7 -7
  75. package/dist/cjs/components/FlexDiv/index.js +2 -2
  76. package/dist/cjs/components/Grouper/index.js +7 -7
  77. package/dist/cjs/components/Icon/index.js +6 -6
  78. package/dist/cjs/components/IconButton/index.js +12 -11
  79. package/dist/cjs/components/Label/index.js +4 -3
  80. package/dist/cjs/components/Level/index.js +4 -4
  81. package/dist/cjs/components/Modal/index.js +12 -13
  82. package/dist/cjs/components/ModalController/index.js +6 -6
  83. package/dist/cjs/components/Overlay/index.js +2 -2
  84. package/dist/cjs/components/Pager/index.js +3 -3
  85. package/dist/cjs/components/Progress/index.js +6 -6
  86. package/dist/cjs/components/PromptInput/index.js +10 -10
  87. package/dist/cjs/components/RadioButton/index.js +6 -6
  88. package/dist/cjs/components/RadioButtonList/index.js +7 -7
  89. package/dist/cjs/components/Slider/index.js +6 -6
  90. package/dist/cjs/components/Spacer/index.js +2 -2
  91. package/dist/cjs/components/Switch/index.js +2 -2
  92. package/dist/cjs/components/TabBar/index.js +9 -9
  93. package/dist/cjs/components/TextArea/index.js +12 -13
  94. package/dist/cjs/components/Textfield/index.js +10 -10
  95. package/dist/cjs/components/Tip/index.js +4 -3
  96. package/dist/cjs/components/Toast/index.js +7 -7
  97. package/dist/cjs/components/ToggleButton/index.js +12 -13
  98. package/dist/cjs/components/UploadArea/index.js +12 -11
  99. package/dist/cjs/components/Video/index.js +15 -14
  100. package/dist/cjs/components/VideoController/index.js +13 -13
  101. package/dist/cjs/hooks/useAudioRecorder.js +1 -1
  102. package/dist/cjs/hooks/useBindWebRTC.js +2 -2
  103. package/dist/cjs/hooks/useClipboard.js +2 -2
  104. package/dist/cjs/hooks/useMdStreamBuffer.js +2 -2
  105. package/dist/cjs/hooks/useMicrophone.js +1 -1
  106. package/dist/cjs/hooks/useTrackRenders.js +2 -2
  107. package/dist/cjs/hooks.js +4 -4
  108. package/dist/cjs/index.js +10 -10
  109. package/dist/cjs/providers/themeServer.test.js +10574 -0
  110. package/dist/cjs/stores/LocalDB.js +3 -3
  111. package/dist/cjs/stores/SSE.js +3 -3
  112. package/dist/cjs/stores/WS.js +3 -3
  113. package/dist/cjs/stores/WebRTC.js +3 -3
  114. package/dist/cjs/stores/browserChannel.js +2 -2
  115. package/dist/cjs/stores/microphone.js +2 -2
  116. package/dist/cjs/stores/modal.js +1 -1
  117. package/dist/cjs/stores/tip.js +1 -1
  118. package/dist/cjs/stores/toast.js +1 -1
  119. package/dist/cjs/stores/uploads.js +2 -2
  120. package/dist/cjs/stores/video.js +1 -1
  121. package/dist/cjs/stores/volume.js +2 -2
  122. package/dist/cjs/stores/window.js +2 -2
  123. package/dist/cjs/stores.js +5 -5
  124. package/dist/cjs/theme/corners.js +8 -8
  125. package/dist/cjs/theme/type.js +5 -5
  126. package/dist/cjs/utils/index.js +2 -2
  127. package/dist/cjs/utils/objects/index.js +2 -2
  128. package/dist/cjs/workers/uploads/uploads.js +2 -2
  129. package/dist/css/type.module.css +10 -10
  130. package/dist/esm/chunks/{AudioBubble-DFYw0nQU.mjs → AudioBubble-CdmLKDhc.mjs} +7 -7
  131. package/dist/esm/chunks/{Avatar-EkYvqFJa.mjs → Avatar-CblCPiom.mjs} +3 -3
  132. package/dist/esm/chunks/{AvatarGroup-B8EnFBX3.mjs → AvatarGroup-DgNd60cP.mjs} +4 -4
  133. package/dist/esm/chunks/{Badge-C6kNwu4r.mjs → Badge-DIru-w6O.mjs} +1 -1
  134. package/dist/esm/chunks/{Button-Bvgo8DRW.mjs → Button-BYALDfuE.mjs} +13 -10
  135. package/dist/esm/chunks/{ButtonBar-CqXWLImb.mjs → ButtonBar-DUDK-0Y4.mjs} +6 -4
  136. package/dist/esm/chunks/{Camera-9gSj5JCt.mjs → Camera-BOgxXxRV.mjs} +10 -10
  137. package/dist/esm/chunks/{CheckBox-BxI_tTid.mjs → CheckBox-xLveo-Lt.mjs} +3 -3
  138. package/dist/esm/chunks/{Chip-Cy_9aGFx.mjs → Chip-COWEFzyh.mjs} +9 -6
  139. package/dist/esm/chunks/{DivInput-C1kmP54k.mjs → DivInput-faLHJ1b9.mjs} +8 -6
  140. package/dist/esm/chunks/{Dot-m6fw22Z0.mjs → Dot-CWVfujdC.mjs} +1 -1
  141. package/dist/esm/chunks/{DrggablePanel-C73eGSsp.mjs → DrggablePanel-DCA9LeNq.mjs} +22 -18
  142. package/dist/esm/chunks/{DropDown-BczM9aTO.mjs → DropDown-C9fS9E6c.mjs} +9 -6
  143. package/dist/esm/chunks/{ErrorSummary-Co3vVXxA.mjs → ErrorSummary-D1WbASIx.mjs} +9 -8
  144. package/dist/esm/chunks/{FileIcon-SKFp6-Eh.mjs → FileIcon-CBNQckHc.mjs} +6 -6
  145. package/dist/esm/chunks/{FileList-Dt5V9YPs.mjs → FileList-CK96tECm.mjs} +7 -7
  146. package/dist/esm/chunks/{FlexDiv-BoxzmKqk.mjs → FlexDiv-Cglvd-xT.mjs} +1 -1
  147. package/dist/esm/chunks/{Grouper-Do8rpPZb.mjs → Grouper-CivlTYk2.mjs} +7 -7
  148. package/dist/esm/chunks/{Icon-BMT9cn9A.mjs → Icon-CGqm8lg7.mjs} +6 -6
  149. package/dist/esm/chunks/{IconButton-DEcW36kF.mjs → IconButton-LsCK8HUU.mjs} +9 -7
  150. package/dist/esm/chunks/{IndexedDB-BvJLLZU8.mjs → IndexedDB-DNFNyOit.mjs} +8 -4
  151. package/dist/esm/chunks/{Label-Etcumudw.mjs → Label-CFUlmEKM.mjs} +7 -4
  152. package/dist/esm/chunks/{Level-C2rSTZAQ.mjs → Level-CAZN_Xt7.mjs} +7 -5
  153. package/dist/esm/chunks/{Modal-C1g7ceSt.mjs → Modal-DAU9VnrP.mjs} +11 -8
  154. package/dist/esm/chunks/{ModalController-CkPCQeYU.mjs → ModalController-axF12LqY.mjs} +5 -5
  155. package/dist/esm/chunks/{Overlay-CZxlviV2.mjs → Overlay-CYvVXNU5.mjs} +2 -2
  156. package/dist/esm/chunks/{Pager-aLZXhX_w.mjs → Pager-BvFWzAok.mjs} +2 -2
  157. package/dist/esm/chunks/{ProgressIndicator-CGbLu2wM.mjs → ProgressIndicator-CNTW0t8s.mjs} +6 -6
  158. package/dist/esm/chunks/{PromptInput-rsGyHTJb.mjs → PromptInput-PJIXJMCp.mjs} +17 -13
  159. package/dist/esm/chunks/{RadioButton-DPKvT5yo.mjs → RadioButton-DipoEV9R.mjs} +3 -3
  160. package/dist/esm/chunks/{RadioButtonList-Brl_h2Nx.mjs → RadioButtonList-CDysnTjd.mjs} +3 -3
  161. package/dist/esm/chunks/{Slider-BJ9mifdr.mjs → Slider-BzX_jQ27.mjs} +7 -7
  162. package/dist/esm/chunks/{Spacer-pZIEZfkL.mjs → Spacer-DJKkJpdX.mjs} +1 -1
  163. package/dist/esm/chunks/{Switch-Cbl6iesb.mjs → Switch-C8FXGMlJ.mjs} +2 -2
  164. package/dist/esm/chunks/{TabBar-b8Dqmz0l.mjs → TabBar-B_pwLZcy.mjs} +23 -23
  165. package/dist/esm/chunks/{TextArea-Ml2KuVpk.mjs → TextArea-BbveliHo.mjs} +8 -6
  166. package/dist/esm/chunks/{TextField-BS3bOQj-.mjs → TextField-D-680Ah3.mjs} +14 -11
  167. package/dist/esm/chunks/{Tip-BrBts6HZ.mjs → Tip-IdoSsqpu.mjs} +9 -6
  168. package/dist/esm/chunks/{Toast-BL0jO3nb.mjs → Toast-DNN0M8ds.mjs} +13 -11
  169. package/dist/esm/chunks/{ToggleButton-dZPHYzZH.mjs → ToggleButton-BhRGIiQz.mjs} +6 -6
  170. package/dist/esm/chunks/{UploadArea-voCl4jpT.mjs → UploadArea-BFEjUf7n.mjs} +13 -10
  171. package/dist/esm/chunks/{Video-CRBP0r2b.mjs → Video-DBF6un3N.mjs} +19 -19
  172. package/dist/esm/chunks/{VideoController-kYO0CqYG.mjs → VideoController-lNXxiYAp.mjs} +14 -12
  173. package/dist/esm/chunks/{WSConnection-e7-nSYVD.mjs → WSConnection-Bd3_THiB.mjs} +1 -1
  174. package/dist/esm/chunks/{WebRTCConnection-DtIhWGrY.mjs → WebRTCConnection-DvF2ENaH.mjs} +1 -1
  175. package/dist/esm/chunks/{browserChannelsStore-DGDANcLP.mjs → browserChannelsStore-Dkg2yF-s.mjs} +2 -2
  176. package/dist/esm/chunks/{localDBStore-DwusxhIq.mjs → localDBStore-DmM1xv6W.mjs} +3 -3
  177. package/dist/esm/chunks/magic-string.es-w54Wbyiz.mjs +722 -0
  178. package/dist/esm/chunks/{microphoneStore-CDNQZJzG.mjs → microphoneStore-B9HEjn8x.mjs} +1 -1
  179. package/dist/esm/chunks/{misc-CV0SS-jF.mjs → misc-O5ZSVDP0.mjs} +1 -1
  180. package/dist/esm/chunks/{sseStore-BaLy2MK1.mjs → sseStore-CWOB35p7.mjs} +3 -3
  181. package/dist/esm/chunks/{uploads-worker-F-je70Dd.mjs → uploads-worker-C4I-bc63.mjs} +1 -1
  182. package/dist/esm/chunks/{uploadsStore-CPylq__a.mjs → uploadsStore-Bx9nAcin.mjs} +1 -1
  183. package/dist/esm/chunks/{viewState-CAAi7sd6.mjs → viewState-Dv3Y_pc4.mjs} +12 -10
  184. package/dist/esm/chunks/{volumeStore-C-rKyxRG.mjs → volumeStore-C2AnBA5B.mjs} +1 -1
  185. package/dist/esm/chunks/{webRTCStore-B2GPjQX6.mjs → webRTCStore-fNJiXwLR.mjs} +3 -3
  186. package/dist/esm/chunks/{windowStore-NdbQt4lG.mjs → windowStore-CYsBH-_Y.mjs} +1 -1
  187. package/dist/esm/components/AudioBubble/index.mjs +9 -9
  188. package/dist/esm/components/Avatar/index.mjs +3 -3
  189. package/dist/esm/components/AvatarGroup/index.mjs +4 -4
  190. package/dist/esm/components/Badge/index.mjs +2 -2
  191. package/dist/esm/components/Button/index.mjs +15 -15
  192. package/dist/esm/components/ButtonBar/index.mjs +11 -11
  193. package/dist/esm/components/Camera/index.mjs +11 -11
  194. package/dist/esm/components/CheckBox/index.mjs +9 -9
  195. package/dist/esm/components/Chip/index.mjs +12 -12
  196. package/dist/esm/components/DataTable/index.mjs +12 -12
  197. package/dist/esm/components/DivInput/index.mjs +5 -3
  198. package/dist/esm/components/Dot/index.mjs +2 -2
  199. package/dist/esm/components/DraggablePanel/index.mjs +8 -8
  200. package/dist/esm/components/DropDown/index.mjs +11 -11
  201. package/dist/esm/components/ErrorSummary/index.mjs +8 -8
  202. package/dist/esm/components/FileIcon/index.mjs +8 -8
  203. package/dist/esm/components/FileList/index.mjs +11 -11
  204. package/dist/esm/components/FlexDiv/index.mjs +2 -2
  205. package/dist/esm/components/Grouper/index.mjs +10 -10
  206. package/dist/esm/components/Icon/index.mjs +9 -9
  207. package/dist/esm/components/IconButton/index.mjs +14 -14
  208. package/dist/esm/components/Label/index.mjs +5 -3
  209. package/dist/esm/components/Level/index.mjs +7 -5
  210. package/dist/esm/components/Modal/index.mjs +17 -17
  211. package/dist/esm/components/ModalController/index.mjs +9 -9
  212. package/dist/esm/components/Overlay/index.mjs +2 -2
  213. package/dist/esm/components/Pager/index.mjs +3 -3
  214. package/dist/esm/components/Progress/index.mjs +9 -9
  215. package/dist/esm/components/PromptInput/index.mjs +16 -16
  216. package/dist/esm/components/RadioButton/index.mjs +9 -9
  217. package/dist/esm/components/RadioButtonList/index.mjs +10 -10
  218. package/dist/esm/components/Slider/index.mjs +9 -9
  219. package/dist/esm/components/Spacer/index.mjs +2 -2
  220. package/dist/esm/components/Switch/index.mjs +2 -2
  221. package/dist/esm/components/TabBar/index.mjs +13 -13
  222. package/dist/esm/components/TextArea/index.mjs +16 -16
  223. package/dist/esm/components/Textfield/index.mjs +15 -15
  224. package/dist/esm/components/Tip/index.mjs +5 -3
  225. package/dist/esm/components/Toast/index.mjs +10 -10
  226. package/dist/esm/components/ToggleButton/index.mjs +16 -16
  227. package/dist/esm/components/UploadArea/index.mjs +15 -15
  228. package/dist/esm/components/Video/index.mjs +19 -19
  229. package/dist/esm/components/VideoController/index.mjs +17 -17
  230. package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
  231. package/dist/esm/hooks/useBindWebRTC.mjs +6 -6
  232. package/dist/esm/hooks/useClipboard.mjs +3 -3
  233. package/dist/esm/hooks/useMdStreamBuffer.mjs +3 -3
  234. package/dist/esm/hooks/useMicrophone.mjs +1 -1
  235. package/dist/esm/hooks/useTrackRenders.mjs +2 -2
  236. package/dist/esm/hooks.mjs +8 -8
  237. package/dist/esm/index.mjs +59 -59
  238. package/dist/esm/providers/themeServer.test.mjs +10572 -0
  239. package/dist/esm/stores/LocalDB.mjs +4 -4
  240. package/dist/esm/stores/SSE.mjs +4 -4
  241. package/dist/esm/stores/WS.mjs +3 -3
  242. package/dist/esm/stores/WebRTC.mjs +4 -4
  243. package/dist/esm/stores/browserChannel.mjs +3 -3
  244. package/dist/esm/stores/microphone.mjs +2 -2
  245. package/dist/esm/stores/modal.mjs +1 -1
  246. package/dist/esm/stores/tip.mjs +1 -1
  247. package/dist/esm/stores/toast.mjs +1 -1
  248. package/dist/esm/stores/uploads.mjs +3 -3
  249. package/dist/esm/stores/video.mjs +1 -1
  250. package/dist/esm/stores/volume.mjs +2 -2
  251. package/dist/esm/stores/window.mjs +2 -2
  252. package/dist/esm/stores.mjs +18 -18
  253. package/dist/esm/theme/corners.mjs +8 -8
  254. package/dist/esm/theme/type.mjs +5 -5
  255. package/dist/esm/utils/index.mjs +12 -12
  256. package/dist/esm/utils/objects/index.mjs +8 -8
  257. package/dist/esm/workers/uploads/uploads.mjs +2 -2
  258. package/dist/styles.css +2400 -2349
  259. package/dist/types/components/Avatar/_types.d.ts +0 -1
  260. package/dist/types/components/AvatarGroup/_types.d.ts +0 -1
  261. package/dist/types/components/Button/Button.d.ts +2 -6
  262. package/dist/types/components/Button/_types.d.ts +1 -3
  263. package/dist/types/components/ButtonBar/_types.d.ts +0 -3
  264. package/dist/types/components/Chip/_types.d.ts +1 -3
  265. package/dist/types/components/DataTable/_types.d.ts +2 -2
  266. package/dist/types/components/DataTable/_useResizeColumn.test.d.ts +1 -0
  267. package/dist/types/components/DataTable/columnHelper.test.d.ts +1 -0
  268. package/dist/types/components/DivInput/_types.d.ts +0 -1
  269. package/dist/types/components/DraggablePanel/DrggablePanel.d.ts +13 -1
  270. package/dist/types/components/DropDown/_types.d.ts +1 -2
  271. package/dist/types/components/ErrorSummary/_types.d.ts +1 -2
  272. package/dist/types/components/FileList/_types.d.ts +1 -2
  273. package/dist/types/components/Icon/iconRegistry.test.d.ts +1 -0
  274. package/dist/types/components/IconButton/_animation.test.d.ts +1 -0
  275. package/dist/types/components/IconButton/_types.d.ts +3 -3
  276. package/dist/types/components/Label/_types.d.ts +1 -2
  277. package/dist/types/components/Modal/_types.d.ts +2 -2
  278. package/dist/types/components/PromptInput/PromptInput.d.ts +2 -2
  279. package/dist/types/components/PromptInput/_types.d.ts +1 -1
  280. package/dist/types/components/Switch/_types.d.ts +0 -2
  281. package/dist/types/components/TabBar/_types.d.ts +5 -6
  282. package/dist/types/components/TextArea/_types.d.ts +1 -2
  283. package/dist/types/components/Textfield/_types.d.ts +2 -2
  284. package/dist/types/components/Tip/_types.d.ts +1 -2
  285. package/dist/types/components/Toast/_types.d.ts +1 -1
  286. package/dist/types/components/ToggleButton/_types.d.ts +4 -4
  287. package/dist/types/components/UploadArea/UploadArea.d.ts +2 -6
  288. package/dist/types/components/UploadArea/_types.d.ts +1 -3
  289. package/dist/types/components/playHelpers.d.ts +353 -0
  290. package/dist/types/hooks/useBindWebRTC/useBindWebRTC.test.d.ts +1 -0
  291. package/dist/types/hooks/useTrackRenders/useTrackRenders.test.d.ts +1 -0
  292. package/dist/types/providers/themeServer.test.d.ts +1 -0
  293. package/dist/types/stores/LocalDB/localDBStore.test.d.ts +1 -0
  294. package/dist/types/theme/corners/types.d.ts +8 -8
  295. package/dist/types/utils/objects/IndexedDB/IndexedDB.d.ts +3 -0
  296. package/dist/types/utils/objects/IndexedDB/IndexedDB.test.d.ts +1 -0
  297. package/dist/types/utils/objects/MDStreamBuffer/MdStreamBuffer.test.d.ts +1 -0
  298. package/dist/types/utils/objects/WebRTCConnection/WebRTCConnection.test.d.ts +1 -0
  299. package/dist/types/workers/uploads/uploads-worker.test.d.ts +1 -0
  300. package/package.json +2 -1
  301. /package/dist/cjs/chunks/{MdStreamBuffer-BIlyoz-U.js → MdStreamBuffer-BiFYXGu6.js} +0 -0
  302. /package/dist/cjs/chunks/{SSEConnection-B2qZwRe5.js → SSEConnection-CygPbs0L.js} +0 -0
  303. /package/dist/cjs/chunks/{_types-KVtz1JIf.js → _types-jaI3KEVY.js} +0 -0
  304. /package/dist/cjs/chunks/{audioVisualizer-COtQiyA7.js → audioVisualizer-Dmtjjosj.js} +0 -0
  305. /package/dist/cjs/chunks/{broadcastChannel-Cqzs7sXX.js → broadcastChannel-CRR59lw6.js} +0 -0
  306. /package/dist/cjs/chunks/{colors-CmJHFEI7.js → colors-Dok44sXW.js} +0 -0
  307. /package/dist/cjs/chunks/{debounce-TfVmWD0v.js → debounce-C3P6vOcn.js} +0 -0
  308. /package/dist/cjs/chunks/{modalStore-C6J4X4Z_.js → modalStore--QHdUyuE.js} +0 -0
  309. /package/dist/cjs/chunks/{rafThrottle-QTFO3TjH.js → rafThrottle-DlDdrddz.js} +0 -0
  310. /package/dist/cjs/chunks/{sharedTypes-BeP4wu1R.js → sharedTypes-BW_hw-Vb.js} +0 -0
  311. /package/dist/cjs/chunks/{tipStore-DksXXZ-l.js → tipStore-DAb0BV40.js} +0 -0
  312. /package/dist/cjs/chunks/{toastStore-DaSJFhEz.js → toastStore-6OcUl7VL.js} +0 -0
  313. /package/dist/cjs/chunks/{tslib.es6-B8RWDz3P.js → tslib.es6-Y3RzGMQw.js} +0 -0
  314. /package/dist/cjs/chunks/{videoStore-COp8iv9F.js → videoStore-B2FtqVfG.js} +0 -0
  315. /package/dist/esm/chunks/{MdStreamBuffer-BzkkcjT9.mjs → MdStreamBuffer-D3J2CXWe.mjs} +0 -0
  316. /package/dist/esm/chunks/{SSEConnection-BpZWD_YR.mjs → SSEConnection-5GuqCTf8.mjs} +0 -0
  317. /package/dist/esm/chunks/{_types-BEg4q3Ct.mjs → _types-CLPtELrL.mjs} +0 -0
  318. /package/dist/esm/chunks/{audioVisualizer-B7i2Eluw.mjs → audioVisualizer-BO_hMyyp.mjs} +0 -0
  319. /package/dist/esm/chunks/{broadcastChannel-Bw5Pck80.mjs → broadcastChannel-B8FxWRVj.mjs} +0 -0
  320. /package/dist/esm/chunks/{colors-6NoVF74x.mjs → colors-Pe71RB3l.mjs} +0 -0
  321. /package/dist/esm/chunks/{debounce-BXeBit77.mjs → debounce-O12UHVJH.mjs} +0 -0
  322. /package/dist/esm/chunks/{modalStore-CC-D_muU.mjs → modalStore-CBW78_cT.mjs} +0 -0
  323. /package/dist/esm/chunks/{rafThrottle-B25fapDv.mjs → rafThrottle-Cf-gEuLq.mjs} +0 -0
  324. /package/dist/esm/chunks/{sharedTypes-h1aSeCm2.mjs → sharedTypes-ySBopm8X.mjs} +0 -0
  325. /package/dist/esm/chunks/{tipStore-B1G8sE05.mjs → tipStore-DHu8QqNR.mjs} +0 -0
  326. /package/dist/esm/chunks/{toastStore-9muAYcgx.mjs → toastStore-EbAo-Cjj.mjs} +0 -0
  327. /package/dist/esm/chunks/{tslib.es6-p9eD9VLE.mjs → tslib.es6-uJhEruZV.mjs} +0 -0
  328. /package/dist/esm/chunks/{videoStore-Z2NndKsG.mjs → videoStore-TxVsMj8s.mjs} +0 -0
@@ -1,17 +1,19 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.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-CV0SS-jF.mjs";
8
+ import { corners } from "../theme/corners.mjs";
9
9
 
10
- import { B as Button } from "./Button-Bvgo8DRW.mjs";
10
+ import { s as setStyle } from "./misc-O5ZSVDP0.mjs";
11
11
 
12
- import { I as Icon } from "./Icon-BMT9cn9A.mjs";
12
+ import { B as Button } from "./Button-BYALDfuE.mjs";
13
13
 
14
- import { I as IconButton } from "./IconButton-DEcW36kF.mjs";
14
+ import { I as Icon } from "./Icon-CGqm8lg7.mjs";
15
+
16
+ import { I as IconButton } from "./IconButton-LsCK8HUU.mjs";
15
17
 
16
18
  var css = {
17
19
  wrapper: "Modal-module_wrapper__34Hds flexBox-module_columnBetween__ERfp7",
@@ -31,7 +33,7 @@ var css = {
31
33
  };
32
34
 
33
35
  const Modal = React.memo(props => {
34
- const {children: children, id: id, className: className, style: style, minWidth: minWidth = 300, minHeight: minHeight = 200, maxHeight: maxHeight = 400, maxWidth: maxWidth = 400, padding: padding, close: close = !0, title: title, titleSize: titleSize = "l", contentSize: contentSize = "m", actions: actions, titleIcon: titleIcon, titleIconFill: titleIconFill = !0, titleBorderColor: titleBorderColor = "var(--core-outline-primary)", titleBorderWidth: titleBorderWidth = 0, actionsBorderColor: actionsBorderColor = "var(--core-outline-primary)", actionsBorderWidth: actionsBorderWidth = 0, autoBorderBottom: autoBorderBottom = !0, onAction: onAction, onReject: onReject, onResolve: onResolve, onClose: onClose, onToolTip: onToolTip, onDragPointerDown: onDragPointerDown, backgroundColor: backgroundColor = "var(--core-surface-secondary)", scrollHandleColor: scrollHandleColor = "var(--core-text-disabled)", scrollHandleColorHover: scrollHandleColorHover = "var(--core-text-disabled)", titleColor: titleColor = "var(--core-text-special)", borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius = 8, borderWidth: borderWidth = 1} = props, rest = __rest(props, [ "children", "id", "className", "style", "minWidth", "minHeight", "maxHeight", "maxWidth", "padding", "close", "title", "titleSize", "contentSize", "actions", "titleIcon", "titleIconFill", "titleBorderColor", "titleBorderWidth", "actionsBorderColor", "actionsBorderWidth", "autoBorderBottom", "onAction", "onReject", "onResolve", "onClose", "onToolTip", "onDragPointerDown", "backgroundColor", "scrollHandleColor", "scrollHandleColorHover", "titleColor", "borderColor", "borderRadius", "borderWidth" ]), contentWrapperRef = useRef(null), modalStyle = null != style ? style : {}, modalClass = className ? ` ${className}` : "", [scrolls, setScrolls] = useState(!1), getScrolls = useCallback(() => {
36
+ const {children: children, id: id, className: className, style: style, minWidth: minWidth = 300, minHeight: minHeight = 200, maxHeight: maxHeight = 400, maxWidth: maxWidth = 400, padding: padding, close: close = !0, title: title, titleTextSize: titleTextSize = "l", contentTextSize: contentTextSize = "m", actions: actions, titleIcon: titleIcon, titleIconFill: titleIconFill = !0, titleBorderColor: titleBorderColor = "var(--core-outline-primary)", titleBorderWidth: titleBorderWidth = 0, actionsBorderColor: actionsBorderColor = "var(--core-outline-primary)", actionsBorderWidth: actionsBorderWidth = 0, autoBorderBottom: autoBorderBottom = !0, onAction: onAction, onReject: onReject, onResolve: onResolve, onClose: onClose, onToolTip: onToolTip, onDragPointerDown: onDragPointerDown, backgroundColor: backgroundColor = "var(--core-surface-secondary)", scrollHandleColor: scrollHandleColor = "var(--core-text-disabled)", scrollHandleColorHover: scrollHandleColorHover = "var(--core-text-disabled)", titleColor: titleColor = "var(--core-text-special)", borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius = corners["corner-m"], borderWidth: borderWidth = 1} = props, rest = __rest(props, [ "children", "id", "className", "style", "minWidth", "minHeight", "maxHeight", "maxWidth", "padding", "close", "title", "titleTextSize", "contentTextSize", "actions", "titleIcon", "titleIconFill", "titleBorderColor", "titleBorderWidth", "actionsBorderColor", "actionsBorderWidth", "autoBorderBottom", "onAction", "onReject", "onResolve", "onClose", "onToolTip", "onDragPointerDown", "backgroundColor", "scrollHandleColor", "scrollHandleColorHover", "titleColor", "borderColor", "borderRadius", "borderWidth" ]), contentWrapperRef = useRef(null), modalStyle = null != style ? style : {}, modalClass = className ? ` ${className}` : "", [scrolls, setScrolls] = useState(!1), getScrolls = useCallback(() => {
35
37
  var _a, _b;
36
38
  const height = null === (_a = contentWrapperRef.current) || void 0 === _a ? void 0 : _a.offsetHeight, scrollHeight = null === (_b = contentWrapperRef.current) || void 0 === _b ? void 0 : _b.scrollHeight;
37
39
  return !(!height || !scrollHeight) && height < scrollHeight;
@@ -87,7 +89,7 @@ const Modal = React.memo(props => {
87
89
  style: Object.assign(Object.assign({}, modalStyle), cssVars)
88
90
  }, rest, {
89
91
  children: [ (title || close) && jsxs("div", {
90
- className: `${css.title} ${css[titleSize]}`,
92
+ className: `${css.title} ${css[titleTextSize]}`,
91
93
  onPointerDown: onDragPointerDown,
92
94
  children: [ jsxs("div", {
93
95
  className: css.titleBlock,
@@ -105,6 +107,7 @@ const Modal = React.memo(props => {
105
107
  className: css.titleIcon,
106
108
  children: jsx(IconButton, {
107
109
  tooltip: "close",
110
+ "aria-label": "close",
108
111
  icon: "x",
109
112
  onClick: () => {
110
113
  null == onReject || onReject(new Error("Modal was closed", {
@@ -119,7 +122,7 @@ const Modal = React.memo(props => {
119
122
  className: css.contentWrapper,
120
123
  ref: contentWrapperRef,
121
124
  children: jsx("div", {
122
- className: `${css.content} ${css[contentSize]}`,
125
+ className: `${css.content} ${css[contentTextSize]}`,
123
126
  children: children
124
127
  })
125
128
  }), actions && actions.length > 0 && jsxs("div", {
@@ -5,15 +5,15 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
5
5
 
6
6
  import { useRef } from "react";
7
7
 
8
- import "./microphoneStore-CDNQZJzG.mjs";
8
+ import "./microphoneStore-B9HEjn8x.mjs";
9
9
 
10
- import "./volumeStore-C-rKyxRG.mjs";
10
+ import "./volumeStore-C2AnBA5B.mjs";
11
11
 
12
- import "./webRTCStore-B2GPjQX6.mjs";
12
+ import "./webRTCStore-fNJiXwLR.mjs";
13
13
 
14
- import { O as Overlay } from "./Overlay-CZxlviV2.mjs";
14
+ import { O as Overlay } from "./Overlay-CYvVXNU5.mjs";
15
15
 
16
- import { u as useModal, a as useModalActions } from "./modalStore-CC-D_muU.mjs";
16
+ import { u as useModal, a as useModalActions } from "./modalStore-CBW78_cT.mjs";
17
17
 
18
18
  var css_container = "ModalController-module_container__3cSaO", css_box = "ModalController-module_box__cPzOz", css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
19
19
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -13,7 +13,7 @@ const defaultTransition = {
13
13
  ease: "easeOut",
14
14
  duration: .25
15
15
  }, Overlay = React.memo(props => {
16
- const {children: children, show: show = !1, type: type = "clear", global: global = !1, overlay: overlay, color: color = "rgb(0,0,0)", opacity: opacity = 0, transition: transition = defaultTransition, onClick: onClick = () => null, toggleOverlay: toggleOverlay = () => null} = props, divAttributes = __rest(props, [ "children", "show", "type", "global", "overlay", "color", "opacity", "transition", "onClick", "toggleOverlay" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", computedOpacity = useMemo(() => "clear" === type ? 0 : void 0 !== opacity ? opacity : "dark" === type ? .8 : 0, [ type, opacity ]), handleClick = useCallback(() => {
16
+ const {children: children, show: show = !1, type: type = "clear", global: global = !1, overlay: overlay, color: color = "rgb(0,0,0)", opacity: opacity, transition: transition = defaultTransition, onClick: onClick = () => null, toggleOverlay: toggleOverlay = () => null} = props, divAttributes = __rest(props, [ "children", "show", "type", "global", "overlay", "color", "opacity", "transition", "onClick", "toggleOverlay" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", computedOpacity = useMemo(() => "clear" === type ? 0 : void 0 !== opacity ? opacity : "dark" === type ? .8 : 0, [ type, opacity ]), handleClick = useCallback(() => {
17
17
  global && toggleOverlay(!1), onClick();
18
18
  }, [ global, toggleOverlay, onClick ]), handleContextMenu = useCallback(e => {
19
19
  e.preventDefault();
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.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-CV0SS-jF.mjs";
8
+ import { a as accessibleKeyDown } from "./misc-O5ZSVDP0.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
 
@@ -9,19 +9,19 @@ import "../theme/colors.mjs";
9
9
 
10
10
  import "../theme/type.mjs";
11
11
 
12
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
12
+ import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
13
13
 
14
- import "./broadcastChannel-Bw5Pck80.mjs";
14
+ import "./broadcastChannel-B8FxWRVj.mjs";
15
15
 
16
- import "./webRTCStore-B2GPjQX6.mjs";
16
+ import "./webRTCStore-fNJiXwLR.mjs";
17
17
 
18
- import "./microphoneStore-CDNQZJzG.mjs";
18
+ import "./microphoneStore-B9HEjn8x.mjs";
19
19
 
20
- import "./volumeStore-C-rKyxRG.mjs";
20
+ import "./volumeStore-C2AnBA5B.mjs";
21
21
 
22
22
  import "../hooks/useWindow.mjs";
23
23
 
24
- import { I as Icon } from "./Icon-BMT9cn9A.mjs";
24
+ import { I as Icon } from "./Icon-CGqm8lg7.mjs";
25
25
 
26
26
  import { AnimatePresence, motion } from "motion/react";
27
27
 
@@ -7,25 +7,27 @@ import { useTheme } from "../hooks/useTheme.mjs";
7
7
 
8
8
  import "../theme/colors.mjs";
9
9
 
10
+ import { corners } from "../theme/corners.mjs";
11
+
10
12
  import "../theme/type.mjs";
11
13
 
12
- import "./tslib.es6-p9eD9VLE.mjs";
14
+ import "./tslib.es6-uJhEruZV.mjs";
13
15
 
14
- import { s as setStyle } from "./misc-CV0SS-jF.mjs";
16
+ import { s as setStyle } from "./misc-O5ZSVDP0.mjs";
15
17
 
16
- import "./broadcastChannel-Bw5Pck80.mjs";
18
+ import "./broadcastChannel-B8FxWRVj.mjs";
17
19
 
18
- import "./webRTCStore-B2GPjQX6.mjs";
20
+ import "./webRTCStore-fNJiXwLR.mjs";
19
21
 
20
- import "./microphoneStore-CDNQZJzG.mjs";
22
+ import "./microphoneStore-B9HEjn8x.mjs";
21
23
 
22
- import "./volumeStore-C-rKyxRG.mjs";
24
+ import "./volumeStore-C2AnBA5B.mjs";
23
25
 
24
26
  import "../hooks/useWindow.mjs";
25
27
 
26
- import { B as Button } from "./Button-Bvgo8DRW.mjs";
28
+ import { B as Button } from "./Button-BYALDfuE.mjs";
27
29
 
28
- import { F as FileList } from "./FileList-Dt5V9YPs.mjs";
30
+ import { F as FileList } from "./FileList-CK96tECm.mjs";
29
31
 
30
32
  var css = {
31
33
  wrapperBg: "PromptInput-module_wrapperBg__zabZq flexBox-module_columnStart__C7P44",
@@ -36,13 +38,15 @@ var css = {
36
38
  buttonBar: "PromptInput-module_buttonBar__X8LDe flexBox-module_rowBetween__5FEvi",
37
39
  toolBar: "PromptInput-module_toolBar__GBvPT flexBox-module_rowStart__4tcxS",
38
40
  textarea: "PromptInput-module_textarea__e4Kxn",
41
+ xs: "PromptInput-module_xs__Oy1ZT type-module_body-xs-regular__ZAFft",
39
42
  s: "PromptInput-module_s__ivyC9 type-module_body-s-regular__vRHSP",
40
43
  m: "PromptInput-module_m__LFHvW type-module_body-m-regular__LuQBA",
41
- l: "PromptInput-module_l__TlceW type-module_body-l-regular__lOYbg"
44
+ l: "PromptInput-module_l__TlceW type-module_body-l-regular__lOYbg",
45
+ xl: "PromptInput-module_xl__FbITb type-module_body-xl-regular__pF2kC"
42
46
  };
43
47
 
44
48
  const PromptInputBase = React.forwardRef((props, ref) => {
45
- 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} = useTheme(), [isFocused, setIsFocused] = useState(null != focused && focused), [textValue, setTextValue] = useState(value), textAreaRef = useRef(null), handleFocus = useCallback(() => {
49
+ 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 = corners["corner-m"], 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} = useTheme(), [isFocused, setIsFocused] = useState(null != focused && focused), [textValue, setTextValue] = useState(value), textAreaRef = useRef(null), handleFocus = useCallback(() => {
46
50
  var _a, _b;
47
51
  setIsFocused(!0), null === (_a = null == textAreaRef ? void 0 : textAreaRef.current) || void 0 === _a || _a.focus(),
48
52
  null == onFocus || onFocus(null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
@@ -111,8 +115,8 @@ const PromptInputBase = React.forwardRef((props, ref) => {
111
115
  children: jsx(FileList, {
112
116
  files: attachments,
113
117
  onChange: handleAttachmentsChange,
114
- bgColor: "var(--core-surface-primary)",
115
- size: "s",
118
+ backgroundColor: "var(--core-surface-primary)",
119
+ textSize: "s",
116
120
  direction: "row",
117
121
  gap: 8,
118
122
  iconSize: 24
@@ -154,7 +158,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
154
158
  iconLeft: stopEnabled ? "stop" : "arrow up",
155
159
  iconSize: stopEnabled ? 16 : 20,
156
160
  state: sendButtonState,
157
- bgColorDisabled: "var(--core-outline-primary)",
161
+ backgroundColorDisabled: "var(--core-outline-primary)",
158
162
  progress: !stopEnabled,
159
163
  working: submitWorking && working,
160
164
  onMouseDown: handleClickSend,
@@ -1,13 +1,13 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.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-CV0SS-jF.mjs";
8
+ import { s as setStyle } from "./misc-O5ZSVDP0.mjs";
9
9
 
10
- import { I as Icon } from "./Icon-BMT9cn9A.mjs";
10
+ import { I as Icon } from "./Icon-CGqm8lg7.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 { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.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-CV0SS-jF.mjs";
8
+ import { s as setStyle } from "./misc-O5ZSVDP0.mjs";
9
9
 
10
- import { R as RadioButton } from "./RadioButton-DPKvT5yo.mjs";
10
+ import { R as RadioButton } from "./RadioButton-DipoEV9R.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,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -9,17 +9,17 @@ import "../theme/colors.mjs";
9
9
 
10
10
  import "../theme/type.mjs";
11
11
 
12
- import { p as pointerPosition } from "./misc-CV0SS-jF.mjs";
12
+ import { p as pointerPosition } from "./misc-O5ZSVDP0.mjs";
13
13
 
14
- import { d as debounce } from "./debounce-BXeBit77.mjs";
14
+ import { d as debounce } from "./debounce-O12UHVJH.mjs";
15
15
 
16
- import "./broadcastChannel-Bw5Pck80.mjs";
16
+ import "./broadcastChannel-B8FxWRVj.mjs";
17
17
 
18
- import "./webRTCStore-B2GPjQX6.mjs";
18
+ import "./webRTCStore-fNJiXwLR.mjs";
19
19
 
20
- import "./microphoneStore-CDNQZJzG.mjs";
20
+ import "./microphoneStore-B9HEjn8x.mjs";
21
21
 
22
- import "./volumeStore-C-rKyxRG.mjs";
22
+ import "./volumeStore-C2AnBA5B.mjs";
23
23
 
24
24
  import "../hooks/useWindow.mjs";
25
25
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -10,7 +10,7 @@ import React, { useState, useEffect, useCallback, useMemo } from "react";
10
10
  var css_wrapper = "Switch-module_wrapper__kudO9 flexBox-module_row__z24tF", css_knob = "Switch-module_knob__vKNOc flexBox-module_row__z24tF";
11
11
 
12
12
  function SwitchComponent(props) {
13
- 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 = __rest(props, [ "fieldName", "state", "value", "height", "width", "padding", "backgroundColorOn", "backgroundColorOff", "bgColorOn", "bgColorOff", "knobColor", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [on, setOn] = useState(state), resolvedBackgroundColorOn = null != backgroundColorOn ? backgroundColorOn : bgColorOn, resolvedBackgroundColorOff = null != backgroundColorOff ? backgroundColorOff : bgColorOff;
13
+ const {fieldName: fieldName, state: state = !1, value: value, height: height = 22, width: width = 44, padding: padding = 3, backgroundColorOn: backgroundColorOn = "var(--feedback-positive)", backgroundColorOff: backgroundColorOff = "var(--core-text-disabled)", knobColor: knobColor = "var(--core-surface-primary)", onChange: onChange = () => null} = props, divAttributes = __rest(props, [ "fieldName", "state", "value", "height", "width", "padding", "backgroundColorOn", "backgroundColorOff", "knobColor", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [on, setOn] = useState(state), resolvedBackgroundColorOn = backgroundColorOn, resolvedBackgroundColorOff = backgroundColorOff;
14
14
  useEffect(() => {
15
15
  setOn(state);
16
16
  }, [ state ]);
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -11,25 +11,25 @@ import "../theme/colors.mjs";
11
11
 
12
12
  import "../theme/type.mjs";
13
13
 
14
- import { s as setStyle } from "./misc-CV0SS-jF.mjs";
14
+ import { s as setStyle } from "./misc-O5ZSVDP0.mjs";
15
15
 
16
- import "./broadcastChannel-Bw5Pck80.mjs";
16
+ import "./broadcastChannel-B8FxWRVj.mjs";
17
17
 
18
- import "./webRTCStore-B2GPjQX6.mjs";
18
+ import "./webRTCStore-fNJiXwLR.mjs";
19
19
 
20
- import "./microphoneStore-CDNQZJzG.mjs";
20
+ import "./microphoneStore-B9HEjn8x.mjs";
21
21
 
22
- import "./volumeStore-C-rKyxRG.mjs";
22
+ import "./volumeStore-C2AnBA5B.mjs";
23
23
 
24
24
  import "../hooks/useWindow.mjs";
25
25
 
26
- import { B as Badge } from "./Badge-C6kNwu4r.mjs";
26
+ import { B as Badge } from "./Badge-DIru-w6O.mjs";
27
27
 
28
- import { I as Icon } from "./Icon-BMT9cn9A.mjs";
28
+ import { I as Icon } from "./Icon-CGqm8lg7.mjs";
29
29
 
30
- import { I as IconButton } from "./IconButton-DEcW36kF.mjs";
30
+ import { I as IconButton } from "./IconButton-LsCK8HUU.mjs";
31
31
 
32
- import { T as ToolTipType } from "./sharedTypes-h1aSeCm2.mjs";
32
+ import { T as ToolTipType } from "./sharedTypes-ySBopm8X.mjs";
33
33
 
34
34
  var css = {
35
35
  wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
@@ -89,9 +89,9 @@ const placeholderOptions = [ {
89
89
  }
90
90
  null !== nextIndex && (event.preventDefault(), handleOptionClick(nextIndex), focusOption(nextIndex));
91
91
  }, [ options.length, handleOptionClick, focusOption ]), renderedOptions = useMemo(() => options.map((option, i) => jsx(Option, {
92
- label: option.name,
93
- value: i,
94
- showToolTip: option.toolTip,
92
+ name: option.name,
93
+ index: i,
94
+ toolTip: option.toolTip,
95
95
  selected: i === index,
96
96
  padding: padding,
97
97
  icon: option.icon,
@@ -145,21 +145,21 @@ const placeholderOptions = [ {
145
145
  TabBar.displayName = "TabBar";
146
146
 
147
147
  const Option = React.memo(props => {
148
- 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 => {
149
- if (onToolTip(null), showToolTip && ref.current) {
148
+ const theme = useTheme(), {name: name = "Option", index: index = 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, toolTip: toolTip = 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 => {
149
+ if (onToolTip(null), toolTip && ref.current) {
150
150
  const tip = {
151
151
  type: ToolTipType.button,
152
152
  payload: {
153
- label: showToolTip
153
+ label: toolTip
154
154
  },
155
155
  event: e,
156
156
  ref: ref
157
157
  };
158
158
  onToolTip(tip);
159
159
  }
160
- }, [ showToolTip, onToolTip ]), handleMouseLeave = useCallback(() => {
161
- showToolTip && onToolTip(null);
162
- }, [ 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(() => ({
160
+ }, [ toolTip, onToolTip ]), handleMouseLeave = useCallback(() => {
161
+ toolTip && onToolTip(null);
162
+ }, [ toolTip, 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(() => ({
163
163
  "--tab-bar-option-border": setUnderline,
164
164
  "--tab-bar-option-border-color": borderColor,
165
165
  "--tab-bar-option-padding": setStyle(padding, "8px"),
@@ -182,8 +182,8 @@ const Option = React.memo(props => {
182
182
  tabIndex: selected ? 0 : -1,
183
183
  onMouseEnter: handleMouseOver,
184
184
  onMouseLeave: handleMouseLeave,
185
- onClick: () => onClick(value),
186
- onKeyDown: e => onKeyDown(e, value),
185
+ onClick: () => onClick(index),
186
+ onKeyDown: e => onKeyDown(e, index),
187
187
  children: [ icon && jsx("div", {
188
188
  className: css.icon,
189
189
  children: jsx(Icon, {
@@ -192,13 +192,13 @@ const Option = React.memo(props => {
192
192
  size: iconSize,
193
193
  strokeColor: strokeColor
194
194
  })
195
- }), label, 0 !== count && jsx(Badge, {
195
+ }), name, 0 !== count && jsx(Badge, {
196
196
  variant: "light",
197
197
  hideNull: !1,
198
198
  count: count
199
199
  }) ]
200
200
  });
201
- }, (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);
201
+ }, (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.icon === nextProps.icon && prevProps.borderColor === nextProps.borderColor && prevProps.textSize === nextProps.textSize && prevProps.padding === nextProps.padding && prevProps.name === nextProps.name && prevProps.index === nextProps.index);
202
202
 
203
203
  Option.displayName = "TabOption";
204
204
 
@@ -1,19 +1,21 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.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-Bvgo8DRW.mjs";
8
+ import { corners } from "../theme/corners.mjs";
9
+
10
+ import { B as Button } from "./Button-BYALDfuE.mjs";
9
11
 
10
12
  var css_wrapper = "TextArea-module_wrapper__O0sWP flexBox-module_columnStart__C7P44", css_textarea = "TextArea-module_textarea__-R2n0 scrollBars-module_scrollbars__c-ZPl", css_send = "TextArea-module_send__Cub13", css_xs = "TextArea-module_xs__5e748 type-module_body-xs-regular__ZAFft", css_s = "TextArea-module_s__Ac-fq type-module_body-s-regular__vRHSP", css_m = "TextArea-module_m__dod4R type-module_body-m-regular__LuQBA", css_l = "TextArea-module_l__-uLCG type-module_body-l-regular__lOYbg";
11
13
 
12
14
  const TextArea = React.memo(props => {
13
- const {value: value = "", name: name = "text_area", width: width = "100%", height: height = "auto", focused: focused = !1, placeholder: placeholder = "Enter text here...", rows: rows = 6, border: border = !0, borderRadius: borderRadius = 4, padding: padding = "16px 4px 16px 16px", error: error = !1, resizable: resizable = !0, hasSend: hasSend = !1, sendOffset: sendOffset = {
15
+ const {value: value = "", name: name = "text_area", width: width = "100%", height: height = "auto", focused: focused = !1, placeholder: placeholder = "Enter text here...", rows: rows = 6, border: border = !0, borderRadius: borderRadius = corners["corner-xs"], padding: padding = "16px 4px 16px 16px", error: error = !1, resizable: resizable = !0, hasSend: hasSend = !1, sendOffset: sendOffset = {
14
16
  bottom: 10,
15
17
  right: 10
16
- }, sendSize: sendSize = 36, returnSubmits: returnSubmits = !1, backgroundColor: backgroundColor, bgColor: bgColor, minWidth: minWidth, textSize: textSize = "m", disabled: disabled = !1, submitClears: submitClears = !0, maxLength: maxLength, onChange: onChange = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onSubmit: onSubmit = () => null, onKeyDown: onKeyDown = () => null} = props, divAttributes = __rest(props, [ "value", "name", "width", "height", "focused", "placeholder", "rows", "border", "borderRadius", "padding", "error", "resizable", "hasSend", "sendOffset", "sendSize", "returnSubmits", "backgroundColor", "bgColor", "minWidth", "textSize", "disabled", "submitClears", "maxLength", "onChange", "onFocus", "onBlur", "onSubmit", "onKeyDown" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, [isFocused, setIsFocused] = useState(focused), [text, setText] = useState(value), ref = useRef(null), handleResize = useCallback(() => {
18
+ }, sendSize: sendSize = 36, returnSubmits: returnSubmits = !1, backgroundColor: backgroundColor, minWidth: minWidth, textSize: textSize = "m", disabled: disabled = !1, submitClears: submitClears = !0, maxLength: maxLength, onChange: onChange = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onSubmit: onSubmit = () => null, onKeyDown: onKeyDown = () => null} = props, divAttributes = __rest(props, [ "value", "name", "width", "height", "focused", "placeholder", "rows", "border", "borderRadius", "padding", "error", "resizable", "hasSend", "sendOffset", "sendSize", "returnSubmits", "backgroundColor", "minWidth", "textSize", "disabled", "submitClears", "maxLength", "onChange", "onFocus", "onBlur", "onSubmit", "onKeyDown" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = backgroundColor, [isFocused, setIsFocused] = useState(focused), [text, setText] = useState(value), ref = useRef(null), handleResize = useCallback(() => {
17
19
  (null == ref ? void 0 : ref.current) && (ref.current.style.height = "auto", ref.current.style.height = `${ref.current.scrollHeight}px`);
18
20
  }, []);
19
21
  useEffect(() => {
@@ -29,8 +31,8 @@ const TextArea = React.memo(props => {
29
31
  var _a, _b;
30
32
  setIsFocused(!1), onBlur(null !== (_b = null === (_a = ref.current) || void 0 === _a ? void 0 : _a.value) && void 0 !== _b ? _b : "");
31
33
  }, [ onBlur ]), handleSubmit = useCallback(e => {
32
- null == e || e.preventDefault(), handleFocus(), onSubmit(text), submitClears && setText(""),
33
- (null == ref ? void 0 : ref.current) && (ref.current.value = ""), handleResize();
34
+ null == e || e.preventDefault(), handleFocus(), onSubmit(text), submitClears && (setText(""),
35
+ ref.current && (ref.current.value = "")), handleResize();
34
36
  }, [ handleFocus, onSubmit, text, submitClears, handleResize ]), handleKeyDownWrapper = useCallback(e => {
35
37
  returnSubmits && "Enter" === e.key && (e.preventDefault(), e.stopPropagation(),
36
38
  handleSubmit(void 0)), onKeyDown(e);
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
@@ -11,25 +11,27 @@ import { useTheme } from "../hooks/useTheme.mjs";
11
11
 
12
12
  import "../theme/colors.mjs";
13
13
 
14
+ import { corners } from "../theme/corners.mjs";
15
+
14
16
  import "../theme/type.mjs";
15
17
 
16
- import { s as setStyle } from "./misc-CV0SS-jF.mjs";
18
+ import { s as setStyle } from "./misc-O5ZSVDP0.mjs";
17
19
 
18
- import "./broadcastChannel-Bw5Pck80.mjs";
20
+ import "./broadcastChannel-B8FxWRVj.mjs";
19
21
 
20
- import "./webRTCStore-B2GPjQX6.mjs";
22
+ import "./webRTCStore-fNJiXwLR.mjs";
21
23
 
22
- import "./microphoneStore-CDNQZJzG.mjs";
24
+ import "./microphoneStore-B9HEjn8x.mjs";
23
25
 
24
- import "./volumeStore-C-rKyxRG.mjs";
26
+ import "./volumeStore-C2AnBA5B.mjs";
25
27
 
26
28
  import "../hooks/useWindow.mjs";
27
29
 
28
- import { B as Button } from "./Button-Bvgo8DRW.mjs";
30
+ import { B as Button } from "./Button-BYALDfuE.mjs";
29
31
 
30
- import { I as Icon } from "./Icon-BMT9cn9A.mjs";
32
+ import { I as Icon } from "./Icon-CGqm8lg7.mjs";
31
33
 
32
- import { I as IconButton } from "./IconButton-DEcW36kF.mjs";
34
+ import { I as IconButton } from "./IconButton-LsCK8HUU.mjs";
33
35
 
34
36
  var css = {
35
37
  wrapper: "TextField-module_wrapper__qZ-p- flexBox-module_rowStart__4tcxS",
@@ -41,7 +43,8 @@ var css = {
41
43
  xs: "TextField-module_xs__vyt2t type-module_body-xs-regular__ZAFft",
42
44
  s: "TextField-module_s__0qm83 type-module_body-s-regular__vRHSP",
43
45
  m: "TextField-module_m__M-tLl type-module_body-m-regular__LuQBA",
44
- l: "TextField-module_l__gbNRz type-module_body-l-regular__lOYbg"
46
+ l: "TextField-module_l__gbNRz type-module_body-l-regular__lOYbg",
47
+ xl: "TextField-module_xl__tp--W type-module_body-xl-regular__pF2kC"
45
48
  };
46
49
 
47
50
  const MOTION_CONFIG = {
@@ -64,7 +67,7 @@ const MOTION_CONFIG = {
64
67
  const theme = useTheme(), {name: name = "input_name", value: value = "", label: label, labelSize: labelSize = "m", textSize: textSize = "m", placeholder: placeholder = "placeholder", focused: focused = !1, onSubmit: onSubmit = () => null, onChange: onChange = () => null, onBlur: onBlur = () => null, onFocus: onFocus = () => null, onKeydown: onKeydown = () => null, onAction: onAction = () => null, onPaste: onPaste = () => null, onClear: onClear = () => null, actionButton: actionButton = !1, maxLength: maxLength, size: size = {
65
68
  width: "100%",
66
69
  height: "auto"
67
- }, padding: padding, borderRadius: borderRadius = 8, editable: editable = !0, textAlign: textAlign = "left", inline: inline = !1, noShow: noShow = !1, borderType: borderType = "box", error: error = !1, borderColorFocused: borderColorFocused = "var(--core-link-primary)", borderColorBlurred: borderColorBlurred = "var(--core-outline-primary)", borderColorError: borderColorError = "var(--feedback-warning)", backgroundColorFocused: backgroundColorFocused = "var(--core-surface-secondary)", backgroundColorBlurred: backgroundColorBlurred = "var(--core-surface-secondary)", textColorFocused: textColorFocused = "var(--core-text-primary)", textColorBlurred: textColorBlurred = "var(--core-text-primary)", textColorError: textColorError = "var(--feedback-warning)", textColorPlaceholder: textColorPlaceholder = "var(--core-text-disabled)", textColorDisabled: textColorDisabled = "var(--core-text-disabled)", labelColor: labelColor = "var(--core-text-primary)", iconLeft: iconLeft, clearButton: clearButton = {
70
+ }, padding: padding, borderRadius: borderRadius = corners["corner-m"], editable: editable = !0, textAlign: textAlign = "left", inline: inline = !1, noShow: noShow = !1, borderType: borderType = "box", error: error = !1, borderColorFocused: borderColorFocused = "var(--core-link-primary)", borderColorBlurred: borderColorBlurred = "var(--core-outline-primary)", borderColorError: borderColorError = "var(--feedback-warning)", backgroundColorFocused: backgroundColorFocused = "var(--core-surface-secondary)", backgroundColorBlurred: backgroundColorBlurred = "var(--core-surface-secondary)", textColorFocused: textColorFocused = "var(--core-text-primary)", textColorBlurred: textColorBlurred = "var(--core-text-primary)", textColorError: textColorError = "var(--feedback-warning)", textColorPlaceholder: textColorPlaceholder = "var(--core-text-disabled)", textColorDisabled: textColorDisabled = "var(--core-text-disabled)", labelColor: labelColor = "var(--core-text-primary)", iconLeft: iconLeft, clearButton: clearButton = {
68
71
  size: 20
69
72
  }, clearBlurs: clearBlurs = !1, disabled: disabled = !1, inputType: inputType = "text"} = props, divAttributes = __rest(props, [ "name", "value", "label", "labelSize", "textSize", "placeholder", "focused", "onSubmit", "onChange", "onBlur", "onFocus", "onKeydown", "onAction", "onPaste", "onClear", "actionButton", "maxLength", "size", "padding", "borderRadius", "editable", "textAlign", "inline", "noShow", "borderType", "error", "borderColorFocused", "borderColorBlurred", "borderColorError", "backgroundColorFocused", "backgroundColorBlurred", "textColorFocused", "textColorBlurred", "textColorError", "textColorPlaceholder", "textColorDisabled", "labelColor", "iconLeft", "clearButton", "clearBlurs", "disabled", "inputType" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", input = useRef(null), [text, setText] = useState(value), [isFocused, setIsFocused] = useState(focused), [show, setShow] = useState(!1);
70
73
  useEffect(() => {
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-p9eD9VLE.mjs";
2
+ import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -7,14 +7,17 @@ import { motion } from "motion/react";
7
7
 
8
8
  import React, { useState, useRef, useEffect, useMemo } from "react";
9
9
 
10
- import { f as filterClasses } from "./misc-CV0SS-jF.mjs";
10
+ import { corners } from "../theme/corners.mjs";
11
+
12
+ import { f as filterClasses } from "./misc-O5ZSVDP0.mjs";
11
13
 
12
14
  var css = {
13
15
  wrapper: "Tip-module_wrapper__D7ACT flexBox-module_rowStart__4tcxS",
14
16
  xs: "Tip-module_xs__wsz9y type-module_body-xs-regular__ZAFft",
15
17
  s: "Tip-module_s__Wvz3q type-module_body-s-regular__vRHSP",
16
18
  m: "Tip-module_m__9qJbB type-module_body-m-regular__LuQBA",
17
- l: "Tip-module_l__OdNuh type-module_body-l-regular__lOYbg"
19
+ l: "Tip-module_l__OdNuh type-module_body-l-regular__lOYbg",
20
+ xl: "Tip-module_xl__izmFk type-module_body-xl-regular__pF2kC"
18
21
  };
19
22
 
20
23
  const tipBasePos = {
@@ -22,7 +25,7 @@ const tipBasePos = {
22
25
  top: 0
23
26
  }, TipBase = React.forwardRef((props, ref) => {
24
27
  var _a;
25
- const {tip: tip, size: size = "s", backgroundColor: backgroundColor, bgColor: bgColor, textColor: textColor, color: color, border: border = !0, borderColor: borderColor, padding: padding, borderRadius: borderRadius, radius: radius, coords: coords, showDelay: showDelay = 500, hideDelay: hideDelay = 2500} = props, divAttributes = __rest(props, [ "tip", "size", "backgroundColor", "bgColor", "textColor", "color", "border", "borderColor", "padding", "borderRadius", "radius", "coords", "showDelay", "hideDelay" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? `${className}` : "", [pos, setPos] = useState(tipBasePos), [ready, setReady] = useState(!1), [animate, setAnimate] = useState(!1), timer = useRef(null), resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedTextColor = null != textColor ? textColor : color, resolvedBorderRadius = null != borderRadius ? borderRadius : radius;
28
+ const {tip: tip, textSize: textSize = "s", backgroundColor: backgroundColor, textColor: textColor, color: color, border: border = !0, borderColor: borderColor, padding: padding, borderRadius: borderRadius, radius: radius, coords: coords, showDelay: showDelay = 500, hideDelay: hideDelay = 2500} = props, divAttributes = __rest(props, [ "tip", "textSize", "backgroundColor", "textColor", "color", "border", "borderColor", "padding", "borderRadius", "radius", "coords", "showDelay", "hideDelay" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? `${className}` : "", [pos, setPos] = useState(tipBasePos), [ready, setReady] = useState(!1), [animate, setAnimate] = useState(!1), timer = useRef(null), resolvedBackgroundColor = backgroundColor, resolvedTextColor = null != textColor ? textColor : color, resolvedBorderRadius = null != borderRadius ? borderRadius : radius;
26
29
  useEffect(() => {
27
30
  timer.current && clearTimeout(timer.current);
28
31
  const {x: x, y: y} = null != coords ? coords : {
@@ -52,14 +55,14 @@ const tipBasePos = {
52
55
  "--tooltip-background": null != resolvedBackgroundColor ? resolvedBackgroundColor : "var(--core-surface-secondary)",
53
56
  "--tooltip-color": null != resolvedTextColor ? resolvedTextColor : "var(--core-text-primary)",
54
57
  "--tooltip-border": border ? `1px solid ${null != borderColor ? borderColor : "var(--core-outline-primary)"}` : "unset",
55
- "--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : "4px"
58
+ "--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : `${corners["corner-xs"]}px`
56
59
  }), [ padding, resolvedBackgroundColor, resolvedTextColor, border, borderColor, resolvedBorderRadius ]), coordStyle = useMemo(() => {
57
60
  const {left: left, top: top} = pos;
58
61
  return {
59
62
  left: `${null != left ? left : 0}px`,
60
63
  top: `${null != top ? top : 0}px`
61
64
  };
62
- }, [ pos ]), classNames = useMemo(() => filterClasses([ css.wrapper, css[size], divClass ]), [ size, divClass ]);
65
+ }, [ pos ]), classNames = useMemo(() => filterClasses([ css.wrapper, css[textSize], divClass ]), [ textSize, divClass ]);
63
66
  return jsx(motion.div, Object.assign({
64
67
  ref: ref,
65
68
  id: divId,