@apple-pie/slice 0.1.52 → 0.1.54
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.
- package/dist/cjs/chunks/{AudioBubble-Di2Qyjer.js → AudioBubble-Dr6qLxhJ.js} +5 -4
- package/dist/cjs/chunks/{Avatar-L6s2-x0u.js → Avatar-Dm6-L043.js} +2 -2
- package/dist/cjs/chunks/{AvatarGroup-DNGFPl1j.js → AvatarGroup-COzT3ILz.js} +3 -3
- package/dist/cjs/chunks/{Badge-CWASZI0E.js → Badge--0CfhLFo.js} +1 -1
- package/dist/cjs/chunks/{Button-kzWt5lcL.js → Button-GKTXo4mq.js} +5 -5
- package/dist/cjs/chunks/{ButtonBar-BaFGN5AR.js → ButtonBar-DTx0V5jh.js} +2 -2
- package/dist/cjs/chunks/{Camera-CBZmVUf6.js → Camera-D-JFUCUD.js} +7 -6
- package/dist/cjs/chunks/{CheckBox-D8e57FqA.js → CheckBox-C15tG2Bk.js} +1 -1
- package/dist/cjs/chunks/{Chip-DCFtFPpu.js → Chip-Ew-cd6K_.js} +2 -2
- package/dist/cjs/chunks/{DivInput-BbYo5dnn.js → DivInput-D9tdT7eI.js} +5 -5
- package/dist/cjs/chunks/{Dot-ByKZIcva.js → Dot-C_3SC1bM.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-EvnMMRh0.js → DrggablePanel-BJHDIkhE.js} +21 -16
- package/dist/cjs/chunks/{DropDown-C-i2rIhH.js → DropDown-CAOUZGB0.js} +2 -2
- package/dist/cjs/chunks/{ErrorSummary-DLaE1duh.js → ErrorSummary-O4j5yVBP.js} +6 -5
- package/dist/cjs/chunks/{FileIcon-DqFMbhRF.js → FileIcon-CzZLisJx.js} +5 -5
- package/dist/cjs/chunks/{FileList-C3KR7jHj.js → FileList-Be7Sn-bF.js} +2 -2
- package/dist/cjs/chunks/{FlexDiv-BPmDJlQe.js → FlexDiv-D7PuHhZt.js} +1 -1
- package/dist/cjs/chunks/{Grouper-Bm013ATj.js → Grouper-BFDVqFxW.js} +5 -5
- package/dist/cjs/chunks/{Icon-CUbgmUeu.js → Icon-CsNB8HJ4.js} +5 -4
- package/dist/cjs/chunks/{IconButton-BbgyyMjG.js → IconButton-DlLDM8w2.js} +3 -3
- package/dist/cjs/chunks/{IndexedDB-DFVmvrQg.js → IndexedDB-Cj_Oxilj.js} +8 -4
- package/dist/cjs/chunks/{Label-CDuN-9n3.js → Label-BB8PYTuF.js} +2 -2
- package/dist/cjs/chunks/{Level-vbDvflcO.js → Level-IuQRDwDH.js} +3 -3
- package/dist/cjs/chunks/{Modal-BS-9UkxV.js → Modal-c5lf--ia.js} +3 -2
- package/dist/cjs/chunks/{ModalController-B-m3OD5K.js → ModalController-DqlX7Bvu.js} +3 -2
- package/dist/cjs/chunks/{Overlay-QprT1IaK.js → Overlay-BS3eyLZz.js} +2 -2
- package/dist/cjs/chunks/{Pager-7edBFop6.js → Pager-CLGGNiPg.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-Bi1UfJIW.js → ProgressIndicator-CctdHXiJ.js} +5 -4
- package/dist/cjs/chunks/{PromptInput-BHDK8fjX.js → PromptInput-BmPDEllv.js} +13 -8
- package/dist/cjs/chunks/{RadioButton-SqAqjkcO.js → RadioButton-aMfLOeHI.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-Bk4zdfNK.js → RadioButtonList-DUAZeawt.js} +1 -1
- package/dist/cjs/chunks/{Slider-CGXCa5hf.js → Slider-CCqbXz95.js} +5 -4
- package/dist/cjs/chunks/{Spacer-Cz634l5B.js → Spacer-1dAdRzu7.js} +1 -1
- package/dist/cjs/chunks/{Switch-BWz76WjN.js → Switch-D5qUfthw.js} +2 -2
- package/dist/cjs/chunks/{TabBar-BhV5XeiX.js → TabBar-zpHPLgxV.js} +6 -5
- package/dist/cjs/chunks/{TextArea-Dc0MXEtY.js → TextArea-Dq4U3Kpd.js} +5 -5
- package/dist/cjs/chunks/{TextField-l62uCubT.js → TextField-qjDwSe8i.js} +12 -7
- package/dist/cjs/chunks/{Tip-BBMqZlgV.js → Tip-l0mnd4j8.js} +3 -3
- package/dist/cjs/chunks/{Toast-DNSA3BzO.js → Toast-DLh9lGPy.js} +6 -5
- package/dist/cjs/chunks/{ToggleButton-DclomTgT.js → ToggleButton-BXsZ_GRW.js} +5 -5
- package/dist/cjs/chunks/{UploadArea-Bm674kMd.js → UploadArea-O7qgIT09.js} +5 -5
- package/dist/cjs/chunks/{Video-Be2aIETB.js → Video-bDe-_ZqY.js} +26 -22
- package/dist/cjs/chunks/{VideoController-BCTD_gZh.js → VideoController-CpDn6I-1.js} +9 -7
- package/dist/cjs/chunks/{WSConnection-pryKJWc6.js → WSConnection-DSXroJhQ.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-C_GRUnIY.js → WebRTCConnection-hyxJJPiJ.js} +1 -1
- package/dist/cjs/chunks/{browserChannelsStore-6ZSY_xb-.js → browserChannelsStore-CmnVwY1c.js} +2 -2
- package/dist/cjs/chunks/{localDBStore-DO3FanPt.js → localDBStore-DmIQbLFy.js} +2 -2
- package/dist/cjs/chunks/magic-string.es-B_Vt62F2.js +724 -0
- package/dist/cjs/chunks/{microphoneStore-Ch3VVm4T.js → microphoneStore-Dn91izLl.js} +1 -1
- package/dist/cjs/chunks/{misc-BNlFh_4N.js → misc-BPL5e5rQ.js} +1 -1
- package/dist/cjs/chunks/{sseStore-C_INE2Dq.js → sseStore-DQsxYylT.js} +3 -3
- package/dist/cjs/chunks/{uploads-worker-Bz66LCly.js → uploads-worker-CrDHS1Wi.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-blQX5Zny.js → uploadsStore-Cnsx2-as.js} +2 -2
- package/dist/cjs/chunks/{viewState-8FeRZBG3.js → viewState-ClGpHAw4.js} +8 -7
- package/dist/cjs/chunks/{volumeStore-CA9Pdx5e.js → volumeStore-DsHPJx-8.js} +1 -1
- package/dist/cjs/chunks/{webRTCStore-Bu7_nxNq.js → webRTCStore-w3zT4ZiO.js} +2 -2
- package/dist/cjs/chunks/{windowStore-CYvn2_ma.js → windowStore-bOEjKVUr.js} +1 -1
- package/dist/cjs/components/AudioBubble/index.js +6 -5
- package/dist/cjs/components/Avatar/index.js +3 -3
- package/dist/cjs/components/AvatarGroup/index.js +3 -3
- package/dist/cjs/components/Badge/index.js +2 -2
- package/dist/cjs/components/Button/index.js +12 -11
- package/dist/cjs/components/ButtonBar/index.js +9 -8
- package/dist/cjs/components/Camera/index.js +8 -7
- package/dist/cjs/components/CheckBox/index.js +6 -5
- package/dist/cjs/components/Chip/index.js +9 -9
- package/dist/cjs/components/DataTable/index.js +13 -13
- package/dist/cjs/components/DivInput/index.js +4 -3
- package/dist/cjs/components/Dot/index.js +2 -2
- package/dist/cjs/components/DraggablePanel/index.js +6 -5
- package/dist/cjs/components/DropDown/index.js +9 -8
- package/dist/cjs/components/ErrorSummary/index.js +6 -5
- package/dist/cjs/components/FileIcon/index.js +6 -5
- package/dist/cjs/components/FileList/index.js +7 -6
- package/dist/cjs/components/FlexDiv/index.js +2 -2
- package/dist/cjs/components/Grouper/index.js +7 -6
- package/dist/cjs/components/Icon/index.js +6 -5
- package/dist/cjs/components/IconButton/index.js +12 -10
- package/dist/cjs/components/Label/index.js +4 -3
- package/dist/cjs/components/Level/index.js +4 -4
- package/dist/cjs/components/Modal/index.js +12 -12
- package/dist/cjs/components/ModalController/index.js +6 -5
- package/dist/cjs/components/Overlay/index.js +2 -2
- package/dist/cjs/components/Pager/index.js +3 -3
- package/dist/cjs/components/Progress/index.js +6 -5
- package/dist/cjs/components/PromptInput/index.js +10 -9
- package/dist/cjs/components/RadioButton/index.js +6 -5
- package/dist/cjs/components/RadioButtonList/index.js +7 -6
- package/dist/cjs/components/Slider/index.js +6 -5
- package/dist/cjs/components/Spacer/index.js +2 -2
- package/dist/cjs/components/Switch/index.js +2 -2
- package/dist/cjs/components/TabBar/index.js +9 -8
- package/dist/cjs/components/TextArea/index.js +12 -12
- package/dist/cjs/components/Textfield/index.js +10 -9
- package/dist/cjs/components/Tip/index.js +4 -3
- package/dist/cjs/components/Toast/index.js +7 -6
- package/dist/cjs/components/ToggleButton/index.js +12 -12
- package/dist/cjs/components/UploadArea/index.js +11 -10
- package/dist/cjs/components/Video/index.js +15 -13
- package/dist/cjs/components/VideoController/index.js +12 -12
- package/dist/cjs/hooks/useAudioRecorder.js +1 -1
- package/dist/cjs/hooks/useBindWebRTC.js +2 -2
- package/dist/cjs/hooks/useClipboard.js +2 -2
- package/dist/cjs/hooks/useMdStreamBuffer.js +2 -2
- package/dist/cjs/hooks/useMicrophone.js +1 -1
- package/dist/cjs/hooks/useTrackRenders.js +2 -2
- package/dist/cjs/hooks.js +4 -4
- package/dist/cjs/index.js +10 -10
- package/dist/cjs/providers/themeServer.test.js +10574 -0
- package/dist/cjs/stores/LocalDB.js +3 -3
- package/dist/cjs/stores/SSE.js +3 -3
- package/dist/cjs/stores/WS.js +3 -3
- package/dist/cjs/stores/WebRTC.js +3 -3
- package/dist/cjs/stores/browserChannel.js +2 -2
- package/dist/cjs/stores/microphone.js +2 -2
- package/dist/cjs/stores/modal.js +1 -1
- package/dist/cjs/stores/tip.js +1 -1
- package/dist/cjs/stores/toast.js +1 -1
- package/dist/cjs/stores/uploads.js +2 -2
- package/dist/cjs/stores/video.js +1 -1
- package/dist/cjs/stores/volume.js +2 -2
- package/dist/cjs/stores/window.js +2 -2
- package/dist/cjs/stores.js +15 -16
- package/dist/cjs/theme/corners.js +8 -8
- package/dist/cjs/utils/index.js +2 -2
- package/dist/cjs/utils/objects/index.js +2 -2
- package/dist/cjs/workers/uploads/uploads.js +2 -2
- package/dist/esm/chunks/{AudioBubble-BzlrPWjD.mjs → AudioBubble-D-RT0yf7.mjs} +8 -6
- package/dist/esm/chunks/{Avatar-DE7v6q5Z.mjs → Avatar-Cfg6FJ0s.mjs} +3 -3
- package/dist/esm/chunks/{AvatarGroup-B-E3eFeF.mjs → AvatarGroup-Gj3VU9aT.mjs} +4 -4
- package/dist/esm/chunks/{Badge-Cli_Ebpu.mjs → Badge-gU-yUZyp.mjs} +1 -1
- package/dist/esm/chunks/{Button-BdxJ4wnE.mjs → Button-CWM6SoTH.mjs} +12 -10
- package/dist/esm/chunks/{ButtonBar-LIzMkcAW.mjs → ButtonBar-Dn8dKTlX.mjs} +6 -4
- package/dist/esm/chunks/{Camera-DQIlyciR.mjs → Camera-IjLmPnrx.mjs} +11 -9
- package/dist/esm/chunks/{CheckBox-yuitT-oK.mjs → CheckBox-N-f1qiAg.mjs} +3 -3
- package/dist/esm/chunks/{Chip-BVWlgpZ4.mjs → Chip-3QPbsJ7y.mjs} +7 -5
- package/dist/esm/chunks/{DivInput-SeyX77Nb.mjs → DivInput-BWjyG_0R.mjs} +8 -6
- package/dist/esm/chunks/{Dot-Lyaimh03.mjs → Dot-BbRo6uDo.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel--TPNDMpD.mjs → DrggablePanel-BxhttOxO.mjs} +23 -17
- package/dist/esm/chunks/{DropDown-BmumgcHV.mjs → DropDown-6pBlQiK9.mjs} +6 -4
- package/dist/esm/chunks/{ErrorSummary-CPsaqCL-.mjs → ErrorSummary-CYabMp4V.mjs} +8 -6
- package/dist/esm/chunks/{FileIcon-Ckvm7EOw.mjs → FileIcon-AtwKsycg.mjs} +7 -5
- package/dist/esm/chunks/{FileList-D0b6RxKc.mjs → FileList-WNFbRSQz.mjs} +6 -6
- package/dist/esm/chunks/{FlexDiv-D7wQNKz0.mjs → FlexDiv-B0zpV_yw.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-BrjPf1Zm.mjs → Grouper-cxRPaYkF.mjs} +8 -6
- package/dist/esm/chunks/{Icon-DGQB6Mfm.mjs → Icon-Ce2CM7lt.mjs} +7 -5
- package/dist/esm/chunks/{IconButton-Wffb0Rhg.mjs → IconButton-DmhOQNtq.mjs} +9 -7
- package/dist/esm/chunks/{IndexedDB-Cwb-PZNm.mjs → IndexedDB-CTcPvxFz.mjs} +8 -4
- package/dist/esm/chunks/{Label-BF7Bac6I.mjs → Label-CKShh9JV.mjs} +5 -3
- package/dist/esm/chunks/{Level-DnWQ5mLH.mjs → Level-B-ccKdXg.mjs} +7 -5
- package/dist/esm/chunks/{Modal-BuDVEntK.mjs → Modal-l6vmZBDp.mjs} +9 -6
- package/dist/esm/chunks/{ModalController-CWZBh7Dg.mjs → ModalController-Bs280SUJ.mjs} +6 -4
- package/dist/esm/chunks/{Overlay-DXAULyRd.mjs → Overlay-BhrCyPRX.mjs} +2 -2
- package/dist/esm/chunks/{Pager-Bjwlh0Vs.mjs → Pager-Pd6QanSG.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-C8tli-Jg.mjs → ProgressIndicator-dkR6UF1M.mjs} +7 -5
- package/dist/esm/chunks/{PromptInput-JE3EkzEV.mjs → PromptInput-CLVqz0ux.mjs} +14 -10
- package/dist/esm/chunks/{RadioButton-BK37fGER.mjs → RadioButton-ClKR7eks.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-CPfE3YBM.mjs → RadioButtonList-YtfbHCig.mjs} +3 -3
- package/dist/esm/chunks/{Slider-D6nWSQ-A.mjs → Slider-B8A9FdgY.mjs} +8 -6
- package/dist/esm/chunks/{Spacer-CWY79s4p.mjs → Spacer-CNowPM3L.mjs} +1 -1
- package/dist/esm/chunks/{Switch-De_cFgOS.mjs → Switch-BT1dUQya.mjs} +2 -2
- package/dist/esm/chunks/{TabBar-CCq8-TdA.mjs → TabBar-CCiJ42x5.mjs} +11 -9
- package/dist/esm/chunks/{TextArea-kAVb9Lpy.mjs → TextArea-MVHdEa8y.mjs} +8 -6
- package/dist/esm/chunks/{TextField-MxcxS6SE.mjs → TextField-BZ2kmUcF.mjs} +13 -9
- package/dist/esm/chunks/{Tip-CuRp-fki.mjs → Tip-dvhw-sBF.mjs} +6 -4
- package/dist/esm/chunks/{Toast-CvWVJwrM.mjs → Toast-Ct5uczWn.mjs} +9 -7
- package/dist/esm/chunks/{ToggleButton-DpR2FO_I.mjs → ToggleButton-nusOpkrZ.mjs} +6 -6
- package/dist/esm/chunks/{UploadArea-ChXIXxSg.mjs → UploadArea-BjlfBjiw.mjs} +10 -8
- package/dist/esm/chunks/{Video-D3FSIySJ.mjs → Video-DKjVachU.mjs} +32 -26
- package/dist/esm/chunks/{VideoController-CS6eZwuf.mjs → VideoController-kH0JkJf-.mjs} +16 -11
- package/dist/esm/chunks/{WSConnection-DX-v8PDB.mjs → WSConnection-NpYplU2v.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-KLpY6CZG.mjs → WebRTCConnection-CCD9soqe.mjs} +1 -1
- package/dist/esm/chunks/{browserChannelsStore-BlUi1EOi.mjs → browserChannelsStore-srC8Ojsl.mjs} +2 -2
- package/dist/esm/chunks/{localDBStore-Cqmkk2oq.mjs → localDBStore-BpKbAtAQ.mjs} +3 -3
- package/dist/esm/chunks/magic-string.es-DLHkwHmE.mjs +722 -0
- package/dist/esm/chunks/{microphoneStore-CHjTUEL_.mjs → microphoneStore-CtpUG1DB.mjs} +1 -1
- package/dist/esm/chunks/{misc-GB29X0YR.mjs → misc-NDOWTiFf.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-CsFtm_ph.mjs → sseStore-DUg0x7Qh.mjs} +3 -3
- package/dist/esm/chunks/{uploads-worker-DnuyqnvO.mjs → uploads-worker-DuzIaN9P.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-BJkaMc8Q.mjs → uploadsStore-C6wzah24.mjs} +1 -1
- package/dist/esm/chunks/{viewState-Bz_5JiKf.mjs → viewState-KJ0VsD2b.mjs} +13 -9
- package/dist/esm/chunks/{volumeStore-DBjptppw.mjs → volumeStore-IY7T-8fH.mjs} +1 -1
- package/dist/esm/chunks/{webRTCStore-Da4krjmG.mjs → webRTCStore-DmyQS-SN.mjs} +3 -3
- package/dist/esm/chunks/{windowStore-DuCMm9ZH.mjs → windowStore-DSbR-lfu.mjs} +1 -1
- package/dist/esm/components/AudioBubble/index.mjs +11 -7
- package/dist/esm/components/Avatar/index.mjs +3 -3
- package/dist/esm/components/AvatarGroup/index.mjs +4 -4
- package/dist/esm/components/Badge/index.mjs +2 -2
- package/dist/esm/components/Button/index.mjs +17 -13
- package/dist/esm/components/ButtonBar/index.mjs +13 -9
- package/dist/esm/components/Camera/index.mjs +13 -9
- package/dist/esm/components/CheckBox/index.mjs +11 -7
- package/dist/esm/components/Chip/index.mjs +14 -10
- package/dist/esm/components/DataTable/index.mjs +14 -10
- package/dist/esm/components/DivInput/index.mjs +5 -3
- package/dist/esm/components/Dot/index.mjs +2 -2
- package/dist/esm/components/DraggablePanel/index.mjs +10 -6
- package/dist/esm/components/DropDown/index.mjs +13 -9
- package/dist/esm/components/ErrorSummary/index.mjs +10 -6
- package/dist/esm/components/FileIcon/index.mjs +10 -6
- package/dist/esm/components/FileList/index.mjs +13 -9
- package/dist/esm/components/FlexDiv/index.mjs +2 -2
- package/dist/esm/components/Grouper/index.mjs +12 -8
- package/dist/esm/components/Icon/index.mjs +11 -7
- package/dist/esm/components/IconButton/index.mjs +16 -12
- package/dist/esm/components/Label/index.mjs +5 -3
- package/dist/esm/components/Level/index.mjs +7 -5
- package/dist/esm/components/Modal/index.mjs +19 -15
- package/dist/esm/components/ModalController/index.mjs +12 -6
- package/dist/esm/components/Overlay/index.mjs +2 -2
- package/dist/esm/components/Pager/index.mjs +3 -3
- package/dist/esm/components/Progress/index.mjs +11 -7
- package/dist/esm/components/PromptInput/index.mjs +18 -14
- package/dist/esm/components/RadioButton/index.mjs +11 -7
- package/dist/esm/components/RadioButtonList/index.mjs +12 -8
- package/dist/esm/components/Slider/index.mjs +11 -7
- package/dist/esm/components/Spacer/index.mjs +2 -2
- package/dist/esm/components/Switch/index.mjs +2 -2
- package/dist/esm/components/TabBar/index.mjs +15 -11
- package/dist/esm/components/TextArea/index.mjs +18 -14
- package/dist/esm/components/Textfield/index.mjs +17 -13
- package/dist/esm/components/Tip/index.mjs +5 -3
- package/dist/esm/components/Toast/index.mjs +12 -8
- package/dist/esm/components/ToggleButton/index.mjs +18 -14
- package/dist/esm/components/UploadArea/index.mjs +16 -12
- package/dist/esm/components/Video/index.mjs +23 -17
- package/dist/esm/components/VideoController/index.mjs +20 -16
- package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
- package/dist/esm/hooks/useBindWebRTC.mjs +6 -6
- package/dist/esm/hooks/useClipboard.mjs +3 -3
- package/dist/esm/hooks/useMdStreamBuffer.mjs +3 -3
- package/dist/esm/hooks/useMicrophone.mjs +1 -1
- package/dist/esm/hooks/useTrackRenders.mjs +2 -2
- package/dist/esm/hooks.mjs +8 -8
- package/dist/esm/index.mjs +59 -59
- package/dist/esm/providers/themeServer.test.mjs +10572 -0
- package/dist/esm/stores/LocalDB.mjs +4 -4
- package/dist/esm/stores/SSE.mjs +4 -4
- package/dist/esm/stores/WS.mjs +3 -3
- package/dist/esm/stores/WebRTC.mjs +4 -4
- package/dist/esm/stores/browserChannel.mjs +3 -3
- package/dist/esm/stores/microphone.mjs +2 -2
- package/dist/esm/stores/modal.mjs +1 -1
- package/dist/esm/stores/tip.mjs +1 -1
- package/dist/esm/stores/toast.mjs +1 -1
- package/dist/esm/stores/uploads.mjs +3 -3
- package/dist/esm/stores/video.mjs +1 -1
- package/dist/esm/stores/volume.mjs +2 -2
- package/dist/esm/stores/window.mjs +2 -2
- package/dist/esm/stores.mjs +18 -18
- package/dist/esm/theme/corners.mjs +8 -8
- package/dist/esm/utils/index.mjs +12 -12
- package/dist/esm/utils/objects/index.mjs +8 -8
- package/dist/esm/workers/uploads/uploads.mjs +2 -2
- package/dist/styles.css +2569 -2558
- package/dist/types/components/Avatar/_types.d.ts +0 -1
- package/dist/types/components/AvatarGroup/_types.d.ts +0 -1
- package/dist/types/components/Button/Button.d.ts +0 -4
- package/dist/types/components/Button/_types.d.ts +0 -2
- package/dist/types/components/ButtonBar/_types.d.ts +0 -3
- package/dist/types/components/Chip/_types.d.ts +0 -2
- package/dist/types/components/DataTable/_useResizeColumn.test.d.ts +1 -0
- package/dist/types/components/DataTable/columnHelper.test.d.ts +1 -0
- package/dist/types/components/DivInput/_types.d.ts +0 -1
- package/dist/types/components/DraggablePanel/DrggablePanel.d.ts +13 -1
- package/dist/types/components/DropDown/_types.d.ts +0 -1
- package/dist/types/components/ErrorSummary/_types.d.ts +0 -1
- package/dist/types/components/FileList/_types.d.ts +0 -1
- package/dist/types/components/Icon/iconRegistry.test.d.ts +1 -0
- package/dist/types/components/IconButton/_animation.test.d.ts +1 -0
- package/dist/types/components/IconButton/_types.d.ts +3 -3
- package/dist/types/components/Label/_types.d.ts +0 -1
- package/dist/types/components/Switch/_types.d.ts +0 -2
- package/dist/types/components/TextArea/_types.d.ts +0 -1
- package/dist/types/components/Tip/_types.d.ts +0 -1
- package/dist/types/components/ToggleButton/_types.d.ts +3 -3
- package/dist/types/components/UploadArea/UploadArea.d.ts +0 -4
- package/dist/types/components/UploadArea/_types.d.ts +0 -2
- package/dist/types/components/Video/Video.d.ts +4 -0
- package/dist/types/components/Video/_types.d.ts +2 -0
- package/dist/types/components/VideoController/_types.d.ts +1 -0
- package/dist/types/components/playHelpers.d.ts +353 -0
- package/dist/types/hooks/useBindWebRTC/useBindWebRTC.test.d.ts +1 -0
- package/dist/types/hooks/useTrackRenders/useTrackRenders.test.d.ts +1 -0
- package/dist/types/providers/themeServer.test.d.ts +1 -0
- package/dist/types/stores/LocalDB/localDBStore.test.d.ts +1 -0
- package/dist/types/theme/corners/types.d.ts +8 -8
- package/dist/types/utils/objects/IndexedDB/IndexedDB.d.ts +3 -0
- package/dist/types/utils/objects/IndexedDB/IndexedDB.test.d.ts +1 -0
- package/dist/types/utils/objects/MDStreamBuffer/MdStreamBuffer.test.d.ts +1 -0
- package/dist/types/utils/objects/WebRTCConnection/WebRTCConnection.test.d.ts +1 -0
- package/dist/types/workers/uploads/uploads-worker.test.d.ts +1 -0
- package/package.json +2 -1
- /package/dist/cjs/chunks/{MdStreamBuffer-Ba-YbQaW.js → MdStreamBuffer-CVkue3K3.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-C0XhTcpi.js → SSEConnection-zUZG9TiF.js} +0 -0
- /package/dist/cjs/chunks/{_types-DEjCVlhp.js → _types-BnrWf6-T.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-DFgLMDKW.js → audioVisualizer-GmZ0xNzv.js} +0 -0
- /package/dist/cjs/chunks/{broadcastChannel-B0l8OE4I.js → broadcastChannel-CtwRunj4.js} +0 -0
- /package/dist/cjs/chunks/{colors-jx2QRRls.js → colors-C2uwoGzp.js} +0 -0
- /package/dist/cjs/chunks/{debounce-CsmIqkDy.js → debounce-BP_p5Vjk.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-DaB75uoa.js → modalStore-B-Xkl2-3.js} +0 -0
- /package/dist/cjs/chunks/{rafThrottle-DvT0BNgS.js → rafThrottle-DpVYeDi4.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-BT25wBhL.js → sharedTypes-BgBhX0El.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-Dxda_4EA.js → tipStore-B2mVU0US.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-DqWfFw57.js → toastStore-C9lsqywS.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-CTGrDO27.js → tslib.es6-CG8Jpxry.js} +0 -0
- /package/dist/cjs/chunks/{videoStore-q-yi22M3.js → videoStore-DIXd-mmm.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-CuqX6fWF.mjs → MdStreamBuffer-C2X6YPkL.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-DgwE_V3B.mjs → SSEConnection-BR6JKisq.mjs} +0 -0
- /package/dist/esm/chunks/{_types-n_IXoiPR.mjs → _types-CvUR3WMd.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-CLKL6Y79.mjs → audioVisualizer-jpYXWaW8.mjs} +0 -0
- /package/dist/esm/chunks/{broadcastChannel-qkn7bL4S.mjs → broadcastChannel-jqOpePyV.mjs} +0 -0
- /package/dist/esm/chunks/{colors-C3CypePZ.mjs → colors-DE286j6U.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-xuz65F25.mjs → debounce-LajsXcz1.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-DN1F_WR9.mjs → modalStore-CgEpalf_.mjs} +0 -0
- /package/dist/esm/chunks/{rafThrottle-B6dxl-O8.mjs → rafThrottle-DGnknyNH.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-DqPH1p0Q.mjs → sharedTypes-DnHEGYor.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-B_trLnIa.mjs → tipStore-B0TrZT8p.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-BWlW1cRh.mjs → toastStore-CIW93cFF.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-DGRmn-gx.mjs → tslib.es6-BTg9ZFwR.mjs} +0 -0
- /package/dist/esm/chunks/{videoStore-BxCTQ_tE.mjs → videoStore-B_fdicUy.mjs} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-BTg9ZFwR.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-
|
|
8
|
+
import { a as accessibleKeyDown } from "./misc-NDOWTiFf.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,17 +9,19 @@ import "../theme/colors.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/type.mjs";
|
|
11
11
|
|
|
12
|
-
import { a as __rest } from "./tslib.es6-
|
|
12
|
+
import { a as __rest } from "./tslib.es6-BTg9ZFwR.mjs";
|
|
13
13
|
|
|
14
|
-
import "./broadcastChannel-
|
|
14
|
+
import "./broadcastChannel-jqOpePyV.mjs";
|
|
15
15
|
|
|
16
|
-
import "./
|
|
16
|
+
import "./webRTCStore-DmyQS-SN.mjs";
|
|
17
17
|
|
|
18
|
-
import "./
|
|
18
|
+
import "./microphoneStore-CtpUG1DB.mjs";
|
|
19
|
+
|
|
20
|
+
import "./volumeStore-IY7T-8fH.mjs";
|
|
19
21
|
|
|
20
22
|
import "../hooks/useWindow.mjs";
|
|
21
23
|
|
|
22
|
-
import { I as Icon } from "./Icon-
|
|
24
|
+
import { I as Icon } from "./Icon-Ce2CM7lt.mjs";
|
|
23
25
|
|
|
24
26
|
import { AnimatePresence, motion } from "motion/react";
|
|
25
27
|
|
|
@@ -7,23 +7,27 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
7
7
|
|
|
8
8
|
import "../theme/colors.mjs";
|
|
9
9
|
|
|
10
|
+
import { corners } from "../theme/corners.mjs";
|
|
11
|
+
|
|
10
12
|
import "../theme/type.mjs";
|
|
11
13
|
|
|
12
|
-
import "./tslib.es6-
|
|
14
|
+
import "./tslib.es6-BTg9ZFwR.mjs";
|
|
15
|
+
|
|
16
|
+
import { s as setStyle } from "./misc-NDOWTiFf.mjs";
|
|
13
17
|
|
|
14
|
-
import
|
|
18
|
+
import "./broadcastChannel-jqOpePyV.mjs";
|
|
15
19
|
|
|
16
|
-
import "./
|
|
20
|
+
import "./webRTCStore-DmyQS-SN.mjs";
|
|
17
21
|
|
|
18
|
-
import "./microphoneStore-
|
|
22
|
+
import "./microphoneStore-CtpUG1DB.mjs";
|
|
19
23
|
|
|
20
|
-
import "./volumeStore-
|
|
24
|
+
import "./volumeStore-IY7T-8fH.mjs";
|
|
21
25
|
|
|
22
26
|
import "../hooks/useWindow.mjs";
|
|
23
27
|
|
|
24
|
-
import { B as Button } from "./Button-
|
|
28
|
+
import { B as Button } from "./Button-CWM6SoTH.mjs";
|
|
25
29
|
|
|
26
|
-
import { F as FileList } from "./FileList-
|
|
30
|
+
import { F as FileList } from "./FileList-WNFbRSQz.mjs";
|
|
27
31
|
|
|
28
32
|
var css = {
|
|
29
33
|
wrapperBg: "PromptInput-module_wrapperBg__zabZq flexBox-module_columnStart__C7P44",
|
|
@@ -42,7 +46,7 @@ var css = {
|
|
|
42
46
|
};
|
|
43
47
|
|
|
44
48
|
const PromptInputBase = React.forwardRef((props, ref) => {
|
|
45
|
-
const {children: children, attachments: attachments = [], value: value = "", width: width = "100%", maxWidth: maxWidth, minWidth: minWidth, working: working = !1, maxHeight: maxHeight, attachmentsDisabled: attachmentsDisabled = !1, submitWorking: submitWorking = !1, borderStyle: borderStyle = "gradient", borderColor: borderColor, borderColorOn: borderColorOn, borderAnimate: borderAnimate = !0, borderWidth: borderWidth = 1, borderRadius: borderRadius =
|
|
49
|
+
const {children: children, attachments: attachments = [], value: value = "", width: width = "100%", maxWidth: maxWidth, minWidth: minWidth, working: working = !1, maxHeight: maxHeight, attachmentsDisabled: attachmentsDisabled = !1, submitWorking: submitWorking = !1, borderStyle: borderStyle = "gradient", borderColor: borderColor, borderColorOn: borderColorOn, borderAnimate: borderAnimate = !0, borderWidth: borderWidth = 1, borderRadius: borderRadius = corners["corner-m"], focused: focused = !1, placeholder: placeholder = "Ask me anything ...", placeholderWorking: placeholderWorking = "Working ...", submitClears: submitClears = !0, enterSubmits: enterSubmits = !0, attachButton: attachButton = !0, sendButton: sendButton = !0, stopEnabled: stopEnabled = !1, textSize: textSize = "m", maxLength: maxLength, toolbarGap: toolbarGap = 8, onChange: onChange, onBlur: onBlur, onFocus: onFocus, onSubmit: onSubmit, onStop: onStop, onAttachmentsChange: onAttachmentsChange} = props, {isDark: isDark} = useTheme(), [isFocused, setIsFocused] = useState(null != focused && focused), [textValue, setTextValue] = useState(value), textAreaRef = useRef(null), handleFocus = useCallback(() => {
|
|
46
50
|
var _a, _b;
|
|
47
51
|
setIsFocused(!0), null === (_a = null == textAreaRef ? void 0 : textAreaRef.current) || void 0 === _a || _a.focus(),
|
|
48
52
|
null == onFocus || onFocus(null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
|
|
@@ -111,7 +115,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
|
|
|
111
115
|
children: jsx(FileList, {
|
|
112
116
|
files: attachments,
|
|
113
117
|
onChange: handleAttachmentsChange,
|
|
114
|
-
|
|
118
|
+
backgroundColor: "var(--core-surface-primary)",
|
|
115
119
|
textSize: "s",
|
|
116
120
|
direction: "row",
|
|
117
121
|
gap: 8,
|
|
@@ -154,7 +158,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
|
|
|
154
158
|
iconLeft: stopEnabled ? "stop" : "arrow up",
|
|
155
159
|
iconSize: stopEnabled ? 16 : 20,
|
|
156
160
|
state: sendButtonState,
|
|
157
|
-
|
|
161
|
+
backgroundColorDisabled: "var(--core-outline-primary)",
|
|
158
162
|
progress: !stopEnabled,
|
|
159
163
|
working: submitWorking && working,
|
|
160
164
|
onMouseDown: handleClickSend,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-BTg9ZFwR.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-
|
|
8
|
+
import { s as setStyle } from "./misc-NDOWTiFf.mjs";
|
|
9
9
|
|
|
10
|
-
import { I as Icon } from "./Icon-
|
|
10
|
+
import { I as Icon } from "./Icon-Ce2CM7lt.mjs";
|
|
11
11
|
|
|
12
12
|
var css_wrapper = "RadioButton-module_wrapper__-pWRe flexBox-module_row__z24tF", css_radioIcon = "RadioButton-module_radioIcon__I27Xv flexBox-module_column__ezvMq", css_radioTitle = "RadioButton-module_radioTitle__zCQII flexBox-module_rowStart__4tcxS type-module_body-m-regular__LuQBA", css_radioContent = "RadioButton-module_radioContent__38xVx flexBox-module_columnStart__C7P44";
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-BTg9ZFwR.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-
|
|
8
|
+
import { s as setStyle } from "./misc-NDOWTiFf.mjs";
|
|
9
9
|
|
|
10
|
-
import { R as RadioButton } from "./RadioButton-
|
|
10
|
+
import { R as RadioButton } from "./RadioButton-ClKR7eks.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-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-BTg9ZFwR.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,15 +9,17 @@ import "../theme/colors.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/type.mjs";
|
|
11
11
|
|
|
12
|
-
import { p as pointerPosition } from "./misc-
|
|
12
|
+
import { p as pointerPosition } from "./misc-NDOWTiFf.mjs";
|
|
13
13
|
|
|
14
|
-
import { d as debounce } from "./debounce-
|
|
14
|
+
import { d as debounce } from "./debounce-LajsXcz1.mjs";
|
|
15
15
|
|
|
16
|
-
import "./broadcastChannel-
|
|
16
|
+
import "./broadcastChannel-jqOpePyV.mjs";
|
|
17
17
|
|
|
18
|
-
import "./
|
|
18
|
+
import "./webRTCStore-DmyQS-SN.mjs";
|
|
19
19
|
|
|
20
|
-
import "./
|
|
20
|
+
import "./microphoneStore-CtpUG1DB.mjs";
|
|
21
|
+
|
|
22
|
+
import "./volumeStore-IY7T-8fH.mjs";
|
|
21
23
|
|
|
22
24
|
import "../hooks/useWindow.mjs";
|
|
23
25
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-BTg9ZFwR.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
|
|
13
|
+
const {fieldName: fieldName, state: state = !1, value: value, height: height = 22, width: width = 44, padding: padding = 3, backgroundColorOn: backgroundColorOn = "var(--feedback-positive)", backgroundColorOff: backgroundColorOff = "var(--core-text-disabled)", knobColor: knobColor = "var(--core-surface-primary)", onChange: onChange = () => null} = props, divAttributes = __rest(props, [ "fieldName", "state", "value", "height", "width", "padding", "backgroundColorOn", "backgroundColorOff", "knobColor", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [on, setOn] = useState(state), resolvedBackgroundColorOn = backgroundColorOn, resolvedBackgroundColorOff = backgroundColorOff;
|
|
14
14
|
useEffect(() => {
|
|
15
15
|
setOn(state);
|
|
16
16
|
}, [ state ]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-BTg9ZFwR.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -11,23 +11,25 @@ import "../theme/colors.mjs";
|
|
|
11
11
|
|
|
12
12
|
import "../theme/type.mjs";
|
|
13
13
|
|
|
14
|
-
import { s as setStyle } from "./misc-
|
|
14
|
+
import { s as setStyle } from "./misc-NDOWTiFf.mjs";
|
|
15
15
|
|
|
16
|
-
import "./broadcastChannel-
|
|
16
|
+
import "./broadcastChannel-jqOpePyV.mjs";
|
|
17
17
|
|
|
18
|
-
import "./
|
|
18
|
+
import "./webRTCStore-DmyQS-SN.mjs";
|
|
19
19
|
|
|
20
|
-
import "./
|
|
20
|
+
import "./microphoneStore-CtpUG1DB.mjs";
|
|
21
|
+
|
|
22
|
+
import "./volumeStore-IY7T-8fH.mjs";
|
|
21
23
|
|
|
22
24
|
import "../hooks/useWindow.mjs";
|
|
23
25
|
|
|
24
|
-
import { B as Badge } from "./Badge-
|
|
26
|
+
import { B as Badge } from "./Badge-gU-yUZyp.mjs";
|
|
25
27
|
|
|
26
|
-
import { I as Icon } from "./Icon-
|
|
28
|
+
import { I as Icon } from "./Icon-Ce2CM7lt.mjs";
|
|
27
29
|
|
|
28
|
-
import { I as IconButton } from "./IconButton-
|
|
30
|
+
import { I as IconButton } from "./IconButton-DmhOQNtq.mjs";
|
|
29
31
|
|
|
30
|
-
import { T as ToolTipType } from "./sharedTypes-
|
|
32
|
+
import { T as ToolTipType } from "./sharedTypes-DnHEGYor.mjs";
|
|
31
33
|
|
|
32
34
|
var css = {
|
|
33
35
|
wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-BTg9ZFwR.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 {
|
|
8
|
+
import { corners } from "../theme/corners.mjs";
|
|
9
|
+
|
|
10
|
+
import { B as Button } from "./Button-CWM6SoTH.mjs";
|
|
9
11
|
|
|
10
12
|
var css_wrapper = "TextArea-module_wrapper__O0sWP flexBox-module_columnStart__C7P44", css_textarea = "TextArea-module_textarea__-R2n0 scrollBars-module_scrollbars__c-ZPl", css_send = "TextArea-module_send__Cub13", css_xs = "TextArea-module_xs__5e748 type-module_body-xs-regular__ZAFft", css_s = "TextArea-module_s__Ac-fq type-module_body-s-regular__vRHSP", css_m = "TextArea-module_m__dod4R type-module_body-m-regular__LuQBA", css_l = "TextArea-module_l__-uLCG type-module_body-l-regular__lOYbg";
|
|
11
13
|
|
|
12
14
|
const TextArea = React.memo(props => {
|
|
13
|
-
const {value: value = "", name: name = "text_area", width: width = "100%", height: height = "auto", focused: focused = !1, placeholder: placeholder = "Enter text here...", rows: rows = 6, border: border = !0, borderRadius: borderRadius =
|
|
15
|
+
const {value: value = "", name: name = "text_area", width: width = "100%", height: height = "auto", focused: focused = !1, placeholder: placeholder = "Enter text here...", rows: rows = 6, border: border = !0, borderRadius: borderRadius = corners["corner-xs"], padding: padding = "16px 4px 16px 16px", error: error = !1, resizable: resizable = !0, hasSend: hasSend = !1, sendOffset: sendOffset = {
|
|
14
16
|
bottom: 10,
|
|
15
17
|
right: 10
|
|
16
|
-
}, sendSize: sendSize = 36, returnSubmits: returnSubmits = !1, backgroundColor: backgroundColor,
|
|
18
|
+
}, sendSize: sendSize = 36, returnSubmits: returnSubmits = !1, backgroundColor: backgroundColor, minWidth: minWidth, textSize: textSize = "m", disabled: disabled = !1, submitClears: submitClears = !0, maxLength: maxLength, onChange: onChange = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onSubmit: onSubmit = () => null, onKeyDown: onKeyDown = () => null} = props, divAttributes = __rest(props, [ "value", "name", "width", "height", "focused", "placeholder", "rows", "border", "borderRadius", "padding", "error", "resizable", "hasSend", "sendOffset", "sendSize", "returnSubmits", "backgroundColor", "minWidth", "textSize", "disabled", "submitClears", "maxLength", "onChange", "onFocus", "onBlur", "onSubmit", "onKeyDown" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = backgroundColor, [isFocused, setIsFocused] = useState(focused), [text, setText] = useState(value), ref = useRef(null), handleResize = useCallback(() => {
|
|
17
19
|
(null == ref ? void 0 : ref.current) && (ref.current.style.height = "auto", ref.current.style.height = `${ref.current.scrollHeight}px`);
|
|
18
20
|
}, []);
|
|
19
21
|
useEffect(() => {
|
|
@@ -29,8 +31,8 @@ const TextArea = React.memo(props => {
|
|
|
29
31
|
var _a, _b;
|
|
30
32
|
setIsFocused(!1), onBlur(null !== (_b = null === (_a = ref.current) || void 0 === _a ? void 0 : _a.value) && void 0 !== _b ? _b : "");
|
|
31
33
|
}, [ onBlur ]), handleSubmit = useCallback(e => {
|
|
32
|
-
null == e || e.preventDefault(), handleFocus(), onSubmit(text), submitClears && setText(""),
|
|
33
|
-
|
|
34
|
+
null == e || e.preventDefault(), handleFocus(), onSubmit(text), submitClears && (setText(""),
|
|
35
|
+
ref.current && (ref.current.value = "")), handleResize();
|
|
34
36
|
}, [ handleFocus, onSubmit, text, submitClears, handleResize ]), handleKeyDownWrapper = useCallback(e => {
|
|
35
37
|
returnSubmits && "Enter" === e.key && (e.preventDefault(), e.stopPropagation(),
|
|
36
38
|
handleSubmit(void 0)), onKeyDown(e);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-BTg9ZFwR.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -11,23 +11,27 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
11
11
|
|
|
12
12
|
import "../theme/colors.mjs";
|
|
13
13
|
|
|
14
|
+
import { corners } from "../theme/corners.mjs";
|
|
15
|
+
|
|
14
16
|
import "../theme/type.mjs";
|
|
15
17
|
|
|
16
|
-
import { s as setStyle } from "./misc-
|
|
18
|
+
import { s as setStyle } from "./misc-NDOWTiFf.mjs";
|
|
19
|
+
|
|
20
|
+
import "./broadcastChannel-jqOpePyV.mjs";
|
|
17
21
|
|
|
18
|
-
import "./
|
|
22
|
+
import "./webRTCStore-DmyQS-SN.mjs";
|
|
19
23
|
|
|
20
|
-
import "./microphoneStore-
|
|
24
|
+
import "./microphoneStore-CtpUG1DB.mjs";
|
|
21
25
|
|
|
22
|
-
import "./volumeStore-
|
|
26
|
+
import "./volumeStore-IY7T-8fH.mjs";
|
|
23
27
|
|
|
24
28
|
import "../hooks/useWindow.mjs";
|
|
25
29
|
|
|
26
|
-
import { B as Button } from "./Button-
|
|
30
|
+
import { B as Button } from "./Button-CWM6SoTH.mjs";
|
|
27
31
|
|
|
28
|
-
import { I as Icon } from "./Icon-
|
|
32
|
+
import { I as Icon } from "./Icon-Ce2CM7lt.mjs";
|
|
29
33
|
|
|
30
|
-
import { I as IconButton } from "./IconButton-
|
|
34
|
+
import { I as IconButton } from "./IconButton-DmhOQNtq.mjs";
|
|
31
35
|
|
|
32
36
|
var css = {
|
|
33
37
|
wrapper: "TextField-module_wrapper__qZ-p- flexBox-module_rowStart__4tcxS",
|
|
@@ -63,7 +67,7 @@ const MOTION_CONFIG = {
|
|
|
63
67
|
const theme = useTheme(), {name: name = "input_name", value: value = "", label: label, labelSize: labelSize = "m", textSize: textSize = "m", placeholder: placeholder = "placeholder", focused: focused = !1, onSubmit: onSubmit = () => null, onChange: onChange = () => null, onBlur: onBlur = () => null, onFocus: onFocus = () => null, onKeydown: onKeydown = () => null, onAction: onAction = () => null, onPaste: onPaste = () => null, onClear: onClear = () => null, actionButton: actionButton = !1, maxLength: maxLength, size: size = {
|
|
64
68
|
width: "100%",
|
|
65
69
|
height: "auto"
|
|
66
|
-
}, padding: padding, borderRadius: borderRadius =
|
|
70
|
+
}, padding: padding, borderRadius: borderRadius = corners["corner-m"], editable: editable = !0, textAlign: textAlign = "left", inline: inline = !1, noShow: noShow = !1, borderType: borderType = "box", error: error = !1, borderColorFocused: borderColorFocused = "var(--core-link-primary)", borderColorBlurred: borderColorBlurred = "var(--core-outline-primary)", borderColorError: borderColorError = "var(--feedback-warning)", backgroundColorFocused: backgroundColorFocused = "var(--core-surface-secondary)", backgroundColorBlurred: backgroundColorBlurred = "var(--core-surface-secondary)", textColorFocused: textColorFocused = "var(--core-text-primary)", textColorBlurred: textColorBlurred = "var(--core-text-primary)", textColorError: textColorError = "var(--feedback-warning)", textColorPlaceholder: textColorPlaceholder = "var(--core-text-disabled)", textColorDisabled: textColorDisabled = "var(--core-text-disabled)", labelColor: labelColor = "var(--core-text-primary)", iconLeft: iconLeft, clearButton: clearButton = {
|
|
67
71
|
size: 20
|
|
68
72
|
}, clearBlurs: clearBlurs = !1, disabled: disabled = !1, inputType: inputType = "text"} = props, divAttributes = __rest(props, [ "name", "value", "label", "labelSize", "textSize", "placeholder", "focused", "onSubmit", "onChange", "onBlur", "onFocus", "onKeydown", "onAction", "onPaste", "onClear", "actionButton", "maxLength", "size", "padding", "borderRadius", "editable", "textAlign", "inline", "noShow", "borderType", "error", "borderColorFocused", "borderColorBlurred", "borderColorError", "backgroundColorFocused", "backgroundColorBlurred", "textColorFocused", "textColorBlurred", "textColorError", "textColorPlaceholder", "textColorDisabled", "labelColor", "iconLeft", "clearButton", "clearBlurs", "disabled", "inputType" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", input = useRef(null), [text, setText] = useState(value), [isFocused, setIsFocused] = useState(focused), [show, setShow] = useState(!1);
|
|
69
73
|
useEffect(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-BTg9ZFwR.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,7 +7,9 @@ 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-
|
|
10
|
+
import { f as filterClasses } from "./misc-NDOWTiFf.mjs";
|
|
11
|
+
|
|
12
|
+
import { corners } from "../theme/corners.mjs";
|
|
11
13
|
|
|
12
14
|
var css = {
|
|
13
15
|
wrapper: "Tip-module_wrapper__D7ACT flexBox-module_rowStart__4tcxS",
|
|
@@ -23,7 +25,7 @@ const tipBasePos = {
|
|
|
23
25
|
top: 0
|
|
24
26
|
}, TipBase = React.forwardRef((props, ref) => {
|
|
25
27
|
var _a;
|
|
26
|
-
const {tip: tip, textSize: textSize = "s", backgroundColor: backgroundColor,
|
|
28
|
+
const {tip: tip, textSize: textSize = "s", backgroundColor: backgroundColor, textColor: textColor, color: color, border: border = !0, borderColor: borderColor, padding: padding, borderRadius: borderRadius, radius: radius, coords: coords, showDelay: showDelay = 500, hideDelay: hideDelay = 2500} = props, divAttributes = __rest(props, [ "tip", "textSize", "backgroundColor", "textColor", "color", "border", "borderColor", "padding", "borderRadius", "radius", "coords", "showDelay", "hideDelay" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? `${className}` : "", [pos, setPos] = useState(tipBasePos), [ready, setReady] = useState(!1), [animate, setAnimate] = useState(!1), timer = useRef(null), resolvedBackgroundColor = backgroundColor, resolvedTextColor = null != textColor ? textColor : color, resolvedBorderRadius = null != borderRadius ? borderRadius : radius;
|
|
27
29
|
useEffect(() => {
|
|
28
30
|
timer.current && clearTimeout(timer.current);
|
|
29
31
|
const {x: x, y: y} = null != coords ? coords : {
|
|
@@ -53,7 +55,7 @@ const tipBasePos = {
|
|
|
53
55
|
"--tooltip-background": null != resolvedBackgroundColor ? resolvedBackgroundColor : "var(--core-surface-secondary)",
|
|
54
56
|
"--tooltip-color": null != resolvedTextColor ? resolvedTextColor : "var(--core-text-primary)",
|
|
55
57
|
"--tooltip-border": border ? `1px solid ${null != borderColor ? borderColor : "var(--core-outline-primary)"}` : "unset",
|
|
56
|
-
"--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : "
|
|
58
|
+
"--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : `${corners["corner-xs"]}px`
|
|
57
59
|
}), [ padding, resolvedBackgroundColor, resolvedTextColor, border, borderColor, resolvedBorderRadius ]), coordStyle = useMemo(() => {
|
|
58
60
|
const {left: left, top: top} = pos;
|
|
59
61
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-BTg9ZFwR.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -13,19 +13,21 @@ import "../theme/colors.mjs";
|
|
|
13
13
|
|
|
14
14
|
import "../theme/type.mjs";
|
|
15
15
|
|
|
16
|
-
import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-
|
|
16
|
+
import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-NDOWTiFf.mjs";
|
|
17
17
|
|
|
18
|
-
import "./broadcastChannel-
|
|
18
|
+
import "./broadcastChannel-jqOpePyV.mjs";
|
|
19
19
|
|
|
20
|
-
import "./
|
|
20
|
+
import "./webRTCStore-DmyQS-SN.mjs";
|
|
21
21
|
|
|
22
|
-
import "./
|
|
22
|
+
import "./microphoneStore-CtpUG1DB.mjs";
|
|
23
|
+
|
|
24
|
+
import "./volumeStore-IY7T-8fH.mjs";
|
|
23
25
|
|
|
24
26
|
import "../hooks/useWindow.mjs";
|
|
25
27
|
|
|
26
|
-
import { I as Icon } from "./Icon-
|
|
28
|
+
import { I as Icon } from "./Icon-Ce2CM7lt.mjs";
|
|
27
29
|
|
|
28
|
-
import { P as ProgressIndicator } from "./ProgressIndicator-
|
|
30
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-dkR6UF1M.mjs";
|
|
29
31
|
|
|
30
32
|
var ToastType, css = {
|
|
31
33
|
wrapper: "Toast-module_wrapper__1uj9O flexBox-module_rowBetween__5FEvi",
|
|
@@ -3,14 +3,14 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
|
|
6
|
-
import { I as IconButton } from "./IconButton-
|
|
6
|
+
import { I as IconButton } from "./IconButton-DmhOQNtq.mjs";
|
|
7
7
|
|
|
8
|
-
import { L as Label } from "./Label-
|
|
8
|
+
import { L as Label } from "./Label-CKShh9JV.mjs";
|
|
9
9
|
|
|
10
10
|
var css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
|
|
11
11
|
|
|
12
12
|
function ToggleButton(props) {
|
|
13
|
-
const {label: label, textSize: textSize, icon: icon, iconOn: iconOn, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)",
|
|
13
|
+
const {label: label, textSize: textSize, icon: icon, iconOn: iconOn, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", backgroundColor: backgroundColor = "var(--core-surface-secondary)", backgroundColorHover: backgroundColorHover = "var(--core-surface-secondary)", backgroundColorOn: backgroundColorOn = "var(--core-text-special)", iconSize: iconSize = 20, buttonSize: buttonSize = "m", tooltip: tooltip, gap: gap = 4, unselect: unselect = !0, fill: fill = !1, disabled: disabled = !1, border: border = !1, onChange: onChange, onSelect: onSelect, onToolTip: onToolTip, children: children, presetAnimations: presetAnimations, customAnimations: customAnimations} = props, handleClick = () => {
|
|
14
14
|
if (!unselect && selected) return;
|
|
15
15
|
const newState = !selected;
|
|
16
16
|
null == onChange || onChange(newState), newState && (null == onSelect || onSelect());
|
|
@@ -26,9 +26,9 @@ function ToggleButton(props) {
|
|
|
26
26
|
tooltip: tooltip,
|
|
27
27
|
toggle: !selected,
|
|
28
28
|
isToggled: selected,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
backgroundColorOn: backgroundColorOn,
|
|
30
|
+
backgroundColorHover: backgroundColorHover,
|
|
31
|
+
backgroundColor: backgroundColor,
|
|
32
32
|
iconColor: iconColor,
|
|
33
33
|
iconColorOn: iconColorOn,
|
|
34
34
|
iconColorHover: iconColorHover,
|
|
@@ -3,13 +3,15 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
|
|
4
4
|
import React, { useState, useRef, useId, useCallback, useMemo } from "react";
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import { corners } from "../theme/corners.mjs";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { s as setStyle, a as accessibleKeyDown } from "./misc-NDOWTiFf.mjs";
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { I as Icon } from "./Icon-Ce2CM7lt.mjs";
|
|
11
11
|
|
|
12
|
-
import {
|
|
12
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-dkR6UF1M.mjs";
|
|
13
|
+
|
|
14
|
+
import { F as FileList } from "./FileList-WNFbRSQz.mjs";
|
|
13
15
|
|
|
14
16
|
var css = {
|
|
15
17
|
wrapper: "UploadArea-module_wrapper__aircC flexBox-module_column__ezvMq",
|
|
@@ -34,7 +36,7 @@ var FileTypes;
|
|
|
34
36
|
}(FileTypes || (FileTypes = {}));
|
|
35
37
|
|
|
36
38
|
const UploadAreaBase = React.forwardRef((props, ref) => {
|
|
37
|
-
const {icon: icon = "upload", iconColor: iconColor = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-special)", title: title = "Upload Files", width: width = "100%", height: height = "auto", message: message = "Drag and drop files here or click to upload", busyMessage: busyMessage = "Uploading in progress", iconSize: iconSize = 24, textSize: textSize = "m", borderWidth: borderWidth, border: border = 1, borderStyle: borderStyle = "dashed", borderColor: borderColor = "var(--core-outline-primary)", borderColorHover: borderColorHover = "var(--core-outline-special)", borderRadius: borderRadius, radius: radius =
|
|
39
|
+
const {icon: icon = "upload", iconColor: iconColor = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-special)", title: title = "Upload Files", width: width = "100%", height: height = "auto", message: message = "Drag and drop files here or click to upload", busyMessage: busyMessage = "Uploading in progress", iconSize: iconSize = 24, textSize: textSize = "m", borderWidth: borderWidth, border: border = 1, borderStyle: borderStyle = "dashed", borderColor: borderColor = "var(--core-outline-primary)", borderColorHover: borderColorHover = "var(--core-outline-special)", borderRadius: borderRadius, radius: radius = corners["corner-m"], padding: padding = 32, backgroundColor: backgroundColor = "var(--core-surface-secondary)", backgroundColorHover: backgroundColorHover = "var(--core-surface-special)", acceptedTypes: acceptedTypes = allTypes, multiple: multiple = !0, busy: busy = !1, canRemove: canRemove = !0, showProgress: showProgress = !0, files: files = [], onUpload: onUpload} = props, [hovered, setHovered] = useState(!1), inputRef = useRef(null), dragDepth = useRef(0), inputId = useId(), titleId = useId(), messageId = useId(), isInteractive = !busy && files.length < 1, resolvedBorderWidth = null != borderWidth ? borderWidth : border, resolvedBorderRadius = null != borderRadius ? borderRadius : radius, resolvedBackgroundColor = backgroundColor, resolvedBackgroundColorHover = backgroundColorHover, handleClickUpload = useCallback(() => {
|
|
38
40
|
var _a;
|
|
39
41
|
isInteractive && (null == inputRef ? void 0 : inputRef.current) && (inputRef.current.value = "",
|
|
40
42
|
null === (_a = inputRef.current) || void 0 === _a || _a.click());
|
|
@@ -49,10 +51,10 @@ const UploadAreaBase = React.forwardRef((props, ref) => {
|
|
|
49
51
|
e.preventDefault(), busy || (dragDepth.current = Math.max(0, dragDepth.current - 1),
|
|
50
52
|
0 === dragDepth.current && setHovered(!1));
|
|
51
53
|
}, [ busy ]), handleDrop = useCallback(e => {
|
|
52
|
-
var _a;
|
|
54
|
+
var _a, _b;
|
|
53
55
|
if (e.preventDefault(), busy) return;
|
|
54
56
|
dragDepth.current = 0, setHovered(!1);
|
|
55
|
-
const files = Array.from(null !== (_a = e.dataTransfer.files) && void 0 !==
|
|
57
|
+
const files = Array.from(null !== (_b = null === (_a = e.dataTransfer) || void 0 === _a ? void 0 : _a.files) && void 0 !== _b ? _b : []);
|
|
56
58
|
null == onUpload || onUpload(files);
|
|
57
59
|
}, [ busy, onUpload ]), iconStrokeColor = useMemo(() => hovered ? iconColorHover : iconColor, [ hovered, iconColor, iconColorHover ]), cssVars = useMemo(() => ({
|
|
58
60
|
"--ua-border": `${resolvedBorderWidth}px`,
|
|
@@ -108,7 +110,7 @@ const UploadAreaBase = React.forwardRef((props, ref) => {
|
|
|
108
110
|
className: css.files,
|
|
109
111
|
children: jsx(FileList, {
|
|
110
112
|
files: files,
|
|
111
|
-
|
|
113
|
+
backgroundColor: "var(--core-surface-primary)",
|
|
112
114
|
textSize: "m",
|
|
113
115
|
direction: "column",
|
|
114
116
|
gap: 8,
|