@apple-pie/slice 0.1.51 → 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-CWG0JYyG.js → AudioBubble-BSceAgq8.js} +4 -4
- package/dist/cjs/chunks/{Avatar-DyIIYHth.js → Avatar-LhoIzZYs.js} +2 -2
- package/dist/cjs/chunks/{AvatarGroup--zAf-dNr.js → AvatarGroup-6rYDbrq0.js} +3 -3
- package/dist/cjs/chunks/{Badge-Ca3fUHzW.js → Badge-DNzsgQk9.js} +1 -1
- package/dist/cjs/chunks/{Button-Cep3SqsR.js → Button-GrPLJIBP.js} +6 -5
- package/dist/cjs/chunks/{ButtonBar-CDoTe2KT.js → ButtonBar-Df0iGtC3.js} +2 -2
- package/dist/cjs/chunks/{Camera-BilzVJC-.js → Camera-BN2emgEV.js} +6 -6
- package/dist/cjs/chunks/{CheckBox-DlRmdo4F.js → CheckBox-DOTWw9VH.js} +1 -1
- package/dist/cjs/chunks/{Chip-Bcn3P9vI.js → Chip-BjzBZU6j.js} +4 -3
- package/dist/cjs/chunks/{DivInput-CPoU2IlK.js → DivInput-DXpi201k.js} +5 -5
- package/dist/cjs/chunks/{Dot-W1TQ5vfI.js → Dot-nWPzJqlj.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel--LSNphoy.js → DrggablePanel-Bi4cmUh5.js} +20 -16
- package/dist/cjs/chunks/{DropDown-AUxguryP.js → DropDown-K6xOYkfl.js} +5 -4
- package/dist/cjs/chunks/{ErrorSummary-D-eB1h3-.js → ErrorSummary-pWO_o2MN.js} +7 -6
- package/dist/cjs/chunks/{FileIcon-D7hcykwe.js → FileIcon-BXmM4L3A.js} +4 -4
- package/dist/cjs/chunks/{FileList-CBGZ8PsW.js → FileList-NDj9e_To.js} +3 -3
- package/dist/cjs/chunks/{FlexDiv-DsN5tGEG.js → FlexDiv-Dfp6NfR-.js} +1 -1
- package/dist/cjs/chunks/{Grouper-DzGrJo5i.js → Grouper-DJP2JXUi.js} +5 -5
- package/dist/cjs/chunks/{Icon-NDphOLR6.js → Icon-VcvTUkMA.js} +4 -4
- package/dist/cjs/chunks/{IconButton-DFk-yVc6.js → IconButton-Cz7iTVhO.js} +3 -3
- package/dist/cjs/chunks/{IndexedDB-CpCbUa22.js → IndexedDB-D7TVb0pF.js} +8 -4
- package/dist/cjs/chunks/{Label-DkUq49nx.js → Label-E7350HYG.js} +4 -3
- package/dist/cjs/chunks/{Level-MO3XuoBp.js → Level-ZmAb4JQ9.js} +3 -3
- package/dist/cjs/chunks/{Modal-o7KtPH6D.js → Modal-BKZ9fgWF.js} +5 -4
- package/dist/cjs/chunks/{ModalController-Bh4HjLKC.js → ModalController-CCcRXYUs.js} +3 -3
- package/dist/cjs/chunks/{Overlay-CxVrTI2z.js → Overlay-B0jNgBu3.js} +2 -2
- package/dist/cjs/chunks/{Pager-DkpPXtWt.js → Pager-CwOhw4nE.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-a4uthp1C.js → ProgressIndicator--Ph78ZSe.js} +4 -4
- package/dist/cjs/chunks/{PromptInput-DJ3sMLAK.js → PromptInput-8TqoRRtq.js} +16 -10
- package/dist/cjs/chunks/{RadioButton-J0dfBuuZ.js → RadioButton-oZxMZCpd.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-CovzfXBb.js → RadioButtonList-C0zngoe4.js} +1 -1
- package/dist/cjs/chunks/{Slider-CLQ0GSie.js → Slider-BfiaN55A.js} +4 -4
- package/dist/cjs/chunks/{Spacer-hd4zs1jA.js → Spacer-D9SULpcV.js} +1 -1
- package/dist/cjs/chunks/{Switch-Bk0OdvjZ.js → Switch-Bax_lPw4.js} +2 -2
- package/dist/cjs/chunks/{TabBar-DqkCgnSR.js → TabBar-C9NycMo8.js} +18 -18
- package/dist/cjs/chunks/{TextArea-BCeor0hV.js → TextArea-BSo1K02e.js} +5 -5
- package/dist/cjs/chunks/{TextField-CtbfTAmK.js → TextField-TpzwNrB3.js} +13 -8
- package/dist/cjs/chunks/{Tip-D7gtWmNi.js → Tip-CtobkAG3.js} +6 -5
- package/dist/cjs/chunks/{Toast-D3Hd0AMU.js → Toast-BRvp6HeI.js} +10 -8
- package/dist/cjs/chunks/{ToggleButton-DnDRKdTq.js → ToggleButton-BGsKt1uz.js} +5 -5
- package/dist/cjs/chunks/{UploadArea-BHTAfz-P.js → UploadArea-BVIOxAk0.js} +8 -7
- package/dist/cjs/chunks/{Video-B7bisMIA.js → Video-B9BWFeiN.js} +15 -15
- package/dist/cjs/chunks/{VideoController-QMAJKhPH.js → VideoController-D5J76aQJ.js} +8 -8
- package/dist/cjs/chunks/{WSConnection-BAltqes7.js → WSConnection-BrwlAScO.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-dL2SK3_2.js → WebRTCConnection-nx-EhtdY.js} +1 -1
- package/dist/cjs/chunks/{browserChannelsStore-BTPpbDRA.js → browserChannelsStore-C8C4qb7h.js} +2 -2
- package/dist/cjs/chunks/{localDBStore-C3NUtnhe.js → localDBStore-DhruyXfz.js} +2 -2
- package/dist/cjs/chunks/magic-string.es-DXiBW6ft.js +724 -0
- package/dist/cjs/chunks/{microphoneStore-Ds2J_e1I.js → microphoneStore-axA5TgKM.js} +1 -1
- package/dist/cjs/chunks/{misc-LAaHE64b.js → misc-B2oK3rIL.js} +1 -1
- package/dist/cjs/chunks/{sseStore-DPzXXIbg.js → sseStore-DaJgRKej.js} +3 -3
- package/dist/cjs/chunks/{uploads-worker-BpfjZ_xT.js → uploads-worker-B_12HqmC.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-Dek7g7dl.js → uploadsStore-hFHe0RDh.js} +2 -2
- package/dist/cjs/chunks/{viewState--I3LaDpn.js → viewState-BzvJJA68.js} +7 -7
- package/dist/cjs/chunks/{volumeStore-DbLg_-L9.js → volumeStore-D64ziNWo.js} +1 -1
- package/dist/cjs/chunks/{webRTCStore-B-ZZdCuw.js → webRTCStore-XciamNCa.js} +2 -2
- package/dist/cjs/chunks/{windowStore-CjjP9E2z.js → windowStore-DRgyVg9e.js} +1 -1
- package/dist/cjs/components/AudioBubble/index.js +6 -6
- 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 -12
- package/dist/cjs/components/ButtonBar/index.js +9 -9
- package/dist/cjs/components/Camera/index.js +8 -8
- package/dist/cjs/components/CheckBox/index.js +6 -6
- package/dist/cjs/components/Chip/index.js +9 -10
- package/dist/cjs/components/DataTable/index.js +13 -14
- 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 -6
- package/dist/cjs/components/DropDown/index.js +9 -9
- package/dist/cjs/components/ErrorSummary/index.js +6 -6
- package/dist/cjs/components/FileIcon/index.js +6 -6
- package/dist/cjs/components/FileList/index.js +7 -7
- package/dist/cjs/components/FlexDiv/index.js +2 -2
- package/dist/cjs/components/Grouper/index.js +7 -7
- package/dist/cjs/components/Icon/index.js +6 -6
- package/dist/cjs/components/IconButton/index.js +12 -11
- 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 -13
- package/dist/cjs/components/ModalController/index.js +6 -6
- 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 -6
- package/dist/cjs/components/PromptInput/index.js +10 -10
- package/dist/cjs/components/RadioButton/index.js +6 -6
- package/dist/cjs/components/RadioButtonList/index.js +7 -7
- package/dist/cjs/components/Slider/index.js +6 -6
- 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 -9
- package/dist/cjs/components/TextArea/index.js +12 -13
- package/dist/cjs/components/Textfield/index.js +10 -10
- package/dist/cjs/components/Tip/index.js +4 -3
- package/dist/cjs/components/Toast/index.js +7 -7
- package/dist/cjs/components/ToggleButton/index.js +12 -13
- package/dist/cjs/components/UploadArea/index.js +12 -11
- package/dist/cjs/components/Video/index.js +15 -14
- package/dist/cjs/components/VideoController/index.js +13 -13
- 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 +5 -5
- package/dist/cjs/theme/corners.js +8 -8
- package/dist/cjs/theme/type.js +5 -5
- 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/css/type.module.css +10 -10
- package/dist/esm/chunks/{AudioBubble-DFYw0nQU.mjs → AudioBubble-CdmLKDhc.mjs} +7 -7
- package/dist/esm/chunks/{Avatar-EkYvqFJa.mjs → Avatar-CblCPiom.mjs} +3 -3
- package/dist/esm/chunks/{AvatarGroup-B8EnFBX3.mjs → AvatarGroup-DgNd60cP.mjs} +4 -4
- package/dist/esm/chunks/{Badge-C6kNwu4r.mjs → Badge-DIru-w6O.mjs} +1 -1
- package/dist/esm/chunks/{Button-Bvgo8DRW.mjs → Button-BYALDfuE.mjs} +13 -10
- package/dist/esm/chunks/{ButtonBar-CqXWLImb.mjs → ButtonBar-DUDK-0Y4.mjs} +6 -4
- package/dist/esm/chunks/{Camera-9gSj5JCt.mjs → Camera-BOgxXxRV.mjs} +10 -10
- package/dist/esm/chunks/{CheckBox-BxI_tTid.mjs → CheckBox-xLveo-Lt.mjs} +3 -3
- package/dist/esm/chunks/{Chip-Cy_9aGFx.mjs → Chip-COWEFzyh.mjs} +9 -6
- package/dist/esm/chunks/{DivInput-C1kmP54k.mjs → DivInput-faLHJ1b9.mjs} +8 -6
- package/dist/esm/chunks/{Dot-m6fw22Z0.mjs → Dot-CWVfujdC.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-C73eGSsp.mjs → DrggablePanel-DCA9LeNq.mjs} +22 -18
- package/dist/esm/chunks/{DropDown-BczM9aTO.mjs → DropDown-C9fS9E6c.mjs} +9 -6
- package/dist/esm/chunks/{ErrorSummary-Co3vVXxA.mjs → ErrorSummary-D1WbASIx.mjs} +9 -8
- package/dist/esm/chunks/{FileIcon-SKFp6-Eh.mjs → FileIcon-CBNQckHc.mjs} +6 -6
- package/dist/esm/chunks/{FileList-Dt5V9YPs.mjs → FileList-CK96tECm.mjs} +7 -7
- package/dist/esm/chunks/{FlexDiv-BoxzmKqk.mjs → FlexDiv-Cglvd-xT.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-Do8rpPZb.mjs → Grouper-CivlTYk2.mjs} +7 -7
- package/dist/esm/chunks/{Icon-BMT9cn9A.mjs → Icon-CGqm8lg7.mjs} +6 -6
- package/dist/esm/chunks/{IconButton-DEcW36kF.mjs → IconButton-LsCK8HUU.mjs} +9 -7
- package/dist/esm/chunks/{IndexedDB-BvJLLZU8.mjs → IndexedDB-DNFNyOit.mjs} +8 -4
- package/dist/esm/chunks/{Label-Etcumudw.mjs → Label-CFUlmEKM.mjs} +7 -4
- package/dist/esm/chunks/{Level-C2rSTZAQ.mjs → Level-CAZN_Xt7.mjs} +7 -5
- package/dist/esm/chunks/{Modal-C1g7ceSt.mjs → Modal-DAU9VnrP.mjs} +11 -8
- package/dist/esm/chunks/{ModalController-CkPCQeYU.mjs → ModalController-axF12LqY.mjs} +5 -5
- package/dist/esm/chunks/{Overlay-CZxlviV2.mjs → Overlay-CYvVXNU5.mjs} +2 -2
- package/dist/esm/chunks/{Pager-aLZXhX_w.mjs → Pager-BvFWzAok.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-CGbLu2wM.mjs → ProgressIndicator-CNTW0t8s.mjs} +6 -6
- package/dist/esm/chunks/{PromptInput-rsGyHTJb.mjs → PromptInput-PJIXJMCp.mjs} +17 -13
- package/dist/esm/chunks/{RadioButton-DPKvT5yo.mjs → RadioButton-DipoEV9R.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-Brl_h2Nx.mjs → RadioButtonList-CDysnTjd.mjs} +3 -3
- package/dist/esm/chunks/{Slider-BJ9mifdr.mjs → Slider-BzX_jQ27.mjs} +7 -7
- package/dist/esm/chunks/{Spacer-pZIEZfkL.mjs → Spacer-DJKkJpdX.mjs} +1 -1
- package/dist/esm/chunks/{Switch-Cbl6iesb.mjs → Switch-C8FXGMlJ.mjs} +2 -2
- package/dist/esm/chunks/{TabBar-b8Dqmz0l.mjs → TabBar-B_pwLZcy.mjs} +23 -23
- package/dist/esm/chunks/{TextArea-Ml2KuVpk.mjs → TextArea-BbveliHo.mjs} +8 -6
- package/dist/esm/chunks/{TextField-BS3bOQj-.mjs → TextField-D-680Ah3.mjs} +14 -11
- package/dist/esm/chunks/{Tip-BrBts6HZ.mjs → Tip-IdoSsqpu.mjs} +9 -6
- package/dist/esm/chunks/{Toast-BL0jO3nb.mjs → Toast-DNN0M8ds.mjs} +13 -11
- package/dist/esm/chunks/{ToggleButton-dZPHYzZH.mjs → ToggleButton-BhRGIiQz.mjs} +6 -6
- package/dist/esm/chunks/{UploadArea-voCl4jpT.mjs → UploadArea-BFEjUf7n.mjs} +13 -10
- package/dist/esm/chunks/{Video-CRBP0r2b.mjs → Video-DBF6un3N.mjs} +19 -19
- package/dist/esm/chunks/{VideoController-kYO0CqYG.mjs → VideoController-lNXxiYAp.mjs} +14 -12
- package/dist/esm/chunks/{WSConnection-e7-nSYVD.mjs → WSConnection-Bd3_THiB.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-DtIhWGrY.mjs → WebRTCConnection-DvF2ENaH.mjs} +1 -1
- package/dist/esm/chunks/{browserChannelsStore-DGDANcLP.mjs → browserChannelsStore-Dkg2yF-s.mjs} +2 -2
- package/dist/esm/chunks/{localDBStore-DwusxhIq.mjs → localDBStore-DmM1xv6W.mjs} +3 -3
- package/dist/esm/chunks/magic-string.es-w54Wbyiz.mjs +722 -0
- package/dist/esm/chunks/{microphoneStore-CDNQZJzG.mjs → microphoneStore-B9HEjn8x.mjs} +1 -1
- package/dist/esm/chunks/{misc-CV0SS-jF.mjs → misc-O5ZSVDP0.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-BaLy2MK1.mjs → sseStore-CWOB35p7.mjs} +3 -3
- package/dist/esm/chunks/{uploads-worker-F-je70Dd.mjs → uploads-worker-C4I-bc63.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-CPylq__a.mjs → uploadsStore-Bx9nAcin.mjs} +1 -1
- package/dist/esm/chunks/{viewState-CAAi7sd6.mjs → viewState-Dv3Y_pc4.mjs} +12 -10
- package/dist/esm/chunks/{volumeStore-C-rKyxRG.mjs → volumeStore-C2AnBA5B.mjs} +1 -1
- package/dist/esm/chunks/{webRTCStore-B2GPjQX6.mjs → webRTCStore-fNJiXwLR.mjs} +3 -3
- package/dist/esm/chunks/{windowStore-NdbQt4lG.mjs → windowStore-CYsBH-_Y.mjs} +1 -1
- package/dist/esm/components/AudioBubble/index.mjs +9 -9
- 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 +15 -15
- package/dist/esm/components/ButtonBar/index.mjs +11 -11
- package/dist/esm/components/Camera/index.mjs +11 -11
- package/dist/esm/components/CheckBox/index.mjs +9 -9
- package/dist/esm/components/Chip/index.mjs +12 -12
- package/dist/esm/components/DataTable/index.mjs +12 -12
- 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 +8 -8
- package/dist/esm/components/DropDown/index.mjs +11 -11
- package/dist/esm/components/ErrorSummary/index.mjs +8 -8
- package/dist/esm/components/FileIcon/index.mjs +8 -8
- package/dist/esm/components/FileList/index.mjs +11 -11
- package/dist/esm/components/FlexDiv/index.mjs +2 -2
- package/dist/esm/components/Grouper/index.mjs +10 -10
- package/dist/esm/components/Icon/index.mjs +9 -9
- package/dist/esm/components/IconButton/index.mjs +14 -14
- 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 +17 -17
- package/dist/esm/components/ModalController/index.mjs +9 -9
- 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 +9 -9
- package/dist/esm/components/PromptInput/index.mjs +16 -16
- package/dist/esm/components/RadioButton/index.mjs +9 -9
- package/dist/esm/components/RadioButtonList/index.mjs +10 -10
- package/dist/esm/components/Slider/index.mjs +9 -9
- 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 +13 -13
- package/dist/esm/components/TextArea/index.mjs +16 -16
- package/dist/esm/components/Textfield/index.mjs +15 -15
- package/dist/esm/components/Tip/index.mjs +5 -3
- package/dist/esm/components/Toast/index.mjs +10 -10
- package/dist/esm/components/ToggleButton/index.mjs +16 -16
- package/dist/esm/components/UploadArea/index.mjs +15 -15
- package/dist/esm/components/Video/index.mjs +19 -19
- package/dist/esm/components/VideoController/index.mjs +17 -17
- 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/theme/type.mjs +5 -5
- 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 +2400 -2349
- 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 +2 -6
- package/dist/types/components/Button/_types.d.ts +1 -3
- package/dist/types/components/ButtonBar/_types.d.ts +0 -3
- package/dist/types/components/Chip/_types.d.ts +1 -3
- package/dist/types/components/DataTable/_types.d.ts +2 -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 +1 -2
- package/dist/types/components/ErrorSummary/_types.d.ts +1 -2
- package/dist/types/components/FileList/_types.d.ts +1 -2
- 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 +1 -2
- package/dist/types/components/Modal/_types.d.ts +2 -2
- package/dist/types/components/PromptInput/PromptInput.d.ts +2 -2
- package/dist/types/components/PromptInput/_types.d.ts +1 -1
- package/dist/types/components/Switch/_types.d.ts +0 -2
- package/dist/types/components/TabBar/_types.d.ts +5 -6
- package/dist/types/components/TextArea/_types.d.ts +1 -2
- package/dist/types/components/Textfield/_types.d.ts +2 -2
- package/dist/types/components/Tip/_types.d.ts +1 -2
- package/dist/types/components/Toast/_types.d.ts +1 -1
- package/dist/types/components/ToggleButton/_types.d.ts +4 -4
- package/dist/types/components/UploadArea/UploadArea.d.ts +2 -6
- package/dist/types/components/UploadArea/_types.d.ts +1 -3
- 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-BIlyoz-U.js → MdStreamBuffer-BiFYXGu6.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-B2qZwRe5.js → SSEConnection-CygPbs0L.js} +0 -0
- /package/dist/cjs/chunks/{_types-KVtz1JIf.js → _types-jaI3KEVY.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-COtQiyA7.js → audioVisualizer-Dmtjjosj.js} +0 -0
- /package/dist/cjs/chunks/{broadcastChannel-Cqzs7sXX.js → broadcastChannel-CRR59lw6.js} +0 -0
- /package/dist/cjs/chunks/{colors-CmJHFEI7.js → colors-Dok44sXW.js} +0 -0
- /package/dist/cjs/chunks/{debounce-TfVmWD0v.js → debounce-C3P6vOcn.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-C6J4X4Z_.js → modalStore--QHdUyuE.js} +0 -0
- /package/dist/cjs/chunks/{rafThrottle-QTFO3TjH.js → rafThrottle-DlDdrddz.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-BeP4wu1R.js → sharedTypes-BW_hw-Vb.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-DksXXZ-l.js → tipStore-DAb0BV40.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-DaSJFhEz.js → toastStore-6OcUl7VL.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-B8RWDz3P.js → tslib.es6-Y3RzGMQw.js} +0 -0
- /package/dist/cjs/chunks/{videoStore-COp8iv9F.js → videoStore-B2FtqVfG.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-BzkkcjT9.mjs → MdStreamBuffer-D3J2CXWe.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-BpZWD_YR.mjs → SSEConnection-5GuqCTf8.mjs} +0 -0
- /package/dist/esm/chunks/{_types-BEg4q3Ct.mjs → _types-CLPtELrL.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-B7i2Eluw.mjs → audioVisualizer-BO_hMyyp.mjs} +0 -0
- /package/dist/esm/chunks/{broadcastChannel-Bw5Pck80.mjs → broadcastChannel-B8FxWRVj.mjs} +0 -0
- /package/dist/esm/chunks/{colors-6NoVF74x.mjs → colors-Pe71RB3l.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-BXeBit77.mjs → debounce-O12UHVJH.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-CC-D_muU.mjs → modalStore-CBW78_cT.mjs} +0 -0
- /package/dist/esm/chunks/{rafThrottle-B25fapDv.mjs → rafThrottle-Cf-gEuLq.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-h1aSeCm2.mjs → sharedTypes-ySBopm8X.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-B1G8sE05.mjs → tipStore-DHu8QqNR.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-9muAYcgx.mjs → toastStore-EbAo-Cjj.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-p9eD9VLE.mjs → tslib.es6-uJhEruZV.mjs} +0 -0
- /package/dist/esm/chunks/{videoStore-Z2NndKsG.mjs → videoStore-TxVsMj8s.mjs} +0 -0
|
@@ -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, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -13,30 +13,32 @@ import "../theme/colors.mjs";
|
|
|
13
13
|
|
|
14
14
|
import "../theme/type.mjs";
|
|
15
15
|
|
|
16
|
-
import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-
|
|
16
|
+
import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-O5ZSVDP0.mjs";
|
|
17
17
|
|
|
18
|
-
import "./broadcastChannel-
|
|
18
|
+
import "./broadcastChannel-B8FxWRVj.mjs";
|
|
19
19
|
|
|
20
|
-
import "./webRTCStore-
|
|
20
|
+
import "./webRTCStore-fNJiXwLR.mjs";
|
|
21
21
|
|
|
22
|
-
import "./microphoneStore-
|
|
22
|
+
import "./microphoneStore-B9HEjn8x.mjs";
|
|
23
23
|
|
|
24
|
-
import "./volumeStore-
|
|
24
|
+
import "./volumeStore-C2AnBA5B.mjs";
|
|
25
25
|
|
|
26
26
|
import "../hooks/useWindow.mjs";
|
|
27
27
|
|
|
28
|
-
import { I as Icon } from "./Icon-
|
|
28
|
+
import { I as Icon } from "./Icon-CGqm8lg7.mjs";
|
|
29
29
|
|
|
30
|
-
import { P as ProgressIndicator } from "./ProgressIndicator-
|
|
30
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-CNTW0t8s.mjs";
|
|
31
31
|
|
|
32
32
|
var ToastType, css = {
|
|
33
33
|
wrapper: "Toast-module_wrapper__1uj9O flexBox-module_rowBetween__5FEvi",
|
|
34
34
|
close: "Toast-module_close__i10-s flexBox-module_row__z24tF",
|
|
35
35
|
message: "Toast-module_message__3dP0P flexBox-module_rowStart__4tcxS",
|
|
36
36
|
progress: "Toast-module_progress__SWsbA flexBox-module_row__z24tF",
|
|
37
|
+
xs: "Toast-module_xs__ptQ-h type-module_body-xs-regular__ZAFft",
|
|
37
38
|
s: "Toast-module_s__kc5Ef type-module_body-s-regular__vRHSP",
|
|
38
39
|
m: "Toast-module_m__JtmLz type-module_body-m-regular__LuQBA",
|
|
39
|
-
l: "Toast-module_l__-W0PD type-module_body-l-regular__lOYbg"
|
|
40
|
+
l: "Toast-module_l__-W0PD type-module_body-l-regular__lOYbg",
|
|
41
|
+
xl: "Toast-module_xl__j5Zhr type-module_body-xl-regular__pF2kC"
|
|
40
42
|
};
|
|
41
43
|
|
|
42
44
|
!function(ToastType) {
|
|
@@ -45,7 +47,7 @@ var ToastType, css = {
|
|
|
45
47
|
}(ToastType || (ToastType = {}));
|
|
46
48
|
|
|
47
49
|
const ToastBase = React.forwardRef((props, ref) => {
|
|
48
|
-
const {notifId: notifId, message: message = null,
|
|
50
|
+
const {notifId: notifId, message: message = null, textSize: textSize = "m", border: border = !0, padding: padding, radius: radius = 8, container: container = "window", showDelay: showDelay = 0, duration: duration = 5e3, position: position = "bottom", offset: offset = 24, close: close = !0, progress: progress, type: type = ToastType.Info, didHide: didHide = () => null} = props, divAttributes = __rest(props, [ "notifId", "message", "textSize", "border", "padding", "radius", "container", "showDelay", "duration", "position", "offset", "close", "progress", "type", "didHide" ]), theme = useTheme(), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? `${className}` : "", [ready, setReady] = useState(!1), [content, setContent] = useState(null), timer = useRef(null);
|
|
49
51
|
useEffect(() => {
|
|
50
52
|
timer.current && clearTimeout(timer.current);
|
|
51
53
|
return message && message.length > 0 ? timer.current = setTimeout(() => {
|
|
@@ -121,7 +123,7 @@ const ToastBase = React.forwardRef((props, ref) => {
|
|
|
121
123
|
transition: transition
|
|
122
124
|
})
|
|
123
125
|
};
|
|
124
|
-
}, [ position, offset ]), classNames = useMemo(() => filterClasses([ css.wrapper, css[
|
|
126
|
+
}, [ position, offset ]), classNames = useMemo(() => filterClasses([ css.wrapper, css[textSize], divClass ]), [ textSize, divClass ]), handleClose = useCallback(() => {
|
|
125
127
|
setReady(!1);
|
|
126
128
|
}, []), handleMouseOver = useCallback(() => {
|
|
127
129
|
timer.current && clearTimeout(timer.current);
|
|
@@ -3,14 +3,14 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
|
|
6
|
-
import { I as IconButton } from "./IconButton-
|
|
6
|
+
import { I as IconButton } from "./IconButton-LsCK8HUU.mjs";
|
|
7
7
|
|
|
8
|
-
import { L as Label } from "./Label-
|
|
8
|
+
import { L as Label } from "./Label-CFUlmEKM.mjs";
|
|
9
9
|
|
|
10
10
|
var css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
|
|
11
11
|
|
|
12
12
|
function ToggleButton(props) {
|
|
13
|
-
const {label: label, textSize: textSize, icon: icon, iconOn: iconOn, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)",
|
|
13
|
+
const {label: label, textSize: textSize, icon: icon, iconOn: iconOn, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", backgroundColor: backgroundColor = "var(--core-surface-secondary)", backgroundColorHover: backgroundColorHover = "var(--core-surface-secondary)", backgroundColorOn: backgroundColorOn = "var(--core-text-special)", iconSize: iconSize = 20, buttonSize: buttonSize = "m", tooltip: tooltip, gap: gap = 4, unselect: unselect = !0, fill: fill = !1, disabled: disabled = !1, border: border = !1, onChange: onChange, onSelect: onSelect, onToolTip: onToolTip, children: children, presetAnimations: presetAnimations, customAnimations: customAnimations} = props, handleClick = () => {
|
|
14
14
|
if (!unselect && selected) return;
|
|
15
15
|
const newState = !selected;
|
|
16
16
|
null == onChange || onChange(newState), newState && (null == onSelect || onSelect());
|
|
@@ -26,9 +26,9 @@ function ToggleButton(props) {
|
|
|
26
26
|
tooltip: tooltip,
|
|
27
27
|
toggle: !selected,
|
|
28
28
|
isToggled: selected,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
backgroundColorOn: backgroundColorOn,
|
|
30
|
+
backgroundColorHover: backgroundColorHover,
|
|
31
|
+
backgroundColor: backgroundColor,
|
|
32
32
|
iconColor: iconColor,
|
|
33
33
|
iconColorOn: iconColorOn,
|
|
34
34
|
iconColorHover: iconColorHover,
|
|
@@ -3,13 +3,15 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
|
|
4
4
|
import React, { useState, useRef, useId, useCallback, useMemo } from "react";
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import { corners } from "../theme/corners.mjs";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { s as setStyle, a as accessibleKeyDown } from "./misc-O5ZSVDP0.mjs";
|
|
9
9
|
|
|
10
|
-
import { I as Icon } from "./Icon-
|
|
10
|
+
import { I as Icon } from "./Icon-CGqm8lg7.mjs";
|
|
11
11
|
|
|
12
|
-
import { P as ProgressIndicator } from "./ProgressIndicator-
|
|
12
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-CNTW0t8s.mjs";
|
|
13
|
+
|
|
14
|
+
import { F as FileList } from "./FileList-CK96tECm.mjs";
|
|
13
15
|
|
|
14
16
|
var css = {
|
|
15
17
|
wrapper: "UploadArea-module_wrapper__aircC flexBox-module_column__ezvMq",
|
|
@@ -20,7 +22,8 @@ var css = {
|
|
|
20
22
|
xs: "UploadArea-module_xs__-AoM7 type-module_body-xs-regular__ZAFft",
|
|
21
23
|
s: "UploadArea-module_s__wy1zN type-module_body-s-regular__vRHSP",
|
|
22
24
|
m: "UploadArea-module_m__bKuFN type-module_body-m-regular__LuQBA",
|
|
23
|
-
l: "UploadArea-module_l__KG9YN type-module_body-l-regular__lOYbg"
|
|
25
|
+
l: "UploadArea-module_l__KG9YN type-module_body-l-regular__lOYbg",
|
|
26
|
+
xl: "UploadArea-module_xl__xmTtW type-module_body-xl-regular__pF2kC"
|
|
24
27
|
};
|
|
25
28
|
|
|
26
29
|
const imageTypes = [ "png", "jpg", "jpeg", "gif", "svg", "heic", "heif" ], videoTypes = [ "mp4", "avi", "mov", "wmv", "flv" ], documentTypes = [ "pdf", "doc", "docx", "xls", "xlsx", "ppt", "pptx" ], audioTypes = [ "mp3", "wav", "ogg", "aac", "flac" ], textTypes = [ "txt", "rtf", "md", "csv", "json", "xml" ], allTypes = [ ...imageTypes, ...videoTypes, ...documentTypes, ...audioTypes, ...textTypes ];
|
|
@@ -33,7 +36,7 @@ var FileTypes;
|
|
|
33
36
|
}(FileTypes || (FileTypes = {}));
|
|
34
37
|
|
|
35
38
|
const UploadAreaBase = React.forwardRef((props, ref) => {
|
|
36
|
-
const {icon: icon = "upload", iconColor: iconColor = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-special)", title: title = "Upload Files", width: width = "100%", height: height = "auto", message: message = "Drag and drop files here or click to upload", busyMessage: busyMessage = "Uploading in progress", iconSize: iconSize = 24, textSize: textSize = "m", borderWidth: borderWidth, border: border = 1, borderStyle: borderStyle = "dashed", borderColor: borderColor = "var(--core-outline-primary)", borderColorHover: borderColorHover = "var(--core-outline-special)", borderRadius: borderRadius, radius: radius =
|
|
39
|
+
const {icon: icon = "upload", iconColor: iconColor = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-special)", title: title = "Upload Files", width: width = "100%", height: height = "auto", message: message = "Drag and drop files here or click to upload", busyMessage: busyMessage = "Uploading in progress", iconSize: iconSize = 24, textSize: textSize = "m", borderWidth: borderWidth, border: border = 1, borderStyle: borderStyle = "dashed", borderColor: borderColor = "var(--core-outline-primary)", borderColorHover: borderColorHover = "var(--core-outline-special)", borderRadius: borderRadius, radius: radius = corners["corner-m"], padding: padding = 32, backgroundColor: backgroundColor = "var(--core-surface-secondary)", backgroundColorHover: backgroundColorHover = "var(--core-surface-special)", acceptedTypes: acceptedTypes = allTypes, multiple: multiple = !0, busy: busy = !1, canRemove: canRemove = !0, showProgress: showProgress = !0, files: files = [], onUpload: onUpload} = props, [hovered, setHovered] = useState(!1), inputRef = useRef(null), dragDepth = useRef(0), inputId = useId(), titleId = useId(), messageId = useId(), isInteractive = !busy && files.length < 1, resolvedBorderWidth = null != borderWidth ? borderWidth : border, resolvedBorderRadius = null != borderRadius ? borderRadius : radius, resolvedBackgroundColor = backgroundColor, resolvedBackgroundColorHover = backgroundColorHover, handleClickUpload = useCallback(() => {
|
|
37
40
|
var _a;
|
|
38
41
|
isInteractive && (null == inputRef ? void 0 : inputRef.current) && (inputRef.current.value = "",
|
|
39
42
|
null === (_a = inputRef.current) || void 0 === _a || _a.click());
|
|
@@ -48,10 +51,10 @@ const UploadAreaBase = React.forwardRef((props, ref) => {
|
|
|
48
51
|
e.preventDefault(), busy || (dragDepth.current = Math.max(0, dragDepth.current - 1),
|
|
49
52
|
0 === dragDepth.current && setHovered(!1));
|
|
50
53
|
}, [ busy ]), handleDrop = useCallback(e => {
|
|
51
|
-
var _a;
|
|
54
|
+
var _a, _b;
|
|
52
55
|
if (e.preventDefault(), busy) return;
|
|
53
56
|
dragDepth.current = 0, setHovered(!1);
|
|
54
|
-
const files = Array.from(null !== (_a = e.dataTransfer.files) && void 0 !==
|
|
57
|
+
const files = Array.from(null !== (_b = null === (_a = e.dataTransfer) || void 0 === _a ? void 0 : _a.files) && void 0 !== _b ? _b : []);
|
|
55
58
|
null == onUpload || onUpload(files);
|
|
56
59
|
}, [ busy, onUpload ]), iconStrokeColor = useMemo(() => hovered ? iconColorHover : iconColor, [ hovered, iconColor, iconColorHover ]), cssVars = useMemo(() => ({
|
|
57
60
|
"--ua-border": `${resolvedBorderWidth}px`,
|
|
@@ -107,8 +110,8 @@ const UploadAreaBase = React.forwardRef((props, ref) => {
|
|
|
107
110
|
className: css.files,
|
|
108
111
|
children: jsx(FileList, {
|
|
109
112
|
files: files,
|
|
110
|
-
|
|
111
|
-
|
|
113
|
+
backgroundColor: "var(--core-surface-primary)",
|
|
114
|
+
textSize: "m",
|
|
112
115
|
direction: "column",
|
|
113
116
|
gap: 8,
|
|
114
117
|
iconSize: 24,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest, _ as __awaiter } from "./tslib.es6-
|
|
2
|
+
import { a as __rest, _ as __awaiter } from "./tslib.es6-uJhEruZV.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useRef, useState, useCallback, useMemo, useEffect } from "react";
|
|
7
7
|
|
|
8
|
-
import { s as setStyle } from "./misc-
|
|
8
|
+
import { s as setStyle } from "./misc-O5ZSVDP0.mjs";
|
|
9
9
|
|
|
10
|
-
import { I as IconButton } from "./IconButton-
|
|
10
|
+
import { I as IconButton } from "./IconButton-LsCK8HUU.mjs";
|
|
11
11
|
|
|
12
|
-
import { S as Slider } from "./Slider-
|
|
12
|
+
import { S as Slider } from "./Slider-BzX_jQ27.mjs";
|
|
13
13
|
|
|
14
|
-
import { T as ToggleButton } from "./ToggleButton-
|
|
14
|
+
import { T as ToggleButton } from "./ToggleButton-BhRGIiQz.mjs";
|
|
15
15
|
|
|
16
16
|
var PlayState, css_wrapper = "Video-module_wrapper__a9iH8", css_video = "Video-module_video__hxKME", css_controls = "Video-module_controls__X4yt6", css_controlsHeader = "Video-module_controlsHeader__dD64-", css_controlsFooter = "Video-module_controlsFooter__qJNTa", css_controlsBody = "Video-module_controlsBody__2GbQz", css_right = "Video-module_right__UMhfW", css_left = "Video-module_left__XC33m", css_progress = "Video-module_progress__UTWtq";
|
|
17
17
|
|
|
@@ -187,8 +187,8 @@ const BaseVideo = React.forwardRef((props, ref) => {
|
|
|
187
187
|
iconFill: !0,
|
|
188
188
|
buttonSize: "m",
|
|
189
189
|
iconSize: 18,
|
|
190
|
-
|
|
191
|
-
|
|
190
|
+
backgroundColor: "rgba(255,255,255,0.05)",
|
|
191
|
+
backgroundColorHover: "rgba(0,0,0,0.7)",
|
|
192
192
|
iconColor: "var(--core-text-light)",
|
|
193
193
|
iconColorHover: "var(--core-text-light)",
|
|
194
194
|
onClick: () => handleFullScreen(!0)
|
|
@@ -200,9 +200,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
|
|
|
200
200
|
iconFill: !0,
|
|
201
201
|
buttonSize: "m",
|
|
202
202
|
iconSize: 20,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
backgroundColor: "rgba(255,255,255,0.05)",
|
|
204
|
+
backgroundColorHover: "rgba(0,0,0,0.7)",
|
|
205
|
+
backgroundColorOn: "rgba(0,0,0,0.5)",
|
|
206
206
|
iconColor: "var(--core-text-light)",
|
|
207
207
|
iconColorHover: "var(--core-text-light)",
|
|
208
208
|
onClick: () => handleMute()
|
|
@@ -225,9 +225,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
|
|
|
225
225
|
iconOn: "pause",
|
|
226
226
|
iconSize: 48,
|
|
227
227
|
buttonSize: "xl",
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
backgroundColor: "rgba(0,0,0,0.5)",
|
|
229
|
+
backgroundColorHover: "rgba(0,0,0,0.7)",
|
|
230
|
+
backgroundColorOn: "rgba(0,0,0,0.5)",
|
|
231
231
|
iconColor: "var(--core-text-light)",
|
|
232
232
|
iconColorOn: "var(--core-text-light)",
|
|
233
233
|
iconColorHover: "var(--core-text-light)",
|
|
@@ -243,9 +243,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
|
|
|
243
243
|
iconOn: "pause",
|
|
244
244
|
buttonSize: "m",
|
|
245
245
|
iconSize: 28,
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
backgroundColor: "rgba(255,255,255,0.05)",
|
|
247
|
+
backgroundColorHover: "rgba(0,0,0,0.7)",
|
|
248
|
+
backgroundColorOn: "rgba(255,255,255,0.05)",
|
|
249
249
|
iconColor: "var(--core-text-light)",
|
|
250
250
|
iconColorHover: "var(--core-text-light)",
|
|
251
251
|
iconColorOn: "var(--core-text-light)",
|
|
@@ -264,9 +264,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
|
|
|
264
264
|
toggle: !1,
|
|
265
265
|
icon: "x",
|
|
266
266
|
buttonSize: "m",
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
267
|
+
backgroundColor: "rgba(255,255,255,0.05)",
|
|
268
|
+
backgroundColorHover: "rgba(0,0,0,0.7)",
|
|
269
|
+
backgroundColorOn: "rgba(255,255,255,0.05)",
|
|
270
270
|
iconColor: "var(--core-text-light)",
|
|
271
271
|
iconColorHover: "var(--core-text-light)",
|
|
272
272
|
iconColorOn: "var(--core-text-light)",
|
|
@@ -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, Fragment, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,19 +7,21 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
|
|
|
7
7
|
|
|
8
8
|
import { useRef, useState, useEffect, useMemo } from "react";
|
|
9
9
|
|
|
10
|
-
import "./microphoneStore-
|
|
10
|
+
import "./microphoneStore-B9HEjn8x.mjs";
|
|
11
11
|
|
|
12
|
-
import "./volumeStore-
|
|
12
|
+
import "./volumeStore-C2AnBA5B.mjs";
|
|
13
13
|
|
|
14
|
-
import "./webRTCStore-
|
|
14
|
+
import "./webRTCStore-fNJiXwLR.mjs";
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { corners } from "../theme/corners.mjs";
|
|
17
17
|
|
|
18
|
-
import {
|
|
18
|
+
import { s as setStyle } from "./misc-O5ZSVDP0.mjs";
|
|
19
19
|
|
|
20
|
-
import {
|
|
20
|
+
import { I as IconButton } from "./IconButton-LsCK8HUU.mjs";
|
|
21
21
|
|
|
22
|
-
import {
|
|
22
|
+
import { O as Overlay } from "./Overlay-CYvVXNU5.mjs";
|
|
23
|
+
|
|
24
|
+
import { u as useVideo, a as useVideoActions } from "./videoStore-TxVsMj8s.mjs";
|
|
23
25
|
|
|
24
26
|
var css_container = "VideoController-module_container__wNiGy", css_box = "VideoController-module_box__a0PRD", css_wrapper = "VideoController-module_wrapper__RhpUo", css_video = "VideoController-module_video__9bS2L";
|
|
25
27
|
|
|
@@ -41,7 +43,7 @@ const defaultTransition = {
|
|
|
41
43
|
|
|
42
44
|
function VideoController(props) {
|
|
43
45
|
var _a;
|
|
44
|
-
const {dragConstraintsRef: dragConstraintsRef, transition: transition = defaultTransition, variants: variants = defaultVariants, initial: initial = "initial", animate: animate = "animate", exit: exit = "exit", draggable: draggable = !0, overlayOpacity: overlayOpacity = .7, overlayColor: overlayColor = "rgb(0,0,0)", padding: padding = 64, borderRadius: borderRadius =
|
|
46
|
+
const {dragConstraintsRef: dragConstraintsRef, transition: transition = defaultTransition, variants: variants = defaultVariants, initial: initial = "initial", animate: animate = "animate", exit: exit = "exit", draggable: draggable = !0, overlayOpacity: overlayOpacity = .7, overlayColor: overlayColor = "rgb(0,0,0)", padding: padding = 64, borderRadius: borderRadius = corners["corner-m"], quit: quit = "inline", onQuit: onQuit} = props, controls = useDragControls(), video = useVideo(), hide = useVideoActions().clear, VideoComponent = null == video ? void 0 : video.component, _b = null !== (_a = null == video ? void 0 : video.props) && void 0 !== _a ? _a : {}, {onLoadedFrameData: onLoadedFrameData, borderRadius: videoBorderRadius} = _b, videoProps = __rest(_b, [ "onLoadedFrameData", "borderRadius" ]), ref = useRef(null), constraints = null != dragConstraintsRef ? dragConstraintsRef : ref, [ready, setReady] = useState(!1);
|
|
45
47
|
useEffect(() => {
|
|
46
48
|
(null == video ? void 0 : video.id) && setReady(!1);
|
|
47
49
|
}, [ null == video ? void 0 : video.id ]);
|
|
@@ -50,7 +52,7 @@ function VideoController(props) {
|
|
|
50
52
|
}, cssVars = useMemo(() => ({
|
|
51
53
|
"--overlay-padding": setStyle(padding, 64),
|
|
52
54
|
"--video-visibility": ready ? "visible" : "hidden",
|
|
53
|
-
"--video-border-radius": setStyle(borderRadius,
|
|
55
|
+
"--video-border-radius": setStyle(borderRadius, corners["corner-m"])
|
|
54
56
|
}), [ padding, ready, borderRadius ]);
|
|
55
57
|
return jsxs(Fragment, {
|
|
56
58
|
children: [ jsx(Overlay, {
|
|
@@ -96,8 +98,8 @@ function VideoController(props) {
|
|
|
96
98
|
icon: "x",
|
|
97
99
|
buttonSize: "l",
|
|
98
100
|
onClick: handleHide,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
+
backgroundColor: "rgba(255,255,255,0.05)",
|
|
102
|
+
backgroundColorHover: "rgba(255,255,255,0.25)",
|
|
101
103
|
iconColor: "var(--core-text-light)",
|
|
102
104
|
iconColorHover: "var(--core-text-light)"
|
|
103
105
|
}) ]
|
package/dist/esm/chunks/{browserChannelsStore-DGDANcLP.mjs → browserChannelsStore-Dkg2yF-s.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { create } from "zustand";
|
|
2
2
|
|
|
3
|
-
import "./tslib.es6-
|
|
3
|
+
import "./tslib.es6-uJhEruZV.mjs";
|
|
4
4
|
|
|
5
|
-
import { B as BrowserChannel } from "./broadcastChannel-
|
|
5
|
+
import { B as BrowserChannel } from "./broadcastChannel-B8FxWRVj.mjs";
|
|
6
6
|
|
|
7
7
|
const useBrowserChannelsStore = create((set, get) => ({
|
|
8
8
|
channels: null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __rest } from "./tslib.es6-
|
|
1
|
+
import { _ as __awaiter, a as __rest } from "./tslib.es6-uJhEruZV.mjs";
|
|
2
2
|
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
|
|
@@ -6,9 +6,9 @@ import { create } from "zustand";
|
|
|
6
6
|
|
|
7
7
|
import { useShallow } from "zustand/react/shallow";
|
|
8
8
|
|
|
9
|
-
import { I as IndexedDB } from "./IndexedDB-
|
|
9
|
+
import { I as IndexedDB } from "./IndexedDB-DNFNyOit.mjs";
|
|
10
10
|
|
|
11
|
-
import "./broadcastChannel-
|
|
11
|
+
import "./broadcastChannel-B8FxWRVj.mjs";
|
|
12
12
|
|
|
13
13
|
function isValidIDBKey(key) {
|
|
14
14
|
return "string" == typeof key || "number" == typeof key || key instanceof Date || key instanceof ArrayBuffer || (Array.isArray(key) ? key.every(entry => isValidIDBKey(entry)) : ArrayBuffer.isView(key));
|