@apple-pie/slice 0.1.32 → 0.1.33
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-Dh2IlYW0.js → AudioBubble-_eYM1QMu.js} +4 -3
- package/dist/cjs/chunks/{Avatar-WcBAu25_.js → Avatar-DTro_MXZ.js} +1 -1
- package/dist/cjs/chunks/{AvatarGroup-eUkVdeTf.js → AvatarGroup-OPJJ_Te5.js} +1 -1
- package/dist/cjs/chunks/{Badge-4tBynWZe.js → Badge-DWUeXxm2.js} +1 -1
- package/dist/cjs/chunks/{Button-QJ5lsSAz.js → Button-CuGvPAkH.js} +1 -1
- package/dist/cjs/chunks/{ButtonBar-DcpvT1vD.js → ButtonBar-CbXToyfD.js} +1 -1
- package/dist/cjs/chunks/{Camera-iDyPLq9h.js → Camera-DjENiyud.js} +5 -4
- package/dist/cjs/chunks/{CheckBox-CmZJd8u2.js → CheckBox-DiJpbdy5.js} +1 -1
- package/dist/cjs/chunks/{Chip-Bd1bSYeC.js → Chip-kzOvEo0P.js} +1 -1
- package/dist/cjs/chunks/{DivInput-BY9pQ6ty.js → DivInput-B917fKB9.js} +1 -1
- package/dist/cjs/chunks/{Dot-BeWDLajy.js → Dot-DaRF2JyO.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-DzY5wTco.js → DrggablePanel-CJTEmYW6.js} +4 -3
- package/dist/cjs/chunks/{DropDown-Cn_nX8u7.js → DropDown-DRSQvXCC.js} +1 -1
- package/dist/cjs/chunks/{ErrorSummary-D-0uVwyV.js → ErrorSummary-ltiIsgJ6.js} +4 -3
- package/dist/cjs/chunks/{FileIcon-JfY2AYqG.js → FileIcon-WIVOTJLa.js} +5 -3
- package/dist/cjs/chunks/{FileList-Dc1nfpR2.js → FileList-CzQZZErI.js} +1 -1
- package/dist/cjs/chunks/{FlexDiv-B5Pi0-aJ.js → FlexDiv-CBENyLT4.js} +1 -1
- package/dist/cjs/chunks/{Grouper-DKZkTlow.js → Grouper-Cd3AJEFv.js} +4 -3
- package/dist/cjs/chunks/{Icon-BVYVJp9J.js → Icon-DjvProjz.js} +4 -3
- package/dist/cjs/chunks/{IconButton-CP1Wsvsx.js → IconButton-BuwQLUuj.js} +1 -1
- package/dist/cjs/chunks/{IndexedDB-CeiVT55Z.js → IndexedDB-Ddhq6Gjd.js} +1 -1
- package/dist/cjs/chunks/{Label-DIs1rOey.js → Label-d32ENzwL.js} +1 -1
- package/dist/cjs/chunks/{Level-3yxetsco.js → Level-B8eT8XyV.js} +1 -1
- package/dist/cjs/chunks/{Modal-CjpQdoOe.js → Modal-CUAj4e6x.js} +1 -1
- package/dist/cjs/chunks/ModalController-BwFAVI5G.js +80 -0
- package/dist/cjs/chunks/{Overlay-DRpHYZek.js → Overlay-CaAA3ey5.js} +1 -1
- package/dist/cjs/chunks/{Pager-ChnTKwml.js → Pager-uExZ5E3x.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-CFiAU-aF.js → ProgressIndicator-DwqslY4o.js} +4 -3
- package/dist/cjs/chunks/{PromptInput-BFWR0TaP.js → PromptInput-Dl8l8cZv.js} +34 -30
- package/dist/cjs/chunks/{RadioButton-Bi-FP41j.js → RadioButton-DPpAOFQt.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-JHPKMCoX.js → RadioButtonList-IbPA6A3y.js} +1 -1
- package/dist/cjs/chunks/{Slider-D97ws1Cl.js → Slider-D5oa7NGy.js} +1 -1
- package/dist/cjs/chunks/{Spacer-DvI2M1wZ.js → Spacer-DtUh2VLv.js} +1 -1
- package/dist/cjs/chunks/{Switch-DDSSprb7.js → Switch-Bs0r5va5.js} +1 -1
- package/dist/cjs/chunks/{TabBar-TllSeSzb.js → TabBar-BCSTg_Uc.js} +4 -3
- package/dist/cjs/chunks/{TextArea-DjZRDixt.js → TextArea-Dj7jsvVr.js} +1 -1
- package/dist/cjs/chunks/{TextField-CKA3K0AN.js → TextField-DNP0wJla.js} +5 -4
- package/dist/cjs/chunks/{Tip-BdGXN-TQ.js → Tip-awq6PDZa.js} +1 -1
- package/dist/cjs/chunks/{Toast-COrDS_50.js → Toast-xS1TC3Ba.js} +5 -4
- package/dist/cjs/chunks/{ToggleButton-hoOMzBZc.js → ToggleButton-CqD5c6JA.js} +4 -3
- package/dist/cjs/chunks/{UploadArea-ClG8ZgRZ.js → UploadArea-CvWqk8YK.js} +1 -1
- package/dist/cjs/chunks/{WSConnection-Brxc2hEv.js → WSConnection-BACWw4TS.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-eWP4lueC.js → WebRTCConnection-DBeyg4j9.js} +1 -1
- package/dist/cjs/chunks/{localDBStore-SS_r0C6F.js → localDBStore-wgCc1SmV.js} +1 -1
- package/dist/cjs/chunks/{microphoneStore-DM_8bhFr.js → microphoneStore-Dy5TwE2I.js} +1 -1
- package/dist/cjs/chunks/{misc-4xyXRU2K.js → misc-BwQIEIuF.js} +1 -1
- package/dist/cjs/chunks/{sseStore-Ag-UnuQq.js → sseStore-CFFaYonG.js} +2 -2
- package/dist/cjs/chunks/{uploads-worker-CI-SZptI.js → uploads-worker-DWvOe9F8.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-DR2hc4ct.js → uploadsStore-BCmts7Ie.js} +2 -2
- package/dist/cjs/chunks/{volumeStore-DtTHf-9_.js → volumeStore-BXFAQhvS.js} +1 -1
- package/dist/cjs/chunks/{webRTCStore-DWWn7k-0.js → webRTCStore-DRjvbnve.js} +1 -1
- package/dist/cjs/chunks/{windowStore-BUo9Du_e.js → windowStore-C4Bg6I9i.js} +1 -1
- package/dist/cjs/components/AudioBubble/index.js +6 -4
- 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 -7
- package/dist/cjs/components/ButtonBar/index.js +6 -4
- package/dist/cjs/components/Camera/index.js +7 -5
- package/dist/cjs/components/CheckBox/index.js +6 -4
- package/dist/cjs/components/Chip/index.js +7 -5
- 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 -3
- package/dist/cjs/components/DropDown/index.js +6 -4
- package/dist/cjs/components/ErrorSummary/index.js +5 -3
- package/dist/cjs/components/FileIcon/index.js +5 -3
- package/dist/cjs/components/FileList/index.js +7 -5
- package/dist/cjs/components/FlexDiv/index.js +2 -2
- package/dist/cjs/components/Grouper/index.js +7 -5
- package/dist/cjs/components/Icon/index.js +5 -3
- package/dist/cjs/components/IconButton/index.js +8 -6
- 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 -8
- package/dist/cjs/components/ModalController/index.js +6 -4
- 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 -3
- package/dist/cjs/components/PromptInput/index.js +9 -7
- package/dist/cjs/components/RadioButton/index.js +6 -4
- package/dist/cjs/components/RadioButtonList/index.js +7 -5
- package/dist/cjs/components/Slider/index.js +4 -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 -6
- package/dist/cjs/components/TextArea/index.js +9 -7
- package/dist/cjs/components/Textfield/index.js +9 -7
- package/dist/cjs/components/Tip/index.js +3 -3
- package/dist/cjs/components/Toast/index.js +6 -4
- package/dist/cjs/components/ToggleButton/index.js +9 -7
- package/dist/cjs/components/UploadArea/index.js +11 -10
- package/dist/cjs/hooks/useAudioRecorder.js +1 -1
- package/dist/cjs/hooks/useBindWebRTC.js +2 -2
- package/dist/cjs/hooks/useMdStreamBuffer.js +1 -1
- package/dist/cjs/hooks/useMicrophone.js +1 -1
- package/dist/cjs/hooks/useTrackRenders.js +2 -2
- package/dist/cjs/hooks.js +3 -3
- package/dist/cjs/index.js +8 -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 +31 -31
- 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-cYlxxQ7c.mjs → AudioBubble-SB1LCBlJ.mjs} +9 -3
- package/dist/esm/chunks/{Avatar-D84wF2os.mjs → Avatar-B6PcVOmT.mjs} +2 -2
- package/dist/esm/chunks/{AvatarGroup-DiwfbRxH.mjs → AvatarGroup-DEb3j2IZ.mjs} +2 -2
- package/dist/esm/chunks/{Badge-DuUb5-80.mjs → Badge-bh5UVUnt.mjs} +1 -1
- package/dist/esm/chunks/{Button-BIgwWrPJ.mjs → Button-CWKs3uAV.mjs} +6 -6
- package/dist/esm/chunks/{ButtonBar-vNvnvw7u.mjs → ButtonBar-CWeMhkSb.mjs} +3 -3
- package/dist/esm/chunks/{Camera-BMwkTJPq.mjs → Camera-BmuMA9xY.mjs} +11 -5
- package/dist/esm/chunks/{CheckBox-Cpoxy8w_.mjs → CheckBox-BR6a2n0j.mjs} +3 -3
- package/dist/esm/chunks/{Chip-BayNVv7N.mjs → Chip-DXW0jxKf.mjs} +4 -4
- package/dist/esm/chunks/{DivInput-CWRUxy1y.mjs → DivInput-BWO1EJXA.mjs} +2 -2
- package/dist/esm/chunks/{Dot-v_kcIWV2.mjs → Dot-DMst-5Q2.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-yEeGeE1w.mjs → DrggablePanel-qxrCS7Ot.mjs} +8 -2
- package/dist/esm/chunks/{DropDown-QQhwAg_J.mjs → DropDown-DlO2J4QP.mjs} +3 -3
- package/dist/esm/chunks/{ErrorSummary-DzIZMIll.mjs → ErrorSummary-BplQFunJ.mjs} +8 -2
- package/dist/esm/chunks/{FileIcon-6UlkbKzk.mjs → FileIcon-iFmAF7_a.mjs} +8 -2
- package/dist/esm/chunks/{FileList-vMiGJByw.mjs → FileList-CztHFCJe.mjs} +5 -5
- package/dist/esm/chunks/{FlexDiv-B1m7aY04.mjs → FlexDiv-DGmDZL7M.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-BDrAnfDF.mjs → Grouper-DxOISLzH.mjs} +9 -3
- package/dist/esm/chunks/{Icon-D4A6_c4x.mjs → Icon-L8B35JN1.mjs} +8 -2
- package/dist/esm/chunks/{IconButton-B_W-aOsB.mjs → IconButton-DxwJemEK.mjs} +5 -5
- package/dist/esm/chunks/{IndexedDB-CTqfKmp1.mjs → IndexedDB-DA5oZXju.mjs} +1 -1
- package/dist/esm/chunks/{Label-I75yz3gq.mjs → Label-wDPtyK4h.mjs} +2 -2
- package/dist/esm/chunks/{Level-DgczkKBr.mjs → Level-B9JayinM.mjs} +3 -3
- package/dist/esm/chunks/{Modal-CwwyijaO.mjs → Modal-C-Q2A_RY.mjs} +5 -5
- package/dist/esm/chunks/ModalController-ClAjHLPb.mjs +91 -0
- package/dist/esm/chunks/{Overlay-C-yori3-.mjs → Overlay-Dr9YYxJ6.mjs} +1 -1
- package/dist/esm/chunks/{Pager-BEtfyKtq.mjs → Pager-DPbTCMNe.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-BV0ginXb.mjs → ProgressIndicator-HaJJDZ-m.mjs} +8 -2
- package/dist/esm/chunks/{PromptInput-Cn5fRYap.mjs → PromptInput-wGhpXw-h.mjs} +38 -31
- package/dist/esm/chunks/{RadioButton-DWlg6ldv.mjs → RadioButton-oOGgTDhg.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-D9FdlhPL.mjs → RadioButtonList-CDWKVvyL.mjs} +3 -3
- package/dist/esm/chunks/{Slider-B2WZkZSg.mjs → Slider-ioPGftDY.mjs} +3 -3
- package/dist/esm/chunks/{Spacer-7Oj0SlD0.mjs → Spacer-VJBjxVlr.mjs} +1 -1
- package/dist/esm/chunks/{Switch-DRhnznnO.mjs → Switch-BCk2sTh3.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-D6VR71ye.mjs → TabBar-C1DYnCRx.mjs} +11 -5
- package/dist/esm/chunks/{TextArea-CkB5rJjI.mjs → TextArea-CF3r5m2G.mjs} +2 -2
- package/dist/esm/chunks/{TextField-BIXmkjEz.mjs → TextField-BNfTj9v2.mjs} +11 -5
- package/dist/esm/chunks/{Tip-CTdrwLky.mjs → Tip-DIKQvxxO.mjs} +2 -2
- package/dist/esm/chunks/{Toast-8bUziIgh.mjs → Toast-CkXPrDpp.mjs} +10 -4
- package/dist/esm/chunks/{ToggleButton-BOFITa8_.mjs → ToggleButton-Dvy8fc4t.mjs} +5 -4
- package/dist/esm/chunks/{UploadArea-DE2ccDVx.mjs → UploadArea-D_xGzR2e.mjs} +4 -4
- package/dist/esm/chunks/{WSConnection-CHudrD62.mjs → WSConnection-TiYLENWB.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-DQbNa7Z9.mjs → WebRTCConnection-d0Yvd66q.mjs} +1 -1
- package/dist/esm/chunks/{localDBStore-CaYiqITY.mjs → localDBStore-C-5y16uv.mjs} +2 -2
- package/dist/esm/chunks/{microphoneStore-COEGtgyX.mjs → microphoneStore-Cbx9nV4R.mjs} +1 -1
- package/dist/esm/chunks/{misc-2MIIqzsX.mjs → misc-zecH7-IH.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-nW9CMec_.mjs → sseStore-DIquUNpm.mjs} +2 -2
- package/dist/esm/chunks/{uploads-worker-CMomtRvm.mjs → uploads-worker-CUggKU9b.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-CsfpSOTS.mjs → uploadsStore-9QngohOe.mjs} +1 -1
- package/dist/esm/chunks/{volumeStore-TSYPqbHx.mjs → volumeStore-BrgZCRKF.mjs} +1 -1
- package/dist/esm/chunks/{webRTCStore-CVCDJzj5.mjs → webRTCStore-DhFE9-bb.mjs} +2 -2
- package/dist/esm/chunks/{windowStore-BvejIR82.mjs → windowStore-BKW7HyoD.mjs} +1 -1
- package/dist/esm/components/AudioBubble/index.mjs +14 -4
- 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 +18 -8
- package/dist/esm/components/ButtonBar/index.mjs +14 -4
- package/dist/esm/components/Camera/index.mjs +16 -6
- package/dist/esm/components/CheckBox/index.mjs +14 -4
- package/dist/esm/components/Chip/index.mjs +15 -5
- 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 +13 -3
- package/dist/esm/components/DropDown/index.mjs +14 -4
- package/dist/esm/components/ErrorSummary/index.mjs +13 -3
- package/dist/esm/components/FileIcon/index.mjs +13 -3
- package/dist/esm/components/FileList/index.mjs +16 -6
- package/dist/esm/components/FlexDiv/index.mjs +2 -2
- package/dist/esm/components/Grouper/index.mjs +15 -5
- package/dist/esm/components/Icon/index.mjs +14 -4
- package/dist/esm/components/IconButton/index.mjs +17 -7
- 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 +20 -10
- package/dist/esm/components/ModalController/index.mjs +14 -6
- 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 +14 -4
- package/dist/esm/components/PromptInput/index.mjs +22 -12
- package/dist/esm/components/RadioButton/index.mjs +14 -4
- package/dist/esm/components/RadioButtonList/index.mjs +15 -5
- package/dist/esm/components/Slider/index.mjs +4 -4
- 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 +18 -8
- package/dist/esm/components/TextArea/index.mjs +19 -9
- package/dist/esm/components/Textfield/index.mjs +20 -10
- package/dist/esm/components/Tip/index.mjs +3 -3
- package/dist/esm/components/Toast/index.mjs +15 -5
- package/dist/esm/components/ToggleButton/index.mjs +19 -9
- package/dist/esm/components/UploadArea/index.mjs +19 -9
- package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
- package/dist/esm/hooks/useBindWebRTC.mjs +5 -5
- package/dist/esm/hooks/useMdStreamBuffer.mjs +2 -2
- package/dist/esm/hooks/useMicrophone.mjs +1 -1
- package/dist/esm/hooks/useTrackRenders.mjs +2 -2
- package/dist/esm/hooks.mjs +6 -6
- package/dist/esm/index.mjs +53 -53
- package/dist/esm/stores/LocalDB.mjs +3 -3
- package/dist/esm/stores/SSE.mjs +3 -3
- package/dist/esm/stores/WS.mjs +2 -2
- package/dist/esm/stores/WebRTC.mjs +3 -3
- package/dist/esm/stores/microphone.mjs +2 -2
- package/dist/esm/stores/modal.mjs +1 -1
- package/dist/esm/stores/tip.mjs +1 -1
- package/dist/esm/stores/toast.mjs +1 -1
- package/dist/esm/stores/uploads.mjs +3 -3
- package/dist/esm/stores/volume.mjs +2 -2
- package/dist/esm/stores/window.mjs +2 -2
- package/dist/esm/stores.mjs +17 -17
- 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 +25 -2
- package/dist/types/components/PromptInput/PromptInput.d.ts +10 -2
- package/dist/types/components/PromptInput/_types.d.ts +5 -1
- package/dist/types/components/ToggleButton/_types.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/chunks/ModalController-Cp2PXOOS.js +0 -68
- package/dist/esm/chunks/ModalController-IyB9lDRa.mjs +0 -76
- /package/dist/cjs/chunks/{MdStreamBuffer-BudWFoNw.js → MdStreamBuffer-Chwibu07.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-DfjLAlOG.js → SSEConnection-CF5WZG9b.js} +0 -0
- /package/dist/cjs/chunks/{_types-DMyBIF8s.js → _types-BTdDWVYI.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-BxPvUj4h.js → audioVisualizer-C7fMG0WH.js} +0 -0
- /package/dist/cjs/chunks/{colors-4n0sNFRA.js → colors-CmOkcjB3.js} +0 -0
- /package/dist/cjs/chunks/{debounce-_IK-La-Z.js → debounce-BtCCTkbG.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-CFsfK3ba.js → modalStore-CaQkdY5_.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-C0ZHzH_T.js → sharedTypes-BOieqpQy.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-dqD9-c30.js → tipStore-4Bs9v2sg.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-BN1N7WXv.js → toastStore-CyCE9-lr.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-DsF7Wv4Y.js → tslib.es6-DqjaJVC3.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-CoQWQwRL.mjs → MdStreamBuffer-Cyon3ytf.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-iFKOV9Uo.mjs → SSEConnection-g0GBGAqe.mjs} +0 -0
- /package/dist/esm/chunks/{_types-DrNviSG6.mjs → _types-9ekyeJYl.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-BsmpLZyK.mjs → audioVisualizer-nMo67yOW.mjs} +0 -0
- /package/dist/esm/chunks/{colors-BAATtfbL.mjs → colors-v5b8_oYV.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-CYBH5qXQ.mjs → debounce-DFxAyrPi.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-DmaeMv7z.mjs → modalStore-D6_oc47l.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-CyrInj1b.mjs → sharedTypes-CdmzhKXN.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-B_MUZfr2.mjs → tipStore-C2M6zBzd.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-DAprlBVj.mjs → toastStore-B-6kdNHw.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-C81Qhn1z.mjs → tslib.es6-CVvvNSPr.mjs} +0 -0
|
@@ -6,6 +6,9 @@ export declare const PromptInput: React.NamedExoticComponent<Omit<React.HTMLAttr
|
|
|
6
6
|
value?: string;
|
|
7
7
|
maxHeight?: string | number;
|
|
8
8
|
working?: boolean;
|
|
9
|
+
width?: string | number;
|
|
10
|
+
maxWidth?: string | number;
|
|
11
|
+
minWidth?: string | number;
|
|
9
12
|
borderStyle?: "solid" | "gradient" | "none";
|
|
10
13
|
borderWidth?: number;
|
|
11
14
|
borderColor?: string | number;
|
|
@@ -16,13 +19,14 @@ export declare const PromptInput: React.NamedExoticComponent<Omit<React.HTMLAttr
|
|
|
16
19
|
placeholderWorking?: string;
|
|
17
20
|
focused?: boolean;
|
|
18
21
|
submitClears?: boolean;
|
|
19
|
-
submitEnablesStop?: boolean;
|
|
20
22
|
enterSubmits?: boolean;
|
|
21
23
|
sendButton?: boolean;
|
|
22
24
|
attachButton?: boolean;
|
|
23
25
|
stopEnabled?: boolean;
|
|
24
26
|
maxLength?: number;
|
|
25
27
|
toolbarGap?: number;
|
|
28
|
+
attachmentsDisabled?: boolean;
|
|
29
|
+
submitWorking?: boolean;
|
|
26
30
|
textSize?: "s" | "m" | "l";
|
|
27
31
|
onChange?: (value: string | undefined, attachments?: FileItem[]) => void;
|
|
28
32
|
onSubmit?: (value: string | undefined, attachments?: FileItem[]) => void;
|
|
@@ -36,6 +40,9 @@ export declare const PromptInput: React.NamedExoticComponent<Omit<React.HTMLAttr
|
|
|
36
40
|
value?: string;
|
|
37
41
|
maxHeight?: string | number;
|
|
38
42
|
working?: boolean;
|
|
43
|
+
width?: string | number;
|
|
44
|
+
maxWidth?: string | number;
|
|
45
|
+
minWidth?: string | number;
|
|
39
46
|
borderStyle?: "solid" | "gradient" | "none";
|
|
40
47
|
borderWidth?: number;
|
|
41
48
|
borderColor?: string | number;
|
|
@@ -46,13 +53,14 @@ export declare const PromptInput: React.NamedExoticComponent<Omit<React.HTMLAttr
|
|
|
46
53
|
placeholderWorking?: string;
|
|
47
54
|
focused?: boolean;
|
|
48
55
|
submitClears?: boolean;
|
|
49
|
-
submitEnablesStop?: boolean;
|
|
50
56
|
enterSubmits?: boolean;
|
|
51
57
|
sendButton?: boolean;
|
|
52
58
|
attachButton?: boolean;
|
|
53
59
|
stopEnabled?: boolean;
|
|
54
60
|
maxLength?: number;
|
|
55
61
|
toolbarGap?: number;
|
|
62
|
+
attachmentsDisabled?: boolean;
|
|
63
|
+
submitWorking?: boolean;
|
|
56
64
|
textSize?: "s" | "m" | "l";
|
|
57
65
|
onChange?: (value: string | undefined, attachments?: FileItem[]) => void;
|
|
58
66
|
onSubmit?: (value: string | undefined, attachments?: FileItem[]) => void;
|
|
@@ -6,6 +6,9 @@ type BasePromptProps = {
|
|
|
6
6
|
value?: string;
|
|
7
7
|
maxHeight?: string | number;
|
|
8
8
|
working?: boolean;
|
|
9
|
+
width?: string | number;
|
|
10
|
+
maxWidth?: string | number;
|
|
11
|
+
minWidth?: string | number;
|
|
9
12
|
borderStyle?: 'solid' | 'gradient' | 'none';
|
|
10
13
|
borderWidth?: number;
|
|
11
14
|
borderColor?: string | number;
|
|
@@ -16,13 +19,14 @@ type BasePromptProps = {
|
|
|
16
19
|
placeholderWorking?: string;
|
|
17
20
|
focused?: boolean;
|
|
18
21
|
submitClears?: boolean;
|
|
19
|
-
submitEnablesStop?: boolean;
|
|
20
22
|
enterSubmits?: boolean;
|
|
21
23
|
sendButton?: boolean;
|
|
22
24
|
attachButton?: boolean;
|
|
23
25
|
stopEnabled?: boolean;
|
|
24
26
|
maxLength?: number;
|
|
25
27
|
toolbarGap?: number;
|
|
28
|
+
attachmentsDisabled?: boolean;
|
|
29
|
+
submitWorking?: boolean;
|
|
26
30
|
textSize?: 's' | 'm' | 'l';
|
|
27
31
|
onChange?: (value: string | undefined, attachments?: FileItem[]) => void;
|
|
28
32
|
onSubmit?: (value: string | undefined, attachments?: FileItem[]) => void;
|
package/package.json
CHANGED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), Overlay = require("./Overlay-DRpHYZek.js"), modalStore = require("./modalStore-CFsfK3ba.js"), css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
|
|
4
|
-
|
|
5
|
-
const defaultTransition = {
|
|
6
|
-
ease: "easeOut",
|
|
7
|
-
duration: .25,
|
|
8
|
-
delay: .1
|
|
9
|
-
}, defaultVariants = {
|
|
10
|
-
initial: {
|
|
11
|
-
opacity: 0,
|
|
12
|
-
y: 20
|
|
13
|
-
},
|
|
14
|
-
animate: {
|
|
15
|
-
opacity: 1,
|
|
16
|
-
y: 0
|
|
17
|
-
},
|
|
18
|
-
exit: {
|
|
19
|
-
opacity: 0,
|
|
20
|
-
y: 20
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
exports.ModalController = function(props) {
|
|
25
|
-
const {dragConstraintsRef: dragConstraintsRef, transition: transition = defaultTransition, variants: variants = defaultVariants, initial: initial = "initial", animate: animate = "animate", exit: exit = "exit", draggable: draggable = !0, overlayOpacity: overlayOpacity = .7, overlayColor: overlayColor = "rgb(0,0,0)"} = props, controls = react.useDragControls(), modal = modalStore.useModal(), resolve = modalStore.useModalActions().resolve, reject = modalStore.useModalActions().reject, hide = modalStore.useModalActions().hide, ModalComponent = null == modal ? void 0 : modal.component, modalProps = null == modal ? void 0 : modal.props;
|
|
26
|
-
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
27
|
-
children: [ jsxRuntime.jsx(Overlay.Overlay, {
|
|
28
|
-
show: !!modal,
|
|
29
|
-
type: "dark",
|
|
30
|
-
opacity: overlayOpacity,
|
|
31
|
-
color: overlayColor,
|
|
32
|
-
onClick: () => hide()
|
|
33
|
-
}), jsxRuntime.jsx(react.AnimatePresence, {
|
|
34
|
-
children: modal && ModalComponent && jsxRuntime.jsx(react.motion.div, {
|
|
35
|
-
className: css_wrapper,
|
|
36
|
-
variants: variants,
|
|
37
|
-
initial: initial,
|
|
38
|
-
animate: animate,
|
|
39
|
-
exit: exit,
|
|
40
|
-
transition: transition,
|
|
41
|
-
drag: draggable,
|
|
42
|
-
dragListener: !draggable && void 0,
|
|
43
|
-
dragControls: draggable ? controls : void 0,
|
|
44
|
-
dragConstraints: draggable ? dragConstraintsRef : void 0,
|
|
45
|
-
dragElastic: draggable ? 0 : void 0,
|
|
46
|
-
dragMomentum: !draggable && void 0,
|
|
47
|
-
children: jsxRuntime.jsx(ModalComponent, Object.assign({}, modalProps, {
|
|
48
|
-
onResolve: value => {
|
|
49
|
-
"function" == typeof (null == modalProps ? void 0 : modalProps.onResolve) && modalProps.onResolve(value),
|
|
50
|
-
resolve(value);
|
|
51
|
-
},
|
|
52
|
-
onReject: error => {
|
|
53
|
-
"function" == typeof (null == modalProps ? void 0 : modalProps.onReject) && modalProps.onReject(error),
|
|
54
|
-
reject(error);
|
|
55
|
-
},
|
|
56
|
-
onClose: () => {
|
|
57
|
-
"function" == typeof (null == modalProps ? void 0 : modalProps.onClose) && modalProps.onClose(),
|
|
58
|
-
hide();
|
|
59
|
-
},
|
|
60
|
-
onDragPointerDown: e => {
|
|
61
|
-
"function" == typeof (null == modalProps ? void 0 : modalProps.onDragPointerDown) && (null == modalProps || modalProps.onDragPointerDown(e)),
|
|
62
|
-
controls.start(e);
|
|
63
|
-
}
|
|
64
|
-
}))
|
|
65
|
-
})
|
|
66
|
-
}) ]
|
|
67
|
-
});
|
|
68
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
import { useDragControls, AnimatePresence, motion } from "motion/react";
|
|
4
|
-
|
|
5
|
-
import { O as Overlay } from "./Overlay-C-yori3-.mjs";
|
|
6
|
-
|
|
7
|
-
import { u as useModal, a as useModalActions } from "./modalStore-DmaeMv7z.mjs";
|
|
8
|
-
|
|
9
|
-
var css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
|
|
10
|
-
|
|
11
|
-
const defaultTransition = {
|
|
12
|
-
ease: "easeOut",
|
|
13
|
-
duration: .25,
|
|
14
|
-
delay: .1
|
|
15
|
-
}, defaultVariants = {
|
|
16
|
-
initial: {
|
|
17
|
-
opacity: 0,
|
|
18
|
-
y: 20
|
|
19
|
-
},
|
|
20
|
-
animate: {
|
|
21
|
-
opacity: 1,
|
|
22
|
-
y: 0
|
|
23
|
-
},
|
|
24
|
-
exit: {
|
|
25
|
-
opacity: 0,
|
|
26
|
-
y: 20
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
function ModalController(props) {
|
|
31
|
-
const {dragConstraintsRef: dragConstraintsRef, transition: transition = defaultTransition, variants: variants = defaultVariants, initial: initial = "initial", animate: animate = "animate", exit: exit = "exit", draggable: draggable = !0, overlayOpacity: overlayOpacity = .7, overlayColor: overlayColor = "rgb(0,0,0)"} = props, controls = useDragControls(), modal = useModal(), resolve = useModalActions().resolve, reject = useModalActions().reject, hide = useModalActions().hide, ModalComponent = null == modal ? void 0 : modal.component, modalProps = null == modal ? void 0 : modal.props;
|
|
32
|
-
return jsxs(Fragment, {
|
|
33
|
-
children: [ jsx(Overlay, {
|
|
34
|
-
show: !!modal,
|
|
35
|
-
type: "dark",
|
|
36
|
-
opacity: overlayOpacity,
|
|
37
|
-
color: overlayColor,
|
|
38
|
-
onClick: () => hide()
|
|
39
|
-
}), jsx(AnimatePresence, {
|
|
40
|
-
children: modal && ModalComponent && jsx(motion.div, {
|
|
41
|
-
className: css_wrapper,
|
|
42
|
-
variants: variants,
|
|
43
|
-
initial: initial,
|
|
44
|
-
animate: animate,
|
|
45
|
-
exit: exit,
|
|
46
|
-
transition: transition,
|
|
47
|
-
drag: draggable,
|
|
48
|
-
dragListener: !draggable && void 0,
|
|
49
|
-
dragControls: draggable ? controls : void 0,
|
|
50
|
-
dragConstraints: draggable ? dragConstraintsRef : void 0,
|
|
51
|
-
dragElastic: draggable ? 0 : void 0,
|
|
52
|
-
dragMomentum: !draggable && void 0,
|
|
53
|
-
children: jsx(ModalComponent, Object.assign({}, modalProps, {
|
|
54
|
-
onResolve: value => {
|
|
55
|
-
"function" == typeof (null == modalProps ? void 0 : modalProps.onResolve) && modalProps.onResolve(value),
|
|
56
|
-
resolve(value);
|
|
57
|
-
},
|
|
58
|
-
onReject: error => {
|
|
59
|
-
"function" == typeof (null == modalProps ? void 0 : modalProps.onReject) && modalProps.onReject(error),
|
|
60
|
-
reject(error);
|
|
61
|
-
},
|
|
62
|
-
onClose: () => {
|
|
63
|
-
"function" == typeof (null == modalProps ? void 0 : modalProps.onClose) && modalProps.onClose(),
|
|
64
|
-
hide();
|
|
65
|
-
},
|
|
66
|
-
onDragPointerDown: e => {
|
|
67
|
-
"function" == typeof (null == modalProps ? void 0 : modalProps.onDragPointerDown) && (null == modalProps || modalProps.onDragPointerDown(e)),
|
|
68
|
-
controls.start(e);
|
|
69
|
-
}
|
|
70
|
-
}))
|
|
71
|
-
})
|
|
72
|
-
}) ]
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export { ModalController as M };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|