@apple-pie/slice 0.1.52 → 0.1.53
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-BSceAgq8.js} +5 -4
- package/dist/cjs/chunks/{Avatar-L6s2-x0u.js → Avatar-LhoIzZYs.js} +2 -2
- package/dist/cjs/chunks/{AvatarGroup-DNGFPl1j.js → AvatarGroup-6rYDbrq0.js} +3 -3
- package/dist/cjs/chunks/{Badge-CWASZI0E.js → Badge-DNzsgQk9.js} +1 -1
- package/dist/cjs/chunks/{Button-kzWt5lcL.js → Button-GrPLJIBP.js} +5 -5
- package/dist/cjs/chunks/{ButtonBar-BaFGN5AR.js → ButtonBar-Df0iGtC3.js} +2 -2
- package/dist/cjs/chunks/{Camera-CBZmVUf6.js → Camera-BN2emgEV.js} +7 -6
- package/dist/cjs/chunks/{CheckBox-D8e57FqA.js → CheckBox-DOTWw9VH.js} +1 -1
- package/dist/cjs/chunks/{Chip-DCFtFPpu.js → Chip-BjzBZU6j.js} +2 -2
- package/dist/cjs/chunks/{DivInput-BbYo5dnn.js → DivInput-DXpi201k.js} +5 -5
- package/dist/cjs/chunks/{Dot-ByKZIcva.js → Dot-nWPzJqlj.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-EvnMMRh0.js → DrggablePanel-Bi4cmUh5.js} +21 -16
- package/dist/cjs/chunks/{DropDown-C-i2rIhH.js → DropDown-K6xOYkfl.js} +2 -2
- package/dist/cjs/chunks/{ErrorSummary-DLaE1duh.js → ErrorSummary-pWO_o2MN.js} +6 -5
- package/dist/cjs/chunks/{FileIcon-DqFMbhRF.js → FileIcon-BXmM4L3A.js} +5 -5
- package/dist/cjs/chunks/{FileList-C3KR7jHj.js → FileList-NDj9e_To.js} +2 -2
- package/dist/cjs/chunks/{FlexDiv-BPmDJlQe.js → FlexDiv-Dfp6NfR-.js} +1 -1
- package/dist/cjs/chunks/{Grouper-Bm013ATj.js → Grouper-DJP2JXUi.js} +5 -5
- package/dist/cjs/chunks/{Icon-CUbgmUeu.js → Icon-VcvTUkMA.js} +5 -4
- package/dist/cjs/chunks/{IconButton-BbgyyMjG.js → IconButton-Cz7iTVhO.js} +3 -3
- package/dist/cjs/chunks/{IndexedDB-DFVmvrQg.js → IndexedDB-D7TVb0pF.js} +8 -4
- package/dist/cjs/chunks/{Label-CDuN-9n3.js → Label-E7350HYG.js} +2 -2
- package/dist/cjs/chunks/{Level-vbDvflcO.js → Level-ZmAb4JQ9.js} +3 -3
- package/dist/cjs/chunks/{Modal-BS-9UkxV.js → Modal-BKZ9fgWF.js} +3 -2
- package/dist/cjs/chunks/{ModalController-B-m3OD5K.js → ModalController-CCcRXYUs.js} +3 -2
- package/dist/cjs/chunks/{Overlay-QprT1IaK.js → Overlay-B0jNgBu3.js} +2 -2
- package/dist/cjs/chunks/{Pager-7edBFop6.js → Pager-CwOhw4nE.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-Bi1UfJIW.js → ProgressIndicator--Ph78ZSe.js} +5 -4
- package/dist/cjs/chunks/{PromptInput-BHDK8fjX.js → PromptInput-8TqoRRtq.js} +13 -8
- package/dist/cjs/chunks/{RadioButton-SqAqjkcO.js → RadioButton-oZxMZCpd.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-Bk4zdfNK.js → RadioButtonList-C0zngoe4.js} +1 -1
- package/dist/cjs/chunks/{Slider-CGXCa5hf.js → Slider-BfiaN55A.js} +5 -4
- package/dist/cjs/chunks/{Spacer-Cz634l5B.js → Spacer-D9SULpcV.js} +1 -1
- package/dist/cjs/chunks/{Switch-BWz76WjN.js → Switch-Bax_lPw4.js} +2 -2
- package/dist/cjs/chunks/{TabBar-BhV5XeiX.js → TabBar-C9NycMo8.js} +6 -5
- package/dist/cjs/chunks/{TextArea-Dc0MXEtY.js → TextArea-BSo1K02e.js} +5 -5
- package/dist/cjs/chunks/{TextField-l62uCubT.js → TextField-TpzwNrB3.js} +12 -7
- package/dist/cjs/chunks/{Tip-BBMqZlgV.js → Tip-CtobkAG3.js} +3 -3
- package/dist/cjs/chunks/{Toast-DNSA3BzO.js → Toast-BRvp6HeI.js} +6 -5
- package/dist/cjs/chunks/{ToggleButton-DclomTgT.js → ToggleButton-BGsKt1uz.js} +5 -5
- package/dist/cjs/chunks/{UploadArea-Bm674kMd.js → UploadArea-BVIOxAk0.js} +5 -5
- package/dist/cjs/chunks/{Video-Be2aIETB.js → Video-B9BWFeiN.js} +15 -15
- package/dist/cjs/chunks/{VideoController-BCTD_gZh.js → VideoController-D5J76aQJ.js} +8 -7
- package/dist/cjs/chunks/{WSConnection-pryKJWc6.js → WSConnection-BrwlAScO.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-C_GRUnIY.js → WebRTCConnection-nx-EhtdY.js} +1 -1
- package/dist/cjs/chunks/{browserChannelsStore-6ZSY_xb-.js → browserChannelsStore-C8C4qb7h.js} +2 -2
- package/dist/cjs/chunks/{localDBStore-DO3FanPt.js → localDBStore-DhruyXfz.js} +2 -2
- package/dist/cjs/chunks/magic-string.es-DXiBW6ft.js +724 -0
- package/dist/cjs/chunks/{microphoneStore-Ch3VVm4T.js → microphoneStore-axA5TgKM.js} +1 -1
- package/dist/cjs/chunks/{misc-BNlFh_4N.js → misc-B2oK3rIL.js} +1 -1
- package/dist/cjs/chunks/{sseStore-C_INE2Dq.js → sseStore-DaJgRKej.js} +3 -3
- package/dist/cjs/chunks/{uploads-worker-Bz66LCly.js → uploads-worker-B_12HqmC.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-blQX5Zny.js → uploadsStore-hFHe0RDh.js} +2 -2
- package/dist/cjs/chunks/{viewState-8FeRZBG3.js → viewState-BzvJJA68.js} +8 -7
- package/dist/cjs/chunks/{volumeStore-CA9Pdx5e.js → volumeStore-D64ziNWo.js} +1 -1
- package/dist/cjs/chunks/{webRTCStore-Bu7_nxNq.js → webRTCStore-XciamNCa.js} +2 -2
- package/dist/cjs/chunks/{windowStore-CYvn2_ma.js → windowStore-DRgyVg9e.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-CdmLKDhc.mjs} +8 -6
- package/dist/esm/chunks/{Avatar-DE7v6q5Z.mjs → Avatar-CblCPiom.mjs} +3 -3
- package/dist/esm/chunks/{AvatarGroup-B-E3eFeF.mjs → AvatarGroup-DgNd60cP.mjs} +4 -4
- package/dist/esm/chunks/{Badge-Cli_Ebpu.mjs → Badge-DIru-w6O.mjs} +1 -1
- package/dist/esm/chunks/{Button-BdxJ4wnE.mjs → Button-BYALDfuE.mjs} +12 -10
- package/dist/esm/chunks/{ButtonBar-LIzMkcAW.mjs → ButtonBar-DUDK-0Y4.mjs} +6 -4
- package/dist/esm/chunks/{Camera-DQIlyciR.mjs → Camera-BOgxXxRV.mjs} +11 -9
- package/dist/esm/chunks/{CheckBox-yuitT-oK.mjs → CheckBox-xLveo-Lt.mjs} +3 -3
- package/dist/esm/chunks/{Chip-BVWlgpZ4.mjs → Chip-COWEFzyh.mjs} +7 -5
- package/dist/esm/chunks/{DivInput-SeyX77Nb.mjs → DivInput-faLHJ1b9.mjs} +8 -6
- package/dist/esm/chunks/{Dot-Lyaimh03.mjs → Dot-CWVfujdC.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel--TPNDMpD.mjs → DrggablePanel-DCA9LeNq.mjs} +23 -17
- package/dist/esm/chunks/{DropDown-BmumgcHV.mjs → DropDown-C9fS9E6c.mjs} +6 -4
- package/dist/esm/chunks/{ErrorSummary-CPsaqCL-.mjs → ErrorSummary-D1WbASIx.mjs} +8 -6
- package/dist/esm/chunks/{FileIcon-Ckvm7EOw.mjs → FileIcon-CBNQckHc.mjs} +7 -5
- package/dist/esm/chunks/{FileList-D0b6RxKc.mjs → FileList-CK96tECm.mjs} +6 -6
- package/dist/esm/chunks/{FlexDiv-D7wQNKz0.mjs → FlexDiv-Cglvd-xT.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-BrjPf1Zm.mjs → Grouper-CivlTYk2.mjs} +8 -6
- package/dist/esm/chunks/{Icon-DGQB6Mfm.mjs → Icon-CGqm8lg7.mjs} +7 -5
- package/dist/esm/chunks/{IconButton-Wffb0Rhg.mjs → IconButton-LsCK8HUU.mjs} +9 -7
- package/dist/esm/chunks/{IndexedDB-Cwb-PZNm.mjs → IndexedDB-DNFNyOit.mjs} +8 -4
- package/dist/esm/chunks/{Label-BF7Bac6I.mjs → Label-CFUlmEKM.mjs} +5 -3
- package/dist/esm/chunks/{Level-DnWQ5mLH.mjs → Level-CAZN_Xt7.mjs} +7 -5
- package/dist/esm/chunks/{Modal-BuDVEntK.mjs → Modal-DAU9VnrP.mjs} +9 -6
- package/dist/esm/chunks/{ModalController-CWZBh7Dg.mjs → ModalController-axF12LqY.mjs} +6 -4
- package/dist/esm/chunks/{Overlay-DXAULyRd.mjs → Overlay-CYvVXNU5.mjs} +2 -2
- package/dist/esm/chunks/{Pager-Bjwlh0Vs.mjs → Pager-BvFWzAok.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-C8tli-Jg.mjs → ProgressIndicator-CNTW0t8s.mjs} +7 -5
- package/dist/esm/chunks/{PromptInput-JE3EkzEV.mjs → PromptInput-PJIXJMCp.mjs} +14 -10
- package/dist/esm/chunks/{RadioButton-BK37fGER.mjs → RadioButton-DipoEV9R.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-CPfE3YBM.mjs → RadioButtonList-CDysnTjd.mjs} +3 -3
- package/dist/esm/chunks/{Slider-D6nWSQ-A.mjs → Slider-BzX_jQ27.mjs} +8 -6
- package/dist/esm/chunks/{Spacer-CWY79s4p.mjs → Spacer-DJKkJpdX.mjs} +1 -1
- package/dist/esm/chunks/{Switch-De_cFgOS.mjs → Switch-C8FXGMlJ.mjs} +2 -2
- package/dist/esm/chunks/{TabBar-CCq8-TdA.mjs → TabBar-B_pwLZcy.mjs} +11 -9
- package/dist/esm/chunks/{TextArea-kAVb9Lpy.mjs → TextArea-BbveliHo.mjs} +8 -6
- package/dist/esm/chunks/{TextField-MxcxS6SE.mjs → TextField-D-680Ah3.mjs} +13 -9
- package/dist/esm/chunks/{Tip-CuRp-fki.mjs → Tip-IdoSsqpu.mjs} +6 -4
- package/dist/esm/chunks/{Toast-CvWVJwrM.mjs → Toast-DNN0M8ds.mjs} +9 -7
- package/dist/esm/chunks/{ToggleButton-DpR2FO_I.mjs → ToggleButton-BhRGIiQz.mjs} +6 -6
- package/dist/esm/chunks/{UploadArea-ChXIXxSg.mjs → UploadArea-BFEjUf7n.mjs} +10 -8
- package/dist/esm/chunks/{Video-D3FSIySJ.mjs → Video-DBF6un3N.mjs} +19 -19
- package/dist/esm/chunks/{VideoController-CS6eZwuf.mjs → VideoController-lNXxiYAp.mjs} +15 -11
- package/dist/esm/chunks/{WSConnection-DX-v8PDB.mjs → WSConnection-Bd3_THiB.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-KLpY6CZG.mjs → WebRTCConnection-DvF2ENaH.mjs} +1 -1
- package/dist/esm/chunks/{browserChannelsStore-BlUi1EOi.mjs → browserChannelsStore-Dkg2yF-s.mjs} +2 -2
- package/dist/esm/chunks/{localDBStore-Cqmkk2oq.mjs → localDBStore-DmM1xv6W.mjs} +3 -3
- package/dist/esm/chunks/magic-string.es-w54Wbyiz.mjs +722 -0
- package/dist/esm/chunks/{microphoneStore-CHjTUEL_.mjs → microphoneStore-B9HEjn8x.mjs} +1 -1
- package/dist/esm/chunks/{misc-GB29X0YR.mjs → misc-O5ZSVDP0.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-CsFtm_ph.mjs → sseStore-CWOB35p7.mjs} +3 -3
- package/dist/esm/chunks/{uploads-worker-DnuyqnvO.mjs → uploads-worker-C4I-bc63.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-BJkaMc8Q.mjs → uploadsStore-Bx9nAcin.mjs} +1 -1
- package/dist/esm/chunks/{viewState-Bz_5JiKf.mjs → viewState-Dv3Y_pc4.mjs} +13 -9
- package/dist/esm/chunks/{volumeStore-DBjptppw.mjs → volumeStore-C2AnBA5B.mjs} +1 -1
- package/dist/esm/chunks/{webRTCStore-Da4krjmG.mjs → webRTCStore-fNJiXwLR.mjs} +3 -3
- package/dist/esm/chunks/{windowStore-DuCMm9ZH.mjs → windowStore-CYsBH-_Y.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 +21 -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 +2225 -2214
- 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/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-BiFYXGu6.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-C0XhTcpi.js → SSEConnection-CygPbs0L.js} +0 -0
- /package/dist/cjs/chunks/{_types-DEjCVlhp.js → _types-jaI3KEVY.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-DFgLMDKW.js → audioVisualizer-Dmtjjosj.js} +0 -0
- /package/dist/cjs/chunks/{broadcastChannel-B0l8OE4I.js → broadcastChannel-CRR59lw6.js} +0 -0
- /package/dist/cjs/chunks/{colors-jx2QRRls.js → colors-Dok44sXW.js} +0 -0
- /package/dist/cjs/chunks/{debounce-CsmIqkDy.js → debounce-C3P6vOcn.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-DaB75uoa.js → modalStore--QHdUyuE.js} +0 -0
- /package/dist/cjs/chunks/{rafThrottle-DvT0BNgS.js → rafThrottle-DlDdrddz.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-BT25wBhL.js → sharedTypes-BW_hw-Vb.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-Dxda_4EA.js → tipStore-DAb0BV40.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-DqWfFw57.js → toastStore-6OcUl7VL.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-CTGrDO27.js → tslib.es6-Y3RzGMQw.js} +0 -0
- /package/dist/cjs/chunks/{videoStore-q-yi22M3.js → videoStore-B2FtqVfG.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-CuqX6fWF.mjs → MdStreamBuffer-D3J2CXWe.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-DgwE_V3B.mjs → SSEConnection-5GuqCTf8.mjs} +0 -0
- /package/dist/esm/chunks/{_types-n_IXoiPR.mjs → _types-CLPtELrL.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-CLKL6Y79.mjs → audioVisualizer-BO_hMyyp.mjs} +0 -0
- /package/dist/esm/chunks/{broadcastChannel-qkn7bL4S.mjs → broadcastChannel-B8FxWRVj.mjs} +0 -0
- /package/dist/esm/chunks/{colors-C3CypePZ.mjs → colors-Pe71RB3l.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-xuz65F25.mjs → debounce-O12UHVJH.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-DN1F_WR9.mjs → modalStore-CBW78_cT.mjs} +0 -0
- /package/dist/esm/chunks/{rafThrottle-B6dxl-O8.mjs → rafThrottle-Cf-gEuLq.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-DqPH1p0Q.mjs → sharedTypes-ySBopm8X.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-B_trLnIa.mjs → tipStore-DHu8QqNR.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-BWlW1cRh.mjs → toastStore-EbAo-Cjj.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-DGRmn-gx.mjs → tslib.es6-uJhEruZV.mjs} +0 -0
- /package/dist/esm/chunks/{videoStore-BxCTQ_tE.mjs → videoStore-TxVsMj8s.mjs} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var localDBStore = require("../chunks/localDBStore-
|
|
3
|
+
var localDBStore = require("../chunks/localDBStore-DhruyXfz.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
6
|
-
require("zustand/react/shallow"), require("../chunks/IndexedDB-
|
|
5
|
+
require("../chunks/tslib.es6-Y3RzGMQw.js"), require("react"), require("zustand"),
|
|
6
|
+
require("zustand/react/shallow"), require("../chunks/IndexedDB-D7TVb0pF.js"), require("../chunks/broadcastChannel-CRR59lw6.js"),
|
|
7
7
|
exports.localDBActions = localDBStore.localDBActions, exports.useLocalDB = localDBStore.useLocalDB,
|
|
8
8
|
exports.useLocalDBError = localDBStore.useLocalDBError, exports.useLocalDBStore = localDBStore.useLocalDBStore,
|
|
9
9
|
exports.useLocalDBValues = localDBStore.useLocalDBValues, exports.useManageLocalDB = localDBStore.useManageLocalDB;
|
package/dist/cjs/stores/SSE.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var sseStore = require("../chunks/sseStore-
|
|
3
|
+
var sseStore = require("../chunks/sseStore-DaJgRKej.js");
|
|
4
4
|
|
|
5
|
-
require("zustand"), require("../chunks/tslib.es6-
|
|
6
|
-
require("../chunks/broadcastChannel-
|
|
5
|
+
require("zustand"), require("../chunks/tslib.es6-Y3RzGMQw.js"), require("../chunks/SSEConnection-CygPbs0L.js"),
|
|
6
|
+
require("../chunks/broadcastChannel-CRR59lw6.js"), exports.useConnectionClose = sseStore.useConnectionClose,
|
|
7
7
|
exports.useConnectionMessage = sseStore.useConnectionMessage, exports.useIsConnected = sseStore.useIsConnected,
|
|
8
8
|
exports.useLastSSEMessage = sseStore.useLastSSEMessage, exports.useMessage = sseStore.useMessage,
|
|
9
9
|
exports.useSSE = sseStore.useSSE, exports.useSSEActions = sseStore.useSSEActions,
|
package/dist/cjs/stores/WS.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var zustand = require("zustand");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-Y3RzGMQw.js");
|
|
6
6
|
|
|
7
|
-
var WSConnection = require("../chunks/WSConnection-
|
|
7
|
+
var WSConnection = require("../chunks/WSConnection-BrwlAScO.js");
|
|
8
8
|
|
|
9
|
-
require("../chunks/broadcastChannel-
|
|
9
|
+
require("../chunks/broadcastChannel-CRR59lw6.js");
|
|
10
10
|
|
|
11
11
|
const useWSStore = zustand.create((set, get) => ({
|
|
12
12
|
connections: [],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var webRTCStore = require("../chunks/webRTCStore-
|
|
3
|
+
var webRTCStore = require("../chunks/webRTCStore-XciamNCa.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
6
|
-
require("../chunks/broadcastChannel-
|
|
5
|
+
require("../chunks/tslib.es6-Y3RzGMQw.js"), require("zustand"), require("../chunks/WebRTCConnection-nx-EhtdY.js"),
|
|
6
|
+
require("../chunks/broadcastChannel-CRR59lw6.js"), exports.getWebRTCConnections = webRTCStore.getWebRTCConnections,
|
|
7
7
|
exports.useWebRTC = webRTCStore.useWebRTC, exports.useWebRTCActions = webRTCStore.useWebRTCActions,
|
|
8
8
|
exports.useWebRTCConnected = webRTCStore.useWebRTCConnected, exports.useWebRTCConnection = webRTCStore.useWebRTCConnection,
|
|
9
9
|
exports.useWebRTCConnections = webRTCStore.useWebRTCConnections, exports.useWebRTCStore = webRTCStore.useWebRTCStore;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var browserChannelsStore = require("../chunks/browserChannelsStore-
|
|
3
|
+
var browserChannelsStore = require("../chunks/browserChannelsStore-C8C4qb7h.js");
|
|
4
4
|
|
|
5
|
-
require("zustand"), require("../chunks/tslib.es6-
|
|
5
|
+
require("zustand"), require("../chunks/tslib.es6-Y3RzGMQw.js"), require("../chunks/broadcastChannel-CRR59lw6.js"),
|
|
6
6
|
exports.browserChannelActions = browserChannelsStore.browserChannelActions, exports.getBrowserChannels = browserChannelsStore.getBrowserChannels,
|
|
7
7
|
exports.getLastBrowserChannelMessage = browserChannelsStore.getLastBrowserChannelMessage,
|
|
8
8
|
exports.getMessage = browserChannelsStore.getMessage, exports.useBrowserChannelActions = browserChannelsStore.useBrowserChannelActions,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var microphoneStore = require("../chunks/microphoneStore-
|
|
3
|
+
var microphoneStore = require("../chunks/microphoneStore-axA5TgKM.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-Y3RzGMQw.js"), require("react"), require("zustand"),
|
|
6
6
|
exports.getCurrentMicDeviceLabel = microphoneStore.getCurrentMicDeviceLabel, exports.getMicrophoneState = microphoneStore.getMicrophoneState,
|
|
7
7
|
exports.microphoneActions = microphoneStore.microphoneActions, exports.useCurrentMicDeviceId = microphoneStore.useCurrentMicDeviceId,
|
|
8
8
|
exports.useCurrentMicDeviceLabel = microphoneStore.useCurrentMicDeviceLabel, exports.useMicActive = microphoneStore.useMicActive,
|
package/dist/cjs/stores/modal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var modalStore = require("../chunks/modalStore
|
|
3
|
+
var modalStore = require("../chunks/modalStore--QHdUyuE.js");
|
|
4
4
|
|
|
5
5
|
require("zustand"), exports.getModal = modalStore.getModal, exports.modalActions = modalStore.modalActions,
|
|
6
6
|
exports.useModal = modalStore.useModal, exports.useModalActions = modalStore.useModalActions,
|
package/dist/cjs/stores/tip.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var tipStore = require("../chunks/tipStore-
|
|
3
|
+
var tipStore = require("../chunks/tipStore-DAb0BV40.js");
|
|
4
4
|
|
|
5
5
|
require("zustand"), exports.getTip = tipStore.getTip, exports.tipActions = tipStore.tipActions,
|
|
6
6
|
exports.useTip = tipStore.useTip, exports.useTipActions = tipStore.useTipActions,
|
package/dist/cjs/stores/toast.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var toastStore = require("../chunks/toastStore-
|
|
3
|
+
var toastStore = require("../chunks/toastStore-6OcUl7VL.js");
|
|
4
4
|
|
|
5
5
|
require("zustand"), exports.getToast = toastStore.getToast, exports.toastActions = toastStore.toastActions,
|
|
6
6
|
exports.useToast = toastStore.useToast, exports.useToastActions = toastStore.useToastActions,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var uploadsStore = require("../chunks/uploadsStore-
|
|
3
|
+
var uploadsStore = require("../chunks/uploadsStore-hFHe0RDh.js");
|
|
4
4
|
|
|
5
|
-
require("zustand"), require("../chunks/uploads-worker-
|
|
5
|
+
require("zustand"), require("../chunks/uploads-worker-B_12HqmC.js"), require("../chunks/tslib.es6-Y3RzGMQw.js"),
|
|
6
6
|
exports.createUploadsWorker = uploadsStore.createUploadsWorker, exports.getUploads = uploadsStore.getUploads,
|
|
7
7
|
exports.getUploadsError = uploadsStore.getUploadsError, exports.getUploadsWorkerStatus = uploadsStore.getUploadsWorkerStatus,
|
|
8
8
|
exports.uploadsActions = uploadsStore.uploadsActions, exports.uploadsInitialized = uploadsStore.uploadsInitialized,
|
package/dist/cjs/stores/video.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var videoStore = require("../chunks/videoStore-
|
|
3
|
+
var videoStore = require("../chunks/videoStore-B2FtqVfG.js");
|
|
4
4
|
|
|
5
5
|
require("zustand"), exports.getVideo = videoStore.getVideo, exports.useVideo = videoStore.useVideo,
|
|
6
6
|
exports.useVideoActions = videoStore.useVideoActions, exports.useVideoStore = videoStore.useVideoStore,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var volumeStore = require("../chunks/volumeStore-
|
|
3
|
+
var volumeStore = require("../chunks/volumeStore-D64ziNWo.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-Y3RzGMQw.js"), require("zustand"), exports.getAttachedMedia = volumeStore.getAttachedMedia,
|
|
6
6
|
exports.getMuted = volumeStore.getMuted, exports.getStoredVolume = volumeStore.getStoredVolume,
|
|
7
7
|
exports.getVolume = volumeStore.getVolume, exports.useAttachedMedia = volumeStore.useAttachedMedia,
|
|
8
8
|
exports.useMuted = volumeStore.useMuted, exports.useStoredVolume = volumeStore.useStoredVolume,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var windowStore = require("../chunks/windowStore-
|
|
3
|
+
var windowStore = require("../chunks/windowStore-DRgyVg9e.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-Y3RzGMQw.js"), require("zustand"), Object.defineProperty(exports, "FormFactor", {
|
|
6
6
|
enumerable: !0,
|
|
7
7
|
get: function() {
|
|
8
8
|
return windowStore.FormFactor;
|
package/dist/cjs/stores.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var microphoneStore = require("./chunks/microphoneStore-
|
|
3
|
+
var microphoneStore = require("./chunks/microphoneStore-axA5TgKM.js"), volumeStore = require("./chunks/volumeStore-D64ziNWo.js"), webRTCStore = require("./chunks/webRTCStore-XciamNCa.js"), windowStore = require("./chunks/windowStore-DRgyVg9e.js"), browserChannelsStore = require("./chunks/browserChannelsStore-C8C4qb7h.js"), uploadsStore = require("./chunks/uploadsStore-hFHe0RDh.js"), modalStore = require("./chunks/modalStore--QHdUyuE.js"), tipStore = require("./chunks/tipStore-DAb0BV40.js"), toastStore = require("./chunks/toastStore-6OcUl7VL.js"), videoStore = require("./chunks/videoStore-B2FtqVfG.js"), localDBStore = require("./chunks/localDBStore-DhruyXfz.js"), sseStore = require("./chunks/sseStore-DaJgRKej.js");
|
|
4
4
|
|
|
5
|
-
require("./chunks/tslib.es6-
|
|
6
|
-
require("./chunks/
|
|
7
|
-
require("./chunks/
|
|
8
|
-
require("./chunks/IndexedDB-
|
|
5
|
+
require("./chunks/tslib.es6-Y3RzGMQw.js"), require("react"), require("zustand"),
|
|
6
|
+
require("./chunks/WebRTCConnection-nx-EhtdY.js"), require("./chunks/broadcastChannel-CRR59lw6.js"),
|
|
7
|
+
require("./chunks/uploads-worker-B_12HqmC.js"), require("zustand/react/shallow"),
|
|
8
|
+
require("./chunks/IndexedDB-D7TVb0pF.js"), require("./chunks/SSEConnection-CygPbs0L.js"),
|
|
9
9
|
exports.getCurrentMicDeviceLabel = microphoneStore.getCurrentMicDeviceLabel, exports.getMicrophoneState = microphoneStore.getMicrophoneState,
|
|
10
10
|
exports.microphoneActions = microphoneStore.microphoneActions, exports.useCurrentMicDeviceId = microphoneStore.useCurrentMicDeviceId,
|
|
11
11
|
exports.useCurrentMicDeviceLabel = microphoneStore.useCurrentMicDeviceLabel, exports.useMicActive = microphoneStore.useMicActive,
|
|
@@ -21,7 +21,10 @@ exports.getVolume = volumeStore.getVolume, exports.useAttachedMedia = volumeStor
|
|
|
21
21
|
exports.useMuted = volumeStore.useMuted, exports.useStoredVolume = volumeStore.useStoredVolume,
|
|
22
22
|
exports.useVolume = volumeStore.useVolume, exports.useVolumeActions = volumeStore.useVolumeActions,
|
|
23
23
|
exports.useVolumeStore = volumeStore.useVolumeStore, exports.volumeActions = volumeStore.volumeActions,
|
|
24
|
-
|
|
24
|
+
exports.getWebRTCConnections = webRTCStore.getWebRTCConnections, exports.useWebRTC = webRTCStore.useWebRTC,
|
|
25
|
+
exports.useWebRTCActions = webRTCStore.useWebRTCActions, exports.useWebRTCConnected = webRTCStore.useWebRTCConnected,
|
|
26
|
+
exports.useWebRTCConnection = webRTCStore.useWebRTCConnection, exports.useWebRTCConnections = webRTCStore.useWebRTCConnections,
|
|
27
|
+
exports.useWebRTCStore = webRTCStore.useWebRTCStore, Object.defineProperty(exports, "FormFactor", {
|
|
25
28
|
enumerable: !0,
|
|
26
29
|
get: function() {
|
|
27
30
|
return windowStore.FormFactor;
|
|
@@ -59,14 +62,10 @@ exports.useToast = toastStore.useToast, exports.useToastActions = toastStore.use
|
|
|
59
62
|
exports.useToastStore = toastStore.useToastStore, exports.getVideo = videoStore.getVideo,
|
|
60
63
|
exports.useVideo = videoStore.useVideo, exports.useVideoActions = videoStore.useVideoActions,
|
|
61
64
|
exports.useVideoStore = videoStore.useVideoStore, exports.videoActions = videoStore.videoActions,
|
|
62
|
-
exports.
|
|
63
|
-
exports.
|
|
64
|
-
exports.
|
|
65
|
-
exports.
|
|
66
|
-
exports.
|
|
67
|
-
exports.
|
|
68
|
-
exports.useManageLocalDB = localDBStore.useManageLocalDB, exports.useConnectionClose = sseStore.useConnectionClose,
|
|
69
|
-
exports.useConnectionMessage = sseStore.useConnectionMessage, exports.useIsConnected = sseStore.useIsConnected,
|
|
70
|
-
exports.useLastSSEMessage = sseStore.useLastSSEMessage, exports.useMessage = sseStore.useMessage,
|
|
71
|
-
exports.useSSE = sseStore.useSSE, exports.useSSEActions = sseStore.useSSEActions,
|
|
65
|
+
exports.localDBActions = localDBStore.localDBActions, exports.useLocalDB = localDBStore.useLocalDB,
|
|
66
|
+
exports.useLocalDBError = localDBStore.useLocalDBError, exports.useLocalDBStore = localDBStore.useLocalDBStore,
|
|
67
|
+
exports.useLocalDBValues = localDBStore.useLocalDBValues, exports.useManageLocalDB = localDBStore.useManageLocalDB,
|
|
68
|
+
exports.useConnectionClose = sseStore.useConnectionClose, exports.useConnectionMessage = sseStore.useConnectionMessage,
|
|
69
|
+
exports.useIsConnected = sseStore.useIsConnected, exports.useLastSSEMessage = sseStore.useLastSSEMessage,
|
|
70
|
+
exports.useMessage = sseStore.useMessage, exports.useSSE = sseStore.useSSE, exports.useSSEActions = sseStore.useSSEActions,
|
|
72
71
|
exports.useSSEStore = sseStore.useSSEStore;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.corners = {
|
|
4
|
-
"corner-
|
|
5
|
-
"corner-
|
|
6
|
-
"corner-
|
|
7
|
-
"corner-
|
|
8
|
-
"corner-
|
|
9
|
-
"corner-
|
|
10
|
-
"corner-
|
|
11
|
-
"corner-
|
|
4
|
+
"corner-none": 0,
|
|
5
|
+
"corner-xs": 4,
|
|
6
|
+
"corner-s": 6,
|
|
7
|
+
"corner-m": 8,
|
|
8
|
+
"corner-l": 12,
|
|
9
|
+
"corner-xl": 16,
|
|
10
|
+
"corner-xxl": 32,
|
|
11
|
+
"corner-round": 1e3
|
|
12
12
|
};
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var misc = require("../chunks/misc-
|
|
3
|
+
var misc = require("../chunks/misc-B2oK3rIL.js"), debounce = require("../chunks/debounce-C3P6vOcn.js"), rafThrottle = require("../chunks/rafThrottle-DlDdrddz.js"), colors = require("../chunks/colors-Dok44sXW.js"), IndexedDB = require("../chunks/IndexedDB-D7TVb0pF.js"), audioVisualizer = require("../chunks/audioVisualizer-Dmtjjosj.js"), MdStreamBuffer = require("../chunks/MdStreamBuffer-BiFYXGu6.js"), SSEConnection = require("../chunks/SSEConnection-CygPbs0L.js"), WSConnection = require("../chunks/WSConnection-BrwlAScO.js"), WebRTCConnection = require("../chunks/WebRTCConnection-nx-EhtdY.js"), broadcastChannel = require("../chunks/broadcastChannel-CRR59lw6.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-Y3RzGMQw.js"), exports.copyToClipboard = misc.copyToClipboard,
|
|
6
6
|
exports.hexToRgb = misc.hexToRgb, exports.debounce = debounce.debounce, exports.rafThrottle = rafThrottle.rafThrottle,
|
|
7
7
|
exports.addOpacity = colors.addOpacity, exports.tintFromColor = colors.tintFromColor,
|
|
8
8
|
exports.IndexedDB = IndexedDB.IndexedDB, exports.AudioVisualizer = audioVisualizer.AudioVisualizer,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var IndexedDB = require("../../chunks/IndexedDB-
|
|
3
|
+
var IndexedDB = require("../../chunks/IndexedDB-D7TVb0pF.js"), audioVisualizer = require("../../chunks/audioVisualizer-Dmtjjosj.js"), MdStreamBuffer = require("../../chunks/MdStreamBuffer-BiFYXGu6.js"), SSEConnection = require("../../chunks/SSEConnection-CygPbs0L.js"), WSConnection = require("../../chunks/WSConnection-BrwlAScO.js"), WebRTCConnection = require("../../chunks/WebRTCConnection-nx-EhtdY.js"), broadcastChannel = require("../../chunks/broadcastChannel-CRR59lw6.js");
|
|
4
4
|
|
|
5
|
-
require("../../chunks/tslib.es6-
|
|
5
|
+
require("../../chunks/tslib.es6-Y3RzGMQw.js"), exports.IndexedDB = IndexedDB.IndexedDB,
|
|
6
6
|
exports.AudioVisualizer = audioVisualizer.AudioVisualizer, exports.MdBuffer = MdStreamBuffer.MdBuffer,
|
|
7
7
|
exports.SSEConnection = SSEConnection.SSEConnection, exports.WSConnection = WSConnection.WSConnection,
|
|
8
8
|
exports.WebRTCConnection = WebRTCConnection.WebRTCConnection, exports.BrowserChannel = broadcastChannel.BrowserChannel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var uploadsWorker = require("../../chunks/uploads-worker-
|
|
3
|
+
var uploadsWorker = require("../../chunks/uploads-worker-B_12HqmC.js");
|
|
4
4
|
|
|
5
|
-
require("../../chunks/tslib.es6-
|
|
5
|
+
require("../../chunks/tslib.es6-Y3RzGMQw.js"), uploadsWorker.registerUploadsWorker();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -11,15 +11,17 @@ import "../theme/colors.mjs";
|
|
|
11
11
|
|
|
12
12
|
import "../theme/type.mjs";
|
|
13
13
|
|
|
14
|
-
import { a as addOpacity } from "./colors-
|
|
14
|
+
import { a as addOpacity } from "./colors-Pe71RB3l.mjs";
|
|
15
15
|
|
|
16
|
-
import { A as AudioVisualizer } from "./audioVisualizer-
|
|
16
|
+
import { A as AudioVisualizer } from "./audioVisualizer-BO_hMyyp.mjs";
|
|
17
17
|
|
|
18
|
-
import "./broadcastChannel-
|
|
18
|
+
import "./broadcastChannel-B8FxWRVj.mjs";
|
|
19
19
|
|
|
20
|
-
import "./
|
|
20
|
+
import "./webRTCStore-fNJiXwLR.mjs";
|
|
21
21
|
|
|
22
|
-
import "./
|
|
22
|
+
import "./microphoneStore-B9HEjn8x.mjs";
|
|
23
|
+
|
|
24
|
+
import "./volumeStore-C2AnBA5B.mjs";
|
|
23
25
|
|
|
24
26
|
import "../hooks/useWindow.mjs";
|
|
25
27
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useRef, useState, useMemo, useEffect, useCallback } from "react";
|
|
7
7
|
|
|
8
|
-
import { n as normalizedPercent, a as accessibleKeyDown, s as setStyle } from "./misc-
|
|
8
|
+
import { n as normalizedPercent, a as accessibleKeyDown, s as setStyle } from "./misc-O5ZSVDP0.mjs";
|
|
9
9
|
|
|
10
10
|
var css_wrapper = "Avatar-module_wrapper__ab1D7 flexBox-module_row__z24tF type-module_body-m-regular__LuQBA", css_user = "Avatar-module_user__ZQv0Q flexBox-module_row__z24tF type-module_body-m-regular__LuQBA";
|
|
11
11
|
|
|
12
12
|
const Avatar = React.memo(props => {
|
|
13
13
|
var _a;
|
|
14
|
-
const {email: email, name: name, image: image = "", textColor: textColor, borderWidth: borderWidth, borderSize: borderSize = 0, color: color, borderColor: borderColor, borderColorHover: borderColorHover, outerBorderSize: outerBorderSize, outerBorderColor: outerBorderColor, backgroundColor: backgroundColor,
|
|
14
|
+
const {email: email, name: name, image: image = "", textColor: textColor, borderWidth: borderWidth, borderSize: borderSize = 0, color: color, borderColor: borderColor, borderColorHover: borderColorHover, outerBorderSize: outerBorderSize, outerBorderColor: outerBorderColor, backgroundColor: backgroundColor, onClick: onClick, onKeyDown: onKeyDown, fontSize: fontSize, onToolTip: onToolTip = () => null, size: size = 34, frame: frame = 34, tabIndex: tabIndex = 0} = props, divAttributes = __rest(props, [ "email", "name", "image", "textColor", "borderWidth", "borderSize", "color", "borderColor", "borderColorHover", "outerBorderSize", "outerBorderColor", "backgroundColor", "onClick", "onKeyDown", "fontSize", "onToolTip", "size", "frame", "tabIndex" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = useRef(null), [textSize, setTextSize] = useState("inherit"), resolvedTextColor = null != textColor ? textColor : color, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, resolvedBackgroundColor = backgroundColor, initials = useMemo(() => {
|
|
15
15
|
if (!name && !email) return "";
|
|
16
16
|
if (name) {
|
|
17
17
|
let last;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useMemo } from "react";
|
|
7
7
|
|
|
8
|
-
import { A as Avatar } from "./Avatar-
|
|
8
|
+
import { A as Avatar } from "./Avatar-CblCPiom.mjs";
|
|
9
9
|
|
|
10
10
|
var css_wrapper = "AvatarGroup-module_wrapper__MtOyq flexBox-module_rowStart__4tcxS", css_avatar = "AvatarGroup-module_avatar__5NVpW";
|
|
11
11
|
|
|
@@ -15,7 +15,7 @@ const AvatarGroup = React.memo(props => {
|
|
|
15
15
|
"--ag-margin": `${null != margin ? margin : 0}px`,
|
|
16
16
|
"--ag-overlap": (overlap > 0 ? -overlap : 0) + "px"
|
|
17
17
|
}), [ overlap, gap, margin ]), renderedAvatars = useMemo(() => avatars ? avatars.map((avatar, index) => {
|
|
18
|
-
var _a
|
|
18
|
+
var _a;
|
|
19
19
|
return jsx("div", {
|
|
20
20
|
className: css_avatar,
|
|
21
21
|
children: jsx(Avatar, {
|
|
@@ -30,7 +30,7 @@ const AvatarGroup = React.memo(props => {
|
|
|
30
30
|
outerBorderSize: outerBorderSize,
|
|
31
31
|
outerBorderColor: outerBorderColor,
|
|
32
32
|
textColor: null !== (_a = avatar.textColor) && void 0 !== _a ? _a : avatar.color,
|
|
33
|
-
backgroundColor:
|
|
33
|
+
backgroundColor: avatar.backgroundColor,
|
|
34
34
|
onToolTip: onToolTip
|
|
35
35
|
})
|
|
36
36
|
}, `avatar_${avatar.email}_${index}`);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,15 +7,17 @@ import { motion } from "motion/react";
|
|
|
7
7
|
|
|
8
8
|
import React, { forwardRef, useState, useRef, useCallback, useEffect, useImperativeHandle, useMemo } from "react";
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { corners } from "../theme/corners.mjs";
|
|
11
11
|
|
|
12
|
-
import {
|
|
12
|
+
import { B as Badge } from "./Badge-DIru-w6O.mjs";
|
|
13
13
|
|
|
14
|
-
import {
|
|
14
|
+
import { D as Dot } from "./Dot-CWVfujdC.mjs";
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { I as Icon } from "./Icon-CGqm8lg7.mjs";
|
|
17
17
|
|
|
18
|
-
import {
|
|
18
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-CNTW0t8s.mjs";
|
|
19
|
+
|
|
20
|
+
import { T as ToolTipType } from "./sharedTypes-ySBopm8X.mjs";
|
|
19
21
|
|
|
20
22
|
var css = {
|
|
21
23
|
button: "Button-module_button__2ZuB7 flexBox-module_row__z24tF",
|
|
@@ -30,7 +32,7 @@ var css = {
|
|
|
30
32
|
};
|
|
31
33
|
|
|
32
34
|
const ButtonComponent = forwardRef((props, buttonRef) => {
|
|
33
|
-
const {children: children, size: size = "medium", variant: variant = "outline", label: label, labelSize: labelSize = "m", iconRight: iconRight, iconLeft: iconLeft, iconFill: iconFill = !1, count: count = (void 0 === props.count ? void 0 : Number(props.count)), showDot: showDot, tooltip: tooltip, round: round = !1, state: state = "normal", fill: fill = !1, iconSize: iconSize = (void 0 === props.iconSize ? 20 : Number(props.iconSize)), width: width = "min-content", underline: underline = !1, borderRadius: borderRadius, iconColor: iconColor, backgroundColor: backgroundColor, backgroundColorDisabled: backgroundColorDisabled,
|
|
35
|
+
const {children: children, size: size = "medium", variant: variant = "outline", label: label, labelSize: labelSize = "m", iconRight: iconRight, iconLeft: iconLeft, iconFill: iconFill = !1, count: count = (void 0 === props.count ? void 0 : Number(props.count)), showDot: showDot, tooltip: tooltip, round: round = !1, state: state = "normal", fill: fill = !1, iconSize: iconSize = (void 0 === props.iconSize ? 20 : Number(props.iconSize)), width: width = "min-content", underline: underline = !1, borderRadius: borderRadius, iconColor: iconColor, backgroundColor: backgroundColor, backgroundColorDisabled: backgroundColorDisabled, labelColor: labelColor, transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, paddingRight: paddingRight, paddingLeft: paddingLeft, progress: progress = !1, working: working = !1, duration: duration, trigger: trigger = !1, destructive: destructive = !1, link: link, target: target = "_self", onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "children", "size", "variant", "label", "labelSize", "iconRight", "iconLeft", "iconFill", "count", "showDot", "tooltip", "round", "state", "fill", "iconSize", "width", "underline", "borderRadius", "iconColor", "backgroundColor", "backgroundColorDisabled", "labelColor", "transition", "variants", "initial", "animate", "exit", "paddingRight", "paddingLeft", "progress", "working", "duration", "trigger", "destructive", "link", "target", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = backgroundColor, resolvedBackgroundColorDisabled = backgroundColorDisabled, [btnState, setBtnState] = useState(state), [lockedWidth, setLockedWidth] = useState(void 0), [playing, setPlaying] = useState(working), ref = useRef(null), lockCurrentWidth = useCallback(() => {
|
|
34
36
|
ref.current && setLockedWidth(ref.current.offsetWidth);
|
|
35
37
|
}, []), handleClick = useCallback(e => {
|
|
36
38
|
onToolTip(null), "disabled" !== btnState && (progress && duration ? (lockCurrentWidth(),
|
|
@@ -134,7 +136,7 @@ const ButtonComponent = forwardRef((props, buttonRef) => {
|
|
|
134
136
|
paddingRight: setPadding("right"),
|
|
135
137
|
paddingTop: 0,
|
|
136
138
|
paddingBottom: 0,
|
|
137
|
-
borderRadius: null != borderRadius ? borderRadius : "
|
|
139
|
+
borderRadius: null != borderRadius ? borderRadius : corners["corner-round"]
|
|
138
140
|
},
|
|
139
141
|
medium: {
|
|
140
142
|
height: 36,
|
|
@@ -144,7 +146,7 @@ const ButtonComponent = forwardRef((props, buttonRef) => {
|
|
|
144
146
|
paddingRight: setPadding("right"),
|
|
145
147
|
paddingTop: 0,
|
|
146
148
|
paddingBottom: 0,
|
|
147
|
-
borderRadius: null != borderRadius ? borderRadius : "
|
|
149
|
+
borderRadius: null != borderRadius ? borderRadius : corners["corner-round"]
|
|
148
150
|
},
|
|
149
151
|
small: {
|
|
150
152
|
height: "auto",
|
|
@@ -154,7 +156,7 @@ const ButtonComponent = forwardRef((props, buttonRef) => {
|
|
|
154
156
|
paddingRight: setPadding("right"),
|
|
155
157
|
paddingTop: 4,
|
|
156
158
|
paddingBottom: 4,
|
|
157
|
-
borderRadius: null != borderRadius ? borderRadius : "
|
|
159
|
+
borderRadius: null != borderRadius ? borderRadius : corners["corner-round"]
|
|
158
160
|
}
|
|
159
161
|
}), [ iconSize, borderRadius, setPadding ]), handleMouseEnter = useCallback(e => {
|
|
160
162
|
if ("disabled" !== btnState && setBtnState("hover"), !(null == ref ? void 0 : ref.current) || !tooltip) return;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useState, useEffect, useCallback, useMemo, useRef } from "react";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { corners } from "../theme/corners.mjs";
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { s as setStyle } from "./misc-O5ZSVDP0.mjs";
|
|
11
|
+
|
|
12
|
+
import { I as Icon } from "./Icon-CGqm8lg7.mjs";
|
|
11
13
|
|
|
12
14
|
var css_wrapper = "ButtonBar-module_wrapper__FYZ3s flexBox-module_rowStart__4tcxS", css_button = "ButtonBar-module_button__bMR3h flexBox-module_row__z24tF", css_selected = "ButtonBar-module_selected__wKvmi";
|
|
13
15
|
|
|
14
16
|
const ButtonBar = React.memo(function(props) {
|
|
15
|
-
const {buttons: buttons = [], selected: selected, toggle: toggle = !0, buttonSize: buttonSize = "m", frameSize: frameSize = 36, iconSize: iconSize = 20, borderWidth: borderWidth, borderSize: borderSize = 0, borderRadius: borderRadius =
|
|
17
|
+
const {buttons: buttons = [], selected: selected, toggle: toggle = !0, buttonSize: buttonSize = "m", frameSize: frameSize = 36, iconSize: iconSize = 20, borderWidth: borderWidth, borderSize: borderSize = 0, borderRadius: borderRadius = corners["corner-round"], borderColor: borderColor = "var(--core-outline-primary)", backgroundColor: backgroundColor = "var(--core-surface-secondary)", backgroundColorHover: backgroundColorHover = "var(--core-outline-primary)", backgroundColorActive: backgroundColorActive = "var(--core-outline-primary)", labelColor: labelColor = "var(--core-text-primary)", onClick: onClick = button => null, onChange: onChange = button => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "buttons", "selected", "toggle", "buttonSize", "frameSize", "iconSize", "borderWidth", "borderSize", "borderRadius", "borderColor", "backgroundColor", "backgroundColorHover", "backgroundColorActive", "labelColor", "onClick", "onChange", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, resolvedBackgroundColor = backgroundColor, resolvedBackgroundColorHover = backgroundColorHover, resolvedBackgroundColorActive = backgroundColorActive, [hovered, setHovered] = useState(-1), [selectedIndex, setSelectedIndex] = useState(selected);
|
|
16
18
|
useEffect(() => setSelectedIndex(selected), [ selected ]);
|
|
17
19
|
const handleMouseEnter = useCallback(index => {
|
|
18
20
|
setHovered(index);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __awaiter } from "./tslib.es6-
|
|
2
|
+
import { _ as __awaiter } from "./tslib.es6-uJhEruZV.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -11,21 +11,23 @@ import "../theme/colors.mjs";
|
|
|
11
11
|
|
|
12
12
|
import "../theme/type.mjs";
|
|
13
13
|
|
|
14
|
-
import { a as accessibleKeyDown } from "./misc-
|
|
14
|
+
import { a as accessibleKeyDown } from "./misc-O5ZSVDP0.mjs";
|
|
15
15
|
|
|
16
|
-
import { a as addOpacity } from "./colors-
|
|
16
|
+
import { a as addOpacity } from "./colors-Pe71RB3l.mjs";
|
|
17
17
|
|
|
18
|
-
import "./broadcastChannel-
|
|
18
|
+
import "./broadcastChannel-B8FxWRVj.mjs";
|
|
19
19
|
|
|
20
|
-
import "./
|
|
20
|
+
import "./webRTCStore-fNJiXwLR.mjs";
|
|
21
21
|
|
|
22
|
-
import "./
|
|
22
|
+
import "./microphoneStore-B9HEjn8x.mjs";
|
|
23
|
+
|
|
24
|
+
import "./volumeStore-C2AnBA5B.mjs";
|
|
23
25
|
|
|
24
26
|
import "../hooks/useWindow.mjs";
|
|
25
27
|
|
|
26
|
-
import { A as Avatar } from "./Avatar-
|
|
28
|
+
import { A as Avatar } from "./Avatar-CblCPiom.mjs";
|
|
27
29
|
|
|
28
|
-
import { I as Icon } from "./Icon-
|
|
30
|
+
import { I as Icon } from "./Icon-CGqm8lg7.mjs";
|
|
29
31
|
|
|
30
32
|
var css_wrapper = "Camera-module_wrapper__GOsKp flexBox-module_column__ezvMq", css_video = "Camera-module_video__Q2r9B", css_controls = "Camera-module_controls__qXYoL flexBox-module_rowBetween__5FEvi", css_controlsRight = "Camera-module_controlsRight__VcIz7 flexBox-module_rowEnd__rVdVm", css_controlsCenter = "Camera-module_controlsCenter__e-erq flexBox-module_row__z24tF", css_controlsLeft = "Camera-module_controlsLeft__bR4TN flexBox-module_rowStart__4tcxS", css_error = "Camera-module_error__t0w-d flexBox-module_row__z24tF type-module_body-m-regular__LuQBA", css_poster = "Camera-module_poster__Gun-v flexBox-module_row__z24tF type-module_body-m-regular__LuQBA", css_snapshotFrame = "Camera-module_snapshotFrame__YM6Eu flexBox-module_row__z24tF", css_clear = "Camera-module_clear__aaCfT", css_snapshot = "Camera-module_snapshot__odQH0", css_toolbarButton = "Camera-module_toolbarButton__mnmoF flexBox-module_columnStartCenter__PKcrG", css_buttonIcon = "Camera-module_buttonIcon__a-VBR flexBox-module_row__z24tF", css_buttonLabel = "Camera-module_buttonLabel__6BEs1 flexBox-module_row__z24tF type-module_body-xs-regular__ZAFft";
|
|
31
33
|
|
|
@@ -287,7 +289,7 @@ const Camera = React.memo(React.forwardRef((props, ref) => {
|
|
|
287
289
|
controlsTimer.current = setTimeout(() => setHovered(!1), 3e3);
|
|
288
290
|
},
|
|
289
291
|
onClick: handleControlsClick,
|
|
290
|
-
onKeyDown: e => accessibleKeyDown(e, () => handleControlsClick),
|
|
292
|
+
onKeyDown: e => accessibleKeyDown(e, () => handleControlsClick(e)),
|
|
291
293
|
children: [ jsx("div", {
|
|
292
294
|
className: css_controlsLeft,
|
|
293
295
|
children: jsx(ToolbarButton, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,9 +7,9 @@ import { motion } from "motion/react";
|
|
|
7
7
|
|
|
8
8
|
import React, { useState, useEffect, useMemo, useCallback } from "react";
|
|
9
9
|
|
|
10
|
-
import { a as accessibleKeyDown } from "./misc-
|
|
10
|
+
import { a as accessibleKeyDown } from "./misc-O5ZSVDP0.mjs";
|
|
11
11
|
|
|
12
|
-
import { I as Icon } from "./Icon-
|
|
12
|
+
import { I as Icon } from "./Icon-CGqm8lg7.mjs";
|
|
13
13
|
|
|
14
14
|
var css_wrapper = "CheckBox-module_wrapper__uRsjI flexBox-module_row__z24tF", css_icon = "CheckBox-module_icon__FoDJN flexBox-module_row__z24tF", css_label = "CheckBox-module_label__0AiBp type-module_body-m-regular__LuQBA";
|
|
15
15
|
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-uJhEruZV.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useState, useCallback, useMemo } from "react";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { corners } from "../theme/corners.mjs";
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { s as setStyle, a as accessibleKeyDown } from "./misc-O5ZSVDP0.mjs";
|
|
11
11
|
|
|
12
|
-
import {
|
|
12
|
+
import { I as Icon } from "./Icon-CGqm8lg7.mjs";
|
|
13
|
+
|
|
14
|
+
import { T as ToolTipType } from "./sharedTypes-ySBopm8X.mjs";
|
|
13
15
|
|
|
14
16
|
var css = {
|
|
15
17
|
chip: "Chip-module_chip__0nys- flexBox-module_row__z24tF",
|
|
@@ -22,7 +24,7 @@ var css = {
|
|
|
22
24
|
};
|
|
23
25
|
|
|
24
26
|
const Chip = React.memo(props => {
|
|
25
|
-
const {variant: variant = "normal", children: children, label: label, icon: icon, tooltip: tooltip, iconSize: iconSize = 20, disabled: disabled = !1, focused: focused = !1, iconPosition: iconPosition = "left", labelSize: labelSize = "m", labelColor: labelColor = "var(--core-text-primary)", labelColorHover: labelColorHover = ("normal" === variant ? labelColor : "var(--core-text-special)"), iconColor: iconColor = "var(--core-text-primary)", iconColorHover: iconColorHover = ("normal" === variant ? iconColor : "var(--core-text-special)"), backgroundColor: backgroundColor, backgroundColorHover: backgroundColorHover, borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-text-primary)", borderColorHover: borderColorHover = ("normal" === variant ? borderColor : "var(--core-text-special)"), borderColorDisabled: borderColorDisabled = "var(--core-text-disabled)",
|
|
27
|
+
const {variant: variant = "normal", children: children, label: label, icon: icon, tooltip: tooltip, iconSize: iconSize = 20, disabled: disabled = !1, focused: focused = !1, iconPosition: iconPosition = "left", labelSize: labelSize = "m", labelColor: labelColor = "var(--core-text-primary)", labelColorHover: labelColorHover = ("normal" === variant ? labelColor : "var(--core-text-special)"), iconColor: iconColor = "var(--core-text-primary)", iconColorHover: iconColorHover = ("normal" === variant ? iconColor : "var(--core-text-special)"), backgroundColor: backgroundColor = "transparent", backgroundColorHover: backgroundColorHover = ("normal" === variant ? backgroundColor : "var(--core-surface-secondary)"), borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-text-primary)", borderColorHover: borderColorHover = ("normal" === variant ? borderColor : "var(--core-text-special)"), borderColorDisabled: borderColorDisabled = "var(--core-text-disabled)", borderRadius: borderRadius = corners["corner-m"], paddingTop: paddingTop, paddingTops: paddingTops = 8, paddingSides: paddingSides = 16, gap: gap = 4, onToolTip: onToolTip = () => null, onClick: onClick = () => null} = props, divAttributes = __rest(props, [ "variant", "children", "label", "icon", "tooltip", "iconSize", "disabled", "focused", "iconPosition", "labelSize", "labelColor", "labelColorHover", "iconColor", "iconColorHover", "backgroundColor", "backgroundColorHover", "borderWidth", "borderSize", "borderColor", "borderColorHover", "borderColorDisabled", "borderRadius", "paddingTop", "paddingTops", "paddingSides", "gap", "onToolTip", "onClick" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [isHovered, setIsHovered] = useState(!1), resolvedBackgroundColor = backgroundColor, resolvedBackgroundColorHover = backgroundColorHover, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, resolvedPaddingTop = null != paddingTop ? paddingTop : paddingTops, handleClick = useCallback(e => {
|
|
26
28
|
disabled || onClick(e);
|
|
27
29
|
}, [ disabled, onClick ]), handleMouseEnter = useCallback((enter, event) => {
|
|
28
30
|
if (enter) {
|