@apple-pie/slice 0.1.34 → 0.1.35
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-CSybA_ET.js} +4 -4
- package/dist/cjs/chunks/{Avatar-C8Y8QA6W.js → Avatar-vhbPRhli.js} +1 -1
- package/dist/cjs/chunks/{AvatarGroup-BJGROy0D.js → AvatarGroup-BQ8evyuD.js} +1 -1
- package/dist/cjs/chunks/{Badge-D0jOqpGM.js → Badge-C6Yv-vZ7.js} +1 -1
- package/dist/cjs/chunks/{Button-CSyenByA.js → Button-DSFVBBSz.js} +5 -4
- package/dist/cjs/chunks/{ButtonBar-D6nO_KLU.js → ButtonBar-BV57H5tK.js} +1 -1
- package/dist/cjs/chunks/{Camera-C8ug84NJ.js → Camera-UCBkxmIi.js} +5 -5
- package/dist/cjs/chunks/{CheckBox-rALyYaSt.js → CheckBox-DEJCxMel.js} +1 -1
- package/dist/cjs/chunks/{Chip-BwxjTPRM.js → Chip-Co9UJPhs.js} +9 -9
- package/dist/cjs/chunks/{DivInput-BRhOr7b5.js → DivInput-DXYuLZTP.js} +1 -1
- package/dist/cjs/chunks/{Dot-DLk45OlQ.js → Dot-ByyRFxJf.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-Ch24xWZu.js → DrggablePanel-EDw3OZa4.js} +9 -8
- package/dist/cjs/chunks/{DropDown-BbhZnN_w.js → DropDown-BpvddY0X.js} +1 -1
- package/dist/cjs/chunks/{ErrorSummary-CI6hUFwD.js → ErrorSummary-Chas_lIG.js} +4 -4
- package/dist/cjs/chunks/{FileIcon-CfjasX-r.js → FileIcon-vvwv1ZWh.js} +4 -4
- package/dist/cjs/chunks/{FileList-B93Xcxz4.js → FileList-CY_ZUI5o.js} +1 -1
- package/dist/cjs/chunks/{FlexDiv-rfXrDSOq.js → FlexDiv-CXas-gXx.js} +1 -1
- package/dist/cjs/chunks/{Grouper-DSrE9R-U.js → Grouper-DoDqtlXQ.js} +4 -4
- package/dist/cjs/chunks/{Icon-CRxH8X5b.js → Icon-DR7d5wbQ.js} +17 -5
- package/dist/cjs/chunks/IconButton-C2pgDGer.js +182 -0
- package/dist/cjs/chunks/{IndexedDB-BFj53nVB.js → IndexedDB-B3huw-IF.js} +1 -1
- package/dist/cjs/chunks/{Label-BHP_DdP0.js → Label-Bz1y0MlN.js} +1 -1
- package/dist/cjs/chunks/{Level-BWOIrzAv.js → Level-CGC1rIjD.js} +1 -1
- package/dist/cjs/chunks/{Modal-BEKrk6zT.js → Modal-C9p4TjIF.js} +1 -1
- package/dist/cjs/chunks/{ModalController-DQJ-Vr6w.js → ModalController-B1l70sB5.js} +3 -3
- package/dist/cjs/chunks/{Overlay-CgD0_kQK.js → Overlay-77krece8.js} +1 -1
- package/dist/cjs/chunks/{Pager-CjMnXBqh.js → Pager-B0FSZmAn.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-V-orBNdI.js → ProgressIndicator-CK7dKk8W.js} +4 -4
- package/dist/cjs/chunks/{PromptInput-DK1pGnIm.js → PromptInput-BFjWPvXi.js} +5 -5
- package/dist/cjs/chunks/{RadioButton-DOv8YC-8.js → RadioButton-qoMg2eXZ.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-BC0PaUB2.js → RadioButtonList-BKKQcFSI.js} +1 -1
- package/dist/cjs/chunks/{Slider-D4zQ-4aq.js → Slider-D7r0G9UI.js} +4 -4
- package/dist/cjs/chunks/{Spacer-CdIj0JdL.js → Spacer-DHvuvgy8.js} +1 -1
- package/dist/cjs/chunks/{Switch-BcyjA09W.js → Switch-D0WIz66o.js} +1 -1
- package/dist/cjs/chunks/{TabBar-BzfXUqQ7.js → TabBar-OZ8cC1Wh.js} +6 -6
- package/dist/cjs/chunks/{TextArea-Aqo_XxW3.js → TextArea-BnWOSrib.js} +3 -2
- package/dist/cjs/chunks/{TextField-D9cVqxeH.js → TextField-zAs-JMXf.js} +5 -5
- package/dist/cjs/chunks/{Tip-6p-WETDg.js → Tip-DeP8_frS.js} +1 -1
- package/dist/cjs/chunks/{Toast-D2RPpe4w.js → Toast-D-pkBwRK.js} +5 -5
- package/dist/cjs/chunks/{ToggleButton-DIO-mLzn.js → ToggleButton-cNIO7RUS.js} +6 -4
- package/dist/cjs/chunks/{UploadArea-dLHkxZaJ.js → UploadArea-6sLdjTc4.js} +1 -1
- package/dist/cjs/chunks/{WSConnection-DUtc0Zek.js → WSConnection-BwJzXOF0.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-DOegM5k_.js → WebRTCConnection-Bv-nWtU7.js} +1 -1
- package/dist/cjs/chunks/{_types-CnvV2yMQ.js → _types-BTZx360t.js} +3 -1
- package/dist/cjs/chunks/{localDBStore-BE1Spdvk.js → localDBStore-DDw1HB7W.js} +1 -1
- package/dist/cjs/chunks/{microphoneStore-BQttBRKb.js → microphoneStore-BWE0f5k5.js} +1 -1
- package/dist/cjs/chunks/{misc-CktV9aap.js → misc-Xy8NlSfu.js} +1 -1
- package/dist/cjs/chunks/{sseStore-CUctZwDm.js → sseStore-cP_aDXa1.js} +2 -2
- package/dist/cjs/chunks/{uploads-worker-B-7wl30J.js → uploads-worker-Ey3k_A8W.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-BhvyVpxk.js → uploadsStore-CysEm3Jm.js} +2 -2
- package/dist/cjs/chunks/{volumeStore-CPxgI64S.js → volumeStore-TOX_FL_t.js} +1 -1
- package/dist/cjs/chunks/{webRTCStore-M1HXHN92.js → webRTCStore-B1cS14MD.js} +1 -1
- package/dist/cjs/chunks/{windowStore-BeMPlP7X.js → windowStore-DCcNnrCO.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 +19 -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 +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 +12 -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 +19 -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 +4 -4
- 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-_YhANdyd.mjs} +6 -6
- package/dist/esm/chunks/{Avatar-Bk8kdTEa.mjs → Avatar-C7U2ianJ.mjs} +2 -2
- package/dist/esm/chunks/{AvatarGroup-CRixAHW5.mjs → AvatarGroup-VAbyMrus.mjs} +2 -2
- package/dist/esm/chunks/{Badge-DHvo2-ZQ.mjs → Badge-BKZj-pNA.mjs} +1 -1
- package/dist/esm/chunks/{Button-v92U2QVV.mjs → Button-C6jYGagD.mjs} +10 -9
- package/dist/esm/chunks/{ButtonBar-Bn4GhpbO.mjs → ButtonBar-CHKHuVy1.mjs} +3 -3
- package/dist/esm/chunks/{Camera-Cvp_kb-A.mjs → Camera-DPATxQwH.mjs} +8 -8
- package/dist/esm/chunks/{CheckBox-CUbeBXgg.mjs → CheckBox-8oY2dwYh.mjs} +3 -3
- package/dist/esm/chunks/Chip-c3piVzsJ.mjs +87 -0
- package/dist/esm/chunks/{DivInput-CZ3PVteW.mjs → DivInput-g28YpiQp.mjs} +2 -2
- package/dist/esm/chunks/{Dot-B6Q97aIp.mjs → Dot-DnfM38Qp.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-DLltuMUc.mjs → DrggablePanel-CjgYDhDq.mjs} +10 -9
- package/dist/esm/chunks/{DropDown-DqVsJwO3.mjs → DropDown-CWHPCDQS.mjs} +3 -3
- package/dist/esm/chunks/{ErrorSummary-CCTJpTqA.mjs → ErrorSummary-D1PqqK3r.mjs} +5 -5
- package/dist/esm/chunks/{FileIcon-DnEohsNX.mjs → FileIcon-CudRs_lw.mjs} +5 -5
- package/dist/esm/chunks/{FileList-CnuT4Llg.mjs → FileList-Cj_k6oel.mjs} +5 -5
- package/dist/esm/chunks/{FlexDiv-DGEzQRcq.mjs → FlexDiv-pSlVGfpp.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-BoGryrnc.mjs → Grouper-BQxdCQKy.mjs} +6 -6
- package/dist/esm/chunks/{Icon-CbDAKN_S.mjs → Icon-CKS12m2e.mjs} +19 -7
- package/dist/esm/chunks/IconButton-Cka059ZT.mjs +193 -0
- package/dist/esm/chunks/{IndexedDB-Bqjric8V.mjs → IndexedDB-C1lcbDjn.mjs} +1 -1
- package/dist/esm/chunks/{Label-BlvreqNJ.mjs → Label-B7SDZHF3.mjs} +2 -2
- package/dist/esm/chunks/{Level-COXHoBs6.mjs → Level-CjR-2ZHs.mjs} +3 -3
- package/dist/esm/chunks/{Modal-CqBytyja.mjs → Modal-BLqTi3R2.mjs} +5 -5
- package/dist/esm/chunks/{ModalController-6Gc8QRxx.mjs → ModalController-BGCz54A8.mjs} +5 -5
- package/dist/esm/chunks/{Overlay-iKgSkUKP.mjs → Overlay-Dp2GOGjC.mjs} +1 -1
- package/dist/esm/chunks/{Pager-XgsZBzcg.mjs → Pager-DRkFuZTV.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-BWrcdWvF.mjs → ProgressIndicator-C2EWIn7Z.mjs} +5 -5
- package/dist/esm/chunks/{PromptInput-DbT3sVeA.mjs → PromptInput-mkEHu-_v.mjs} +7 -7
- package/dist/esm/chunks/{RadioButton-DUzPaLKa.mjs → RadioButton-Bd23SEL0.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-NjEGYpj4.mjs → RadioButtonList-ho29Z9aG.mjs} +3 -3
- package/dist/esm/chunks/{Slider-Bvnhqzjx.mjs → Slider-9hcuVdaH.mjs} +6 -6
- package/dist/esm/chunks/{Spacer-B2JAN7e8.mjs → Spacer-D3_8SzUs.mjs} +1 -1
- package/dist/esm/chunks/{Switch-CspvY_DQ.mjs → Switch-CV_2ygFC.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-BlvOUGJx.mjs → TabBar-BOUnKetI.mjs} +10 -10
- package/dist/esm/chunks/{TextArea-BpMTGopK.mjs → TextArea-FQVQo3LR.mjs} +4 -3
- package/dist/esm/chunks/{TextField-DELrBLOa.mjs → TextField-D7ZiWK9I.mjs} +8 -8
- package/dist/esm/chunks/{Tip-DBVeB0Zs.mjs → Tip-5OhdfJW7.mjs} +2 -2
- package/dist/esm/chunks/{Toast-HU8Pgwsr.mjs → Toast-BlDzsT1J.mjs} +7 -7
- package/dist/esm/chunks/{ToggleButton-CGpBWhaX.mjs → ToggleButton-BIIm75PN.mjs} +7 -5
- package/dist/esm/chunks/{UploadArea-DdV_ILIU.mjs → UploadArea-AjFofefa.mjs} +4 -4
- package/dist/esm/chunks/{WSConnection-eStD8i-1.mjs → WSConnection-CjwR_k97.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-BaPHQ_C4.mjs → WebRTCConnection-rKAgZEbe.mjs} +1 -1
- package/dist/esm/chunks/{_types-DR4jXucA.mjs → _types-Fewdpo-O.mjs} +3 -1
- package/dist/esm/chunks/{localDBStore-NpiMrXsA.mjs → localDBStore-Bxvk_IzQ.mjs} +2 -2
- package/dist/esm/chunks/{microphoneStore-uYs2NQQx.mjs → microphoneStore-Do0a5LZ9.mjs} +1 -1
- package/dist/esm/chunks/{misc-BQH7I5Zj.mjs → misc-C5cfUKzm.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-ueYoyFeB.mjs → sseStore-oSknLkEF.mjs} +2 -2
- package/dist/esm/chunks/{uploads-worker-CFPGExfT.mjs → uploads-worker-Cyum1zTV.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-DNalSMtC.mjs → uploadsStore-BxpUKpcf.mjs} +1 -1
- package/dist/esm/chunks/{volumeStore-C0iU07fK.mjs → volumeStore-D5i1CeFf.mjs} +1 -1
- package/dist/esm/chunks/{webRTCStore-Ck8TCzr_.mjs → webRTCStore-BLGNTnV3.mjs} +2 -2
- package/dist/esm/chunks/{windowStore-DcYPAWds.mjs → windowStore-BqOOGKQ6.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 +13 -13
- 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 +6 -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-tvK8qsjv.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-BqitbvAq.js → SSEConnection-C6fFzIM7.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-i41gzZXM.js → audioVisualizer-DFVbG1U3.js} +0 -0
- /package/dist/cjs/chunks/{colors-BlSE7Sf2.js → colors-D1ls4xuy.js} +0 -0
- /package/dist/cjs/chunks/{debounce-C7m-uQW2.js → debounce-Dt7br1wm.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-BrwOUMH_.js → modalStore-C2TNegI3.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-Cep5dDpY.js → sharedTypes-DC-9YrKq.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-BXKWR6IE.js → tipStore-CcUHlLfK.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-Y9JmFP0o.js → toastStore-CzsUlpG7.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-yslq87rf.js → tslib.es6-CZ8Is2ry.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-BF5ZQeUD.mjs → MdStreamBuffer-CvU2-p0i.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-DNA5yBWy.mjs → SSEConnection-CnZ9v2PI.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-CAET7dc9.mjs → audioVisualizer-Cw40IeKn.mjs} +0 -0
- /package/dist/esm/chunks/{colors-BHYMt294.mjs → colors-7VDET9eL.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-DpPYyz3x.mjs → debounce-zgRcExLD.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-DbxIsSpU.mjs → modalStore-OVzsFkde.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-DoNQkNSM.mjs → sharedTypes-7jlhdP2f.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-CmyIJWe7.mjs → tipStore-o8uQjfPm.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-BYMHSiu2.mjs → toastStore-Cnivb4IM.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-75ZdAmtm.mjs → tslib.es6-CDAuOlZ8.mjs} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
6
|
require("../theme/colors.js");
|
|
7
7
|
|
|
8
|
-
var colors = require("./colors-
|
|
8
|
+
var colors = require("./colors-D1ls4xuy.js"), audioVisualizer = require("./audioVisualizer-DFVbG1U3.js");
|
|
9
9
|
|
|
10
|
-
require("./webRTCStore-
|
|
11
|
-
require("./volumeStore-
|
|
10
|
+
require("./webRTCStore-B1cS14MD.js"), require("./microphoneStore-BWE0f5k5.js"),
|
|
11
|
+
require("./volumeStore-TOX_FL_t.js"), require("../hooks/useWindow.js");
|
|
12
12
|
|
|
13
13
|
var css_wrapper = "AudioBubble-module_wrapper__f2yKg flexBox-module_row__z24tF", css_bubble = "AudioBubble-module_bubble__bpPT3 flexBox-module_row__z24tF";
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-Xy8NlSfu.js"), 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";
|
|
5
5
|
|
|
6
6
|
const Avatar = React.memo(props => {
|
|
7
7
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), Avatar = require("./Avatar-vhbPRhli.js"), css_wrapper = "AvatarGroup-module_wrapper__MtOyq flexBox-module_rowStart__4tcxS", css_avatar = "AvatarGroup-module_avatar__5NVpW";
|
|
5
5
|
|
|
6
6
|
const AvatarGroup = React.memo(props => {
|
|
7
7
|
const {avatars: avatars = [], size: size = 32, borderWidth: borderWidth, borderSize: borderSize = 3, overlap: overlap = 8, gap: gap = 0, borderColor: borderColor, borderColorHover: borderColorHover, outerBorderSize: outerBorderSize = 3, outerBorderColor: outerBorderColor = "var(--core-surface-primary)", margin: margin = 0, onToolTip: onToolTip = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "avatars", "size", "borderWidth", "borderSize", "overlap", "gap", "borderColor", "borderColorHover", "outerBorderSize", "outerBorderColor", "margin", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, cssVars = React.useMemo(() => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), css_badge = "Badge-module_badge__RsuMz flexBox-module_row__z24tF type-module_body-xs-medium__s3KvF";
|
|
5
5
|
|
|
6
6
|
const Badge = React.memo(props => {
|
|
7
7
|
const {count: count, variant: variant = "dark", hideNull: hideNull = !0} = props, divAttributes = tslib_es6.__rest(props, [ "count", "variant", "hideNull" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", displayCount = React.useMemo(() => void 0 === count ? "0" : "string" == typeof count ? count : count > 99 ? "99+" : count.toString(), [ count ]), cssVars = React.useMemo(() => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), Badge = require("./Badge-C6Yv-vZ7.js"), Dot = require("./Dot-ByyRFxJf.js"), Icon = require("./Icon-DR7d5wbQ.js"), ProgressIndicator = require("./ProgressIndicator-CK7dKk8W.js"), sharedTypes = require("./sharedTypes-DC-9YrKq.js"), css = {
|
|
5
5
|
button: "Button-module_button__2ZuB7 flexBox-module_row__z24tF",
|
|
6
6
|
label: "Button-module_label__UJ3Zt",
|
|
7
7
|
count: "Button-module_count__DFxVB flexBox-module_row__z24tF",
|
|
@@ -13,12 +13,13 @@ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
const ButtonComponent = React.forwardRef((props, buttonRef) => {
|
|
16
|
-
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 = tslib_es6.__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 = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorDisabled = null != backgroundColorDisabled ? backgroundColorDisabled : bgColorDisabled, [btnState, setBtnState] = React.useState(state), [lockedWidth, setLockedWidth] = React.useState(void 0), [playing, setPlaying] = React.useState(working), ref = React.useRef(null), lockCurrentWidth = React.useCallback(() => {
|
|
16
|
+
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 = tslib_es6.__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 = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorDisabled = null != backgroundColorDisabled ? backgroundColorDisabled : bgColorDisabled, [btnState, setBtnState] = React.useState(state), [lockedWidth, setLockedWidth] = React.useState(void 0), [playing, setPlaying] = React.useState(working), ref = React.useRef(null), lockCurrentWidth = React.useCallback(() => {
|
|
17
17
|
ref.current && setLockedWidth(ref.current.offsetWidth);
|
|
18
18
|
}, []), handleClick = React.useCallback(e => {
|
|
19
19
|
onToolTip(null), "disabled" !== btnState && (progress && duration ? (lockCurrentWidth(),
|
|
20
|
-
setPlaying(!0)) :
|
|
21
|
-
|
|
20
|
+
setPlaying(!0)) : (link && void 0 !== globalThis.window && globalThis.window.open(link, target),
|
|
21
|
+
onClick(e)));
|
|
22
|
+
}, [ onToolTip, btnState, progress, duration, lockCurrentWidth, onClick, link, target ]);
|
|
22
23
|
React.useEffect(() => setBtnState(state), [ state ]), React.useEffect(() => {
|
|
23
24
|
working ? lockCurrentWidth() : setLockedWidth(void 0), setPlaying(working);
|
|
24
25
|
}, [ working, lockCurrentWidth ]), React.useImperativeHandle(buttonRef, () => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-Xy8NlSfu.js"), Icon = require("./Icon-DR7d5wbQ.js"), 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";
|
|
5
5
|
|
|
6
6
|
const ButtonBar = React.memo(function(props) {
|
|
7
7
|
const {buttons: buttons = [], selected: selected, toggle: toggle = !0, buttonSize: buttonSize = "m", frameSize: frameSize = 36, iconSize: iconSize = 20, borderWidth: borderWidth, borderSize: borderSize = 0, borderRadius: borderRadius = 100, borderColor: borderColor = "var(--core-outline-primary)", backgroundColor: backgroundColor, backgroundColorHover: backgroundColorHover, backgroundColorActive: backgroundColorActive, bgColor: bgColor = "var(--core-surface-secondary)", bgColorHover: bgColorHover = "var(--core-outline-primary)", bgColorActive: bgColorActive = "var(--core-outline-primary)", labelColor: labelColor = "var(--core-text-primary)", onClick: onClick = button => null, onChange: onChange = button => null, onToolTip: onToolTip = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "buttons", "selected", "toggle", "buttonSize", "frameSize", "iconSize", "borderWidth", "borderSize", "borderRadius", "borderColor", "backgroundColor", "backgroundColorHover", "backgroundColorActive", "bgColor", "bgColorHover", "bgColorActive", "labelColor", "onClick", "onChange", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorHover = null != backgroundColorHover ? backgroundColorHover : bgColorHover, resolvedBackgroundColorActive = null != backgroundColorActive ? backgroundColorActive : bgColorActive, [hovered, setHovered] = React.useState(-1), [selectedIndex, setSelectedIndex] = React.useState(selected);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
6
|
require("../theme/colors.js");
|
|
7
7
|
|
|
8
|
-
var misc = require("./misc-
|
|
8
|
+
var misc = require("./misc-Xy8NlSfu.js"), colors = require("./colors-D1ls4xuy.js");
|
|
9
9
|
|
|
10
|
-
require("./webRTCStore-
|
|
11
|
-
require("./volumeStore-
|
|
10
|
+
require("./webRTCStore-B1cS14MD.js"), require("./microphoneStore-BWE0f5k5.js"),
|
|
11
|
+
require("./volumeStore-TOX_FL_t.js"), require("../hooks/useWindow.js");
|
|
12
12
|
|
|
13
|
-
var Avatar = require("./Avatar-
|
|
13
|
+
var Avatar = require("./Avatar-vhbPRhli.js"), Icon = require("./Icon-DR7d5wbQ.js"), 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";
|
|
14
14
|
|
|
15
15
|
const Camera = React.memo(React.forwardRef((props, ref) => {
|
|
16
16
|
const videoElement = React.useRef(null), containerElement = React.useRef(null), controlsTimer = React.useRef(null), {noVideoPoster: noVideoPoster, width: width, height: height, showControlBar: showControlBar = !0, autoHideControlBar: autoHideControlBar = !0, startCameraOff: startCameraOff = !1, startAudioMuted: startAudioMuted = !1, playLocalAudio: playLocalAudio = !1, pipSnapshot: pipSnapshot = !0, userProfile: userProfile, sessionSettings: sessionSettings, onChangeProfile: onChangeProfile, onChangeSettings: onChangeSettings, onSnapshot: onSnapshot, onVideoStream: onVideoStream, onNoVideo: onNoVideo, onNoAudio: onNoAudio} = props, theme = hooks_useTheme.useTheme(), [cameraSupport, setCameraSupport] = React.useState(void 0), [cameraError, setCameraError] = React.useState(void 0), [hovered, setHovered] = React.useState(!1), [cameraOn, setCameraOn] = React.useState(!1), [micMuted, setMicMuted] = React.useState(startAudioMuted), [snapshot, setSnapshot] = React.useState(void 0), [settings, setSettings] = React.useState(!1), [profile, setProfile] = React.useState(!1), [deviceList, setDeviceList] = React.useState([]), constraints = React.useMemo(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), misc = require("./misc-Xy8NlSfu.js"), Icon = require("./Icon-DR7d5wbQ.js"), 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";
|
|
5
5
|
|
|
6
6
|
const CheckBox = React.memo(props => {
|
|
7
7
|
const {size: size = 20, checked: checked = !1, disabled: disabled = !1, color: color, children: children, onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "size", "checked", "disabled", "color", "children", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [state, setState] = React.useState(checked);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-Xy8NlSfu.js"), Icon = require("./Icon-DR7d5wbQ.js"), sharedTypes = require("./sharedTypes-DC-9YrKq.js"), css = {
|
|
5
5
|
chip: "Chip-module_chip__0nys- flexBox-module_row__z24tF",
|
|
6
6
|
icon: "Chip-module_icon__dtR-K flexBox-module_row__z24tF",
|
|
7
7
|
xs: "Chip-module_xs__s-KNG type-module_body-xs-regular__ZAFft",
|
|
@@ -11,7 +11,7 @@ var tslib_es6 = require("./tslib.es6-yslq87rf.js"), jsxRuntime = require("react/
|
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
const Chip = React.memo(props => {
|
|
14
|
-
const {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 = "var(--core-text-special)", iconColor: iconColor = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-special)", backgroundColor: backgroundColor, backgroundColorHover: backgroundColorHover, borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-text-primary)", borderColorHover: borderColorHover = "var(--core-text-special)", borderColorDisabled: borderColorDisabled = "var(--core-text-disabled)", bgColor: bgColor = "transparent", bgColorHover: bgColorHover = "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 = tslib_es6.__rest(props, [ "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 = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [isHovered, setIsHovered] = React.useState(!1), resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorHover = null != backgroundColorHover ? backgroundColorHover : bgColorHover, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, resolvedPaddingTop = null != paddingTop ? paddingTop : paddingTops, handleClick = React.useCallback(e => {
|
|
14
|
+
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 = tslib_es6.__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 = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [isHovered, setIsHovered] = React.useState(!1), resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorHover = null != backgroundColorHover ? backgroundColorHover : bgColorHover, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, resolvedPaddingTop = null != paddingTop ? paddingTop : paddingTops, handleClick = React.useCallback(e => {
|
|
15
15
|
disabled || onClick(e);
|
|
16
16
|
}, [ disabled, onClick ]), handleMouseEnter = React.useCallback((enter, event) => {
|
|
17
17
|
if (enter) {
|
|
@@ -26,12 +26,12 @@ const Chip = React.memo(props => {
|
|
|
26
26
|
};
|
|
27
27
|
onToolTip(tip);
|
|
28
28
|
}
|
|
29
|
-
setIsHovered(!0);
|
|
29
|
+
"button" === variant && setIsHovered(!0);
|
|
30
30
|
} else onToolTip(null), setIsHovered(!1);
|
|
31
|
-
}, [ tooltip, onToolTip ]), padding = React.useMemo(() => {
|
|
32
|
-
if (!icon) return `${resolvedPaddingTop}px ${paddingSides}px`;
|
|
31
|
+
}, [ tooltip, variant, onToolTip ]), padding = React.useMemo(() => {
|
|
32
|
+
if (!label || !icon) return `${resolvedPaddingTop}px ${paddingSides}px`;
|
|
33
33
|
return `${resolvedPaddingTop}px ${"right" === iconPosition ? paddingSides - 4 : paddingSides}px ${resolvedPaddingTop}px ${"right" === iconPosition ? paddingSides : paddingSides - 4}px`;
|
|
34
|
-
}, [ icon, iconPosition, resolvedPaddingTop, paddingSides ]), computedIconColor = React.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 = React.useMemo(() => ({
|
|
34
|
+
}, [ icon, iconPosition, resolvedPaddingTop, paddingSides, label ]), computedIconColor = React.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 = React.useMemo(() => ({
|
|
35
35
|
"--ui-chip-padding": padding,
|
|
36
36
|
"--ui-chip-gap": misc.setStyle(gap),
|
|
37
37
|
"--ui-chip-border-radius": misc.setStyle(borderRadius),
|
|
@@ -42,8 +42,8 @@ const Chip = React.memo(props => {
|
|
|
42
42
|
"--ui-chip-bg-color-hover": disabled ? resolvedBackgroundColor : resolvedBackgroundColorHover,
|
|
43
43
|
"--ui-chip-label-color": disabled ? "var(--core-text-disabled)" : labelColor,
|
|
44
44
|
"--ui-chip-label-color-hover": disabled ? "var(--core-text-disabled)" : labelColorHover,
|
|
45
|
-
"--ui-chip-cursor": disabled ? "default" : "pointer"
|
|
46
|
-
}), [ padding, resolvedBackgroundColor, borderColor, borderColorDisabled, borderColorHover, resolvedBorderWidth, resolvedBackgroundColorHover, labelColorHover, labelColor, gap, borderRadius, disabled ]);
|
|
45
|
+
"--ui-chip-cursor": disabled || "normal" === variant ? "default" : "pointer"
|
|
46
|
+
}), [ padding, resolvedBackgroundColor, borderColor, borderColorDisabled, borderColorHover, resolvedBorderWidth, resolvedBackgroundColorHover, labelColorHover, labelColor, gap, borderRadius, disabled, variant ]);
|
|
47
47
|
return jsxRuntime.jsxs("div", Object.assign({
|
|
48
48
|
id: divId,
|
|
49
49
|
className: `${css.chip}${divClass}`,
|
|
@@ -60,7 +60,7 @@ const Chip = React.memo(props => {
|
|
|
60
60
|
size: iconSize,
|
|
61
61
|
strokeColor: computedIconColor
|
|
62
62
|
})
|
|
63
|
-
}), jsxRuntime.jsx("div", {
|
|
63
|
+
}), (children || label) && jsxRuntime.jsx("div", {
|
|
64
64
|
className: css[labelSize],
|
|
65
65
|
children: null != children ? children : label
|
|
66
66
|
}), icon && "right" === iconPosition && jsxRuntime.jsx("div", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), misc = require("./misc-Xy8NlSfu.js"), css_wrapper = "DivInput-module_wrapper__ZQxY-", css_input = "DivInput-module_input__J34-l type-module_body-m-regular__LuQBA";
|
|
5
5
|
|
|
6
6
|
const DivInput = React.memo(props => {
|
|
7
7
|
const {value: value = "", name: name = "Input Field", placeholder: placeholder = "Placeholder", isEditable: isEditable = !0, wrap: wrap = !1, focus: focus = !1, width: width = "auto", textAlign: textAlign = "left", clamp: clamp = 3, padding: padding = "0px", onChange: onChange = () => null, onSubmit: onSubmit = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onDblClick: onDblClick = () => null, onClick: onClick = () => null, borderRadius: borderRadius, radius: radius = 4, backgroundColor: backgroundColor, bgColor: bgColor = "var(--core-surface-secondary)"} = props, divAttributes = tslib_es6.__rest(props, [ "value", "name", "placeholder", "isEditable", "wrap", "focus", "width", "textAlign", "clamp", "padding", "onChange", "onSubmit", "onFocus", "onBlur", "onDblClick", "onClick", "borderRadius", "radius", "backgroundColor", "bgColor" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = React.useRef(null), innerText = React.useRef("" === value ? misc.cleanString(placeholder) : misc.cleanString(value)), [isFocused, setIsFocused] = React.useState(focus), [text, setText] = React.useState(innerText.current), [isPlaceholder, setIsPlaceholder] = React.useState(!1), resolvedBorderRadius = null != borderRadius ? borderRadius : radius, resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, setCursor = React.useCallback((to, length = 1) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), css_dot = "Dot-module_dot__RNz87 flexBox-module_row__z24tF";
|
|
5
5
|
|
|
6
6
|
const DEFAULT_VARIANTS = {
|
|
7
7
|
initial: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
6
|
require("../theme/colors.js");
|
|
7
7
|
|
|
8
|
-
var misc = require("./misc-
|
|
8
|
+
var misc = require("./misc-Xy8NlSfu.js");
|
|
9
9
|
|
|
10
|
-
require("./webRTCStore-
|
|
11
|
-
require("./volumeStore-
|
|
10
|
+
require("./webRTCStore-B1cS14MD.js"), require("./microphoneStore-BWE0f5k5.js"),
|
|
11
|
+
require("./volumeStore-TOX_FL_t.js"), require("../hooks/useWindow.js");
|
|
12
12
|
|
|
13
13
|
var hooks_useObserveResize = require("../hooks/useObserveResize.js"), css_panel = "DraggablePanel-module_panel__vuq2R flexBox-module_columnStart__C7P44", css_content = "DraggablePanel-module_content__SBL0T flexBox-module_columnStart__C7P44", css_handle = "DraggablePanel-module_handle__LPZw8";
|
|
14
14
|
|
|
@@ -39,7 +39,8 @@ const DraggablePanel = React.memo(props => {
|
|
|
39
39
|
}, 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 = {
|
|
40
40
|
height: 24,
|
|
41
41
|
width: 9
|
|
42
|
-
}, containerRef: containerRef, onResize: onResize = () => null, onResizeStart: onResizeStart = () => null, onResizeEnd: onResizeEnd = () => null} = props, divAttributes = tslib_es6.__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 = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", handle = React.useRef(null), div = React.useRef(null), [isDragging, setIsDragging] = React.useState(!1), isOver = React.useRef(!1), gripper = Object.assign({}, resizeHandle), containerSize = hooks_useObserveResize.useObserveResize(containerRef), panelSize = hooks_useObserveResize.useObserveResize(div), [handleHighlight, setHandleHighlight] = React.useState(!1), [lastWidth, setLastWidth] = React.useState(null), [panelClosed, setPanelClosed] = React.useState(isClosed), [constraints, setConstraints] = React.useState(() => resolveConstraints(sizeConstraints)), [contWidth, setContWidth] = React.useState(void 0), timer = React.useRef(null), closed = panelSize.width <= 1, startX = React.useRef(0), startWidth = React.useRef(0), divWidth = React.useRef(0), divHeight = React.useRef(0), deltaWidth = React.useRef(0)
|
|
42
|
+
}, containerRef: containerRef, onResize: onResize = () => null, onResizeStart: onResizeStart = () => null, onResizeEnd: onResizeEnd = () => null} = props, divAttributes = tslib_es6.__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 = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", handle = React.useRef(null), div = React.useRef(null), [isDragging, setIsDragging] = React.useState(!1), isOver = React.useRef(!1), gripper = Object.assign({}, resizeHandle), containerSize = hooks_useObserveResize.useObserveResize(containerRef), panelSize = hooks_useObserveResize.useObserveResize(div), [handleHighlight, setHandleHighlight] = React.useState(!1), [lastWidth, setLastWidth] = React.useState(null), [panelClosed, setPanelClosed] = React.useState(isClosed), [constraints, setConstraints] = React.useState(() => resolveConstraints(sizeConstraints)), [contWidth, setContWidth] = React.useState((null == containerRef ? void 0 : containerRef.current) ? containerRef.current.offsetWidth : void 0 !== globalThis.window ? window.innerWidth : void 0), [mounted, setMounted] = React.useState(!1), timer = React.useRef(null), closed = panelSize.width <= 1, startX = React.useRef(0), startWidth = React.useRef(0), divWidth = React.useRef(0), divHeight = React.useRef(0), deltaWidth = React.useRef(0);
|
|
43
|
+
const handleWindowResize = React.useCallback(() => {
|
|
43
44
|
(null == containerRef ? void 0 : containerRef.current) || setContWidth(window.innerWidth);
|
|
44
45
|
}, [ containerRef ]), handleMouseOver = React.useCallback(() => {
|
|
45
46
|
isOver.current = !0, setHighlight(!0);
|
|
@@ -135,12 +136,12 @@ const DraggablePanel = React.memo(props => {
|
|
|
135
136
|
})), () => {
|
|
136
137
|
hl && (hl.removeEventListener("mousedown", initDrag, !1), hl.removeEventListener("touchstart", initDrag));
|
|
137
138
|
};
|
|
138
|
-
}, [ drags, initDrag ]);
|
|
139
|
+
}, [ drags, initDrag ]), React.useEffect(() => setMounted(!0), []);
|
|
139
140
|
const leftRightStyle = React.useMemo(() => "right" === drags ? {
|
|
140
141
|
right: isTouchDevice ? -22 : -(gripper.width || 10) / 2
|
|
141
142
|
} : {
|
|
142
143
|
left: isTouchDevice ? -22 : -(gripper.width || 10) / 2
|
|
143
|
-
}, [ drags, isTouchDevice, gripper.width ]), normalizeWidth = React.useCallback(width => "number" == typeof width ? width <= 1 && width >= 0 ?
|
|
144
|
+
}, [ drags, isTouchDevice, gripper.width ]), normalizeWidth = React.useCallback(width => mounted ? "number" == typeof width ? width <= 1 && width >= 0 ? contWidth ? contWidth * width + "px" : 0 : `${width}px` : width : "0px", [ contWidth, mounted ]), width = React.useMemo(() => drags ? panelClosed ? 0 : lastWidth || normalizeWidth(constraints.initial) : "100%", [ drags, panelClosed, lastWidth, constraints.initial, normalizeWidth ]), cssVars = React.useMemo(() => ({
|
|
144
145
|
"--panel-bg": null != bgColor ? bgColor : "transparent"
|
|
145
146
|
}), [ bgColor ]);
|
|
146
147
|
return jsxRuntime.jsxs("div", Object.assign({
|
|
@@ -166,7 +167,7 @@ const DraggablePanel = React.memo(props => {
|
|
|
166
167
|
display: closed || !drags ? "none" : "flex",
|
|
167
168
|
alignItems: "center",
|
|
168
169
|
justifyContent: "center",
|
|
169
|
-
zIndex:
|
|
170
|
+
zIndex: "var(--elevation-overlay)",
|
|
170
171
|
top: 0
|
|
171
172
|
}, leftRightStyle), {
|
|
172
173
|
bottom: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-Xy8NlSfu.js"), Icon = require("./Icon-DR7d5wbQ.js"), css = {
|
|
5
5
|
wrapper: "DropDown-module_wrapper__CyX0u flexBox-module_rowStart__4tcxS",
|
|
6
6
|
face: "DropDown-module_face__6gyF3 flexBox-module_rowStart__4tcxS",
|
|
7
7
|
faceText: "DropDown-module_faceText__glhB3",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
6
|
require("../theme/colors.js");
|
|
7
7
|
|
|
8
|
-
var colors = require("./colors-
|
|
8
|
+
var colors = require("./colors-D1ls4xuy.js");
|
|
9
9
|
|
|
10
|
-
require("./webRTCStore-
|
|
11
|
-
require("./volumeStore-
|
|
10
|
+
require("./webRTCStore-B1cS14MD.js"), require("./microphoneStore-BWE0f5k5.js"),
|
|
11
|
+
require("./volumeStore-TOX_FL_t.js"), require("../hooks/useWindow.js");
|
|
12
12
|
|
|
13
13
|
var css = {
|
|
14
14
|
errorBox: "ErrorSummary-module_errorBox__hjY50 flexBox-module_columnStart__C7P44",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
6
|
require("../theme/colors.js");
|
|
7
7
|
|
|
8
|
-
var FileIconNames, misc = require("./misc-
|
|
8
|
+
var FileIconNames, misc = require("./misc-Xy8NlSfu.js");
|
|
9
9
|
|
|
10
|
-
require("./webRTCStore-
|
|
11
|
-
require("./volumeStore-
|
|
10
|
+
require("./webRTCStore-B1cS14MD.js"), require("./microphoneStore-BWE0f5k5.js"),
|
|
11
|
+
require("./volumeStore-TOX_FL_t.js"), require("../hooks/useWindow.js"), exports.FileIconNames = void 0,
|
|
12
12
|
(FileIconNames = exports.FileIconNames || (exports.FileIconNames = {})).pdf = "pdf",
|
|
13
13
|
FileIconNames.text = "text", FileIconNames.sheet = "sheet", FileIconNames.preso = "preso",
|
|
14
14
|
FileIconNames.md = "md", FileIconNames.code = "code", FileIconNames.image = "image",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-Xy8NlSfu.js"), FileIcon = require("./FileIcon-vvwv1ZWh.js"), Icon = require("./Icon-DR7d5wbQ.js"), ProgressIndicator = require("./ProgressIndicator-CK7dKk8W.js");
|
|
5
5
|
|
|
6
6
|
var css = {
|
|
7
7
|
wrapper: "FileList-module_wrapper__9-rrl flexBox-module_rowStart__4tcxS",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var Size, Preset, tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var Size, Preset, tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), css_flexDiv = "FlexDiv-module_flexDiv__EY5A- type-module_body-m-regular__LuQBA";
|
|
5
5
|
|
|
6
6
|
exports.Size = void 0, (Size = exports.Size || (exports.Size = {})).Grow = "grow",
|
|
7
7
|
Size.Fill = "fill", Size.Fit = "fit", Size.Viewport = "viewport", Size.Auto = "auto",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
|
-
require("../theme/colors.js"), require("./webRTCStore-
|
|
7
|
-
require("./volumeStore-
|
|
6
|
+
require("../theme/colors.js"), require("./webRTCStore-B1cS14MD.js"), require("./microphoneStore-BWE0f5k5.js"),
|
|
7
|
+
require("./volumeStore-TOX_FL_t.js"), require("../hooks/useWindow.js");
|
|
8
8
|
|
|
9
|
-
var Badge = require("./Badge-
|
|
9
|
+
var Badge = require("./Badge-C6Yv-vZ7.js"), Icon = require("./Icon-DR7d5wbQ.js"), css_header = "Grouper-module_header__D5fV0 flexBox-module_rowBetween__5FEvi", css_title = "Grouper-module_title__ZKqTP flexBox-module_rowBetween__5FEvi type-module_body-m-regular__LuQBA", css_content = "Grouper-module_content__Mof50 flexBox-module_rowBetween__5FEvi", css_icon = "Grouper-module_icon__14Jis flexBox-module_row__z24tF";
|
|
10
10
|
|
|
11
11
|
const Grouper = React.memo(props => {
|
|
12
12
|
const theme = hooks_useTheme.useTheme(), {title: title = "Group Title", toggle: toggle = !0, open: open = !0, hasIcon: hasIcon = !0, iconName: iconName = "chevron down", iconSize: iconSize = 18, frameSize: frameSize = 64, border: border = 0, count: count = 0, unframed: unframed = !1, hideNull: hideNull = !0, showFilterBadge: showFilterBadge = !1, onChange: onChange = () => null, onClick: onClick = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "title", "toggle", "open", "hasIcon", "iconName", "iconSize", "frameSize", "border", "count", "unframed", "hideNull", "showFilterBadge", "onChange", "onClick" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [state, setState] = React.useState(open), [icon, animateIcon] = react.useAnimate();
|
|
@@ -1,21 +1,33 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-
|
|
4
|
+
var tslib_es6 = require("./tslib.es6-CZ8Is2ry.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
|
|
5
5
|
|
|
6
6
|
require("../theme/colors.js");
|
|
7
7
|
|
|
8
|
-
var misc = require("./misc-
|
|
8
|
+
var misc = require("./misc-Xy8NlSfu.js");
|
|
9
9
|
|
|
10
|
-
require("./webRTCStore-
|
|
11
|
-
require("./volumeStore-
|
|
10
|
+
require("./webRTCStore-B1cS14MD.js"), require("./microphoneStore-BWE0f5k5.js"),
|
|
11
|
+
require("./volumeStore-TOX_FL_t.js"), require("../hooks/useWindow.js");
|
|
12
12
|
|
|
13
13
|
var css_icon = "Icon-module_icon__szG-X";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Static icon registry created once at module load.
|
|
17
17
|
* Each entry stores only icon line content renderers.
|
|
18
|
-
*/ const STATIC_ICON_REGISTRY = new Map([ [ "
|
|
18
|
+
*/ const STATIC_ICON_REGISTRY = new Map([ [ "npm", {
|
|
19
|
+
line: ({strokeColor: strokeColor}) => jsxRuntime.jsx("path", {
|
|
20
|
+
d: "M7.415 7.656l17.291 0.024-0.011 17.29h-4.329l0.012-12.974h-4.319l-0.010 12.964h-8.656zM3.207 1.004c-0.002 0-0.003 0-0.005 0-1.214 0-2.198 0.984-2.198 2.198 0 0.002 0 0.004 0 0.006v-0 25.585c0 0.002 0 0.003 0 0.005 0 1.214 0.984 2.198 2.198 2.198 0.002 0 0.004 0 0.006 0h25.585c0.002 0 0.003 0 0.005 0 1.214 0 2.198-0.984 2.198-2.198 0-0.002 0-0.004 0-0.006v0-25.585c0-0.002 0-0.003 0-0.005 0-1.214-0.984-2.198-2.198-2.198-0.002 0-0.004 0-0.006 0h0z",
|
|
21
|
+
transform: "scale(0.625)",
|
|
22
|
+
fill: strokeColor
|
|
23
|
+
})
|
|
24
|
+
} ], [ "github", {
|
|
25
|
+
line: ({strokeColor: strokeColor}) => jsxRuntime.jsx("path", {
|
|
26
|
+
d: "M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z",
|
|
27
|
+
transform: "translate(0 0) scale(1.25)",
|
|
28
|
+
fill: strokeColor
|
|
29
|
+
})
|
|
30
|
+
} ], [ "talk", {
|
|
19
31
|
line: ({strokeColor: strokeColor, fillColor: fillColor}) => jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
20
32
|
children: [ jsxRuntime.jsx("path", {
|
|
21
33
|
d: "M10,2.5c4.14,0,7.5,3.36,7.5,7.5s-3.36,7.5-7.5,7.5-7.5-3.36-7.5-7.5,3.36-7.5,7.5-7.5M10,1C5.03,1,1,5.03,1,10s4.03,9,9,9,9-4.03,9-9S14.97,1,10,1h0Z",
|