@apple-pie/slice 0.1.34 → 0.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/chunks/{AudioBubble-D6EdVxCx.js → AudioBubble-BE_f4Hso.js} +3 -4
- package/dist/cjs/chunks/{Avatar-C8Y8QA6W.js → Avatar-BiyInyRO.js} +1 -1
- package/dist/cjs/chunks/{AvatarGroup-BJGROy0D.js → AvatarGroup-DRL0lWmX.js} +1 -1
- package/dist/cjs/chunks/{Badge-D0jOqpGM.js → Badge-DMowUBPk.js} +1 -1
- package/dist/cjs/chunks/{Button-CSyenByA.js → Button-COMAPFWV.js} +5 -4
- package/dist/cjs/chunks/{ButtonBar-D6nO_KLU.js → ButtonBar-IiuZuTLR.js} +1 -1
- package/dist/cjs/chunks/{Camera-C8ug84NJ.js → Camera-Ly06XVkk.js} +4 -5
- package/dist/cjs/chunks/{CheckBox-rALyYaSt.js → CheckBox-HmPtb4qd.js} +1 -1
- package/dist/cjs/chunks/{Chip-BwxjTPRM.js → Chip-6PG7VzN-.js} +9 -9
- package/dist/cjs/chunks/{DivInput-BRhOr7b5.js → DivInput-C-PFUeDT.js} +1 -1
- package/dist/cjs/chunks/{Dot-DLk45OlQ.js → Dot-dB91CPB9.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-Ch24xWZu.js → DrggablePanel-B4pmiREo.js} +8 -8
- package/dist/cjs/chunks/{DropDown-BbhZnN_w.js → DropDown-DrFvc39t.js} +1 -1
- package/dist/cjs/chunks/{ErrorSummary-CI6hUFwD.js → ErrorSummary-_XvQGFbZ.js} +3 -4
- package/dist/cjs/chunks/{FileIcon-CfjasX-r.js → FileIcon-UA9ZceY_.js} +3 -4
- package/dist/cjs/chunks/{FileList-B93Xcxz4.js → FileList-CnsmD5Y7.js} +1 -1
- package/dist/cjs/chunks/{FlexDiv-rfXrDSOq.js → FlexDiv-WZf3guIi.js} +1 -1
- package/dist/cjs/chunks/{Grouper-DSrE9R-U.js → Grouper-BzPprBpD.js} +3 -4
- package/dist/cjs/chunks/{Icon-CRxH8X5b.js → Icon-g039RSWl.js} +16 -5
- package/dist/cjs/chunks/IconButton-DZBikqIA.js +182 -0
- package/dist/cjs/chunks/{IndexedDB-BFj53nVB.js → IndexedDB-DW-NDU8i.js} +1 -1
- package/dist/cjs/chunks/{Label-BHP_DdP0.js → Label-BLCGQli-.js} +1 -1
- package/dist/cjs/chunks/{Level-BWOIrzAv.js → Level-CvPkz_70.js} +1 -1
- package/dist/cjs/chunks/{Modal-BEKrk6zT.js → Modal-D8RvqX4f.js} +1 -1
- package/dist/cjs/chunks/{ModalController-DQJ-Vr6w.js → ModalController-ctBbD_Jn.js} +2 -3
- package/dist/cjs/chunks/{Overlay-CgD0_kQK.js → Overlay-CB0-ZCbr.js} +1 -1
- package/dist/cjs/chunks/{Pager-CjMnXBqh.js → Pager-GwtjwNSr.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-V-orBNdI.js → ProgressIndicator-BqAJgdQp.js} +3 -4
- package/dist/cjs/chunks/{PromptInput-DK1pGnIm.js → PromptInput-B5-MrCid.js} +4 -5
- package/dist/cjs/chunks/{RadioButton-DOv8YC-8.js → RadioButton-B0It6bQ8.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-BC0PaUB2.js → RadioButtonList-B-G1DO7M.js} +1 -1
- package/dist/cjs/chunks/{Slider-D4zQ-4aq.js → Slider-BDCvQ_h4.js} +3 -4
- package/dist/cjs/chunks/{Spacer-CdIj0JdL.js → Spacer-C_qGs52F.js} +1 -1
- package/dist/cjs/chunks/{Switch-BcyjA09W.js → Switch-2YgqC8vV.js} +1 -1
- package/dist/cjs/chunks/{TabBar-BzfXUqQ7.js → TabBar-C3FbWoTz.js} +5 -6
- package/dist/cjs/chunks/{TextArea-Aqo_XxW3.js → TextArea-C3DehkDw.js} +3 -2
- package/dist/cjs/chunks/{TextField-D9cVqxeH.js → TextField-BkZlrRfY.js} +4 -5
- package/dist/cjs/chunks/{Tip-6p-WETDg.js → Tip-CEvYKuL1.js} +1 -1
- package/dist/cjs/chunks/{Toast-D2RPpe4w.js → Toast-BoCExCrT.js} +4 -5
- package/dist/cjs/chunks/{ToggleButton-DIO-mLzn.js → ToggleButton-CBQt8Ii8.js} +6 -4
- package/dist/cjs/chunks/{UploadArea-dLHkxZaJ.js → UploadArea-D3I4J8B7.js} +1 -1
- package/dist/cjs/chunks/{WSConnection-DUtc0Zek.js → WSConnection-D6rZfnAf.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-DOegM5k_.js → WebRTCConnection-C_IDgzdx.js} +1 -1
- package/dist/cjs/chunks/{_types-CnvV2yMQ.js → _types-Cq4h0y4u.js} +3 -1
- package/dist/cjs/chunks/{localDBStore-BE1Spdvk.js → localDBStore-CmeqEYMi.js} +1 -1
- package/dist/cjs/chunks/{microphoneStore-BQttBRKb.js → microphoneStore-V2mYQFa4.js} +1 -1
- package/dist/cjs/chunks/{misc-CktV9aap.js → misc-CGesOGlL.js} +1 -1
- package/dist/cjs/chunks/{sseStore-CUctZwDm.js → sseStore-Bql9biBI.js} +2 -2
- package/dist/cjs/chunks/{uploads-worker-B-7wl30J.js → uploads-worker-CpdqGKrs.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-BhvyVpxk.js → uploadsStore-DWM1E-GX.js} +2 -2
- package/dist/cjs/chunks/{volumeStore-CPxgI64S.js → volumeStore-CpxXslLu.js} +1 -1
- package/dist/cjs/chunks/{webRTCStore-M1HXHN92.js → webRTCStore-C9e5XlzB.js} +1 -1
- package/dist/cjs/chunks/{windowStore-BeMPlP7X.js → windowStore-DV7Ch5Z2.js} +1 -1
- package/dist/cjs/components/AudioBubble/index.js +5 -7
- package/dist/cjs/components/Avatar/index.js +3 -3
- package/dist/cjs/components/AvatarGroup/index.js +3 -3
- package/dist/cjs/components/Badge/index.js +2 -2
- package/dist/cjs/components/Button/index.js +8 -9
- package/dist/cjs/components/ButtonBar/index.js +5 -7
- package/dist/cjs/components/Camera/index.js +6 -8
- package/dist/cjs/components/CheckBox/index.js +5 -7
- package/dist/cjs/components/Chip/index.js +6 -7
- package/dist/cjs/components/DivInput/index.js +3 -3
- package/dist/cjs/components/Dot/index.js +2 -2
- package/dist/cjs/components/DraggablePanel/index.js +5 -7
- package/dist/cjs/components/DropDown/index.js +5 -7
- package/dist/cjs/components/ErrorSummary/index.js +5 -6
- package/dist/cjs/components/FileIcon/index.js +5 -6
- package/dist/cjs/components/FileList/index.js +7 -8
- package/dist/cjs/components/FlexDiv/index.js +2 -2
- package/dist/cjs/components/Grouper/index.js +6 -7
- package/dist/cjs/components/Icon/index.js +5 -6
- package/dist/cjs/components/IconButton/index.js +17 -9
- package/dist/cjs/components/Label/index.js +3 -3
- package/dist/cjs/components/Level/index.js +3 -3
- package/dist/cjs/components/Modal/index.js +9 -10
- package/dist/cjs/components/ModalController/index.js +4 -6
- package/dist/cjs/components/Overlay/index.js +2 -2
- package/dist/cjs/components/Pager/index.js +3 -3
- package/dist/cjs/components/Progress/index.js +4 -5
- package/dist/cjs/components/PromptInput/index.js +8 -10
- package/dist/cjs/components/RadioButton/index.js +5 -7
- package/dist/cjs/components/RadioButtonList/index.js +6 -8
- package/dist/cjs/components/Slider/index.js +5 -7
- package/dist/cjs/components/Spacer/index.js +2 -2
- package/dist/cjs/components/Switch/index.js +2 -2
- package/dist/cjs/components/TabBar/index.js +7 -9
- package/dist/cjs/components/TextArea/index.js +8 -9
- package/dist/cjs/components/Textfield/index.js +8 -10
- package/dist/cjs/components/Tip/index.js +3 -3
- package/dist/cjs/components/Toast/index.js +5 -6
- package/dist/cjs/components/ToggleButton/index.js +8 -9
- package/dist/cjs/components/UploadArea/index.js +10 -11
- package/dist/cjs/hooks/useAudioRecorder.js +1 -1
- package/dist/cjs/hooks/useBindWebRTC.js +2 -2
- package/dist/cjs/hooks/useMdStreamBuffer.js +1 -1
- package/dist/cjs/hooks/useMicrophone.js +32 -28
- package/dist/cjs/hooks/useTrackRenders.js +2 -2
- package/dist/cjs/hooks.js +3 -3
- package/dist/cjs/index.js +20 -9
- package/dist/cjs/stores/LocalDB.js +3 -3
- package/dist/cjs/stores/SSE.js +2 -2
- package/dist/cjs/stores/WS.js +2 -2
- package/dist/cjs/stores/WebRTC.js +2 -2
- package/dist/cjs/stores/microphone.js +2 -2
- package/dist/cjs/stores/modal.js +1 -1
- package/dist/cjs/stores/tip.js +1 -1
- package/dist/cjs/stores/toast.js +1 -1
- package/dist/cjs/stores/uploads.js +2 -2
- package/dist/cjs/stores/volume.js +2 -2
- package/dist/cjs/stores/window.js +2 -2
- package/dist/cjs/stores.js +22 -22
- package/dist/cjs/theme/colors.js +4 -0
- package/dist/cjs/utils/index.js +2 -2
- package/dist/cjs/utils/objects/index.js +2 -2
- package/dist/cjs/workers/uploads/uploads.js +2 -2
- package/dist/esm/chunks/{AudioBubble-BudIMUsf.mjs → AudioBubble-DbIkKNSG.mjs} +4 -8
- package/dist/esm/chunks/{Avatar-Bk8kdTEa.mjs → Avatar-BdEM1ozC.mjs} +2 -2
- package/dist/esm/chunks/{AvatarGroup-CRixAHW5.mjs → AvatarGroup-BTYNzBuA.mjs} +2 -2
- package/dist/esm/chunks/{Badge-DHvo2-ZQ.mjs → Badge-BpiR8FTR.mjs} +1 -1
- package/dist/esm/chunks/{Button-v92U2QVV.mjs → Button-CsgknV85.mjs} +10 -9
- package/dist/esm/chunks/{ButtonBar-Bn4GhpbO.mjs → ButtonBar-BFZwa2aG.mjs} +3 -3
- package/dist/esm/chunks/{Camera-Cvp_kb-A.mjs → Camera-CqXqVh7j.mjs} +6 -10
- package/dist/esm/chunks/{CheckBox-CUbeBXgg.mjs → CheckBox-CQxfSzXH.mjs} +3 -3
- package/dist/esm/chunks/Chip-B9lOeTEj.mjs +87 -0
- package/dist/esm/chunks/{DivInput-CZ3PVteW.mjs → DivInput-D98_x_cR.mjs} +2 -2
- package/dist/esm/chunks/{Dot-B6Q97aIp.mjs → Dot-CWHimm2-.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-DLltuMUc.mjs → DrggablePanel-CWuLIdX9.mjs} +8 -11
- package/dist/esm/chunks/{DropDown-DqVsJwO3.mjs → DropDown-DmvRDK3x.mjs} +3 -3
- package/dist/esm/chunks/{ErrorSummary-CCTJpTqA.mjs → ErrorSummary-CB6H8_k-.mjs} +3 -7
- package/dist/esm/chunks/{FileIcon-DnEohsNX.mjs → FileIcon-D20gyTFi.mjs} +3 -7
- package/dist/esm/chunks/{FileList-CnuT4Llg.mjs → FileList-C-YZ-FcH.mjs} +5 -5
- package/dist/esm/chunks/{FlexDiv-DGEzQRcq.mjs → FlexDiv-CtfrPPcV.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-BoGryrnc.mjs → Grouper-gDZnuiM0.mjs} +4 -8
- package/dist/esm/chunks/{Icon-CbDAKN_S.mjs → Icon-CF8mSm1j.mjs} +17 -9
- package/dist/esm/chunks/IconButton-DAyyIY8J.mjs +193 -0
- package/dist/esm/chunks/{IndexedDB-Bqjric8V.mjs → IndexedDB-Ckz-KqBO.mjs} +1 -1
- package/dist/esm/chunks/{Label-BlvreqNJ.mjs → Label-2jNz4_6V.mjs} +2 -2
- package/dist/esm/chunks/{Level-COXHoBs6.mjs → Level-CVC8xDqy.mjs} +3 -3
- package/dist/esm/chunks/{Modal-CqBytyja.mjs → Modal-BmNG8fzy.mjs} +5 -5
- package/dist/esm/chunks/{ModalController-6Gc8QRxx.mjs → ModalController-Ce3srWy-.mjs} +3 -7
- package/dist/esm/chunks/{Overlay-iKgSkUKP.mjs → Overlay-B7lugjjj.mjs} +1 -1
- package/dist/esm/chunks/{Pager-XgsZBzcg.mjs → Pager-DURbG5j1.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-BWrcdWvF.mjs → ProgressIndicator-CRc_YmyK.mjs} +3 -7
- package/dist/esm/chunks/{PromptInput-DbT3sVeA.mjs → PromptInput-vnwk-zMH.mjs} +5 -9
- package/dist/esm/chunks/{RadioButton-DUzPaLKa.mjs → RadioButton-BEuDCEOu.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-NjEGYpj4.mjs → RadioButtonList-B_WIvWpr.mjs} +3 -3
- package/dist/esm/chunks/{Slider-Bvnhqzjx.mjs → Slider-CDjKOpoL.mjs} +4 -8
- package/dist/esm/chunks/{Spacer-B2JAN7e8.mjs → Spacer-CdkfmN54.mjs} +1 -1
- package/dist/esm/chunks/{Switch-CspvY_DQ.mjs → Switch-C_DiN4cG.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-BlvOUGJx.mjs → TabBar-D8IYekUP.mjs} +8 -12
- package/dist/esm/chunks/{TextArea-BpMTGopK.mjs → TextArea-DWcOF8Wp.mjs} +4 -3
- package/dist/esm/chunks/{TextField-DELrBLOa.mjs → TextField-D-Y8f0QY.mjs} +6 -10
- package/dist/esm/chunks/{Tip-DBVeB0Zs.mjs → Tip-Cr872A6k.mjs} +2 -2
- package/dist/esm/chunks/{Toast-HU8Pgwsr.mjs → Toast-Bb5Hh3so.mjs} +5 -9
- package/dist/esm/chunks/{ToggleButton-CGpBWhaX.mjs → ToggleButton-_9LchL03.mjs} +7 -5
- package/dist/esm/chunks/{UploadArea-DdV_ILIU.mjs → UploadArea-Dm3tjBoN.mjs} +4 -4
- package/dist/esm/chunks/{WSConnection-eStD8i-1.mjs → WSConnection-B1_GePm4.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-BaPHQ_C4.mjs → WebRTCConnection-DFZPhyph.mjs} +1 -1
- package/dist/esm/chunks/{_types-DR4jXucA.mjs → _types-CI0sR4EH.mjs} +3 -1
- package/dist/esm/chunks/{localDBStore-NpiMrXsA.mjs → localDBStore-C-lYeGJl.mjs} +2 -2
- package/dist/esm/chunks/{microphoneStore-uYs2NQQx.mjs → microphoneStore-zHPtnRfW.mjs} +1 -1
- package/dist/esm/chunks/{misc-BQH7I5Zj.mjs → misc-DjqDmrJE.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-ueYoyFeB.mjs → sseStore-ZGbbKbVB.mjs} +2 -2
- package/dist/esm/chunks/{uploads-worker-CFPGExfT.mjs → uploads-worker-kw6UOEx5.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-DNalSMtC.mjs → uploadsStore-BfyNmYWk.mjs} +1 -1
- package/dist/esm/chunks/{volumeStore-C0iU07fK.mjs → volumeStore-D_5Xqf_0.mjs} +1 -1
- package/dist/esm/chunks/{webRTCStore-Ck8TCzr_.mjs → webRTCStore-Cy7Mo7hB.mjs} +2 -2
- package/dist/esm/chunks/{windowStore-DcYPAWds.mjs → windowStore-CXggRA80.mjs} +1 -1
- package/dist/esm/components/AudioBubble/index.mjs +5 -11
- package/dist/esm/components/Avatar/index.mjs +3 -3
- package/dist/esm/components/AvatarGroup/index.mjs +4 -4
- package/dist/esm/components/Badge/index.mjs +2 -2
- package/dist/esm/components/Button/index.mjs +9 -15
- package/dist/esm/components/ButtonBar/index.mjs +5 -11
- package/dist/esm/components/Camera/index.mjs +7 -13
- package/dist/esm/components/CheckBox/index.mjs +5 -11
- package/dist/esm/components/Chip/index.mjs +6 -12
- package/dist/esm/components/DivInput/index.mjs +3 -3
- package/dist/esm/components/Dot/index.mjs +2 -2
- package/dist/esm/components/DraggablePanel/index.mjs +4 -10
- package/dist/esm/components/DropDown/index.mjs +5 -11
- package/dist/esm/components/ErrorSummary/index.mjs +4 -10
- package/dist/esm/components/FileIcon/index.mjs +4 -10
- package/dist/esm/components/FileList/index.mjs +7 -13
- package/dist/esm/components/FlexDiv/index.mjs +2 -2
- package/dist/esm/components/Grouper/index.mjs +6 -12
- package/dist/esm/components/Icon/index.mjs +5 -11
- package/dist/esm/components/IconButton/index.mjs +8 -14
- package/dist/esm/components/Label/index.mjs +3 -3
- package/dist/esm/components/Level/index.mjs +4 -4
- package/dist/esm/components/Modal/index.mjs +11 -17
- package/dist/esm/components/ModalController/index.mjs +5 -11
- package/dist/esm/components/Overlay/index.mjs +2 -2
- package/dist/esm/components/Pager/index.mjs +3 -3
- package/dist/esm/components/Progress/index.mjs +5 -11
- package/dist/esm/components/PromptInput/index.mjs +12 -18
- package/dist/esm/components/RadioButton/index.mjs +5 -11
- package/dist/esm/components/RadioButtonList/index.mjs +6 -12
- package/dist/esm/components/Slider/index.mjs +5 -11
- package/dist/esm/components/Spacer/index.mjs +2 -2
- package/dist/esm/components/Switch/index.mjs +2 -2
- package/dist/esm/components/TabBar/index.mjs +9 -15
- package/dist/esm/components/TextArea/index.mjs +10 -16
- package/dist/esm/components/Textfield/index.mjs +11 -17
- package/dist/esm/components/Tip/index.mjs +3 -3
- package/dist/esm/components/Toast/index.mjs +6 -12
- package/dist/esm/components/ToggleButton/index.mjs +10 -16
- package/dist/esm/components/UploadArea/index.mjs +10 -16
- package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
- package/dist/esm/hooks/useBindWebRTC.mjs +5 -5
- package/dist/esm/hooks/useMdStreamBuffer.mjs +2 -2
- package/dist/esm/hooks/useMicrophone.mjs +32 -28
- package/dist/esm/hooks/useTrackRenders.mjs +2 -2
- package/dist/esm/hooks.mjs +6 -6
- package/dist/esm/index.mjs +53 -53
- package/dist/esm/stores/LocalDB.mjs +3 -3
- package/dist/esm/stores/SSE.mjs +3 -3
- package/dist/esm/stores/WS.mjs +2 -2
- package/dist/esm/stores/WebRTC.mjs +3 -3
- package/dist/esm/stores/microphone.mjs +2 -2
- package/dist/esm/stores/modal.mjs +1 -1
- package/dist/esm/stores/tip.mjs +1 -1
- package/dist/esm/stores/toast.mjs +1 -1
- package/dist/esm/stores/uploads.mjs +3 -3
- package/dist/esm/stores/volume.mjs +2 -2
- package/dist/esm/stores/window.mjs +2 -2
- package/dist/esm/stores.mjs +15 -15
- package/dist/esm/theme/colors.mjs +4 -0
- package/dist/esm/utils/index.mjs +10 -10
- package/dist/esm/utils/objects/index.mjs +7 -7
- package/dist/esm/workers/uploads/uploads.mjs +2 -2
- package/dist/styles.css +14 -1
- package/dist/types/components/Button/Button.d.ts +4 -0
- package/dist/types/components/Button/_types.d.ts +2 -0
- package/dist/types/components/Chip/_types.d.ts +1 -0
- package/dist/types/components/Icon/_types.d.ts +2 -0
- package/dist/types/components/IconButton/_animation.d.ts +18 -0
- package/dist/types/components/IconButton/_types.d.ts +46 -0
- package/dist/types/components/IconButton/index.d.ts +2 -1
- package/dist/types/components/TabBar/_types.d.ts +2 -2
- package/dist/types/components/TextArea/_types.d.ts +1 -0
- package/dist/types/components/ToggleButton/_types.d.ts +5 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/theme/colors/types.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/chunks/IconButton-KFtalJ6A.js +0 -82
- package/dist/esm/chunks/Chip-HGLXF8JO.mjs +0 -87
- package/dist/esm/chunks/IconButton-nOcdRqR3.mjs +0 -96
- /package/dist/cjs/chunks/{MdStreamBuffer-CQGZtTLN.js → MdStreamBuffer-P4x0pDST.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-BqitbvAq.js → SSEConnection-CYqfVBs1.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-i41gzZXM.js → audioVisualizer-D3ZG5ZP6.js} +0 -0
- /package/dist/cjs/chunks/{colors-BlSE7Sf2.js → colors-DbCrvnqF.js} +0 -0
- /package/dist/cjs/chunks/{debounce-C7m-uQW2.js → debounce-DnWdlF44.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-BrwOUMH_.js → modalStore-CJNFUtIy.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-Cep5dDpY.js → sharedTypes-D5nZ9SDg.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-BXKWR6IE.js → tipStore-DV7lnGfJ.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-Y9JmFP0o.js → toastStore-B_Kb_gld.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-yslq87rf.js → tslib.es6-CjqORQO8.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-BF5ZQeUD.mjs → MdStreamBuffer-QqAM_dVR.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-DNA5yBWy.mjs → SSEConnection-Bxy3gcK3.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-CAET7dc9.mjs → audioVisualizer-DKVVhtrd.mjs} +0 -0
- /package/dist/esm/chunks/{colors-BHYMt294.mjs → colors-znQ0X8Pf.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-DpPYyz3x.mjs → debounce-AGOKEQDZ.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-DbxIsSpU.mjs → modalStore-BXnW8M6D.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-DoNQkNSM.mjs → sharedTypes-_CvGLd7A.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-CmyIJWe7.mjs → tipStore-BZPw1gyq.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-BYMHSiu2.mjs → toastStore-BXCjnqI1.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-75ZdAmtm.mjs → tslib.es6-8-nvCYY0.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,13 +9,9 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/colors.mjs";
|
|
11
11
|
|
|
12
|
-
import { a as accessibleKeyDown } from "./misc-
|
|
12
|
+
import { a as accessibleKeyDown } from "./misc-DjqDmrJE.mjs";
|
|
13
13
|
|
|
14
|
-
import "./
|
|
15
|
-
|
|
16
|
-
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
|
-
|
|
18
|
-
import "./volumeStore-C0iU07fK.mjs";
|
|
14
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
19
15
|
|
|
20
16
|
import "../hooks/useWindow.mjs";
|
|
21
17
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { 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-DjqDmrJE.mjs";
|
|
9
9
|
|
|
10
|
-
import { F as FileIcon } from "./FileIcon-
|
|
10
|
+
import { F as FileIcon } from "./FileIcon-D20gyTFi.mjs";
|
|
11
11
|
|
|
12
|
-
import { I as Icon } from "./Icon-
|
|
12
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
13
13
|
|
|
14
|
-
import { P as ProgressIndicator } from "./ProgressIndicator-
|
|
14
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-CRc_YmyK.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-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -11,17 +11,13 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
11
11
|
|
|
12
12
|
import "../theme/colors.mjs";
|
|
13
13
|
|
|
14
|
-
import "./
|
|
15
|
-
|
|
16
|
-
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
|
-
|
|
18
|
-
import "./volumeStore-C0iU07fK.mjs";
|
|
14
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
19
15
|
|
|
20
16
|
import "../hooks/useWindow.mjs";
|
|
21
17
|
|
|
22
|
-
import { B as Badge } from "./Badge-
|
|
18
|
+
import { B as Badge } from "./Badge-BpiR8FTR.mjs";
|
|
23
19
|
|
|
24
|
-
import { I as Icon } from "./Icon-
|
|
20
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
25
21
|
|
|
26
22
|
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
23
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
|
-
import { jsxs, Fragment
|
|
4
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useMemo } from "react";
|
|
7
7
|
|
|
@@ -9,13 +9,9 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/colors.mjs";
|
|
11
11
|
|
|
12
|
-
import { a as accessibleKeyDown } from "./misc-
|
|
12
|
+
import { a as accessibleKeyDown } from "./misc-DjqDmrJE.mjs";
|
|
13
13
|
|
|
14
|
-
import "./
|
|
15
|
-
|
|
16
|
-
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
|
-
|
|
18
|
-
import "./volumeStore-C0iU07fK.mjs";
|
|
14
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
19
15
|
|
|
20
16
|
import "../hooks/useWindow.mjs";
|
|
21
17
|
|
|
@@ -24,7 +20,19 @@ var css_icon = "Icon-module_icon__szG-X";
|
|
|
24
20
|
/**
|
|
25
21
|
* Static icon registry created once at module load.
|
|
26
22
|
* Each entry stores only icon line content renderers.
|
|
27
|
-
*/ const STATIC_ICON_REGISTRY = new Map([ [ "
|
|
23
|
+
*/ const STATIC_ICON_REGISTRY = new Map([ [ "npm", {
|
|
24
|
+
line: ({strokeColor: strokeColor}) => jsx("path", {
|
|
25
|
+
d: "M7.415 7.656l17.291 0.024-0.011 17.29h-4.329l0.012-12.974h-4.319l-0.010 12.964h-8.656zM3.207 1.004c-0.002 0-0.003 0-0.005 0-1.214 0-2.198 0.984-2.198 2.198 0 0.002 0 0.004 0 0.006v-0 25.585c0 0.002 0 0.003 0 0.005 0 1.214 0.984 2.198 2.198 2.198 0.002 0 0.004 0 0.006 0h25.585c0.002 0 0.003 0 0.005 0 1.214 0 2.198-0.984 2.198-2.198 0-0.002 0-0.004 0-0.006v0-25.585c0-0.002 0-0.003 0-0.005 0-1.214-0.984-2.198-2.198-2.198-0.002 0-0.004 0-0.006 0h0z",
|
|
26
|
+
transform: "scale(0.625)",
|
|
27
|
+
fill: strokeColor
|
|
28
|
+
})
|
|
29
|
+
} ], [ "github", {
|
|
30
|
+
line: ({strokeColor: strokeColor}) => jsx("path", {
|
|
31
|
+
d: "M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z",
|
|
32
|
+
transform: "translate(0 0) scale(1.25)",
|
|
33
|
+
fill: strokeColor
|
|
34
|
+
})
|
|
35
|
+
} ], [ "talk", {
|
|
28
36
|
line: ({strokeColor: strokeColor, fillColor: fillColor}) => jsxs(Fragment, {
|
|
29
37
|
children: [ jsx("path", {
|
|
30
38
|
d: "M10,2.5c4.14,0,7.5,3.36,7.5,7.5s-3.36,7.5-7.5,7.5-7.5-3.36-7.5-7.5,3.36-7.5,7.5-7.5M10,1C5.03,1,1,5.03,1,10s4.03,9,9,9,9-4.03,9-9S14.97,1,10,1h0Z",
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
|
+
|
|
4
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
import { motion } from "motion/react";
|
|
7
|
+
|
|
8
|
+
import React, { useRef, useState, useEffect, useCallback, useMemo } from "react";
|
|
9
|
+
|
|
10
|
+
import { B as Badge } from "./Badge-BpiR8FTR.mjs";
|
|
11
|
+
|
|
12
|
+
import { D as Dot } from "./Dot-CWHimm2-.mjs";
|
|
13
|
+
|
|
14
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
15
|
+
|
|
16
|
+
import { T as ToolTipType } from "./sharedTypes-_CvGLd7A.mjs";
|
|
17
|
+
|
|
18
|
+
var AnimationPreset, AnimationType, 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
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Helper for quick popular animation effects
|
|
22
|
+
*/ !function(AnimationPreset) {
|
|
23
|
+
AnimationPreset.Rotate = "rotate", AnimationPreset.Fade = "fade", AnimationPreset.Scale = "scale";
|
|
24
|
+
}(AnimationPreset || (AnimationPreset = {})), function(AnimationType) {
|
|
25
|
+
AnimationType.Rotate = "rotate", AnimationType.Fade = "opacity", AnimationType.Scale = "scale";
|
|
26
|
+
}(AnimationType || (AnimationType = {}));
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Resolves presets to a button animation
|
|
30
|
+
*/
|
|
31
|
+
const presetAnimation = {
|
|
32
|
+
[AnimationPreset.Rotate]: {
|
|
33
|
+
animation: {
|
|
34
|
+
type: AnimationType.Rotate,
|
|
35
|
+
value: {
|
|
36
|
+
on: 0,
|
|
37
|
+
off: 180
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
transition: {
|
|
41
|
+
on: {
|
|
42
|
+
duration: .25,
|
|
43
|
+
ease: "linear"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
[AnimationPreset.Fade]: {
|
|
48
|
+
animation: {
|
|
49
|
+
type: AnimationType.Fade,
|
|
50
|
+
value: {
|
|
51
|
+
off: 0,
|
|
52
|
+
on: 1
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
transition: {
|
|
56
|
+
on: {
|
|
57
|
+
duration: .25,
|
|
58
|
+
ease: "easeInOut"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
[AnimationPreset.Scale]: {
|
|
63
|
+
animation: {
|
|
64
|
+
type: AnimationType.Scale,
|
|
65
|
+
value: {
|
|
66
|
+
off: 0,
|
|
67
|
+
on: 1
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
transition: {
|
|
71
|
+
on: {
|
|
72
|
+
duration: .25,
|
|
73
|
+
ease: "linear"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}, resolveVariants = (presets, custom) => {
|
|
78
|
+
const animations = [];
|
|
79
|
+
let transition;
|
|
80
|
+
if (presets) {
|
|
81
|
+
const presetAnimations = presetAnimation[presets].animation, presetTransition = presetAnimation[presets].transition, animationEntries = Array.isArray(presetAnimations) ? presetAnimations : [ presetAnimations ];
|
|
82
|
+
animations.push(...animationEntries), presetTransition && (transition = presetTransition);
|
|
83
|
+
}
|
|
84
|
+
if (custom) {
|
|
85
|
+
const customAnimations = custom.animation, customTransition = custom.transition, customAnimationEntries = Array.isArray(customAnimations) ? customAnimations : [ customAnimations ];
|
|
86
|
+
animations.push(...customAnimationEntries), customTransition && (transition = customTransition);
|
|
87
|
+
}
|
|
88
|
+
return (animations => {
|
|
89
|
+
if (!animations) return;
|
|
90
|
+
const variants = {
|
|
91
|
+
initial: {},
|
|
92
|
+
animate: {},
|
|
93
|
+
exit: {}
|
|
94
|
+
}, {animation: animation, transition: transition} = animations, animationEntries = Array.isArray(animation) ? animation : [ animation ], {on: on, off: off} = null != transition ? transition : {};
|
|
95
|
+
for (const entry of animationEntries) {
|
|
96
|
+
const {type: type, value: value} = entry;
|
|
97
|
+
variants.initial = Object.assign(Object.assign({}, variants.initial), {
|
|
98
|
+
[type]: value.off
|
|
99
|
+
}), variants.animate = Object.assign(Object.assign({}, variants.animate), {
|
|
100
|
+
[type]: value.on,
|
|
101
|
+
transition: on
|
|
102
|
+
}), variants.exit = Object.assign(Object.assign({}, variants.exit), {
|
|
103
|
+
[type]: value.off,
|
|
104
|
+
transition: null != off ? off : on
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
return variants;
|
|
108
|
+
})({
|
|
109
|
+
animation: animations,
|
|
110
|
+
transition: transition
|
|
111
|
+
});
|
|
112
|
+
}, IconButton = React.memo(props => {
|
|
113
|
+
const {frameSize: frameSize = 36, iconSize: iconSize = 20, round: round = !0, icon: icon = "more", borderRadius: borderRadius = 4, border: border = !1, tooltip: tooltip, color: color, colorOn: colorOn, iconFill: iconFill = !1, bgColor: bgColor = "var(--core-surface-secondary)", bgColorHover: bgColorHover = "var(--core-outline-primary)", bgColorOn: bgColorOn = "var(--core-outline-primary)", iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, fillColor: fillColor, label: label, hover: hover = !0, count: count = 0, toggle: toggle = !1, toggleIcon: toggleIcon = !1, isToggled: isToggled = !1, disabled: disabled = !1, showDot: showDot = !1, buttonSize: buttonSize = "m", presetAnimations: presetAnimations, customAnimations: customAnimations, onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "frameSize", "iconSize", "round", "icon", "borderRadius", "border", "tooltip", "color", "colorOn", "iconFill", "bgColor", "bgColorHover", "bgColorOn", "iconColor", "iconColorOn", "iconColorHover", "transition", "variants", "initial", "animate", "exit", "fillColor", "label", "hover", "count", "toggle", "toggleIcon", "isToggled", "disabled", "showDot", "buttonSize", "presetAnimations", "customAnimations", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = useRef(null), [on, setOn] = useState(isToggled), [hovered, setHovered] = useState(!1);
|
|
114
|
+
useEffect(() => setOn(isToggled), [ isToggled ]);
|
|
115
|
+
const handleClick = useCallback(e => {
|
|
116
|
+
disabled || (tooltip && onToolTip(null), toggle && setOn(!on), onClick(e));
|
|
117
|
+
}, [ disabled, tooltip, onToolTip, on, onClick, toggle ]), handleMouseEnter = useCallback(e => {
|
|
118
|
+
if (setHovered(!0), !(null == ref ? void 0 : ref.current) || !tooltip) return;
|
|
119
|
+
const tip = {
|
|
120
|
+
type: ToolTipType.button,
|
|
121
|
+
payload: {
|
|
122
|
+
label: tooltip
|
|
123
|
+
},
|
|
124
|
+
event: e,
|
|
125
|
+
ref: ref
|
|
126
|
+
};
|
|
127
|
+
onToolTip(tip);
|
|
128
|
+
}, [ tooltip, onToolTip ]), handleMouseLeave = useCallback(() => {
|
|
129
|
+
setHovered(!1), tooltip && onToolTip(null);
|
|
130
|
+
}, [ tooltip, onToolTip ]), bgColorNormal = useMemo(() => on ? bgColorOn : null != bgColor ? bgColor : "var(--core-surface-secondary)", [ bgColorOn, bgColor, on ]), bgHoverColor = useMemo(() => hover && on ? bgColorOn : hover ? bgColorHover : null != bgColor ? bgColor : "transparent", [ hover, bgColor, bgColorOn, bgColorHover, on ]), textColor = useMemo(() => on ? colorOn : null != color ? color : "var(--core-text-primary)", [ on, colorOn, color ]), setIconColor = useMemo(() => on ? iconColorOn : hovered ? iconColorHover : null != iconColor ? iconColor : "var(--core-text-primary)", [ on, iconColorOn, iconColor, iconColorHover, hovered ]), size = useMemo(() => buttonSize ? "s" === buttonSize ? 24 : "m" === buttonSize ? 36 : "l" === buttonSize ? 44 : "xl" === buttonSize ? 56 : void 0 : frameSize, [ frameSize, buttonSize ]), cssVars = useMemo(() => ({
|
|
131
|
+
"--ib-bg-color": bgColorNormal,
|
|
132
|
+
"--ib-bg-color-hover": disabled ? bgColorNormal : bgHoverColor,
|
|
133
|
+
"--ib-icon-size": `${null != iconSize ? iconSize : 0}px`,
|
|
134
|
+
"--ib-button-size": `${null != size ? size : 0}px`,
|
|
135
|
+
"--ib-border-radius": round ? "100%" : `${null != borderRadius ? borderRadius : 0}px`,
|
|
136
|
+
"--ib-border": border ? "1px" : 0,
|
|
137
|
+
"--ib-color": textColor,
|
|
138
|
+
"--ib-cursor": disabled ? "default" : "pointer"
|
|
139
|
+
}), [ bgColorNormal, bgHoverColor, textColor, border, size, borderRadius, iconSize, round, disabled ]);
|
|
140
|
+
return jsxs(motion.button, Object.assign({
|
|
141
|
+
id: divId,
|
|
142
|
+
type: "button",
|
|
143
|
+
className: `${css_button}${divClass}`,
|
|
144
|
+
style: Object.assign(Object.assign({}, divStyle), cssVars),
|
|
145
|
+
onClick: e => handleClick(e),
|
|
146
|
+
onMouseOutCapture: handleMouseLeave,
|
|
147
|
+
onMouseOverCapture: handleMouseEnter,
|
|
148
|
+
transition: transition,
|
|
149
|
+
variants: variants,
|
|
150
|
+
initial: initial,
|
|
151
|
+
animate: animate,
|
|
152
|
+
exit: exit,
|
|
153
|
+
disabled: disabled,
|
|
154
|
+
"aria-disabled": disabled,
|
|
155
|
+
ref: ref
|
|
156
|
+
}, rest, {
|
|
157
|
+
children: [ jsx(motion.div, {
|
|
158
|
+
className: css_icon,
|
|
159
|
+
style: {
|
|
160
|
+
opacity: disabled ? .3 : 1
|
|
161
|
+
},
|
|
162
|
+
variants: resolveVariants(presetAnimations, customAnimations),
|
|
163
|
+
initial: isToggled ? "animate" : "initial",
|
|
164
|
+
animate: on ? "animate" : "exit",
|
|
165
|
+
children: jsx(Icon, {
|
|
166
|
+
name: icon,
|
|
167
|
+
strokeColor: setIconColor,
|
|
168
|
+
fillColor: fillColor,
|
|
169
|
+
disabled: disabled,
|
|
170
|
+
size: iconSize,
|
|
171
|
+
fill: iconFill,
|
|
172
|
+
toggle: !!toggleIcon && on,
|
|
173
|
+
pointer: !0
|
|
174
|
+
})
|
|
175
|
+
}), label && jsx("div", {
|
|
176
|
+
className: css_label,
|
|
177
|
+
children: label
|
|
178
|
+
}), jsx(Dot, {
|
|
179
|
+
show: showDot
|
|
180
|
+
}), 0 !== count && jsx("div", {
|
|
181
|
+
className: css_count,
|
|
182
|
+
children: jsx(Badge, {
|
|
183
|
+
variant: "light",
|
|
184
|
+
count: count,
|
|
185
|
+
hideNull: !0
|
|
186
|
+
})
|
|
187
|
+
}) ]
|
|
188
|
+
}));
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Resolves button animation to motion variants
|
|
193
|
+
*/ export { AnimationPreset as A, IconButton as I, AnimationType as a };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import { useCallback, useMemo } from "react";
|
|
7
7
|
|
|
8
|
-
import { s as setStyle } from "./misc-
|
|
8
|
+
import { s as setStyle } from "./misc-DjqDmrJE.mjs";
|
|
9
9
|
|
|
10
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-8-nvCYY0.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-DjqDmrJE.mjs";
|
|
8
8
|
|
|
9
|
-
import { A as AudioVisualizer } from "./audioVisualizer-
|
|
9
|
+
import { A as AudioVisualizer } from "./audioVisualizer-DKVVhtrd.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-8-nvCYY0.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-DjqDmrJE.mjs";
|
|
9
9
|
|
|
10
|
-
import { B as Button } from "./Button-
|
|
10
|
+
import { B as Button } from "./Button-CsgknV85.mjs";
|
|
11
11
|
|
|
12
|
-
import { I as Icon } from "./Icon-
|
|
12
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
13
13
|
|
|
14
|
-
import { I as IconButton } from "./IconButton-
|
|
14
|
+
import { I as IconButton } from "./IconButton-DAyyIY8J.mjs";
|
|
15
15
|
|
|
16
16
|
var css = {
|
|
17
17
|
wrapper: "Modal-module_wrapper__34Hds flexBox-module_columnBetween__ERfp7",
|
|
@@ -4,15 +4,11 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
|
|
|
4
4
|
|
|
5
5
|
import { useRef } from "react";
|
|
6
6
|
|
|
7
|
-
import "./microphoneStore-
|
|
7
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
8
8
|
|
|
9
|
-
import "./
|
|
9
|
+
import { O as Overlay } from "./Overlay-B7lugjjj.mjs";
|
|
10
10
|
|
|
11
|
-
import "./
|
|
12
|
-
|
|
13
|
-
import { O as Overlay } from "./Overlay-iKgSkUKP.mjs";
|
|
14
|
-
|
|
15
|
-
import { u as useModal, a as useModalActions } from "./modalStore-DbxIsSpU.mjs";
|
|
11
|
+
import { u as useModal, a as useModalActions } from "./modalStore-BXnW8M6D.mjs";
|
|
16
12
|
|
|
17
13
|
var css_container = "ModalController-module_container__3cSaO", css_box = "ModalController-module_box__cPzOz", css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
|
|
18
14
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useState, useMemo, useEffect, useCallback } from "react";
|
|
7
7
|
|
|
8
|
-
import { a as accessibleKeyDown } from "./misc-
|
|
8
|
+
import { a as accessibleKeyDown } from "./misc-DjqDmrJE.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,13 @@ 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-8-nvCYY0.mjs";
|
|
11
11
|
|
|
12
|
-
import "./
|
|
13
|
-
|
|
14
|
-
import "./microphoneStore-uYs2NQQx.mjs";
|
|
15
|
-
|
|
16
|
-
import "./volumeStore-C0iU07fK.mjs";
|
|
12
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
17
13
|
|
|
18
14
|
import "../hooks/useWindow.mjs";
|
|
19
15
|
|
|
20
|
-
import { I as Icon } from "./Icon-
|
|
16
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
21
17
|
|
|
22
18
|
import { AnimatePresence, motion } from "motion/react";
|
|
23
19
|
|
|
@@ -7,21 +7,17 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
7
7
|
|
|
8
8
|
import "../theme/colors.mjs";
|
|
9
9
|
|
|
10
|
-
import "./tslib.es6-
|
|
10
|
+
import "./tslib.es6-8-nvCYY0.mjs";
|
|
11
11
|
|
|
12
|
-
import { s as setStyle } from "./misc-
|
|
12
|
+
import { s as setStyle } from "./misc-DjqDmrJE.mjs";
|
|
13
13
|
|
|
14
|
-
import "./
|
|
15
|
-
|
|
16
|
-
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
|
-
|
|
18
|
-
import "./volumeStore-C0iU07fK.mjs";
|
|
14
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
19
15
|
|
|
20
16
|
import "../hooks/useWindow.mjs";
|
|
21
17
|
|
|
22
|
-
import { B as Button } from "./Button-
|
|
18
|
+
import { B as Button } from "./Button-CsgknV85.mjs";
|
|
23
19
|
|
|
24
|
-
import { F as FileList } from "./FileList-
|
|
20
|
+
import { F as FileList } from "./FileList-C-YZ-FcH.mjs";
|
|
25
21
|
|
|
26
22
|
var css = {
|
|
27
23
|
wrapperBg: "PromptInput-module_wrapperBg__zabZq flexBox-module_columnStart__C7P44",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { 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-DjqDmrJE.mjs";
|
|
9
9
|
|
|
10
|
-
import { I as Icon } from "./Icon-
|
|
10
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
11
11
|
|
|
12
12
|
var css_wrapper = "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-8-nvCYY0.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-DjqDmrJE.mjs";
|
|
9
9
|
|
|
10
|
-
import { R as RadioButton } from "./RadioButton-
|
|
10
|
+
import { R as RadioButton } from "./RadioButton-BEuDCEOu.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,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,15 +7,11 @@ import React, { useRef, useState, useMemo, useCallback, useEffect } from "react"
|
|
|
7
7
|
|
|
8
8
|
import "../theme/colors.mjs";
|
|
9
9
|
|
|
10
|
-
import { p as pointerPosition } from "./misc-
|
|
10
|
+
import { p as pointerPosition } from "./misc-DjqDmrJE.mjs";
|
|
11
11
|
|
|
12
|
-
import { d as debounce } from "./debounce-
|
|
12
|
+
import { d as debounce } from "./debounce-AGOKEQDZ.mjs";
|
|
13
13
|
|
|
14
|
-
import "./
|
|
15
|
-
|
|
16
|
-
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
|
-
|
|
18
|
-
import "./volumeStore-C0iU07fK.mjs";
|
|
14
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
19
15
|
|
|
20
16
|
import "../hooks/useWindow.mjs";
|
|
21
17
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,23 +9,19 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/colors.mjs";
|
|
11
11
|
|
|
12
|
-
import { s as setStyle } from "./misc-
|
|
12
|
+
import { s as setStyle } from "./misc-DjqDmrJE.mjs";
|
|
13
13
|
|
|
14
|
-
import "./
|
|
15
|
-
|
|
16
|
-
import "./microphoneStore-uYs2NQQx.mjs";
|
|
17
|
-
|
|
18
|
-
import "./volumeStore-C0iU07fK.mjs";
|
|
14
|
+
import "./microphoneStore-zHPtnRfW.mjs";
|
|
19
15
|
|
|
20
16
|
import "../hooks/useWindow.mjs";
|
|
21
17
|
|
|
22
|
-
import { B as Badge } from "./Badge-
|
|
18
|
+
import { B as Badge } from "./Badge-BpiR8FTR.mjs";
|
|
23
19
|
|
|
24
|
-
import { I as Icon } from "./Icon-
|
|
20
|
+
import { I as Icon } from "./Icon-CF8mSm1j.mjs";
|
|
25
21
|
|
|
26
|
-
import { I as IconButton } from "./IconButton-
|
|
22
|
+
import { I as IconButton } from "./IconButton-DAyyIY8J.mjs";
|
|
27
23
|
|
|
28
|
-
import { T as ToolTipType } from "./sharedTypes-
|
|
24
|
+
import { T as ToolTipType } from "./sharedTypes-_CvGLd7A.mjs";
|
|
29
25
|
|
|
30
26
|
var css = {
|
|
31
27
|
wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
|
|
@@ -106,7 +102,7 @@ const placeholderOptions = [ {
|
|
|
106
102
|
buttonRef: element => {
|
|
107
103
|
optionRefs.current[i] = element;
|
|
108
104
|
}
|
|
109
|
-
}, `${i}_option_${option.name}`)), [ options, index, padding, iconSize, iconGap, disabled, underline, tabWidth, onToolTip, handleOptionClick, iconFill, handleOptionKeyDown, textSize ]), cssVars = useMemo(() => ({
|
|
105
|
+
}, `${i}_option_${option.name}`)), [ options, index, padding, iconSize, iconGap, disabled, underline, tabWidth, onToolTip, handleOptionClick, iconFill, handleOptionKeyDown, borderColor, textSize ]), cssVars = useMemo(() => ({
|
|
110
106
|
"--tab-bar-gap": `${tabGap}px`,
|
|
111
107
|
"--tab-bar-height": `${setStyle(height)}px`,
|
|
112
108
|
"--tab-bar-width": setStyle(width),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-8-nvCYY0.mjs";
|
|
3
3
|
|
|
4
4
|
import { 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-CsgknV85.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(),
|