@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,12 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), theme_corners = require("../theme/corners.js"), misc = require("./misc-B2oK3rIL.js"), css = {
|
|
5
5
|
wrapper: "Tip-module_wrapper__D7ACT flexBox-module_rowStart__4tcxS",
|
|
6
6
|
xs: "Tip-module_xs__wsz9y type-module_body-xs-regular__ZAFft",
|
|
7
7
|
s: "Tip-module_s__Wvz3q type-module_body-s-regular__vRHSP",
|
|
8
8
|
m: "Tip-module_m__9qJbB type-module_body-m-regular__LuQBA",
|
|
9
|
-
l: "Tip-module_l__OdNuh type-module_body-l-regular__lOYbg"
|
|
9
|
+
l: "Tip-module_l__OdNuh type-module_body-l-regular__lOYbg",
|
|
10
|
+
xl: "Tip-module_xl__izmFk type-module_body-xl-regular__pF2kC"
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
const tipBasePos = {
|
|
@@ -14,7 +15,7 @@ const tipBasePos = {
|
|
|
14
15
|
top: 0
|
|
15
16
|
}, TipBase = React.forwardRef((props, ref) => {
|
|
16
17
|
var _a;
|
|
17
|
-
const {tip: tip,
|
|
18
|
+
const {tip: tip, textSize: textSize = "s", backgroundColor: backgroundColor, textColor: textColor, color: color, border: border = !0, borderColor: borderColor, padding: padding, borderRadius: borderRadius, radius: radius, coords: coords, showDelay: showDelay = 500, hideDelay: hideDelay = 2500} = props, divAttributes = tslib_es6.__rest(props, [ "tip", "textSize", "backgroundColor", "textColor", "color", "border", "borderColor", "padding", "borderRadius", "radius", "coords", "showDelay", "hideDelay" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? `${className}` : "", [pos, setPos] = React.useState(tipBasePos), [ready, setReady] = React.useState(!1), [animate, setAnimate] = React.useState(!1), timer = React.useRef(null), resolvedBackgroundColor = backgroundColor, resolvedTextColor = null != textColor ? textColor : color, resolvedBorderRadius = null != borderRadius ? borderRadius : radius;
|
|
18
19
|
React.useEffect(() => {
|
|
19
20
|
timer.current && clearTimeout(timer.current);
|
|
20
21
|
const {x: x, y: y} = null != coords ? coords : {
|
|
@@ -44,14 +45,14 @@ const tipBasePos = {
|
|
|
44
45
|
"--tooltip-background": null != resolvedBackgroundColor ? resolvedBackgroundColor : "var(--core-surface-secondary)",
|
|
45
46
|
"--tooltip-color": null != resolvedTextColor ? resolvedTextColor : "var(--core-text-primary)",
|
|
46
47
|
"--tooltip-border": border ? `1px solid ${null != borderColor ? borderColor : "var(--core-outline-primary)"}` : "unset",
|
|
47
|
-
"--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : "
|
|
48
|
+
"--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : `${theme_corners.corners["corner-xs"]}px`
|
|
48
49
|
}), [ padding, resolvedBackgroundColor, resolvedTextColor, border, borderColor, resolvedBorderRadius ]), coordStyle = React.useMemo(() => {
|
|
49
50
|
const {left: left, top: top} = pos;
|
|
50
51
|
return {
|
|
51
52
|
left: `${null != left ? left : 0}px`,
|
|
52
53
|
top: `${null != top ? top : 0}px`
|
|
53
54
|
};
|
|
54
|
-
}, [ pos ]), classNames = React.useMemo(() => misc.filterClasses([ css.wrapper, css[
|
|
55
|
+
}, [ pos ]), classNames = React.useMemo(() => misc.filterClasses([ css.wrapper, css[textSize], divClass ]), [ textSize, divClass ]);
|
|
55
56
|
return jsxRuntime.jsx(react.motion.div, Object.assign({
|
|
56
57
|
ref: ref,
|
|
57
58
|
id: divId,
|
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
6
|
require("../theme/colors.js"), require("../theme/type.js");
|
|
7
7
|
|
|
8
|
-
var misc = require("./misc-
|
|
8
|
+
var misc = require("./misc-B2oK3rIL.js");
|
|
9
9
|
|
|
10
|
-
require("./broadcastChannel-
|
|
11
|
-
require("./microphoneStore-
|
|
10
|
+
require("./broadcastChannel-CRR59lw6.js"), require("./webRTCStore-XciamNCa.js"),
|
|
11
|
+
require("./microphoneStore-axA5TgKM.js"), require("./volumeStore-D64ziNWo.js"),
|
|
12
12
|
require("../hooks/useWindow.js");
|
|
13
13
|
|
|
14
|
-
var ToastType, Icon = require("./Icon-
|
|
14
|
+
var ToastType, Icon = require("./Icon-VcvTUkMA.js"), ProgressIndicator = require("./ProgressIndicator--Ph78ZSe.js"), css = {
|
|
15
15
|
wrapper: "Toast-module_wrapper__1uj9O flexBox-module_rowBetween__5FEvi",
|
|
16
16
|
close: "Toast-module_close__i10-s flexBox-module_row__z24tF",
|
|
17
17
|
message: "Toast-module_message__3dP0P flexBox-module_rowStart__4tcxS",
|
|
18
18
|
progress: "Toast-module_progress__SWsbA flexBox-module_row__z24tF",
|
|
19
|
+
xs: "Toast-module_xs__ptQ-h type-module_body-xs-regular__ZAFft",
|
|
19
20
|
s: "Toast-module_s__kc5Ef type-module_body-s-regular__vRHSP",
|
|
20
21
|
m: "Toast-module_m__JtmLz type-module_body-m-regular__LuQBA",
|
|
21
|
-
l: "Toast-module_l__-W0PD type-module_body-l-regular__lOYbg"
|
|
22
|
+
l: "Toast-module_l__-W0PD type-module_body-l-regular__lOYbg",
|
|
23
|
+
xl: "Toast-module_xl__j5Zhr type-module_body-xl-regular__pF2kC"
|
|
22
24
|
};
|
|
23
25
|
|
|
24
26
|
exports.ToastType = void 0, (ToastType = exports.ToastType || (exports.ToastType = {})).Success = "success",
|
|
25
27
|
ToastType.Error = "error", ToastType.Warning = "warning", ToastType.Info = "info";
|
|
26
28
|
|
|
27
29
|
const ToastBase = React.forwardRef((props, ref) => {
|
|
28
|
-
const {notifId: notifId, message: message = null,
|
|
30
|
+
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 = exports.ToastType.Info, didHide: didHide = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "notifId", "message", "textSize", "border", "padding", "radius", "container", "showDelay", "duration", "position", "offset", "close", "progress", "type", "didHide" ]), theme = hooks_useTheme.useTheme(), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? `${className}` : "", [ready, setReady] = React.useState(!1), [content, setContent] = React.useState(null), timer = React.useRef(null);
|
|
29
31
|
React.useEffect(() => {
|
|
30
32
|
timer.current && clearTimeout(timer.current);
|
|
31
33
|
return message && message.length > 0 ? timer.current = setTimeout(() => {
|
|
@@ -101,7 +103,7 @@ const ToastBase = React.forwardRef((props, ref) => {
|
|
|
101
103
|
transition: transition
|
|
102
104
|
})
|
|
103
105
|
};
|
|
104
|
-
}, [ position, offset ]), classNames = React.useMemo(() => misc.filterClasses([ css.wrapper, css[
|
|
106
|
+
}, [ position, offset ]), classNames = React.useMemo(() => misc.filterClasses([ css.wrapper, css[textSize], divClass ]), [ textSize, divClass ]), handleClose = React.useCallback(() => {
|
|
105
107
|
setReady(!1);
|
|
106
108
|
}, []), handleMouseOver = React.useCallback(() => {
|
|
107
109
|
timer.current && clearTimeout(timer.current);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var jsxRuntime = require("react/jsx-runtime"), React = require("react"), IconButton = require("./IconButton-
|
|
4
|
+
var jsxRuntime = require("react/jsx-runtime"), React = require("react"), IconButton = require("./IconButton-Cz7iTVhO.js"), Label = require("./Label-E7350HYG.js"), css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
|
|
5
5
|
|
|
6
6
|
exports.ToggleButton = function(props) {
|
|
7
|
-
const {label: label, textSize: textSize, icon: icon, iconOn: iconOn, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)",
|
|
7
|
+
const {label: label, textSize: textSize, icon: icon, iconOn: iconOn, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", backgroundColor: backgroundColor = "var(--core-surface-secondary)", backgroundColorHover: backgroundColorHover = "var(--core-surface-secondary)", backgroundColorOn: backgroundColorOn = "var(--core-text-special)", iconSize: iconSize = 20, buttonSize: buttonSize = "m", tooltip: tooltip, gap: gap = 4, unselect: unselect = !0, fill: fill = !1, disabled: disabled = !1, border: border = !1, onChange: onChange, onSelect: onSelect, onToolTip: onToolTip, children: children, presetAnimations: presetAnimations, customAnimations: customAnimations} = props, handleClick = () => {
|
|
8
8
|
if (!unselect && selected) return;
|
|
9
9
|
const newState = !selected;
|
|
10
10
|
null == onChange || onChange(newState), newState && (null == onSelect || onSelect());
|
|
@@ -20,9 +20,9 @@ exports.ToggleButton = function(props) {
|
|
|
20
20
|
tooltip: tooltip,
|
|
21
21
|
toggle: !selected,
|
|
22
22
|
isToggled: selected,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
backgroundColorOn: backgroundColorOn,
|
|
24
|
+
backgroundColorHover: backgroundColorHover,
|
|
25
|
+
backgroundColor: backgroundColor,
|
|
26
26
|
iconColor: iconColor,
|
|
27
27
|
iconColorOn: iconColorOn,
|
|
28
28
|
iconColorHover: iconColorHover,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var jsxRuntime = require("react/jsx-runtime"), React = require("react"),
|
|
4
|
+
var jsxRuntime = require("react/jsx-runtime"), React = require("react"), theme_corners = require("../theme/corners.js"), misc = require("./misc-B2oK3rIL.js"), Icon = require("./Icon-VcvTUkMA.js"), ProgressIndicator = require("./ProgressIndicator--Ph78ZSe.js"), FileList = require("./FileList-NDj9e_To.js"), css = {
|
|
5
5
|
wrapper: "UploadArea-module_wrapper__aircC flexBox-module_column__ezvMq",
|
|
6
6
|
icon: "UploadArea-module_icon__M7n-m flexBox-module_row__z24tF",
|
|
7
7
|
title: "UploadArea-module_title__VbNGq type-module_body-l-bold__Fh2dt",
|
|
@@ -10,7 +10,8 @@ var jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc =
|
|
|
10
10
|
xs: "UploadArea-module_xs__-AoM7 type-module_body-xs-regular__ZAFft",
|
|
11
11
|
s: "UploadArea-module_s__wy1zN type-module_body-s-regular__vRHSP",
|
|
12
12
|
m: "UploadArea-module_m__bKuFN type-module_body-m-regular__LuQBA",
|
|
13
|
-
l: "UploadArea-module_l__KG9YN type-module_body-l-regular__lOYbg"
|
|
13
|
+
l: "UploadArea-module_l__KG9YN type-module_body-l-regular__lOYbg",
|
|
14
|
+
xl: "UploadArea-module_xl__xmTtW type-module_body-xl-regular__pF2kC"
|
|
14
15
|
};
|
|
15
16
|
|
|
16
17
|
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 ];
|
|
@@ -23,7 +24,7 @@ var FileTypes;
|
|
|
23
24
|
}(FileTypes || (FileTypes = {}));
|
|
24
25
|
|
|
25
26
|
const UploadAreaBase = React.forwardRef((props, ref) => {
|
|
26
|
-
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 =
|
|
27
|
+
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 = theme_corners.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] = React.useState(!1), inputRef = React.useRef(null), dragDepth = React.useRef(0), inputId = React.useId(), titleId = React.useId(), messageId = React.useId(), isInteractive = !busy && files.length < 1, resolvedBorderWidth = null != borderWidth ? borderWidth : border, resolvedBorderRadius = null != borderRadius ? borderRadius : radius, resolvedBackgroundColor = backgroundColor, resolvedBackgroundColorHover = backgroundColorHover, handleClickUpload = React.useCallback(() => {
|
|
27
28
|
var _a;
|
|
28
29
|
isInteractive && (null == inputRef ? void 0 : inputRef.current) && (inputRef.current.value = "",
|
|
29
30
|
null === (_a = inputRef.current) || void 0 === _a || _a.click());
|
|
@@ -38,10 +39,10 @@ const UploadAreaBase = React.forwardRef((props, ref) => {
|
|
|
38
39
|
e.preventDefault(), busy || (dragDepth.current = Math.max(0, dragDepth.current - 1),
|
|
39
40
|
0 === dragDepth.current && setHovered(!1));
|
|
40
41
|
}, [ busy ]), handleDrop = React.useCallback(e => {
|
|
41
|
-
var _a;
|
|
42
|
+
var _a, _b;
|
|
42
43
|
if (e.preventDefault(), busy) return;
|
|
43
44
|
dragDepth.current = 0, setHovered(!1);
|
|
44
|
-
const files = Array.from(null !== (_a = e.dataTransfer.files) && void 0 !==
|
|
45
|
+
const files = Array.from(null !== (_b = null === (_a = e.dataTransfer) || void 0 === _a ? void 0 : _a.files) && void 0 !== _b ? _b : []);
|
|
45
46
|
null == onUpload || onUpload(files);
|
|
46
47
|
}, [ busy, onUpload ]), iconStrokeColor = React.useMemo(() => hovered ? iconColorHover : iconColor, [ hovered, iconColor, iconColorHover ]), cssVars = React.useMemo(() => ({
|
|
47
48
|
"--ua-border": `${resolvedBorderWidth}px`,
|
|
@@ -97,8 +98,8 @@ const UploadAreaBase = React.forwardRef((props, ref) => {
|
|
|
97
98
|
className: css.files,
|
|
98
99
|
children: jsxRuntime.jsx(FileList.FileList, {
|
|
99
100
|
files: files,
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
backgroundColor: "var(--core-surface-primary)",
|
|
102
|
+
textSize: "m",
|
|
102
103
|
direction: "column",
|
|
103
104
|
gap: 8,
|
|
104
105
|
iconSize: 24,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var PlayState, tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var PlayState, tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-B2oK3rIL.js"), IconButton = require("./IconButton-Cz7iTVhO.js"), Slider = require("./Slider-BfiaN55A.js"), ToggleButton = require("./ToggleButton-BGsKt1uz.js"), 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";
|
|
5
5
|
|
|
6
6
|
!function(PlayState) {
|
|
7
7
|
PlayState.Playing = "playing", PlayState.Paused = "paused", PlayState.Stopped = "stopped",
|
|
@@ -176,8 +176,8 @@ const BaseVideo = React.forwardRef((props, ref) => {
|
|
|
176
176
|
iconFill: !0,
|
|
177
177
|
buttonSize: "m",
|
|
178
178
|
iconSize: 18,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
backgroundColor: "rgba(255,255,255,0.05)",
|
|
180
|
+
backgroundColorHover: "rgba(0,0,0,0.7)",
|
|
181
181
|
iconColor: "var(--core-text-light)",
|
|
182
182
|
iconColorHover: "var(--core-text-light)",
|
|
183
183
|
onClick: () => handleFullScreen(!0)
|
|
@@ -189,9 +189,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
|
|
|
189
189
|
iconFill: !0,
|
|
190
190
|
buttonSize: "m",
|
|
191
191
|
iconSize: 20,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
backgroundColor: "rgba(255,255,255,0.05)",
|
|
193
|
+
backgroundColorHover: "rgba(0,0,0,0.7)",
|
|
194
|
+
backgroundColorOn: "rgba(0,0,0,0.5)",
|
|
195
195
|
iconColor: "var(--core-text-light)",
|
|
196
196
|
iconColorHover: "var(--core-text-light)",
|
|
197
197
|
onClick: () => handleMute()
|
|
@@ -214,9 +214,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
|
|
|
214
214
|
iconOn: "pause",
|
|
215
215
|
iconSize: 48,
|
|
216
216
|
buttonSize: "xl",
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
217
|
+
backgroundColor: "rgba(0,0,0,0.5)",
|
|
218
|
+
backgroundColorHover: "rgba(0,0,0,0.7)",
|
|
219
|
+
backgroundColorOn: "rgba(0,0,0,0.5)",
|
|
220
220
|
iconColor: "var(--core-text-light)",
|
|
221
221
|
iconColorOn: "var(--core-text-light)",
|
|
222
222
|
iconColorHover: "var(--core-text-light)",
|
|
@@ -232,9 +232,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
|
|
|
232
232
|
iconOn: "pause",
|
|
233
233
|
buttonSize: "m",
|
|
234
234
|
iconSize: 28,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
235
|
+
backgroundColor: "rgba(255,255,255,0.05)",
|
|
236
|
+
backgroundColorHover: "rgba(0,0,0,0.7)",
|
|
237
|
+
backgroundColorOn: "rgba(255,255,255,0.05)",
|
|
238
238
|
iconColor: "var(--core-text-light)",
|
|
239
239
|
iconColorHover: "var(--core-text-light)",
|
|
240
240
|
iconColorOn: "var(--core-text-light)",
|
|
@@ -253,9 +253,9 @@ const BaseVideo = React.forwardRef((props, ref) => {
|
|
|
253
253
|
toggle: !1,
|
|
254
254
|
icon: "x",
|
|
255
255
|
buttonSize: "m",
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
256
|
+
backgroundColor: "rgba(255,255,255,0.05)",
|
|
257
|
+
backgroundColorHover: "rgba(0,0,0,0.7)",
|
|
258
|
+
backgroundColorOn: "rgba(255,255,255,0.05)",
|
|
259
259
|
iconColor: "var(--core-text-light)",
|
|
260
260
|
iconColorHover: "var(--core-text-light)",
|
|
261
261
|
iconColorOn: "var(--core-text-light)",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react");
|
|
5
5
|
|
|
6
|
-
require("./microphoneStore-
|
|
7
|
-
require("./webRTCStore-
|
|
6
|
+
require("./microphoneStore-axA5TgKM.js"), require("./volumeStore-D64ziNWo.js"),
|
|
7
|
+
require("./webRTCStore-XciamNCa.js");
|
|
8
8
|
|
|
9
|
-
var misc = require("./misc-
|
|
9
|
+
var theme_corners = require("../theme/corners.js"), misc = require("./misc-B2oK3rIL.js"), IconButton = require("./IconButton-Cz7iTVhO.js"), Overlay = require("./Overlay-B0jNgBu3.js"), videoStore = require("./videoStore-B2FtqVfG.js"), css_container = "VideoController-module_container__wNiGy", css_box = "VideoController-module_box__a0PRD", css_wrapper = "VideoController-module_wrapper__RhpUo", css_video = "VideoController-module_video__9bS2L";
|
|
10
10
|
|
|
11
11
|
const defaultTransition = {
|
|
12
12
|
ease: "easeOut",
|
|
@@ -26,7 +26,7 @@ const defaultTransition = {
|
|
|
26
26
|
|
|
27
27
|
exports.VideoController = function(props) {
|
|
28
28
|
var _a;
|
|
29
|
-
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 =
|
|
29
|
+
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 = theme_corners.corners["corner-m"], quit: quit = "inline", onQuit: onQuit} = props, controls = react.useDragControls(), video = videoStore.useVideo(), hide = videoStore.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 = tslib_es6.__rest(_b, [ "onLoadedFrameData", "borderRadius" ]), ref = React.useRef(null), constraints = null != dragConstraintsRef ? dragConstraintsRef : ref, [ready, setReady] = React.useState(!1);
|
|
30
30
|
React.useEffect(() => {
|
|
31
31
|
(null == video ? void 0 : video.id) && setReady(!1);
|
|
32
32
|
}, [ null == video ? void 0 : video.id ]);
|
|
@@ -35,7 +35,7 @@ exports.VideoController = function(props) {
|
|
|
35
35
|
}, cssVars = React.useMemo(() => ({
|
|
36
36
|
"--overlay-padding": misc.setStyle(padding, 64),
|
|
37
37
|
"--video-visibility": ready ? "visible" : "hidden",
|
|
38
|
-
"--video-border-radius": misc.setStyle(borderRadius,
|
|
38
|
+
"--video-border-radius": misc.setStyle(borderRadius, theme_corners.corners["corner-m"])
|
|
39
39
|
}), [ padding, ready, borderRadius ]);
|
|
40
40
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
41
41
|
children: [ jsxRuntime.jsx(Overlay.Overlay, {
|
|
@@ -81,8 +81,8 @@ exports.VideoController = function(props) {
|
|
|
81
81
|
icon: "x",
|
|
82
82
|
buttonSize: "l",
|
|
83
83
|
onClick: handleHide,
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
backgroundColor: "rgba(255,255,255,0.05)",
|
|
85
|
+
backgroundColorHover: "rgba(255,255,255,0.25)",
|
|
86
86
|
iconColor: "var(--core-text-light)",
|
|
87
87
|
iconColorHover: "var(--core-text-light)"
|
|
88
88
|
}) ]
|
package/dist/cjs/chunks/{browserChannelsStore-BTPpbDRA.js → browserChannelsStore-C8C4qb7h.js}
RENAMED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var zustand = require("zustand");
|
|
4
4
|
|
|
5
|
-
require("./tslib.es6-
|
|
5
|
+
require("./tslib.es6-Y3RzGMQw.js");
|
|
6
6
|
|
|
7
|
-
var broadcastChannel = require("./broadcastChannel-
|
|
7
|
+
var broadcastChannel = require("./broadcastChannel-CRR59lw6.js");
|
|
8
8
|
|
|
9
9
|
const useBrowserChannelsStore = zustand.create((set, get) => ({
|
|
10
10
|
channels: null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require("./tslib.es6-
|
|
3
|
+
var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), React = require("react"), zustand = require("zustand"), shallow = require("zustand/react/shallow"), IndexedDB = require("./IndexedDB-D7TVb0pF.js");
|
|
4
4
|
|
|
5
5
|
function isValidIDBKey(key) {
|
|
6
6
|
return "string" == typeof key || "number" == typeof key || key instanceof Date || key instanceof ArrayBuffer || (Array.isArray(key) ? key.every(entry => isValidIDBKey(entry)) : ArrayBuffer.isView(key));
|
|
@@ -120,7 +120,7 @@ function replaceConnection(connection) {
|
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* Update connection with an error state
|
|
123
|
-
*/ require("./broadcastChannel-
|
|
123
|
+
*/ require("./broadcastChannel-CRR59lw6.js");
|
|
124
124
|
|
|
125
125
|
const useLocalDBStore = zustand.create((set, get) => ({
|
|
126
126
|
stores: [],
|