@apple-pie/slice 0.1.33 → 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-_eYM1QMu.js → AudioBubble-CSybA_ET.js} +4 -4
- package/dist/cjs/chunks/{Avatar-DTro_MXZ.js → Avatar-vhbPRhli.js} +1 -1
- package/dist/cjs/chunks/{AvatarGroup-OPJJ_Te5.js → AvatarGroup-BQ8evyuD.js} +1 -1
- package/dist/cjs/chunks/{Badge-DWUeXxm2.js → Badge-C6Yv-vZ7.js} +1 -1
- package/dist/cjs/chunks/{Button-CuGvPAkH.js → Button-DSFVBBSz.js} +5 -4
- package/dist/cjs/chunks/{ButtonBar-CbXToyfD.js → ButtonBar-BV57H5tK.js} +1 -1
- package/dist/cjs/chunks/{Camera-DjENiyud.js → Camera-UCBkxmIi.js} +5 -5
- package/dist/cjs/chunks/{CheckBox-DiJpbdy5.js → CheckBox-DEJCxMel.js} +1 -1
- package/dist/cjs/chunks/Chip-Co9UJPhs.js +77 -0
- package/dist/cjs/chunks/{DivInput-B917fKB9.js → DivInput-DXYuLZTP.js} +1 -1
- package/dist/cjs/chunks/{Dot-DaRF2JyO.js → Dot-ByyRFxJf.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-CJTEmYW6.js → DrggablePanel-EDw3OZa4.js} +9 -8
- package/dist/cjs/chunks/{DropDown-DRSQvXCC.js → DropDown-BpvddY0X.js} +1 -1
- package/dist/cjs/chunks/{ErrorSummary-ltiIsgJ6.js → ErrorSummary-Chas_lIG.js} +4 -4
- package/dist/cjs/chunks/{FileIcon-WIVOTJLa.js → FileIcon-vvwv1ZWh.js} +4 -4
- package/dist/cjs/chunks/{FileList-CzQZZErI.js → FileList-CY_ZUI5o.js} +1 -1
- package/dist/cjs/chunks/{FlexDiv-CBENyLT4.js → FlexDiv-CXas-gXx.js} +1 -1
- package/dist/cjs/chunks/{Grouper-Cd3AJEFv.js → Grouper-DoDqtlXQ.js} +4 -4
- package/dist/cjs/chunks/{Icon-DjvProjz.js → Icon-DR7d5wbQ.js} +17 -5
- package/dist/cjs/chunks/IconButton-C2pgDGer.js +182 -0
- package/dist/cjs/chunks/{IndexedDB-Ddhq6Gjd.js → IndexedDB-B3huw-IF.js} +1 -1
- package/dist/cjs/chunks/{Label-d32ENzwL.js → Label-Bz1y0MlN.js} +1 -1
- package/dist/cjs/chunks/{Level-B8eT8XyV.js → Level-CGC1rIjD.js} +1 -1
- package/dist/cjs/chunks/{Modal-CUAj4e6x.js → Modal-C9p4TjIF.js} +1 -1
- package/dist/cjs/chunks/{ModalController-BwFAVI5G.js → ModalController-B1l70sB5.js} +3 -3
- package/dist/cjs/chunks/{Overlay-CaAA3ey5.js → Overlay-77krece8.js} +1 -1
- package/dist/cjs/chunks/{Pager-uExZ5E3x.js → Pager-B0FSZmAn.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-DwqslY4o.js → ProgressIndicator-CK7dKk8W.js} +4 -4
- package/dist/cjs/chunks/{PromptInput-Dl8l8cZv.js → PromptInput-BFjWPvXi.js} +16 -14
- package/dist/cjs/chunks/{RadioButton-DPpAOFQt.js → RadioButton-qoMg2eXZ.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-IbPA6A3y.js → RadioButtonList-BKKQcFSI.js} +1 -1
- package/dist/cjs/chunks/{Slider-D5oa7NGy.js → Slider-D7r0G9UI.js} +10 -1
- package/dist/cjs/chunks/{Spacer-DtUh2VLv.js → Spacer-DHvuvgy8.js} +1 -1
- package/dist/cjs/chunks/{Switch-Bs0r5va5.js → Switch-D0WIz66o.js} +1 -1
- package/dist/cjs/chunks/{TabBar-BCSTg_Uc.js → TabBar-OZ8cC1Wh.js} +38 -18
- package/dist/cjs/chunks/{TextArea-Dj7jsvVr.js → TextArea-BnWOSrib.js} +3 -2
- package/dist/cjs/chunks/{TextField-DNP0wJla.js → TextField-zAs-JMXf.js} +5 -5
- package/dist/cjs/chunks/{Tip-awq6PDZa.js → Tip-DeP8_frS.js} +1 -1
- package/dist/cjs/chunks/{Toast-xS1TC3Ba.js → Toast-D-pkBwRK.js} +5 -5
- package/dist/cjs/chunks/{ToggleButton-CqD5c6JA.js → ToggleButton-cNIO7RUS.js} +6 -4
- package/dist/cjs/chunks/{UploadArea-CvWqk8YK.js → UploadArea-6sLdjTc4.js} +1 -1
- package/dist/cjs/chunks/{WSConnection-BACWw4TS.js → WSConnection-BwJzXOF0.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-DBeyg4j9.js → WebRTCConnection-Bv-nWtU7.js} +1 -1
- package/dist/cjs/chunks/{_types-BTdDWVYI.js → _types-BTZx360t.js} +3 -1
- package/dist/cjs/chunks/{localDBStore-wgCc1SmV.js → localDBStore-DDw1HB7W.js} +1 -1
- package/dist/cjs/chunks/{microphoneStore-Dy5TwE2I.js → microphoneStore-BWE0f5k5.js} +1 -1
- package/dist/cjs/chunks/{misc-BwQIEIuF.js → misc-Xy8NlSfu.js} +1 -1
- package/dist/cjs/chunks/{sseStore-CFFaYonG.js → sseStore-cP_aDXa1.js} +2 -2
- package/dist/cjs/chunks/{uploads-worker-DWvOe9F8.js → uploads-worker-Ey3k_A8W.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-BCmts7Ie.js → uploadsStore-CysEm3Jm.js} +2 -2
- package/dist/cjs/chunks/{volumeStore-BXFAQhvS.js → volumeStore-TOX_FL_t.js} +4 -5
- package/dist/cjs/chunks/{webRTCStore-DRjvbnve.js → webRTCStore-B1cS14MD.js} +1 -1
- package/dist/cjs/chunks/{windowStore-C4Bg6I9i.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 +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 +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-SB1LCBlJ.mjs → AudioBubble-_YhANdyd.mjs} +6 -6
- package/dist/esm/chunks/{Avatar-B6PcVOmT.mjs → Avatar-C7U2ianJ.mjs} +2 -2
- package/dist/esm/chunks/{AvatarGroup-DEb3j2IZ.mjs → AvatarGroup-VAbyMrus.mjs} +2 -2
- package/dist/esm/chunks/{Badge-bh5UVUnt.mjs → Badge-BKZj-pNA.mjs} +1 -1
- package/dist/esm/chunks/{Button-CWKs3uAV.mjs → Button-C6jYGagD.mjs} +10 -9
- package/dist/esm/chunks/{ButtonBar-CWeMhkSb.mjs → ButtonBar-CHKHuVy1.mjs} +3 -3
- package/dist/esm/chunks/{Camera-BmuMA9xY.mjs → Camera-DPATxQwH.mjs} +8 -8
- package/dist/esm/chunks/{CheckBox-BR6a2n0j.mjs → CheckBox-8oY2dwYh.mjs} +3 -3
- package/dist/esm/chunks/Chip-c3piVzsJ.mjs +87 -0
- package/dist/esm/chunks/{DivInput-BWO1EJXA.mjs → DivInput-g28YpiQp.mjs} +2 -2
- package/dist/esm/chunks/{Dot-DMst-5Q2.mjs → Dot-DnfM38Qp.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-qxrCS7Ot.mjs → DrggablePanel-CjgYDhDq.mjs} +10 -9
- package/dist/esm/chunks/{DropDown-DlO2J4QP.mjs → DropDown-CWHPCDQS.mjs} +3 -3
- package/dist/esm/chunks/{ErrorSummary-BplQFunJ.mjs → ErrorSummary-D1PqqK3r.mjs} +5 -5
- package/dist/esm/chunks/{FileIcon-iFmAF7_a.mjs → FileIcon-CudRs_lw.mjs} +5 -5
- package/dist/esm/chunks/{FileList-CztHFCJe.mjs → FileList-Cj_k6oel.mjs} +5 -5
- package/dist/esm/chunks/{FlexDiv-DGmDZL7M.mjs → FlexDiv-pSlVGfpp.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-DxOISLzH.mjs → Grouper-BQxdCQKy.mjs} +6 -6
- package/dist/esm/chunks/{Icon-L8B35JN1.mjs → Icon-CKS12m2e.mjs} +19 -7
- package/dist/esm/chunks/IconButton-Cka059ZT.mjs +193 -0
- package/dist/esm/chunks/{IndexedDB-DA5oZXju.mjs → IndexedDB-C1lcbDjn.mjs} +1 -1
- package/dist/esm/chunks/{Label-wDPtyK4h.mjs → Label-B7SDZHF3.mjs} +2 -2
- package/dist/esm/chunks/{Level-B9JayinM.mjs → Level-CjR-2ZHs.mjs} +3 -3
- package/dist/esm/chunks/{Modal-C-Q2A_RY.mjs → Modal-BLqTi3R2.mjs} +5 -5
- package/dist/esm/chunks/{ModalController-ClAjHLPb.mjs → ModalController-BGCz54A8.mjs} +5 -5
- package/dist/esm/chunks/{Overlay-Dr9YYxJ6.mjs → Overlay-Dp2GOGjC.mjs} +1 -1
- package/dist/esm/chunks/{Pager-DPbTCMNe.mjs → Pager-DRkFuZTV.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-HaJJDZ-m.mjs → ProgressIndicator-C2EWIn7Z.mjs} +5 -5
- package/dist/esm/chunks/{PromptInput-wGhpXw-h.mjs → PromptInput-mkEHu-_v.mjs} +18 -16
- package/dist/esm/chunks/{RadioButton-oOGgTDhg.mjs → RadioButton-Bd23SEL0.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-CDWKVvyL.mjs → RadioButtonList-ho29Z9aG.mjs} +3 -3
- package/dist/esm/chunks/{Slider-ioPGftDY.mjs → Slider-9hcuVdaH.mjs} +14 -4
- package/dist/esm/chunks/{Spacer-VJBjxVlr.mjs → Spacer-D3_8SzUs.mjs} +1 -1
- package/dist/esm/chunks/{Switch-BCk2sTh3.mjs → Switch-CV_2ygFC.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-C1DYnCRx.mjs → TabBar-BOUnKetI.mjs} +39 -21
- package/dist/esm/chunks/{TextArea-CF3r5m2G.mjs → TextArea-FQVQo3LR.mjs} +4 -3
- package/dist/esm/chunks/{TextField-BNfTj9v2.mjs → TextField-D7ZiWK9I.mjs} +8 -8
- package/dist/esm/chunks/{Tip-DIKQvxxO.mjs → Tip-5OhdfJW7.mjs} +2 -2
- package/dist/esm/chunks/{Toast-CkXPrDpp.mjs → Toast-BlDzsT1J.mjs} +7 -7
- package/dist/esm/chunks/{ToggleButton-Dvy8fc4t.mjs → ToggleButton-BIIm75PN.mjs} +7 -5
- package/dist/esm/chunks/{UploadArea-D_xGzR2e.mjs → UploadArea-AjFofefa.mjs} +4 -4
- package/dist/esm/chunks/{WSConnection-TiYLENWB.mjs → WSConnection-CjwR_k97.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-d0Yvd66q.mjs → WebRTCConnection-rKAgZEbe.mjs} +1 -1
- package/dist/esm/chunks/{_types-9ekyeJYl.mjs → _types-Fewdpo-O.mjs} +3 -1
- package/dist/esm/chunks/{localDBStore-C-5y16uv.mjs → localDBStore-Bxvk_IzQ.mjs} +2 -2
- package/dist/esm/chunks/{microphoneStore-Cbx9nV4R.mjs → microphoneStore-Do0a5LZ9.mjs} +1 -1
- package/dist/esm/chunks/{misc-zecH7-IH.mjs → misc-C5cfUKzm.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-DIquUNpm.mjs → sseStore-oSknLkEF.mjs} +2 -2
- package/dist/esm/chunks/{uploads-worker-CUggKU9b.mjs → uploads-worker-Cyum1zTV.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-9QngohOe.mjs → uploadsStore-BxpUKpcf.mjs} +1 -1
- package/dist/esm/chunks/{volumeStore-BrgZCRKF.mjs → volumeStore-D5i1CeFf.mjs} +4 -5
- package/dist/esm/chunks/{webRTCStore-DhFE9-bb.mjs → webRTCStore-BLGNTnV3.mjs} +2 -2
- package/dist/esm/chunks/{windowStore-BKW7HyoD.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 +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 +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 +27 -2
- 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 +5 -0
- 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/stores/volume/_types.d.ts +1 -1
- package/dist/types/stores/volume/volumeStore.d.ts +2 -2
- package/dist/types/theme/colors/types.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/chunks/Chip-kzOvEo0P.js +0 -77
- package/dist/cjs/chunks/IconButton-BuwQLUuj.js +0 -82
- package/dist/esm/chunks/Chip-DXW0jxKf.mjs +0 -87
- package/dist/esm/chunks/IconButton-DxwJemEK.mjs +0 -96
- /package/dist/cjs/chunks/{MdStreamBuffer-Chwibu07.js → MdStreamBuffer-tvK8qsjv.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-CF5WZG9b.js → SSEConnection-C6fFzIM7.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-C7fMG0WH.js → audioVisualizer-DFVbG1U3.js} +0 -0
- /package/dist/cjs/chunks/{colors-CmOkcjB3.js → colors-D1ls4xuy.js} +0 -0
- /package/dist/cjs/chunks/{debounce-BtCCTkbG.js → debounce-Dt7br1wm.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-CaQkdY5_.js → modalStore-C2TNegI3.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-BOieqpQy.js → sharedTypes-DC-9YrKq.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-4Bs9v2sg.js → tipStore-CcUHlLfK.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-CyCE9-lr.js → toastStore-CzsUlpG7.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-DqjaJVC3.js → tslib.es6-CZ8Is2ry.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-Cyon3ytf.mjs → MdStreamBuffer-CvU2-p0i.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-g0GBGAqe.mjs → SSEConnection-CnZ9v2PI.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-nMo67yOW.mjs → audioVisualizer-Cw40IeKn.mjs} +0 -0
- /package/dist/esm/chunks/{colors-v5b8_oYV.mjs → colors-7VDET9eL.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-DFxAyrPi.mjs → debounce-zgRcExLD.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-D6_oc47l.mjs → modalStore-OVzsFkde.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-CdmzhKXN.mjs → sharedTypes-7jlhdP2f.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-C2M6zBzd.mjs → tipStore-o8uQjfPm.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-B-6kdNHw.mjs → toastStore-Cnivb4IM.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-CVvvNSPr.mjs → tslib.es6-CDAuOlZ8.mjs} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-CDAuOlZ8.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-C5cfUKzm.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-CDAuOlZ8.mjs";
|
|
11
11
|
|
|
12
|
-
import "./webRTCStore-
|
|
12
|
+
import "./webRTCStore-BLGNTnV3.mjs";
|
|
13
13
|
|
|
14
|
-
import "./microphoneStore-
|
|
14
|
+
import "./microphoneStore-Do0a5LZ9.mjs";
|
|
15
15
|
|
|
16
|
-
import "./volumeStore-
|
|
16
|
+
import "./volumeStore-D5i1CeFf.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-CKS12m2e.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-CDAuOlZ8.mjs";
|
|
11
11
|
|
|
12
|
-
import { s as setStyle } from "./misc-
|
|
12
|
+
import { s as setStyle } from "./misc-C5cfUKzm.mjs";
|
|
13
13
|
|
|
14
|
-
import "./webRTCStore-
|
|
14
|
+
import "./webRTCStore-BLGNTnV3.mjs";
|
|
15
15
|
|
|
16
|
-
import "./microphoneStore-
|
|
16
|
+
import "./microphoneStore-Do0a5LZ9.mjs";
|
|
17
17
|
|
|
18
|
-
import "./volumeStore-
|
|
18
|
+
import "./volumeStore-D5i1CeFf.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-C6jYGagD.mjs";
|
|
23
23
|
|
|
24
|
-
import { F as FileList } from "./FileList-
|
|
24
|
+
import { F as FileList } from "./FileList-Cj_k6oel.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-CDAuOlZ8.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-C5cfUKzm.mjs";
|
|
9
9
|
|
|
10
|
-
import { I as Icon } from "./Icon-
|
|
10
|
+
import { I as Icon } from "./Icon-CKS12m2e.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-CDAuOlZ8.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-C5cfUKzm.mjs";
|
|
9
9
|
|
|
10
|
-
import { R as RadioButton } from "./RadioButton-
|
|
10
|
+
import { R as RadioButton } from "./RadioButton-Bd23SEL0.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-CDAuOlZ8.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-C5cfUKzm.mjs";
|
|
11
|
+
|
|
12
|
+
import { d as debounce } from "./debounce-zgRcExLD.mjs";
|
|
13
|
+
|
|
14
|
+
import "./webRTCStore-BLGNTnV3.mjs";
|
|
9
15
|
|
|
10
|
-
import
|
|
16
|
+
import "./microphoneStore-Do0a5LZ9.mjs";
|
|
11
17
|
|
|
12
|
-
import
|
|
18
|
+
import "./volumeStore-D5i1CeFf.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-CDAuOlZ8.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-C5cfUKzm.mjs";
|
|
13
13
|
|
|
14
|
-
import "./
|
|
14
|
+
import "./webRTCStore-BLGNTnV3.mjs";
|
|
15
15
|
|
|
16
|
-
import "./
|
|
16
|
+
import "./microphoneStore-Do0a5LZ9.mjs";
|
|
17
|
+
|
|
18
|
+
import "./volumeStore-D5i1CeFf.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-BKZj-pNA.mjs";
|
|
21
23
|
|
|
22
|
-
import { I as Icon } from "./Icon-
|
|
24
|
+
import { I as Icon } from "./Icon-CKS12m2e.mjs";
|
|
23
25
|
|
|
24
|
-
import { I as IconButton } from "./IconButton-
|
|
26
|
+
import { I as IconButton } from "./IconButton-Cka059ZT.mjs";
|
|
25
27
|
|
|
26
|
-
import { T as ToolTipType } from "./sharedTypes-
|
|
28
|
+
import { T as ToolTipType } from "./sharedTypes-7jlhdP2f.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, borderColor, 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-CDAuOlZ8.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-C6jYGagD.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
|
|
|
@@ -13,7 +13,7 @@ const TextArea = React.memo(props => {
|
|
|
13
13
|
const {value: value = "", name: name = "text_area", width: width = "100%", focused: focused = !1, placeholder: placeholder = "Enter text here...", rows: rows = 6, border: border = !0, borderRadius: borderRadius = 4, padding: padding = "16px 4px 16px 16px", error: error = !1, resizable: resizable = !0, hasSend: hasSend = !1, sendOffset: sendOffset = {
|
|
14
14
|
bottom: 10,
|
|
15
15
|
right: 10
|
|
16
|
-
}, sendSize: sendSize = 36, returnSubmits: returnSubmits = !1, backgroundColor: backgroundColor, bgColor: bgColor, minWidth: minWidth, textSize: textSize = "m", disabled: disabled = !1, submitClears: submitClears = !0, onChange: onChange = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onSubmit: onSubmit = () => null, onKeyDown: onKeyDown = () => null} = props, divAttributes = __rest(props, [ "value", "name", "width", "focused", "placeholder", "rows", "border", "borderRadius", "padding", "error", "resizable", "hasSend", "sendOffset", "sendSize", "returnSubmits", "backgroundColor", "bgColor", "minWidth", "textSize", "disabled", "submitClears", "onChange", "onFocus", "onBlur", "onSubmit", "onKeyDown" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, [isFocused, setIsFocused] = useState(focused), [text, setText] = useState(value), ref = useRef(null), handleResize = useCallback(() => {
|
|
16
|
+
}, sendSize: sendSize = 36, returnSubmits: returnSubmits = !1, backgroundColor: backgroundColor, bgColor: bgColor, minWidth: minWidth, textSize: textSize = "m", disabled: disabled = !1, submitClears: submitClears = !0, maxLength: maxLength, onChange: onChange = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onSubmit: onSubmit = () => null, onKeyDown: onKeyDown = () => null} = props, divAttributes = __rest(props, [ "value", "name", "width", "focused", "placeholder", "rows", "border", "borderRadius", "padding", "error", "resizable", "hasSend", "sendOffset", "sendSize", "returnSubmits", "backgroundColor", "bgColor", "minWidth", "textSize", "disabled", "submitClears", "maxLength", "onChange", "onFocus", "onBlur", "onSubmit", "onKeyDown" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, [isFocused, setIsFocused] = useState(focused), [text, setText] = useState(value), ref = useRef(null), handleResize = useCallback(() => {
|
|
17
17
|
(null == ref ? void 0 : ref.current) && (ref.current.style.height = "auto", ref.current.style.height = `${ref.current.scrollHeight}px`);
|
|
18
18
|
}, []);
|
|
19
19
|
useEffect(() => {
|
|
@@ -69,6 +69,7 @@ const TextArea = React.memo(props => {
|
|
|
69
69
|
value: text,
|
|
70
70
|
placeholder: placeholder,
|
|
71
71
|
rows: rows,
|
|
72
|
+
maxLength: maxLength,
|
|
72
73
|
disabled: disabled,
|
|
73
74
|
onChange: e => handleChange(e.target.value),
|
|
74
75
|
onInput: () => handleResize(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -11,21 +11,21 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
11
11
|
|
|
12
12
|
import "../theme/colors.mjs";
|
|
13
13
|
|
|
14
|
-
import { s as setStyle } from "./misc-
|
|
14
|
+
import { s as setStyle } from "./misc-C5cfUKzm.mjs";
|
|
15
15
|
|
|
16
|
-
import "./webRTCStore-
|
|
16
|
+
import "./webRTCStore-BLGNTnV3.mjs";
|
|
17
17
|
|
|
18
|
-
import "./microphoneStore-
|
|
18
|
+
import "./microphoneStore-Do0a5LZ9.mjs";
|
|
19
19
|
|
|
20
|
-
import "./volumeStore-
|
|
20
|
+
import "./volumeStore-D5i1CeFf.mjs";
|
|
21
21
|
|
|
22
22
|
import "../hooks/useWindow.mjs";
|
|
23
23
|
|
|
24
|
-
import { B as Button } from "./Button-
|
|
24
|
+
import { B as Button } from "./Button-C6jYGagD.mjs";
|
|
25
25
|
|
|
26
|
-
import { I as Icon } from "./Icon-
|
|
26
|
+
import { I as Icon } from "./Icon-CKS12m2e.mjs";
|
|
27
27
|
|
|
28
|
-
import { I as IconButton } from "./IconButton-
|
|
28
|
+
import { I as IconButton } from "./IconButton-Cka059ZT.mjs";
|
|
29
29
|
|
|
30
30
|
var css = {
|
|
31
31
|
wrapper: "TextField-module_wrapper__qZ-p- flexBox-module_rowStart__4tcxS",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ import { motion } from "motion/react";
|
|
|
7
7
|
|
|
8
8
|
import React, { useState, useRef, useEffect, useMemo } from "react";
|
|
9
9
|
|
|
10
|
-
import { f as filterClasses } from "./misc-
|
|
10
|
+
import { f as filterClasses } from "./misc-C5cfUKzm.mjs";
|
|
11
11
|
|
|
12
12
|
var css = {
|
|
13
13
|
wrapper: "Tip-module_wrapper__D7ACT flexBox-module_rowStart__4tcxS",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -11,19 +11,19 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
11
11
|
|
|
12
12
|
import "../theme/colors.mjs";
|
|
13
13
|
|
|
14
|
-
import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-
|
|
14
|
+
import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-C5cfUKzm.mjs";
|
|
15
15
|
|
|
16
|
-
import "./webRTCStore-
|
|
16
|
+
import "./webRTCStore-BLGNTnV3.mjs";
|
|
17
17
|
|
|
18
|
-
import "./microphoneStore-
|
|
18
|
+
import "./microphoneStore-Do0a5LZ9.mjs";
|
|
19
19
|
|
|
20
|
-
import "./volumeStore-
|
|
20
|
+
import "./volumeStore-D5i1CeFf.mjs";
|
|
21
21
|
|
|
22
22
|
import "../hooks/useWindow.mjs";
|
|
23
23
|
|
|
24
|
-
import { I as Icon } from "./Icon-
|
|
24
|
+
import { I as Icon } from "./Icon-CKS12m2e.mjs";
|
|
25
25
|
|
|
26
|
-
import { P as ProgressIndicator } from "./ProgressIndicator-
|
|
26
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-C2EWIn7Z.mjs";
|
|
27
27
|
|
|
28
28
|
var ToastType, css = {
|
|
29
29
|
wrapper: "Toast-module_wrapper__1uj9O flexBox-module_rowBetween__5FEvi",
|
|
@@ -2,14 +2,14 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
|
|
5
|
-
import { I as IconButton } from "./IconButton-
|
|
5
|
+
import { I as IconButton } from "./IconButton-Cka059ZT.mjs";
|
|
6
6
|
|
|
7
|
-
import { L as Label } from "./Label-
|
|
7
|
+
import { L as Label } from "./Label-B7SDZHF3.mjs";
|
|
8
8
|
|
|
9
9
|
var css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
|
|
10
10
|
|
|
11
11
|
function ToggleButton(props) {
|
|
12
|
-
const {label: label, textSize: textSize, icon: icon, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", bgColor: bgColor = "var(--core-surface-secondary)", bgColorOn: bgColorOn = "var(--core-text-special)", iconSize: iconSize = 20, buttonSize: buttonSize = "m", tooltip: tooltip, gap: gap = 4, unselect: unselect = !0, fill: fill = !1, disabled: disabled = !1, border: border = !1, onChange: onChange, onSelect: onSelect, onToolTip: onToolTip, children: children} = props, handleClick = () => {
|
|
12
|
+
const {label: label, textSize: textSize, icon: icon, iconOn: iconOn, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", bgColor: bgColor = "var(--core-surface-secondary)", bgColorOn: bgColorOn = "var(--core-text-special)", iconSize: iconSize = 20, buttonSize: buttonSize = "m", tooltip: tooltip, gap: gap = 4, unselect: unselect = !0, fill: fill = !1, disabled: disabled = !1, border: border = !1, onChange: onChange, onSelect: onSelect, onToolTip: onToolTip, children: children, presetAnimations: presetAnimations, customAnimations: customAnimations} = props, handleClick = () => {
|
|
13
13
|
if (!unselect && selected) return;
|
|
14
14
|
const newState = !selected;
|
|
15
15
|
null == onChange || onChange(newState), newState && (null == onSelect || onSelect());
|
|
@@ -20,7 +20,7 @@ function ToggleButton(props) {
|
|
|
20
20
|
className: css_toggleButton,
|
|
21
21
|
style: cssVars,
|
|
22
22
|
children: [ icon && jsx(IconButton, {
|
|
23
|
-
icon: icon,
|
|
23
|
+
icon: selected && iconOn ? iconOn : icon,
|
|
24
24
|
buttonSize: buttonSize,
|
|
25
25
|
tooltip: tooltip,
|
|
26
26
|
toggle: !selected,
|
|
@@ -34,7 +34,9 @@ function ToggleButton(props) {
|
|
|
34
34
|
iconFill: fill,
|
|
35
35
|
disabled: disabled,
|
|
36
36
|
onToolTip: onToolTip,
|
|
37
|
-
border: border
|
|
37
|
+
border: border,
|
|
38
|
+
presetAnimations: presetAnimations,
|
|
39
|
+
customAnimations: customAnimations
|
|
38
40
|
}), (children || label) && jsx(Label, {
|
|
39
41
|
textSize: textSize,
|
|
40
42
|
borderSize: 0,
|
|
@@ -3,13 +3,13 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
|
|
4
4
|
import React, { useState, useRef, useId, useCallback, useMemo } from "react";
|
|
5
5
|
|
|
6
|
-
import { s as setStyle, a as accessibleKeyDown } from "./misc-
|
|
6
|
+
import { s as setStyle, a as accessibleKeyDown } from "./misc-C5cfUKzm.mjs";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { I as Icon } from "./Icon-CKS12m2e.mjs";
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-C2EWIn7Z.mjs";
|
|
11
11
|
|
|
12
|
-
import {
|
|
12
|
+
import { F as FileList } from "./FileList-Cj_k6oel.mjs";
|
|
13
13
|
|
|
14
14
|
var css = {
|
|
15
15
|
wrapper: "UploadArea-module_wrapper__aircC flexBox-module_column__ezvMq",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from "./tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
|
|
2
2
|
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import { create } from "zustand";
|
|
|
6
6
|
|
|
7
7
|
import { useShallow } from "zustand/react/shallow";
|
|
8
8
|
|
|
9
|
-
import { I as IndexedDB } from "./IndexedDB-
|
|
9
|
+
import { I as IndexedDB } from "./IndexedDB-C1lcbDjn.mjs";
|
|
10
10
|
|
|
11
11
|
function isValidIDBKey(key) {
|
|
12
12
|
return "string" == typeof key || "number" == typeof key || key instanceof Date || key instanceof ArrayBuffer || (Array.isArray(key) ? key.every(entry => isValidIDBKey(entry)) : ArrayBuffer.isView(key));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { create } from "zustand";
|
|
2
2
|
|
|
3
|
-
import "./tslib.es6-
|
|
3
|
+
import "./tslib.es6-CDAuOlZ8.mjs";
|
|
4
4
|
|
|
5
|
-
import { S as SSEConnection } from "./SSEConnection-
|
|
5
|
+
import { S as SSEConnection } from "./SSEConnection-CnZ9v2PI.mjs";
|
|
6
6
|
|
|
7
7
|
const useSSEStore = create((set, get) => ({
|
|
8
8
|
connections: [],
|