@apple-pie/slice 0.1.34 → 0.1.36
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-D6EdVxCx.js → AudioBubble-BE_f4Hso.js} +3 -4
- package/dist/cjs/chunks/{Avatar-C8Y8QA6W.js → Avatar-BiyInyRO.js} +1 -1
- package/dist/cjs/chunks/{AvatarGroup-BJGROy0D.js → AvatarGroup-DRL0lWmX.js} +1 -1
- package/dist/cjs/chunks/{Badge-D0jOqpGM.js → Badge-DMowUBPk.js} +1 -1
- package/dist/cjs/chunks/{Button-CSyenByA.js → Button-COMAPFWV.js} +5 -4
- package/dist/cjs/chunks/{ButtonBar-D6nO_KLU.js → ButtonBar-IiuZuTLR.js} +1 -1
- package/dist/cjs/chunks/{Camera-C8ug84NJ.js → Camera-Ly06XVkk.js} +4 -5
- package/dist/cjs/chunks/{CheckBox-rALyYaSt.js → CheckBox-HmPtb4qd.js} +1 -1
- package/dist/cjs/chunks/{Chip-BwxjTPRM.js → Chip-6PG7VzN-.js} +9 -9
- package/dist/cjs/chunks/{DivInput-BRhOr7b5.js → DivInput-C-PFUeDT.js} +1 -1
- package/dist/cjs/chunks/{Dot-DLk45OlQ.js → Dot-dB91CPB9.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-Ch24xWZu.js → DrggablePanel-B4pmiREo.js} +8 -8
- package/dist/cjs/chunks/{DropDown-BbhZnN_w.js → DropDown-DrFvc39t.js} +1 -1
- package/dist/cjs/chunks/{ErrorSummary-CI6hUFwD.js → ErrorSummary-_XvQGFbZ.js} +3 -4
- package/dist/cjs/chunks/{FileIcon-CfjasX-r.js → FileIcon-UA9ZceY_.js} +3 -4
- package/dist/cjs/chunks/{FileList-B93Xcxz4.js → FileList-CnsmD5Y7.js} +1 -1
- package/dist/cjs/chunks/{FlexDiv-rfXrDSOq.js → FlexDiv-WZf3guIi.js} +1 -1
- package/dist/cjs/chunks/{Grouper-DSrE9R-U.js → Grouper-BzPprBpD.js} +3 -4
- package/dist/cjs/chunks/{Icon-CRxH8X5b.js → Icon-g039RSWl.js} +16 -5
- package/dist/cjs/chunks/IconButton-DZBikqIA.js +182 -0
- package/dist/cjs/chunks/{IndexedDB-BFj53nVB.js → IndexedDB-DW-NDU8i.js} +1 -1
- package/dist/cjs/chunks/{Label-BHP_DdP0.js → Label-BLCGQli-.js} +1 -1
- package/dist/cjs/chunks/{Level-BWOIrzAv.js → Level-CvPkz_70.js} +1 -1
- package/dist/cjs/chunks/{Modal-BEKrk6zT.js → Modal-D8RvqX4f.js} +1 -1
- package/dist/cjs/chunks/{ModalController-DQJ-Vr6w.js → ModalController-ctBbD_Jn.js} +2 -3
- package/dist/cjs/chunks/{Overlay-CgD0_kQK.js → Overlay-CB0-ZCbr.js} +1 -1
- package/dist/cjs/chunks/{Pager-CjMnXBqh.js → Pager-GwtjwNSr.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-V-orBNdI.js → ProgressIndicator-BqAJgdQp.js} +3 -4
- package/dist/cjs/chunks/{PromptInput-DK1pGnIm.js → PromptInput-B5-MrCid.js} +4 -5
- package/dist/cjs/chunks/{RadioButton-DOv8YC-8.js → RadioButton-B0It6bQ8.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-BC0PaUB2.js → RadioButtonList-B-G1DO7M.js} +1 -1
- package/dist/cjs/chunks/{Slider-D4zQ-4aq.js → Slider-BDCvQ_h4.js} +3 -4
- package/dist/cjs/chunks/{Spacer-CdIj0JdL.js → Spacer-C_qGs52F.js} +1 -1
- package/dist/cjs/chunks/{Switch-BcyjA09W.js → Switch-2YgqC8vV.js} +1 -1
- package/dist/cjs/chunks/{TabBar-BzfXUqQ7.js → TabBar-C3FbWoTz.js} +5 -6
- package/dist/cjs/chunks/{TextArea-Aqo_XxW3.js → TextArea-C3DehkDw.js} +3 -2
- package/dist/cjs/chunks/{TextField-D9cVqxeH.js → TextField-BkZlrRfY.js} +4 -5
- package/dist/cjs/chunks/{Tip-6p-WETDg.js → Tip-CEvYKuL1.js} +1 -1
- package/dist/cjs/chunks/{Toast-D2RPpe4w.js → Toast-BoCExCrT.js} +4 -5
- package/dist/cjs/chunks/{ToggleButton-DIO-mLzn.js → ToggleButton-CBQt8Ii8.js} +6 -4
- package/dist/cjs/chunks/{UploadArea-dLHkxZaJ.js → UploadArea-D3I4J8B7.js} +1 -1
- package/dist/cjs/chunks/{WSConnection-DUtc0Zek.js → WSConnection-D6rZfnAf.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-DOegM5k_.js → WebRTCConnection-C_IDgzdx.js} +1 -1
- package/dist/cjs/chunks/{_types-CnvV2yMQ.js → _types-Cq4h0y4u.js} +3 -1
- package/dist/cjs/chunks/{localDBStore-BE1Spdvk.js → localDBStore-CmeqEYMi.js} +1 -1
- package/dist/cjs/chunks/{microphoneStore-BQttBRKb.js → microphoneStore-V2mYQFa4.js} +1 -1
- package/dist/cjs/chunks/{misc-CktV9aap.js → misc-CGesOGlL.js} +1 -1
- package/dist/cjs/chunks/{sseStore-CUctZwDm.js → sseStore-Bql9biBI.js} +2 -2
- package/dist/cjs/chunks/{uploads-worker-B-7wl30J.js → uploads-worker-CpdqGKrs.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-BhvyVpxk.js → uploadsStore-DWM1E-GX.js} +2 -2
- package/dist/cjs/chunks/{volumeStore-CPxgI64S.js → volumeStore-CpxXslLu.js} +1 -1
- package/dist/cjs/chunks/{webRTCStore-M1HXHN92.js → webRTCStore-C9e5XlzB.js} +1 -1
- package/dist/cjs/chunks/{windowStore-BeMPlP7X.js → windowStore-DV7Ch5Z2.js} +1 -1
- package/dist/cjs/components/AudioBubble/index.js +5 -7
- 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 +8 -9
- package/dist/cjs/components/ButtonBar/index.js +5 -7
- package/dist/cjs/components/Camera/index.js +6 -8
- package/dist/cjs/components/CheckBox/index.js +5 -7
- package/dist/cjs/components/Chip/index.js +6 -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 -7
- package/dist/cjs/components/DropDown/index.js +5 -7
- package/dist/cjs/components/ErrorSummary/index.js +5 -6
- package/dist/cjs/components/FileIcon/index.js +5 -6
- package/dist/cjs/components/FileList/index.js +7 -8
- package/dist/cjs/components/FlexDiv/index.js +2 -2
- package/dist/cjs/components/Grouper/index.js +6 -7
- package/dist/cjs/components/Icon/index.js +5 -6
- package/dist/cjs/components/IconButton/index.js +17 -9
- 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 +9 -10
- package/dist/cjs/components/ModalController/index.js +4 -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 +4 -5
- package/dist/cjs/components/PromptInput/index.js +8 -10
- package/dist/cjs/components/RadioButton/index.js +5 -7
- package/dist/cjs/components/RadioButtonList/index.js +6 -8
- package/dist/cjs/components/Slider/index.js +5 -7
- 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 +7 -9
- package/dist/cjs/components/TextArea/index.js +8 -9
- package/dist/cjs/components/Textfield/index.js +8 -10
- package/dist/cjs/components/Tip/index.js +3 -3
- package/dist/cjs/components/Toast/index.js +5 -6
- package/dist/cjs/components/ToggleButton/index.js +8 -9
- package/dist/cjs/components/UploadArea/index.js +10 -11
- 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 +32 -28
- package/dist/cjs/hooks/useTrackRenders.js +2 -2
- package/dist/cjs/hooks.js +3 -3
- package/dist/cjs/index.js +20 -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/volume.js +2 -2
- package/dist/cjs/stores/window.js +2 -2
- package/dist/cjs/stores.js +22 -22
- package/dist/cjs/theme/colors.js +4 -0
- 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-BudIMUsf.mjs → AudioBubble-DbIkKNSG.mjs} +4 -8
- package/dist/esm/chunks/{Avatar-Bk8kdTEa.mjs → Avatar-BdEM1ozC.mjs} +2 -2
- package/dist/esm/chunks/{AvatarGroup-CRixAHW5.mjs → AvatarGroup-BTYNzBuA.mjs} +2 -2
- package/dist/esm/chunks/{Badge-DHvo2-ZQ.mjs → Badge-BpiR8FTR.mjs} +1 -1
- package/dist/esm/chunks/{Button-v92U2QVV.mjs → Button-CsgknV85.mjs} +10 -9
- package/dist/esm/chunks/{ButtonBar-Bn4GhpbO.mjs → ButtonBar-BFZwa2aG.mjs} +3 -3
- package/dist/esm/chunks/{Camera-Cvp_kb-A.mjs → Camera-CqXqVh7j.mjs} +6 -10
- package/dist/esm/chunks/{CheckBox-CUbeBXgg.mjs → CheckBox-CQxfSzXH.mjs} +3 -3
- package/dist/esm/chunks/Chip-B9lOeTEj.mjs +87 -0
- package/dist/esm/chunks/{DivInput-CZ3PVteW.mjs → DivInput-D98_x_cR.mjs} +2 -2
- package/dist/esm/chunks/{Dot-B6Q97aIp.mjs → Dot-CWHimm2-.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-DLltuMUc.mjs → DrggablePanel-CWuLIdX9.mjs} +8 -11
- package/dist/esm/chunks/{DropDown-DqVsJwO3.mjs → DropDown-DmvRDK3x.mjs} +3 -3
- package/dist/esm/chunks/{ErrorSummary-CCTJpTqA.mjs → ErrorSummary-CB6H8_k-.mjs} +3 -7
- package/dist/esm/chunks/{FileIcon-DnEohsNX.mjs → FileIcon-D20gyTFi.mjs} +3 -7
- package/dist/esm/chunks/{FileList-CnuT4Llg.mjs → FileList-C-YZ-FcH.mjs} +5 -5
- package/dist/esm/chunks/{FlexDiv-DGEzQRcq.mjs → FlexDiv-CtfrPPcV.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-BoGryrnc.mjs → Grouper-gDZnuiM0.mjs} +4 -8
- package/dist/esm/chunks/{Icon-CbDAKN_S.mjs → Icon-CF8mSm1j.mjs} +17 -9
- package/dist/esm/chunks/IconButton-DAyyIY8J.mjs +193 -0
- package/dist/esm/chunks/{IndexedDB-Bqjric8V.mjs → IndexedDB-Ckz-KqBO.mjs} +1 -1
- package/dist/esm/chunks/{Label-BlvreqNJ.mjs → Label-2jNz4_6V.mjs} +2 -2
- package/dist/esm/chunks/{Level-COXHoBs6.mjs → Level-CVC8xDqy.mjs} +3 -3
- package/dist/esm/chunks/{Modal-CqBytyja.mjs → Modal-BmNG8fzy.mjs} +5 -5
- package/dist/esm/chunks/{ModalController-6Gc8QRxx.mjs → ModalController-Ce3srWy-.mjs} +3 -7
- package/dist/esm/chunks/{Overlay-iKgSkUKP.mjs → Overlay-B7lugjjj.mjs} +1 -1
- package/dist/esm/chunks/{Pager-XgsZBzcg.mjs → Pager-DURbG5j1.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-BWrcdWvF.mjs → ProgressIndicator-CRc_YmyK.mjs} +3 -7
- package/dist/esm/chunks/{PromptInput-DbT3sVeA.mjs → PromptInput-vnwk-zMH.mjs} +5 -9
- package/dist/esm/chunks/{RadioButton-DUzPaLKa.mjs → RadioButton-BEuDCEOu.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-NjEGYpj4.mjs → RadioButtonList-B_WIvWpr.mjs} +3 -3
- package/dist/esm/chunks/{Slider-Bvnhqzjx.mjs → Slider-CDjKOpoL.mjs} +4 -8
- package/dist/esm/chunks/{Spacer-B2JAN7e8.mjs → Spacer-CdkfmN54.mjs} +1 -1
- package/dist/esm/chunks/{Switch-CspvY_DQ.mjs → Switch-C_DiN4cG.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-BlvOUGJx.mjs → TabBar-D8IYekUP.mjs} +8 -12
- package/dist/esm/chunks/{TextArea-BpMTGopK.mjs → TextArea-DWcOF8Wp.mjs} +4 -3
- package/dist/esm/chunks/{TextField-DELrBLOa.mjs → TextField-D-Y8f0QY.mjs} +6 -10
- package/dist/esm/chunks/{Tip-DBVeB0Zs.mjs → Tip-Cr872A6k.mjs} +2 -2
- package/dist/esm/chunks/{Toast-HU8Pgwsr.mjs → Toast-Bb5Hh3so.mjs} +5 -9
- package/dist/esm/chunks/{ToggleButton-CGpBWhaX.mjs → ToggleButton-_9LchL03.mjs} +7 -5
- package/dist/esm/chunks/{UploadArea-DdV_ILIU.mjs → UploadArea-Dm3tjBoN.mjs} +4 -4
- package/dist/esm/chunks/{WSConnection-eStD8i-1.mjs → WSConnection-B1_GePm4.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-BaPHQ_C4.mjs → WebRTCConnection-DFZPhyph.mjs} +1 -1
- package/dist/esm/chunks/{_types-DR4jXucA.mjs → _types-CI0sR4EH.mjs} +3 -1
- package/dist/esm/chunks/{localDBStore-NpiMrXsA.mjs → localDBStore-C-lYeGJl.mjs} +2 -2
- package/dist/esm/chunks/{microphoneStore-uYs2NQQx.mjs → microphoneStore-zHPtnRfW.mjs} +1 -1
- package/dist/esm/chunks/{misc-BQH7I5Zj.mjs → misc-DjqDmrJE.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-ueYoyFeB.mjs → sseStore-ZGbbKbVB.mjs} +2 -2
- package/dist/esm/chunks/{uploads-worker-CFPGExfT.mjs → uploads-worker-kw6UOEx5.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-DNalSMtC.mjs → uploadsStore-BfyNmYWk.mjs} +1 -1
- package/dist/esm/chunks/{volumeStore-C0iU07fK.mjs → volumeStore-D_5Xqf_0.mjs} +1 -1
- package/dist/esm/chunks/{webRTCStore-Ck8TCzr_.mjs → webRTCStore-Cy7Mo7hB.mjs} +2 -2
- package/dist/esm/chunks/{windowStore-DcYPAWds.mjs → windowStore-CXggRA80.mjs} +1 -1
- package/dist/esm/components/AudioBubble/index.mjs +5 -11
- 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 +9 -15
- package/dist/esm/components/ButtonBar/index.mjs +5 -11
- package/dist/esm/components/Camera/index.mjs +7 -13
- package/dist/esm/components/CheckBox/index.mjs +5 -11
- package/dist/esm/components/Chip/index.mjs +6 -12
- 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 +4 -10
- package/dist/esm/components/DropDown/index.mjs +5 -11
- package/dist/esm/components/ErrorSummary/index.mjs +4 -10
- package/dist/esm/components/FileIcon/index.mjs +4 -10
- package/dist/esm/components/FileList/index.mjs +7 -13
- package/dist/esm/components/FlexDiv/index.mjs +2 -2
- package/dist/esm/components/Grouper/index.mjs +6 -12
- package/dist/esm/components/Icon/index.mjs +5 -11
- package/dist/esm/components/IconButton/index.mjs +8 -14
- 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 +11 -17
- package/dist/esm/components/ModalController/index.mjs +5 -11
- 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 +5 -11
- package/dist/esm/components/PromptInput/index.mjs +12 -18
- package/dist/esm/components/RadioButton/index.mjs +5 -11
- package/dist/esm/components/RadioButtonList/index.mjs +6 -12
- package/dist/esm/components/Slider/index.mjs +5 -11
- 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 +9 -15
- package/dist/esm/components/TextArea/index.mjs +10 -16
- package/dist/esm/components/Textfield/index.mjs +11 -17
- package/dist/esm/components/Tip/index.mjs +3 -3
- package/dist/esm/components/Toast/index.mjs +6 -12
- package/dist/esm/components/ToggleButton/index.mjs +10 -16
- package/dist/esm/components/UploadArea/index.mjs +10 -16
- 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 +32 -28
- package/dist/esm/hooks/useTrackRenders.mjs +2 -2
- package/dist/esm/hooks.mjs +6 -6
- package/dist/esm/index.mjs +53 -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/volume.mjs +2 -2
- package/dist/esm/stores/window.mjs +2 -2
- package/dist/esm/stores.mjs +15 -15
- package/dist/esm/theme/colors.mjs +4 -0
- 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 +14 -1
- package/dist/types/components/Button/Button.d.ts +4 -0
- package/dist/types/components/Button/_types.d.ts +2 -0
- package/dist/types/components/Chip/_types.d.ts +1 -0
- package/dist/types/components/Icon/_types.d.ts +2 -0
- package/dist/types/components/IconButton/_animation.d.ts +18 -0
- package/dist/types/components/IconButton/_types.d.ts +46 -0
- package/dist/types/components/IconButton/index.d.ts +2 -1
- package/dist/types/components/TabBar/_types.d.ts +2 -2
- package/dist/types/components/TextArea/_types.d.ts +1 -0
- package/dist/types/components/ToggleButton/_types.d.ts +5 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/theme/colors/types.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/chunks/IconButton-KFtalJ6A.js +0 -82
- package/dist/esm/chunks/Chip-HGLXF8JO.mjs +0 -87
- package/dist/esm/chunks/IconButton-nOcdRqR3.mjs +0 -96
- /package/dist/cjs/chunks/{MdStreamBuffer-CQGZtTLN.js → MdStreamBuffer-P4x0pDST.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-BqitbvAq.js → SSEConnection-CYqfVBs1.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-i41gzZXM.js → audioVisualizer-D3ZG5ZP6.js} +0 -0
- /package/dist/cjs/chunks/{colors-BlSE7Sf2.js → colors-DbCrvnqF.js} +0 -0
- /package/dist/cjs/chunks/{debounce-C7m-uQW2.js → debounce-DnWdlF44.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-BrwOUMH_.js → modalStore-CJNFUtIy.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-Cep5dDpY.js → sharedTypes-D5nZ9SDg.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-BXKWR6IE.js → tipStore-DV7lnGfJ.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-Y9JmFP0o.js → toastStore-B_Kb_gld.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-yslq87rf.js → tslib.es6-CjqORQO8.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-BF5ZQeUD.mjs → MdStreamBuffer-QqAM_dVR.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-DNA5yBWy.mjs → SSEConnection-Bxy3gcK3.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-CAET7dc9.mjs → audioVisualizer-DKVVhtrd.mjs} +0 -0
- /package/dist/esm/chunks/{colors-BHYMt294.mjs → colors-znQ0X8Pf.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-DpPYyz3x.mjs → debounce-AGOKEQDZ.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-DbxIsSpU.mjs → modalStore-BXnW8M6D.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-DoNQkNSM.mjs → sharedTypes-_CvGLd7A.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-CmyIJWe7.mjs → tipStore-BZPw1gyq.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-BYMHSiu2.mjs → toastStore-BXCjnqI1.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-75ZdAmtm.mjs → tslib.es6-8-nvCYY0.mjs} +0 -0
package/dist/cjs/stores/modal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var modalStore = require("../chunks/modalStore-
|
|
3
|
+
var modalStore = require("../chunks/modalStore-CJNFUtIy.js");
|
|
4
4
|
|
|
5
5
|
require("zustand"), exports.getModal = modalStore.getModal, exports.modalActions = modalStore.modalActions,
|
|
6
6
|
exports.useModal = modalStore.useModal, exports.useModalActions = modalStore.useModalActions,
|
package/dist/cjs/stores/tip.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var tipStore = require("../chunks/tipStore-
|
|
3
|
+
var tipStore = require("../chunks/tipStore-DV7lnGfJ.js");
|
|
4
4
|
|
|
5
5
|
require("zustand"), exports.getTip = tipStore.getTip, exports.tipActions = tipStore.tipActions,
|
|
6
6
|
exports.useTip = tipStore.useTip, exports.useTipActions = tipStore.useTipActions,
|
package/dist/cjs/stores/toast.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var toastStore = require("../chunks/toastStore-
|
|
3
|
+
var toastStore = require("../chunks/toastStore-B_Kb_gld.js");
|
|
4
4
|
|
|
5
5
|
require("zustand"), exports.getToast = toastStore.getToast, exports.toastActions = toastStore.toastActions,
|
|
6
6
|
exports.useToast = toastStore.useToast, exports.useToastActions = toastStore.useToastActions,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var uploadsStore = require("../chunks/uploadsStore-
|
|
3
|
+
var uploadsStore = require("../chunks/uploadsStore-DWM1E-GX.js");
|
|
4
4
|
|
|
5
|
-
require("zustand"), require("../chunks/uploads-worker-
|
|
5
|
+
require("zustand"), require("../chunks/uploads-worker-CpdqGKrs.js"), require("../chunks/tslib.es6-CjqORQO8.js"),
|
|
6
6
|
exports.createUploadsWorker = uploadsStore.createUploadsWorker, exports.getUploads = uploadsStore.getUploads,
|
|
7
7
|
exports.getUploadsError = uploadsStore.getUploadsError, exports.getUploadsWorkerStatus = uploadsStore.getUploadsWorkerStatus,
|
|
8
8
|
exports.uploadsActions = uploadsStore.uploadsActions, exports.uploadsInitialized = uploadsStore.uploadsInitialized,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var volumeStore = require("../chunks/volumeStore-
|
|
3
|
+
var volumeStore = require("../chunks/volumeStore-CpxXslLu.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-CjqORQO8.js"), require("zustand"), exports.getAttachedMedia = volumeStore.getAttachedMedia,
|
|
6
6
|
exports.getMuted = volumeStore.getMuted, exports.getStoredVolume = volumeStore.getStoredVolume,
|
|
7
7
|
exports.getVolume = volumeStore.getVolume, exports.useAttachedMedia = volumeStore.useAttachedMedia,
|
|
8
8
|
exports.useMuted = volumeStore.useMuted, exports.useStoredVolume = volumeStore.useStoredVolume,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var windowStore = require("../chunks/windowStore-
|
|
3
|
+
var windowStore = require("../chunks/windowStore-DV7Ch5Z2.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-CjqORQO8.js"), require("zustand"), Object.defineProperty(exports, "FormFactor", {
|
|
6
6
|
enumerable: !0,
|
|
7
7
|
get: function() {
|
|
8
8
|
return windowStore.FormFactor;
|
package/dist/cjs/stores.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var microphoneStore = require("./chunks/microphoneStore-
|
|
3
|
+
var microphoneStore = require("./chunks/microphoneStore-V2mYQFa4.js"), windowStore = require("./chunks/windowStore-DV7Ch5Z2.js"), uploadsStore = require("./chunks/uploadsStore-DWM1E-GX.js"), volumeStore = require("./chunks/volumeStore-CpxXslLu.js"), modalStore = require("./chunks/modalStore-CJNFUtIy.js"), tipStore = require("./chunks/tipStore-DV7lnGfJ.js"), toastStore = require("./chunks/toastStore-B_Kb_gld.js"), webRTCStore = require("./chunks/webRTCStore-C9e5XlzB.js"), localDBStore = require("./chunks/localDBStore-CmeqEYMi.js"), sseStore = require("./chunks/sseStore-Bql9biBI.js");
|
|
4
4
|
|
|
5
|
-
require("./chunks/tslib.es6-
|
|
6
|
-
require("./chunks/
|
|
7
|
-
require("zustand/react/shallow"), require("./chunks/IndexedDB-
|
|
5
|
+
require("./chunks/tslib.es6-CjqORQO8.js"), require("react"), require("zustand"),
|
|
6
|
+
require("./chunks/uploads-worker-CpdqGKrs.js"), require("./chunks/WebRTCConnection-C_IDgzdx.js"),
|
|
7
|
+
require("zustand/react/shallow"), require("./chunks/IndexedDB-DW-NDU8i.js"), require("./chunks/SSEConnection-CYqfVBs1.js"),
|
|
8
8
|
exports.getCurrentMicDeviceLabel = microphoneStore.getCurrentMicDeviceLabel, exports.getMicrophoneState = microphoneStore.getMicrophoneState,
|
|
9
9
|
exports.microphoneActions = microphoneStore.microphoneActions, exports.useCurrentMicDeviceId = microphoneStore.useCurrentMicDeviceId,
|
|
10
10
|
exports.useCurrentMicDeviceLabel = microphoneStore.useCurrentMicDeviceLabel, exports.useMicActive = microphoneStore.useMicActive,
|
|
@@ -14,16 +14,7 @@ exports.useMicRequesting = microphoneStore.useMicRequesting, exports.useMicStrea
|
|
|
14
14
|
exports.useMicSupported = microphoneStore.useMicSupported, exports.useMicTrack = microphoneStore.useMicTrack,
|
|
15
15
|
exports.useMicrophoneStore = microphoneStore.useMicrophoneStore, exports.useMicrophoneStoreActions = microphoneStore.useMicrophoneStoreActions,
|
|
16
16
|
exports.useMicrophones = microphoneStore.useMicrophones, exports.useProcessedMicStream = microphoneStore.useProcessedMicStream,
|
|
17
|
-
exports.useSyncMicrophoneStore = microphoneStore.useSyncMicrophoneStore, exports
|
|
18
|
-
exports.getMuted = volumeStore.getMuted, exports.getStoredVolume = volumeStore.getStoredVolume,
|
|
19
|
-
exports.getVolume = volumeStore.getVolume, exports.useAttachedMedia = volumeStore.useAttachedMedia,
|
|
20
|
-
exports.useMuted = volumeStore.useMuted, exports.useStoredVolume = volumeStore.useStoredVolume,
|
|
21
|
-
exports.useVolume = volumeStore.useVolume, exports.useVolumeActions = volumeStore.useVolumeActions,
|
|
22
|
-
exports.useVolumeStore = volumeStore.useVolumeStore, exports.volumeActions = volumeStore.volumeActions,
|
|
23
|
-
exports.getWebRTCConnections = webRTCStore.getWebRTCConnections, exports.useWebRTC = webRTCStore.useWebRTC,
|
|
24
|
-
exports.useWebRTCActions = webRTCStore.useWebRTCActions, exports.useWebRTCConnected = webRTCStore.useWebRTCConnected,
|
|
25
|
-
exports.useWebRTCConnection = webRTCStore.useWebRTCConnection, exports.useWebRTCConnections = webRTCStore.useWebRTCConnections,
|
|
26
|
-
exports.useWebRTCStore = webRTCStore.useWebRTCStore, Object.defineProperty(exports, "FormFactor", {
|
|
17
|
+
exports.useSyncMicrophoneStore = microphoneStore.useSyncMicrophoneStore, Object.defineProperty(exports, "FormFactor", {
|
|
27
18
|
enumerable: !0,
|
|
28
19
|
get: function() {
|
|
29
20
|
return windowStore.FormFactor;
|
|
@@ -45,14 +36,23 @@ exports.getUploadsWorkerStatus = uploadsStore.getUploadsWorkerStatus, exports.up
|
|
|
45
36
|
exports.uploadsInitialized = uploadsStore.uploadsInitialized, exports.useUploads = uploadsStore.useUploads,
|
|
46
37
|
exports.useUploadsActions = uploadsStore.useUploadsActions, exports.useUploadsError = uploadsStore.useUploadsError,
|
|
47
38
|
exports.useUploadsInitialized = uploadsStore.useUploadsInitialized, exports.useUploadsStore = uploadsStore.useUploadsStore,
|
|
48
|
-
exports.useUploadsWorkerStatus = uploadsStore.useUploadsWorkerStatus, exports.
|
|
49
|
-
exports.
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
52
|
-
exports.
|
|
53
|
-
exports.
|
|
54
|
-
exports.
|
|
55
|
-
exports.
|
|
39
|
+
exports.useUploadsWorkerStatus = uploadsStore.useUploadsWorkerStatus, exports.getAttachedMedia = volumeStore.getAttachedMedia,
|
|
40
|
+
exports.getMuted = volumeStore.getMuted, exports.getStoredVolume = volumeStore.getStoredVolume,
|
|
41
|
+
exports.getVolume = volumeStore.getVolume, exports.useAttachedMedia = volumeStore.useAttachedMedia,
|
|
42
|
+
exports.useMuted = volumeStore.useMuted, exports.useStoredVolume = volumeStore.useStoredVolume,
|
|
43
|
+
exports.useVolume = volumeStore.useVolume, exports.useVolumeActions = volumeStore.useVolumeActions,
|
|
44
|
+
exports.useVolumeStore = volumeStore.useVolumeStore, exports.volumeActions = volumeStore.volumeActions,
|
|
45
|
+
exports.getModal = modalStore.getModal, exports.modalActions = modalStore.modalActions,
|
|
46
|
+
exports.useModal = modalStore.useModal, exports.useModalActions = modalStore.useModalActions,
|
|
47
|
+
exports.useModalStore = modalStore.useModalStore, exports.getTip = tipStore.getTip,
|
|
48
|
+
exports.tipActions = tipStore.tipActions, exports.useTip = tipStore.useTip, exports.useTipActions = tipStore.useTipActions,
|
|
49
|
+
exports.useTipStore = tipStore.useTipStore, exports.getToast = toastStore.getToast,
|
|
50
|
+
exports.toastActions = toastStore.toastActions, exports.useToast = toastStore.useToast,
|
|
51
|
+
exports.useToastActions = toastStore.useToastActions, exports.useToastStore = toastStore.useToastStore,
|
|
52
|
+
exports.getWebRTCConnections = webRTCStore.getWebRTCConnections, exports.useWebRTC = webRTCStore.useWebRTC,
|
|
53
|
+
exports.useWebRTCActions = webRTCStore.useWebRTCActions, exports.useWebRTCConnected = webRTCStore.useWebRTCConnected,
|
|
54
|
+
exports.useWebRTCConnection = webRTCStore.useWebRTCConnection, exports.useWebRTCConnections = webRTCStore.useWebRTCConnections,
|
|
55
|
+
exports.useWebRTCStore = webRTCStore.useWebRTCStore, exports.localDBActions = localDBStore.localDBActions,
|
|
56
56
|
exports.useLocalDB = localDBStore.useLocalDB, exports.useLocalDBError = localDBStore.useLocalDBError,
|
|
57
57
|
exports.useLocalDBStore = localDBStore.useLocalDBStore, exports.useLocalDBValues = localDBStore.useLocalDBValues,
|
|
58
58
|
exports.useManageLocalDB = localDBStore.useManageLocalDB, exports.useConnectionClose = sseStore.useConnectionClose,
|
package/dist/cjs/theme/colors.js
CHANGED
|
@@ -155,6 +155,7 @@ const coreColors = {
|
|
|
155
155
|
"core-text-secondary": coreColors["brand-grey-700"],
|
|
156
156
|
"core-text-tertiary": coreColors["brand-grey-600"],
|
|
157
157
|
"core-text-special": coreColors["brand-sea-500"],
|
|
158
|
+
"core-text-accent": coreColors["brand-sky-500"],
|
|
158
159
|
"core-link-primary": coreColors["brand-sea-500"],
|
|
159
160
|
"eor-tag-employee": coreColors["brand-sky-700"],
|
|
160
161
|
"eor-tag-overdue": coreColors["product-red-500"],
|
|
@@ -222,6 +223,7 @@ const coreColors = {
|
|
|
222
223
|
"core-text-secondary": coreColors["brand-grey-200"],
|
|
223
224
|
"core-text-tertiary": coreColors["brand-grey-400"],
|
|
224
225
|
"core-text-special": coreColors["brand-sky-300"],
|
|
226
|
+
"core-text-accent": coreColors["brand-sky-300"],
|
|
225
227
|
"core-link-primary": coreColors["brand-sky-300"],
|
|
226
228
|
"eor-tag-employee": coreColors["brand-sky-700"],
|
|
227
229
|
"eor-tag-overdue": coreColors["product-red-400"],
|
|
@@ -290,6 +292,7 @@ exports.colorClass = {
|
|
|
290
292
|
"core-text-primary": "core-text-primary",
|
|
291
293
|
"core-text-secondary": "core-text-secondary",
|
|
292
294
|
"core-text-special": "core-text-special",
|
|
295
|
+
"core-text-accent": "core-text-accent",
|
|
293
296
|
"core-text-tertiary": "core-text-tertiary",
|
|
294
297
|
"core-link-primary": "core-link-primary",
|
|
295
298
|
"eor-tag-employee": "eor-tag-employee",
|
|
@@ -357,6 +360,7 @@ exports.colorClass = {
|
|
|
357
360
|
"core-text-primary": "var(--core-text-primary)",
|
|
358
361
|
"core-text-secondary": "var(--core-text-secondary)",
|
|
359
362
|
"core-text-special": "var(--core-text-special)",
|
|
363
|
+
"core-text-accent": "var(--core-text-accent)",
|
|
360
364
|
"core-text-tertiary": "var(--core-text-tertiary)",
|
|
361
365
|
"core-link-primary": "var(--core-link-primary)",
|
|
362
366
|
"eor-tag-employee": "var(--eor-tag-employee)",
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var misc = require("../chunks/misc-
|
|
3
|
+
var misc = require("../chunks/misc-CGesOGlL.js"), debounce = require("../chunks/debounce-DnWdlF44.js"), colors = require("../chunks/colors-DbCrvnqF.js"), IndexedDB = require("../chunks/IndexedDB-DW-NDU8i.js"), audioVisualizer = require("../chunks/audioVisualizer-D3ZG5ZP6.js"), MdStreamBuffer = require("../chunks/MdStreamBuffer-P4x0pDST.js"), SSEConnection = require("../chunks/SSEConnection-CYqfVBs1.js"), WSConnection = require("../chunks/WSConnection-D6rZfnAf.js"), WebRTCConnection = require("../chunks/WebRTCConnection-C_IDgzdx.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-CjqORQO8.js"), exports.copyToClipboard = misc.copyToClipboard,
|
|
6
6
|
exports.hexToRgb = misc.hexToRgb, exports.debounce = debounce.debounce, exports.addOpacity = colors.addOpacity,
|
|
7
7
|
exports.tintFromColor = colors.tintFromColor, exports.IndexedDB = IndexedDB.IndexedDB,
|
|
8
8
|
exports.AudioVisualizer = audioVisualizer.AudioVisualizer, exports.MdBuffer = MdStreamBuffer.MdBuffer,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var IndexedDB = require("../../chunks/IndexedDB-
|
|
3
|
+
var IndexedDB = require("../../chunks/IndexedDB-DW-NDU8i.js"), audioVisualizer = require("../../chunks/audioVisualizer-D3ZG5ZP6.js"), MdStreamBuffer = require("../../chunks/MdStreamBuffer-P4x0pDST.js"), SSEConnection = require("../../chunks/SSEConnection-CYqfVBs1.js"), WSConnection = require("../../chunks/WSConnection-D6rZfnAf.js"), WebRTCConnection = require("../../chunks/WebRTCConnection-C_IDgzdx.js");
|
|
4
4
|
|
|
5
|
-
require("../../chunks/tslib.es6-
|
|
5
|
+
require("../../chunks/tslib.es6-CjqORQO8.js"), exports.IndexedDB = IndexedDB.IndexedDB,
|
|
6
6
|
exports.AudioVisualizer = audioVisualizer.AudioVisualizer, exports.MdBuffer = MdStreamBuffer.MdBuffer,
|
|
7
7
|
exports.SSEConnection = SSEConnection.SSEConnection, exports.WSConnection = WSConnection.WSConnection,
|
|
8
8
|
exports.WebRTCConnection = WebRTCConnection.WebRTCConnection;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var uploadsWorker = require("../../chunks/uploads-worker-
|
|
3
|
+
var uploadsWorker = require("../../chunks/uploads-worker-CpdqGKrs.js");
|
|
4
4
|
|
|
5
|
-
require("../../chunks/tslib.es6-
|
|
5
|
+
require("../../chunks/tslib.es6-CjqORQO8.js"), uploadsWorker.registerUploadsWorker();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,15 +9,11 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/colors.mjs";
|
|
11
11
|
|
|
12
|
-
import { a as addOpacity } from "./colors-
|
|
12
|
+
import { a as addOpacity } from "./colors-znQ0X8Pf.mjs";
|
|
13
13
|
|
|
14
|
-
import { A as AudioVisualizer } from "./audioVisualizer-
|
|
14
|
+
import { A as AudioVisualizer } from "./audioVisualizer-DKVVhtrd.mjs";
|
|
15
15
|
|
|
16
|
-
import "./
|
|
17
|
-
|
|
18
|
-
import "./microphoneStore-uYs2NQQx.mjs";
|
|
19
|
-
|
|
20
|
-
import "./volumeStore-C0iU07fK.mjs";
|
|
16
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
21
17
|
|
|
22
18
|
import "../hooks/useWindow.mjs";
|
|
23
19
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useRef, useState, useMemo, useEffect, useCallback } from "react";
|
|
7
7
|
|
|
8
|
-
import { n as normalizedPercent, a as accessibleKeyDown, s as setStyle } from "./misc-
|
|
8
|
+
import { n as normalizedPercent, a as accessibleKeyDown, s as setStyle } from "./misc-DjqDmrJE.mjs";
|
|
9
9
|
|
|
10
10
|
var css_wrapper = "Avatar-module_wrapper__ab1D7 flexBox-module_row__z24tF type-module_body-m-regular__LuQBA", css_user = "Avatar-module_user__ZQv0Q flexBox-module_row__z24tF type-module_body-m-regular__LuQBA";
|
|
11
11
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useMemo } from "react";
|
|
7
7
|
|
|
8
|
-
import { A as Avatar } from "./Avatar-
|
|
8
|
+
import { A as Avatar } from "./Avatar-BdEM1ozC.mjs";
|
|
9
9
|
|
|
10
10
|
var css_wrapper = "AvatarGroup-module_wrapper__MtOyq flexBox-module_rowStart__4tcxS", css_avatar = "AvatarGroup-module_avatar__5NVpW";
|
|
11
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,15 +7,15 @@ import { motion } from "motion/react";
|
|
|
7
7
|
|
|
8
8
|
import React, { forwardRef, useState, useRef, useCallback, useEffect, useImperativeHandle, useMemo } from "react";
|
|
9
9
|
|
|
10
|
-
import { B as Badge } from "./Badge-
|
|
10
|
+
import { B as Badge } from "./Badge-BpiR8FTR.mjs";
|
|
11
11
|
|
|
12
|
-
import { D as Dot } from "./Dot-
|
|
12
|
+
import { D as Dot } from "./Dot-CWHimm2-.mjs";
|
|
13
13
|
|
|
14
|
-
import { I as Icon } from "./Icon-
|
|
14
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
15
15
|
|
|
16
|
-
import { P as ProgressIndicator } from "./ProgressIndicator-
|
|
16
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-CRc_YmyK.mjs";
|
|
17
17
|
|
|
18
|
-
import { T as ToolTipType } from "./sharedTypes-
|
|
18
|
+
import { T as ToolTipType } from "./sharedTypes-_CvGLd7A.mjs";
|
|
19
19
|
|
|
20
20
|
var css = {
|
|
21
21
|
button: "Button-module_button__2ZuB7 flexBox-module_row__z24tF",
|
|
@@ -29,12 +29,13 @@ var css = {
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
const ButtonComponent = forwardRef((props, buttonRef) => {
|
|
32
|
-
const {children: children, size: size = "medium", variant: variant = "outline", label: label, labelSize: labelSize = "m", iconRight: iconRight, iconLeft: iconLeft, iconFill: iconFill = !1, count: count = (void 0 === props.count ? void 0 : Number(props.count)), showDot: showDot, tooltip: tooltip, round: round = !1, state: state = "normal", fill: fill = !1, iconSize: iconSize = (void 0 === props.iconSize ? 20 : Number(props.iconSize)), width: width = "min-content", underline: underline = !1, borderRadius: borderRadius, iconColor: iconColor, backgroundColor: backgroundColor, backgroundColorDisabled: backgroundColorDisabled, bgColor: bgColor, bgColorDisabled: bgColorDisabled, labelColor: labelColor, transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, paddingRight: paddingRight, paddingLeft: paddingLeft, progress: progress = !1, working: working = !1, duration: duration, trigger: trigger = !1, destructive: destructive = !1, onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "children", "size", "variant", "label", "labelSize", "iconRight", "iconLeft", "iconFill", "count", "showDot", "tooltip", "round", "state", "fill", "iconSize", "width", "underline", "borderRadius", "iconColor", "backgroundColor", "backgroundColorDisabled", "bgColor", "bgColorDisabled", "labelColor", "transition", "variants", "initial", "animate", "exit", "paddingRight", "paddingLeft", "progress", "working", "duration", "trigger", "destructive", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorDisabled = null != backgroundColorDisabled ? backgroundColorDisabled : bgColorDisabled, [btnState, setBtnState] = useState(state), [lockedWidth, setLockedWidth] = useState(void 0), [playing, setPlaying] = useState(working), ref = useRef(null), lockCurrentWidth = useCallback(() => {
|
|
32
|
+
const {children: children, size: size = "medium", variant: variant = "outline", label: label, labelSize: labelSize = "m", iconRight: iconRight, iconLeft: iconLeft, iconFill: iconFill = !1, count: count = (void 0 === props.count ? void 0 : Number(props.count)), showDot: showDot, tooltip: tooltip, round: round = !1, state: state = "normal", fill: fill = !1, iconSize: iconSize = (void 0 === props.iconSize ? 20 : Number(props.iconSize)), width: width = "min-content", underline: underline = !1, borderRadius: borderRadius, iconColor: iconColor, backgroundColor: backgroundColor, backgroundColorDisabled: backgroundColorDisabled, bgColor: bgColor, bgColorDisabled: bgColorDisabled, labelColor: labelColor, transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, paddingRight: paddingRight, paddingLeft: paddingLeft, progress: progress = !1, working: working = !1, duration: duration, trigger: trigger = !1, destructive: destructive = !1, link: link, target: target = "_self", onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "children", "size", "variant", "label", "labelSize", "iconRight", "iconLeft", "iconFill", "count", "showDot", "tooltip", "round", "state", "fill", "iconSize", "width", "underline", "borderRadius", "iconColor", "backgroundColor", "backgroundColorDisabled", "bgColor", "bgColorDisabled", "labelColor", "transition", "variants", "initial", "animate", "exit", "paddingRight", "paddingLeft", "progress", "working", "duration", "trigger", "destructive", "link", "target", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorDisabled = null != backgroundColorDisabled ? backgroundColorDisabled : bgColorDisabled, [btnState, setBtnState] = useState(state), [lockedWidth, setLockedWidth] = useState(void 0), [playing, setPlaying] = useState(working), ref = useRef(null), lockCurrentWidth = useCallback(() => {
|
|
33
33
|
ref.current && setLockedWidth(ref.current.offsetWidth);
|
|
34
34
|
}, []), handleClick = useCallback(e => {
|
|
35
35
|
onToolTip(null), "disabled" !== btnState && (progress && duration ? (lockCurrentWidth(),
|
|
36
|
-
setPlaying(!0)) :
|
|
37
|
-
|
|
36
|
+
setPlaying(!0)) : (link && void 0 !== globalThis.window && globalThis.window.open(link, target),
|
|
37
|
+
onClick(e)));
|
|
38
|
+
}, [ onToolTip, btnState, progress, duration, lockCurrentWidth, onClick, link, target ]);
|
|
38
39
|
useEffect(() => setBtnState(state), [ state ]), useEffect(() => {
|
|
39
40
|
working ? lockCurrentWidth() : setLockedWidth(void 0), setPlaying(working);
|
|
40
41
|
}, [ working, lockCurrentWidth ]), useImperativeHandle(buttonRef, () => ({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useState, useEffect, useCallback, useMemo, useRef } from "react";
|
|
7
7
|
|
|
8
|
-
import { s as setStyle } from "./misc-
|
|
8
|
+
import { s as setStyle } from "./misc-DjqDmrJE.mjs";
|
|
9
9
|
|
|
10
|
-
import { I as Icon } from "./Icon-
|
|
10
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
11
11
|
|
|
12
12
|
var css_wrapper = "ButtonBar-module_wrapper__FYZ3s flexBox-module_rowStart__4tcxS", css_button = "ButtonBar-module_button__bMR3h flexBox-module_row__z24tF", css_selected = "ButtonBar-module_selected__wKvmi";
|
|
13
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __awaiter } from "./tslib.es6-
|
|
2
|
+
import { a as __awaiter } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,21 +9,17 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/colors.mjs";
|
|
11
11
|
|
|
12
|
-
import { a as accessibleKeyDown } from "./misc-
|
|
12
|
+
import { a as accessibleKeyDown } from "./misc-DjqDmrJE.mjs";
|
|
13
13
|
|
|
14
|
-
import { a as addOpacity } from "./colors-
|
|
14
|
+
import { a as addOpacity } from "./colors-znQ0X8Pf.mjs";
|
|
15
15
|
|
|
16
|
-
import "./
|
|
17
|
-
|
|
18
|
-
import "./microphoneStore-uYs2NQQx.mjs";
|
|
19
|
-
|
|
20
|
-
import "./volumeStore-C0iU07fK.mjs";
|
|
16
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
21
17
|
|
|
22
18
|
import "../hooks/useWindow.mjs";
|
|
23
19
|
|
|
24
|
-
import { A as Avatar } from "./Avatar-
|
|
20
|
+
import { A as Avatar } from "./Avatar-BdEM1ozC.mjs";
|
|
25
21
|
|
|
26
|
-
import { I as Icon } from "./Icon-
|
|
22
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
27
23
|
|
|
28
24
|
var css_wrapper = "Camera-module_wrapper__GOsKp flexBox-module_column__ezvMq", css_video = "Camera-module_video__Q2r9B", css_controls = "Camera-module_controls__qXYoL flexBox-module_rowBetween__5FEvi", css_controlsRight = "Camera-module_controlsRight__VcIz7 flexBox-module_rowEnd__rVdVm", css_controlsCenter = "Camera-module_controlsCenter__e-erq flexBox-module_row__z24tF", css_controlsLeft = "Camera-module_controlsLeft__bR4TN flexBox-module_rowStart__4tcxS", css_error = "Camera-module_error__t0w-d flexBox-module_row__z24tF type-module_body-m-regular__LuQBA", css_poster = "Camera-module_poster__Gun-v flexBox-module_row__z24tF type-module_body-m-regular__LuQBA", css_snapshotFrame = "Camera-module_snapshotFrame__YM6Eu flexBox-module_row__z24tF", css_clear = "Camera-module_clear__aaCfT", css_snapshot = "Camera-module_snapshot__odQH0", css_toolbarButton = "Camera-module_toolbarButton__mnmoF flexBox-module_columnStartCenter__PKcrG", css_buttonIcon = "Camera-module_buttonIcon__a-VBR flexBox-module_row__z24tF", css_buttonLabel = "Camera-module_buttonLabel__6BEs1 flexBox-module_row__z24tF type-module_body-xs-regular__ZAFft";
|
|
29
25
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,9 +7,9 @@ import { motion } from "motion/react";
|
|
|
7
7
|
|
|
8
8
|
import React, { useState, useEffect, useMemo, useCallback } from "react";
|
|
9
9
|
|
|
10
|
-
import { a as accessibleKeyDown } from "./misc-
|
|
10
|
+
import { a as accessibleKeyDown } from "./misc-DjqDmrJE.mjs";
|
|
11
11
|
|
|
12
|
-
import { I as Icon } from "./Icon-
|
|
12
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
13
13
|
|
|
14
14
|
var css_wrapper = "CheckBox-module_wrapper__uRsjI flexBox-module_row__z24tF", css_icon = "CheckBox-module_icon__FoDJN flexBox-module_row__z24tF", css_label = "CheckBox-module_label__0AiBp type-module_body-m-regular__LuQBA";
|
|
15
15
|
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
|
+
|
|
4
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
import React, { useState, useCallback, useMemo } from "react";
|
|
7
|
+
|
|
8
|
+
import { s as setStyle, a as accessibleKeyDown } from "./misc-DjqDmrJE.mjs";
|
|
9
|
+
|
|
10
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
11
|
+
|
|
12
|
+
import { T as ToolTipType } from "./sharedTypes-_CvGLd7A.mjs";
|
|
13
|
+
|
|
14
|
+
var css = {
|
|
15
|
+
chip: "Chip-module_chip__0nys- flexBox-module_row__z24tF",
|
|
16
|
+
icon: "Chip-module_icon__dtR-K flexBox-module_row__z24tF",
|
|
17
|
+
xs: "Chip-module_xs__s-KNG type-module_body-xs-regular__ZAFft",
|
|
18
|
+
s: "Chip-module_s__2KTXi type-module_body-s-regular__vRHSP",
|
|
19
|
+
m: "Chip-module_m__l2u3N type-module_body-m-regular__LuQBA",
|
|
20
|
+
l: "Chip-module_l__3MqPN type-module_body-l-regular__lOYbg"
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const Chip = React.memo(props => {
|
|
24
|
+
const {variant: variant = "normal", children: children, label: label, icon: icon, tooltip: tooltip, iconSize: iconSize = 20, disabled: disabled = !1, focused: focused = !1, iconPosition: iconPosition = "left", labelSize: labelSize = "m", labelColor: labelColor = "var(--core-text-primary)", labelColorHover: labelColorHover = ("normal" === variant ? labelColor : "var(--core-text-special)"), iconColor: iconColor = "var(--core-text-primary)", iconColorHover: iconColorHover = ("normal" === variant ? iconColor : "var(--core-text-special)"), backgroundColor: backgroundColor, backgroundColorHover: backgroundColorHover, borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-text-primary)", borderColorHover: borderColorHover = ("normal" === variant ? borderColor : "var(--core-text-special)"), borderColorDisabled: borderColorDisabled = "var(--core-text-disabled)", bgColor: bgColor = "transparent", bgColorHover: bgColorHover = ("normal" === variant ? bgColor : "var(--core-surface-secondary)"), borderRadius: borderRadius = 8, paddingTop: paddingTop, paddingTops: paddingTops = 8, paddingSides: paddingSides = 16, gap: gap = 4, onToolTip: onToolTip = () => null, onClick: onClick = () => null} = props, divAttributes = __rest(props, [ "variant", "children", "label", "icon", "tooltip", "iconSize", "disabled", "focused", "iconPosition", "labelSize", "labelColor", "labelColorHover", "iconColor", "iconColorHover", "backgroundColor", "backgroundColorHover", "borderWidth", "borderSize", "borderColor", "borderColorHover", "borderColorDisabled", "bgColor", "bgColorHover", "borderRadius", "paddingTop", "paddingTops", "paddingSides", "gap", "onToolTip", "onClick" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [isHovered, setIsHovered] = useState(!1), resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorHover = null != backgroundColorHover ? backgroundColorHover : bgColorHover, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, resolvedPaddingTop = null != paddingTop ? paddingTop : paddingTops, handleClick = useCallback(e => {
|
|
25
|
+
disabled || onClick(e);
|
|
26
|
+
}, [ disabled, onClick ]), handleMouseEnter = useCallback((enter, event) => {
|
|
27
|
+
if (enter) {
|
|
28
|
+
if (tooltip) {
|
|
29
|
+
const tip = {
|
|
30
|
+
type: ToolTipType.button,
|
|
31
|
+
payload: {
|
|
32
|
+
label: tooltip
|
|
33
|
+
},
|
|
34
|
+
ref: null,
|
|
35
|
+
event: event
|
|
36
|
+
};
|
|
37
|
+
onToolTip(tip);
|
|
38
|
+
}
|
|
39
|
+
"button" === variant && setIsHovered(!0);
|
|
40
|
+
} else onToolTip(null), setIsHovered(!1);
|
|
41
|
+
}, [ tooltip, variant, onToolTip ]), padding = useMemo(() => {
|
|
42
|
+
if (!label || !icon) return `${resolvedPaddingTop}px ${paddingSides}px`;
|
|
43
|
+
return `${resolvedPaddingTop}px ${"right" === iconPosition ? paddingSides - 4 : paddingSides}px ${resolvedPaddingTop}px ${"right" === iconPosition ? paddingSides : paddingSides - 4}px`;
|
|
44
|
+
}, [ icon, iconPosition, resolvedPaddingTop, paddingSides, label ]), computedIconColor = useMemo(() => disabled ? "var(--core-text-disabled)" : isHovered ? null != iconColorHover ? iconColorHover : "var(--core-text-special)" : null != iconColor ? iconColor : "var(--core-text-primary)", [ iconColor, disabled, isHovered, iconColorHover ]), cssVars = useMemo(() => ({
|
|
45
|
+
"--ui-chip-padding": padding,
|
|
46
|
+
"--ui-chip-gap": setStyle(gap),
|
|
47
|
+
"--ui-chip-border-radius": setStyle(borderRadius),
|
|
48
|
+
"--ui-chip-border-size": setStyle(resolvedBorderWidth),
|
|
49
|
+
"--ui-chip-border-color": disabled ? borderColorDisabled : borderColor,
|
|
50
|
+
"--ui-chip-border-color-hover": disabled ? borderColorDisabled : borderColorHover,
|
|
51
|
+
"--ui-chip-bg-color": resolvedBackgroundColor,
|
|
52
|
+
"--ui-chip-bg-color-hover": disabled ? resolvedBackgroundColor : resolvedBackgroundColorHover,
|
|
53
|
+
"--ui-chip-label-color": disabled ? "var(--core-text-disabled)" : labelColor,
|
|
54
|
+
"--ui-chip-label-color-hover": disabled ? "var(--core-text-disabled)" : labelColorHover,
|
|
55
|
+
"--ui-chip-cursor": disabled || "normal" === variant ? "default" : "pointer"
|
|
56
|
+
}), [ padding, resolvedBackgroundColor, borderColor, borderColorDisabled, borderColorHover, resolvedBorderWidth, resolvedBackgroundColorHover, labelColorHover, labelColor, gap, borderRadius, disabled, variant ]);
|
|
57
|
+
return jsxs("div", Object.assign({
|
|
58
|
+
id: divId,
|
|
59
|
+
className: `${css.chip}${divClass}`,
|
|
60
|
+
style: Object.assign(Object.assign({}, divStyle), cssVars),
|
|
61
|
+
onKeyDown: e => accessibleKeyDown(e, () => handleClick(e)),
|
|
62
|
+
onClick: handleClick,
|
|
63
|
+
onMouseEnter: e => handleMouseEnter(!0, e),
|
|
64
|
+
onMouseLeave: e => handleMouseEnter(!1, e)
|
|
65
|
+
}, rest, {
|
|
66
|
+
children: [ icon && "right" !== iconPosition && jsx("div", {
|
|
67
|
+
className: css.icon,
|
|
68
|
+
children: jsx(Icon, {
|
|
69
|
+
name: icon,
|
|
70
|
+
size: iconSize,
|
|
71
|
+
strokeColor: computedIconColor
|
|
72
|
+
})
|
|
73
|
+
}), (children || label) && jsx("div", {
|
|
74
|
+
className: css[labelSize],
|
|
75
|
+
children: null != children ? children : label
|
|
76
|
+
}), icon && "right" === iconPosition && jsx("div", {
|
|
77
|
+
className: css.icon,
|
|
78
|
+
children: jsx(Icon, {
|
|
79
|
+
name: icon,
|
|
80
|
+
size: iconSize,
|
|
81
|
+
strokeColor: computedIconColor
|
|
82
|
+
})
|
|
83
|
+
}) ]
|
|
84
|
+
}));
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
export { Chip as C };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ import { motion } from "motion/react";
|
|
|
7
7
|
|
|
8
8
|
import React, { useRef, useState, useCallback, useEffect, useMemo } from "react";
|
|
9
9
|
|
|
10
|
-
import { b as cleanString } from "./misc-
|
|
10
|
+
import { b as cleanString } from "./misc-DjqDmrJE.mjs";
|
|
11
11
|
|
|
12
12
|
var css_wrapper = "DivInput-module_wrapper__ZQxY-", css_input = "DivInput-module_input__J34-l type-module_body-m-regular__LuQBA";
|
|
13
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,13 +9,9 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/colors.mjs";
|
|
11
11
|
|
|
12
|
-
import { p as pointerPosition } from "./misc-
|
|
12
|
+
import { p as pointerPosition } from "./misc-DjqDmrJE.mjs";
|
|
13
13
|
|
|
14
|
-
import "./
|
|
15
|
-
|
|
16
|
-
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
|
-
|
|
18
|
-
import "./volumeStore-C0iU07fK.mjs";
|
|
14
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
19
15
|
|
|
20
16
|
import "../hooks/useWindow.mjs";
|
|
21
17
|
|
|
@@ -50,7 +46,8 @@ const DraggablePanel = React.memo(props => {
|
|
|
50
46
|
}, borderRight: borderRight = "1px solid var(--core-outline-secondary)", borderLeft: borderLeft = "1px solid var(--core-outline-secondary)", bgColor: bgColor = "transparent", drags: drags = "right", isTouchDevice: isTouchDevice = !1, disableOnContext: disableOnContext = !1, dragHandle: dragHandle = !0, dragHandleStyle: dragHandleStyle = {
|
|
51
47
|
height: 24,
|
|
52
48
|
width: 9
|
|
53
|
-
}, containerRef: containerRef, onResize: onResize = () => null, onResizeStart: onResizeStart = () => null, onResizeEnd: onResizeEnd = () => null} = props, divAttributes = __rest(props, [ "children", "sizeConstraints", "isClosed", "resizeHandle", "borderRight", "borderLeft", "bgColor", "drags", "isTouchDevice", "disableOnContext", "dragHandle", "dragHandleStyle", "containerRef", "onResize", "onResizeStart", "onResizeEnd" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", handle = useRef(null), div = useRef(null), [isDragging, setIsDragging] = useState(!1), isOver = useRef(!1), gripper = Object.assign({}, resizeHandle), containerSize = useObserveResize(containerRef), panelSize = useObserveResize(div), [handleHighlight, setHandleHighlight] = useState(!1), [lastWidth, setLastWidth] = useState(null), [panelClosed, setPanelClosed] = useState(isClosed), [constraints, setConstraints] = useState(() => resolveConstraints(sizeConstraints)), [contWidth, setContWidth] = useState(void 0), timer = useRef(null), closed = panelSize.width <= 1, startX = useRef(0), startWidth = useRef(0), divWidth = useRef(0), divHeight = useRef(0), deltaWidth = useRef(0)
|
|
49
|
+
}, containerRef: containerRef, onResize: onResize = () => null, onResizeStart: onResizeStart = () => null, onResizeEnd: onResizeEnd = () => null} = props, divAttributes = __rest(props, [ "children", "sizeConstraints", "isClosed", "resizeHandle", "borderRight", "borderLeft", "bgColor", "drags", "isTouchDevice", "disableOnContext", "dragHandle", "dragHandleStyle", "containerRef", "onResize", "onResizeStart", "onResizeEnd" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", handle = useRef(null), div = useRef(null), [isDragging, setIsDragging] = useState(!1), isOver = useRef(!1), gripper = Object.assign({}, resizeHandle), containerSize = useObserveResize(containerRef), panelSize = useObserveResize(div), [handleHighlight, setHandleHighlight] = useState(!1), [lastWidth, setLastWidth] = useState(null), [panelClosed, setPanelClosed] = useState(isClosed), [constraints, setConstraints] = useState(() => resolveConstraints(sizeConstraints)), [contWidth, setContWidth] = useState((null == containerRef ? void 0 : containerRef.current) ? containerRef.current.offsetWidth : void 0 !== globalThis.window ? window.innerWidth : void 0), [mounted, setMounted] = useState(!1), timer = useRef(null), closed = panelSize.width <= 1, startX = useRef(0), startWidth = useRef(0), divWidth = useRef(0), divHeight = useRef(0), deltaWidth = useRef(0);
|
|
50
|
+
const handleWindowResize = useCallback(() => {
|
|
54
51
|
(null == containerRef ? void 0 : containerRef.current) || setContWidth(window.innerWidth);
|
|
55
52
|
}, [ containerRef ]), handleMouseOver = useCallback(() => {
|
|
56
53
|
isOver.current = !0, setHighlight(!0);
|
|
@@ -146,12 +143,12 @@ const DraggablePanel = React.memo(props => {
|
|
|
146
143
|
})), () => {
|
|
147
144
|
hl && (hl.removeEventListener("mousedown", initDrag, !1), hl.removeEventListener("touchstart", initDrag));
|
|
148
145
|
};
|
|
149
|
-
}, [ drags, initDrag ]);
|
|
146
|
+
}, [ drags, initDrag ]), useEffect(() => setMounted(!0), []);
|
|
150
147
|
const leftRightStyle = useMemo(() => "right" === drags ? {
|
|
151
148
|
right: isTouchDevice ? -22 : -(gripper.width || 10) / 2
|
|
152
149
|
} : {
|
|
153
150
|
left: isTouchDevice ? -22 : -(gripper.width || 10) / 2
|
|
154
|
-
}, [ drags, isTouchDevice, gripper.width ]), normalizeWidth = useCallback(width => "number" == typeof width ? width <= 1 && width >= 0 ?
|
|
151
|
+
}, [ drags, isTouchDevice, gripper.width ]), normalizeWidth = useCallback(width => mounted ? "number" == typeof width ? width <= 1 && width >= 0 ? contWidth ? contWidth * width + "px" : 0 : `${width}px` : width : "0px", [ contWidth, mounted ]), width = useMemo(() => drags ? panelClosed ? 0 : lastWidth || normalizeWidth(constraints.initial) : "100%", [ drags, panelClosed, lastWidth, constraints.initial, normalizeWidth ]), cssVars = useMemo(() => ({
|
|
155
152
|
"--panel-bg": null != bgColor ? bgColor : "transparent"
|
|
156
153
|
}), [ bgColor ]);
|
|
157
154
|
return jsxs("div", Object.assign({
|
|
@@ -177,7 +174,7 @@ const DraggablePanel = React.memo(props => {
|
|
|
177
174
|
display: closed || !drags ? "none" : "flex",
|
|
178
175
|
alignItems: "center",
|
|
179
176
|
justifyContent: "center",
|
|
180
|
-
zIndex:
|
|
177
|
+
zIndex: "var(--elevation-overlay)",
|
|
181
178
|
top: 0
|
|
182
179
|
}, leftRightStyle), {
|
|
183
180
|
bottom: 0,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useState, useRef, useEffect, useCallback, useMemo } from "react";
|
|
7
7
|
|
|
8
|
-
import { s as setStyle } from "./misc-
|
|
8
|
+
import { s as setStyle } from "./misc-DjqDmrJE.mjs";
|
|
9
9
|
|
|
10
|
-
import { I as Icon } from "./Icon-
|
|
10
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
11
11
|
|
|
12
12
|
var css = {
|
|
13
13
|
wrapper: "DropDown-module_wrapper__CyX0u flexBox-module_rowStart__4tcxS",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -11,13 +11,9 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
11
11
|
|
|
12
12
|
import "../theme/colors.mjs";
|
|
13
13
|
|
|
14
|
-
import { a as addOpacity } from "./colors-
|
|
14
|
+
import { a as addOpacity } from "./colors-znQ0X8Pf.mjs";
|
|
15
15
|
|
|
16
|
-
import "./
|
|
17
|
-
|
|
18
|
-
import "./microphoneStore-uYs2NQQx.mjs";
|
|
19
|
-
|
|
20
|
-
import "./volumeStore-C0iU07fK.mjs";
|
|
16
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
21
17
|
|
|
22
18
|
import "../hooks/useWindow.mjs";
|
|
23
19
|
|