@apple-pie/slice 0.1.33 → 0.1.35

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 (272) hide show
  1. package/dist/cjs/chunks/{AudioBubble-_eYM1QMu.js → AudioBubble-CSybA_ET.js} +4 -4
  2. package/dist/cjs/chunks/{Avatar-DTro_MXZ.js → Avatar-vhbPRhli.js} +1 -1
  3. package/dist/cjs/chunks/{AvatarGroup-OPJJ_Te5.js → AvatarGroup-BQ8evyuD.js} +1 -1
  4. package/dist/cjs/chunks/{Badge-DWUeXxm2.js → Badge-C6Yv-vZ7.js} +1 -1
  5. package/dist/cjs/chunks/{Button-CuGvPAkH.js → Button-DSFVBBSz.js} +5 -4
  6. package/dist/cjs/chunks/{ButtonBar-CbXToyfD.js → ButtonBar-BV57H5tK.js} +1 -1
  7. package/dist/cjs/chunks/{Camera-DjENiyud.js → Camera-UCBkxmIi.js} +5 -5
  8. package/dist/cjs/chunks/{CheckBox-DiJpbdy5.js → CheckBox-DEJCxMel.js} +1 -1
  9. package/dist/cjs/chunks/Chip-Co9UJPhs.js +77 -0
  10. package/dist/cjs/chunks/{DivInput-B917fKB9.js → DivInput-DXYuLZTP.js} +1 -1
  11. package/dist/cjs/chunks/{Dot-DaRF2JyO.js → Dot-ByyRFxJf.js} +1 -1
  12. package/dist/cjs/chunks/{DrggablePanel-CJTEmYW6.js → DrggablePanel-EDw3OZa4.js} +9 -8
  13. package/dist/cjs/chunks/{DropDown-DRSQvXCC.js → DropDown-BpvddY0X.js} +1 -1
  14. package/dist/cjs/chunks/{ErrorSummary-ltiIsgJ6.js → ErrorSummary-Chas_lIG.js} +4 -4
  15. package/dist/cjs/chunks/{FileIcon-WIVOTJLa.js → FileIcon-vvwv1ZWh.js} +4 -4
  16. package/dist/cjs/chunks/{FileList-CzQZZErI.js → FileList-CY_ZUI5o.js} +1 -1
  17. package/dist/cjs/chunks/{FlexDiv-CBENyLT4.js → FlexDiv-CXas-gXx.js} +1 -1
  18. package/dist/cjs/chunks/{Grouper-Cd3AJEFv.js → Grouper-DoDqtlXQ.js} +4 -4
  19. package/dist/cjs/chunks/{Icon-DjvProjz.js → Icon-DR7d5wbQ.js} +17 -5
  20. package/dist/cjs/chunks/IconButton-C2pgDGer.js +182 -0
  21. package/dist/cjs/chunks/{IndexedDB-Ddhq6Gjd.js → IndexedDB-B3huw-IF.js} +1 -1
  22. package/dist/cjs/chunks/{Label-d32ENzwL.js → Label-Bz1y0MlN.js} +1 -1
  23. package/dist/cjs/chunks/{Level-B8eT8XyV.js → Level-CGC1rIjD.js} +1 -1
  24. package/dist/cjs/chunks/{Modal-CUAj4e6x.js → Modal-C9p4TjIF.js} +1 -1
  25. package/dist/cjs/chunks/{ModalController-BwFAVI5G.js → ModalController-B1l70sB5.js} +3 -3
  26. package/dist/cjs/chunks/{Overlay-CaAA3ey5.js → Overlay-77krece8.js} +1 -1
  27. package/dist/cjs/chunks/{Pager-uExZ5E3x.js → Pager-B0FSZmAn.js} +1 -1
  28. package/dist/cjs/chunks/{ProgressIndicator-DwqslY4o.js → ProgressIndicator-CK7dKk8W.js} +4 -4
  29. package/dist/cjs/chunks/{PromptInput-Dl8l8cZv.js → PromptInput-BFjWPvXi.js} +16 -14
  30. package/dist/cjs/chunks/{RadioButton-DPpAOFQt.js → RadioButton-qoMg2eXZ.js} +1 -1
  31. package/dist/cjs/chunks/{RadioButtonList-IbPA6A3y.js → RadioButtonList-BKKQcFSI.js} +1 -1
  32. package/dist/cjs/chunks/{Slider-D5oa7NGy.js → Slider-D7r0G9UI.js} +10 -1
  33. package/dist/cjs/chunks/{Spacer-DtUh2VLv.js → Spacer-DHvuvgy8.js} +1 -1
  34. package/dist/cjs/chunks/{Switch-Bs0r5va5.js → Switch-D0WIz66o.js} +1 -1
  35. package/dist/cjs/chunks/{TabBar-BCSTg_Uc.js → TabBar-OZ8cC1Wh.js} +38 -18
  36. package/dist/cjs/chunks/{TextArea-Dj7jsvVr.js → TextArea-BnWOSrib.js} +3 -2
  37. package/dist/cjs/chunks/{TextField-DNP0wJla.js → TextField-zAs-JMXf.js} +5 -5
  38. package/dist/cjs/chunks/{Tip-awq6PDZa.js → Tip-DeP8_frS.js} +1 -1
  39. package/dist/cjs/chunks/{Toast-xS1TC3Ba.js → Toast-D-pkBwRK.js} +5 -5
  40. package/dist/cjs/chunks/{ToggleButton-CqD5c6JA.js → ToggleButton-cNIO7RUS.js} +6 -4
  41. package/dist/cjs/chunks/{UploadArea-CvWqk8YK.js → UploadArea-6sLdjTc4.js} +1 -1
  42. package/dist/cjs/chunks/{WSConnection-BACWw4TS.js → WSConnection-BwJzXOF0.js} +1 -1
  43. package/dist/cjs/chunks/{WebRTCConnection-DBeyg4j9.js → WebRTCConnection-Bv-nWtU7.js} +1 -1
  44. package/dist/cjs/chunks/{_types-BTdDWVYI.js → _types-BTZx360t.js} +3 -1
  45. package/dist/cjs/chunks/{localDBStore-wgCc1SmV.js → localDBStore-DDw1HB7W.js} +1 -1
  46. package/dist/cjs/chunks/{microphoneStore-Dy5TwE2I.js → microphoneStore-BWE0f5k5.js} +1 -1
  47. package/dist/cjs/chunks/{misc-BwQIEIuF.js → misc-Xy8NlSfu.js} +1 -1
  48. package/dist/cjs/chunks/{sseStore-CFFaYonG.js → sseStore-cP_aDXa1.js} +2 -2
  49. package/dist/cjs/chunks/{uploads-worker-DWvOe9F8.js → uploads-worker-Ey3k_A8W.js} +1 -1
  50. package/dist/cjs/chunks/{uploadsStore-BCmts7Ie.js → uploadsStore-CysEm3Jm.js} +2 -2
  51. package/dist/cjs/chunks/{volumeStore-BXFAQhvS.js → volumeStore-TOX_FL_t.js} +4 -5
  52. package/dist/cjs/chunks/{webRTCStore-DRjvbnve.js → webRTCStore-B1cS14MD.js} +1 -1
  53. package/dist/cjs/chunks/{windowStore-C4Bg6I9i.js → windowStore-DCcNnrCO.js} +1 -1
  54. package/dist/cjs/components/AudioBubble/index.js +6 -6
  55. package/dist/cjs/components/Avatar/index.js +3 -3
  56. package/dist/cjs/components/AvatarGroup/index.js +3 -3
  57. package/dist/cjs/components/Badge/index.js +2 -2
  58. package/dist/cjs/components/Button/index.js +9 -9
  59. package/dist/cjs/components/ButtonBar/index.js +6 -6
  60. package/dist/cjs/components/Camera/index.js +7 -7
  61. package/dist/cjs/components/CheckBox/index.js +6 -6
  62. package/dist/cjs/components/Chip/index.js +7 -7
  63. package/dist/cjs/components/DivInput/index.js +3 -3
  64. package/dist/cjs/components/Dot/index.js +2 -2
  65. package/dist/cjs/components/DraggablePanel/index.js +5 -5
  66. package/dist/cjs/components/DropDown/index.js +6 -6
  67. package/dist/cjs/components/ErrorSummary/index.js +5 -5
  68. package/dist/cjs/components/FileIcon/index.js +5 -5
  69. package/dist/cjs/components/FileList/index.js +7 -7
  70. package/dist/cjs/components/FlexDiv/index.js +2 -2
  71. package/dist/cjs/components/Grouper/index.js +7 -7
  72. package/dist/cjs/components/Icon/index.js +5 -5
  73. package/dist/cjs/components/IconButton/index.js +19 -9
  74. package/dist/cjs/components/Label/index.js +3 -3
  75. package/dist/cjs/components/Level/index.js +3 -3
  76. package/dist/cjs/components/Modal/index.js +10 -10
  77. package/dist/cjs/components/ModalController/index.js +5 -5
  78. package/dist/cjs/components/Overlay/index.js +2 -2
  79. package/dist/cjs/components/Pager/index.js +3 -3
  80. package/dist/cjs/components/Progress/index.js +5 -5
  81. package/dist/cjs/components/PromptInput/index.js +9 -9
  82. package/dist/cjs/components/RadioButton/index.js +6 -6
  83. package/dist/cjs/components/RadioButtonList/index.js +7 -7
  84. package/dist/cjs/components/Slider/index.js +7 -4
  85. package/dist/cjs/components/Spacer/index.js +2 -2
  86. package/dist/cjs/components/Switch/index.js +2 -2
  87. package/dist/cjs/components/TabBar/index.js +8 -8
  88. package/dist/cjs/components/TextArea/index.js +9 -9
  89. package/dist/cjs/components/Textfield/index.js +9 -9
  90. package/dist/cjs/components/Tip/index.js +3 -3
  91. package/dist/cjs/components/Toast/index.js +6 -6
  92. package/dist/cjs/components/ToggleButton/index.js +9 -9
  93. package/dist/cjs/components/UploadArea/index.js +12 -11
  94. package/dist/cjs/hooks/useAudioRecorder.js +1 -1
  95. package/dist/cjs/hooks/useBindWebRTC.js +2 -2
  96. package/dist/cjs/hooks/useMdStreamBuffer.js +1 -1
  97. package/dist/cjs/hooks/useMicrophone.js +32 -28
  98. package/dist/cjs/hooks/useTrackRenders.js +2 -2
  99. package/dist/cjs/hooks.js +3 -3
  100. package/dist/cjs/index.js +19 -9
  101. package/dist/cjs/stores/LocalDB.js +3 -3
  102. package/dist/cjs/stores/SSE.js +2 -2
  103. package/dist/cjs/stores/WS.js +2 -2
  104. package/dist/cjs/stores/WebRTC.js +2 -2
  105. package/dist/cjs/stores/microphone.js +2 -2
  106. package/dist/cjs/stores/modal.js +1 -1
  107. package/dist/cjs/stores/tip.js +1 -1
  108. package/dist/cjs/stores/toast.js +1 -1
  109. package/dist/cjs/stores/uploads.js +2 -2
  110. package/dist/cjs/stores/volume.js +2 -2
  111. package/dist/cjs/stores/window.js +2 -2
  112. package/dist/cjs/stores.js +4 -4
  113. package/dist/cjs/theme/colors.js +4 -0
  114. package/dist/cjs/utils/index.js +2 -2
  115. package/dist/cjs/utils/objects/index.js +2 -2
  116. package/dist/cjs/workers/uploads/uploads.js +2 -2
  117. package/dist/esm/chunks/{AudioBubble-SB1LCBlJ.mjs → AudioBubble-_YhANdyd.mjs} +6 -6
  118. package/dist/esm/chunks/{Avatar-B6PcVOmT.mjs → Avatar-C7U2ianJ.mjs} +2 -2
  119. package/dist/esm/chunks/{AvatarGroup-DEb3j2IZ.mjs → AvatarGroup-VAbyMrus.mjs} +2 -2
  120. package/dist/esm/chunks/{Badge-bh5UVUnt.mjs → Badge-BKZj-pNA.mjs} +1 -1
  121. package/dist/esm/chunks/{Button-CWKs3uAV.mjs → Button-C6jYGagD.mjs} +10 -9
  122. package/dist/esm/chunks/{ButtonBar-CWeMhkSb.mjs → ButtonBar-CHKHuVy1.mjs} +3 -3
  123. package/dist/esm/chunks/{Camera-BmuMA9xY.mjs → Camera-DPATxQwH.mjs} +8 -8
  124. package/dist/esm/chunks/{CheckBox-BR6a2n0j.mjs → CheckBox-8oY2dwYh.mjs} +3 -3
  125. package/dist/esm/chunks/Chip-c3piVzsJ.mjs +87 -0
  126. package/dist/esm/chunks/{DivInput-BWO1EJXA.mjs → DivInput-g28YpiQp.mjs} +2 -2
  127. package/dist/esm/chunks/{Dot-DMst-5Q2.mjs → Dot-DnfM38Qp.mjs} +1 -1
  128. package/dist/esm/chunks/{DrggablePanel-qxrCS7Ot.mjs → DrggablePanel-CjgYDhDq.mjs} +10 -9
  129. package/dist/esm/chunks/{DropDown-DlO2J4QP.mjs → DropDown-CWHPCDQS.mjs} +3 -3
  130. package/dist/esm/chunks/{ErrorSummary-BplQFunJ.mjs → ErrorSummary-D1PqqK3r.mjs} +5 -5
  131. package/dist/esm/chunks/{FileIcon-iFmAF7_a.mjs → FileIcon-CudRs_lw.mjs} +5 -5
  132. package/dist/esm/chunks/{FileList-CztHFCJe.mjs → FileList-Cj_k6oel.mjs} +5 -5
  133. package/dist/esm/chunks/{FlexDiv-DGmDZL7M.mjs → FlexDiv-pSlVGfpp.mjs} +1 -1
  134. package/dist/esm/chunks/{Grouper-DxOISLzH.mjs → Grouper-BQxdCQKy.mjs} +6 -6
  135. package/dist/esm/chunks/{Icon-L8B35JN1.mjs → Icon-CKS12m2e.mjs} +19 -7
  136. package/dist/esm/chunks/IconButton-Cka059ZT.mjs +193 -0
  137. package/dist/esm/chunks/{IndexedDB-DA5oZXju.mjs → IndexedDB-C1lcbDjn.mjs} +1 -1
  138. package/dist/esm/chunks/{Label-wDPtyK4h.mjs → Label-B7SDZHF3.mjs} +2 -2
  139. package/dist/esm/chunks/{Level-B9JayinM.mjs → Level-CjR-2ZHs.mjs} +3 -3
  140. package/dist/esm/chunks/{Modal-C-Q2A_RY.mjs → Modal-BLqTi3R2.mjs} +5 -5
  141. package/dist/esm/chunks/{ModalController-ClAjHLPb.mjs → ModalController-BGCz54A8.mjs} +5 -5
  142. package/dist/esm/chunks/{Overlay-Dr9YYxJ6.mjs → Overlay-Dp2GOGjC.mjs} +1 -1
  143. package/dist/esm/chunks/{Pager-DPbTCMNe.mjs → Pager-DRkFuZTV.mjs} +2 -2
  144. package/dist/esm/chunks/{ProgressIndicator-HaJJDZ-m.mjs → ProgressIndicator-C2EWIn7Z.mjs} +5 -5
  145. package/dist/esm/chunks/{PromptInput-wGhpXw-h.mjs → PromptInput-mkEHu-_v.mjs} +18 -16
  146. package/dist/esm/chunks/{RadioButton-oOGgTDhg.mjs → RadioButton-Bd23SEL0.mjs} +3 -3
  147. package/dist/esm/chunks/{RadioButtonList-CDWKVvyL.mjs → RadioButtonList-ho29Z9aG.mjs} +3 -3
  148. package/dist/esm/chunks/{Slider-ioPGftDY.mjs → Slider-9hcuVdaH.mjs} +14 -4
  149. package/dist/esm/chunks/{Spacer-VJBjxVlr.mjs → Spacer-D3_8SzUs.mjs} +1 -1
  150. package/dist/esm/chunks/{Switch-BCk2sTh3.mjs → Switch-CV_2ygFC.mjs} +1 -1
  151. package/dist/esm/chunks/{TabBar-C1DYnCRx.mjs → TabBar-BOUnKetI.mjs} +39 -21
  152. package/dist/esm/chunks/{TextArea-CF3r5m2G.mjs → TextArea-FQVQo3LR.mjs} +4 -3
  153. package/dist/esm/chunks/{TextField-BNfTj9v2.mjs → TextField-D7ZiWK9I.mjs} +8 -8
  154. package/dist/esm/chunks/{Tip-DIKQvxxO.mjs → Tip-5OhdfJW7.mjs} +2 -2
  155. package/dist/esm/chunks/{Toast-CkXPrDpp.mjs → Toast-BlDzsT1J.mjs} +7 -7
  156. package/dist/esm/chunks/{ToggleButton-Dvy8fc4t.mjs → ToggleButton-BIIm75PN.mjs} +7 -5
  157. package/dist/esm/chunks/{UploadArea-D_xGzR2e.mjs → UploadArea-AjFofefa.mjs} +4 -4
  158. package/dist/esm/chunks/{WSConnection-TiYLENWB.mjs → WSConnection-CjwR_k97.mjs} +1 -1
  159. package/dist/esm/chunks/{WebRTCConnection-d0Yvd66q.mjs → WebRTCConnection-rKAgZEbe.mjs} +1 -1
  160. package/dist/esm/chunks/{_types-9ekyeJYl.mjs → _types-Fewdpo-O.mjs} +3 -1
  161. package/dist/esm/chunks/{localDBStore-C-5y16uv.mjs → localDBStore-Bxvk_IzQ.mjs} +2 -2
  162. package/dist/esm/chunks/{microphoneStore-Cbx9nV4R.mjs → microphoneStore-Do0a5LZ9.mjs} +1 -1
  163. package/dist/esm/chunks/{misc-zecH7-IH.mjs → misc-C5cfUKzm.mjs} +1 -1
  164. package/dist/esm/chunks/{sseStore-DIquUNpm.mjs → sseStore-oSknLkEF.mjs} +2 -2
  165. package/dist/esm/chunks/{uploads-worker-CUggKU9b.mjs → uploads-worker-Cyum1zTV.mjs} +1 -1
  166. package/dist/esm/chunks/{uploadsStore-9QngohOe.mjs → uploadsStore-BxpUKpcf.mjs} +1 -1
  167. package/dist/esm/chunks/{volumeStore-BrgZCRKF.mjs → volumeStore-D5i1CeFf.mjs} +4 -5
  168. package/dist/esm/chunks/{webRTCStore-DhFE9-bb.mjs → webRTCStore-BLGNTnV3.mjs} +2 -2
  169. package/dist/esm/chunks/{windowStore-BKW7HyoD.mjs → windowStore-BqOOGKQ6.mjs} +1 -1
  170. package/dist/esm/components/AudioBubble/index.mjs +8 -8
  171. package/dist/esm/components/Avatar/index.mjs +3 -3
  172. package/dist/esm/components/AvatarGroup/index.mjs +4 -4
  173. package/dist/esm/components/Badge/index.mjs +2 -2
  174. package/dist/esm/components/Button/index.mjs +12 -12
  175. package/dist/esm/components/ButtonBar/index.mjs +8 -8
  176. package/dist/esm/components/Camera/index.mjs +10 -10
  177. package/dist/esm/components/CheckBox/index.mjs +8 -8
  178. package/dist/esm/components/Chip/index.mjs +9 -9
  179. package/dist/esm/components/DivInput/index.mjs +3 -3
  180. package/dist/esm/components/Dot/index.mjs +2 -2
  181. package/dist/esm/components/DraggablePanel/index.mjs +7 -7
  182. package/dist/esm/components/DropDown/index.mjs +8 -8
  183. package/dist/esm/components/ErrorSummary/index.mjs +7 -7
  184. package/dist/esm/components/FileIcon/index.mjs +7 -7
  185. package/dist/esm/components/FileList/index.mjs +10 -10
  186. package/dist/esm/components/FlexDiv/index.mjs +2 -2
  187. package/dist/esm/components/Grouper/index.mjs +9 -9
  188. package/dist/esm/components/Icon/index.mjs +8 -8
  189. package/dist/esm/components/IconButton/index.mjs +11 -11
  190. package/dist/esm/components/Label/index.mjs +3 -3
  191. package/dist/esm/components/Level/index.mjs +4 -4
  192. package/dist/esm/components/Modal/index.mjs +14 -14
  193. package/dist/esm/components/ModalController/index.mjs +8 -8
  194. package/dist/esm/components/Overlay/index.mjs +2 -2
  195. package/dist/esm/components/Pager/index.mjs +3 -3
  196. package/dist/esm/components/Progress/index.mjs +8 -8
  197. package/dist/esm/components/PromptInput/index.mjs +15 -15
  198. package/dist/esm/components/RadioButton/index.mjs +8 -8
  199. package/dist/esm/components/RadioButtonList/index.mjs +9 -9
  200. package/dist/esm/components/Slider/index.mjs +19 -5
  201. package/dist/esm/components/Spacer/index.mjs +2 -2
  202. package/dist/esm/components/Switch/index.mjs +2 -2
  203. package/dist/esm/components/TabBar/index.mjs +13 -13
  204. package/dist/esm/components/TextArea/index.mjs +13 -13
  205. package/dist/esm/components/Textfield/index.mjs +14 -14
  206. package/dist/esm/components/Tip/index.mjs +3 -3
  207. package/dist/esm/components/Toast/index.mjs +9 -9
  208. package/dist/esm/components/ToggleButton/index.mjs +13 -13
  209. package/dist/esm/components/UploadArea/index.mjs +13 -13
  210. package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
  211. package/dist/esm/hooks/useBindWebRTC.mjs +5 -5
  212. package/dist/esm/hooks/useMdStreamBuffer.mjs +2 -2
  213. package/dist/esm/hooks/useMicrophone.mjs +32 -28
  214. package/dist/esm/hooks/useTrackRenders.mjs +2 -2
  215. package/dist/esm/hooks.mjs +6 -6
  216. package/dist/esm/index.mjs +53 -53
  217. package/dist/esm/stores/LocalDB.mjs +3 -3
  218. package/dist/esm/stores/SSE.mjs +3 -3
  219. package/dist/esm/stores/WS.mjs +2 -2
  220. package/dist/esm/stores/WebRTC.mjs +3 -3
  221. package/dist/esm/stores/microphone.mjs +2 -2
  222. package/dist/esm/stores/modal.mjs +1 -1
  223. package/dist/esm/stores/tip.mjs +1 -1
  224. package/dist/esm/stores/toast.mjs +1 -1
  225. package/dist/esm/stores/uploads.mjs +3 -3
  226. package/dist/esm/stores/volume.mjs +2 -2
  227. package/dist/esm/stores/window.mjs +2 -2
  228. package/dist/esm/stores.mjs +15 -15
  229. package/dist/esm/theme/colors.mjs +4 -0
  230. package/dist/esm/utils/index.mjs +10 -10
  231. package/dist/esm/utils/objects/index.mjs +7 -7
  232. package/dist/esm/workers/uploads/uploads.mjs +2 -2
  233. package/dist/styles.css +27 -2
  234. package/dist/types/components/Button/Button.d.ts +4 -0
  235. package/dist/types/components/Button/_types.d.ts +2 -0
  236. package/dist/types/components/Chip/_types.d.ts +1 -0
  237. package/dist/types/components/Icon/_types.d.ts +2 -0
  238. package/dist/types/components/IconButton/_animation.d.ts +18 -0
  239. package/dist/types/components/IconButton/_types.d.ts +46 -0
  240. package/dist/types/components/IconButton/index.d.ts +2 -1
  241. package/dist/types/components/TabBar/_types.d.ts +5 -0
  242. package/dist/types/components/TextArea/_types.d.ts +1 -0
  243. package/dist/types/components/ToggleButton/_types.d.ts +5 -0
  244. package/dist/types/index.d.ts +2 -2
  245. package/dist/types/stores/volume/_types.d.ts +1 -1
  246. package/dist/types/stores/volume/volumeStore.d.ts +2 -2
  247. package/dist/types/theme/colors/types.d.ts +1 -0
  248. package/package.json +1 -1
  249. package/dist/cjs/chunks/Chip-kzOvEo0P.js +0 -77
  250. package/dist/cjs/chunks/IconButton-BuwQLUuj.js +0 -82
  251. package/dist/esm/chunks/Chip-DXW0jxKf.mjs +0 -87
  252. package/dist/esm/chunks/IconButton-DxwJemEK.mjs +0 -96
  253. /package/dist/cjs/chunks/{MdStreamBuffer-Chwibu07.js → MdStreamBuffer-tvK8qsjv.js} +0 -0
  254. /package/dist/cjs/chunks/{SSEConnection-CF5WZG9b.js → SSEConnection-C6fFzIM7.js} +0 -0
  255. /package/dist/cjs/chunks/{audioVisualizer-C7fMG0WH.js → audioVisualizer-DFVbG1U3.js} +0 -0
  256. /package/dist/cjs/chunks/{colors-CmOkcjB3.js → colors-D1ls4xuy.js} +0 -0
  257. /package/dist/cjs/chunks/{debounce-BtCCTkbG.js → debounce-Dt7br1wm.js} +0 -0
  258. /package/dist/cjs/chunks/{modalStore-CaQkdY5_.js → modalStore-C2TNegI3.js} +0 -0
  259. /package/dist/cjs/chunks/{sharedTypes-BOieqpQy.js → sharedTypes-DC-9YrKq.js} +0 -0
  260. /package/dist/cjs/chunks/{tipStore-4Bs9v2sg.js → tipStore-CcUHlLfK.js} +0 -0
  261. /package/dist/cjs/chunks/{toastStore-CyCE9-lr.js → toastStore-CzsUlpG7.js} +0 -0
  262. /package/dist/cjs/chunks/{tslib.es6-DqjaJVC3.js → tslib.es6-CZ8Is2ry.js} +0 -0
  263. /package/dist/esm/chunks/{MdStreamBuffer-Cyon3ytf.mjs → MdStreamBuffer-CvU2-p0i.mjs} +0 -0
  264. /package/dist/esm/chunks/{SSEConnection-g0GBGAqe.mjs → SSEConnection-CnZ9v2PI.mjs} +0 -0
  265. /package/dist/esm/chunks/{audioVisualizer-nMo67yOW.mjs → audioVisualizer-Cw40IeKn.mjs} +0 -0
  266. /package/dist/esm/chunks/{colors-v5b8_oYV.mjs → colors-7VDET9eL.mjs} +0 -0
  267. /package/dist/esm/chunks/{debounce-DFxAyrPi.mjs → debounce-zgRcExLD.mjs} +0 -0
  268. /package/dist/esm/chunks/{modalStore-D6_oc47l.mjs → modalStore-OVzsFkde.mjs} +0 -0
  269. /package/dist/esm/chunks/{sharedTypes-CdmzhKXN.mjs → sharedTypes-7jlhdP2f.mjs} +0 -0
  270. /package/dist/esm/chunks/{tipStore-C2M6zBzd.mjs → tipStore-o8uQjfPm.mjs} +0 -0
  271. /package/dist/esm/chunks/{toastStore-B-6kdNHw.mjs → toastStore-Cnivb4IM.mjs} +0 -0
  272. /package/dist/esm/chunks/{tslib.es6-CVvvNSPr.mjs → tslib.es6-CDAuOlZ8.mjs} +0 -0
