@apple-pie/slice 0.1.57 → 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 (313) hide show
  1. package/dist/cjs/chunks/{AudioBubble-Spg7xqc9.js → AudioBubble-BQzb7t1F.js} +4 -4
  2. package/dist/cjs/chunks/{Avatar-BdhreiVP.js → Avatar-CUFzge9h.js} +2 -2
  3. package/dist/cjs/chunks/{AvatarGroup-BD69pplN.js → AvatarGroup-D5g7PFO9.js} +1 -1
  4. package/dist/cjs/chunks/{Badge-C_sva3jT.js → Badge-xNdezdPp.js} +1 -1
  5. package/dist/cjs/chunks/{Button-C8hlMST5.js → Button-CyXJ9uG3.js} +5 -6
  6. package/dist/cjs/chunks/{ButtonBar-1Qjuyr2U.js → ButtonBar-B-RVcWNo.js} +1 -1
  7. package/dist/cjs/chunks/{Camera-CXQLHtv8.js → Camera-CAzaOB4G.js} +5 -5
  8. package/dist/cjs/chunks/{CheckBox-Bp4HCEp5.js → CheckBox-YiVx5dkX.js} +1 -1
  9. package/dist/cjs/chunks/{Chip-D8k22_F8.js → Chip-BChy87kf.js} +7 -5
  10. package/dist/cjs/chunks/{DivInput-BXFPO-Mi.js → DivInput-DfAONl7x.js} +2 -2
  11. package/dist/cjs/chunks/{Dot-BkFz2bG3.js → Dot-D2xmxQUt.js} +2 -2
  12. package/dist/cjs/chunks/{DrggablePanel-EJYkjSuq.js → DrggablePanel-D2BEKaM_.js} +11 -7
  13. package/dist/cjs/chunks/{DropDown-DcrJTYel.js → DropDown-Cj-GZmDN.js} +4 -4
  14. package/dist/cjs/chunks/{ErrorSummary-FYhQ8A2g.js → ErrorSummary-DlrxXxZG.js} +5 -5
  15. package/dist/cjs/chunks/{FileIcon-DdKRzIde.js → FileIcon-BUW6exKf.js} +4 -4
  16. package/dist/cjs/chunks/{FileList-CBR3uaXM.js → FileList-DqMJ-CdS.js} +6 -5
  17. package/dist/cjs/chunks/{FlexDiv-DRaTYgR_.js → FlexDiv-CkjovMfE.js} +4 -4
  18. package/dist/cjs/chunks/{Grouper-k1wtUJlG.js → Grouper-Dw7b-rKO.js} +5 -5
  19. package/dist/cjs/chunks/{Icon-aBLPfZrD.js → Icon-QCkWofx3.js} +4 -4
  20. package/dist/cjs/chunks/{IconButton-CbGXfBLK.js → IconButton-pfCyM8tf.js} +2 -2
  21. package/dist/cjs/chunks/{IndexedDB-BcDtqygg.js → IndexedDB-B8x-Lb5K.js} +1 -1
  22. package/dist/cjs/chunks/{Label-Coei_F3_.js → Label-CYFeaNz2.js} +5 -2
  23. package/dist/cjs/chunks/{Level-DpYVX9KZ.js → Level-1-42wEEw.js} +2 -2
  24. package/dist/cjs/chunks/{Modal-IDb_E4Uj.js → Modal-mzZbLdRN.js} +3 -3
  25. package/dist/cjs/chunks/{ModalController-D0Rk-7xK.js → ModalController-D4miiECK.js} +3 -3
  26. package/dist/cjs/chunks/{Overlay-CTRJWWlC.js → Overlay-CCoJ_1nO.js} +1 -1
  27. package/dist/cjs/chunks/{Pager-CjgU7xRP.js → Pager-Bxyv-Mrf.js} +1 -1
  28. package/dist/cjs/chunks/{ProgressIndicator-Dn_SVbK5.js → ProgressIndicator-DwhhhQU7.js} +5 -5
  29. package/dist/cjs/chunks/{PromptInput-DrqqeB7q.js → PromptInput-B9paGcxy.js} +9 -10
  30. package/dist/cjs/chunks/{RadioButton-Bc7LvS17.js → RadioButton-B9TJk2Mo.js} +3 -3
  31. package/dist/cjs/chunks/{RadioButtonList-Bl6hPvsZ.js → RadioButtonList-BNoRk_XR.js} +1 -1
  32. package/dist/cjs/chunks/{Slider-BAR_f1bT.js → Slider-UfrORkxH.js} +4 -4
  33. package/dist/cjs/chunks/Spacer-C7IiQxXF.js +26 -0
  34. package/dist/cjs/chunks/{Switch-CuK0xq85.js → Switch-hhn2FD0T.js} +4 -4
  35. package/dist/cjs/chunks/{TabBar-DE-0fmd_.js → TabBar-DIQKTsGM.js} +9 -9
  36. package/dist/cjs/chunks/{TextArea-CTDhSMbI.js → TextArea-BOj9zhbi.js} +3 -3
  37. package/dist/cjs/chunks/{TextField-BocVz2FD.js → TextField-DJYu-9le.js} +13 -18
  38. package/dist/cjs/chunks/{Tip-C7hgfkbD.js → Tip-99AK0nJF.js} +3 -3
  39. package/dist/cjs/chunks/{Toast-CUtUp1H3.js → Toast-Bff0E9cy.js} +14 -10
  40. package/dist/cjs/chunks/{ToggleButton-BEw8y4n6.js → ToggleButton-rE3hAk9Y.js} +1 -1
  41. package/dist/cjs/chunks/{UploadArea-cmzfjkdq.js → UploadArea-8TC2vEKQ.js} +8 -4
  42. package/dist/cjs/chunks/{Video-Cqyh2uqE.js → Video-RCjV8YIl.js} +3 -3
  43. package/dist/cjs/chunks/{VideoController-cgbR4TCM.js → VideoController-DELbuJN3.js} +6 -6
  44. package/dist/cjs/chunks/{WSConnection-lb-L_wl2.js → WSConnection-CO9eOg8Z.js} +1 -1
  45. package/dist/cjs/chunks/{WebRTCConnection-C9wlDCWJ.js → WebRTCConnection-CRVE6lTu.js} +1 -1
  46. package/dist/cjs/chunks/{browserChannelsStore-DzmDF2aJ.js → browserChannelsStore-BV2uJVeI.js} +2 -2
  47. package/dist/cjs/chunks/{localDBStore-Bo66OkHk.js → localDBStore-BR-2nDv_.js} +2 -2
  48. package/dist/cjs/chunks/{microphoneStore-D0ussh7L.js → microphoneStore-C1Zp6UiP.js} +1 -1
  49. package/dist/cjs/chunks/{misc-DzYz4zh5.js → misc-CmImf5jl.js} +1 -1
  50. package/dist/cjs/chunks/{sseStore-B-0NYziZ.js → sseStore-CnQU9zYi.js} +3 -3
  51. package/dist/cjs/chunks/{uploads-worker-wiEYAP3-.js → uploads-worker-hKMYFfkr.js} +1 -1
  52. package/dist/cjs/chunks/{uploadsStore-DiER7z5_.js → uploadsStore-D8GRqXd4.js} +2 -2
  53. package/dist/cjs/chunks/{viewState-ktYEaZW2.js → viewState-CcBwTZn8.js} +8 -8
  54. package/dist/cjs/chunks/{volumeStore-Dez02JPh.js → volumeStore-DofQKsQb.js} +1 -1
  55. package/dist/cjs/chunks/{webRTCStore-CAt0Ly4R.js → webRTCStore-CjsjPMWU.js} +2 -2
  56. package/dist/cjs/chunks/{windowStore-BYkEn0kO.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 +1 -1
  104. package/dist/cjs/hooks/useMdStreamBuffer.js +2 -2
  105. package/dist/cjs/hooks/useMicrophone.js +1 -1
  106. package/dist/cjs/hooks/useTrackRenders.js +2 -2
  107. package/dist/cjs/hooks.js +4 -4
  108. package/dist/cjs/index.js +10 -10
  109. package/dist/cjs/providers/themeServer.test.js +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-ck1gSxtM.mjs → AudioBubble-DwE50YGL.mjs} +7 -7
  131. package/dist/esm/chunks/{Avatar-vhBRrvQP.mjs → Avatar-BdjtrRLS.mjs} +3 -3
  132. package/dist/esm/chunks/{AvatarGroup-DDPn1trz.mjs → AvatarGroup-BM-jh9BQ.mjs} +2 -2
  133. package/dist/esm/chunks/{Badge-CntS4K1P.mjs → Badge-CHPL-h3Z.mjs} +1 -1
  134. package/dist/esm/chunks/{Button-DVVXYB5E.mjs → Button-YmXPZrPL.mjs} +10 -11
  135. package/dist/esm/chunks/{ButtonBar-NduUKEhd.mjs → ButtonBar-CKagtnCT.mjs} +3 -3
  136. package/dist/esm/chunks/{Camera-Cofsfiqg.mjs → Camera-CRDO4oL5.mjs} +9 -9
  137. package/dist/esm/chunks/{CheckBox-Du4u1Eva.mjs → CheckBox-B-vtYku8.mjs} +3 -3
  138. package/dist/esm/chunks/{Chip-stmVXz5P.mjs → Chip-BUJmKr_n.mjs} +10 -8
  139. package/dist/esm/chunks/{DivInput-CGAqMs0y.mjs → DivInput-BQMy-OA9.mjs} +3 -3
  140. package/dist/esm/chunks/{Dot-CExdhu0z.mjs → Dot-Bfl1kBUQ.mjs} +2 -2
  141. package/dist/esm/chunks/{DrggablePanel-CCZWzCE4.mjs → DrggablePanel-BuMnBc3u.mjs} +10 -8
  142. package/dist/esm/chunks/{DropDown-REkWym1V.mjs → DropDown-BsSvP2ji.mjs} +6 -6
  143. package/dist/esm/chunks/{ErrorSummary-CnApLAG8.mjs → ErrorSummary-DMOWFhAu.mjs} +7 -7
  144. package/dist/esm/chunks/{FileIcon-CJa41GGE.mjs → FileIcon-k4eYnLQv.mjs} +6 -6
  145. package/dist/esm/chunks/{FileList-CtPtwFg0.mjs → FileList-DeuwRbr1.mjs} +10 -9
  146. package/dist/esm/chunks/{FlexDiv-DfCUyRsq.mjs → FlexDiv-DODEbrMI.mjs} +6 -4
  147. package/dist/esm/chunks/{Grouper-C2ekOKk-.mjs → Grouper-BPVjNabz.mjs} +7 -7
  148. package/dist/esm/chunks/{Icon-DYv9sj3v.mjs → Icon-BlQAJ0NV.mjs} +6 -6
  149. package/dist/esm/chunks/{IconButton-DUz8Pz1Z.mjs → IconButton-byqDhHLo.mjs} +8 -6
  150. package/dist/esm/chunks/{IndexedDB-CO2IHWQq.mjs → IndexedDB-DUCWUJdN.mjs} +1 -1
  151. package/dist/esm/chunks/{Label-osW2bH9O.mjs → Label-DnHSkAZF.mjs} +6 -3
  152. package/dist/esm/chunks/{Level-DbvGSfLq.mjs → Level-CV1kvx1V.mjs} +4 -4
  153. package/dist/esm/chunks/{Modal-Be3CsAWQ.mjs → Modal-CzxOSxwR.mjs} +7 -7
  154. package/dist/esm/chunks/{ModalController-DcZ5fgr-.mjs → ModalController-C6P18AFg.mjs} +5 -5
  155. package/dist/esm/chunks/{Overlay-B8l0rD6j.mjs → Overlay-CXGkHAtm.mjs} +1 -1
  156. package/dist/esm/chunks/{Pager-BkWiP2if.mjs → Pager-B5dbPb9x.mjs} +2 -2
  157. package/dist/esm/chunks/{ProgressIndicator-DPfGlu5w.mjs → ProgressIndicator-DvrIrgxu.mjs} +7 -7
  158. package/dist/esm/chunks/{PromptInput-Dn2jmUeX.mjs → PromptInput-BAyomDiu.mjs} +12 -13
  159. package/dist/esm/chunks/{RadioButton-DsZpFQlj.mjs → RadioButton-D6pFBLOS.mjs} +5 -5
  160. package/dist/esm/chunks/{RadioButtonList-3SGXzY-l.mjs → RadioButtonList-BpT9OaB1.mjs} +3 -3
  161. package/dist/esm/chunks/{Slider-bAlRcnr5.mjs → Slider-5sz0qeXF.mjs} +7 -7
  162. package/dist/esm/chunks/Spacer-gFflabIn.mjs +28 -0
  163. package/dist/esm/chunks/{Switch-YtBkB2gF.mjs → Switch-SXASJgaA.mjs} +4 -4
  164. package/dist/esm/chunks/{TabBar-Bk1kOBSG.mjs → TabBar-BIuiRmrm.mjs} +14 -14
  165. package/dist/esm/chunks/{TextArea-DYim_fwG.mjs → TextArea-DbGoSQVo.mjs} +6 -4
  166. package/dist/esm/chunks/{TextField-CuUvgXoc.mjs → TextField-BtrrxNNH.mjs} +17 -22
  167. package/dist/esm/chunks/{Tip-CO5yFUi-.mjs → Tip-CNKUHvPz.mjs} +4 -4
  168. package/dist/esm/chunks/{Toast-jV_6b03p.mjs → Toast-udN4QBvW.mjs} +14 -12
  169. package/dist/esm/chunks/{ToggleButton-CZbTyzZ7.mjs → ToggleButton-Bu0h-627.mjs} +2 -2
  170. package/dist/esm/chunks/{UploadArea-BjSr0-kl.mjs → UploadArea-CkF7ubsS.mjs} +11 -7
  171. package/dist/esm/chunks/{Video-D5owl4GM.mjs → Video-CeHfRclT.mjs} +10 -8
  172. package/dist/esm/chunks/{VideoController-BMm4f486.mjs → VideoController-D0EXRyjT.mjs} +10 -10
  173. package/dist/esm/chunks/{WSConnection-BkG6pECQ.mjs → WSConnection-n1TRftv9.mjs} +1 -1
  174. package/dist/esm/chunks/{WebRTCConnection-BMc3ILmW.mjs → WebRTCConnection-tvD_P75V.mjs} +1 -1
  175. package/dist/esm/chunks/{browserChannelsStore-BBnRAxaL.mjs → browserChannelsStore-B-xC9TOO.mjs} +2 -2
  176. package/dist/esm/chunks/{localDBStore-ChLj2J2R.mjs → localDBStore-CZslfcnT.mjs} +3 -3
  177. package/dist/esm/chunks/{microphoneStore-CKLPc5zm.mjs → microphoneStore-DkUZbjQU.mjs} +1 -1
  178. package/dist/esm/chunks/{misc-Vjo15VLp.mjs → misc-DtngeJIC.mjs} +1 -1
  179. package/dist/esm/chunks/{sseStore-C0XwLPfn.mjs → sseStore-D45Ex3w6.mjs} +3 -3
  180. package/dist/esm/chunks/{uploads-worker-DV0Cm3VQ.mjs → uploads-worker-BuH0JRF9.mjs} +1 -1
  181. package/dist/esm/chunks/{uploadsStore-DyYma52Z.mjs → uploadsStore-BkOKmrJc.mjs} +1 -1
  182. package/dist/esm/chunks/{viewState-y3yZZZDC.mjs → viewState-uX0vekU4.mjs} +11 -11
  183. package/dist/esm/chunks/{volumeStore-CicDxCvO.mjs → volumeStore-CWqS-X0g.mjs} +1 -1
  184. package/dist/esm/chunks/{webRTCStore-Dr5M8DFU.mjs → webRTCStore-BmyEouBv.mjs} +3 -3
  185. package/dist/esm/chunks/{windowStore-OW9W5zAw.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 +1 -1
  233. package/dist/esm/hooks/useMdStreamBuffer.mjs +3 -3
  234. package/dist/esm/hooks/useMicrophone.mjs +1 -1
  235. package/dist/esm/hooks/useTrackRenders.mjs +2 -2
  236. package/dist/esm/hooks.mjs +8 -8
  237. package/dist/esm/index.mjs +59 -59
  238. package/dist/esm/providers/themeServer.test.mjs +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 +2122 -2105
  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/theme/index.d.ts +2 -0
  276. package/dist/types/theme/spacing/_types.d.ts +10 -0
  277. package/dist/types/theme/spacing/spacing.d.ts +2 -0
  278. package/dist/types/theme/themes.d.ts +2 -0
  279. package/package.json +5 -4
  280. package/dist/cjs/chunks/Spacer-ByFg1uI8.js +0 -19
  281. package/dist/esm/chunks/Spacer-Dw1R_QS-.mjs +0 -21
  282. /package/dist/cjs/chunks/{MdStreamBuffer-pKVX0tZt.js → MdStreamBuffer-_OrgRfVG.js} +0 -0
  283. /package/dist/cjs/chunks/{SSEConnection-cJuY1bye.js → SSEConnection-CbOe_JNB.js} +0 -0
  284. /package/dist/cjs/chunks/{_types-xGDmxITu.js → _types-wkoWD0Y3.js} +0 -0
  285. /package/dist/cjs/chunks/{activeTabStore-DIGbK-zT.js → activeTabStore-CGvD6cav.js} +0 -0
  286. /package/dist/cjs/chunks/{audioVisualizer-CLqdv2K-.js → audioVisualizer-C-MOIbKC.js} +0 -0
  287. /package/dist/cjs/chunks/{broadcastChannel-Bf-u0RnC.js → broadcastChannel-CweolKkH.js} +0 -0
  288. /package/dist/cjs/chunks/{colors-Yb-BONG0.js → colors-CmnEtiBL.js} +0 -0
  289. /package/dist/cjs/chunks/{debounce-B1046f-_.js → debounce-BZaLjB2V.js} +0 -0
  290. /package/dist/cjs/chunks/{magic-string.es-CR7TWHhS.js → magic-string.es-CSldRwCx.js} +0 -0
  291. /package/dist/cjs/chunks/{modalStore-DwgyWAOV.js → modalStore-cZUYwRGj.js} +0 -0
  292. /package/dist/cjs/chunks/{rafThrottle-68q3wWGh.js → rafThrottle-BOry0ZTC.js} +0 -0
  293. /package/dist/cjs/chunks/{sharedTypes-CKKHnYKP.js → sharedTypes-0pou-NPE.js} +0 -0
  294. /package/dist/cjs/chunks/{tipStore-CZDr2c8Z.js → tipStore-CuYu0vqF.js} +0 -0
  295. /package/dist/cjs/chunks/{toastStore-CJJRSAs2.js → toastStore-C13kXzXk.js} +0 -0
  296. /package/dist/cjs/chunks/{tslib.es6-CxZHzsEo.js → tslib.es6-71Jftlb2.js} +0 -0
  297. /package/dist/cjs/chunks/{videoStore-CG5H5-lr.js → videoStore-EhK3IQSb.js} +0 -0
  298. /package/dist/esm/chunks/{MdStreamBuffer-ZUWjyTTg.mjs → MdStreamBuffer-C3dFJJ3U.mjs} +0 -0
  299. /package/dist/esm/chunks/{SSEConnection-3DCZcriT.mjs → SSEConnection-DkGC07fu.mjs} +0 -0
  300. /package/dist/esm/chunks/{_types-DBTuETEQ.mjs → _types-DP1g8sZi.mjs} +0 -0
  301. /package/dist/esm/chunks/{activeTabStore-DR2HKd1h.mjs → activeTabStore-aDjOVZ_V.mjs} +0 -0
  302. /package/dist/esm/chunks/{audioVisualizer-BxszDYyy.mjs → audioVisualizer-BwIDqL-t.mjs} +0 -0
  303. /package/dist/esm/chunks/{broadcastChannel-_Q346Oc1.mjs → broadcastChannel-QIWda6rB.mjs} +0 -0
  304. /package/dist/esm/chunks/{colors-Cpt08T7U.mjs → colors-B_YmJkkL.mjs} +0 -0
  305. /package/dist/esm/chunks/{debounce-D_IO1tKP.mjs → debounce-CuT6TUcG.mjs} +0 -0
  306. /package/dist/esm/chunks/{magic-string.es-LOpujL9L.mjs → magic-string.es-ya4sZF4A.mjs} +0 -0
  307. /package/dist/esm/chunks/{modalStore-CMO5OJNA.mjs → modalStore-BloNa5y6.mjs} +0 -0
  308. /package/dist/esm/chunks/{rafThrottle-BMAGudCU.mjs → rafThrottle-CA0kPebe.mjs} +0 -0
  309. /package/dist/esm/chunks/{sharedTypes-DRYdKvBH.mjs → sharedTypes-BFgEbKnN.mjs} +0 -0
  310. /package/dist/esm/chunks/{tipStore-C2MdlITu.mjs → tipStore-DnHV2nLl.mjs} +0 -0
  311. /package/dist/esm/chunks/{toastStore-bClN8hti.mjs → toastStore-DURM_fWk.mjs} +0 -0
  312. /package/dist/esm/chunks/{tslib.es6-UNsbHCvA.mjs → tslib.es6-CV__4jU7.mjs} +0 -0
  313. /package/dist/esm/chunks/{videoStore-DbLjS_2T.mjs → videoStore-DzD6pFQl.mjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-UNsbHCvA.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-Vjo15VLp.mjs";
10
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
11
11
 
12
- import { A as AudioVisualizer } from "./audioVisualizer-BxszDYyy.mjs";
12
+ import { A as AudioVisualizer } from "./audioVisualizer-BwIDqL-t.mjs";
13
13
 
14
- import "./broadcastChannel-_Q346Oc1.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-UNsbHCvA.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-Vjo15VLp.mjs";
10
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
11
11
 
12
- import { B as Button } from "./Button-DVVXYB5E.mjs";
12
+ import { B as Button } from "./Button-YmXPZrPL.mjs";
13
13
 
14
- import { I as Icon } from "./Icon-DYv9sj3v.mjs";
14
+ import { I as Icon } from "./Icon-BlQAJ0NV.mjs";
15
15
 
16
- import { I as IconButton } from "./IconButton-DUz8Pz1Z.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-CKLPc5zm.mjs";
8
+ import "./microphoneStore-DkUZbjQU.mjs";
9
9
 
10
- import "./volumeStore-CicDxCvO.mjs";
10
+ import "./volumeStore-CWqS-X0g.mjs";
11
11
 
12
- import "./webRTCStore-Dr5M8DFU.mjs";
12
+ import "./webRTCStore-BmyEouBv.mjs";
13
13
 
14
- import { O as Overlay } from "./Overlay-B8l0rD6j.mjs";
14
+ import { O as Overlay } from "./Overlay-CXGkHAtm.mjs";
15
15
 
16
- import { u as useModal, a as useModalActions } from "./modalStore-CMO5OJNA.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-UNsbHCvA.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-UNsbHCvA.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-Vjo15VLp.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-UNsbHCvA.mjs";
12
+ import { a as __rest } from "./tslib.es6-CV__4jU7.mjs";
13
13
 
14
- import "./broadcastChannel-_Q346Oc1.mjs";
14
+ import "./broadcastChannel-QIWda6rB.mjs";
15
15
 
16
- import "./webRTCStore-Dr5M8DFU.mjs";
16
+ import "./webRTCStore-BmyEouBv.mjs";
17
17
 
18
- import "./microphoneStore-CKLPc5zm.mjs";
18
+ import "./microphoneStore-DkUZbjQU.mjs";
19
19
 
20
- import "./volumeStore-CicDxCvO.mjs";
20
+ import "./volumeStore-CWqS-X0g.mjs";
21
21
 
22
22
  import "../hooks/useWindow.mjs";
23
23
 
24
- import { I as Icon } from "./Icon-DYv9sj3v.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-UNsbHCvA.mjs";
14
+ import "./tslib.es6-CV__4jU7.mjs";
15
15
 
16
- import { s as setStyle } from "./misc-Vjo15VLp.mjs";
16
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
17
17
 
18
- import "./broadcastChannel-_Q346Oc1.mjs";
18
+ import "./broadcastChannel-QIWda6rB.mjs";
19
19
 
20
- import "./webRTCStore-Dr5M8DFU.mjs";
20
+ import "./webRTCStore-BmyEouBv.mjs";
21
21
 
22
- import "./microphoneStore-CKLPc5zm.mjs";
22
+ import "./microphoneStore-DkUZbjQU.mjs";
23
23
 
24
- import "./volumeStore-CicDxCvO.mjs";
24
+ import "./volumeStore-CWqS-X0g.mjs";
25
25
 
26
26
  import "../hooks/useWindow.mjs";
27
27
 
28
- import { B as Button } from "./Button-DVVXYB5E.mjs";
28
+ import { B as Button } from "./Button-YmXPZrPL.mjs";
29
29
 
30
- import { F as FileList } from "./FileList-CtPtwFg0.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-UNsbHCvA.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-Vjo15VLp.mjs";
8
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
9
9
 
10
- import { I as Icon } from "./Icon-DYv9sj3v.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-UNsbHCvA.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-Vjo15VLp.mjs";
8
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
9
9
 
10
- import { R as RadioButton } from "./RadioButton-DsZpFQlj.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-UNsbHCvA.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-Vjo15VLp.mjs";
12
+ import { p as pointerPosition } from "./misc-DtngeJIC.mjs";
13
13
 
14
- import { d as debounce } from "./debounce-D_IO1tKP.mjs";
14
+ import { d as debounce } from "./debounce-CuT6TUcG.mjs";
15
15
 
16
- import "./broadcastChannel-_Q346Oc1.mjs";
16
+ import "./broadcastChannel-QIWda6rB.mjs";
17
17
 
18
- import "./webRTCStore-Dr5M8DFU.mjs";
18
+ import "./webRTCStore-BmyEouBv.mjs";
19
19
 
20
- import "./microphoneStore-CKLPc5zm.mjs";
20
+ import "./microphoneStore-DkUZbjQU.mjs";
21
21
 
22
- import "./volumeStore-CicDxCvO.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-UNsbHCvA.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-UNsbHCvA.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-Vjo15VLp.mjs";
14
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
15
15
 
16
- import "./broadcastChannel-_Q346Oc1.mjs";
16
+ import "./broadcastChannel-QIWda6rB.mjs";
17
17
 
18
- import "./webRTCStore-Dr5M8DFU.mjs";
18
+ import "./webRTCStore-BmyEouBv.mjs";
19
19
 
20
- import "./microphoneStore-CKLPc5zm.mjs";
20
+ import "./microphoneStore-DkUZbjQU.mjs";
21
21
 
22
- import "./volumeStore-CicDxCvO.mjs";
22
+ import "./volumeStore-CWqS-X0g.mjs";
23
23
 
24
24
  import "../hooks/useWindow.mjs";
25
25
 
26
- import { B as Badge } from "./Badge-CntS4K1P.mjs";
26
+ import { B as Badge } from "./Badge-CHPL-h3Z.mjs";
27
27
 
28
- import { I as Icon } from "./Icon-DYv9sj3v.mjs";
28
+ import { I as Icon } from "./Icon-BlQAJ0NV.mjs";
29
29
 
30
- import { I as IconButton } from "./IconButton-DUz8Pz1Z.mjs";
30
+ import { I as IconButton } from "./IconButton-byqDhHLo.mjs";
31
31
 
32
- import { T as ToolTipType } from "./sharedTypes-DRYdKvBH.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-UNsbHCvA.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-DVVXYB5E.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)}`,
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-UNsbHCvA.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
 
@@ -15,23 +15,23 @@ import { corners } from "../theme/corners.mjs";
15
15
 
16
16
  import "../theme/type.mjs";
17
17
 
18
- import { s as setStyle } from "./misc-Vjo15VLp.mjs";
18
+ import { s as setStyle } from "./misc-DtngeJIC.mjs";
19
19
 
20
- import "./broadcastChannel-_Q346Oc1.mjs";
20
+ import "./broadcastChannel-QIWda6rB.mjs";
21
21
 
22
- import "./webRTCStore-Dr5M8DFU.mjs";
22
+ import "./webRTCStore-BmyEouBv.mjs";
23
23
 
24
- import "./microphoneStore-CKLPc5zm.mjs";
24
+ import "./microphoneStore-DkUZbjQU.mjs";
25
25
 
26
- import "./volumeStore-CicDxCvO.mjs";
26
+ import "./volumeStore-CWqS-X0g.mjs";
27
27
 
28
28
  import "../hooks/useWindow.mjs";
29
29
 
30
- import { B as Button } from "./Button-DVVXYB5E.mjs";
30
+ import { B as Button } from "./Button-YmXPZrPL.mjs";
31
31
 
32
- import { I as Icon } from "./Icon-DYv9sj3v.mjs";
32
+ import { I as Icon } from "./Icon-BlQAJ0NV.mjs";
33
33
 
34
- import { I as IconButton } from "./IconButton-DUz8Pz1Z.mjs";
34
+ import { I as IconButton } from "./IconButton-byqDhHLo.mjs";
35
35
 
36
36
  var css = {
37
37
  wrapper: "TextField-module_wrapper__qZ-p- flexBox-module_rowStart__4tcxS",
@@ -103,21 +103,16 @@ const MOTION_CONFIG = {
103
103
  } : void 0, [ clearButton ]), setBackgroundColor = useMemo(() => inline ? "unset" : isFocused ? null != backgroundColorFocused ? backgroundColorFocused : "transparent" : null != backgroundColorBlurred ? backgroundColorBlurred : "transparent", [ inline, isFocused, backgroundColorFocused, backgroundColorBlurred ]), setBorderColor = useMemo(() => {
104
104
  var _a, _b;
105
105
  return "none" === borderType ? "transparent" : error ? null !== (_a = null != borderColorError ? borderColorError : borderColorBlurred) && void 0 !== _a ? _a : "transparent" : isFocused ? null !== (_b = null != borderColorFocused ? borderColorFocused : borderColorBlurred) && void 0 !== _b ? _b : "transparent" : null != borderColorBlurred ? borderColorBlurred : "transparent";
106
- }, [ borderType, error, isFocused, borderColorError, borderColorFocused, borderColorBlurred ]), setBoxShadow = useMemo(() => "none" === borderType ? "unset" : "underline" === borderType ? `0 1px 0 0 ${setBorderColor}` : `0 0 0 1px ${setBorderColor}`, [ borderType, setBorderColor ]), textColor = useMemo(() => error ? null != textColorError ? textColorError : "var(--core-text-primary)" : isFocused ? null != textColorFocused ? textColorFocused : "var(--core-text-primary)" : null != textColorBlurred ? textColorBlurred : "var(--core-text-primary)", [ isFocused, error, textColorError, textColorFocused, textColorBlurred ]), setTextAlign = useMemo(() => null != textAlign ? textAlign : "left", [ textAlign ]), setShowOpacity = useMemo(() => "password" !== inputType ? "0" : isFocused ? "1" : "0.5", [ inputType, isFocused ]), setPaddingRight = useMemo(() => {
107
- const defaultPadding = clearButton ? 8 : 16;
108
- if (!padding) return defaultPadding;
109
- if ("string" == typeof padding) {
110
- const paddingParts = padding.split(" "), sidePadding = paddingParts[1 === paddingParts.length ? 0 : 1], sideAsNumber = Number.parseFloat(sidePadding.replace("px", ""));
111
- return Number.isNaN(sideAsNumber) ? defaultPadding : sideAsNumber - 4;
112
- }
113
- return clearButton ? padding - 4 : padding;
114
- }, [ padding, clearButton ]), cssVars = useMemo(() => ({
106
+ }, [ borderType, error, isFocused, borderColorError, borderColorFocused, borderColorBlurred ]), setBoxShadow = useMemo(() => "none" === borderType ? "unset" : "underline" === borderType ? `0 1px 0 0 ${setBorderColor}` : `0 0 0 1px ${setBorderColor}`, [ borderType, setBorderColor ]), textColor = useMemo(() => error ? null != textColorError ? textColorError : "var(--core-text-primary)" : isFocused ? null != textColorFocused ? textColorFocused : "var(--core-text-primary)" : null != textColorBlurred ? textColorBlurred : "var(--core-text-primary)", [ isFocused, error, textColorError, textColorFocused, textColorBlurred ]), setTextAlign = useMemo(() => null != textAlign ? textAlign : "left", [ textAlign ]), setShowOpacity = useMemo(() => "password" !== inputType ? "0" : isFocused ? "1" : "0.5", [ inputType, isFocused ]), resolvedPadding = useMemo(() => {
107
+ if (null != padding) return "number" == typeof padding ? `${padding}px` : padding;
108
+ const iconInset = "calc(var(--spacing-m) - var(--spacing-xs))";
109
+ return `var(--spacing-s) ${"password" === inputType && !noShow || !actionButton && clearButton ? iconInset : "var(--spacing-m)"} var(--spacing-s) ${iconLeft && !label ? iconInset : "var(--spacing-m)"}`;
110
+ }, [ padding, iconLeft, label, inputType, noShow, actionButton, clearButton ]), cssVars = useMemo(() => ({
115
111
  "--tf-input-width": "unset" !== size.width && "100%",
116
112
  "--tf-field-size": "auto" === size.width ? "content" : "unset",
117
113
  "--tf-width": setStyle(size.width),
118
114
  "--tf-height": setStyle(size.height),
119
- "--tf-padding": setStyle(padding, "8px 10px"),
120
- "--tf-padding-right": `${setPaddingRight}px`,
115
+ "--tf-padding": resolvedPadding,
121
116
  "--tf-padding-label-left": "" === label ? "unset" : "0",
122
117
  "--tf-border-radius": setStyle(borderRadius),
123
118
  "--tf-bg-color": setBackgroundColor,
@@ -127,7 +122,7 @@ const MOTION_CONFIG = {
127
122
  "--tf-text-align": setTextAlign,
128
123
  "--tf-show-opacity": setShowOpacity,
129
124
  "--tf-placeholder-color": null != textColorPlaceholder ? textColorPlaceholder : "var(--core-text-disabled)"
130
- }), [ size, padding, label, borderRadius, setBackgroundColor, setBoxShadow, textColor, setTextAlign, setShowOpacity, textColorPlaceholder, textColorDisabled, labelColor, disabled, setPaddingRight ]);
125
+ }), [ size, label, borderRadius, setBackgroundColor, setBoxShadow, textColor, setTextAlign, setShowOpacity, textColorPlaceholder, textColorDisabled, labelColor, disabled, resolvedPadding ]);
131
126
  return jsxs("div", Object.assign({
132
127
  id: divId,
133
128
  className: `${css.wrapper}${divClass}`,
@@ -208,7 +203,7 @@ const MOTION_CONFIG = {
208
203
  }) ]
209
204
  }) ]
