@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,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var AnimationPreset, AnimationType, tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var AnimationPreset, AnimationType, tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), theme_corners = require("../theme/corners.js"), Badge = require("./Badge--0CfhLFo.js"), Dot = require("./Dot-C_3SC1bM.js"), Icon = require("./Icon-CsNB8HJ4.js"), sharedTypes = require("./sharedTypes-BgBhX0El.js"), css_button = "IconButton-module_button__rziqa flexBox-module_row__z24tF", css_label = "IconButton-module_label__qWGFD flexBox-module_row__z24tF type-module_body-l-regular__lOYbg", css_icon = "IconButton-module_icon__2DDWy flexBox-module_row__z24tF", css_count = "IconButton-module_count__6r373 flexBox-module_row__z24tF";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Helper for quick popular animation effects
|
|
@@ -99,7 +99,7 @@ const presetAnimation = {
|
|
|
99
99
|
transition: transition
|
|
100
100
|
});
|
|
101
101
|
}, IconButton = React.memo(props => {
|
|
102
|
-
const {frameSize: frameSize = 36, iconSize: iconSize = 20, round: round = !0, icon: icon = "more", borderRadius: borderRadius =
|
|
102
|
+
const {frameSize: frameSize = 36, iconSize: iconSize = 20, round: round = !0, icon: icon = "more", borderRadius: borderRadius = theme_corners.corners["corner-xs"], border: border = !1, tooltip: tooltip, color: color, colorOn: colorOn, iconFill: iconFill = !1, backgroundColor: backgroundColor = "var(--core-surface-secondary)", backgroundColorHover: backgroundColorHover = "var(--core-outline-primary)", backgroundColorOn: backgroundColorOn = "var(--core-outline-primary)", iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, fillColor: fillColor, label: label, hover: hover = !0, count: count = 0, toggle: toggle = !1, toggleIcon: toggleIcon = !1, isToggled: isToggled = !1, disabled: disabled = !1, showDot: showDot = !1, buttonSize: buttonSize = "m", presetAnimations: presetAnimations, customAnimations: customAnimations, onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "frameSize", "iconSize", "round", "icon", "borderRadius", "border", "tooltip", "color", "colorOn", "iconFill", "backgroundColor", "backgroundColorHover", "backgroundColorOn", "iconColor", "iconColorOn", "iconColorHover", "transition", "variants", "initial", "animate", "exit", "fillColor", "label", "hover", "count", "toggle", "toggleIcon", "isToggled", "disabled", "showDot", "buttonSize", "presetAnimations", "customAnimations", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = React.useRef(null), [on, setOn] = React.useState(isToggled), [hovered, setHovered] = React.useState(!1);
|
|
103
103
|
React.useEffect(() => setOn(isToggled), [ isToggled ]);
|
|
104
104
|
const handleClick = React.useCallback(e => {
|
|
105
105
|
disabled || (tooltip && onToolTip(null), toggle && setOn(!on), onClick(e));
|
|
@@ -116,7 +116,7 @@ const presetAnimation = {
|
|
|
116
116
|
onToolTip(tip);
|
|
117
117
|
}, [ tooltip, onToolTip ]), handleMouseLeave = React.useCallback(() => {
|
|
118
118
|
setHovered(!1), tooltip && onToolTip(null);
|
|
119
|
-
}, [ tooltip, onToolTip ]), bgColorNormal = React.useMemo(() => on ?
|
|
119
|
+
}, [ tooltip, onToolTip ]), bgColorNormal = React.useMemo(() => on ? backgroundColorOn : null != backgroundColor ? backgroundColor : "var(--core-surface-secondary)", [ backgroundColorOn, backgroundColor, on ]), bgHoverColor = React.useMemo(() => hover && on ? backgroundColorOn : hover ? backgroundColorHover : null != backgroundColor ? backgroundColor : "transparent", [ hover, backgroundColor, backgroundColorOn, backgroundColorHover, on ]), textColor = React.useMemo(() => on ? colorOn : null != color ? color : "var(--core-text-primary)", [ on, colorOn, color ]), setIconColor = React.useMemo(() => on ? iconColorOn : hovered ? iconColorHover : null != iconColor ? iconColor : "var(--core-text-primary)", [ on, iconColorOn, iconColor, iconColorHover, hovered ]), size = React.useMemo(() => buttonSize ? "s" === buttonSize ? 24 : "m" === buttonSize ? 36 : "l" === buttonSize ? 44 : "xl" === buttonSize ? 56 : void 0 : frameSize, [ frameSize, buttonSize ]), cssVars = React.useMemo(() => ({
|
|
120
120
|
"--ib-bg-color": bgColorNormal,
|
|
121
121
|
"--ib-bg-color-hover": disabled ? bgColorNormal : bgHoverColor,
|
|
122
122
|
"--ib-icon-size": `${null != iconSize ? iconSize : 0}px`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require("./tslib.es6-
|
|
3
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js");
|
|
4
4
|
|
|
5
5
|
exports.IndexedDB = class {
|
|
6
6
|
constructor(storeName, options = {}) {
|
|
@@ -43,7 +43,8 @@ exports.IndexedDB = class {
|
|
|
43
43
|
* Get a single DB value by key.
|
|
44
44
|
*/ get(key) {
|
|
45
45
|
return tslib_es6.__awaiter(this, void 0, void 0, function*() {
|
|
46
|
-
|
|
46
|
+
const value = yield this.runRequest("readonly", store => store.get(key));
|
|
47
|
+
return null != value ? value : null;
|
|
47
48
|
});
|
|
48
49
|
}
|
|
49
50
|
/**
|
|
@@ -62,15 +63,18 @@ exports.IndexedDB = class {
|
|
|
62
63
|
}
|
|
63
64
|
set(key, value) {
|
|
64
65
|
return tslib_es6.__awaiter(this, void 0, void 0, function*() {
|
|
65
|
-
return this.runRequest("readwrite", store => store.put(value, key));
|
|
66
|
+
return this.runRequest("readwrite", store => this.key ? store.put(value) : store.put(value, key));
|
|
66
67
|
});
|
|
67
68
|
}
|
|
68
69
|
/**
|
|
69
70
|
* Adds a new value to the store with or without a key.
|
|
70
71
|
* If a key already exists it will error.
|
|
72
|
+
*
|
|
73
|
+
* As with `set()`, a store configured with an in-line key path must never
|
|
74
|
+
* be given an explicit key - it is always derived from the value.
|
|
71
75
|
*/ add(value, key) {
|
|
72
76
|
return tslib_es6.__awaiter(this, void 0, void 0, function*() {
|
|
73
|
-
return this.runRequest("readwrite", store => void 0 === key ? store.add(value) : store.add(value, key));
|
|
77
|
+
return this.runRequest("readwrite", store => this.key || void 0 === key ? store.add(value) : store.add(value, key));
|
|
74
78
|
});
|
|
75
79
|
}
|
|
76
80
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var LabelBackground, tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var LabelBackground, tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-BPL5e5rQ.js"), theme_corners = require("../theme/corners.js"), css = {
|
|
5
5
|
label: "Label-module_label__RaRvM",
|
|
6
6
|
button: "Label-module_button__N8bcQ type-module_body-m-regular__LuQBA",
|
|
7
7
|
xs: "Label-module_xs__K9Ai6 type-module_body-xs-regular__ZAFft",
|
|
@@ -21,7 +21,7 @@ exports.LabelBackground = void 0, (LabelBackground = exports.LabelBackground ||
|
|
|
21
21
|
LabelBackground.yellow = "yellow", LabelBackground.green = "green", LabelBackground.blue = "blue",
|
|
22
22
|
LabelBackground.grey = "grey", LabelBackground.lightGrey = "lightGrey", LabelBackground.white = "white",
|
|
23
23
|
exports.Label = function(props) {
|
|
24
|
-
const {children: children, label: label, backgroundColor: backgroundColor, borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-outline-primary)",
|
|
24
|
+
const {children: children, label: label, backgroundColor: backgroundColor = "transparent", borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius = theme_corners.corners["corner-xs"], padding: padding, textColor: textColor = "var(--core-text-primary)", textSize: textSize = "s", onClick: onClick} = props, divAttributes = tslib_es6.__rest(props, [ "children", "label", "backgroundColor", "borderWidth", "borderSize", "borderColor", "borderRadius", "padding", "textColor", "textSize", "onClick" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", isInteractive = Boolean(onClick), resolvedBackgroundColor = backgroundColor, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, handleClick = React.useCallback(e => {
|
|
25
25
|
isInteractive && (null == onClick || onClick(e));
|
|
26
26
|
}, [ isInteractive, onClick ]), setBgColor = React.useMemo(() => {
|
|
27
27
|
if (!resolvedBackgroundColor) return "transparent";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), theme_corners = require("../theme/corners.js"), misc = require("./misc-BPL5e5rQ.js"), audioVisualizer = require("./audioVisualizer-GmZ0xNzv.js");
|
|
5
5
|
|
|
6
|
-
require("./broadcastChannel-
|
|
6
|
+
require("./broadcastChannel-CtwRunj4.js");
|
|
7
7
|
|
|
8
8
|
var css_wrapper = "Level-module_wrapper__yOfXw", css_barContainer = "Level-module_barContainer__QMUdv", css_bar = "Level-module_bar__MnApX";
|
|
9
9
|
|
|
10
10
|
const Level = React.memo(function(props) {
|
|
11
|
-
const {width: width = 100, height: height = 4, gap: gap = 0, audioStream: audioStream, playing: playing = !1, minIntensity: minIntensity = 0, maxIntensity: maxIntensity = 5, intensity: intensity = 3.5, peakIntensity: peakIntensity = .5, risePerSeconds: risePerSeconds = 4, releasePerSeconds: releasePerSeconds, ReleasePerSeconds: ReleasePerSeconds = 1.5, borderRadius: borderRadius =
|
|
11
|
+
const {width: width = 100, height: height = 4, gap: gap = 0, audioStream: audioStream, playing: playing = !1, minIntensity: minIntensity = 0, maxIntensity: maxIntensity = 5, intensity: intensity = 3.5, peakIntensity: peakIntensity = .5, risePerSeconds: risePerSeconds = 4, releasePerSeconds: releasePerSeconds, ReleasePerSeconds: ReleasePerSeconds = 1.5, borderRadius: borderRadius = theme_corners.corners["corner-xs"], borderColor: borderColor = "transparent", borderWidth: borderWidth = 0, colorActive: colorActive = "var(--feedback-positive)", backgroundColor: backgroundColor = "var(--core-surface-primary-tint)"} = props, divAttributes = tslib_es6.__rest(props, [ "width", "height", "gap", "audioStream", "playing", "minIntensity", "maxIntensity", "intensity", "peakIntensity", "risePerSeconds", "releasePerSeconds", "ReleasePerSeconds", "borderRadius", "borderColor", "borderWidth", "colorActive", "backgroundColor" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", visualizerRef = React.useRef(null), [normalizedIntensity, setNormalizedIntensity] = React.useState(0), totalBars = Math.max(1, Math.floor(maxIntensity)), minBars = Math.max(0, Math.min(Math.floor(minIntensity), totalBars)), releaseRate = null != releasePerSeconds ? releasePerSeconds : ReleasePerSeconds, intensityIntervals = React.useMemo(() => new Array(totalBars).fill(0).map((_, index) => index), [ totalBars ]), activeBars = React.useMemo(() => {
|
|
12
12
|
const scaledBars = Math.round(minBars + normalizedIntensity * (totalBars - minBars));
|
|
13
13
|
return Math.max(minBars, Math.min(scaledBars, totalBars));
|
|
14
14
|
}, [ minBars, normalizedIntensity, totalBars ]), visualizerSettings = React.useMemo(() => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), theme_corners = require("../theme/corners.js"), misc = require("./misc-BPL5e5rQ.js"), Button = require("./Button-GKTXo4mq.js"), Icon = require("./Icon-CsNB8HJ4.js"), IconButton = require("./IconButton-DlLDM8w2.js"), css = {
|
|
5
5
|
wrapper: "Modal-module_wrapper__34Hds flexBox-module_columnBetween__ERfp7",
|
|
6
6
|
title: "Modal-module_title__A5OeE flexBox-module_rowBetween__5FEvi",
|
|
7
7
|
titleBlock: "Modal-module_titleBlock__HUepX flexBox-module_rowStart__4tcxS",
|
|
@@ -19,7 +19,7 @@ var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
const Modal = React.memo(props => {
|
|
22
|
-
const {children: children, id: id, className: className, style: style, minWidth: minWidth = 300, minHeight: minHeight = 200, maxHeight: maxHeight = 400, maxWidth: maxWidth = 400, padding: padding, close: close = !0, title: title, titleTextSize: titleTextSize = "l", contentTextSize: contentTextSize = "m", actions: actions, titleIcon: titleIcon, titleIconFill: titleIconFill = !0, titleBorderColor: titleBorderColor = "var(--core-outline-primary)", titleBorderWidth: titleBorderWidth = 0, actionsBorderColor: actionsBorderColor = "var(--core-outline-primary)", actionsBorderWidth: actionsBorderWidth = 0, autoBorderBottom: autoBorderBottom = !0, onAction: onAction, onReject: onReject, onResolve: onResolve, onClose: onClose, onToolTip: onToolTip, onDragPointerDown: onDragPointerDown, backgroundColor: backgroundColor = "var(--core-surface-secondary)", scrollHandleColor: scrollHandleColor = "var(--core-text-disabled)", scrollHandleColorHover: scrollHandleColorHover = "var(--core-text-disabled)", titleColor: titleColor = "var(--core-text-special)", borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius =
|
|
22
|
+
const {children: children, id: id, className: className, style: style, minWidth: minWidth = 300, minHeight: minHeight = 200, maxHeight: maxHeight = 400, maxWidth: maxWidth = 400, padding: padding, close: close = !0, title: title, titleTextSize: titleTextSize = "l", contentTextSize: contentTextSize = "m", actions: actions, titleIcon: titleIcon, titleIconFill: titleIconFill = !0, titleBorderColor: titleBorderColor = "var(--core-outline-primary)", titleBorderWidth: titleBorderWidth = 0, actionsBorderColor: actionsBorderColor = "var(--core-outline-primary)", actionsBorderWidth: actionsBorderWidth = 0, autoBorderBottom: autoBorderBottom = !0, onAction: onAction, onReject: onReject, onResolve: onResolve, onClose: onClose, onToolTip: onToolTip, onDragPointerDown: onDragPointerDown, backgroundColor: backgroundColor = "var(--core-surface-secondary)", scrollHandleColor: scrollHandleColor = "var(--core-text-disabled)", scrollHandleColorHover: scrollHandleColorHover = "var(--core-text-disabled)", titleColor: titleColor = "var(--core-text-special)", borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius = theme_corners.corners["corner-m"], borderWidth: borderWidth = 1} = props, rest = tslib_es6.__rest(props, [ "children", "id", "className", "style", "minWidth", "minHeight", "maxHeight", "maxWidth", "padding", "close", "title", "titleTextSize", "contentTextSize", "actions", "titleIcon", "titleIconFill", "titleBorderColor", "titleBorderWidth", "actionsBorderColor", "actionsBorderWidth", "autoBorderBottom", "onAction", "onReject", "onResolve", "onClose", "onToolTip", "onDragPointerDown", "backgroundColor", "scrollHandleColor", "scrollHandleColorHover", "titleColor", "borderColor", "borderRadius", "borderWidth" ]), contentWrapperRef = React.useRef(null), modalStyle = null != style ? style : {}, modalClass = className ? ` ${className}` : "", [scrolls, setScrolls] = React.useState(!1), getScrolls = React.useCallback(() => {
|
|
23
23
|
var _a, _b;
|
|
24
24
|
const height = null === (_a = contentWrapperRef.current) || void 0 === _a ? void 0 : _a.offsetHeight, scrollHeight = null === (_b = contentWrapperRef.current) || void 0 === _b ? void 0 : _b.scrollHeight;
|
|
25
25
|
return !(!height || !scrollHeight) && height < scrollHeight;
|
|
@@ -93,6 +93,7 @@ const Modal = React.memo(props => {
|
|
|
93
93
|
className: css.titleIcon,
|
|
94
94
|
children: jsxRuntime.jsx(IconButton.IconButton, {
|
|
95
95
|
tooltip: "close",
|
|
96
|
+
"aria-label": "close",
|
|
96
97
|
icon: "x",
|
|
97
98
|
onClick: () => {
|
|
98
99
|
null == onReject || onReject(new Error("Modal was closed", {
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
var jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react");
|
|
5
5
|
|
|
6
|
-
require("./microphoneStore-
|
|
6
|
+
require("./microphoneStore-Dn91izLl.js"), require("./volumeStore-DsHPJx-8.js"),
|
|
7
|
+
require("./webRTCStore-w3zT4ZiO.js");
|
|
7
8
|
|
|
8
|
-
var Overlay = require("./Overlay-
|
|
9
|
+
var Overlay = require("./Overlay-BS3eyLZz.js"), modalStore = require("./modalStore-B-Xkl2-3.js"), css_container = "ModalController-module_container__3cSaO", css_box = "ModalController-module_box__cPzOz", css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
|
|
9
10
|
|
|
10
11
|
const defaultTransition = {
|
|
11
12
|
ease: "easeOut",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), css_overlay = "Overlay-module_overlay__EkbfA";
|
|
5
5
|
|
|
6
6
|
const defaultTransition = {
|
|
7
7
|
ease: "easeOut",
|
|
8
8
|
duration: .25
|
|
9
9
|
}, Overlay = React.memo(props => {
|
|
10
|
-
const {children: children, show: show = !1, type: type = "clear", global: global = !1, overlay: overlay, color: color = "rgb(0,0,0)", opacity: opacity
|
|
10
|
+
const {children: children, show: show = !1, type: type = "clear", global: global = !1, overlay: overlay, color: color = "rgb(0,0,0)", opacity: opacity, transition: transition = defaultTransition, onClick: onClick = () => null, toggleOverlay: toggleOverlay = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "children", "show", "type", "global", "overlay", "color", "opacity", "transition", "onClick", "toggleOverlay" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", computedOpacity = React.useMemo(() => "clear" === type ? 0 : void 0 !== opacity ? opacity : "dark" === type ? .8 : 0, [ type, opacity ]), handleClick = React.useCallback(() => {
|
|
11
11
|
global && toggleOverlay(!1), onClick();
|
|
12
12
|
}, [ global, toggleOverlay, onClick ]), handleContextMenu = React.useCallback(e => {
|
|
13
13
|
e.preventDefault();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-BPL5e5rQ.js"), 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";
|
|
5
5
|
|
|
6
6
|
const Pager = React.memo(props => {
|
|
7
7
|
const {size: size = 8, index: index = 0, color: color, colorHover: colorHover, colorOn: colorOn, pages: pages = 2, gap: gap = 4, onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "size", "index", "color", "colorHover", "colorOn", "pages", "gap", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [selected, setSelected] = React.useState(index), bullets = React.useMemo(() => Array.from({
|
|
@@ -5,12 +5,13 @@ var jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_u
|
|
|
5
5
|
|
|
6
6
|
require("../theme/colors.js"), require("../theme/type.js");
|
|
7
7
|
|
|
8
|
-
var tslib_es6 = require("./tslib.es6-
|
|
8
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js");
|
|
9
9
|
|
|
10
|
-
require("./broadcastChannel-
|
|
11
|
-
require("./
|
|
10
|
+
require("./broadcastChannel-CtwRunj4.js"), require("./webRTCStore-w3zT4ZiO.js"),
|
|
11
|
+
require("./microphoneStore-Dn91izLl.js"), require("./volumeStore-DsHPJx-8.js"),
|
|
12
|
+
require("../hooks/useWindow.js");
|
|
12
13
|
|
|
13
|
-
var Icon = require("./Icon-
|
|
14
|
+
var Icon = require("./Icon-CsNB8HJ4.js"), react = require("motion/react"), css$1_wrapper = "DoneCheck-module_wrapper__AlISD flexBox-module_row__z24tF", css$1_icon = "DoneCheck-module_icon__bKaFp flexBox-module_row__z24tF";
|
|
14
15
|
|
|
15
16
|
const DoneCheck = React.memo(props => {
|
|
16
17
|
const theme = hooks_useTheme.useTheme(), {size: size = 88, stroke: stroke = 1.5, color: color = theme.current.colors["feedback-positive"], play: play = !0, delay: delay = 5, duration: duration = 1, didStart: didStart, didEnd: didEnd} = props, [playing, setPlaying] = React.useState(!play);
|
|
@@ -3,14 +3,19 @@
|
|
|
3
3
|
|
|
4
4
|
var jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
|
-
require("../theme/colors.js")
|
|
6
|
+
require("../theme/colors.js");
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var theme_corners = require("../theme/corners.js");
|
|
9
9
|
|
|
10
|
-
require("
|
|
11
|
-
require("./volumeStore-CA9Pdx5e.js"), require("../hooks/useWindow.js");
|
|
10
|
+
require("../theme/type.js"), require("./tslib.es6-CG8Jpxry.js");
|
|
12
11
|
|
|
13
|
-
var
|
|
12
|
+
var misc = require("./misc-BPL5e5rQ.js");
|
|
13
|
+
|
|
14
|
+
require("./broadcastChannel-CtwRunj4.js"), require("./webRTCStore-w3zT4ZiO.js"),
|
|
15
|
+
require("./microphoneStore-Dn91izLl.js"), require("./volumeStore-DsHPJx-8.js"),
|
|
16
|
+
require("../hooks/useWindow.js");
|
|
17
|
+
|
|
18
|
+
var Button = require("./Button-GKTXo4mq.js"), FileList = require("./FileList-Be7Sn-bF.js"), css = {
|
|
14
19
|
wrapperBg: "PromptInput-module_wrapperBg__zabZq flexBox-module_columnStart__C7P44",
|
|
15
20
|
bgRotate: "PromptInput-module_bgRotate__Um720",
|
|
16
21
|
textareaWrapper: "PromptInput-module_textareaWrapper__KusiV flexBox-module_columnStart__C7P44",
|
|
@@ -27,7 +32,7 @@ var Button = require("./Button-kzWt5lcL.js"), FileList = require("./FileList-C3K
|
|
|
27
32
|
};
|
|
28
33
|
|
|
29
34
|
const PromptInputBase = React.forwardRef((props, ref) => {
|
|
30
|
-
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 =
|
|
35
|
+
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 = theme_corners.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} = hooks_useTheme.useTheme(), [isFocused, setIsFocused] = React.useState(null != focused && focused), [textValue, setTextValue] = React.useState(value), textAreaRef = React.useRef(null), handleFocus = React.useCallback(() => {
|
|
31
36
|
var _a, _b;
|
|
32
37
|
setIsFocused(!0), null === (_a = null == textAreaRef ? void 0 : textAreaRef.current) || void 0 === _a || _a.focus(),
|
|
33
38
|
null == onFocus || onFocus(null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
|
|
@@ -96,7 +101,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
|
|
|
96
101
|
children: jsxRuntime.jsx(FileList.FileList, {
|
|
97
102
|
files: attachments,
|
|
98
103
|
onChange: handleAttachmentsChange,
|
|
99
|
-
|
|
104
|
+
backgroundColor: "var(--core-surface-primary)",
|
|
100
105
|
textSize: "s",
|
|
101
106
|
direction: "row",
|
|
102
107
|
gap: 8,
|
|
@@ -139,7 +144,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
|
|
|
139
144
|
iconLeft: stopEnabled ? "stop" : "arrow up",
|
|
140
145
|
iconSize: stopEnabled ? 16 : 20,
|
|
141
146
|
state: sendButtonState,
|
|
142
|
-
|
|
147
|
+
backgroundColorDisabled: "var(--core-outline-primary)",
|
|
143
148
|
progress: !stopEnabled,
|
|
144
149
|
working: submitWorking && working,
|
|
145
150
|
onMouseDown: handleClickSend,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-BPL5e5rQ.js"), Icon = require("./Icon-CsNB8HJ4.js"), 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";
|
|
5
5
|
|
|
6
6
|
function RadioButtonComponent(props) {
|
|
7
7
|
const {label: label, children: children, fieldName: fieldName, value: value, selected: selected = !1, controlType: controlType = "radio", deselect: deselect = !0, tabIndex: tabIndex = 0, wrap: wrap = !1, list: list = !1, hideRadio: hideRadio = !1, noFrame: noFrame = !0, icon: icon = "circle", checkedIcon: checkedIcon = "check circle", iconColor: iconColor, gap: gap = 6, onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "label", "children", "fieldName", "value", "selected", "controlType", "deselect", "tabIndex", "wrap", "list", "hideRadio", "noFrame", "icon", "checkedIcon", "iconColor", "gap", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [isSelected, setIsSelected] = React.useState(selected);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-BPL5e5rQ.js"), RadioButton = require("./RadioButton-aMfLOeHI.js"), 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";
|
|
5
5
|
|
|
6
6
|
function RadioButtonListComponent(props) {
|
|
7
7
|
const {width: width = "min-content", options: options = [], selectedIndexes: selectedIndexes = null, selectedOptions: selectedOptions = null, label: label = null, deselect: deselect = !1, multiSelect: multiSelect = !1, wrap: wrap = !1, tabIndexSeed: tabIndexSeed = 0, spacer: spacer = "none", custom: custom = 0, gap: gap = 16, hideRadio: hideRadio = !1, noFrame: noFrame = !0, toggleIcon: toggleIcon = !0, iconColor: iconColor, icon: icon = "circle", checkedIcon: checkedIcon = "check circle", iconSelectedColor: iconSelectedColor, onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "width", "options", "selectedIndexes", "selectedOptions", "label", "deselect", "multiSelect", "wrap", "tabIndexSeed", "spacer", "custom", "gap", "hideRadio", "noFrame", "toggleIcon", "iconColor", "icon", "checkedIcon", "iconSelectedColor", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", labelId = React.useId(), [selected, setSelected] = React.useState(selectedIndexes);
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react");
|
|
5
5
|
|
|
6
6
|
require("../theme/colors.js"), require("../theme/type.js");
|
|
7
7
|
|
|
8
|
-
var misc = require("./misc-
|
|
8
|
+
var misc = require("./misc-BPL5e5rQ.js"), debounce = require("./debounce-BP_p5Vjk.js");
|
|
9
9
|
|
|
10
|
-
require("./broadcastChannel-
|
|
11
|
-
require("./
|
|
10
|
+
require("./broadcastChannel-CtwRunj4.js"), require("./webRTCStore-w3zT4ZiO.js"),
|
|
11
|
+
require("./microphoneStore-Dn91izLl.js"), require("./volumeStore-DsHPJx-8.js"),
|
|
12
|
+
require("../hooks/useWindow.js");
|
|
12
13
|
|
|
13
14
|
var hooks_useObserveResize = require("../hooks/useObserveResize.js"), css_wrapper = "Slider-module_wrapper__KCCs1", css_trackBg = "Slider-module_trackBg__7zfqm flexBox-module_rowStart__4tcxS", css_track = "Slider-module_track__kaJkL flexBox-module_rowStart__4tcxS", css_trackHead = "Slider-module_trackHead__W-UdG", css_trackWrapper = "Slider-module_trackWrapper__Ot0Wh flexBox-module_rowStart__4tcxS";
|
|
14
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react");
|
|
5
5
|
|
|
6
6
|
const Spacer = React.memo(props => {
|
|
7
7
|
const {size: size = 8} = props, divAttributes = tslib_es6.__rest(props, [ "size" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), spacerStyle = React.useMemo(() => ({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), css_wrapper = "Switch-module_wrapper__kudO9 flexBox-module_row__z24tF", css_knob = "Switch-module_knob__vKNOc flexBox-module_row__z24tF";
|
|
5
5
|
|
|
6
6
|
function SwitchComponent(props) {
|
|
7
|
-
const {fieldName: fieldName, state: state = !1, value: value, height: height = 22, width: width = 44, padding: padding = 3, backgroundColorOn: backgroundColorOn
|
|
7
|
+
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 = tslib_es6.__rest(props, [ "fieldName", "state", "value", "height", "width", "padding", "backgroundColorOn", "backgroundColorOff", "knobColor", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [on, setOn] = React.useState(state), resolvedBackgroundColorOn = backgroundColorOn, resolvedBackgroundColorOff = backgroundColorOff;
|
|
8
8
|
React.useEffect(() => {
|
|
9
9
|
setOn(state);
|
|
10
10
|
}, [ state ]);
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
6
|
require("../theme/colors.js"), require("../theme/type.js");
|
|
7
7
|
|
|
8
|
-
var misc = require("./misc-
|
|
8
|
+
var misc = require("./misc-BPL5e5rQ.js");
|
|
9
9
|
|
|
10
|
-
require("./broadcastChannel-
|
|
11
|
-
require("./
|
|
10
|
+
require("./broadcastChannel-CtwRunj4.js"), require("./webRTCStore-w3zT4ZiO.js"),
|
|
11
|
+
require("./microphoneStore-Dn91izLl.js"), require("./volumeStore-DsHPJx-8.js"),
|
|
12
|
+
require("../hooks/useWindow.js");
|
|
12
13
|
|
|
13
|
-
var Badge = require("./Badge
|
|
14
|
+
var Badge = require("./Badge--0CfhLFo.js"), Icon = require("./Icon-CsNB8HJ4.js"), IconButton = require("./IconButton-DlLDM8w2.js"), sharedTypes = require("./sharedTypes-BgBhX0El.js"), css = {
|
|
14
15
|
wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
|
|
15
16
|
option: "TabBar-module_option__gYjDf flexBox-module_row__z24tF",
|
|
16
17
|
icon: "TabBar-module_icon__JDgG3 flexBox-module_row__z24tF",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), theme_corners = require("../theme/corners.js"), Button = require("./Button-GKTXo4mq.js"), 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";
|
|
5
5
|
|
|
6
6
|
const TextArea = React.memo(props => {
|
|
7
|
-
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 =
|
|
7
|
+
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 = theme_corners.corners["corner-xs"], padding: padding = "16px 4px 16px 16px", error: error = !1, resizable: resizable = !0, hasSend: hasSend = !1, sendOffset: sendOffset = {
|
|
8
8
|
bottom: 10,
|
|
9
9
|
right: 10
|
|
10
|
-
}, sendSize: sendSize = 36, returnSubmits: returnSubmits = !1, backgroundColor: backgroundColor,
|
|
10
|
+
}, 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 = tslib_es6.__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 = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = backgroundColor, [isFocused, setIsFocused] = React.useState(focused), [text, setText] = React.useState(value), ref = React.useRef(null), handleResize = React.useCallback(() => {
|
|
11
11
|
(null == ref ? void 0 : ref.current) && (ref.current.style.height = "auto", ref.current.style.height = `${ref.current.scrollHeight}px`);
|
|
12
12
|
}, []);
|
|
13
13
|
React.useEffect(() => {
|
|
@@ -23,8 +23,8 @@ const TextArea = React.memo(props => {
|
|
|
23
23
|
var _a, _b;
|
|
24
24
|
setIsFocused(!1), onBlur(null !== (_b = null === (_a = ref.current) || void 0 === _a ? void 0 : _a.value) && void 0 !== _b ? _b : "");
|
|
25
25
|
}, [ onBlur ]), handleSubmit = React.useCallback(e => {
|
|
26
|
-
null == e || e.preventDefault(), handleFocus(), onSubmit(text), submitClears && setText(""),
|
|
27
|
-
|
|
26
|
+
null == e || e.preventDefault(), handleFocus(), onSubmit(text), submitClears && (setText(""),
|
|
27
|
+
ref.current && (ref.current.value = "")), handleResize();
|
|
28
28
|
}, [ handleFocus, onSubmit, text, submitClears, handleResize ]), handleKeyDownWrapper = React.useCallback(e => {
|
|
29
29
|
returnSubmits && "Enter" === e.key && (e.preventDefault(), e.stopPropagation(),
|
|
30
30
|
handleSubmit(void 0)), onKeyDown(e);
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
|
-
require("../theme/colors.js")
|
|
6
|
+
require("../theme/colors.js");
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var theme_corners = require("../theme/corners.js");
|
|
9
9
|
|
|
10
|
-
require("
|
|
11
|
-
require("./volumeStore-CA9Pdx5e.js"), require("../hooks/useWindow.js");
|
|
10
|
+
require("../theme/type.js");
|
|
12
11
|
|
|
13
|
-
var
|
|
12
|
+
var misc = require("./misc-BPL5e5rQ.js");
|
|
13
|
+
|
|
14
|
+
require("./broadcastChannel-CtwRunj4.js"), require("./webRTCStore-w3zT4ZiO.js"),
|
|
15
|
+
require("./microphoneStore-Dn91izLl.js"), require("./volumeStore-DsHPJx-8.js"),
|
|
16
|
+
require("../hooks/useWindow.js");
|
|
17
|
+
|
|
18
|
+
var Button = require("./Button-GKTXo4mq.js"), Icon = require("./Icon-CsNB8HJ4.js"), IconButton = require("./IconButton-DlLDM8w2.js"), css = {
|
|
14
19
|
wrapper: "TextField-module_wrapper__qZ-p- flexBox-module_rowStart__4tcxS",
|
|
15
20
|
container: "TextField-module_container__5U9yK flexBox-module_rowStart__4tcxS",
|
|
16
21
|
label: "TextField-module_label__jD8MR flexBox-module_rowStart__4tcxS",
|
|
@@ -44,7 +49,7 @@ const MOTION_CONFIG = {
|
|
|
44
49
|
const theme = hooks_useTheme.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 = {
|
|
45
50
|
width: "100%",
|
|
46
51
|
height: "auto"
|
|
47
|
-
}, padding: padding, borderRadius: borderRadius =
|
|
52
|
+
}, padding: padding, borderRadius: borderRadius = theme_corners.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 = {
|
|
48
53
|
size: 20
|
|
49
54
|
}, clearBlurs: clearBlurs = !1, disabled: disabled = !1, inputType: inputType = "text"} = props, divAttributes = tslib_es6.__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 = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", input = React.useRef(null), [text, setText] = React.useState(value), [isFocused, setIsFocused] = React.useState(focused), [show, setShow] = React.useState(!1);
|
|
50
55
|
React.useEffect(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), misc = require("./misc-BPL5e5rQ.js"), theme_corners = require("../theme/corners.js"), css = {
|
|
5
5
|
wrapper: "Tip-module_wrapper__D7ACT flexBox-module_rowStart__4tcxS",
|
|
6
6
|
xs: "Tip-module_xs__wsz9y type-module_body-xs-regular__ZAFft",
|
|
7
7
|
s: "Tip-module_s__Wvz3q type-module_body-s-regular__vRHSP",
|
|
@@ -15,7 +15,7 @@ const tipBasePos = {
|
|
|
15
15
|
top: 0
|
|
16
16
|
}, TipBase = React.forwardRef((props, ref) => {
|
|
17
17
|
var _a;
|
|
18
|
-
const {tip: tip, textSize: textSize = "s", backgroundColor: backgroundColor,
|
|
18
|
+
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 = tslib_es6.__rest(props, [ "tip", "textSize", "backgroundColor", "textColor", "color", "border", "borderColor", "padding", "borderRadius", "radius", "coords", "showDelay", "hideDelay" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? `${className}` : "", [pos, setPos] = React.useState(tipBasePos), [ready, setReady] = React.useState(!1), [animate, setAnimate] = React.useState(!1), timer = React.useRef(null), resolvedBackgroundColor = backgroundColor, resolvedTextColor = null != textColor ? textColor : color, resolvedBorderRadius = null != borderRadius ? borderRadius : radius;
|
|
19
19
|
React.useEffect(() => {
|
|
20
20
|
timer.current && clearTimeout(timer.current);
|
|
21
21
|
const {x: x, y: y} = null != coords ? coords : {
|
|
@@ -45,7 +45,7 @@ const tipBasePos = {
|
|
|
45
45
|
"--tooltip-background": null != resolvedBackgroundColor ? resolvedBackgroundColor : "var(--core-surface-secondary)",
|
|
46
46
|
"--tooltip-color": null != resolvedTextColor ? resolvedTextColor : "var(--core-text-primary)",
|
|
47
47
|
"--tooltip-border": border ? `1px solid ${null != borderColor ? borderColor : "var(--core-outline-primary)"}` : "unset",
|
|
48
|
-
"--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : "
|
|
48
|
+
"--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : `${theme_corners.corners["corner-xs"]}px`
|
|
49
49
|
}), [ padding, resolvedBackgroundColor, resolvedTextColor, border, borderColor, resolvedBorderRadius ]), coordStyle = React.useMemo(() => {
|
|
50
50
|
const {left: left, top: top} = pos;
|
|
51
51
|
return {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CG8Jpxry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
6
|
require("../theme/colors.js"), require("../theme/type.js");
|
|
7
7
|
|
|
8
|
-
var misc = require("./misc-
|
|
8
|
+
var misc = require("./misc-BPL5e5rQ.js");
|
|
9
9
|
|
|
10
|
-
require("./broadcastChannel-
|
|
11
|
-
require("./
|
|
10
|
+
require("./broadcastChannel-CtwRunj4.js"), require("./webRTCStore-w3zT4ZiO.js"),
|
|
11
|
+
require("./microphoneStore-Dn91izLl.js"), require("./volumeStore-DsHPJx-8.js"),
|
|
12
|
+
require("../hooks/useWindow.js");
|
|
12
13
|
|
|
13
|
-
var ToastType, Icon = require("./Icon-
|
|
14
|
+
var ToastType, Icon = require("./Icon-CsNB8HJ4.js"), ProgressIndicator = require("./ProgressIndicator-CctdHXiJ.js"), css = {
|
|
14
15
|
wrapper: "Toast-module_wrapper__1uj9O flexBox-module_rowBetween__5FEvi",
|
|
15
16
|
close: "Toast-module_close__i10-s flexBox-module_row__z24tF",
|
|
16
17
|
message: "Toast-module_message__3dP0P flexBox-module_rowStart__4tcxS",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var jsxRuntime = require("react/jsx-runtime"), React = require("react"), IconButton = require("./IconButton-
|
|
4
|
+
var jsxRuntime = require("react/jsx-runtime"), React = require("react"), IconButton = require("./IconButton-DlLDM8w2.js"), Label = require("./Label-BB8PYTuF.js"), css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
|
|
5
5
|
|
|
6
6
|
exports.ToggleButton = function(props) {
|
|
7
|
-
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)",
|
|
7
|
+
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 = () => {
|
|
8
8
|
if (!unselect && selected) return;
|
|
9
9
|
const newState = !selected;
|
|
10
10
|
null == onChange || onChange(newState), newState && (null == onSelect || onSelect());
|
|
@@ -20,9 +20,9 @@ exports.ToggleButton = function(props) {
|
|
|
20
20
|
tooltip: tooltip,
|
|
21
21
|
toggle: !selected,
|
|
22
22
|
isToggled: selected,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
backgroundColorOn: backgroundColorOn,
|
|
24
|
+
backgroundColorHover: backgroundColorHover,
|
|
25
|
+
backgroundColor: backgroundColor,
|
|
26
26
|
iconColor: iconColor,
|
|
27
27
|
iconColorOn: iconColorOn,
|
|
28
28
|
iconColorHover: iconColorHover,
|