@apple-pie/slice 0.1.33 → 0.1.34
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-_eYM1QMu.js → AudioBubble-D6EdVxCx.js} +4 -4
- package/dist/cjs/chunks/{Avatar-DTro_MXZ.js → Avatar-C8Y8QA6W.js} +1 -1
- package/dist/cjs/chunks/{AvatarGroup-OPJJ_Te5.js → AvatarGroup-BJGROy0D.js} +1 -1
- package/dist/cjs/chunks/{Badge-DWUeXxm2.js → Badge-D0jOqpGM.js} +1 -1
- package/dist/cjs/chunks/{Button-CuGvPAkH.js → Button-CSyenByA.js} +1 -1
- package/dist/cjs/chunks/{ButtonBar-CbXToyfD.js → ButtonBar-D6nO_KLU.js} +1 -1
- package/dist/cjs/chunks/{Camera-DjENiyud.js → Camera-C8ug84NJ.js} +5 -5
- package/dist/cjs/chunks/{CheckBox-DiJpbdy5.js → CheckBox-rALyYaSt.js} +1 -1
- package/dist/cjs/chunks/{Chip-kzOvEo0P.js → Chip-BwxjTPRM.js} +1 -1
- package/dist/cjs/chunks/{DivInput-B917fKB9.js → DivInput-BRhOr7b5.js} +1 -1
- package/dist/cjs/chunks/{Dot-DaRF2JyO.js → Dot-DLk45OlQ.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-CJTEmYW6.js → DrggablePanel-Ch24xWZu.js} +4 -4
- package/dist/cjs/chunks/{DropDown-DRSQvXCC.js → DropDown-BbhZnN_w.js} +1 -1
- package/dist/cjs/chunks/{ErrorSummary-ltiIsgJ6.js → ErrorSummary-CI6hUFwD.js} +4 -4
- package/dist/cjs/chunks/{FileIcon-WIVOTJLa.js → FileIcon-CfjasX-r.js} +4 -4
- package/dist/cjs/chunks/{FileList-CzQZZErI.js → FileList-B93Xcxz4.js} +1 -1
- package/dist/cjs/chunks/{FlexDiv-CBENyLT4.js → FlexDiv-rfXrDSOq.js} +1 -1
- package/dist/cjs/chunks/{Grouper-Cd3AJEFv.js → Grouper-DSrE9R-U.js} +4 -4
- package/dist/cjs/chunks/{Icon-DjvProjz.js → Icon-CRxH8X5b.js} +4 -4
- package/dist/cjs/chunks/{IconButton-BuwQLUuj.js → IconButton-KFtalJ6A.js} +1 -1
- package/dist/cjs/chunks/{IndexedDB-Ddhq6Gjd.js → IndexedDB-BFj53nVB.js} +1 -1
- package/dist/cjs/chunks/{Label-d32ENzwL.js → Label-BHP_DdP0.js} +1 -1
- package/dist/cjs/chunks/{Level-B8eT8XyV.js → Level-BWOIrzAv.js} +1 -1
- package/dist/cjs/chunks/{Modal-CUAj4e6x.js → Modal-BEKrk6zT.js} +1 -1
- package/dist/cjs/chunks/{ModalController-BwFAVI5G.js → ModalController-DQJ-Vr6w.js} +3 -3
- package/dist/cjs/chunks/{Overlay-CaAA3ey5.js → Overlay-CgD0_kQK.js} +1 -1
- package/dist/cjs/chunks/{Pager-uExZ5E3x.js → Pager-CjMnXBqh.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-DwqslY4o.js → ProgressIndicator-V-orBNdI.js} +4 -4
- package/dist/cjs/chunks/{PromptInput-Dl8l8cZv.js → PromptInput-DK1pGnIm.js} +16 -14
- package/dist/cjs/chunks/{RadioButton-DPpAOFQt.js → RadioButton-DOv8YC-8.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-IbPA6A3y.js → RadioButtonList-BC0PaUB2.js} +1 -1
- package/dist/cjs/chunks/{Slider-D5oa7NGy.js → Slider-D4zQ-4aq.js} +10 -1
- package/dist/cjs/chunks/{Spacer-DtUh2VLv.js → Spacer-CdIj0JdL.js} +1 -1
- package/dist/cjs/chunks/{Switch-Bs0r5va5.js → Switch-BcyjA09W.js} +1 -1
- package/dist/cjs/chunks/{TabBar-BCSTg_Uc.js → TabBar-BzfXUqQ7.js} +38 -18
- package/dist/cjs/chunks/{TextArea-Dj7jsvVr.js → TextArea-Aqo_XxW3.js} +1 -1
- package/dist/cjs/chunks/{TextField-DNP0wJla.js → TextField-D9cVqxeH.js} +5 -5
- package/dist/cjs/chunks/{Tip-awq6PDZa.js → Tip-6p-WETDg.js} +1 -1
- package/dist/cjs/chunks/{Toast-xS1TC3Ba.js → Toast-D2RPpe4w.js} +5 -5
- package/dist/cjs/chunks/{ToggleButton-CqD5c6JA.js → ToggleButton-DIO-mLzn.js} +1 -1
- package/dist/cjs/chunks/{UploadArea-CvWqk8YK.js → UploadArea-dLHkxZaJ.js} +1 -1
- package/dist/cjs/chunks/{WSConnection-BACWw4TS.js → WSConnection-DUtc0Zek.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-DBeyg4j9.js → WebRTCConnection-DOegM5k_.js} +1 -1
- package/dist/cjs/chunks/{localDBStore-wgCc1SmV.js → localDBStore-BE1Spdvk.js} +1 -1
- package/dist/cjs/chunks/{microphoneStore-Dy5TwE2I.js → microphoneStore-BQttBRKb.js} +1 -1
- package/dist/cjs/chunks/{misc-BwQIEIuF.js → misc-CktV9aap.js} +1 -1
- package/dist/cjs/chunks/{sseStore-CFFaYonG.js → sseStore-CUctZwDm.js} +2 -2
- package/dist/cjs/chunks/{uploads-worker-DWvOe9F8.js → uploads-worker-B-7wl30J.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-BCmts7Ie.js → uploadsStore-BhvyVpxk.js} +2 -2
- package/dist/cjs/chunks/{volumeStore-BXFAQhvS.js → volumeStore-CPxgI64S.js} +4 -5
- package/dist/cjs/chunks/{webRTCStore-DRjvbnve.js → webRTCStore-M1HXHN92.js} +1 -1
- package/dist/cjs/chunks/{windowStore-C4Bg6I9i.js → windowStore-BeMPlP7X.js} +1 -1
- package/dist/cjs/components/AudioBubble/index.js +6 -6
- package/dist/cjs/components/Avatar/index.js +3 -3
- package/dist/cjs/components/AvatarGroup/index.js +3 -3
- package/dist/cjs/components/Badge/index.js +2 -2
- package/dist/cjs/components/Button/index.js +9 -9
- package/dist/cjs/components/ButtonBar/index.js +6 -6
- package/dist/cjs/components/Camera/index.js +7 -7
- package/dist/cjs/components/CheckBox/index.js +6 -6
- package/dist/cjs/components/Chip/index.js +7 -7
- package/dist/cjs/components/DivInput/index.js +3 -3
- package/dist/cjs/components/Dot/index.js +2 -2
- package/dist/cjs/components/DraggablePanel/index.js +5 -5
- package/dist/cjs/components/DropDown/index.js +6 -6
- package/dist/cjs/components/ErrorSummary/index.js +5 -5
- package/dist/cjs/components/FileIcon/index.js +5 -5
- package/dist/cjs/components/FileList/index.js +7 -7
- package/dist/cjs/components/FlexDiv/index.js +2 -2
- package/dist/cjs/components/Grouper/index.js +7 -7
- package/dist/cjs/components/Icon/index.js +5 -5
- package/dist/cjs/components/IconButton/index.js +8 -8
- package/dist/cjs/components/Label/index.js +3 -3
- package/dist/cjs/components/Level/index.js +3 -3
- package/dist/cjs/components/Modal/index.js +10 -10
- package/dist/cjs/components/ModalController/index.js +5 -5
- package/dist/cjs/components/Overlay/index.js +2 -2
- package/dist/cjs/components/Pager/index.js +3 -3
- package/dist/cjs/components/Progress/index.js +5 -5
- package/dist/cjs/components/PromptInput/index.js +9 -9
- package/dist/cjs/components/RadioButton/index.js +6 -6
- package/dist/cjs/components/RadioButtonList/index.js +7 -7
- package/dist/cjs/components/Slider/index.js +7 -4
- package/dist/cjs/components/Spacer/index.js +2 -2
- package/dist/cjs/components/Switch/index.js +2 -2
- package/dist/cjs/components/TabBar/index.js +8 -8
- package/dist/cjs/components/TextArea/index.js +9 -9
- package/dist/cjs/components/Textfield/index.js +9 -9
- package/dist/cjs/components/Tip/index.js +3 -3
- package/dist/cjs/components/Toast/index.js +6 -6
- package/dist/cjs/components/ToggleButton/index.js +9 -9
- package/dist/cjs/components/UploadArea/index.js +8 -8
- package/dist/cjs/hooks/useAudioRecorder.js +1 -1
- package/dist/cjs/hooks/useBindWebRTC.js +2 -2
- package/dist/cjs/hooks/useMdStreamBuffer.js +1 -1
- package/dist/cjs/hooks/useMicrophone.js +1 -1
- package/dist/cjs/hooks/useTrackRenders.js +2 -2
- package/dist/cjs/hooks.js +3 -3
- package/dist/cjs/index.js +8 -8
- 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/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-SB1LCBlJ.mjs → AudioBubble-BudIMUsf.mjs} +6 -6
- package/dist/esm/chunks/{Avatar-B6PcVOmT.mjs → Avatar-Bk8kdTEa.mjs} +2 -2
- package/dist/esm/chunks/{AvatarGroup-DEb3j2IZ.mjs → AvatarGroup-CRixAHW5.mjs} +2 -2
- package/dist/esm/chunks/{Badge-bh5UVUnt.mjs → Badge-DHvo2-ZQ.mjs} +1 -1
- package/dist/esm/chunks/{Button-CWKs3uAV.mjs → Button-v92U2QVV.mjs} +6 -6
- package/dist/esm/chunks/{ButtonBar-CWeMhkSb.mjs → ButtonBar-Bn4GhpbO.mjs} +3 -3
- package/dist/esm/chunks/{Camera-BmuMA9xY.mjs → Camera-Cvp_kb-A.mjs} +8 -8
- package/dist/esm/chunks/{CheckBox-BR6a2n0j.mjs → CheckBox-CUbeBXgg.mjs} +3 -3
- package/dist/esm/chunks/{Chip-DXW0jxKf.mjs → Chip-HGLXF8JO.mjs} +4 -4
- package/dist/esm/chunks/{DivInput-BWO1EJXA.mjs → DivInput-CZ3PVteW.mjs} +2 -2
- package/dist/esm/chunks/{Dot-DMst-5Q2.mjs → Dot-B6Q97aIp.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-qxrCS7Ot.mjs → DrggablePanel-DLltuMUc.mjs} +5 -5
- package/dist/esm/chunks/{DropDown-DlO2J4QP.mjs → DropDown-DqVsJwO3.mjs} +3 -3
- package/dist/esm/chunks/{ErrorSummary-BplQFunJ.mjs → ErrorSummary-CCTJpTqA.mjs} +5 -5
- package/dist/esm/chunks/{FileIcon-iFmAF7_a.mjs → FileIcon-DnEohsNX.mjs} +5 -5
- package/dist/esm/chunks/{FileList-CztHFCJe.mjs → FileList-CnuT4Llg.mjs} +5 -5
- package/dist/esm/chunks/{FlexDiv-DGmDZL7M.mjs → FlexDiv-DGEzQRcq.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-DxOISLzH.mjs → Grouper-BoGryrnc.mjs} +6 -6
- package/dist/esm/chunks/{Icon-L8B35JN1.mjs → Icon-CbDAKN_S.mjs} +5 -5
- package/dist/esm/chunks/{IconButton-DxwJemEK.mjs → IconButton-nOcdRqR3.mjs} +5 -5
- package/dist/esm/chunks/{IndexedDB-DA5oZXju.mjs → IndexedDB-Bqjric8V.mjs} +1 -1
- package/dist/esm/chunks/{Label-wDPtyK4h.mjs → Label-BlvreqNJ.mjs} +2 -2
- package/dist/esm/chunks/{Level-B9JayinM.mjs → Level-COXHoBs6.mjs} +3 -3
- package/dist/esm/chunks/{Modal-C-Q2A_RY.mjs → Modal-CqBytyja.mjs} +5 -5
- package/dist/esm/chunks/{ModalController-ClAjHLPb.mjs → ModalController-6Gc8QRxx.mjs} +5 -5
- package/dist/esm/chunks/{Overlay-Dr9YYxJ6.mjs → Overlay-iKgSkUKP.mjs} +1 -1
- package/dist/esm/chunks/{Pager-DPbTCMNe.mjs → Pager-XgsZBzcg.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-HaJJDZ-m.mjs → ProgressIndicator-BWrcdWvF.mjs} +5 -5
- package/dist/esm/chunks/{PromptInput-wGhpXw-h.mjs → PromptInput-DbT3sVeA.mjs} +18 -16
- package/dist/esm/chunks/{RadioButton-oOGgTDhg.mjs → RadioButton-DUzPaLKa.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-CDWKVvyL.mjs → RadioButtonList-NjEGYpj4.mjs} +3 -3
- package/dist/esm/chunks/{Slider-ioPGftDY.mjs → Slider-Bvnhqzjx.mjs} +14 -4
- package/dist/esm/chunks/{Spacer-VJBjxVlr.mjs → Spacer-B2JAN7e8.mjs} +1 -1
- package/dist/esm/chunks/{Switch-BCk2sTh3.mjs → Switch-CspvY_DQ.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-C1DYnCRx.mjs → TabBar-BlvOUGJx.mjs} +39 -21
- package/dist/esm/chunks/{TextArea-CF3r5m2G.mjs → TextArea-BpMTGopK.mjs} +2 -2
- package/dist/esm/chunks/{TextField-BNfTj9v2.mjs → TextField-DELrBLOa.mjs} +8 -8
- package/dist/esm/chunks/{Tip-DIKQvxxO.mjs → Tip-DBVeB0Zs.mjs} +2 -2
- package/dist/esm/chunks/{Toast-CkXPrDpp.mjs → Toast-HU8Pgwsr.mjs} +7 -7
- package/dist/esm/chunks/{ToggleButton-Dvy8fc4t.mjs → ToggleButton-CGpBWhaX.mjs} +2 -2
- package/dist/esm/chunks/{UploadArea-D_xGzR2e.mjs → UploadArea-DdV_ILIU.mjs} +4 -4
- package/dist/esm/chunks/{WSConnection-TiYLENWB.mjs → WSConnection-eStD8i-1.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-d0Yvd66q.mjs → WebRTCConnection-BaPHQ_C4.mjs} +1 -1
- package/dist/esm/chunks/{localDBStore-C-5y16uv.mjs → localDBStore-NpiMrXsA.mjs} +2 -2
- package/dist/esm/chunks/{microphoneStore-Cbx9nV4R.mjs → microphoneStore-uYs2NQQx.mjs} +1 -1
- package/dist/esm/chunks/{misc-zecH7-IH.mjs → misc-BQH7I5Zj.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-DIquUNpm.mjs → sseStore-ueYoyFeB.mjs} +2 -2
- package/dist/esm/chunks/{uploads-worker-CUggKU9b.mjs → uploads-worker-CFPGExfT.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-9QngohOe.mjs → uploadsStore-DNalSMtC.mjs} +1 -1
- package/dist/esm/chunks/{volumeStore-BrgZCRKF.mjs → volumeStore-C0iU07fK.mjs} +4 -5
- package/dist/esm/chunks/{webRTCStore-DhFE9-bb.mjs → webRTCStore-Ck8TCzr_.mjs} +2 -2
- package/dist/esm/chunks/{windowStore-BKW7HyoD.mjs → windowStore-DcYPAWds.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 +19 -5
- package/dist/esm/components/Spacer/index.mjs +2 -2
- package/dist/esm/components/Switch/index.mjs +2 -2
- package/dist/esm/components/TabBar/index.mjs +13 -13
- package/dist/esm/components/TextArea/index.mjs +13 -13
- package/dist/esm/components/Textfield/index.mjs +14 -14
- package/dist/esm/components/Tip/index.mjs +3 -3
- package/dist/esm/components/Toast/index.mjs +9 -9
- package/dist/esm/components/ToggleButton/index.mjs +13 -13
- package/dist/esm/components/UploadArea/index.mjs +11 -11
- package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
- package/dist/esm/hooks/useBindWebRTC.mjs +5 -5
- package/dist/esm/hooks/useMdStreamBuffer.mjs +2 -2
- package/dist/esm/hooks/useMicrophone.mjs +1 -1
- package/dist/esm/hooks/useTrackRenders.mjs +2 -2
- package/dist/esm/hooks.mjs +6 -6
- package/dist/esm/index.mjs +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/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 +21 -1
- package/dist/types/components/TabBar/_types.d.ts +5 -0
- package/dist/types/stores/volume/_types.d.ts +1 -1
- package/dist/types/stores/volume/volumeStore.d.ts +2 -2
- package/package.json +1 -1
- /package/dist/cjs/chunks/{MdStreamBuffer-Chwibu07.js → MdStreamBuffer-CQGZtTLN.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-CF5WZG9b.js → SSEConnection-BqitbvAq.js} +0 -0
- /package/dist/cjs/chunks/{_types-BTdDWVYI.js → _types-CnvV2yMQ.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-C7fMG0WH.js → audioVisualizer-i41gzZXM.js} +0 -0
- /package/dist/cjs/chunks/{colors-CmOkcjB3.js → colors-BlSE7Sf2.js} +0 -0
- /package/dist/cjs/chunks/{debounce-BtCCTkbG.js → debounce-C7m-uQW2.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-CaQkdY5_.js → modalStore-BrwOUMH_.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-BOieqpQy.js → sharedTypes-Cep5dDpY.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-4Bs9v2sg.js → tipStore-BXKWR6IE.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-CyCE9-lr.js → toastStore-Y9JmFP0o.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-DqjaJVC3.js → tslib.es6-yslq87rf.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-Cyon3ytf.mjs → MdStreamBuffer-BF5ZQeUD.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-g0GBGAqe.mjs → SSEConnection-DNA5yBWy.mjs} +0 -0
- /package/dist/esm/chunks/{_types-9ekyeJYl.mjs → _types-DR4jXucA.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-nMo67yOW.mjs → audioVisualizer-CAET7dc9.mjs} +0 -0
- /package/dist/esm/chunks/{colors-v5b8_oYV.mjs → colors-BHYMt294.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-DFxAyrPi.mjs → debounce-DpPYyz3x.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-D6_oc47l.mjs → modalStore-DbxIsSpU.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-CdmzhKXN.mjs → sharedTypes-DoNQkNSM.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-C2M6zBzd.mjs → tipStore-CmyIJWe7.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-B-6kdNHw.mjs → toastStore-BYMHSiu2.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-CVvvNSPr.mjs → tslib.es6-75ZdAmtm.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,13 +9,13 @@ 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-BQH7I5Zj.mjs";
|
|
13
13
|
|
|
14
|
-
import "./webRTCStore-
|
|
14
|
+
import "./webRTCStore-Ck8TCzr_.mjs";
|
|
15
15
|
|
|
16
|
-
import "./microphoneStore-
|
|
16
|
+
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
17
|
|
|
18
|
-
import "./volumeStore-
|
|
18
|
+
import "./volumeStore-C0iU07fK.mjs";
|
|
19
19
|
|
|
20
20
|
import "../hooks/useWindow.mjs";
|
|
21
21
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useCallback, useMemo } from "react";
|
|
7
7
|
|
|
8
|
-
import { s as setStyle, a as accessibleKeyDown } from "./misc-
|
|
8
|
+
import { s as setStyle, a as accessibleKeyDown } from "./misc-BQH7I5Zj.mjs";
|
|
9
9
|
|
|
10
|
-
import { F as FileIcon } from "./FileIcon-
|
|
10
|
+
import { F as FileIcon } from "./FileIcon-DnEohsNX.mjs";
|
|
11
11
|
|
|
12
|
-
import { I as Icon } from "./Icon-
|
|
12
|
+
import { I as Icon } from "./Icon-CbDAKN_S.mjs";
|
|
13
13
|
|
|
14
|
-
import { P as ProgressIndicator } from "./ProgressIndicator-
|
|
14
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-BWrcdWvF.mjs";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Split a file name into its display name and extension.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -11,17 +11,17 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
11
11
|
|
|
12
12
|
import "../theme/colors.mjs";
|
|
13
13
|
|
|
14
|
-
import "./webRTCStore-
|
|
14
|
+
import "./webRTCStore-Ck8TCzr_.mjs";
|
|
15
15
|
|
|
16
|
-
import "./microphoneStore-
|
|
16
|
+
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
17
|
|
|
18
|
-
import "./volumeStore-
|
|
18
|
+
import "./volumeStore-C0iU07fK.mjs";
|
|
19
19
|
|
|
20
20
|
import "../hooks/useWindow.mjs";
|
|
21
21
|
|
|
22
|
-
import { B as Badge } from "./Badge-
|
|
22
|
+
import { B as Badge } from "./Badge-DHvo2-ZQ.mjs";
|
|
23
23
|
|
|
24
|
-
import { I as Icon } from "./Icon-
|
|
24
|
+
import { I as Icon } from "./Icon-CbDAKN_S.mjs";
|
|
25
25
|
|
|
26
26
|
var 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";
|
|
27
27
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,13 +9,13 @@ 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-BQH7I5Zj.mjs";
|
|
13
13
|
|
|
14
|
-
import "./webRTCStore-
|
|
14
|
+
import "./webRTCStore-Ck8TCzr_.mjs";
|
|
15
15
|
|
|
16
|
-
import "./microphoneStore-
|
|
16
|
+
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
17
|
|
|
18
|
-
import "./volumeStore-
|
|
18
|
+
import "./volumeStore-C0iU07fK.mjs";
|
|
19
19
|
|
|
20
20
|
import "../hooks/useWindow.mjs";
|
|
21
21
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,13 +7,13 @@ import { motion } from "motion/react";
|
|
|
7
7
|
|
|
8
8
|
import React, { useRef, useState, useEffect, useCallback, useMemo } from "react";
|
|
9
9
|
|
|
10
|
-
import { B as Badge } from "./Badge-
|
|
10
|
+
import { B as Badge } from "./Badge-DHvo2-ZQ.mjs";
|
|
11
11
|
|
|
12
|
-
import { D as Dot } from "./Dot-
|
|
12
|
+
import { D as Dot } from "./Dot-B6Q97aIp.mjs";
|
|
13
13
|
|
|
14
|
-
import { I as Icon } from "./Icon-
|
|
14
|
+
import { I as Icon } from "./Icon-CbDAKN_S.mjs";
|
|
15
15
|
|
|
16
|
-
import { T as ToolTipType } from "./sharedTypes-
|
|
16
|
+
import { T as ToolTipType } from "./sharedTypes-DoNQkNSM.mjs";
|
|
17
17
|
|
|
18
18
|
var css_button = "IconButton-module_button__rziqa flexBox-module_row__z24tF", css_label = "IconButton-module_label__qWGFD flexBox-module_row__z24tF type-module_body-l-regular__lOYbg", css_icon = "IconButton-module_icon__2DDWy flexBox-module_row__z24tF", css_count = "IconButton-module_count__6r373 flexBox-module_row__z24tF";
|
|
19
19
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import { useCallback, useMemo } from "react";
|
|
7
7
|
|
|
8
|
-
import { s as setStyle } from "./misc-
|
|
8
|
+
import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
|
|
9
9
|
|
|
10
10
|
var LabelBackground, css = {
|
|
11
11
|
label: "Label-module_label__RaRvM",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as __rest } from "./tslib.es6-
|
|
1
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
2
2
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
import React, { useRef, useState, useMemo, useEffect } from "react";
|
|
6
6
|
|
|
7
|
-
import { s as setStyle } from "./misc-
|
|
7
|
+
import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
|
|
8
8
|
|
|
9
|
-
import { A as AudioVisualizer } from "./audioVisualizer-
|
|
9
|
+
import { A as AudioVisualizer } from "./audioVisualizer-CAET7dc9.mjs";
|
|
10
10
|
|
|
11
11
|
var css_wrapper = "Level-module_wrapper__yOfXw", css_barContainer = "Level-module_barContainer__QMUdv", css_bar = "Level-module_bar__MnApX";
|
|
12
12
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useRef, useState, useCallback, useMemo, useEffect } from "react";
|
|
7
7
|
|
|
8
|
-
import { s as setStyle } from "./misc-
|
|
8
|
+
import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
|
|
9
9
|
|
|
10
|
-
import { B as Button } from "./Button-
|
|
10
|
+
import { B as Button } from "./Button-v92U2QVV.mjs";
|
|
11
11
|
|
|
12
|
-
import { I as Icon } from "./Icon-
|
|
12
|
+
import { I as Icon } from "./Icon-CbDAKN_S.mjs";
|
|
13
13
|
|
|
14
|
-
import { I as IconButton } from "./IconButton-
|
|
14
|
+
import { I as IconButton } from "./IconButton-nOcdRqR3.mjs";
|
|
15
15
|
|
|
16
16
|
var css = {
|
|
17
17
|
wrapper: "Modal-module_wrapper__34Hds flexBox-module_columnBetween__ERfp7",
|
|
@@ -4,15 +4,15 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
|
|
|
4
4
|
|
|
5
5
|
import { useRef } from "react";
|
|
6
6
|
|
|
7
|
-
import "./microphoneStore-
|
|
7
|
+
import "./microphoneStore-uYs2NQQx.mjs";
|
|
8
8
|
|
|
9
|
-
import "./volumeStore-
|
|
9
|
+
import "./volumeStore-C0iU07fK.mjs";
|
|
10
10
|
|
|
11
|
-
import "./webRTCStore-
|
|
11
|
+
import "./webRTCStore-Ck8TCzr_.mjs";
|
|
12
12
|
|
|
13
|
-
import { O as Overlay } from "./Overlay-
|
|
13
|
+
import { O as Overlay } from "./Overlay-iKgSkUKP.mjs";
|
|
14
14
|
|
|
15
|
-
import { u as useModal, a as useModalActions } from "./modalStore-
|
|
15
|
+
import { u as useModal, a as useModalActions } from "./modalStore-DbxIsSpU.mjs";
|
|
16
16
|
|
|
17
17
|
var css_container = "ModalController-module_container__3cSaO", css_box = "ModalController-module_box__cPzOz", css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
|
|
18
18
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useState, useMemo, useEffect, useCallback } from "react";
|
|
7
7
|
|
|
8
|
-
import { a as accessibleKeyDown } from "./misc-
|
|
8
|
+
import { a as accessibleKeyDown } from "./misc-BQH7I5Zj.mjs";
|
|
9
9
|
|
|
10
10
|
var css_wrapper = "Pager-module_wrapper__eutVg flexBox-module_row__z24tF", css_bullet = "Pager-module_bullet__TxyR5 flexBox-module_row__z24tF", css_selected = "Pager-module_selected__C6xbR";
|
|
11
11
|
|
|
@@ -7,17 +7,17 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
7
7
|
|
|
8
8
|
import "../theme/colors.mjs";
|
|
9
9
|
|
|
10
|
-
import { _ as __rest } from "./tslib.es6-
|
|
10
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
11
11
|
|
|
12
|
-
import "./webRTCStore-
|
|
12
|
+
import "./webRTCStore-Ck8TCzr_.mjs";
|
|
13
13
|
|
|
14
|
-
import "./microphoneStore-
|
|
14
|
+
import "./microphoneStore-uYs2NQQx.mjs";
|
|
15
15
|
|
|
16
|
-
import "./volumeStore-
|
|
16
|
+
import "./volumeStore-C0iU07fK.mjs";
|
|
17
17
|
|
|
18
18
|
import "../hooks/useWindow.mjs";
|
|
19
19
|
|
|
20
|
-
import { I as Icon } from "./Icon-
|
|
20
|
+
import { I as Icon } from "./Icon-CbDAKN_S.mjs";
|
|
21
21
|
|
|
22
22
|
import { AnimatePresence, motion } from "motion/react";
|
|
23
23
|
|
|
@@ -7,21 +7,21 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
7
7
|
|
|
8
8
|
import "../theme/colors.mjs";
|
|
9
9
|
|
|
10
|
-
import "./tslib.es6-
|
|
10
|
+
import "./tslib.es6-75ZdAmtm.mjs";
|
|
11
11
|
|
|
12
|
-
import { s as setStyle } from "./misc-
|
|
12
|
+
import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
|
|
13
13
|
|
|
14
|
-
import "./webRTCStore-
|
|
14
|
+
import "./webRTCStore-Ck8TCzr_.mjs";
|
|
15
15
|
|
|
16
|
-
import "./microphoneStore-
|
|
16
|
+
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
17
|
|
|
18
|
-
import "./volumeStore-
|
|
18
|
+
import "./volumeStore-C0iU07fK.mjs";
|
|
19
19
|
|
|
20
20
|
import "../hooks/useWindow.mjs";
|
|
21
21
|
|
|
22
|
-
import { B as Button } from "./Button-
|
|
22
|
+
import { B as Button } from "./Button-v92U2QVV.mjs";
|
|
23
23
|
|
|
24
|
-
import { F as FileList } from "./FileList-
|
|
24
|
+
import { F as FileList } from "./FileList-CnuT4Llg.mjs";
|
|
25
25
|
|
|
26
26
|
var css = {
|
|
27
27
|
wrapperBg: "PromptInput-module_wrapperBg__zabZq flexBox-module_columnStart__C7P44",
|
|
@@ -42,11 +42,13 @@ const PromptInputBase = React.forwardRef((props, ref) => {
|
|
|
42
42
|
var _a, _b;
|
|
43
43
|
setIsFocused(!0), null === (_a = null == textAreaRef ? void 0 : textAreaRef.current) || void 0 === _a || _a.focus(),
|
|
44
44
|
null == onFocus || onFocus(null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
|
|
45
|
-
}, [ onFocus, attachments ]), handleBlur = useCallback(
|
|
45
|
+
}, [ onFocus, attachments ]), handleBlur = useCallback(valueOverride => {
|
|
46
46
|
var _a, _b;
|
|
47
47
|
setIsFocused(!1), null === (_a = textAreaRef.current) || void 0 === _a || _a.blur(),
|
|
48
|
-
null == onBlur || onBlur(null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
|
|
49
|
-
}, [ onBlur, attachments ]),
|
|
48
|
+
null == onBlur || onBlur(null != valueOverride ? valueOverride : null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
|
|
49
|
+
}, [ onBlur, attachments ]), handleTextAreaBlur = useCallback(() => {
|
|
50
|
+
handleBlur();
|
|
51
|
+
}, [ handleBlur ]), handleAttachmentsChange = useCallback(newFiles => {
|
|
50
52
|
var _a;
|
|
51
53
|
null == onAttachmentsChange || onAttachmentsChange(newFiles), null == onChange || onChange(null === (_a = textAreaRef.current) || void 0 === _a ? void 0 : _a.value, newFiles);
|
|
52
54
|
}, [ onAttachmentsChange, onChange ]), handleChange = useCallback(e => {
|
|
@@ -57,9 +59,10 @@ const PromptInputBase = React.forwardRef((props, ref) => {
|
|
|
57
59
|
if (stopEnabled) return;
|
|
58
60
|
if (working && submitWorking) return;
|
|
59
61
|
const currentValue = null === (_a = textAreaRef.current) || void 0 === _a ? void 0 : _a.value;
|
|
60
|
-
currentValue && (null == onSubmit || onSubmit(currentValue, attachments), submitClears && setTextValue(""),
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
currentValue && (null == onSubmit || onSubmit(currentValue, attachments), submitClears && (setTextValue(""),
|
|
63
|
+
null == onChange || onChange("", attachments), textAreaRef.current && (textAreaRef.current.value = "")),
|
|
64
|
+
handleBlur(submitClears ? "" : currentValue));
|
|
65
|
+
}, [ stopEnabled, submitClears, onChange, onSubmit, handleBlur, attachments, working, submitWorking ]), handleStop = useCallback(() => {
|
|
63
66
|
null == onStop || onStop(), handleFocus();
|
|
64
67
|
}, [ onStop, handleFocus ]), handleKeyDown = useCallback(e => {
|
|
65
68
|
"Enter" === e.key && enterSubmits && (e.preventDefault(), handleSubmit());
|
|
@@ -80,8 +83,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
|
|
|
80
83
|
var _a, _b;
|
|
81
84
|
focused ? null === (_a = textAreaRef.current) || void 0 === _a || _a.focus() : null === (_b = textAreaRef.current) || void 0 === _b || _b.blur();
|
|
82
85
|
}, [ focused ]), useEffect(() => {
|
|
83
|
-
|
|
84
|
-
(null === (_a = textAreaRef.current) || void 0 === _a ? void 0 : _a.value) !== value && setTextValue(value);
|
|
86
|
+
setTextValue(value);
|
|
85
87
|
}, [ value ]);
|
|
86
88
|
const cssVars = useMemo(() => ({
|
|
87
89
|
"--prompt-width": setStyle(width),
|
|
@@ -120,7 +122,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
|
|
|
120
122
|
onChange: handleChange,
|
|
121
123
|
placeholder: setPlaceholder,
|
|
122
124
|
onFocus: handleFocus,
|
|
123
|
-
onBlur:
|
|
125
|
+
onBlur: handleTextAreaBlur,
|
|
124
126
|
onKeyDown: handleKeyDown,
|
|
125
127
|
maxLength: maxLength,
|
|
126
128
|
rows: 1
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useState, useEffect, useCallback, useMemo } from "react";
|
|
7
7
|
|
|
8
|
-
import { s as setStyle } from "./misc-
|
|
8
|
+
import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
|
|
9
9
|
|
|
10
|
-
import { I as Icon } from "./Icon-
|
|
10
|
+
import { I as Icon } from "./Icon-CbDAKN_S.mjs";
|
|
11
11
|
|
|
12
12
|
var css_wrapper = "RadioButton-module_wrapper__-pWRe flexBox-module_row__z24tF", css_radioIcon = "RadioButton-module_radioIcon__I27Xv flexBox-module_column__ezvMq", css_radioTitle = "RadioButton-module_radioTitle__zCQII flexBox-module_rowStart__4tcxS type-module_body-m-regular__LuQBA", css_radioContent = "RadioButton-module_radioContent__38xVx flexBox-module_columnStart__C7P44";
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useId, useState, useEffect, useCallback, useMemo } from "react";
|
|
7
7
|
|
|
8
|
-
import { s as setStyle } from "./misc-
|
|
8
|
+
import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
|
|
9
9
|
|
|
10
|
-
import { R as RadioButton } from "./RadioButton-
|
|
10
|
+
import { R as RadioButton } from "./RadioButton-DUzPaLKa.mjs";
|
|
11
11
|
|
|
12
12
|
var css_wrapper = "RadioButtonList-module_wrapper__wnq1-", css_column = "RadioButtonList-module_column__Bq16e flexBox-module_columnStart__C7P44", css_row = "RadioButtonList-module_row__D3szq flexBox-module_rowStart__4tcxS";
|
|
13
13
|
|
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useRef, useState, useMemo, useCallback, useEffect } from "react";
|
|
7
7
|
|
|
8
|
-
import
|
|
8
|
+
import "../theme/colors.mjs";
|
|
9
|
+
|
|
10
|
+
import { p as pointerPosition } from "./misc-BQH7I5Zj.mjs";
|
|
11
|
+
|
|
12
|
+
import { d as debounce } from "./debounce-DpPYyz3x.mjs";
|
|
13
|
+
|
|
14
|
+
import "./webRTCStore-Ck8TCzr_.mjs";
|
|
9
15
|
|
|
10
|
-
import
|
|
16
|
+
import "./microphoneStore-uYs2NQQx.mjs";
|
|
11
17
|
|
|
12
|
-
import
|
|
18
|
+
import "./volumeStore-C0iU07fK.mjs";
|
|
19
|
+
|
|
20
|
+
import "../hooks/useWindow.mjs";
|
|
21
|
+
|
|
22
|
+
import { useObserveResize } from "../hooks/useObserveResize.mjs";
|
|
13
23
|
|
|
14
24
|
var css_wrapper = "Slider-module_wrapper__KCCs1", css_trackBg = "Slider-module_trackBg__7zfqm flexBox-module_rowStart__4tcxS", css_track = "Slider-module_track__kaJkL flexBox-module_rowStart__4tcxS", css_trackHead = "Slider-module_trackHead__W-UdG", css_trackWrapper = "Slider-module_trackWrapper__Ot0Wh flexBox-module_rowStart__4tcxS";
|
|
15
25
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,23 +9,36 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/colors.mjs";
|
|
11
11
|
|
|
12
|
-
import "./
|
|
12
|
+
import { s as setStyle } from "./misc-BQH7I5Zj.mjs";
|
|
13
13
|
|
|
14
|
-
import "./
|
|
14
|
+
import "./webRTCStore-Ck8TCzr_.mjs";
|
|
15
15
|
|
|
16
|
-
import "./
|
|
16
|
+
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
|
+
|
|
18
|
+
import "./volumeStore-C0iU07fK.mjs";
|
|
17
19
|
|
|
18
20
|
import "../hooks/useWindow.mjs";
|
|
19
21
|
|
|
20
|
-
import { B as Badge } from "./Badge-
|
|
22
|
+
import { B as Badge } from "./Badge-DHvo2-ZQ.mjs";
|
|
21
23
|
|
|
22
|
-
import { I as Icon } from "./Icon-
|
|
24
|
+
import { I as Icon } from "./Icon-CbDAKN_S.mjs";
|
|
23
25
|
|
|
24
|
-
import { I as IconButton } from "./IconButton-
|
|
26
|
+
import { I as IconButton } from "./IconButton-nOcdRqR3.mjs";
|
|
25
27
|
|
|
26
|
-
import { T as ToolTipType } from "./sharedTypes-
|
|
28
|
+
import { T as ToolTipType } from "./sharedTypes-DoNQkNSM.mjs";
|
|
27
29
|
|
|
28
|
-
var
|
|
30
|
+
var css = {
|
|
31
|
+
wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
|
|
32
|
+
option: "TabBar-module_option__gYjDf flexBox-module_row__z24tF",
|
|
33
|
+
icon: "TabBar-module_icon__JDgG3 flexBox-module_row__z24tF",
|
|
34
|
+
close: "TabBar-module_close__bvSBh flexBox-module_row__z24tF",
|
|
35
|
+
xs: "TabBar-module_xs__QDjV9 type-module_body-xs-regular__ZAFft",
|
|
36
|
+
s: "TabBar-module_s__-EBj2 type-module_body-s-regular__vRHSP",
|
|
37
|
+
m: "TabBar-module_m__3sCA3 type-module_body-m-regular__LuQBA",
|
|
38
|
+
l: "TabBar-module_l__hy1rR type-module_body-l-regular__lOYbg",
|
|
39
|
+
xl: "TabBar-module_xl__zaASU type-module_body-xl-regular__pF2kC",
|
|
40
|
+
selected: "TabBar-module_selected__UmBdu"
|
|
41
|
+
};
|
|
29
42
|
|
|
30
43
|
const placeholderOptions = [ {
|
|
31
44
|
name: "Light",
|
|
@@ -36,7 +49,7 @@ const placeholderOptions = [ {
|
|
|
36
49
|
value: "Option 2",
|
|
37
50
|
icon: "moon full"
|
|
38
51
|
} ], TabBar = React.memo(props => {
|
|
39
|
-
const {options: options = placeholderOptions, selected: selected = 0, border: border = !0, underline: underline = !0, height: height = "100%", width: width = "100%", tabWidth: tabWidth = "fill", padding: padding = 8, iconFill: iconFill = !1, iconSize: iconSize = 20, iconGap: iconGap = 8, tabGap: tabGap = 0, disabled: disabled = !1, hasClose: hasClose = !1, closeWidth: closeWidth = "auto", selectedValue: selectedValue = null, onChange: onChange = () => null, onTabChange: onTabChange = () => null, onClose: onClose = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "options", "selected", "border", "underline", "height", "width", "tabWidth", "padding", "iconFill", "iconSize", "iconGap", "tabGap", "disabled", "hasClose", "closeWidth", "selectedValue", "onChange", "onTabChange", "onClose", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [index, setIndex] = useState(selected), optionRefs = useRef([]);
|
|
52
|
+
const {options: options = placeholderOptions, selected: selected = 0, border: border = !0, underline: underline = !0, height: height = "100%", width: width = "100%", tabWidth: tabWidth = "fill", padding: padding = 8, iconFill: iconFill = !1, iconSize: iconSize = 20, iconGap: iconGap = 8, tabGap: tabGap = 0, disabled: disabled = !1, hasClose: hasClose = !1, closeWidth: closeWidth = "auto", selectedValue: selectedValue = null, justify: justify = "start", borderColor: borderColor = "var(--core-outline-secondary)", textSize: textSize = "m", onChange: onChange = () => null, onTabChange: onTabChange = () => null, onClose: onClose = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "options", "selected", "border", "underline", "height", "width", "tabWidth", "padding", "iconFill", "iconSize", "iconGap", "tabGap", "disabled", "hasClose", "closeWidth", "selectedValue", "justify", "borderColor", "textSize", "onChange", "onTabChange", "onClose", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [index, setIndex] = useState(selected), optionRefs = useRef([]);
|
|
40
53
|
useEffect(() => {
|
|
41
54
|
let selectedIndex = 0;
|
|
42
55
|
selectedValue && options ? (selectedIndex = options.findIndex(option => option.value === selectedValue),
|
|
@@ -88,26 +101,30 @@ const placeholderOptions = [ {
|
|
|
88
101
|
underline: underline,
|
|
89
102
|
iconFill: iconFill,
|
|
90
103
|
tabWidth: tabWidth,
|
|
104
|
+
textSize: textSize,
|
|
105
|
+
borderColor: borderColor,
|
|
91
106
|
buttonRef: element => {
|
|
92
107
|
optionRefs.current[i] = element;
|
|
93
108
|
}
|
|
94
|
-
}, `${i}_option_${option.name}`)), [ options, index, padding, iconSize, iconGap, disabled, underline, tabWidth, onToolTip, handleOptionClick, iconFill, handleOptionKeyDown
|
|
109
|
+
}, `${i}_option_${option.name}`)), [ options, index, padding, iconSize, iconGap, disabled, underline, tabWidth, onToolTip, handleOptionClick, iconFill, handleOptionKeyDown, textSize ]), cssVars = useMemo(() => ({
|
|
95
110
|
"--tab-bar-gap": `${tabGap}px`,
|
|
96
111
|
"--tab-bar-height": `${setStyle(height)}px`,
|
|
97
112
|
"--tab-bar-width": setStyle(width),
|
|
98
113
|
"--tab-bar-border-bottom": "" + (border ? "1px" : "0"),
|
|
114
|
+
"--tab-bar-border-color": borderColor,
|
|
115
|
+
"--tab-bar-justify": justify,
|
|
99
116
|
"--tab-bar-close-width": `${closeWidth}px`,
|
|
100
|
-
"--tab-bar-close-padding": padding
|
|
101
|
-
}), [ tabGap, height, width, border,
|
|
117
|
+
"--tab-bar-close-padding": setStyle(padding, "8px")
|
|
118
|
+
}), [ tabGap, height, width, border, closeWidth, padding, borderColor, justify ]);
|
|
102
119
|
return jsxs("div", Object.assign({
|
|
103
120
|
id: divId,
|
|
104
|
-
className: `${
|
|
121
|
+
className: `${css.wrapper}${divClass}`,
|
|
105
122
|
style: Object.assign(Object.assign({}, divStyle), cssVars),
|
|
106
123
|
role: "tablist",
|
|
107
124
|
"aria-orientation": "horizontal"
|
|
108
125
|
}, rest, {
|
|
109
126
|
children: [ renderedOptions, hasClose && jsx("div", {
|
|
110
|
-
className:
|
|
127
|
+
className: css.close,
|
|
111
128
|
children: jsx(IconButton, {
|
|
112
129
|
iconSize: iconSize - 4,
|
|
113
130
|
frameSize: iconSize,
|
|
@@ -124,7 +141,7 @@ const placeholderOptions = [ {
|
|
|
124
141
|
TabBar.displayName = "TabBar";
|
|
125
142
|
|
|
126
143
|
const Option = React.memo(props => {
|
|
127
|
-
const theme = useTheme(), {label: label = "Option", value: value = 0, icon: icon = null, selected: selected = !1, onClick: onClick = () => null, onToolTip: onToolTip = () => null, padding: padding = 8, iconSize: iconSize = 20, iconGap: iconGap = 6, disabled: disabled = !1, showToolTip: showToolTip = null, underline: underline = !0, tabWidth: tabWidth = "fill", count: count = 0, iconFill: iconFill = !1, onKeyDown: onKeyDown = () => null, buttonRef: buttonRef} = props, ref = useRef(null), strokeColor = useMemo(() => !disabled && selected ? theme.current.colors["core-text-special"] : disabled ? theme.current.colors["core-text-disabled"] : theme.current.colors["core-text-primary"], [ disabled, selected, theme ]), handleMouseOver = useCallback(e => {
|
|
144
|
+
const theme = useTheme(), {label: label = "Option", value: value = 0, icon: icon = null, selected: selected = !1, onClick: onClick = () => null, onToolTip: onToolTip = () => null, padding: padding = 8, iconSize: iconSize = 20, iconGap: iconGap = 6, disabled: disabled = !1, showToolTip: showToolTip = null, underline: underline = !0, tabWidth: tabWidth = "fill", borderColor: borderColor = "var(--core-outline-secondary)", count: count = 0, iconFill: iconFill = !1, textSize: textSize = "m", onKeyDown: onKeyDown = () => null, buttonRef: buttonRef} = props, ref = useRef(null), strokeColor = useMemo(() => !disabled && selected ? theme.current.colors["core-text-special"] : disabled ? theme.current.colors["core-text-disabled"] : theme.current.colors["core-text-primary"], [ disabled, selected, theme ]), handleMouseOver = useCallback(e => {
|
|
128
145
|
if (onToolTip(null), showToolTip && ref.current) {
|
|
129
146
|
const tip = {
|
|
130
147
|
type: ToolTipType.button,
|
|
@@ -140,17 +157,18 @@ const Option = React.memo(props => {
|
|
|
140
157
|
showToolTip && onToolTip(null);
|
|
141
158
|
}, [ showToolTip, onToolTip ]), textColor = useMemo(() => disabled ? "var(--core-text-disabled)" : selected ? "var(--core-text-special)" : "var(--core-text-primary)", [ disabled, selected ]), setTabWidth = useMemo(() => "compact" === tabWidth ? "min-content" : "fill" === tabWidth ? "unset" : `${tabWidth}px`, [ tabWidth ]), setTabFlex = useMemo(() => "fill" === tabWidth ? "1" : "unset", [ tabWidth ]), setUnderline = useMemo(() => selected && underline && !disabled ? "1px" : "0", [ underline, disabled, selected ]), cssVars = useMemo(() => ({
|
|
142
159
|
"--tab-bar-option-border": setUnderline,
|
|
143
|
-
"--tab-bar-option-
|
|
160
|
+
"--tab-bar-option-border-color": borderColor,
|
|
161
|
+
"--tab-bar-option-padding": setStyle(padding, "8px"),
|
|
144
162
|
"--tab-bar-option-icon-size": `${iconSize}px`,
|
|
145
163
|
"--tab-bar-option-cursor": disabled ? "default" : "pointer",
|
|
146
164
|
"--tab-bar-option-gap": `${null != iconGap ? iconGap : 0}px`,
|
|
147
165
|
"--tab-bar-option-color": textColor,
|
|
148
166
|
"--tab-bar-option-width": setTabWidth,
|
|
149
167
|
"--tab-bar-option-flex": setTabFlex
|
|
150
|
-
}), [ padding, iconSize, disabled, textColor, iconGap, setTabFlex, setTabWidth, setUnderline ]);
|
|
168
|
+
}), [ padding, iconSize, disabled, textColor, iconGap, setTabFlex, setTabWidth, setUnderline, borderColor ]);
|
|
151
169
|
return jsxs("button", {
|
|
152
170
|
type: "button",
|
|
153
|
-
className:
|
|
171
|
+
className: `${css.option} ${css[textSize]} ${selected ? css.selected : ""}`,
|
|
154
172
|
style: cssVars,
|
|
155
173
|
ref: element => {
|
|
156
174
|
ref.current = element, null == buttonRef || buttonRef(element);
|
|
@@ -163,7 +181,7 @@ const Option = React.memo(props => {
|
|
|
163
181
|
onClick: () => onClick(value),
|
|
164
182
|
onKeyDown: e => onKeyDown(e, value),
|
|
165
183
|
children: [ icon && jsx("div", {
|
|
166
|
-
className:
|
|
184
|
+
className: css.icon,
|
|
167
185
|
children: jsx(Icon, {
|
|
168
186
|
name: icon,
|
|
169
187
|
fill: iconFill,
|
|
@@ -176,7 +194,7 @@ const Option = React.memo(props => {
|
|
|
176
194
|
count: count
|
|
177
195
|
}) ]
|
|
178
196
|
});
|
|
179
|
-
}, (prevProps, nextProps) => prevProps.selected === nextProps.selected && prevProps.underline === nextProps.underline && prevProps.tabWidth === nextProps.tabWidth && prevProps.disabled === nextProps.disabled && prevProps.iconGap === nextProps.iconGap && prevProps.iconSize === nextProps.iconSize && prevProps.count === nextProps.count && prevProps.label === nextProps.label && prevProps.icon === nextProps.icon);
|
|
197
|
+
}, (prevProps, nextProps) => prevProps.selected === nextProps.selected && prevProps.underline === nextProps.underline && prevProps.tabWidth === nextProps.tabWidth && prevProps.disabled === nextProps.disabled && prevProps.iconGap === nextProps.iconGap && prevProps.iconSize === nextProps.iconSize && prevProps.count === nextProps.count && prevProps.label === nextProps.label && prevProps.icon === nextProps.icon && prevProps.borderColor === nextProps.borderColor && prevProps.textSize === nextProps.textSize && prevProps.padding === nextProps.padding);
|
|
180
198
|
|
|
181
199
|
Option.displayName = "TabOption";
|
|
182
200
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-75ZdAmtm.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useState, useRef, useCallback, useEffect, useMemo } from "react";
|
|
7
7
|
|
|
8
|
-
import { B as Button } from "./Button-
|
|
8
|
+
import { B as Button } from "./Button-v92U2QVV.mjs";
|
|
9
9
|
|
|
10
10
|
var css_wrapper = "TextArea-module_wrapper__O0sWP flexBox-module_columnStart__C7P44", css_textarea = "TextArea-module_textarea__-R2n0", css_send = "TextArea-module_send__Cub13", css_xs = "TextArea-module_xs__5e748 type-module_body-xs-regular__ZAFft", css_s = "TextArea-module_s__Ac-fq type-module_body-s-regular__vRHSP", css_m = "TextArea-module_m__dod4R type-module_body-m-regular__LuQBA", css_l = "TextArea-module_l__-uLCG type-module_body-l-regular__lOYbg";
|
|
11
11
|
|