210
205
  }));
211
- }, (prevProps, nextProps) => prevProps.value === nextProps.value && prevProps.borderType === nextProps.borderType && prevProps.borderRadius === nextProps.borderRadius && prevProps.borderColorFocused === nextProps.borderColorFocused && prevProps.borderColorBlurred === nextProps.borderColorBlurred && prevProps.borderColorError === nextProps.borderColorError && prevProps.backgroundColorFocused === nextProps.backgroundColorFocused && prevProps.backgroundColorBlurred === nextProps.backgroundColorBlurred && prevProps.textColorFocused === nextProps.textColorFocused && prevProps.textColorBlurred === nextProps.textColorBlurred && prevProps.textColorError === nextProps.textColorError && prevProps.textColorPlaceholder === nextProps.textColorPlaceholder && prevProps.textColorDisabled === nextProps.textColorDisabled && prevProps.labelColor === nextProps.labelColor && prevProps.labelSize === nextProps.labelSize && prevProps.focused === nextProps.focused && prevProps.error === nextProps.error && prevProps.disabled === nextProps.disabled && prevProps.label === nextProps.label && prevProps.inputType === nextProps.inputType && prevProps.textSize === nextProps.textSize && prevProps.padding === nextProps.padding && prevProps.textAlign === nextProps.textAlign && prevProps.placeholder === nextProps.placeholder);
206
+ }, (prevProps, nextProps) => prevProps.value === nextProps.value && prevProps.borderType === nextProps.borderType && prevProps.borderRadius === nextProps.borderRadius && prevProps.borderColorFocused === nextProps.borderColorFocused && prevProps.borderColorBlurred === nextProps.borderColorBlurred && prevProps.borderColorError === nextProps.borderColorError && prevProps.backgroundColorFocused === nextProps.backgroundColorFocused && prevProps.backgroundColorBlurred === nextProps.backgroundColorBlurred && prevProps.textColorFocused === nextProps.textColorFocused && prevProps.textColorBlurred === nextProps.textColorBlurred && prevProps.textColorError === nextProps.textColorError && prevProps.textColorPlaceholder === nextProps.textColorPlaceholder && prevProps.textColorDisabled === nextProps.textColorDisabled && prevProps.labelColor === nextProps.labelColor && prevProps.labelSize === nextProps.labelSize && prevProps.focused === nextProps.focused && prevProps.error === nextProps.error && prevProps.disabled === nextProps.disabled && prevProps.label === nextProps.label && prevProps.inputType === nextProps.inputType && prevProps.textSize === nextProps.textSize && prevProps.padding === nextProps.padding && prevProps.iconLeft === nextProps.iconLeft && prevProps.clearButton === nextProps.clearButton && prevProps.actionButton === nextProps.actionButton && prevProps.noShow === nextProps.noShow && prevProps.textAlign === nextProps.textAlign && prevProps.placeholder === nextProps.placeholder);
212
207
 
