@apple-pie/slice 0.1.56 → 0.1.58

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 (317) hide show
  1. package/dist/cjs/chunks/{AudioBubble-2DmGApzQ.js → AudioBubble-BQzb7t1F.js} +4 -4
  2. package/dist/cjs/chunks/{Avatar-CC0ALePu.js → Avatar-CUFzge9h.js} +2 -2
  3. package/dist/cjs/chunks/{AvatarGroup-DEbpNjLc.js → AvatarGroup-D5g7PFO9.js} +1 -1
  4. package/dist/cjs/chunks/{Badge-ZjDd3Ix8.js → Badge-xNdezdPp.js} +1 -1
  5. package/dist/cjs/chunks/{Button-DnB85xYG.js → Button-CyXJ9uG3.js} +5 -6
  6. package/dist/cjs/chunks/{ButtonBar-DWDhGpwi.js → ButtonBar-B-RVcWNo.js} +1 -1
  7. package/dist/cjs/chunks/{Camera-CbB_z0BT.js → Camera-CAzaOB4G.js} +5 -5
  8. package/dist/cjs/chunks/{CheckBox-CCG8Zu0n.js → CheckBox-YiVx5dkX.js} +1 -1
  9. package/dist/cjs/chunks/{Chip-D1-XUhlH.js → Chip-BChy87kf.js} +7 -5
  10. package/dist/cjs/chunks/{DivInput-BRgfHVdj.js → DivInput-DfAONl7x.js} +2 -2
  11. package/dist/cjs/chunks/{Dot-3F2j3xqG.js → Dot-D2xmxQUt.js} +2 -2
  12. package/dist/cjs/chunks/{DrggablePanel-DLPTTF0x.js → DrggablePanel-D2BEKaM_.js} +11 -7
  13. package/dist/cjs/chunks/{DropDown-DczcOKT4.js → DropDown-Cj-GZmDN.js} +4 -4
  14. package/dist/cjs/chunks/{ErrorSummary-CmloSFWV.js → ErrorSummary-DlrxXxZG.js} +5 -5
  15. package/dist/cjs/chunks/{FileIcon-C0WnFj_a.js → FileIcon-BUW6exKf.js} +4 -4
  16. package/dist/cjs/chunks/{FileList-BR5tak9p.js → FileList-DqMJ-CdS.js} +6 -5
  17. package/dist/cjs/chunks/{FlexDiv-B-9oOJ0q.js → FlexDiv-CkjovMfE.js} +4 -4
  18. package/dist/cjs/chunks/{Grouper-CVLQb1M8.js → Grouper-Dw7b-rKO.js} +5 -5
  19. package/dist/cjs/chunks/{Icon-L-KOi8gd.js → Icon-QCkWofx3.js} +4 -4
  20. package/dist/cjs/chunks/{IconButton-CRlg14ov.js → IconButton-pfCyM8tf.js} +2 -2
  21. package/dist/cjs/chunks/{IndexedDB-BnRfQTQM.js → IndexedDB-B8x-Lb5K.js} +1 -1
  22. package/dist/cjs/chunks/{Label-DMWLMm8u.js → Label-CYFeaNz2.js} +5 -2
  23. package/dist/cjs/chunks/{Level-DFMbJLwo.js → Level-1-42wEEw.js} +2 -2
  24. package/dist/cjs/chunks/{Modal-3nJMxtM5.js → Modal-mzZbLdRN.js} +3 -3
  25. package/dist/cjs/chunks/{ModalController-BYbWwA2c.js → ModalController-D4miiECK.js} +3 -3
  26. package/dist/cjs/chunks/{Overlay-CcLSSVas.js → Overlay-CCoJ_1nO.js} +1 -1
  27. package/dist/cjs/chunks/{Pager-EnPvzs7I.js → Pager-Bxyv-Mrf.js} +1 -1
  28. package/dist/cjs/chunks/{ProgressIndicator-D4QBeeJ7.js → ProgressIndicator-DwhhhQU7.js} +5 -5
  29. package/dist/cjs/chunks/{PromptInput-DOG6-tSs.js → PromptInput-B9paGcxy.js} +9 -10
  30. package/dist/cjs/chunks/{RadioButton-Dv1UMrmC.js → RadioButton-B9TJk2Mo.js} +3 -3
  31. package/dist/cjs/chunks/{RadioButtonList-QQsLvc6S.js → RadioButtonList-BNoRk_XR.js} +1 -1
  32. package/dist/cjs/chunks/{Slider-BPbnMJvK.js → Slider-UfrORkxH.js} +4 -4
  33. package/dist/cjs/chunks/Spacer-C7IiQxXF.js +26 -0
  34. package/dist/cjs/chunks/{Switch-BDbPgMBM.js → Switch-hhn2FD0T.js} +4 -4
  35. package/dist/cjs/chunks/{TabBar-D30fnZts.js → TabBar-DIQKTsGM.js} +9 -9
  36. package/dist/cjs/chunks/{TextArea-7Ae7ObSp.js → TextArea-BOj9zhbi.js} +3 -3
  37. package/dist/cjs/chunks/{TextField-DyczwDLg.js → TextField-DJYu-9le.js} +13 -18
  38. package/dist/cjs/chunks/{Tip-DYMB02-A.js → Tip-99AK0nJF.js} +3 -3
  39. package/dist/cjs/chunks/{Toast-DCBurEYu.js → Toast-Bff0E9cy.js} +14 -10
  40. package/dist/cjs/chunks/{ToggleButton-B_C5et_m.js → ToggleButton-rE3hAk9Y.js} +1 -1
  41. package/dist/cjs/chunks/{UploadArea-CSPRt0Mq.js → UploadArea-8TC2vEKQ.js} +8 -4
  42. package/dist/cjs/chunks/{Video-C7llXaDv.js → Video-RCjV8YIl.js} +3 -3
  43. package/dist/cjs/chunks/{VideoController-O-BsyFnJ.js → VideoController-DELbuJN3.js} +6 -6
  44. package/dist/cjs/chunks/{WSConnection-Dypd3e4R.js → WSConnection-CO9eOg8Z.js} +1 -1
  45. package/dist/cjs/chunks/{WebRTCConnection-BBxaTTbD.js → WebRTCConnection-CRVE6lTu.js} +1 -1
  46. package/dist/cjs/chunks/{browserChannelsStore-Y7zsrnV8.js → browserChannelsStore-BV2uJVeI.js} +2 -2
  47. package/dist/cjs/chunks/{localDBStore-LWl68wGD.js → localDBStore-BR-2nDv_.js} +2 -2
  48. package/dist/cjs/chunks/{microphoneStore-Bf3gZQQR.js → microphoneStore-C1Zp6UiP.js} +1 -1
  49. package/dist/cjs/chunks/{misc-BO_-R1om.js → misc-CmImf5jl.js} +1 -1
  50. package/dist/cjs/chunks/{sseStore-DDlXJ2mc.js → sseStore-CnQU9zYi.js} +3 -3
  51. package/dist/cjs/chunks/{uploads-worker-BMHcg5-W.js → uploads-worker-hKMYFfkr.js} +1 -1
  52. package/dist/cjs/chunks/{uploadsStore-D3RnoU3L.js → uploadsStore-D8GRqXd4.js} +2 -2
  53. package/dist/cjs/chunks/{viewState-D2U_fJaY.js → viewState-CcBwTZn8.js} +8 -8
  54. package/dist/cjs/chunks/{volumeStore-BWzyOw8D.js → volumeStore-DofQKsQb.js} +1 -1
  55. package/dist/cjs/chunks/{webRTCStore-BXp7R6oE.js → webRTCStore-CjsjPMWU.js} +2 -2
  56. package/dist/cjs/chunks/{windowStore-BYb1L705.js → windowStore-DmMud6Ne.js} +1 -1
  57. package/dist/cjs/components/AudioBubble/index.js +6 -6
  58. package/dist/cjs/components/Avatar/index.js +3 -3
  59. package/dist/cjs/components/AvatarGroup/index.js +3 -3
  60. package/dist/cjs/components/Badge/index.js +2 -2
  61. package/dist/cjs/components/Button/index.js +9 -9
  62. package/dist/cjs/components/ButtonBar/index.js +6 -6
  63. package/dist/cjs/components/Camera/index.js +8 -8
  64. package/dist/cjs/components/CheckBox/index.js +6 -6
  65. package/dist/cjs/components/Chip/index.js +7 -7
  66. package/dist/cjs/components/DataTable/index.js +7 -7
  67. package/dist/cjs/components/DivInput/index.js +3 -3
  68. package/dist/cjs/components/Dot/index.js +2 -2
  69. package/dist/cjs/components/DraggablePanel/index.js +6 -6
  70. package/dist/cjs/components/DropDown/index.js +6 -6
  71. package/dist/cjs/components/ErrorSummary/index.js +6 -6
  72. package/dist/cjs/components/FileIcon/index.js +6 -6
  73. package/dist/cjs/components/FileList/index.js +7 -7
  74. package/dist/cjs/components/FlexDiv/index.js +4 -3
  75. package/dist/cjs/components/Grouper/index.js +7 -7
  76. package/dist/cjs/components/Icon/index.js +6 -6
  77. package/dist/cjs/components/IconButton/index.js +9 -10
  78. package/dist/cjs/components/Label/index.js +3 -3
  79. package/dist/cjs/components/Level/index.js +4 -4
  80. package/dist/cjs/components/Modal/index.js +10 -10
  81. package/dist/cjs/components/ModalController/index.js +6 -6
  82. package/dist/cjs/components/Overlay/index.js +2 -2
  83. package/dist/cjs/components/Pager/index.js +3 -3
  84. package/dist/cjs/components/Progress/index.js +6 -6
  85. package/dist/cjs/components/PromptInput/index.js +10 -10
  86. package/dist/cjs/components/RadioButton/index.js +6 -6
  87. package/dist/cjs/components/RadioButtonList/index.js +7 -7
  88. package/dist/cjs/components/Slider/index.js +6 -6
  89. package/dist/cjs/components/Spacer/index.js +2 -2
  90. package/dist/cjs/components/Switch/index.js +2 -2
  91. package/dist/cjs/components/TabBar/index.js +9 -9
  92. package/dist/cjs/components/TextArea/index.js +10 -10
  93. package/dist/cjs/components/Textfield/index.js +10 -10
  94. package/dist/cjs/components/Tip/index.js +3 -3
  95. package/dist/cjs/components/Toast/index.js +7 -7
  96. package/dist/cjs/components/ToggleButton/index.js +10 -10
  97. package/dist/cjs/components/UploadArea/index.js +8 -8
  98. package/dist/cjs/components/Video/index.js +12 -13
  99. package/dist/cjs/components/VideoController/index.js +10 -10
  100. package/dist/cjs/hooks/useAudioRecorder.js +1 -1
  101. package/dist/cjs/hooks/useBindWebRTC.js +2 -2
  102. package/dist/cjs/hooks/useClipboard.js +2 -2
  103. package/dist/cjs/hooks/useInfiniteScroll.js +85 -0
  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 +7 -6
  108. package/dist/cjs/index.js +13 -12
  109. package/dist/cjs/providers/themeServer.test.js +1 -1
  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/activeTab.js +1 -1
  115. package/dist/cjs/stores/browserChannel.js +2 -2
  116. package/dist/cjs/stores/microphone.js +2 -2
  117. package/dist/cjs/stores/modal.js +1 -1
  118. package/dist/cjs/stores/tip.js +1 -1
  119. package/dist/cjs/stores/toast.js +1 -1
  120. package/dist/cjs/stores/uploads.js +2 -2
  121. package/dist/cjs/stores/video.js +1 -1
  122. package/dist/cjs/stores/volume.js +2 -2
  123. package/dist/cjs/stores/window.js +2 -2
  124. package/dist/cjs/stores.js +5 -5
  125. package/dist/cjs/theme/themes.js +13 -2
  126. package/dist/cjs/theme.js +2 -2
  127. package/dist/cjs/utils/index.js +2 -2
  128. package/dist/cjs/utils/objects/index.js +2 -2
  129. package/dist/cjs/workers/uploads/uploads.js +2 -2
  130. package/dist/esm/chunks/{AudioBubble-BMvVC5-0.mjs → AudioBubble-DwE50YGL.mjs} +7 -7
  131. package/dist/esm/chunks/{Avatar-Ce0nIuFe.mjs → Avatar-BdjtrRLS.mjs} +3 -3
  132. package/dist/esm/chunks/{AvatarGroup-DLqBXeB9.mjs → AvatarGroup-BM-jh9BQ.mjs} +2 -2
  133. package/dist/esm/chunks/{Badge-DKkqjW28.mjs → Badge-CHPL-h3Z.mjs} +1 -1
  134. package/dist/esm/chunks/{Button-Bq4xhoet.mjs → Button-YmXPZrPL.mjs} +10 -11
  135. package/dist/esm/chunks/{ButtonBar-BAqLCnso.mjs → ButtonBar-CKagtnCT.mjs} +3 -3
  136. package/dist/esm/chunks/{Camera-DJhp-3_t.mjs → Camera-CRDO4oL5.mjs} +9 -9
  137. package/dist/esm/chunks/{CheckBox-CL37t7_J.mjs → CheckBox-B-vtYku8.mjs} +3 -3
  138. package/dist/esm/chunks/{Chip-Bjg-ONP_.mjs → Chip-BUJmKr_n.mjs} +10 -8
  139. package/dist/esm/chunks/{DivInput-D6kq1bR0.mjs → DivInput-BQMy-OA9.mjs} +3 -3
  140. package/dist/esm/chunks/{Dot-D6uHXyGY.mjs → Dot-Bfl1kBUQ.mjs} +2 -2
  141. package/dist/esm/chunks/{DrggablePanel-25Wjbf_y.mjs → DrggablePanel-BuMnBc3u.mjs} +10 -8
  142. package/dist/esm/chunks/{DropDown-BiwdsV6m.mjs → DropDown-BsSvP2ji.mjs} +6 -6
  143. package/dist/esm/chunks/{ErrorSummary-BODIGAst.mjs → ErrorSummary-DMOWFhAu.mjs} +7 -7
  144. package/dist/esm/chunks/{FileIcon-CfS-TY-S.mjs → FileIcon-k4eYnLQv.mjs} +6 -6
  145. package/dist/esm/chunks/{FileList-DYvUHXyd.mjs → FileList-DeuwRbr1.mjs} +10 -9
  146. package/dist/esm/chunks/{FlexDiv-DIb3pmFo.mjs → FlexDiv-DODEbrMI.mjs} +6 -4
  147. package/dist/esm/chunks/{Grouper-CL5-Dk2U.mjs → Grouper-BPVjNabz.mjs} +7 -7
  148. package/dist/esm/chunks/{Icon-h1sVmLvI.mjs → Icon-BlQAJ0NV.mjs} +6 -6
  149. package/dist/esm/chunks/{IconButton-D9y0_8qs.mjs → IconButton-byqDhHLo.mjs} +8 -6
  150. package/dist/esm/chunks/{IndexedDB-DcKlcEts.mjs → IndexedDB-DUCWUJdN.mjs} +1 -1
  151. package/dist/esm/chunks/{Label-Cb1TNTGX.mjs → Label-DnHSkAZF.mjs} +6 -3
  152. package/dist/esm/chunks/{Level-Ce3F5ITs.mjs → Level-CV1kvx1V.mjs} +4 -4
  153. package/dist/esm/chunks/{Modal-uAJiitWq.mjs → Modal-CzxOSxwR.mjs} +7 -7
  154. package/dist/esm/chunks/{ModalController-CviD29p4.mjs → ModalController-C6P18AFg.mjs} +5 -5
  155. package/dist/esm/chunks/{Overlay-je9uxyF7.mjs → Overlay-CXGkHAtm.mjs} +1 -1
  156. package/dist/esm/chunks/{Pager-mEoJq77o.mjs → Pager-B5dbPb9x.mjs} +2 -2
  157. package/dist/esm/chunks/{ProgressIndicator-CklbjFdQ.mjs → ProgressIndicator-DvrIrgxu.mjs} +7 -7
  158. package/dist/esm/chunks/{PromptInput-B93xY5vK.mjs → PromptInput-BAyomDiu.mjs} +12 -13
  159. package/dist/esm/chunks/{RadioButton-n6q2k-ia.mjs → RadioButton-D6pFBLOS.mjs} +5 -5
  160. package/dist/esm/chunks/{RadioButtonList-CAJPqSTC.mjs → RadioButtonList-BpT9OaB1.mjs} +3 -3
  161. package/dist/esm/chunks/{Slider-By-9skcp.mjs → Slider-5sz0qeXF.mjs} +7 -7
  162. package/dist/esm/chunks/Spacer-gFflabIn.mjs +28 -0
  163. package/dist/esm/chunks/{Switch-DDyRtDnU.mjs → Switch-SXASJgaA.mjs} +4 -4
  164. package/dist/esm/chunks/{TabBar-BushFhfl.mjs → TabBar-BIuiRmrm.mjs} +14 -14
  165. package/dist/esm/chunks/{TextArea-BLum6rgj.mjs → TextArea-DbGoSQVo.mjs} +6 -4
  166. package/dist/esm/chunks/{TextField-C0V-4Lg1.mjs → TextField-BtrrxNNH.mjs} +17 -22
  167. package/dist/esm/chunks/{Tip-CCrn5riH.mjs → Tip-CNKUHvPz.mjs} +4 -4
  168. package/dist/esm/chunks/{Toast-DWhivCO9.mjs → Toast-udN4QBvW.mjs} +14 -12
  169. package/dist/esm/chunks/{ToggleButton-C_52LsVX.mjs → ToggleButton-Bu0h-627.mjs} +2 -2
  170. package/dist/esm/chunks/{UploadArea-DJxjadCV.mjs → UploadArea-CkF7ubsS.mjs} +11 -7
  171. package/dist/esm/chunks/{Video-DiuWxBAM.mjs → Video-CeHfRclT.mjs} +10 -8
  172. package/dist/esm/chunks/{VideoController-BWvCRNoR.mjs → VideoController-D0EXRyjT.mjs} +10 -10
  173. package/dist/esm/chunks/{WSConnection-nyuthu2w.mjs → WSConnection-n1TRftv9.mjs} +1 -1
  174. package/dist/esm/chunks/{WebRTCConnection-9m7x937g.mjs → WebRTCConnection-tvD_P75V.mjs} +1 -1
  175. package/dist/esm/chunks/{browserChannelsStore-smRS4Hid.mjs → browserChannelsStore-B-xC9TOO.mjs} +2 -2
  176. package/dist/esm/chunks/{localDBStore-ONbAby1P.mjs → localDBStore-CZslfcnT.mjs} +3 -3
  177. package/dist/esm/chunks/{microphoneStore-6qsb6eV0.mjs → microphoneStore-DkUZbjQU.mjs} +1 -1
  178. package/dist/esm/chunks/{misc-_71JTGbu.mjs → misc-DtngeJIC.mjs} +1 -1
  179. package/dist/esm/chunks/{sseStore-Cqbsz4ER.mjs → sseStore-D45Ex3w6.mjs} +3 -3
  180. package/dist/esm/chunks/{uploads-worker-D3JPUPSZ.mjs → uploads-worker-BuH0JRF9.mjs} +1 -1
  181. package/dist/esm/chunks/{uploadsStore-DE-A-CML.mjs → uploadsStore-BkOKmrJc.mjs} +1 -1
  182. package/dist/esm/chunks/{viewState-C34wAgGX.mjs → viewState-uX0vekU4.mjs} +11 -11
  183. package/dist/esm/chunks/{volumeStore-Bchda99E.mjs → volumeStore-CWqS-X0g.mjs} +1 -1
  184. package/dist/esm/chunks/{webRTCStore-0Fv3Wnrg.mjs → webRTCStore-BmyEouBv.mjs} +3 -3
  185. package/dist/esm/chunks/{windowStore-DcPWzksH.mjs → windowStore-Da3BCfMQ.mjs} +1 -1
  186. package/dist/esm/components/AudioBubble/index.mjs +9 -9
  187. package/dist/esm/components/Avatar/index.mjs +3 -3
  188. package/dist/esm/components/AvatarGroup/index.mjs +4 -4
  189. package/dist/esm/components/Badge/index.mjs +2 -2
  190. package/dist/esm/components/Button/index.mjs +13 -13
  191. package/dist/esm/components/ButtonBar/index.mjs +9 -9
  192. package/dist/esm/components/Camera/index.mjs +11 -11
  193. package/dist/esm/components/CheckBox/index.mjs +9 -9
  194. package/dist/esm/components/Chip/index.mjs +10 -10
  195. package/dist/esm/components/DataTable/index.mjs +10 -10
  196. package/dist/esm/components/DivInput/index.mjs +3 -3
  197. package/dist/esm/components/Dot/index.mjs +2 -2
  198. package/dist/esm/components/DraggablePanel/index.mjs +8 -8
  199. package/dist/esm/components/DropDown/index.mjs +9 -9
  200. package/dist/esm/components/ErrorSummary/index.mjs +8 -8
  201. package/dist/esm/components/FileIcon/index.mjs +8 -8
  202. package/dist/esm/components/FileList/index.mjs +11 -11
  203. package/dist/esm/components/FlexDiv/index.mjs +4 -2
  204. package/dist/esm/components/Grouper/index.mjs +10 -10
  205. package/dist/esm/components/Icon/index.mjs +9 -9
  206. package/dist/esm/components/IconButton/index.mjs +13 -13
  207. package/dist/esm/components/Label/index.mjs +3 -3
  208. package/dist/esm/components/Level/index.mjs +5 -5
  209. package/dist/esm/components/Modal/index.mjs +15 -15
  210. package/dist/esm/components/ModalController/index.mjs +9 -9
  211. package/dist/esm/components/Overlay/index.mjs +2 -2
  212. package/dist/esm/components/Pager/index.mjs +3 -3
  213. package/dist/esm/components/Progress/index.mjs +9 -9
  214. package/dist/esm/components/PromptInput/index.mjs +16 -16
  215. package/dist/esm/components/RadioButton/index.mjs +9 -9
  216. package/dist/esm/components/RadioButtonList/index.mjs +10 -10
  217. package/dist/esm/components/Slider/index.mjs +9 -9
  218. package/dist/esm/components/Spacer/index.mjs +2 -2
  219. package/dist/esm/components/Switch/index.mjs +2 -2
  220. package/dist/esm/components/TabBar/index.mjs +13 -13
  221. package/dist/esm/components/TextArea/index.mjs +15 -15
  222. package/dist/esm/components/Textfield/index.mjs +15 -15
  223. package/dist/esm/components/Tip/index.mjs +3 -3
  224. package/dist/esm/components/Toast/index.mjs +10 -10
  225. package/dist/esm/components/ToggleButton/index.mjs +15 -15
  226. package/dist/esm/components/UploadArea/index.mjs +12 -12
  227. package/dist/esm/components/Video/index.mjs +20 -20
  228. package/dist/esm/components/VideoController/index.mjs +15 -15
  229. package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
  230. package/dist/esm/hooks/useBindWebRTC.mjs +6 -6
  231. package/dist/esm/hooks/useClipboard.mjs +3 -3
  232. package/dist/esm/hooks/useInfiniteScroll.mjs +86 -0
  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 +10 -8
  237. package/dist/esm/index.mjs +61 -59
  238. package/dist/esm/providers/themeServer.test.mjs +1 -1
  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/activeTab.mjs +1 -1
  244. package/dist/esm/stores/browserChannel.mjs +3 -3
  245. package/dist/esm/stores/microphone.mjs +2 -2
  246. package/dist/esm/stores/modal.mjs +1 -1
  247. package/dist/esm/stores/tip.mjs +1 -1
  248. package/dist/esm/stores/toast.mjs +1 -1
  249. package/dist/esm/stores/uploads.mjs +3 -3
  250. package/dist/esm/stores/video.mjs +1 -1
  251. package/dist/esm/stores/volume.mjs +2 -2
  252. package/dist/esm/stores/window.mjs +2 -2
  253. package/dist/esm/stores.mjs +19 -19
  254. package/dist/esm/theme/themes.mjs +13 -2
  255. package/dist/esm/theme.mjs +1 -1
  256. package/dist/esm/utils/index.mjs +12 -12
  257. package/dist/esm/utils/objects/index.mjs +8 -8
  258. package/dist/esm/workers/uploads/uploads.mjs +2 -2
  259. package/dist/styles.css +2020 -2003
  260. package/dist/types/components/Button/Button.d.ts +2 -2
  261. package/dist/types/components/Button/_types.d.ts +1 -1
  262. package/dist/types/components/Chip/_types.d.ts +1 -1
  263. package/dist/types/components/DivInput/_types.d.ts +2 -2
  264. package/dist/types/components/DraggablePanel/DrggablePanel.d.ts +1 -1
  265. package/dist/types/components/DropDown/_types.d.ts +1 -1
  266. package/dist/types/components/FlexDiv/FlexDiv.d.ts +2 -2
  267. package/dist/types/components/FlexDiv/_types.d.ts +1 -1
  268. package/dist/types/components/IconButton/_types.d.ts +1 -1
  269. package/dist/types/components/Label/_types.d.ts +1 -1
  270. package/dist/types/components/PromptInput/PromptInput.d.ts +2 -2
  271. package/dist/types/components/PromptInput/_types.d.ts +1 -1
  272. package/dist/types/components/Spacer/_types.d.ts +2 -1
  273. package/dist/types/components/TextArea/_types.d.ts +1 -1
  274. package/dist/types/components/Tip/_types.d.ts +2 -2
  275. package/dist/types/hooks/index.d.ts +1 -0
  276. package/dist/types/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +25 -0
  277. package/dist/types/hooks/useInfiniteScroll/useInfiniteScroll.test.d.ts +1 -0
  278. package/dist/types/index.d.ts +1 -0
  279. package/dist/types/theme/index.d.ts +2 -0
  280. package/dist/types/theme/spacing/_types.d.ts +10 -0
  281. package/dist/types/theme/spacing/spacing.d.ts +2 -0
  282. package/dist/types/theme/themes.d.ts +2 -0
  283. package/package.json +5 -4
  284. package/dist/cjs/chunks/Spacer-FeOx0maU.js +0 -19
  285. package/dist/esm/chunks/Spacer-BalkC0Ns.mjs +0 -21
  286. /package/dist/cjs/chunks/{MdStreamBuffer-C6Mzzrho.js → MdStreamBuffer-_OrgRfVG.js} +0 -0
  287. /package/dist/cjs/chunks/{SSEConnection-DEaAZZK4.js → SSEConnection-CbOe_JNB.js} +0 -0
  288. /package/dist/cjs/chunks/{_types-C_ivnCLo.js → _types-wkoWD0Y3.js} +0 -0
  289. /package/dist/cjs/chunks/{activeTabStore-DGx1oDlt.js → activeTabStore-CGvD6cav.js} +0 -0
  290. /package/dist/cjs/chunks/{audioVisualizer-CWwGpDKy.js → audioVisualizer-C-MOIbKC.js} +0 -0
  291. /package/dist/cjs/chunks/{broadcastChannel-DsiOkXOS.js → broadcastChannel-CweolKkH.js} +0 -0
  292. /package/dist/cjs/chunks/{colors-8UgFzWG3.js → colors-CmnEtiBL.js} +0 -0
  293. /package/dist/cjs/chunks/{debounce-WThsNCy_.js → debounce-BZaLjB2V.js} +0 -0
  294. /package/dist/cjs/chunks/{magic-string.es-BJ7Aj4k6.js → magic-string.es-CSldRwCx.js} +0 -0
  295. /package/dist/cjs/chunks/{modalStore-Cf7zIYDq.js → modalStore-cZUYwRGj.js} +0 -0
  296. /package/dist/cjs/chunks/{rafThrottle-Bz-dXvba.js → rafThrottle-BOry0ZTC.js} +0 -0
  297. /package/dist/cjs/chunks/{sharedTypes-CfscXKNK.js → sharedTypes-0pou-NPE.js} +0 -0
  298. /package/dist/cjs/chunks/{tipStore-NsUC8M9o.js → tipStore-CuYu0vqF.js} +0 -0
  299. /package/dist/cjs/chunks/{toastStore-QggWGMbD.js → toastStore-C13kXzXk.js} +0 -0
  300. /package/dist/cjs/chunks/{tslib.es6-DJn-UVEV.js → tslib.es6-71Jftlb2.js} +0 -0
  301. /package/dist/cjs/chunks/{videoStore-KWc_xF8H.js → videoStore-EhK3IQSb.js} +0 -0
  302. /package/dist/esm/chunks/{MdStreamBuffer-RTcKc6kb.mjs → MdStreamBuffer-C3dFJJ3U.mjs} +0 -0
  303. /package/dist/esm/chunks/{SSEConnection-5K8PW_M0.mjs → SSEConnection-DkGC07fu.mjs} +0 -0
  304. /package/dist/esm/chunks/{_types-BcB7rRaG.mjs → _types-DP1g8sZi.mjs} +0 -0
  305. /package/dist/esm/chunks/{activeTabStore-J_rS7nDK.mjs → activeTabStore-aDjOVZ_V.mjs} +0 -0
  306. /package/dist/esm/chunks/{audioVisualizer-B-dLbWMF.mjs → audioVisualizer-BwIDqL-t.mjs} +0 -0
  307. /package/dist/esm/chunks/{broadcastChannel-B-jhrR3a.mjs → broadcastChannel-QIWda6rB.mjs} +0 -0
  308. /package/dist/esm/chunks/{colors-BX0EXrOS.mjs → colors-B_YmJkkL.mjs} +0 -0
  309. /package/dist/esm/chunks/{debounce-B79xfyrw.mjs → debounce-CuT6TUcG.mjs} +0 -0
  310. /package/dist/esm/chunks/{magic-string.es-9DU4z85h.mjs → magic-string.es-ya4sZF4A.mjs} +0 -0
  311. /package/dist/esm/chunks/{modalStore-BsEzx_f6.mjs → modalStore-BloNa5y6.mjs} +0 -0
  312. /package/dist/esm/chunks/{rafThrottle-D2dyeVut.mjs → rafThrottle-CA0kPebe.mjs} +0 -0
  313. /package/dist/esm/chunks/{sharedTypes-CmJ2hQtY.mjs → sharedTypes-BFgEbKnN.mjs} +0 -0
  314. /package/dist/esm/chunks/{tipStore-SYcEa33e.mjs → tipStore-DnHV2nLl.mjs} +0 -0
  315. /package/dist/esm/chunks/{toastStore-CX52_jj2.mjs → toastStore-DURM_fWk.mjs} +0 -0
  316. /package/dist/esm/chunks/{tslib.es6-CE_8mdQi.mjs → tslib.es6-CV__4jU7.mjs} +0 -0
  317. /package/dist/esm/chunks/{videoStore-CBfvbDcQ.mjs → videoStore-DzD6pFQl.mjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
@@ -7,15 +7,17 @@ import { motion } from "motion/react";
7
7
 
8
8
  import React, { useRef, useState, useEffect, useCallback, useMemo } from "react";
9
9
 
10
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
11
+
10
12
  import { corners } from "../theme/corners.mjs";
11
13
 
12
- import { B as Badge } from "./Badge-DKkqjW28.mjs";
14
+ import { B as Badge } from "./Badge-CHPL-h3Z.mjs";
13
15
 
14
- import { D as Dot } from "./Dot-D6uHXyGY.mjs";
16
+ import { D as Dot } from "./Dot-Bfl1kBUQ.mjs";
15
17
 
16
- import { I as Icon } from "./Icon-h1sVmLvI.mjs";
18
+ import { I as Icon } from "./Icon-BlQAJ0NV.mjs";
17
19
 
18
- import { T as ToolTipType } from "./sharedTypes-CmJ2hQtY.mjs";
20
+ import { T as ToolTipType } from "./sharedTypes-BFgEbKnN.mjs";
19
21
 
20
22
  var AnimationPreset, AnimationType, css_button = "IconButton-module_button__rziqa flexBox-module_row__z24tF", css_label = "IconButton-module_label__qWGFD flexBox-module_row__z24tF type-module_body-l-regular__lOYbg", css_icon = "IconButton-module_icon__2DDWy flexBox-module_row__z24tF", css_count = "IconButton-module_count__6r373 flexBox-module_row__z24tF";
21
23
 
@@ -134,7 +136,7 @@ const presetAnimation = {
134
136
  "--ib-bg-color-hover": disabled ? bgColorNormal : bgHoverColor,
135
137
  "--ib-icon-size": `${null != iconSize ? iconSize : 0}px`,
136
138
  "--ib-button-size": `${null != size ? size : 0}px`,
137
- "--ib-border-radius": round ? "100%" : `${null != borderRadius ? borderRadius : 0}px`,
139
+ "--ib-border-radius": round ? "100%" : setStyle(borderRadius, corners["corner-none"]),
138
140
  "--ib-border": border ? "1px" : 0,
139
141
  "--ib-color": textColor,
140
142
  "--ib-cursor": disabled ? "default" : "pointer"
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter } from "./tslib.es6-CE_8mdQi.mjs";
1
+ import { _ as __awaiter } from "./tslib.es6-CV__4jU7.mjs";
2
2
 
3
3
  class IndexedDB {
4
4
  constructor(storeName, options = {}) {
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
6
6
  import { useCallback, useMemo } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-_71JTGbu.mjs";
8
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
9
9
 
10
10
  import { corners } from "../theme/corners.mjs";
11
11
 
@@ -80,7 +80,10 @@ function Label(props) {
80
80
  default:
81
81
  return "var(--core-surface-primary)";
82
82
  }
83
- }, [ resolvedBackgroundColor, borderColor ]), setPadding = useMemo(() => padding ? setStyle(padding) : "2px 4px", [ padding ]), cssVars = useMemo(() => ({
83
+ }, [ resolvedBackgroundColor, borderColor ]), setPadding = useMemo(() => {
84
+ if (null != padding) return "number" == typeof padding ? `${padding}px` : padding;
85
+ return `var(--spacing-xxs) ${"xs" === textSize || "s" === textSize ? "var(--spacing-xs)" : "var(--spacing-s)"}`;
86
+ }, [ padding, textSize ]), cssVars = useMemo(() => ({
84
87
  "--label-padding": setPadding,
85
88
  "--label-border-radius": setStyle(borderRadius),
86
89
  "--label-cursor": onClick ? "pointer" : "default",
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -7,11 +7,11 @@ import React, { useRef, useState, useMemo, useEffect } from "react";
7
7
 
8
8
  import { corners } from "../theme/corners.mjs";
9
9
 
10
- import { s as setStyle } from "./misc-_71JTGbu.mjs";
10
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
11
11
 
12
- import { A as AudioVisualizer } from "./audioVisualizer-B-dLbWMF.mjs";
12
+ import { A as AudioVisualizer } from "./audioVisualizer-BwIDqL-t.mjs";
13
13
 
14
- import "./broadcastChannel-B-jhrR3a.mjs";
14
+ import "./broadcastChannel-QIWda6rB.mjs";
15
15
 
16
16
  var css_wrapper = "Level-module_wrapper__yOfXw", css_barContainer = "Level-module_barContainer__QMUdv", css_bar = "Level-module_bar__MnApX";
17
17
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
@@ -7,13 +7,13 @@ import React, { useRef, useState, useCallback, useMemo, useEffect } from "react"
7
7
 
8
8
  import { corners } from "../theme/corners.mjs";
9
9
 
10
- import { s as setStyle } from "./misc-_71JTGbu.mjs";
10
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
11
11
 
12
- import { B as Button } from "./Button-Bq4xhoet.mjs";
12
+ import { B as Button } from "./Button-YmXPZrPL.mjs";
13
13
 
14
- import { I as Icon } from "./Icon-h1sVmLvI.mjs";
14
+ import { I as Icon } from "./Icon-BlQAJ0NV.mjs";
15
15
 
16
- import { I as IconButton } from "./IconButton-D9y0_8qs.mjs";
16
+ import { I as IconButton } from "./IconButton-byqDhHLo.mjs";
17
17
 
18
18
  var css = {
19
19
  wrapper: "Modal-module_wrapper__34Hds flexBox-module_columnBetween__ERfp7",
@@ -42,7 +42,7 @@ const Modal = React.memo(props => {
42
42
  if ("string" == typeof padding) {
43
43
  return padding.split(" ")[0];
44
44
  }
45
- return setStyle(padding, "16px");
45
+ return setStyle(padding, "var(--spacing-m)");
46
46
  }
47
47
  return "0";
48
48
  }, [ scrolls, padding, autoBorderBottom ]), cssVars = useMemo(() => ({
@@ -54,7 +54,7 @@ const Modal = React.memo(props => {
54
54
  "--modal-title-color": titleColor,
55
55
  "--modal-border-radius": setStyle(borderRadius),
56
56
  "--modal-border-width": setStyle(borderWidth),
57
- "--modal-padding": setStyle(padding, "16px 24px"),
57
+ "--modal-padding": setStyle(padding, "var(--spacing-m) var(--spacing-l)"),
58
58
  "--modal-background-color": backgroundColor,
59
59
  "--modal-title-border-color": titleBorderColor,
60
60
  "--modal-title-border-width": setStyle(titleBorderWidth),
@@ -5,15 +5,15 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
5
5
 
6
6
  import { useRef } from "react";
7
7
 
8
- import "./microphoneStore-6qsb6eV0.mjs";
8
+ import "./microphoneStore-DkUZbjQU.mjs";
9
9
 
10
- import "./volumeStore-Bchda99E.mjs";
10
+ import "./volumeStore-CWqS-X0g.mjs";
11
11
 
12
- import "./webRTCStore-0Fv3Wnrg.mjs";
12
+ import "./webRTCStore-BmyEouBv.mjs";
13
13
 
14
- import { O as Overlay } from "./Overlay-je9uxyF7.mjs";
14
+ import { O as Overlay } from "./Overlay-CXGkHAtm.mjs";
15
15
 
16
- import { u as useModal, a as useModalActions } from "./modalStore-BsEzx_f6.mjs";
16
+ import { u as useModal, a as useModalActions } from "./modalStore-BloNa5y6.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-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.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-_71JTGbu.mjs";
8
+ import { a as accessibleKeyDown } from "./misc-DtngeJIC.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-CE_8mdQi.mjs";
12
+ import { a as __rest } from "./tslib.es6-CV__4jU7.mjs";
13
13
 
14
- import "./broadcastChannel-B-jhrR3a.mjs";
14
+ import "./broadcastChannel-QIWda6rB.mjs";
15
15
 
16
- import "./webRTCStore-0Fv3Wnrg.mjs";
16
+ import "./webRTCStore-BmyEouBv.mjs";
17
17
 
18
- import "./microphoneStore-6qsb6eV0.mjs";
18
+ import "./microphoneStore-DkUZbjQU.mjs";
19
19
 
20
- import "./volumeStore-Bchda99E.mjs";
20
+ import "./volumeStore-CWqS-X0g.mjs";
21
21
 
22
22
  import "../hooks/useWindow.mjs";
23
23
 
24
- import { I as Icon } from "./Icon-h1sVmLvI.mjs";
24
+ import { I as Icon } from "./Icon-BlQAJ0NV.mjs";
25
25
 
26
26
  import { AnimatePresence, motion } from "motion/react";
27
27
 
@@ -67,7 +67,7 @@ const DoneCheck = React.memo(props => {
67
67
  var css_container = "ProgressIndicator-module_container__pW2gW flexBox-module_column__ezvMq";
68
68
 
69
69
  function ProgressIndicator(props) {
70
- const theme = useTheme(), {size: size = 20, inset: inset = !0, secondsPerSpin: secondsPerSpin = 1, show: show = !1, color: color = theme.current.colors["core-icon-primary"], stroke: stroke = 1.5, inline: inline = !1, duration: duration, didStart: didStart = () => null, didStop: didStop = () => null} = props, divAttributes = __rest(props, [ "size", "inset", "secondsPerSpin", "show", "color", "stroke", "inline", "duration", "didStart", "didStop" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [playing, setPlaying] = useState(show), gradientId = useId().replace(/:/g, ""), timer = useRef(null);
70
+ const theme = useTheme(), {size: size = 20, inset: inset = !0, secondsPerSpin: secondsPerSpin = 1, show: show = !1, color: color = theme.current.colors["core-text-primary"], stroke: stroke = 1.5, inline: inline = !1, duration: duration, didStart: didStart = () => null, didStop: didStop = () => null} = props, divAttributes = __rest(props, [ "size", "inset", "secondsPerSpin", "show", "color", "stroke", "inline", "duration", "didStart", "didStop" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [playing, setPlaying] = useState(show), gradientId = useId().replace(/:/g, ""), timer = useRef(null);
71
71
  useEffect(() => (show ? (setPlaying(!0), didStart(), duration && (timer.current = setTimeout(() => {
72
72
  setPlaying(!1), didStop();
73
73
  }, 1e3 * duration))) : (setPlaying(!1), didStop()), () => {
@@ -11,30 +11,29 @@ import { corners } from "../theme/corners.mjs";
11
11
 
12
12
  import "../theme/type.mjs";
13
13
 
14
- import "./tslib.es6-CE_8mdQi.mjs";
14
+ import "./tslib.es6-CV__4jU7.mjs";
15
15
 
16
- import { s as setStyle } from "./misc-_71JTGbu.mjs";
16
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
17
17
 
18
- import "./broadcastChannel-B-jhrR3a.mjs";
18
+ import "./broadcastChannel-QIWda6rB.mjs";
19
19
 
20
- import "./webRTCStore-0Fv3Wnrg.mjs";
20
+ import "./webRTCStore-BmyEouBv.mjs";
21
21
 
22
- import "./microphoneStore-6qsb6eV0.mjs";
22
+ import "./microphoneStore-DkUZbjQU.mjs";
23
23
 
24
- import "./volumeStore-Bchda99E.mjs";
24
+ import "./volumeStore-CWqS-X0g.mjs";
25
25
 
26
26
  import "../hooks/useWindow.mjs";
27
27
 
28
- import { B as Button } from "./Button-Bq4xhoet.mjs";
28
+ import { B as Button } from "./Button-YmXPZrPL.mjs";
29
29
 
30
- import { F as FileList } from "./FileList-DYvUHXyd.mjs";
30
+ import { F as FileList } from "./FileList-DeuwRbr1.mjs";
31
31
 
32
32
  var css = {
33
33
  wrapperBg: "PromptInput-module_wrapperBg__zabZq flexBox-module_columnStart__C7P44",
34
34
  bgRotate: "PromptInput-module_bgRotate__Um720",
35
35
  textareaWrapper: "PromptInput-module_textareaWrapper__KusiV flexBox-module_columnStart__C7P44",
36
36
  attachments: "PromptInput-module_attachments__rqgY1 flexBox-module_rowStart__4tcxS",
37
- clear: "PromptInput-module_clear__MFroM flexBox-module_row__z24tF",
38
37
  buttonBar: "PromptInput-module_buttonBar__X8LDe flexBox-module_rowBetween__5FEvi",
39
38
  toolBar: "PromptInput-module_toolBar__GBvPT flexBox-module_rowStart__4tcxS",
40
39
  textarea: "PromptInput-module_textarea__e4Kxn",
@@ -93,7 +92,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
93
92
  }, [ focused ]), useEffect(() => {
94
93
  setTextValue(value);
95
94
  }, [ value ]);
96
- const cssVars = useMemo(() => ({
95
+ const innerBorderRadius = useMemo(() => "number" == typeof borderRadius ? `${Math.max(borderRadius - 1, 0)}px` : `calc(${setStyle(borderRadius)} - 1px)`, [ borderRadius ]), cssVars = useMemo(() => ({
97
96
  "--prompt-width": setStyle(width),
98
97
  "--prompt-min-width": setStyle(minWidth, "unset"),
99
98
  "--prompt-max-width": setStyle(maxWidth, "unset"),
@@ -101,9 +100,9 @@ const PromptInputBase = React.forwardRef((props, ref) => {
101
100
  "--prompt-max-height": maxHeight ? `${maxHeight}px` : "unset",
102
101
  "--prompt-border-width": borderWidth ? `${borderWidth}px` : "0",
103
102
  "--prompt-state": working && borderAnimate ? "running" : "paused",
104
- "--prompt-border-radius": borderRadius ? `${borderRadius}px` : "8px",
105
- "--prompt-inner-border-radius": borderRadius ? borderRadius - 1 + "px" : "7px"
106
- }), [ working, borderAnimate, setBorderColor, borderWidth, borderRadius, maxHeight, width, maxWidth, minWidth ]);
103
+ "--prompt-border-radius": setStyle(borderRadius),
104
+ "--prompt-inner-border-radius": innerBorderRadius
105
+ }), [ working, borderAnimate, setBorderColor, borderWidth, borderRadius, innerBorderRadius, maxHeight, width, maxWidth, minWidth ]);
107
106
  return jsx("div", {
108
107
  className: css.wrapperBg,
109
108
  ref: ref,
@@ -1,13 +1,13 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.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-_71JTGbu.mjs";
8
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
9
9
 
10
- import { I as Icon } from "./Icon-h1sVmLvI.mjs";
10
+ import { I as Icon } from "./Icon-BlQAJ0NV.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
 
@@ -23,11 +23,11 @@ function RadioButtonComponent(props) {
23
23
  }, [ isSelected, deselect, onChange, fieldName, label, value ]), setAriaLabel = useMemo(() => label || (children && "string" == typeof children ? children : "Radio Button"), [ label, children ]), setIconColor = useMemo(() => iconColor || "var(--core-text-primary)", [ iconColor ]), iconName = useMemo(() => isSelected ? checkedIcon : icon, [ isSelected, checkedIcon, icon ]), setFlex = useMemo(() => list ? "unset" : wrap ? "40%" : "1", [ list, wrap ]), cssVars = useMemo(() => ({
24
24
  "--rb-max-width": wrap ? "50%" : "100%",
25
25
  "--rb-flex": setFlex,
26
- "--rb-padding": noFrame ? "0" : "8px 16px 8px 10px",
26
+ "--rb-padding": noFrame ? "0" : hideRadio ? "var(--spacing-s) var(--spacing-m)" : "var(--spacing-s) var(--spacing-m) var(--spacing-s) calc(var(--spacing-m) - var(--spacing-xs))",
27
27
  "--rb-bg": !noFrame && isSelected ? "var(--core-surface-secondary)" : "transparent",
28
28
  "--rb-border": noFrame ? "none" : "1px solid var(--core-outline-primary)",
29
29
  "--rb-gap": setStyle(gap)
30
- }), [ setFlex, isSelected, wrap, noFrame, gap ]);
30
+ }), [ setFlex, isSelected, wrap, noFrame, hideRadio, gap ]);
31
31
  return jsxs("button", Object.assign({
32
32
  id: divId,
33
33
  type: "button",
@@ -1,13 +1,13 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.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-_71JTGbu.mjs";
8
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
9
9
 
10
- import { R as RadioButton } from "./RadioButton-n6q2k-ia.mjs";
10
+ import { R as RadioButton } from "./RadioButton-D6pFBLOS.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-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.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-_71JTGbu.mjs";
12
+ import { p as pointerPosition } from "./misc-DtngeJIC.mjs";
13
13
 
14
- import { d as debounce } from "./debounce-B79xfyrw.mjs";
14
+ import { d as debounce } from "./debounce-CuT6TUcG.mjs";
15
15
 
16
- import "./broadcastChannel-B-jhrR3a.mjs";
16
+ import "./broadcastChannel-QIWda6rB.mjs";
17
17
 
18
- import "./webRTCStore-0Fv3Wnrg.mjs";
18
+ import "./webRTCStore-BmyEouBv.mjs";
19
19
 
20
- import "./microphoneStore-6qsb6eV0.mjs";
20
+ import "./microphoneStore-DkUZbjQU.mjs";
21
21
 
22
- import "./volumeStore-Bchda99E.mjs";
22
+ import "./volumeStore-CWqS-X0g.mjs";
23
23
 
24
24
  import "../hooks/useWindow.mjs";
25
25
 
@@ -0,0 +1,28 @@
1
+ 'use client';
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.mjs";
3
+
4
+ import { jsx } from "react/jsx-runtime";
5
+
6
+ import React, { useMemo } from "react";
7
+
8
+ const Spacer = React.memo(props => {
9
+ const {size: size = "s"} = props, divAttributes = __rest(props, [ "size" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), spacerStyle = useMemo(() => {
10
+ const dimension = `var(--spacing-${size})`;
11
+ return {
12
+ width: dimension,
13
+ minWidth: dimension,
14
+ maxWidth: dimension,
15
+ height: dimension,
16
+ minHeight: dimension,
17
+ maxHeight: dimension,
18
+ flexShrink: 0
19
+ };
20
+ }, [ size ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "";
21
+ return jsx("div", Object.assign({
22
+ id: divId,
23
+ className: divClass.trim(),
24
+ style: Object.assign(Object.assign({}, divStyle), spacerStyle)
25
+ }, rest));
26
+ });
27
+
28
+ export { Spacer as S };
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.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 = "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;
13
+ const {fieldName: fieldName, state: state = !1, value: value, height: height = 22, width: width = 44, padding: padding, 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 ]);
@@ -19,8 +19,8 @@ function SwitchComponent(props) {
19
19
  }, [ on, onChange, value ]), cssVars = useMemo(() => ({
20
20
  "--switch-width": `${width}px`,
21
21
  "--switch-height": `${height}px`,
22
- "--switch-padding": `${padding}px`,
23
- "--switch-knob-size": height - 2 * padding + "px",
22
+ "--switch-padding": void 0 === padding ? "var(--spacing-xxs)" : `${padding}px`,
23
+ "--switch-knob-size": "calc(var(--switch-height) - var(--switch-padding) * 2)",
24
24
  "--switch-knob-color": knobColor,
25
25
  "--switch-bg-color": on ? resolvedBackgroundColorOn : resolvedBackgroundColorOff
26
26
  }), [ width, height, padding, resolvedBackgroundColorOff, resolvedBackgroundColorOn, on, knobColor ]), justify = useMemo(() => ({
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.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-_71JTGbu.mjs";
14
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
15
15
 
16
- import "./broadcastChannel-B-jhrR3a.mjs";
16
+ import "./broadcastChannel-QIWda6rB.mjs";
17
17
 
18
- import "./webRTCStore-0Fv3Wnrg.mjs";
18
+ import "./webRTCStore-BmyEouBv.mjs";
19
19
 
20
- import "./microphoneStore-6qsb6eV0.mjs";
20
+ import "./microphoneStore-DkUZbjQU.mjs";
21
21
 
22
- import "./volumeStore-Bchda99E.mjs";
22
+ import "./volumeStore-CWqS-X0g.mjs";
23
23
 
24
24
  import "../hooks/useWindow.mjs";
25
25
 
26
- import { B as Badge } from "./Badge-DKkqjW28.mjs";
26
+ import { B as Badge } from "./Badge-CHPL-h3Z.mjs";
27
27
 
28
- import { I as Icon } from "./Icon-h1sVmLvI.mjs";
28
+ import { I as Icon } from "./Icon-BlQAJ0NV.mjs";
29
29
 
30
- import { I as IconButton } from "./IconButton-D9y0_8qs.mjs";
30
+ import { I as IconButton } from "./IconButton-byqDhHLo.mjs";
31
31
 
32
- import { T as ToolTipType } from "./sharedTypes-CmJ2hQtY.mjs";
32
+ import { T as ToolTipType } from "./sharedTypes-BFgEbKnN.mjs";
33
33
 
34
34
  var css = {
35
35
  wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
@@ -53,7 +53,7 @@ const placeholderOptions = [ {
53
53
  value: "Option 2",
54
54
  icon: "moon full"
55
55
  } ], TabBar = React.memo(props => {
56
- const {options: options = placeholderOptions, selected: selected = 0, border: border = !0, underline: underline = !0, height: height = "100%", width: width = "100%", tabWidth: tabWidth = "fill", padding: padding = 8, iconFill: iconFill = !1, iconSize: iconSize = 20, iconGap: iconGap = 8, tabGap: tabGap = 0, disabled: disabled = !1, hasClose: hasClose = !1, closeWidth: closeWidth = "auto", selectedValue: selectedValue = null, justify: justify = "start", borderColor: borderColor = "var(--core-outline-secondary)", textSize: textSize = "m", onChange: onChange = () => null, onTabChange: onTabChange = () => null, onClose: onClose = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "options", "selected", "border", "underline", "height", "width", "tabWidth", "padding", "iconFill", "iconSize", "iconGap", "tabGap", "disabled", "hasClose", "closeWidth", "selectedValue", "justify", "borderColor", "textSize", "onChange", "onTabChange", "onClose", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [index, setIndex] = useState(selected), optionRefs = useRef([]);
56
+ const {options: options = placeholderOptions, selected: selected = 0, border: border = !0, underline: underline = !0, height: height = "100%", width: width = "100%", tabWidth: tabWidth = "fill", padding: padding = "var(--spacing-s)", iconFill: iconFill = !1, iconSize: iconSize = 20, iconGap: iconGap = 8, tabGap: tabGap = 0, disabled: disabled = !1, hasClose: hasClose = !1, closeWidth: closeWidth = "auto", selectedValue: selectedValue = null, justify: justify = "start", borderColor: borderColor = "var(--core-outline-secondary)", textSize: textSize = "m", onChange: onChange = () => null, onTabChange: onTabChange = () => null, onClose: onClose = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "options", "selected", "border", "underline", "height", "width", "tabWidth", "padding", "iconFill", "iconSize", "iconGap", "tabGap", "disabled", "hasClose", "closeWidth", "selectedValue", "justify", "borderColor", "textSize", "onChange", "onTabChange", "onClose", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [index, setIndex] = useState(selected), optionRefs = useRef([]);
57
57
  useEffect(() => {
58
58
  let selectedIndex = 0;
59
59
  selectedValue && options ? (selectedIndex = options.findIndex(option => option.value === selectedValue),
@@ -118,7 +118,7 @@ const placeholderOptions = [ {
118
118
  "--tab-bar-border-color": borderColor,
119
119
  "--tab-bar-justify": justify,
120
120
  "--tab-bar-close-width": `${closeWidth}px`,
121
- "--tab-bar-close-padding": setStyle(padding, "8px")
121
+ "--tab-bar-close-padding": setStyle(padding, "var(--spacing-s)")
122
122
  }), [ tabGap, height, width, border, closeWidth, padding, borderColor, justify ]);
123
123
  return jsxs("div", Object.assign({
124
124
  id: divId,
@@ -145,7 +145,7 @@ const placeholderOptions = [ {
145
145
  TabBar.displayName = "TabBar";
146
146
 
147
147
  const Option = React.memo(props => {
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 => {
148
+ const theme = useTheme(), {name: name = "Option", index: index = 0, icon: icon = null, selected: selected = !1, onClick: onClick = () => null, onToolTip: onToolTip = () => null, padding: padding = "var(--spacing-s)", 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
149
  if (onToolTip(null), toolTip && ref.current) {
150
150
  const tip = {
151
151
  type: ToolTipType.button,
@@ -162,7 +162,7 @@ const Option = React.memo(props => {
162
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
- "--tab-bar-option-padding": setStyle(padding, "8px"),
165
+ "--tab-bar-option-padding": setStyle(padding, "var(--spacing-s)"),
166
166
  "--tab-bar-option-icon-size": `${iconSize}px`,
167
167
  "--tab-bar-option-cursor": disabled ? "default" : "pointer",
168
168
  "--tab-bar-option-gap": `${null != iconGap ? iconGap : 0}px`,
@@ -1,18 +1,20 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-CE_8mdQi.mjs";
2
+ import { a as __rest } from "./tslib.es6-CV__4jU7.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 { s as setStyle } from "./misc-DtngeJIC.mjs";
9
+
8
10
  import { corners } from "../theme/corners.mjs";
9
11
 
10
- import { B as Button } from "./Button-Bq4xhoet.mjs";
12
+ import { B as Button } from "./Button-YmXPZrPL.mjs";
11
13
 
12
14
  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";
13
15
 
14
16
  const TextArea = React.memo(props => {
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 = {
17
+ 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 = "var(--spacing-m)", error: error = !1, resizable: resizable = !0, hasSend: hasSend = !1, sendOffset: sendOffset = {
16
18
  bottom: 10,
17
19
  right: 10
18
20
  }, 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(() => {
@@ -37,7 +39,7 @@ const TextArea = React.memo(props => {
37
39
  returnSubmits && "Enter" === e.key && (e.preventDefault(), e.stopPropagation(),
38
40
  handleSubmit(void 0)), onKeyDown(e);
39
41
  }, [ returnSubmits, handleSubmit, onKeyDown ]), setStyleValue = useCallback(value => "string" == typeof value ? value : `${value}px`, []), setBorderColor = useMemo(() => border && isFocused ? "var(--core-link-primary)" : border && error ? "var(--feedback-warning)" : border ? "var(--core-outline-primary)" : "transparent", [ isFocused, error, border ]), textClassName = useMemo(() => "xs" === textSize ? css_xs : "l" === textSize ? css_l : "m" === textSize ? css_m : css_s, [ textSize ]), cssVars = useMemo(() => ({
40
- "--ta-border-radius": `${borderRadius}px`,
42
+ "--ta-border-radius": setStyle(borderRadius),
41
43
  "--ta-width": `${setStyleValue(width)}`,
42
44
  "--ta-min-width": minWidth ? `${minWidth}px` : "unset",
43
45
  "--ta-height": `${setStyleValue(height)}`,