@@ -0,0 +1,87 @@
1
+ 'use client';
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
+
4
+ import { jsxs, jsx } from "react/jsx-runtime";
5
+
6
+ import React, { useState, useCallback, useMemo } from "react";
7
+
8
+ import { s as setStyle, a as accessibleKeyDown } from "./misc-C5cfUKzm.mjs";
9
+
10
+ import { I as Icon } from "./Icon-CKS12m2e.mjs";
11
+
12
+ import { T as ToolTipType } from "./sharedTypes-7jlhdP2f.mjs";
13
+
14
+ var css = {
15
+ chip: "Chip-module_chip__0nys- flexBox-module_row__z24tF",
16
+ icon: "Chip-module_icon__dtR-K flexBox-module_row__z24tF",
17
+ xs: "Chip-module_xs__s-KNG type-module_body-xs-regular__ZAFft",
18
+ s: "Chip-module_s__2KTXi type-module_body-s-regular__vRHSP",
19
+ m: "Chip-module_m__l2u3N type-module_body-m-regular__LuQBA",
20
+ l: "Chip-module_l__3MqPN type-module_body-l-regular__lOYbg"
21
+ };
22
+
23
+ const Chip = React.memo(props => {
24
+ const {variant: variant = "normal", children: children, label: label, icon: icon, tooltip: tooltip, iconSize: iconSize = 20, disabled: disabled = !1, focused: focused = !1, iconPosition: iconPosition = "left", labelSize: labelSize = "m", labelColor: labelColor = "var(--core-text-primary)", labelColorHover: labelColorHover = ("normal" === variant ? labelColor : "var(--core-text-special)"), iconColor: iconColor = "var(--core-text-primary)", iconColorHover: iconColorHover = ("normal" === variant ? iconColor : "var(--core-text-special)"), backgroundColor: backgroundColor, backgroundColorHover: backgroundColorHover, borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-text-primary)", borderColorHover: borderColorHover = ("normal" === variant ? borderColor : "var(--core-text-special)"), borderColorDisabled: borderColorDisabled = "var(--core-text-disabled)", bgColor: bgColor = "transparent", bgColorHover: bgColorHover = ("normal" === variant ? bgColor : "var(--core-surface-secondary)"), borderRadius: borderRadius = 8, paddingTop: paddingTop, paddingTops: paddingTops = 8, paddingSides: paddingSides = 16, gap: gap = 4, onToolTip: onToolTip = () => null, onClick: onClick = () => null} = props, divAttributes = __rest(props, [ "variant", "children", "label", "icon", "tooltip", "iconSize", "disabled", "focused", "iconPosition", "labelSize", "labelColor", "labelColorHover", "iconColor", "iconColorHover", "backgroundColor", "backgroundColorHover", "borderWidth", "borderSize", "borderColor", "borderColorHover", "borderColorDisabled", "bgColor", "bgColorHover", "borderRadius", "paddingTop", "paddingTops", "paddingSides", "gap", "onToolTip", "onClick" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [isHovered, setIsHovered] = useState(!1), resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorHover = null != backgroundColorHover ? backgroundColorHover : bgColorHover, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, resolvedPaddingTop = null != paddingTop ? paddingTop : paddingTops, handleClick = useCallback(e => {
25
+ disabled || onClick(e);
26
+ }, [ disabled, onClick ]), handleMouseEnter = useCallback((enter, event) => {
27
+ if (enter) {
28
+ if (tooltip) {
29
+ const tip = {
30
+ type: ToolTipType.button,
31
+ payload: {
32
+ label: tooltip
33
+ },
34
+ ref: null,
35
+ event: event
36
+ };
37
+ onToolTip(tip);
38
+ }
39
+ "button" === variant && setIsHovered(!0);
40
+ } else onToolTip(null), setIsHovered(!1);
41
+ }, [ tooltip, variant, onToolTip ]), padding = useMemo(() => {
42
+ if (!label || !icon) return `${resolvedPaddingTop}px ${paddingSides}px`;
43
+ return `${resolvedPaddingTop}px ${"right" === iconPosition ? paddingSides - 4 : paddingSides}px ${resolvedPaddingTop}px ${"right" === iconPosition ? paddingSides : paddingSides - 4}px`;
44
+ }, [ icon, iconPosition, resolvedPaddingTop, paddingSides, label ]), computedIconColor = useMemo(() => disabled ? "var(--core-text-disabled)" : isHovered ? null != iconColorHover ? iconColorHover : "var(--core-text-special)" : null != iconColor ? iconColor : "var(--core-text-primary)", [ iconColor, disabled, isHovered, iconColorHover ]), cssVars = useMemo(() => ({
45
+ "--ui-chip-padding": padding,
46
+ "--ui-chip-gap": setStyle(gap),
47
+ "--ui-chip-border-radius": setStyle(borderRadius),
48
+ "--ui-chip-border-size": setStyle(resolvedBorderWidth),
49
+ "--ui-chip-border-color": disabled ? borderColorDisabled : borderColor,
50
+ "--ui-chip-border-color-hover": disabled ? borderColorDisabled : borderColorHover,
51
+ "--ui-chip-bg-color": resolvedBackgroundColor,
52
+ "--ui-chip-bg-color-hover": disabled ? resolvedBackgroundColor : resolvedBackgroundColorHover,
53
+ "--ui-chip-label-color": disabled ? "var(--core-text-disabled)" : labelColor,
54
+ "--ui-chip-label-color-hover": disabled ? "var(--core-text-disabled)" : labelColorHover,
55
+ "--ui-chip-cursor": disabled || "normal" === variant ? "default" : "pointer"
56
+ }), [ padding, resolvedBackgroundColor, borderColor, borderColorDisabled, borderColorHover, resolvedBorderWidth, resolvedBackgroundColorHover, labelColorHover, labelColor, gap, borderRadius, disabled, variant ]);
57
+ return jsxs("div", Object.assign({
58
+ id: divId,
59
+ className: `${css.chip}${divClass}`,
60
+ style: Object.assign(Object.assign({}, divStyle), cssVars),
61
+ onKeyDown: e => accessibleKeyDown(e, () => handleClick(e)),
62
+ onClick: handleClick,
63
+ onMouseEnter: e => handleMouseEnter(!0, e),
64
+ onMouseLeave: e => handleMouseEnter(!1, e)
65
+ }, rest, {
66
+ children: [ icon && "right" !== iconPosition && jsx("div", {
67
+ className: css.icon,
68
+ children: jsx(Icon, {
69
+ name: icon,
70
+ size: iconSize,
71
+ strokeColor: computedIconColor
72
+ })
73
+ }), (children || label) && jsx("div", {
74
+ className: css[labelSize],
75
+ children: null != children ? children : label
76
+ }), icon && "right" === iconPosition && jsx("div", {
77
+ className: css.icon,
78
+ children: jsx(Icon, {
79
+ name: icon,
80
+ size: iconSize,
81
+ strokeColor: computedIconColor
82
+ })
83
+ }) ]
84
+ }));
85
+ });
86
+
87
+ export { Chip as C };
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -7,7 +7,7 @@ import { motion } from "motion/react";
7
7
 