213
208
  TextField.displayName = "TextField";
214
209
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-UNsbHCvA.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,7 +7,7 @@ import { motion } from "motion/react";
7
7
 
8
8
  import React, { useState, useRef, useEffect, useMemo } from "react";
9
9
 
10
- import { f as filterClasses } from "./misc-Vjo15VLp.mjs";
10
+ import { s as setStyle, f as filterClasses } from "./misc-DtngeJIC.mjs";
11
11
 
12
12
  import { corners } from "../theme/corners.mjs";
13
13
 
@@ -51,11 +51,11 @@ const tipBasePos = {
51
51
  };
52
52
  }, [ coords, showDelay, hideDelay ]), useEffect(() => setAnimate(ready), [ ready ]);
53
53
  const cssVars = useMemo(() => ({
54
- "--tooltip-padding": null != padding ? padding : "3px 6px",
54
+ "--tooltip-padding": 0 === padding ? "0px" : setStyle(padding, "var(--spacing-xs) var(--spacing-s)"),
55
55
  "--tooltip-background": null != resolvedBackgroundColor ? resolvedBackgroundColor : "var(--core-surface-secondary)",
56
56
  "--tooltip-color": null != resolvedTextColor ? resolvedTextColor : "var(--core-text-primary)",
57
57
  "--tooltip-border": border ? `1px solid ${null != borderColor ? borderColor : "var(--core-outline-primary)"}` : "unset",
58
- "--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : `${corners["corner-xs"]}px`
58
+ "--tooltip-border-radius": setStyle(resolvedBorderRadius, corners["corner-xs"])
59
59
  }), [ padding, resolvedBackgroundColor, resolvedTextColor, border, borderColor, resolvedBorderRadius ]), coordStyle = useMemo(() => {
60
60
  const {left: left, top: top} = pos;
61
61
  return {