@apple-pie/slice 0.1.35 → 0.1.37
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-CSybA_ET.js → AudioBubble-Xo5cZPEk.js} +4 -4
- package/dist/cjs/chunks/{Avatar-vhbPRhli.js → Avatar-CXBRq6_n.js} +1 -1
- package/dist/cjs/chunks/{AvatarGroup-BQ8evyuD.js → AvatarGroup-BC67QM2G.js} +1 -1
- package/dist/cjs/chunks/{Badge-C6Yv-vZ7.js → Badge-DBNftrlx.js} +1 -1
- package/dist/cjs/chunks/{Button-DSFVBBSz.js → Button-CFBYcMYb.js} +1 -1
- package/dist/cjs/chunks/{ButtonBar-BV57H5tK.js → ButtonBar-C8XFmA4E.js} +1 -1
- package/dist/cjs/chunks/{Camera-UCBkxmIi.js → Camera-HWGUD0cK.js} +5 -5
- package/dist/cjs/chunks/{CheckBox-DEJCxMel.js → CheckBox-CP89bz2H.js} +1 -1
- package/dist/cjs/chunks/{Chip-Co9UJPhs.js → Chip-nNOlR74w.js} +1 -1
- package/dist/cjs/chunks/{DivInput-DXYuLZTP.js → DivInput-eBsUykBQ.js} +1 -1
- package/dist/cjs/chunks/{Dot-ByyRFxJf.js → Dot-Ci0Rzp0t.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-EDw3OZa4.js → DrggablePanel-aMr4Zia0.js} +4 -4
- package/dist/cjs/chunks/{DropDown-BpvddY0X.js → DropDown-ObGamgkI.js} +1 -1
- package/dist/cjs/chunks/{ErrorSummary-Chas_lIG.js → ErrorSummary-tAgJjuJA.js} +4 -4
- package/dist/cjs/chunks/{FileIcon-vvwv1ZWh.js → FileIcon-DH6ykApv.js} +4 -4
- package/dist/cjs/chunks/{FileList-CY_ZUI5o.js → FileList-TVRpzdus.js} +1 -1
- package/dist/cjs/chunks/{FlexDiv-CXas-gXx.js → FlexDiv-CiDztYIC.js} +1 -1
- package/dist/cjs/chunks/{Grouper-DoDqtlXQ.js → Grouper-RPzgqKC0.js} +4 -4
- package/dist/cjs/chunks/{Icon-DR7d5wbQ.js → Icon-D-RerGRq.js} +73 -5
- package/dist/cjs/chunks/{IconButton-C2pgDGer.js → IconButton-D-vS9cTS.js} +1 -1
- package/dist/cjs/chunks/{IndexedDB-B3huw-IF.js → IndexedDB-D7vMzi1C.js} +1 -1
- package/dist/cjs/chunks/{Label-Bz1y0MlN.js → Label-B593UMZN.js} +1 -1
- package/dist/cjs/chunks/{Level-CGC1rIjD.js → Level-DttfXgcb.js} +2 -1
- package/dist/cjs/chunks/{Modal-C9p4TjIF.js → Modal-uML3kOba.js} +1 -1
- package/dist/cjs/chunks/{ModalController-B1l70sB5.js → ModalController-HpljwIjV.js} +4 -3
- package/dist/cjs/chunks/{Overlay-77krece8.js → Overlay-BAPCjL1R.js} +1 -1
- package/dist/cjs/chunks/{Pager-B0FSZmAn.js → Pager-BHI3oj2V.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-CK7dKk8W.js → ProgressIndicator-D5wkRI9I.js} +4 -4
- package/dist/cjs/chunks/{PromptInput-BFjWPvXi.js → PromptInput-l2NY9HAt.js} +5 -5
- package/dist/cjs/chunks/{RadioButton-qoMg2eXZ.js → RadioButton-C2uOkiyw.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-BKKQcFSI.js → RadioButtonList-G39JfLRY.js} +1 -1
- package/dist/cjs/chunks/{Slider-D7r0G9UI.js → Slider-Ba951T1H.js} +4 -4
- package/dist/cjs/chunks/{Spacer-DHvuvgy8.js → Spacer-Ds3-e4nb.js} +1 -1
- package/dist/cjs/chunks/{Switch-D0WIz66o.js → Switch-B8DulleR.js} +1 -1
- package/dist/cjs/chunks/{TabBar-OZ8cC1Wh.js → TabBar-CkE32FOT.js} +5 -5
- package/dist/cjs/chunks/{TextArea-BnWOSrib.js → TextArea-WyrsKhiI.js} +1 -1
- package/dist/cjs/chunks/{TextField-zAs-JMXf.js → TextField-D9lA6MqD.js} +5 -5
- package/dist/cjs/chunks/{Tip-DeP8_frS.js → Tip-B9-eEo1W.js} +1 -1
- package/dist/cjs/chunks/{Toast-D-pkBwRK.js → Toast-RKrXrBM_.js} +5 -5
- package/dist/cjs/chunks/{ToggleButton-cNIO7RUS.js → ToggleButton-CT_lqOtJ.js} +5 -2
- package/dist/cjs/chunks/{UploadArea-6sLdjTc4.js → UploadArea-BzeMdfWX.js} +1 -1
- package/dist/cjs/chunks/Video-tMdl2sgI.js +285 -0
- package/dist/cjs/chunks/VideoController-ClgopggU.js +90 -0
- package/dist/cjs/chunks/{WSConnection-BwJzXOF0.js → WSConnection-Dqb47OS8.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-Bv-nWtU7.js → WebRTCConnection-hG9FYZwt.js} +1 -1
- package/dist/cjs/chunks/{_types-BTZx360t.js → _types-DEt5va_v.js} +7 -2
- package/dist/cjs/chunks/{localDBStore-DDw1HB7W.js → localDBStore-DTF2I86l.js} +1 -1
- package/dist/cjs/chunks/{microphoneStore-BWE0f5k5.js → microphoneStore-BM-XC3HM.js} +1 -1
- package/dist/cjs/chunks/{misc-Xy8NlSfu.js → misc-BKCSnz7i.js} +1 -1
- package/dist/cjs/chunks/{sseStore-cP_aDXa1.js → sseStore-CTJstD-J.js} +2 -2
- package/dist/cjs/chunks/{uploads-worker-Ey3k_A8W.js → uploads-worker-C3qvQXla.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-CysEm3Jm.js → uploadsStore-DLjRL7bJ.js} +2 -2
- package/dist/cjs/chunks/videoStore-uqxnwumS.js +21 -0
- package/dist/cjs/chunks/{volumeStore-TOX_FL_t.js → volumeStore-Cq7cBiVC.js} +1 -1
- package/dist/cjs/chunks/{webRTCStore-B1cS14MD.js → webRTCStore-BO-7A2lW.js} +1 -1
- package/dist/cjs/chunks/{windowStore-DCcNnrCO.js → windowStore-CbBuM_dH.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 +9 -9
- package/dist/cjs/components/ButtonBar/index.js +6 -6
- package/dist/cjs/components/Camera/index.js +7 -7
- package/dist/cjs/components/CheckBox/index.js +6 -6
- package/dist/cjs/components/Chip/index.js +7 -7
- package/dist/cjs/components/DivInput/index.js +3 -3
- package/dist/cjs/components/Dot/index.js +2 -2
- package/dist/cjs/components/DraggablePanel/index.js +5 -5
- package/dist/cjs/components/DropDown/index.js +6 -6
- package/dist/cjs/components/ErrorSummary/index.js +5 -5
- package/dist/cjs/components/FileIcon/index.js +5 -5
- 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 +5 -5
- package/dist/cjs/components/IconButton/index.js +8 -8
- package/dist/cjs/components/Label/index.js +3 -3
- package/dist/cjs/components/Level/index.js +3 -3
- package/dist/cjs/components/Modal/index.js +10 -10
- package/dist/cjs/components/ModalController/index.js +5 -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 +5 -5
- package/dist/cjs/components/PromptInput/index.js +9 -9
- 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 +5 -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 +8 -8
- package/dist/cjs/components/TextArea/index.js +9 -9
- package/dist/cjs/components/Textfield/index.js +9 -9
- package/dist/cjs/components/Tip/index.js +3 -3
- package/dist/cjs/components/Toast/index.js +6 -6
- package/dist/cjs/components/ToggleButton/index.js +9 -9
- package/dist/cjs/components/UploadArea/index.js +8 -8
- package/dist/cjs/components/Video/index.js +17 -0
- package/dist/cjs/components/VideoController/index.js +16 -0
- package/dist/cjs/hooks/useAudioRecorder.js +1 -1
- package/dist/cjs/hooks/useBindWebRTC.js +2 -2
- package/dist/cjs/hooks/useMdStreamBuffer.js +1 -1
- package/dist/cjs/hooks/useMicrophone.js +1 -1
- package/dist/cjs/hooks/useTrackRenders.js +2 -2
- package/dist/cjs/hooks.js +3 -3
- package/dist/cjs/index.js +10 -9
- package/dist/cjs/stores/LocalDB.js +3 -3
- package/dist/cjs/stores/SSE.js +2 -2
- package/dist/cjs/stores/WS.js +2 -2
- package/dist/cjs/stores/WebRTC.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 +7 -0
- package/dist/cjs/stores/volume.js +2 -2
- package/dist/cjs/stores/window.js +2 -2
- package/dist/cjs/stores.js +13 -11
- 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-_YhANdyd.mjs → AudioBubble-yCsnZ3rL.mjs} +6 -6
- package/dist/esm/chunks/{Avatar-C7U2ianJ.mjs → Avatar-Cu0U65SH.mjs} +2 -2
- package/dist/esm/chunks/{AvatarGroup-VAbyMrus.mjs → AvatarGroup-C_-K1xlX.mjs} +2 -2
- package/dist/esm/chunks/{Badge-BKZj-pNA.mjs → Badge-BvY84ufc.mjs} +1 -1
- package/dist/esm/chunks/{Button-C6jYGagD.mjs → Button-Bu19lNFC.mjs} +6 -6
- package/dist/esm/chunks/{ButtonBar-CHKHuVy1.mjs → ButtonBar-D_0kUzcz.mjs} +3 -3
- package/dist/esm/chunks/{Camera-DPATxQwH.mjs → Camera-DBcyGSfc.mjs} +8 -8
- package/dist/esm/chunks/{CheckBox-8oY2dwYh.mjs → CheckBox-DrhGI9RT.mjs} +3 -3
- package/dist/esm/chunks/{Chip-c3piVzsJ.mjs → Chip-SYz-iDwy.mjs} +4 -4
- package/dist/esm/chunks/{DivInput-g28YpiQp.mjs → DivInput-BDUg1ABU.mjs} +2 -2
- package/dist/esm/chunks/{Dot-DnfM38Qp.mjs → Dot-FJ3hAO8I.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-CjgYDhDq.mjs → DrggablePanel-CACyTWqR.mjs} +5 -5
- package/dist/esm/chunks/{DropDown-CWHPCDQS.mjs → DropDown-Da7mVP61.mjs} +3 -3
- package/dist/esm/chunks/{ErrorSummary-D1PqqK3r.mjs → ErrorSummary-0Hj7oPpL.mjs} +5 -5
- package/dist/esm/chunks/{FileIcon-CudRs_lw.mjs → FileIcon-DZAi9ZkU.mjs} +5 -5
- package/dist/esm/chunks/{FileList-Cj_k6oel.mjs → FileList-D_li0dMh.mjs} +5 -5
- package/dist/esm/chunks/{FlexDiv-pSlVGfpp.mjs → FlexDiv-CQCa9vLf.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-BQxdCQKy.mjs → Grouper-BjanuRaI.mjs} +6 -6
- package/dist/esm/chunks/{Icon-CKS12m2e.mjs → Icon-BFU6Yqe5.mjs} +75 -7
- package/dist/esm/chunks/{IconButton-Cka059ZT.mjs → IconButton-BSfjX-9S.mjs} +5 -5
- package/dist/esm/chunks/{IndexedDB-C1lcbDjn.mjs → IndexedDB-DhevfBOg.mjs} +1 -1
- package/dist/esm/chunks/{Label-B7SDZHF3.mjs → Label-C8RnJ9Lg.mjs} +2 -2
- package/dist/esm/chunks/{Level-CjR-2ZHs.mjs → Level-BJFm-X3G.mjs} +4 -3
- package/dist/esm/chunks/{Modal-BLqTi3R2.mjs → Modal-CWJeNAOQ.mjs} +5 -5
- package/dist/esm/chunks/{ModalController-BGCz54A8.mjs → ModalController-CzAHoDrY.mjs} +6 -5
- package/dist/esm/chunks/{Overlay-Dp2GOGjC.mjs → Overlay-D5wdtOAI.mjs} +1 -1
- package/dist/esm/chunks/{Pager-DRkFuZTV.mjs → Pager-Bpq4k9Pn.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-C2EWIn7Z.mjs → ProgressIndicator-BBVwMWzm.mjs} +5 -5
- package/dist/esm/chunks/{PromptInput-mkEHu-_v.mjs → PromptInput-BxH23sGc.mjs} +7 -7
- package/dist/esm/chunks/{RadioButton-Bd23SEL0.mjs → RadioButton-BAFQDK57.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-ho29Z9aG.mjs → RadioButtonList-Cnh1UHHz.mjs} +3 -3
- package/dist/esm/chunks/{Slider-9hcuVdaH.mjs → Slider-BPXwoiwJ.mjs} +6 -6
- package/dist/esm/chunks/{Spacer-D3_8SzUs.mjs → Spacer-HGNNBfvv.mjs} +1 -1
- package/dist/esm/chunks/{Switch-CV_2ygFC.mjs → Switch-C5qBX15j.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-BOUnKetI.mjs → TabBar-D06eYt6u.mjs} +9 -9
- package/dist/esm/chunks/{TextArea-FQVQo3LR.mjs → TextArea-mN8h_Cue.mjs} +2 -2
- package/dist/esm/chunks/{TextField-D7ZiWK9I.mjs → TextField-Cm7pEaDr.mjs} +8 -8
- package/dist/esm/chunks/{Tip-5OhdfJW7.mjs → Tip-BR3b7fuP.mjs} +2 -2
- package/dist/esm/chunks/{Toast-BlDzsT1J.mjs → Toast-CzlNn-kB.mjs} +7 -7
- package/dist/esm/chunks/{ToggleButton-BIIm75PN.mjs → ToggleButton-CDGVCiPi.mjs} +6 -3
- package/dist/esm/chunks/{UploadArea-AjFofefa.mjs → UploadArea-Clxy3kka.mjs} +4 -4
- package/dist/esm/chunks/Video-_9DI55pO.mjs +296 -0
- package/dist/esm/chunks/VideoController-Bs8p1xwx.mjs +107 -0
- package/dist/esm/chunks/{WSConnection-CjwR_k97.mjs → WSConnection-YxyoqZum.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-rKAgZEbe.mjs → WebRTCConnection-MOqvO3By.mjs} +1 -1
- package/dist/esm/chunks/{_types-Fewdpo-O.mjs → _types-BFtPNHwq.mjs} +7 -2
- package/dist/esm/chunks/{localDBStore-Bxvk_IzQ.mjs → localDBStore-DE8J4Hvg.mjs} +2 -2
- package/dist/esm/chunks/{microphoneStore-Do0a5LZ9.mjs → microphoneStore-DqwMpMcu.mjs} +1 -1
- package/dist/esm/chunks/{misc-C5cfUKzm.mjs → misc-DWvJZgjx.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-oSknLkEF.mjs → sseStore-Bc-9bdZh.mjs} +2 -2
- package/dist/esm/chunks/{uploads-worker-Cyum1zTV.mjs → uploads-worker-DqpQ5WSo.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-BxpUKpcf.mjs → uploadsStore-DZIHwqML.mjs} +1 -1
- package/dist/esm/chunks/videoStore-BkLBmQIB.mjs +19 -0
- package/dist/esm/chunks/{volumeStore-D5i1CeFf.mjs → volumeStore-B8u-1p8C.mjs} +1 -1
- package/dist/esm/chunks/{webRTCStore-BLGNTnV3.mjs → webRTCStore-CE66PHep.mjs} +2 -2
- package/dist/esm/chunks/{windowStore-BqOOGKQ6.mjs → windowStore-CGqgjOhg.mjs} +1 -1
- package/dist/esm/components/AudioBubble/index.mjs +8 -8
- 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 +12 -12
- package/dist/esm/components/ButtonBar/index.mjs +8 -8
- package/dist/esm/components/Camera/index.mjs +10 -10
- package/dist/esm/components/CheckBox/index.mjs +8 -8
- package/dist/esm/components/Chip/index.mjs +9 -9
- package/dist/esm/components/DivInput/index.mjs +3 -3
- package/dist/esm/components/Dot/index.mjs +2 -2
- package/dist/esm/components/DraggablePanel/index.mjs +7 -7
- package/dist/esm/components/DropDown/index.mjs +8 -8
- package/dist/esm/components/ErrorSummary/index.mjs +7 -7
- package/dist/esm/components/FileIcon/index.mjs +7 -7
- package/dist/esm/components/FileList/index.mjs +10 -10
- package/dist/esm/components/FlexDiv/index.mjs +2 -2
- package/dist/esm/components/Grouper/index.mjs +9 -9
- package/dist/esm/components/Icon/index.mjs +8 -8
- package/dist/esm/components/IconButton/index.mjs +11 -11
- package/dist/esm/components/Label/index.mjs +3 -3
- package/dist/esm/components/Level/index.mjs +4 -4
- package/dist/esm/components/Modal/index.mjs +14 -14
- package/dist/esm/components/ModalController/index.mjs +8 -8
- 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 +8 -8
- package/dist/esm/components/PromptInput/index.mjs +15 -15
- package/dist/esm/components/RadioButton/index.mjs +8 -8
- package/dist/esm/components/RadioButtonList/index.mjs +9 -9
- package/dist/esm/components/Slider/index.mjs +8 -8
- 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 +12 -12
- package/dist/esm/components/TextArea/index.mjs +13 -13
- package/dist/esm/components/Textfield/index.mjs +14 -14
- package/dist/esm/components/Tip/index.mjs +3 -3
- package/dist/esm/components/Toast/index.mjs +9 -9
- package/dist/esm/components/ToggleButton/index.mjs +13 -13
- package/dist/esm/components/UploadArea/index.mjs +11 -11
- package/dist/esm/components/Video/index.mjs +61 -0
- package/dist/esm/components/VideoController/index.mjs +55 -0
- package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
- package/dist/esm/hooks/useBindWebRTC.mjs +5 -5
- package/dist/esm/hooks/useMdStreamBuffer.mjs +2 -2
- package/dist/esm/hooks/useMicrophone.mjs +1 -1
- package/dist/esm/hooks/useTrackRenders.mjs +2 -2
- package/dist/esm/hooks.mjs +6 -6
- package/dist/esm/index.mjs +59 -53
- package/dist/esm/stores/LocalDB.mjs +3 -3
- package/dist/esm/stores/SSE.mjs +3 -3
- package/dist/esm/stores/WS.mjs +2 -2
- package/dist/esm/stores/WebRTC.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 +3 -0
- package/dist/esm/stores/volume.mjs +2 -2
- package/dist/esm/stores/window.mjs +2 -2
- package/dist/esm/stores.mjs +17 -15
- package/dist/esm/utils/index.mjs +10 -10
- package/dist/esm/utils/objects/index.mjs +7 -7
- package/dist/esm/workers/uploads/uploads.mjs +2 -2
- package/dist/styles.css +157 -1
- package/dist/types/components/Icon/_types.d.ts +5 -0
- package/dist/types/components/ToggleButton/_types.d.ts +2 -0
- package/dist/types/components/Video/Video.d.ts +67 -0
- package/dist/types/components/Video/_types.d.ts +58 -0
- package/dist/types/components/Video/index.d.ts +2 -0
- package/dist/types/components/VideoController/VideoController.d.ts +2 -0
- package/dist/types/components/VideoController/_types.d.ts +15 -0
- package/dist/types/components/VideoController/index.d.ts +2 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/stores/index.d.ts +1 -0
- package/dist/types/stores/video/_types.d.ts +14 -0
- package/dist/types/stores/video/index.d.ts +2 -0
- package/dist/types/stores/video/videoStore.d.ts +12 -0
- package/package.json +1 -1
- /package/dist/cjs/chunks/{MdStreamBuffer-tvK8qsjv.js → MdStreamBuffer-BpYjC6oG.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-C6fFzIM7.js → SSEConnection-j9n8tDd-.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-DFVbG1U3.js → audioVisualizer-COVl0T6c.js} +0 -0
- /package/dist/cjs/chunks/{colors-D1ls4xuy.js → colors-hrYWfbGJ.js} +0 -0
- /package/dist/cjs/chunks/{debounce-Dt7br1wm.js → debounce-VXThgD9D.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-C2TNegI3.js → modalStore-CAqzPgtE.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-DC-9YrKq.js → sharedTypes-DbkuoBK5.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-CcUHlLfK.js → tipStore-QjYu45vB.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-CzsUlpG7.js → toastStore-D4lqIfDl.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-CZ8Is2ry.js → tslib.es6-BiEkm1EG.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-CvU2-p0i.mjs → MdStreamBuffer-Be13p-Lr.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-CnZ9v2PI.mjs → SSEConnection-LevOfUdD.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-Cw40IeKn.mjs → audioVisualizer-DVvTr7Rj.mjs} +0 -0
- /package/dist/esm/chunks/{colors-7VDET9eL.mjs → colors-FXEIVaHB.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-zgRcExLD.mjs → debounce-B3gbRZhm.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-OVzsFkde.mjs → modalStore-DhlJJici.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-7jlhdP2f.mjs → sharedTypes-DdBIOxPR.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-o8uQjfPm.mjs → tipStore-D7EBdeEj.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-Cnivb4IM.mjs → toastStore-G5VSoxc3.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-CDAuOlZ8.mjs → tslib.es6-DcMgrs4I.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerUploadsWorker } from "../../chunks/uploads-worker-
|
|
1
|
+
import { r as registerUploadsWorker } from "../../chunks/uploads-worker-DqpQ5WSo.mjs";
|
|
2
2
|
|
|
3
|
-
import "../../chunks/tslib.es6-
|
|
3
|
+
import "../../chunks/tslib.es6-DcMgrs4I.mjs";
|
|
4
4
|
|
|
5
5
|
registerUploadsWorker();
|
package/dist/styles.css
CHANGED
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
--scroll-bar-hover-dark: rgba(255, 255, 255, 0.15);
|
|
106
106
|
--surface-primary-tint-light: #fcfcfc;
|
|
107
107
|
--surface-primary-tint-dark: #191e24;
|
|
108
|
-
--surface-shadow-soft-light: 0px 4px 24px #
|
|
108
|
+
--surface-shadow-soft-light: 0px 4px 24px #0000007a;
|
|
109
109
|
--surface-shadow-soft-dark: 0px 4px 24px #0000007a;
|
|
110
110
|
--surface-shadow-strong-light: 0px 4px 64px #0339491a;
|
|
111
111
|
--surface-shadow-strong-dark: 0px 4px 64px #0000007a;
|
|
@@ -7266,6 +7266,14 @@ line {
|
|
|
7266
7266
|
-webkit-text-fill-color: var(--core-text-primary);
|
|
7267
7267
|
}
|
|
7268
7268
|
|
|
7269
|
+
.TextField-module_input__AkWBQ:-webkit-autofill::placeholder {
|
|
7270
|
+
color: var(--tf-placeholder-color);
|
|
7271
|
+
}
|
|
7272
|
+
|
|
7273
|
+
.TextField-module_input__AkWBQ:-webkit-autofill::backdrop {
|
|
7274
|
+
color: transparent;
|
|
7275
|
+
}
|
|
7276
|
+
|
|
7269
7277
|
.TextField-module_showPassword__4Ecfo {
|
|
7270
7278
|
min-height: 18px;
|
|
7271
7279
|
min-width: 18px;
|
|
@@ -8522,3 +8530,151 @@ line {
|
|
|
8522
8530
|
|
|
8523
8531
|
.UploadArea-module_l__KG9YN {
|
|
8524
8532
|
}
|
|
8533
|
+
|
|
8534
|
+
.Video-module_wrapper__a9iH8 {
|
|
8535
|
+
position: relative;
|
|
8536
|
+
display: flex;
|
|
8537
|
+
flex-direction: column;
|
|
8538
|
+
justify-content: center;
|
|
8539
|
+
align-items: center;
|
|
8540
|
+
width: var(--video-width, 100%);
|
|
8541
|
+
height: var(--video-height, auto);
|
|
8542
|
+
border-radius: var(--video-border-radius, 16px);
|
|
8543
|
+
border-width: var(--video-border-size, 0);
|
|
8544
|
+
border-style: solid;
|
|
8545
|
+
border-color: var(--video-border-color, transparent);
|
|
8546
|
+
background-color: var(--video-bg-color, transparent);
|
|
8547
|
+
outline: none;
|
|
8548
|
+
overflow: hidden;
|
|
8549
|
+
}
|
|
8550
|
+
|
|
8551
|
+
.Video-module_video__hxKME {
|
|
8552
|
+
width: 100%;
|
|
8553
|
+
height: 100%;
|
|
8554
|
+
display: block;
|
|
8555
|
+
object-fit: var(--video-object-fit, contain);
|
|
8556
|
+
}
|
|
8557
|
+
|
|
8558
|
+
.Video-module_controls__X4yt6 {
|
|
8559
|
+
position: absolute;
|
|
8560
|
+
display: flex;
|
|
8561
|
+
justify-content: flex-start;
|
|
8562
|
+
align-items: center;
|
|
8563
|
+
flex-direction: column;
|
|
8564
|
+
inset: 0;
|
|
8565
|
+
pointer-events: var(--video-controls-pointer-events, none);
|
|
8566
|
+
opacity: var(--video-controls-opacity, 0);
|
|
8567
|
+
z-index: var(--elevation-float);
|
|
8568
|
+
transition: opacity 0.25s ease-in-out;
|
|
8569
|
+
}
|
|
8570
|
+
|
|
8571
|
+
.Video-module_controlsHeader__dD64- {
|
|
8572
|
+
display: flex;
|
|
8573
|
+
justify-content: space-between;
|
|
8574
|
+
box-sizing: border-box;
|
|
8575
|
+
align-items: center;
|
|
8576
|
+
flex-direction: row;
|
|
8577
|
+
gap: 24px;
|
|
8578
|
+
width: 100%;
|
|
8579
|
+
padding: 16px;
|
|
8580
|
+
}
|
|
8581
|
+
|
|
8582
|
+
.Video-module_controlsFooter__qJNTa {
|
|
8583
|
+
display: flex;
|
|
8584
|
+
justify-content: center;
|
|
8585
|
+
align-items: center;
|
|
8586
|
+
flex-direction: row;
|
|
8587
|
+
gap: 24px;
|
|
8588
|
+
width: 100%;
|
|
8589
|
+
box-sizing: border-box;
|
|
8590
|
+
padding: 16px;
|
|
8591
|
+
}
|
|
8592
|
+
|
|
8593
|
+
.Video-module_controlsBody__2GbQz {
|
|
8594
|
+
display: flex;
|
|
8595
|
+
justify-content: center;
|
|
8596
|
+
align-items: center;
|
|
8597
|
+
flex-direction: column;
|
|
8598
|
+
width: 100%;
|
|
8599
|
+
flex: 1;
|
|
8600
|
+
padding: 16px;
|
|
8601
|
+
}
|
|
8602
|
+
|
|
8603
|
+
.Video-module_right__UMhfW {
|
|
8604
|
+
display: flex;
|
|
8605
|
+
justify-content: flex-end;
|
|
8606
|
+
align-items: center;
|
|
8607
|
+
gap: 8px;
|
|
8608
|
+
border-radius: 100px;
|
|
8609
|
+
background-color: var(--video-controls-bg-color, rgba(0, 0, 0, 0.5));
|
|
8610
|
+
padding: 8px 16px 8px 8px;
|
|
8611
|
+
box-sizing: border-box;
|
|
8612
|
+
}
|
|
8613
|
+
|
|
8614
|
+
.Video-module_left__XC33m {
|
|
8615
|
+
display: flex;
|
|
8616
|
+
justify-content: flex-start;
|
|
8617
|
+
align-items: center;
|
|
8618
|
+
gap: 8px;
|
|
8619
|
+
border-radius: 100px;
|
|
8620
|
+
background-color: var(--video-controls-bg-color, rgba(0, 0, 0, 0.5));
|
|
8621
|
+
padding: 8px;
|
|
8622
|
+
box-sizing: border-box;
|
|
8623
|
+
}
|
|
8624
|
+
|
|
8625
|
+
.Video-module_progress__UTWtq {
|
|
8626
|
+
display: flex;
|
|
8627
|
+
justify-content: flex-start;
|
|
8628
|
+
align-items: center;
|
|
8629
|
+
gap: 8px;
|
|
8630
|
+
border-radius: 100px;
|
|
8631
|
+
background-color: var(--video-controls-bg-color, rgba(0, 0, 0, 0.5));
|
|
8632
|
+
padding: 8px 16px 8px 8px;
|
|
8633
|
+
box-sizing: border-box;
|
|
8634
|
+
width: 50%;
|
|
8635
|
+
}
|
|
8636
|
+
|
|
8637
|
+
.VideoController-module_container__wNiGy {
|
|
8638
|
+
position: fixed;
|
|
8639
|
+
inset: 0;
|
|
8640
|
+
overflow: hidden;
|
|
8641
|
+
z-index: var(--elevation-confirm);
|
|
8642
|
+
pointer-events: none;
|
|
8643
|
+
}
|
|
8644
|
+
|
|
8645
|
+
.VideoController-module_box__a0PRD {
|
|
8646
|
+
position: relative;
|
|
8647
|
+
display: flex;
|
|
8648
|
+
justify-content: center;
|
|
8649
|
+
align-items: center;
|
|
8650
|
+
background: transparent;
|
|
8651
|
+
box-sizing: border-box;
|
|
8652
|
+
width: 100%;
|
|
8653
|
+
height: 100%;
|
|
8654
|
+
overflow: visible;
|
|
8655
|
+
z-index: var(--elevation-confirm);
|
|
8656
|
+
pointer-events: none;
|
|
8657
|
+
}
|
|
8658
|
+
|
|
8659
|
+
.VideoController-module_wrapper__RhpUo {
|
|
8660
|
+
position: absolute;
|
|
8661
|
+
box-sizing: border-box;
|
|
8662
|
+
left: var(--overlay-padding, 64px);
|
|
8663
|
+
right: var(--overlay-padding, 64px);
|
|
8664
|
+
display: flex;
|
|
8665
|
+
flex-direction: column;
|
|
8666
|
+
align-items: center;
|
|
8667
|
+
justify-content: center;
|
|
8668
|
+
gap: 16px;
|
|
8669
|
+
z-index: var(--elevation-confirm);
|
|
8670
|
+
pointer-events: all;
|
|
8671
|
+
visibility: var(--video-visibility, hidden);
|
|
8672
|
+
border-radius: var(--video-border-radius, 16px);
|
|
8673
|
+
overflow: visible;
|
|
8674
|
+
}
|
|
8675
|
+
|
|
8676
|
+
.VideoController-module_video__9bS2L {
|
|
8677
|
+
overflow: visible;
|
|
8678
|
+
box-shadow: var(--surface-shadow-soft);
|
|
8679
|
+
border-radius: var(--video-border-radius, 16px);
|
|
8680
|
+
}
|
|
@@ -57,6 +57,10 @@ export declare const SliceIcons: {
|
|
|
57
57
|
readonly speakerMuted: "speaker muted";
|
|
58
58
|
readonly speakerHigh: "speaker high";
|
|
59
59
|
readonly speakerLow: "speaker low";
|
|
60
|
+
readonly play: "play";
|
|
61
|
+
readonly playCircle: "play circle";
|
|
62
|
+
readonly pause: "pause";
|
|
63
|
+
readonly pauseCircle: "pause circle";
|
|
60
64
|
};
|
|
61
65
|
readonly files: {
|
|
62
66
|
readonly document: "document";
|
|
@@ -142,6 +146,7 @@ export declare const SliceIcons: {
|
|
|
142
146
|
readonly sidebarSplit: "sidebar split";
|
|
143
147
|
readonly keyboard: "keyboard";
|
|
144
148
|
readonly x: "x";
|
|
149
|
+
readonly fullscreen: "fullscreen";
|
|
145
150
|
};
|
|
146
151
|
};
|
|
147
152
|
export {};
|
|
@@ -13,7 +13,9 @@ export interface ToggleButtonProps {
|
|
|
13
13
|
selected?: boolean;
|
|
14
14
|
iconColor?: string;
|
|
15
15
|
iconColorOn?: string;
|
|
16
|
+
iconColorHover?: string;
|
|
16
17
|
bgColor?: string;
|
|
18
|
+
bgColorHover?: string;
|
|
17
19
|
bgColorOn?: string;
|
|
18
20
|
onChange?: (state: boolean) => void;
|
|
19
21
|
onSelect?: () => void;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PlayState, type VideoElement } from './_types';
|
|
3
|
+
export declare const Video: React.NamedExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, keyof {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
src?: string;
|
|
6
|
+
playing?: boolean;
|
|
7
|
+
loop?: boolean;
|
|
8
|
+
muted?: boolean;
|
|
9
|
+
volume?: number;
|
|
10
|
+
playsInline?: boolean;
|
|
11
|
+
playRate?: number;
|
|
12
|
+
controls?: "default" | "simple" | "custom" | "none";
|
|
13
|
+
customControls?: import("./_types").CustomVideoControls;
|
|
14
|
+
poster?: string;
|
|
15
|
+
width?: number | string;
|
|
16
|
+
height?: number | string;
|
|
17
|
+
borderRadius?: number | string;
|
|
18
|
+
borderSize?: number | string;
|
|
19
|
+
borderColor?: string;
|
|
20
|
+
backgroundColor?: string;
|
|
21
|
+
objectFit?: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
22
|
+
onPlay?: () => void;
|
|
23
|
+
onPause?: () => void;
|
|
24
|
+
onEnd?: () => void;
|
|
25
|
+
onProgress?: (progress: number) => void;
|
|
26
|
+
onLoadProgress?: (progress: number) => void;
|
|
27
|
+
onPlaybackRateChange?: (rate: number) => void;
|
|
28
|
+
onCanPlayThrough?: () => void;
|
|
29
|
+
onPlayStateChange?: (state: PlayState) => void;
|
|
30
|
+
onLoadMetaData?: (duration: number) => void;
|
|
31
|
+
onFullScreenChange?: (fullScreen: boolean) => void;
|
|
32
|
+
onVolumeChange?: (volume: number) => void;
|
|
33
|
+
onLoadedFrameData?: () => void;
|
|
34
|
+
captionsSrc?: string;
|
|
35
|
+
}> & {
|
|
36
|
+
children?: React.ReactNode;
|
|
37
|
+
src?: string;
|
|
38
|
+
playing?: boolean;
|
|
39
|
+
loop?: boolean;
|
|
40
|
+
muted?: boolean;
|
|
41
|
+
volume?: number;
|
|
42
|
+
playsInline?: boolean;
|
|
43
|
+
playRate?: number;
|
|
44
|
+
controls?: "default" | "simple" | "custom" | "none";
|
|
45
|
+
customControls?: import("./_types").CustomVideoControls;
|
|
46
|
+
poster?: string;
|
|
47
|
+
width?: number | string;
|
|
48
|
+
height?: number | string;
|
|
49
|
+
borderRadius?: number | string;
|
|
50
|
+
borderSize?: number | string;
|
|
51
|
+
borderColor?: string;
|
|
52
|
+
backgroundColor?: string;
|
|
53
|
+
objectFit?: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
54
|
+
onPlay?: () => void;
|
|
55
|
+
onPause?: () => void;
|
|
56
|
+
onEnd?: () => void;
|
|
57
|
+
onProgress?: (progress: number) => void;
|
|
58
|
+
onLoadProgress?: (progress: number) => void;
|
|
59
|
+
onPlaybackRateChange?: (rate: number) => void;
|
|
60
|
+
onCanPlayThrough?: () => void;
|
|
61
|
+
onPlayStateChange?: (state: PlayState) => void;
|
|
62
|
+
onLoadMetaData?: (duration: number) => void;
|
|
63
|
+
onFullScreenChange?: (fullScreen: boolean) => void;
|
|
64
|
+
onVolumeChange?: (volume: number) => void;
|
|
65
|
+
onLoadedFrameData?: () => void;
|
|
66
|
+
captionsSrc?: string;
|
|
67
|
+
} & React.RefAttributes<VideoElement>>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export type CustomVideoControls = {
|
|
3
|
+
play?: boolean;
|
|
4
|
+
fullscreen?: boolean;
|
|
5
|
+
progress?: boolean;
|
|
6
|
+
volume?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare enum PlayState {
|
|
9
|
+
Playing = "playing",
|
|
10
|
+
Paused = "paused",
|
|
11
|
+
Stopped = "stopped",
|
|
12
|
+
Ended = "ended"
|
|
13
|
+
}
|
|
14
|
+
export interface VideoElement {
|
|
15
|
+
play?: () => Promise<void>;
|
|
16
|
+
stop?: () => Promise<void>;
|
|
17
|
+
restart?: () => Promise<void>;
|
|
18
|
+
setVolume?: (volume: number) => void;
|
|
19
|
+
mute?: (mute: boolean) => void;
|
|
20
|
+
fullscreen?: (state: boolean) => void;
|
|
21
|
+
playbackRate?: (rate: number) => void;
|
|
22
|
+
videoElement?: HTMLVideoElement;
|
|
23
|
+
}
|
|
24
|
+
type VideoBaseProps = {
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
src?: string;
|
|
27
|
+
playing?: boolean;
|
|
28
|
+
loop?: boolean;
|
|
29
|
+
muted?: boolean;
|
|
30
|
+
volume?: number;
|
|
31
|
+
playsInline?: boolean;
|
|
32
|
+
playRate?: number;
|
|
33
|
+
controls?: 'default' | 'simple' | 'custom' | 'none';
|
|
34
|
+
customControls?: CustomVideoControls;
|
|
35
|
+
poster?: string;
|
|
36
|
+
width?: number | string;
|
|
37
|
+
height?: number | string;
|
|
38
|
+
borderRadius?: number | string;
|
|
39
|
+
borderSize?: number | string;
|
|
40
|
+
borderColor?: string;
|
|
41
|
+
backgroundColor?: string;
|
|
42
|
+
objectFit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
|
|
43
|
+
onPlay?: () => void;
|
|
44
|
+
onPause?: () => void;
|
|
45
|
+
onEnd?: () => void;
|
|
46
|
+
onProgress?: (progress: number) => void;
|
|
47
|
+
onLoadProgress?: (progress: number) => void;
|
|
48
|
+
onPlaybackRateChange?: (rate: number) => void;
|
|
49
|
+
onCanPlayThrough?: () => void;
|
|
50
|
+
onPlayStateChange?: (state: PlayState) => void;
|
|
51
|
+
onLoadMetaData?: (duration: number) => void;
|
|
52
|
+
onFullScreenChange?: (fullScreen: boolean) => void;
|
|
53
|
+
onVolumeChange?: (volume: number) => void;
|
|
54
|
+
onLoadedFrameData?: () => void;
|
|
55
|
+
captionsSrc?: string;
|
|
56
|
+
};
|
|
57
|
+
export type VideoProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof VideoBaseProps> & VideoBaseProps;
|
|
58
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Transition, Variants } from 'motion/react';
|
|
2
|
+
import type React from 'react';
|
|
3
|
+
export type VideoControllerProps = {
|
|
4
|
+
dragConstraintsRef?: React.RefObject<HTMLElement | null>;
|
|
5
|
+
overlayColor?: string;
|
|
6
|
+
overlayOpacity?: number;
|
|
7
|
+
transition?: Transition;
|
|
8
|
+
variants?: Variants;
|
|
9
|
+
initial?: string;
|
|
10
|
+
animate?: string;
|
|
11
|
+
exit?: string;
|
|
12
|
+
draggable?: boolean;
|
|
13
|
+
padding?: number | string;
|
|
14
|
+
borderRadius?: number | string;
|
|
15
|
+
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -84,3 +84,7 @@ export type { LevelProps } from './components/Level';
|
|
|
84
84
|
export { UploadArea } from './components/UploadArea';
|
|
85
85
|
export type { UploadAreaProps } from './components/UploadArea/_types';
|
|
86
86
|
export { imageTypes, videoTypes, documentTypes, audioTypes, textTypes, allTypes, } from './components/UploadArea/_types';
|
|
87
|
+
export { Video } from './components/Video';
|
|
88
|
+
export type { CustomVideoControls, PlayState, VideoElement, VideoProps, } from './components/Video';
|
|
89
|
+
export { VideoController } from './components/VideoController';
|
|
90
|
+
export type { VideoControllerProps } from './components/VideoController';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { VideoProps } from '../../components/Video';
|
|
3
|
+
export type VideoDescriptor = {
|
|
4
|
+
id?: string;
|
|
5
|
+
component: React.ComponentType<VideoProps>;
|
|
6
|
+
props?: VideoProps;
|
|
7
|
+
};
|
|
8
|
+
export interface VideoStore {
|
|
9
|
+
video: VideoDescriptor | null;
|
|
10
|
+
actions: {
|
|
11
|
+
show: (modal: VideoDescriptor | null) => void;
|
|
12
|
+
clear: () => void;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { VideoDescriptor, VideoStore } from './_types';
|
|
2
|
+
export declare const useVideoStore: import("zustand").UseBoundStore<import("zustand").StoreApi<VideoStore>>;
|
|
3
|
+
export declare const useVideo: () => VideoDescriptor | null;
|
|
4
|
+
export declare const useVideoActions: () => {
|
|
5
|
+
show: (modal: VideoDescriptor | null) => void;
|
|
6
|
+
clear: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const videoActions: {
|
|
9
|
+
show: (modal: VideoDescriptor | null) => void;
|
|
10
|
+
clear: () => void;
|
|
11
|
+
};
|
|
12
|
+
export declare const getVideo: () => VideoDescriptor | null;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|