8
8
  import React, { useRef, useState, useCallback, useEffect, useMemo } from "react";
9
9
 
10
- import { b as cleanString } from "./misc-zecH7-IH.mjs";
10
+ import { b as cleanString } from "./misc-C5cfUKzm.mjs";
11
11
 
12
12
  var css_wrapper = "DivInput-module_wrapper__ZQxY-", css_input = "DivInput-module_input__J34-l type-module_body-m-regular__LuQBA";
13
13
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
@@ -9,13 +9,13 @@ import { useTheme } from "../hooks/useTheme.mjs";
9
9
 
10
10
  import "../theme/colors.mjs";
11
11
 
12
- import { p as pointerPosition } from "./misc-zecH7-IH.mjs";
12
+ import { p as pointerPosition } from "./misc-C5cfUKzm.mjs";
13
13
 
14
- import "./webRTCStore-DhFE9-bb.mjs";
14
+ import "./webRTCStore-BLGNTnV3.mjs";
15
15
 
16
- import "./microphoneStore-Cbx9nV4R.mjs";
16
+ import "./microphoneStore-Do0a5LZ9.mjs";
17
17
 
18
- import "./volumeStore-BrgZCRKF.mjs";
18
+ import "./volumeStore-D5i1CeFf.mjs";
19
19
 
