@apple-pie/slice 0.1.32 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/chunks/{AudioBubble-Dh2IlYW0.js → AudioBubble-D6EdVxCx.js} +4 -3
- package/dist/cjs/chunks/{Avatar-WcBAu25_.js → Avatar-C8Y8QA6W.js} +1 -1
- package/dist/cjs/chunks/{AvatarGroup-eUkVdeTf.js → AvatarGroup-BJGROy0D.js} +1 -1
- package/dist/cjs/chunks/{Badge-4tBynWZe.js → Badge-D0jOqpGM.js} +1 -1
- package/dist/cjs/chunks/{Button-QJ5lsSAz.js → Button-CSyenByA.js} +1 -1
- package/dist/cjs/chunks/{ButtonBar-DcpvT1vD.js → ButtonBar-D6nO_KLU.js} +1 -1
- package/dist/cjs/chunks/{Camera-iDyPLq9h.js → Camera-C8ug84NJ.js} +5 -4
- package/dist/cjs/chunks/{CheckBox-CmZJd8u2.js → CheckBox-rALyYaSt.js} +1 -1
- package/dist/cjs/chunks/{Chip-Bd1bSYeC.js → Chip-BwxjTPRM.js} +1 -1
- package/dist/cjs/chunks/{DivInput-BY9pQ6ty.js → DivInput-BRhOr7b5.js} +1 -1
- package/dist/cjs/chunks/{Dot-BeWDLajy.js → Dot-DLk45OlQ.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-DzY5wTco.js → DrggablePanel-Ch24xWZu.js} +4 -3
- package/dist/cjs/chunks/{DropDown-Cn_nX8u7.js → DropDown-BbhZnN_w.js} +1 -1
- package/dist/cjs/chunks/{ErrorSummary-D-0uVwyV.js → ErrorSummary-CI6hUFwD.js} +4 -3
- package/dist/cjs/chunks/{FileIcon-JfY2AYqG.js → FileIcon-CfjasX-r.js} +5 -3
- package/dist/cjs/chunks/{FileList-Dc1nfpR2.js → FileList-B93Xcxz4.js} +1 -1
- package/dist/cjs/chunks/{FlexDiv-B5Pi0-aJ.js → FlexDiv-rfXrDSOq.js} +1 -1
- package/dist/cjs/chunks/{Grouper-DKZkTlow.js → Grouper-DSrE9R-U.js} +4 -3
- package/dist/cjs/chunks/{Icon-BVYVJp9J.js → Icon-CRxH8X5b.js} +4 -3
- package/dist/cjs/chunks/{IconButton-CP1Wsvsx.js → IconButton-KFtalJ6A.js} +1 -1
- package/dist/cjs/chunks/{IndexedDB-CeiVT55Z.js → IndexedDB-BFj53nVB.js} +1 -1
- package/dist/cjs/chunks/{Label-DIs1rOey.js → Label-BHP_DdP0.js} +1 -1
- package/dist/cjs/chunks/{Level-3yxetsco.js → Level-BWOIrzAv.js} +1 -1
- package/dist/cjs/chunks/{Modal-CjpQdoOe.js → Modal-BEKrk6zT.js} +1 -1
- package/dist/cjs/chunks/ModalController-DQJ-Vr6w.js +80 -0
- package/dist/cjs/chunks/{Overlay-DRpHYZek.js → Overlay-CgD0_kQK.js} +1 -1
- package/dist/cjs/chunks/{Pager-ChnTKwml.js → Pager-CjMnXBqh.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-CFiAU-aF.js → ProgressIndicator-V-orBNdI.js} +4 -3
- package/dist/cjs/chunks/{PromptInput-BFWR0TaP.js → PromptInput-DK1pGnIm.js} +42 -36
- package/dist/cjs/chunks/{RadioButton-Bi-FP41j.js → RadioButton-DOv8YC-8.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-JHPKMCoX.js → RadioButtonList-BC0PaUB2.js} +1 -1
- package/dist/cjs/chunks/{Slider-D97ws1Cl.js → Slider-D4zQ-4aq.js} +10 -1
- package/dist/cjs/chunks/{Spacer-DvI2M1wZ.js → Spacer-CdIj0JdL.js} +1 -1
- package/dist/cjs/chunks/{Switch-DDSSprb7.js → Switch-BcyjA09W.js} +1 -1
- package/dist/cjs/chunks/{TabBar-TllSeSzb.js → TabBar-BzfXUqQ7.js} +38 -17
- package/dist/cjs/chunks/{TextArea-DjZRDixt.js → TextArea-Aqo_XxW3.js} +1 -1
- package/dist/cjs/chunks/{TextField-CKA3K0AN.js → TextField-D9cVqxeH.js} +5 -4
- package/dist/cjs/chunks/{Tip-BdGXN-TQ.js → Tip-6p-WETDg.js} +1 -1
- package/dist/cjs/chunks/{Toast-COrDS_50.js → Toast-D2RPpe4w.js} +5 -4
- package/dist/cjs/chunks/{ToggleButton-hoOMzBZc.js → ToggleButton-DIO-mLzn.js} +4 -3
- package/dist/cjs/chunks/{UploadArea-ClG8ZgRZ.js → UploadArea-dLHkxZaJ.js} +1 -1
- package/dist/cjs/chunks/{WSConnection-Brxc2hEv.js → WSConnection-DUtc0Zek.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-eWP4lueC.js → WebRTCConnection-DOegM5k_.js} +1 -1
- package/dist/cjs/chunks/{localDBStore-SS_r0C6F.js → localDBStore-BE1Spdvk.js} +1 -1
- package/dist/cjs/chunks/{microphoneStore-DM_8bhFr.js → microphoneStore-BQttBRKb.js} +1 -1
- package/dist/cjs/chunks/{misc-4xyXRU2K.js → misc-CktV9aap.js} +1 -1
- package/dist/cjs/chunks/{sseStore-Ag-UnuQq.js → sseStore-CUctZwDm.js} +2 -2
- package/dist/cjs/chunks/{uploads-worker-CI-SZptI.js → uploads-worker-B-7wl30J.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-DR2hc4ct.js → uploadsStore-BhvyVpxk.js} +2 -2
- package/dist/cjs/chunks/{volumeStore-DtTHf-9_.js → volumeStore-CPxgI64S.js} +4 -5
- package/dist/cjs/chunks/{webRTCStore-DWWn7k-0.js → webRTCStore-M1HXHN92.js} +1 -1
- package/dist/cjs/chunks/{windowStore-BUo9Du_e.js → windowStore-BeMPlP7X.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 +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 -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-BudIMUsf.mjs} +9 -3
- package/dist/esm/chunks/{Avatar-D84wF2os.mjs → Avatar-Bk8kdTEa.mjs} +2 -2
- package/dist/esm/chunks/{AvatarGroup-DiwfbRxH.mjs → AvatarGroup-CRixAHW5.mjs} +2 -2
- package/dist/esm/chunks/{Badge-DuUb5-80.mjs → Badge-DHvo2-ZQ.mjs} +1 -1
- package/dist/esm/chunks/{Button-BIgwWrPJ.mjs → Button-v92U2QVV.mjs} +6 -6
- package/dist/esm/chunks/{ButtonBar-vNvnvw7u.mjs → ButtonBar-Bn4GhpbO.mjs} +3 -3
- package/dist/esm/chunks/{Camera-BMwkTJPq.mjs → Camera-Cvp_kb-A.mjs} +11 -5
- package/dist/esm/chunks/{CheckBox-Cpoxy8w_.mjs → CheckBox-CUbeBXgg.mjs} +3 -3
- package/dist/esm/chunks/{Chip-BayNVv7N.mjs → Chip-HGLXF8JO.mjs} +4 -4
- package/dist/esm/chunks/{DivInput-CWRUxy1y.mjs → DivInput-CZ3PVteW.mjs} +2 -2
- package/dist/esm/chunks/{Dot-v_kcIWV2.mjs → Dot-B6Q97aIp.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-yEeGeE1w.mjs → DrggablePanel-DLltuMUc.mjs} +8 -2
- package/dist/esm/chunks/{DropDown-QQhwAg_J.mjs → DropDown-DqVsJwO3.mjs} +3 -3
- package/dist/esm/chunks/{ErrorSummary-DzIZMIll.mjs → ErrorSummary-CCTJpTqA.mjs} +8 -2
- package/dist/esm/chunks/{FileIcon-6UlkbKzk.mjs → FileIcon-DnEohsNX.mjs} +8 -2
- package/dist/esm/chunks/{FileList-vMiGJByw.mjs → FileList-CnuT4Llg.mjs} +5 -5
- package/dist/esm/chunks/{FlexDiv-B1m7aY04.mjs → FlexDiv-DGEzQRcq.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-BDrAnfDF.mjs → Grouper-BoGryrnc.mjs} +9 -3
- package/dist/esm/chunks/{Icon-D4A6_c4x.mjs → Icon-CbDAKN_S.mjs} +8 -2
- package/dist/esm/chunks/{IconButton-B_W-aOsB.mjs → IconButton-nOcdRqR3.mjs} +5 -5
- package/dist/esm/chunks/{IndexedDB-CTqfKmp1.mjs → IndexedDB-Bqjric8V.mjs} +1 -1
- package/dist/esm/chunks/{Label-I75yz3gq.mjs → Label-BlvreqNJ.mjs} +2 -2
- package/dist/esm/chunks/{Level-DgczkKBr.mjs → Level-COXHoBs6.mjs} +3 -3
- package/dist/esm/chunks/{Modal-CwwyijaO.mjs → Modal-CqBytyja.mjs} +5 -5
- package/dist/esm/chunks/ModalController-6Gc8QRxx.mjs +91 -0
- package/dist/esm/chunks/{Overlay-C-yori3-.mjs → Overlay-iKgSkUKP.mjs} +1 -1
- package/dist/esm/chunks/{Pager-BEtfyKtq.mjs → Pager-XgsZBzcg.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-BV0ginXb.mjs → ProgressIndicator-BWrcdWvF.mjs} +8 -2
- package/dist/esm/chunks/{PromptInput-Cn5fRYap.mjs → PromptInput-DbT3sVeA.mjs} +46 -37
- package/dist/esm/chunks/{RadioButton-DWlg6ldv.mjs → RadioButton-DUzPaLKa.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-D9FdlhPL.mjs → RadioButtonList-NjEGYpj4.mjs} +3 -3
- package/dist/esm/chunks/{Slider-B2WZkZSg.mjs → Slider-Bvnhqzjx.mjs} +14 -4
- package/dist/esm/chunks/{Spacer-7Oj0SlD0.mjs → Spacer-B2JAN7e8.mjs} +1 -1
- package/dist/esm/chunks/{Switch-DRhnznnO.mjs → Switch-CspvY_DQ.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-D6VR71ye.mjs → TabBar-BlvOUGJx.mjs} +42 -18
- package/dist/esm/chunks/{TextArea-CkB5rJjI.mjs → TextArea-BpMTGopK.mjs} +2 -2
- package/dist/esm/chunks/{TextField-BIXmkjEz.mjs → TextField-DELrBLOa.mjs} +11 -5
- package/dist/esm/chunks/{Tip-CTdrwLky.mjs → Tip-DBVeB0Zs.mjs} +2 -2
- package/dist/esm/chunks/{Toast-8bUziIgh.mjs → Toast-HU8Pgwsr.mjs} +10 -4
- package/dist/esm/chunks/{ToggleButton-BOFITa8_.mjs → ToggleButton-CGpBWhaX.mjs} +5 -4
- package/dist/esm/chunks/{UploadArea-DE2ccDVx.mjs → UploadArea-DdV_ILIU.mjs} +4 -4
- package/dist/esm/chunks/{WSConnection-CHudrD62.mjs → WSConnection-eStD8i-1.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-DQbNa7Z9.mjs → WebRTCConnection-BaPHQ_C4.mjs} +1 -1
- package/dist/esm/chunks/{localDBStore-CaYiqITY.mjs → localDBStore-NpiMrXsA.mjs} +2 -2
- package/dist/esm/chunks/{microphoneStore-COEGtgyX.mjs → microphoneStore-uYs2NQQx.mjs} +1 -1
- package/dist/esm/chunks/{misc-2MIIqzsX.mjs → misc-BQH7I5Zj.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-nW9CMec_.mjs → sseStore-ueYoyFeB.mjs} +2 -2
- package/dist/esm/chunks/{uploads-worker-CMomtRvm.mjs → uploads-worker-CFPGExfT.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-CsfpSOTS.mjs → uploadsStore-DNalSMtC.mjs} +1 -1
- package/dist/esm/chunks/{volumeStore-TSYPqbHx.mjs → volumeStore-C0iU07fK.mjs} +4 -5
- package/dist/esm/chunks/{webRTCStore-CVCDJzj5.mjs → webRTCStore-Ck8TCzr_.mjs} +2 -2
- package/dist/esm/chunks/{windowStore-BvejIR82.mjs → windowStore-DcYPAWds.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 +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 +19 -9
- 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 +46 -3
- package/dist/types/components/PromptInput/PromptInput.d.ts +10 -2
- package/dist/types/components/PromptInput/_types.d.ts +5 -1
- package/dist/types/components/TabBar/_types.d.ts +5 -0
- package/dist/types/components/ToggleButton/_types.d.ts +1 -0
- package/dist/types/stores/volume/_types.d.ts +1 -1
- package/dist/types/stores/volume/volumeStore.d.ts +2 -2
- package/package.json +1 -1
- package/dist/cjs/chunks/ModalController-Cp2PXOOS.js +0 -68
- package/dist/esm/chunks/ModalController-IyB9lDRa.mjs +0 -76
- /package/dist/cjs/chunks/{MdStreamBuffer-BudWFoNw.js → MdStreamBuffer-CQGZtTLN.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-DfjLAlOG.js → SSEConnection-BqitbvAq.js} +0 -0
- /package/dist/cjs/chunks/{_types-DMyBIF8s.js → _types-CnvV2yMQ.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-BxPvUj4h.js → audioVisualizer-i41gzZXM.js} +0 -0
- /package/dist/cjs/chunks/{colors-4n0sNFRA.js → colors-BlSE7Sf2.js} +0 -0
- /package/dist/cjs/chunks/{debounce-_IK-La-Z.js → debounce-C7m-uQW2.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-CFsfK3ba.js → modalStore-BrwOUMH_.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-C0ZHzH_T.js → sharedTypes-Cep5dDpY.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-dqD9-c30.js → tipStore-BXKWR6IE.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-BN1N7WXv.js → toastStore-Y9JmFP0o.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-DsF7Wv4Y.js → tslib.es6-yslq87rf.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-CoQWQwRL.mjs → MdStreamBuffer-BF5ZQeUD.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-iFKOV9Uo.mjs → SSEConnection-DNA5yBWy.mjs} +0 -0
- /package/dist/esm/chunks/{_types-DrNviSG6.mjs → _types-DR4jXucA.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-BsmpLZyK.mjs → audioVisualizer-CAET7dc9.mjs} +0 -0
- /package/dist/esm/chunks/{colors-BAATtfbL.mjs → colors-BHYMt294.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-CYBH5qXQ.mjs → debounce-DpPYyz3x.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-DmaeMv7z.mjs → modalStore-DbxIsSpU.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-CyrInj1b.mjs → sharedTypes-DoNQkNSM.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-B_MUZfr2.mjs → tipStore-CmyIJWe7.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-DAprlBVj.mjs → toastStore-BYMHSiu2.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-C81Qhn1z.mjs → tslib.es6-75ZdAmtm.mjs} +0 -0
|
@@ -30,6 +30,9 @@ type TabBarBaseProps = {
|
|
|
30
30
|
onChange?: (index: number) => void;
|
|
31
31
|
onTabChange?: (option: TabOption) => void;
|
|
32
32
|
onClose?: () => void;
|
|
33
|
+
justify?: 'start' | 'center' | 'end';
|
|
34
|
+
borderColor?: string;
|
|
35
|
+
textSize?: 'xs' | 's' | 'm' | 'l';
|
|
33
36
|
};
|
|
34
37
|
export type TabBarProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof TabBarBaseProps> & TabBarBaseProps;
|
|
35
38
|
export interface TabOptionProps {
|
|
@@ -50,5 +53,7 @@ export interface TabOptionProps {
|
|
|
50
53
|
onKeyDown?: (event: React.KeyboardEvent<HTMLButtonElement>, value: number) => void;
|
|
51
54
|
onToolTip?: (tip: ToolTip | null) => void;
|
|
52
55
|
buttonRef?: (element: HTMLButtonElement | null) => void;
|
|
56
|
+
borderColor?: string;
|
|
57
|
+
textSize?: 'xs' | 's' | 'm' | 'l';
|
|
53
58
|
}
|
|
54
59
|
export {};
|
|
@@ -12,7 +12,7 @@ export type VolumeStore = {
|
|
|
12
12
|
playFeedback: (volume?: number) => Promise<void>;
|
|
13
13
|
setVolume: (volume: number, options?: {
|
|
14
14
|
playFeedback?: boolean;
|
|
15
|
-
}) => void
|
|
15
|
+
}) => Promise<void>;
|
|
16
16
|
mute: () => Promise<void>;
|
|
17
17
|
unmute: () => Promise<void>;
|
|
18
18
|
clearMedia: () => void;
|
|
@@ -12,7 +12,7 @@ export declare const useVolumeActions: () => {
|
|
|
12
12
|
playFeedback: (volume?: number) => Promise<void>;
|
|
13
13
|
setVolume: (volume: number, options?: {
|
|
14
14
|
playFeedback?: boolean;
|
|
15
|
-
}) => void
|
|
15
|
+
}) => Promise<void>;
|
|
16
16
|
mute: () => Promise<void>;
|
|
17
17
|
unmute: () => Promise<void>;
|
|
18
18
|
clearMedia: () => void;
|
|
@@ -25,7 +25,7 @@ export declare const volumeActions: {
|
|
|
25
25
|
playFeedback: (volume?: number) => Promise<void>;
|
|
26
26
|
setVolume: (volume: number, options?: {
|
|
27
27
|
playFeedback?: boolean;
|
|
28
|
-
}) => void
|
|
28
|
+
}) => Promise<void>;
|
|
29
29
|
mute: () => Promise<void>;
|
|
30
30
|
unmute: () => Promise<void>;
|
|
31
31
|
clearMedia: () => 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
|