20
20
  import "../hooks/useWindow.mjs";
21
21
 
@@ -50,7 +50,8 @@ const DraggablePanel = React.memo(props => {
50
50
  }, borderRight: borderRight = "1px solid var(--core-outline-secondary)", borderLeft: borderLeft = "1px solid var(--core-outline-secondary)", bgColor: bgColor = "transparent", drags: drags = "right", isTouchDevice: isTouchDevice = !1, disableOnContext: disableOnContext = !1, dragHandle: dragHandle = !0, dragHandleStyle: dragHandleStyle = {
51
51
  height: 24,
52
52
  width: 9
53
- }, containerRef: containerRef, onResize: onResize = () => null, onResizeStart: onResizeStart = () => null, onResizeEnd: onResizeEnd = () => null} = props, divAttributes = __rest(props, [ "children", "sizeConstraints", "isClosed", "resizeHandle", "borderRight", "borderLeft", "bgColor", "drags", "isTouchDevice", "disableOnContext", "dragHandle", "dragHandleStyle", "containerRef", "onResize", "onResizeStart", "onResizeEnd" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", handle = useRef(null), div = useRef(null), [isDragging, setIsDragging] = useState(!1), isOver = useRef(!1), gripper = Object.assign({}, resizeHandle), containerSize = useObserveResize(containerRef), panelSize = useObserveResize(div), [handleHighlight, setHandleHighlight] = useState(!1), [lastWidth, setLastWidth] = useState(null), [panelClosed, setPanelClosed] = useState(isClosed), [constraints, setConstraints] = useState(() => resolveConstraints(sizeConstraints)), [contWidth, setContWidth] = useState(void 0), timer = useRef(null), closed = panelSize.width <= 1, startX = useRef(0), startWidth = useRef(0), divWidth = useRef(0), divHeight = useRef(0), deltaWidth = useRef(0), handleWindowResize = useCallback(() => {
53
+ }, containerRef: containerRef, onResize: onResize = () => null, onResizeStart: onResizeStart = () => null, onResizeEnd: onResizeEnd = () => null} = props, divAttributes = __rest(props, [ "children", "sizeConstraints", "isClosed", "resizeHandle", "borderRight", "borderLeft", "bgColor", "drags", "isTouchDevice", "disableOnContext", "dragHandle", "dragHandleStyle", "containerRef", "onResize", "onResizeStart", "onResizeEnd" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", handle = useRef(null), div = useRef(null), [isDragging, setIsDragging] = useState(!1), isOver = useRef(!1), gripper = Object.assign({}, resizeHandle), containerSize = useObserveResize(containerRef), panelSize = useObserveResize(div), [handleHighlight, setHandleHighlight] = useState(!1), [lastWidth, setLastWidth] = useState(null), [panelClosed, setPanelClosed] = useState(isClosed), [constraints, setConstraints] = useState(() => resolveConstraints(sizeConstraints)), [contWidth, setContWidth] = useState((null == containerRef ? void 0 : containerRef.current) ? containerRef.current.offsetWidth : void 0 !== globalThis.window ? window.innerWidth : void 0), [mounted, setMounted] = useState(!1), timer = useRef(null), closed = panelSize.width <= 1, startX = useRef(0), startWidth = useRef(0), divWidth = useRef(0), divHeight = useRef(0), deltaWidth = useRef(0);
54
+ const handleWindowResize = useCallback(() => {
54
55
  (null == containerRef ? void 0 : containerRef.current) || setContWidth(window.innerWidth);
55
56
  }, [ containerRef ]), handleMouseOver = useCallback(() => {
56
57
  isOver.current = !0, setHighlight(!0);
@@ -146,12 +147,12 @@ const DraggablePanel = React.memo(props => {
146
147
  })), () => {
147
148
  hl && (hl.removeEventListener("mousedown", initDrag, !1), hl.removeEventListener("touchstart", initDrag));
148
149
  };
149
- }, [ drags, initDrag ]);
150
+ }, [ drags, initDrag ]), useEffect(() => setMounted(!0), []);
150
151
  const leftRightStyle = useMemo(() => "right" === drags ? {
151
152
  right: isTouchDevice ? -22 : -(gripper.width || 10) / 2
152
153
  } : {
153
154
  left: isTouchDevice ? -22 : -(gripper.width || 10) / 2
154
- }, [ drags, isTouchDevice, gripper.width ]), normalizeWidth = useCallback(width => "number" == typeof width ? width <= 1 && width >= 0 ? 100 * width + "%" : `${width}px` : width, []), width = useMemo(() => drags ? panelClosed ? 0 : lastWidth || normalizeWidth(constraints.initial) : "100%", [ drags, panelClosed, lastWidth, constraints.initial, normalizeWidth ]), cssVars = useMemo(() => ({
155
+ }, [ drags, isTouchDevice, gripper.width ]), normalizeWidth = useCallback(width => mounted ? "number" == typeof width ? width <= 1 && width >= 0 ? contWidth ? contWidth * width + "px" : 0 : `${width}px` : width : "0px", [ contWidth, mounted ]), width = useMemo(() => drags ? panelClosed ? 0 : lastWidth || normalizeWidth(constraints.initial) : "100%", [ drags, panelClosed, lastWidth, constraints.initial, normalizeWidth ]), cssVars = useMemo(() => ({
155
156
  "--panel-bg": null != bgColor ? bgColor : "transparent"
156
157
  }), [ bgColor ]);
157
158
  return jsxs("div", Object.assign({
@@ -177,7 +178,7 @@ const DraggablePanel = React.memo(props => {
177
178
  display: closed || !drags ? "none" : "flex",
178
179
  alignItems: "center",
179
180
  justifyContent: "center",
180
- zIndex: 1,
181
+ zIndex: "var(--elevation-overlay)",
181
182
  top: 0
182
183
  }, leftRightStyle), {
183
184
  bottom: 0,
@@ -1,13 +1,13 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useState, useRef, useEffect, useCallback, useMemo } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-zecH7-IH.mjs";
8
+ import { s as setStyle } from "./misc-C5cfUKzm.mjs";
9
9
 
10
- import { I as Icon } from "./Icon-L8B35JN1.mjs";
10
+ import { I as Icon } from "./Icon-CKS12m2e.mjs";
11
11
 
12
12
  var css = {
13
13
  wrapper: "DropDown-module_wrapper__CyX0u flexBox-module_rowStart__4tcxS",
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -11,13 +11,13 @@ import { useTheme } from "../hooks/useTheme.mjs";
11
11
 
12
12
  import "../theme/colors.mjs";
13
13
 
14
- import { a as addOpacity } from "./colors-v5b8_oYV.mjs";
14
+ import { a as addOpacity } from "./colors-7VDET9eL.mjs";
15
15
 
16
- import "./webRTCStore-DhFE9-bb.mjs";
16
+ import "./webRTCStore-BLGNTnV3.mjs";
17
17
 
18
- import "./microphoneStore-Cbx9nV4R.mjs";
18
+ import "./microphoneStore-Do0a5LZ9.mjs";
19
19
 
20
- import "./volumeStore-BrgZCRKF.mjs";
20
+ import "./volumeStore-D5i1CeFf.mjs";
21
21
 
22
22
  import "../hooks/useWindow.mjs";
23
23
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
4
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
5
5
 
@@ -9,13 +9,13 @@ import { useTheme } from "../hooks/useTheme.mjs";
9
9
 
10
10
  import "../theme/colors.mjs";
11
11
 
12
- import { a as accessibleKeyDown } from "./misc-zecH7-IH.mjs";
12
+ import { a as accessibleKeyDown } from "./misc-C5cfUKzm.mjs";
13
13
 
14
- import "./webRTCStore-DhFE9-bb.mjs";
14
+ import "./webRTCStore-BLGNTnV3.mjs";
15
15
 
16
- import "./microphoneStore-Cbx9nV4R.mjs";
16
+ import "./microphoneStore-Do0a5LZ9.mjs";
17
17
 
18
- import "./volumeStore-BrgZCRKF.mjs";
18
+ import "./volumeStore-D5i1CeFf.mjs";
19
19
 
20
20
  import "../hooks/useWindow.mjs";
21
21
 
@@ -1,17 +1,17 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useCallback, useMemo } from "react";
7
7
 
8
- import { s as setStyle, a as accessibleKeyDown } from "./misc-zecH7-IH.mjs";
8
+ import { s as setStyle, a as accessibleKeyDown } from "./misc-C5cfUKzm.mjs";
9
9
 
10
- import { F as FileIcon } from "./FileIcon-iFmAF7_a.mjs";
10
+ import { F as FileIcon } from "./FileIcon-CudRs_lw.mjs";
11
11
 
12
- import { I as Icon } from "./Icon-L8B35JN1.mjs";
12
+ import { I as Icon } from "./Icon-CKS12m2e.mjs";
13
13
 
14
- import { P as ProgressIndicator } from "./ProgressIndicator-HaJJDZ-m.mjs";
14
+ import { P as ProgressIndicator } from "./ProgressIndicator-C2EWIn7Z.mjs";
15
15
 
16
16
  /**
17
17
  * Split a file name into its display name and extension.
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -11,17 +11,17 @@ import { useTheme } from "../hooks/useTheme.mjs";
11
11
 
12
12
  import "../theme/colors.mjs";
13
13
 
14
- import "./webRTCStore-DhFE9-bb.mjs";
14
+ import "./webRTCStore-BLGNTnV3.mjs";
15
15
 
16
- import "./microphoneStore-Cbx9nV4R.mjs";
16
+ import "./microphoneStore-Do0a5LZ9.mjs";
17
17
 
18
- import "./volumeStore-BrgZCRKF.mjs";
18
+ import "./volumeStore-D5i1CeFf.mjs";
19
19
 
20
20
  import "../hooks/useWindow.mjs";
21
21
 
22
- import { B as Badge } from "./Badge-bh5UVUnt.mjs";
22
+ import { B as Badge } from "./Badge-BKZj-pNA.mjs";
23
23
 
24
- import { I as Icon } from "./Icon-L8B35JN1.mjs";
24
+ import { I as Icon } from "./Icon-CKS12m2e.mjs";
25
25
 
26
26
  var css_header = "Grouper-module_header__D5fV0 flexBox-module_rowBetween__5FEvi", css_title = "Grouper-module_title__ZKqTP flexBox-module_rowBetween__5FEvi type-module_body-m-regular__LuQBA", css_content = "Grouper-module_content__Mof50 flexBox-module_rowBetween__5FEvi", css_icon = "Grouper-module_icon__14Jis flexBox-module_row__z24tF";
27
27
 
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
- import { jsxs, Fragment, jsx } from "react/jsx-runtime";
4
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useMemo } from "react";
7
7
 
@@ -9,13 +9,13 @@ import { useTheme } from "../hooks/useTheme.mjs";
9
9
 
10
10
  import "../theme/colors.mjs";
11
11
 
12
- import { a as accessibleKeyDown } from "./misc-zecH7-IH.mjs";
12
+ import { a as accessibleKeyDown } from "./misc-C5cfUKzm.mjs";
13
13
 
14
- import "./webRTCStore-DhFE9-bb.mjs";
14
+ import "./webRTCStore-BLGNTnV3.mjs";
15
15
 
16
- import "./microphoneStore-Cbx9nV4R.mjs";
16
+ import "./microphoneStore-Do0a5LZ9.mjs";
17
17
 
18
- import "./volumeStore-BrgZCRKF.mjs";
18
+ import "./volumeStore-D5i1CeFf.mjs";
19
19
 
20
20
  import "../hooks/useWindow.mjs";
21
21
 
@@ -24,7 +24,19 @@ var css_icon = "Icon-module_icon__szG-X";
24
24
  /**
25
25
  * Static icon registry created once at module load.
26
26
  * Each entry stores only icon line content renderers.
27
- */ const STATIC_ICON_REGISTRY = new Map([ [ "talk", {
27
+ */ const STATIC_ICON_REGISTRY = new Map([ [ "npm", {
28
+ line: ({strokeColor: strokeColor}) => jsx("path", {
29
+ d: "M7.415 7.656l17.291 0.024-0.011 17.29h-4.329l0.012-12.974h-4.319l-0.010 12.964h-8.656zM3.207 1.004c-0.002 0-0.003 0-0.005 0-1.214 0-2.198 0.984-2.198 2.198 0 0.002 0 0.004 0 0.006v-0 25.585c0 0.002 0 0.003 0 0.005 0 1.214 0.984 2.198 2.198 2.198 0.002 0 0.004 0 0.006 0h25.585c0.002 0 0.003 0 0.005 0 1.214 0 2.198-0.984 2.198-2.198 0-0.002 0-0.004 0-0.006v0-25.585c0-0.002 0-0.003 0-0.005 0-1.214-0.984-2.198-2.198-2.198-0.002 0-0.004 0-0.006 0h0z",
30
+ transform: "scale(0.625)",
31
+ fill: strokeColor
32
+ })
33
+ } ], [ "github", {
34
+ line: ({strokeColor: strokeColor}) => jsx("path", {
35
+ d: "M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z",
36
+ transform: "translate(0 0) scale(1.25)",
37
+ fill: strokeColor
38
+ })
39
+ } ], [ "talk", {
28
40
  line: ({strokeColor: strokeColor, fillColor: fillColor}) => jsxs(Fragment, {
29
41
  children: [ jsx("path", {
30
42
  d: "M10,2.5c4.14,0,7.5,3.36,7.5,7.5s-3.36,7.5-7.5,7.5-7.5-3.36-7.5-7.5,3.36-7.5,7.5-7.5M10,1C5.03,1,1,5.03,1,10s4.03,9,9,9,9-4.03,9-9S14.97,1,10,1h0Z",
@@ -0,0 +1,193 @@
1
+ 'use client';
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
+
4
+ import { jsxs, jsx } from "react/jsx-runtime";
5
+
6
+ import { motion } from "motion/react";
7
+
8
+ import React, { useRef, useState, useEffect, useCallback, useMemo } from "react";
9
+
10
+ import { B as Badge } from "./Badge-BKZj-pNA.mjs";
11
+
12
+ import { D as Dot } from "./Dot-DnfM38Qp.mjs";
13
+
14
+ import { I as Icon } from "./Icon-CKS12m2e.mjs";
15
+
16
+ import { T as ToolTipType } from "./sharedTypes-7jlhdP2f.mjs";
17
+
18
+ var AnimationPreset, AnimationType, css_button = "IconButton-module_button__rziqa flexBox-module_row__z24tF", css_label = "IconButton-module_label__qWGFD flexBox-module_row__z24tF type-module_body-l-regular__lOYbg", css_icon = "IconButton-module_icon__2DDWy flexBox-module_row__z24tF", css_count = "IconButton-module_count__6r373 flexBox-module_row__z24tF";
19
+
20
+ /**
21
+ * Helper for quick popular animation effects
22
+ */ !function(AnimationPreset) {
23
+ AnimationPreset.Rotate = "rotate", AnimationPreset.Fade = "fade", AnimationPreset.Scale = "scale";
24
+ }(AnimationPreset || (AnimationPreset = {})), function(AnimationType) {
25
+ AnimationType.Rotate = "rotate", AnimationType.Fade = "opacity", AnimationType.Scale = "scale";
26
+ }(AnimationType || (AnimationType = {}));
27
+
28
+ /**
29
+ * Resolves presets to a button animation
30
+ */
31
+ const presetAnimation = {
32
+ [AnimationPreset.Rotate]: {
33
+ animation: {
34
+ type: AnimationType.Rotate,
35
+ value: {
36
+ on: 0,
37
+ off: 180
38
+ }
39
+ },
40
+ transition: {
41
+ on: {
42
+ duration: .25,
43
+ ease: "linear"
44
+ }
45
+ }
46
+ },
47
+ [AnimationPreset.Fade]: {
48
+ animation: {
49
+ type: AnimationType.Fade,
50
+ value: {
51
+ off: 0,
52
+ on: 1
53
+ }
54
+ },
55
+ transition: {
56
+ on: {
57
+ duration: .25,
58
+ ease: "easeInOut"
59
+ }
60
+ }
61
+ },
62
+ [AnimationPreset.Scale]: {
63
+ animation: {
64
+ type: AnimationType.Scale,
65
+ value: {
66
+ off: 0,
67
+ on: 1
68
+ }
69
+ },
70
+ transition: {
71
+ on: {
72
+ duration: .25,
73
+ ease: "linear"
74
+ }
75
+ }
76
+ }
77
+ }, resolveVariants = (presets, custom) => {
78
+ const animations = [];
79
+ let transition;
80
+ if (presets) {
81
+ const presetAnimations = presetAnimation[presets].animation, presetTransition = presetAnimation[presets].transition, animationEntries = Array.isArray(presetAnimations) ? presetAnimations : [ presetAnimations ];
82
+ animations.push(...animationEntries), presetTransition && (transition = presetTransition);
83
+ }
84
+ if (custom) {
85
+ const customAnimations = custom.animation, customTransition = custom.transition, customAnimationEntries = Array.isArray(customAnimations) ? customAnimations : [ customAnimations ];
86
+ animations.push(...customAnimationEntries), customTransition && (transition = customTransition);
87
+ }
88
+ return (animations => {
89
+ if (!animations) return;
90
+ const variants = {
91
+ initial: {},
92
+ animate: {},
93
+ exit: {}
94
+ }, {animation: animation, transition: transition} = animations, animationEntries = Array.isArray(animation) ? animation : [ animation ], {on: on, off: off} = null != transition ? transition : {};
95
+ for (const entry of animationEntries) {
96
+ const {type: type, value: value} = entry;
97
+ variants.initial = Object.assign(Object.assign({}, variants.initial), {
98
+ [type]: value.off
99
+ }), variants.animate = Object.assign(Object.assign({}, variants.animate), {
100
+ [type]: value.on,
101
+ transition: on
102
+ }), variants.exit = Object.assign(Object.assign({}, variants.exit), {
103
+ [type]: value.off,
104
+ transition: null != off ? off : on
105
+ });
106
+ }
107
+ return variants;
108
+ })({
109
+ animation: animations,
110
+ transition: transition
111
+ });
112
+ }, IconButton = React.memo(props => {
113
+ const {frameSize: frameSize = 36, iconSize: iconSize = 20, round: round = !0, icon: icon = "more", borderRadius: borderRadius = 4, border: border = !1, tooltip: tooltip, color: color, colorOn: colorOn, iconFill: iconFill = !1, bgColor: bgColor = "var(--core-surface-secondary)", bgColorHover: bgColorHover = "var(--core-outline-primary)", bgColorOn: bgColorOn = "var(--core-outline-primary)", iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, fillColor: fillColor, label: label, hover: hover = !0, count: count = 0, toggle: toggle = !1, toggleIcon: toggleIcon = !1, isToggled: isToggled = !1, disabled: disabled = !1, showDot: showDot = !1, buttonSize: buttonSize = "m", presetAnimations: presetAnimations, customAnimations: customAnimations, onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "frameSize", "iconSize", "round", "icon", "borderRadius", "border", "tooltip", "color", "colorOn", "iconFill", "bgColor", "bgColorHover", "bgColorOn", "iconColor", "iconColorOn", "iconColorHover", "transition", "variants", "initial", "animate", "exit", "fillColor", "label", "hover", "count", "toggle", "toggleIcon", "isToggled", "disabled", "showDot", "buttonSize", "presetAnimations", "customAnimations", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = useRef(null), [on, setOn] = useState(isToggled), [hovered, setHovered] = useState(!1);
114
+ useEffect(() => setOn(isToggled), [ isToggled ]);
115
+ const handleClick = useCallback(e => {
116
+ disabled || (tooltip && onToolTip(null), toggle && setOn(!on), onClick(e));
117
+ }, [ disabled, tooltip, onToolTip, on, onClick, toggle ]), handleMouseEnter = useCallback(e => {
118
+ if (setHovered(!0), !(null == ref ? void 0 : ref.current) || !tooltip) return;
119
+ const tip = {
120
+ type: ToolTipType.button,
121
+ payload: {
122
+ label: tooltip
123
+ },
124
+ event: e,
125
+ ref: ref
126
+ };
127
+ onToolTip(tip);
128
+ }, [ tooltip, onToolTip ]), handleMouseLeave = useCallback(() => {
129
+ setHovered(!1), tooltip && onToolTip(null);
130
+ }, [ tooltip, onToolTip ]), bgColorNormal = useMemo(() => on ? bgColorOn : null != bgColor ? bgColor : "var(--core-surface-secondary)", [ bgColorOn, bgColor, on ]), bgHoverColor = useMemo(() => hover && on ? bgColorOn : hover ? bgColorHover : null != bgColor ? bgColor : "transparent", [ hover, bgColor, bgColorOn, bgColorHover, on ]), textColor = useMemo(() => on ? colorOn : null != color ? color : "var(--core-text-primary)", [ on, colorOn, color ]), setIconColor = useMemo(() => on ? iconColorOn : hovered ? iconColorHover : null != iconColor ? iconColor : "var(--core-text-primary)", [ on, iconColorOn, iconColor, iconColorHover, hovered ]), size = useMemo(() => buttonSize ? "s" === buttonSize ? 24 : "m" === buttonSize ? 36 : "l" === buttonSize ? 44 : "xl" === buttonSize ? 56 : void 0 : frameSize, [ frameSize, buttonSize ]), cssVars = useMemo(() => ({
131
+ "--ib-bg-color": bgColorNormal,
132
+ "--ib-bg-color-hover": disabled ? bgColorNormal : bgHoverColor,
133
+ "--ib-icon-size": `${null != iconSize ? iconSize : 0}px`,
134
+ "--ib-button-size": `${null != size ? size : 0}px`,
135
+ "--ib-border-radius": round ? "100%" : `${null != borderRadius ? borderRadius : 0}px`,
136
+ "--ib-border": border ? "1px" : 0,
137
+ "--ib-color": textColor,
138
+ "--ib-cursor": disabled ? "default" : "pointer"
139
+ }), [ bgColorNormal, bgHoverColor, textColor, border, size, borderRadius, iconSize, round, disabled ]);
140
+ return jsxs(motion.button, Object.assign({
141
+ id: divId,
142
+ type: "button",
143
+ className: `${css_button}${divClass}`,
144
+ style: Object.assign(Object.assign({}, divStyle), cssVars),
145
+ onClick: e => handleClick(e),
146
+ onMouseOutCapture: handleMouseLeave,
147
+ onMouseOverCapture: handleMouseEnter,
148
+ transition: transition,
149
+ variants: variants,
150
+ initial: initial,
151
+ animate: animate,
152
+ exit: exit,
153
+ disabled: disabled,
154
+ "aria-disabled": disabled,
155
+ ref: ref
156
+ }, rest, {
157
+ children: [ jsx(motion.div, {
158
+ className: css_icon,
159
+ style: {
160
+ opacity: disabled ? .3 : 1
161
+ },
162
+ variants: resolveVariants(presetAnimations, customAnimations),
163
+ initial: isToggled ? "animate" : "initial",
164
+ animate: on ? "animate" : "exit",
165
+ children: jsx(Icon, {
166
+ name: icon,
167
+ strokeColor: setIconColor,
168
+ fillColor: fillColor,
169
+ disabled: disabled,
170
+ size: iconSize,
171
+ fill: iconFill,
172
+ toggle: !!toggleIcon && on,
173
+ pointer: !0
174
+ })
175
+ }), label && jsx("div", {
176
+ className: css_label,
177
+ children: label
178
+ }), jsx(Dot, {
179
+ show: showDot
180
+ }), 0 !== count && jsx("div", {
181
+ className: css_count,
182
+ children: jsx(Badge, {
183
+ variant: "light",
184
+ count: count,
185
+ hideNull: !0
186
+ })
187
+ }) ]
188
+ }));
189
+ });
190
+
191
+ /**
192
+ * Resolves button animation to motion variants
193
+ */ export { AnimationPreset as A, IconButton as I, AnimationType as a };
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-CVvvNSPr.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-CDAuOlZ8.mjs";
2
2
 
3
3
  class IndexedDB {
4
4
  constructor(storeName, options = {}) {
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
6
6
  import { useCallback, useMemo } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-zecH7-IH.mjs";
8
+ import { s as setStyle } from "./misc-C5cfUKzm.mjs";
9
9
 
10
10
  var LabelBackground, css = {
11
11
  label: "Label-module_label__RaRvM",
@@ -1,12 +1,12 @@
1
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
1
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
2
2
 
3
3
  import { jsx } from "react/jsx-runtime";
4
4
 
5
5
  import React, { useRef, useState, useMemo, useEffect } from "react";
6
6
 
7
- import { s as setStyle } from "./misc-zecH7-IH.mjs";
7
+ import { s as setStyle } from "./misc-C5cfUKzm.mjs";
8
8
 
9
- import { A as AudioVisualizer } from "./audioVisualizer-nMo67yOW.mjs";
9
+ import { A as AudioVisualizer } from "./audioVisualizer-Cw40IeKn.mjs";
10
10
 
11
11
  var css_wrapper = "Level-module_wrapper__yOfXw", css_barContainer = "Level-module_barContainer__QMUdv", css_bar = "Level-module_bar__MnApX";
12
12
 
@@ -1,17 +1,17 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-CVvvNSPr.mjs";
2
+ import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useRef, useState, useCallback, useMemo, useEffect } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-zecH7-IH.mjs";
8
+ import { s as setStyle } from "./misc-C5cfUKzm.mjs";
9
9
 
10
- import { B as Button } from "./Button-CWKs3uAV.mjs";
10
+ import { B as Button } from "./Button-C6jYGagD.mjs";
11
11
 
12
- import { I as Icon } from "./Icon-L8B35JN1.mjs";
12
+ import { I as Icon } from "./Icon-CKS12m2e.mjs";
13
13
 
14
- import { I as IconButton } from "./IconButton-DxwJemEK.mjs";
14
+ import { I as IconButton } from "./IconButton-Cka059ZT.mjs";
15
15
 
16
16
  var css = {
17
17
  wrapper: "Modal-module_wrapper__34Hds flexBox-module_columnBetween__ERfp7",
@@ -4,15 +4,15 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
4
4
 
5
5
  import { useRef } from "react";
6
6
 
7
- import "./microphoneStore-Cbx9nV4R.mjs";
7
+ import "./microphoneStore-Do0a5LZ9.mjs";
8
8
 
9
- import "./volumeStore-BrgZCRKF.mjs";
9
+ import "./volumeStore-D5i1CeFf.mjs";
10
10
 
11
- import "./webRTCStore-DhFE9-bb.mjs";
11
+ import "./webRTCStore-BLGNTnV3.mjs";
12
12
 
13
- import { O as Overlay } from "./Overlay-Dr9YYxJ6.mjs";
13
+ import { O as Overlay } from "./Overlay-Dp2GOGjC.mjs";
14
14
 
15
- import { u as useModal, a as useModalActions } from "./modalStore-D6_oc47l.mjs";
15
+ import { u as useModal, a as useModalActions } from "./modalStore-OVzsFkde.mjs";
16
16
 
17
17
  var css_container = "ModalController-module_container__3cSaO", css_box = "ModalController-module_box__cPzOz", css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
18
18