@apple-pie/slice 0.1.50 → 0.1.52
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-Dyf2Tvac.js → AudioBubble-Di2Qyjer.js} +4 -5
- package/dist/cjs/chunks/{Avatar-5615YRZf.js → Avatar-L6s2-x0u.js} +1 -1
- package/dist/cjs/chunks/{AvatarGroup-QiLXUSbq.js → AvatarGroup-DNGFPl1j.js} +1 -1
- package/dist/cjs/chunks/{Badge-DKiQ3F3_.js → Badge-CWASZI0E.js} +1 -1
- package/dist/cjs/chunks/{Button-oHY1ESJp.js → Button-kzWt5lcL.js} +2 -1
- package/dist/cjs/chunks/{ButtonBar-4Y2V3Nrm.js → ButtonBar-BaFGN5AR.js} +1 -1
- package/dist/cjs/chunks/{Camera-CMPgeJ2g.js → Camera-CBZmVUf6.js} +5 -6
- package/dist/cjs/chunks/{CheckBox-CyiFsnzH.js → CheckBox-D8e57FqA.js} +1 -1
- package/dist/cjs/chunks/{Chip-BB4t9HTY.js → Chip-DCFtFPpu.js} +3 -2
- package/dist/cjs/chunks/{DivInput-CzpCqi0m.js → DivInput-BbYo5dnn.js} +1 -1
- package/dist/cjs/chunks/{Dot-fVKYobyz.js → Dot-ByKZIcva.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-B_njQ0Me.js → DrggablePanel-EvnMMRh0.js} +4 -5
- package/dist/cjs/chunks/{DropDown-CItUGWpi.js → DropDown-C-i2rIhH.js} +5 -4
- package/dist/cjs/chunks/{ErrorSummary-BqgHSyAh.js → ErrorSummary-DLaE1duh.js} +6 -6
- package/dist/cjs/chunks/{FileIcon-Drygvqh6.js → FileIcon-DqFMbhRF.js} +5 -5
- package/dist/cjs/chunks/{FileList-DnwlX72e.js → FileList-C3KR7jHj.js} +3 -3
- package/dist/cjs/chunks/{FlexDiv-CR8kCjmG.js → FlexDiv-BPmDJlQe.js} +1 -1
- package/dist/cjs/chunks/{Grouper-YByIKrV9.js → Grouper-Bm013ATj.js} +5 -5
- package/dist/cjs/chunks/{Icon-Czl31BDO.js → Icon-CUbgmUeu.js} +4 -5
- package/dist/cjs/chunks/{IconButton-B3732eH3.js → IconButton-BbgyyMjG.js} +1 -1
- package/dist/cjs/chunks/{IndexedDB-COaet5q4.js → IndexedDB-DFVmvrQg.js} +1 -1
- package/dist/cjs/chunks/{Label-D-B3oOF6.js → Label-CDuN-9n3.js} +3 -2
- package/dist/cjs/chunks/{Level-BOm5W7K-.js → Level-vbDvflcO.js} +2 -2
- package/dist/cjs/chunks/{Modal-Bdo7uOPt.js → Modal-BS-9UkxV.js} +4 -4
- package/dist/cjs/chunks/{ModalController-D7UUu10l.js → ModalController-B-m3OD5K.js} +2 -3
- package/dist/cjs/chunks/{Overlay-CYLmWXtx.js → Overlay-QprT1IaK.js} +1 -1
- package/dist/cjs/chunks/{Pager-DAtdhdhR.js → Pager-7edBFop6.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-BdAfoeqg.js → ProgressIndicator-Bi1UfJIW.js} +4 -5
- package/dist/cjs/chunks/{PromptInput-C1ZtWI_B.js → PromptInput-BHDK8fjX.js} +9 -8
- package/dist/cjs/chunks/{RadioButton-CtMP58iO.js → RadioButton-SqAqjkcO.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-CG3rnxMZ.js → RadioButtonList-Bk4zdfNK.js} +1 -1
- package/dist/cjs/chunks/{Slider-ClLObq6J.js → Slider-CGXCa5hf.js} +4 -5
- package/dist/cjs/chunks/{Spacer-dn57EYX7.js → Spacer-Cz634l5B.js} +1 -1
- package/dist/cjs/chunks/{Switch-dbztJmZ0.js → Switch-BWz76WjN.js} +1 -1
- package/dist/cjs/chunks/{TabBar-BY6trnnm.js → TabBar-BhV5XeiX.js} +18 -19
- package/dist/cjs/chunks/{TextArea-C6nWVspn.js → TextArea-Dc0MXEtY.js} +1 -1
- package/dist/cjs/chunks/{TextField-gtlYx618.js → TextField-l62uCubT.js} +7 -7
- package/dist/cjs/chunks/{Tip-I4fh_TSI.js → Tip-BBMqZlgV.js} +5 -4
- package/dist/cjs/chunks/{Toast-DaUauLLf.js → Toast-DNSA3BzO.js} +10 -9
- package/dist/cjs/chunks/{ToggleButton-DsMeA3Fx.js → ToggleButton-DclomTgT.js} +1 -1
- package/dist/cjs/chunks/{UploadArea-C5UpHblQ.js → UploadArea-Bm674kMd.js} +4 -3
- package/dist/cjs/chunks/{Video-ChnhBOrU.js → Video-Be2aIETB.js} +1 -1
- package/dist/cjs/chunks/{VideoController-CpgvyAdH.js → VideoController-BCTD_gZh.js} +3 -4
- package/dist/cjs/chunks/{WSConnection-Dwlx8NIU.js → WSConnection-pryKJWc6.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-BV_G9jeM.js → WebRTCConnection-C_GRUnIY.js} +1 -1
- package/dist/cjs/chunks/{browserChannelsStore-DGkZwSk3.js → browserChannelsStore-6ZSY_xb-.js} +2 -2
- package/dist/cjs/chunks/{localDBStore-DCA0Fuld.js → localDBStore-DO3FanPt.js} +2 -2
- package/dist/cjs/chunks/{microphoneStore-D_PdS6Ob.js → microphoneStore-Ch3VVm4T.js} +1 -1
- package/dist/cjs/chunks/{misc-DVuhbWd-.js → misc-BNlFh_4N.js} +1 -1
- package/dist/cjs/chunks/{sseStore-Bs1ZOYMi.js → sseStore-C_INE2Dq.js} +3 -3
- package/dist/cjs/chunks/{uploads-worker-BTurZYAK.js → uploads-worker-Bz66LCly.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-C5FElNoE.js → uploadsStore-blQX5Zny.js} +2 -2
- package/dist/cjs/chunks/{viewState-2M8RglDJ.js → viewState-8FeRZBG3.js} +9 -8
- package/dist/cjs/chunks/{volumeStore-DUfgDH0Y.js → volumeStore-CA9Pdx5e.js} +1 -1
- package/dist/cjs/chunks/{webRTCStore-gFAVHa3-.js → webRTCStore-Bu7_nxNq.js} +2 -2
- package/dist/cjs/chunks/{windowStore-BrzkG4xn.js → windowStore-CYvn2_ma.js} +1 -1
- package/dist/cjs/components/AudioBubble/index.js +5 -6
- package/dist/cjs/components/Avatar/index.js +3 -3
- package/dist/cjs/components/AvatarGroup/index.js +3 -3
- package/dist/cjs/components/Badge/index.js +2 -2
- package/dist/cjs/components/Button/index.js +8 -9
- package/dist/cjs/components/ButtonBar/index.js +5 -6
- package/dist/cjs/components/Camera/index.js +7 -8
- package/dist/cjs/components/CheckBox/index.js +5 -6
- package/dist/cjs/components/Chip/index.js +6 -7
- package/dist/cjs/components/DataTable/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 -6
- package/dist/cjs/components/DropDown/index.js +5 -6
- 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 +6 -7
- 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 +8 -9
- package/dist/cjs/components/Label/index.js +3 -3
- package/dist/cjs/components/Level/index.js +4 -4
- package/dist/cjs/components/Modal/index.js +9 -10
- package/dist/cjs/components/ModalController/index.js +5 -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 +5 -6
- package/dist/cjs/components/PromptInput/index.js +9 -10
- package/dist/cjs/components/RadioButton/index.js +5 -6
- package/dist/cjs/components/RadioButtonList/index.js +6 -7
- package/dist/cjs/components/Slider/index.js +5 -6
- 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 -9
- package/dist/cjs/components/TextArea/index.js +8 -9
- package/dist/cjs/components/Textfield/index.js +9 -10
- package/dist/cjs/components/Tip/index.js +3 -3
- package/dist/cjs/components/Toast/index.js +6 -7
- package/dist/cjs/components/ToggleButton/index.js +8 -9
- package/dist/cjs/components/UploadArea/index.js +7 -8
- package/dist/cjs/components/Video/index.js +11 -12
- package/dist/cjs/components/VideoController/index.js +11 -11
- package/dist/cjs/hooks/useAudioRecorder.js +1 -1
- package/dist/cjs/hooks/useBindWebRTC.js +2 -2
- package/dist/cjs/hooks/useClipboard.js +2 -2
- package/dist/cjs/hooks/useMdStreamBuffer.js +2 -2
- package/dist/cjs/hooks/useMicrophone.js +1 -1
- package/dist/cjs/hooks/useTrackRenders.js +2 -2
- package/dist/cjs/hooks.js +4 -4
- package/dist/cjs/index.js +10 -10
- package/dist/cjs/stores/LocalDB.js +3 -3
- package/dist/cjs/stores/SSE.js +3 -3
- package/dist/cjs/stores/WS.js +3 -3
- package/dist/cjs/stores/WebRTC.js +3 -3
- package/dist/cjs/stores/browserChannel.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/video.js +1 -1
- package/dist/cjs/stores/volume.js +2 -2
- package/dist/cjs/stores/window.js +2 -2
- package/dist/cjs/stores.js +16 -15
- package/dist/cjs/theme/type.js +5 -5
- 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/css/type.module.css +10 -10
- package/dist/esm/chunks/{AudioBubble-DKB_ikQD.mjs → AudioBubble-BzlrPWjD.mjs} +6 -8
- package/dist/esm/chunks/{Avatar-BKLELU1D.mjs → Avatar-DE7v6q5Z.mjs} +2 -2
- package/dist/esm/chunks/{AvatarGroup-VlUvrmRB.mjs → AvatarGroup-B-E3eFeF.mjs} +2 -2
- package/dist/esm/chunks/{Badge-CNerXOWY.mjs → Badge-Cli_Ebpu.mjs} +1 -1
- package/dist/esm/chunks/{Button-CxC5PDLZ.mjs → Button-BdxJ4wnE.mjs} +7 -6
- package/dist/esm/chunks/{ButtonBar-CY28QYoc.mjs → ButtonBar-LIzMkcAW.mjs} +3 -3
- package/dist/esm/chunks/{Camera-DDRMUn2z.mjs → Camera-DQIlyciR.mjs} +8 -10
- package/dist/esm/chunks/{CheckBox-OLUjeh6X.mjs → CheckBox-yuitT-oK.mjs} +3 -3
- package/dist/esm/chunks/{Chip-B3VjjAKA.mjs → Chip-BVWlgpZ4.mjs} +6 -5
- package/dist/esm/chunks/{DivInput-DAofSHRC.mjs → DivInput-SeyX77Nb.mjs} +2 -2
- package/dist/esm/chunks/{Dot-vxTR5qQx.mjs → Dot-Lyaimh03.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-C-4JGh5T.mjs → DrggablePanel--TPNDMpD.mjs} +5 -7
- package/dist/esm/chunks/{DropDown-Ds2eBdbA.mjs → DropDown-BmumgcHV.mjs} +7 -6
- package/dist/esm/chunks/{ErrorSummary-DppBxoDZ.mjs → ErrorSummary-CPsaqCL-.mjs} +7 -8
- package/dist/esm/chunks/{FileIcon-DVTCLEK-.mjs → FileIcon-Ckvm7EOw.mjs} +5 -7
- package/dist/esm/chunks/{FileList-2D_SS6kK.mjs → FileList-D0b6RxKc.mjs} +7 -7
- package/dist/esm/chunks/{FlexDiv-ChZX-Ps4.mjs → FlexDiv-D7wQNKz0.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-C-w3S1mk.mjs → Grouper-BrjPf1Zm.mjs} +6 -8
- package/dist/esm/chunks/{Icon-BkxxiH7A.mjs → Icon-DGQB6Mfm.mjs} +5 -7
- package/dist/esm/chunks/{IconButton-BBTfkZot.mjs → IconButton-Wffb0Rhg.mjs} +5 -5
- package/dist/esm/chunks/{IndexedDB-CuNOGQye.mjs → IndexedDB-Cwb-PZNm.mjs} +1 -1
- package/dist/esm/chunks/{Label-CrBZfqDc.mjs → Label-BF7Bac6I.mjs} +4 -3
- package/dist/esm/chunks/{Level-Cpz1t2Re.mjs → Level-DnWQ5mLH.mjs} +4 -4
- package/dist/esm/chunks/{Modal-BRtjAkH3.mjs → Modal-BuDVEntK.mjs} +8 -8
- package/dist/esm/chunks/{ModalController-DxPswKlS.mjs → ModalController-CWZBh7Dg.mjs} +4 -6
- package/dist/esm/chunks/{Overlay-BlgYiAch.mjs → Overlay-DXAULyRd.mjs} +1 -1
- package/dist/esm/chunks/{Pager-mVs0GjW6.mjs → Pager-Bjwlh0Vs.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-B5W14cIi.mjs → ProgressIndicator-C8tli-Jg.mjs} +5 -7
- package/dist/esm/chunks/{PromptInput-DLXdYtqY.mjs → PromptInput-JE3EkzEV.mjs} +11 -11
- package/dist/esm/chunks/{RadioButton-Uvc4X9U9.mjs → RadioButton-BK37fGER.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-cUyOSyCa.mjs → RadioButtonList-CPfE3YBM.mjs} +3 -3
- package/dist/esm/chunks/{Slider-DcozyGzD.mjs → Slider-D6nWSQ-A.mjs} +6 -8
- package/dist/esm/chunks/{Spacer-BBfATsZ1.mjs → Spacer-CWY79s4p.mjs} +1 -1
- package/dist/esm/chunks/{Switch-BLSpmM5h.mjs → Switch-De_cFgOS.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-Dwi3p1wa.mjs → TabBar-CCq8-TdA.mjs} +22 -24
- package/dist/esm/chunks/{TextArea-B8oKcfzz.mjs → TextArea-kAVb9Lpy.mjs} +2 -2
- package/dist/esm/chunks/{TextField-DaSBsw9p.mjs → TextField-MxcxS6SE.mjs} +10 -11
- package/dist/esm/chunks/{Tip-DPqjnHCZ.mjs → Tip-CuRp-fki.mjs} +6 -5
- package/dist/esm/chunks/{Toast-BarNEPeq.mjs → Toast-CvWVJwrM.mjs} +12 -12
- package/dist/esm/chunks/{ToggleButton-DSX3R_rz.mjs → ToggleButton-DpR2FO_I.mjs} +2 -2
- package/dist/esm/chunks/{UploadArea-RTDaa_hG.mjs → UploadArea-ChXIXxSg.mjs} +7 -6
- package/dist/esm/chunks/{Video-nS-hiB-6.mjs → Video-D3FSIySJ.mjs} +5 -5
- package/dist/esm/chunks/{VideoController-FeQUBuTa.mjs → VideoController-CS6eZwuf.mjs} +7 -9
- package/dist/esm/chunks/{WSConnection-S6xfpTTL.mjs → WSConnection-DX-v8PDB.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-BeL7Xgng.mjs → WebRTCConnection-KLpY6CZG.mjs} +1 -1
- package/dist/esm/chunks/{browserChannelsStore-BM45iC6I.mjs → browserChannelsStore-BlUi1EOi.mjs} +2 -2
- package/dist/esm/chunks/{localDBStore-Ctb6waQQ.mjs → localDBStore-Cqmkk2oq.mjs} +3 -3
- package/dist/esm/chunks/{microphoneStore-BbHftTVc.mjs → microphoneStore-CHjTUEL_.mjs} +1 -1
- package/dist/esm/chunks/{misc-BsRTCJ2d.mjs → misc-GB29X0YR.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-yPRMQhW_.mjs → sseStore-CsFtm_ph.mjs} +3 -3
- package/dist/esm/chunks/{uploads-worker-DG8PZWU_.mjs → uploads-worker-DnuyqnvO.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-7BKTfB9e.mjs → uploadsStore-BJkaMc8Q.mjs} +1 -1
- package/dist/esm/chunks/{viewState-BhLLUEz_.mjs → viewState-Bz_5JiKf.mjs} +11 -11
- package/dist/esm/chunks/{volumeStore-D2zdLZOd.mjs → volumeStore-DBjptppw.mjs} +1 -1
- package/dist/esm/chunks/{webRTCStore-CQlEo5tj.mjs → webRTCStore-Da4krjmG.mjs} +3 -3
- package/dist/esm/chunks/{windowStore-Dfr_YWg6.mjs → windowStore-DuCMm9ZH.mjs} +1 -1
- package/dist/esm/components/AudioBubble/index.mjs +7 -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 +11 -15
- package/dist/esm/components/ButtonBar/index.mjs +7 -11
- package/dist/esm/components/Camera/index.mjs +9 -13
- package/dist/esm/components/CheckBox/index.mjs +7 -11
- package/dist/esm/components/Chip/index.mjs +8 -12
- package/dist/esm/components/DataTable/index.mjs +8 -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 +6 -10
- package/dist/esm/components/DropDown/index.mjs +7 -11
- package/dist/esm/components/ErrorSummary/index.mjs +6 -10
- package/dist/esm/components/FileIcon/index.mjs +6 -10
- package/dist/esm/components/FileList/index.mjs +9 -13
- package/dist/esm/components/FlexDiv/index.mjs +2 -2
- package/dist/esm/components/Grouper/index.mjs +8 -12
- package/dist/esm/components/Icon/index.mjs +7 -11
- package/dist/esm/components/IconButton/index.mjs +10 -14
- package/dist/esm/components/Label/index.mjs +3 -3
- package/dist/esm/components/Level/index.mjs +5 -5
- package/dist/esm/components/Modal/index.mjs +13 -17
- package/dist/esm/components/ModalController/index.mjs +6 -12
- 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 +7 -11
- package/dist/esm/components/PromptInput/index.mjs +14 -18
- package/dist/esm/components/RadioButton/index.mjs +7 -11
- package/dist/esm/components/RadioButtonList/index.mjs +8 -12
- package/dist/esm/components/Slider/index.mjs +7 -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 +11 -15
- package/dist/esm/components/TextArea/index.mjs +12 -16
- package/dist/esm/components/Textfield/index.mjs +13 -17
- package/dist/esm/components/Tip/index.mjs +3 -3
- package/dist/esm/components/Toast/index.mjs +8 -12
- package/dist/esm/components/ToggleButton/index.mjs +12 -16
- package/dist/esm/components/UploadArea/index.mjs +10 -14
- package/dist/esm/components/Video/index.mjs +15 -19
- package/dist/esm/components/VideoController/index.mjs +14 -18
- package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
- package/dist/esm/hooks/useBindWebRTC.mjs +6 -6
- package/dist/esm/hooks/useClipboard.mjs +3 -3
- package/dist/esm/hooks/useMdStreamBuffer.mjs +3 -3
- package/dist/esm/hooks/useMicrophone.mjs +1 -1
- package/dist/esm/hooks/useTrackRenders.mjs +2 -2
- package/dist/esm/hooks.mjs +8 -8
- package/dist/esm/index.mjs +59 -59
- package/dist/esm/stores/LocalDB.mjs +4 -4
- package/dist/esm/stores/SSE.mjs +4 -4
- package/dist/esm/stores/WS.mjs +3 -3
- package/dist/esm/stores/WebRTC.mjs +4 -4
- package/dist/esm/stores/browserChannel.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/video.mjs +1 -1
- package/dist/esm/stores/volume.mjs +2 -2
- package/dist/esm/stores/window.mjs +2 -2
- package/dist/esm/stores.mjs +18 -18
- package/dist/esm/theme/type.mjs +5 -5
- package/dist/esm/utils/index.mjs +12 -12
- package/dist/esm/utils/objects/index.mjs +8 -8
- package/dist/esm/workers/uploads/uploads.mjs +2 -2
- package/dist/styles.css +2640 -2599
- package/dist/types/components/Button/Button.d.ts +2 -2
- package/dist/types/components/Button/_types.d.ts +1 -1
- package/dist/types/components/Chip/_types.d.ts +1 -1
- package/dist/types/components/DataTable/_types.d.ts +2 -0
- package/dist/types/components/DropDown/_types.d.ts +1 -1
- package/dist/types/components/ErrorSummary/_types.d.ts +1 -1
- package/dist/types/components/FileList/_types.d.ts +1 -1
- package/dist/types/components/Label/_types.d.ts +1 -1
- package/dist/types/components/Modal/_types.d.ts +2 -2
- package/dist/types/components/PromptInput/PromptInput.d.ts +2 -2
- package/dist/types/components/PromptInput/_types.d.ts +1 -1
- package/dist/types/components/TabBar/_types.d.ts +5 -6
- package/dist/types/components/TextArea/_types.d.ts +1 -1
- package/dist/types/components/Textfield/_types.d.ts +2 -2
- package/dist/types/components/Tip/_types.d.ts +1 -1
- package/dist/types/components/Toast/_types.d.ts +1 -1
- package/dist/types/components/ToggleButton/_types.d.ts +1 -1
- package/dist/types/components/UploadArea/UploadArea.d.ts +2 -2
- package/dist/types/components/UploadArea/_types.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/cjs/chunks/{MdStreamBuffer-Ct4olUyU.js → MdStreamBuffer-Ba-YbQaW.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-DhAqVZkP.js → SSEConnection-C0XhTcpi.js} +0 -0
- /package/dist/cjs/chunks/{_types-7x81NJ7V.js → _types-DEjCVlhp.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-lk5LsLRk.js → audioVisualizer-DFgLMDKW.js} +0 -0
- /package/dist/cjs/chunks/{broadcastChannel-C0xM7Joi.js → broadcastChannel-B0l8OE4I.js} +0 -0
- /package/dist/cjs/chunks/{colors-E5w_1zz5.js → colors-jx2QRRls.js} +0 -0
- /package/dist/cjs/chunks/{debounce-BvRF-qeM.js → debounce-CsmIqkDy.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-prHVj0Vs.js → modalStore-DaB75uoa.js} +0 -0
- /package/dist/cjs/chunks/{rafThrottle-UK-rW1Dh.js → rafThrottle-DvT0BNgS.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-k6HmUFB-.js → sharedTypes-BT25wBhL.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-BeKGMTGW.js → tipStore-Dxda_4EA.js} +0 -0
- /package/dist/cjs/chunks/{toastStore--usfQrDo.js → toastStore-DqWfFw57.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-BkPXT_ao.js → tslib.es6-CTGrDO27.js} +0 -0
- /package/dist/cjs/chunks/{videoStore-IP5oayZ_.js → videoStore-q-yi22M3.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-CB1-B6FF.mjs → MdStreamBuffer-CuqX6fWF.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-nBRfJz2i.mjs → SSEConnection-DgwE_V3B.mjs} +0 -0
- /package/dist/esm/chunks/{_types-m4iQOWJ9.mjs → _types-n_IXoiPR.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-CkuYs_YL.mjs → audioVisualizer-CLKL6Y79.mjs} +0 -0
- /package/dist/esm/chunks/{broadcastChannel-pFUzeRys.mjs → broadcastChannel-qkn7bL4S.mjs} +0 -0
- /package/dist/esm/chunks/{colors-B-SjYUwU.mjs → colors-C3CypePZ.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-DATDV8au.mjs → debounce-xuz65F25.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-BSb8s7vc.mjs → modalStore-DN1F_WR9.mjs} +0 -0
- /package/dist/esm/chunks/{rafThrottle-CPPsTSzs.mjs → rafThrottle-B6dxl-O8.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-B8v-v7Ul.mjs → sharedTypes-DqPH1p0Q.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-BrfCPHgQ.mjs → tipStore-B_trLnIa.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-Dqq8FYrs.mjs → toastStore-BWlW1cRh.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-BBaRV8vV.mjs → tslib.es6-DGRmn-gx.mjs} +0 -0
- /package/dist/esm/chunks/{videoStore-C12FBOE6.mjs → videoStore-BxCTQ_tE.mjs} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.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-GB29X0YR.mjs";
|
|
9
9
|
|
|
10
|
-
import { F as FileIcon } from "./FileIcon-
|
|
10
|
+
import { F as FileIcon } from "./FileIcon-Ckvm7EOw.mjs";
|
|
11
11
|
|
|
12
|
-
import { I as Icon } from "./Icon-
|
|
12
|
+
import { I as Icon } from "./Icon-DGQB6Mfm.mjs";
|
|
13
13
|
|
|
14
|
-
import { P as ProgressIndicator } from "./ProgressIndicator-
|
|
14
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-C8tli-Jg.mjs";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Split a file name into its display name and extension.
|
|
@@ -46,7 +46,7 @@ function displayClose(uploading) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
const FileList = React.memo(props => {
|
|
49
|
-
const {files: files = [], onChange: onChange, onToolTip: onToolTip, maxWidth: maxWidth, minWidth: minWidth, direction: direction = "row", padding: padding, gap: gap = 10,
|
|
49
|
+
const {files: files = [], onChange: onChange, onToolTip: onToolTip, maxWidth: maxWidth, minWidth: minWidth, direction: direction = "row", padding: padding, gap: gap = 10, textSize: textSize = "s", iconSize: iconSize = 24, backgroundColor: backgroundColor, bgColor: bgColor, canRemove: canRemove = !0} = props, divAttributes = __rest(props, [ "files", "onChange", "onToolTip", "maxWidth", "minWidth", "direction", "padding", "gap", "textSize", "iconSize", "backgroundColor", "bgColor", "canRemove" ]), {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, fileNameToFileItem = useCallback(fileName => {
|
|
50
50
|
const {ext: ext, name: name} = function(fileName) {
|
|
51
51
|
var _a;
|
|
52
52
|
const ext = null !== (_a = fileName.split(".").pop()) && void 0 !== _a ? _a : "unknown";
|
|
@@ -173,7 +173,7 @@ const FileList = React.memo(props => {
|
|
|
173
173
|
}, rest, {
|
|
174
174
|
children: displayList.map(i => {
|
|
175
175
|
return jsxs("div", {
|
|
176
|
-
className: `${css.file} ${css[
|
|
176
|
+
className: `${css.file} ${css[textSize]}`,
|
|
177
177
|
style: fileCSSVars(i.progress, i.error),
|
|
178
178
|
children: [ jsx("div", {
|
|
179
179
|
className: css.fileIcon,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -13,19 +13,17 @@ import "../theme/colors.mjs";
|
|
|
13
13
|
|
|
14
14
|
import "../theme/type.mjs";
|
|
15
15
|
|
|
16
|
-
import "./broadcastChannel-
|
|
16
|
+
import "./broadcastChannel-qkn7bL4S.mjs";
|
|
17
17
|
|
|
18
|
-
import "./
|
|
18
|
+
import "./microphoneStore-CHjTUEL_.mjs";
|
|
19
19
|
|
|
20
|
-
import "./
|
|
21
|
-
|
|
22
|
-
import "./volumeStore-D2zdLZOd.mjs";
|
|
20
|
+
import "./volumeStore-DBjptppw.mjs";
|
|
23
21
|
|
|
24
22
|
import "../hooks/useWindow.mjs";
|
|
25
23
|
|
|
26
|
-
import { B as Badge } from "./Badge-
|
|
24
|
+
import { B as Badge } from "./Badge-Cli_Ebpu.mjs";
|
|
27
25
|
|
|
28
|
-
import { I as Icon } from "./Icon-
|
|
26
|
+
import { I as Icon } from "./Icon-DGQB6Mfm.mjs";
|
|
29
27
|
|
|
30
28
|
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";
|
|
31
29
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -11,15 +11,13 @@ import "../theme/colors.mjs";
|
|
|
11
11
|
|
|
12
12
|
import "../theme/type.mjs";
|
|
13
13
|
|
|
14
|
-
import { a as accessibleKeyDown } from "./misc-
|
|
14
|
+
import { a as accessibleKeyDown } from "./misc-GB29X0YR.mjs";
|
|
15
15
|
|
|
16
|
-
import "./broadcastChannel-
|
|
16
|
+
import "./broadcastChannel-qkn7bL4S.mjs";
|
|
17
17
|
|
|
18
|
-
import "./
|
|
18
|
+
import "./microphoneStore-CHjTUEL_.mjs";
|
|
19
19
|
|
|
20
|
-
import "./
|
|
21
|
-
|
|
22
|
-
import "./volumeStore-D2zdLZOd.mjs";
|
|
20
|
+
import "./volumeStore-DBjptppw.mjs";
|
|
23
21
|
|
|
24
22
|
import "../hooks/useWindow.mjs";
|
|
25
23
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,13 +7,13 @@ import { motion } from "motion/react";
|
|
|
7
7
|
|
|
8
8
|
import React, { useRef, useState, useEffect, useCallback, useMemo } from "react";
|
|
9
9
|
|
|
10
|
-
import { B as Badge } from "./Badge-
|
|
10
|
+
import { B as Badge } from "./Badge-Cli_Ebpu.mjs";
|
|
11
11
|
|
|
12
|
-
import { D as Dot } from "./Dot-
|
|
12
|
+
import { D as Dot } from "./Dot-Lyaimh03.mjs";
|
|
13
13
|
|
|
14
|
-
import { I as Icon } from "./Icon-
|
|
14
|
+
import { I as Icon } from "./Icon-DGQB6Mfm.mjs";
|
|
15
15
|
|
|
16
|
-
import { T as ToolTipType } from "./sharedTypes-
|
|
16
|
+
import { T as ToolTipType } from "./sharedTypes-DqPH1p0Q.mjs";
|
|
17
17
|
|
|
18
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
19
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.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-GB29X0YR.mjs";
|
|
9
9
|
|
|
10
10
|
var LabelBackground, css = {
|
|
11
11
|
label: "Label-module_label__RaRvM",
|
|
@@ -13,7 +13,8 @@ var LabelBackground, css = {
|
|
|
13
13
|
xs: "Label-module_xs__K9Ai6 type-module_body-xs-regular__ZAFft",
|
|
14
14
|
s: "Label-module_s__Zh8Gp type-module_body-s-regular__vRHSP",
|
|
15
15
|
m: "Label-module_m__BJtGL type-module_body-m-regular__LuQBA",
|
|
16
|
-
l: "Label-module_l__t70tt type-module_body-l-regular__lOYbg"
|
|
16
|
+
l: "Label-module_l__t70tt type-module_body-l-regular__lOYbg",
|
|
17
|
+
xl: "Label-module_xl__bX0ub type-module_body-xl-regular__pF2kC"
|
|
17
18
|
};
|
|
18
19
|
|
|
19
20
|
function resolveSemanticBackground(backgroundColor) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useRef, useState, useMemo, useEffect } from "react";
|
|
7
7
|
|
|
8
|
-
import { s as setStyle } from "./misc-
|
|
8
|
+
import { s as setStyle } from "./misc-GB29X0YR.mjs";
|
|
9
9
|
|
|
10
|
-
import { A as AudioVisualizer } from "./audioVisualizer-
|
|
10
|
+
import { A as AudioVisualizer } from "./audioVisualizer-CLKL6Y79.mjs";
|
|
11
11
|
|
|
12
|
-
import "./broadcastChannel-
|
|
12
|
+
import "./broadcastChannel-qkn7bL4S.mjs";
|
|
13
13
|
|
|
14
14
|
var css_wrapper = "Level-module_wrapper__yOfXw", css_barContainer = "Level-module_barContainer__QMUdv", css_bar = "Level-module_bar__MnApX";
|
|
15
15
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.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-GB29X0YR.mjs";
|
|
9
9
|
|
|
10
|
-
import { B as Button } from "./Button-
|
|
10
|
+
import { B as Button } from "./Button-BdxJ4wnE.mjs";
|
|
11
11
|
|
|
12
|
-
import { I as Icon } from "./Icon-
|
|
12
|
+
import { I as Icon } from "./Icon-DGQB6Mfm.mjs";
|
|
13
13
|
|
|
14
|
-
import { I as IconButton } from "./IconButton-
|
|
14
|
+
import { I as IconButton } from "./IconButton-Wffb0Rhg.mjs";
|
|
15
15
|
|
|
16
16
|
var css = {
|
|
17
17
|
wrapper: "Modal-module_wrapper__34Hds flexBox-module_columnBetween__ERfp7",
|
|
@@ -31,7 +31,7 @@ var css = {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
const Modal = React.memo(props => {
|
|
34
|
-
const {children: children, id: id, className: className, style: style, minWidth: minWidth = 300, minHeight: minHeight = 200, maxHeight: maxHeight = 400, maxWidth: maxWidth = 400, padding: padding, close: close = !0, title: title,
|
|
34
|
+
const {children: children, id: id, className: className, style: style, minWidth: minWidth = 300, minHeight: minHeight = 200, maxHeight: maxHeight = 400, maxWidth: maxWidth = 400, padding: padding, close: close = !0, title: title, titleTextSize: titleTextSize = "l", contentTextSize: contentTextSize = "m", actions: actions, titleIcon: titleIcon, titleIconFill: titleIconFill = !0, titleBorderColor: titleBorderColor = "var(--core-outline-primary)", titleBorderWidth: titleBorderWidth = 0, actionsBorderColor: actionsBorderColor = "var(--core-outline-primary)", actionsBorderWidth: actionsBorderWidth = 0, autoBorderBottom: autoBorderBottom = !0, onAction: onAction, onReject: onReject, onResolve: onResolve, onClose: onClose, onToolTip: onToolTip, onDragPointerDown: onDragPointerDown, backgroundColor: backgroundColor = "var(--core-surface-secondary)", scrollHandleColor: scrollHandleColor = "var(--core-text-disabled)", scrollHandleColorHover: scrollHandleColorHover = "var(--core-text-disabled)", titleColor: titleColor = "var(--core-text-special)", borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius = 8, borderWidth: borderWidth = 1} = props, rest = __rest(props, [ "children", "id", "className", "style", "minWidth", "minHeight", "maxHeight", "maxWidth", "padding", "close", "title", "titleTextSize", "contentTextSize", "actions", "titleIcon", "titleIconFill", "titleBorderColor", "titleBorderWidth", "actionsBorderColor", "actionsBorderWidth", "autoBorderBottom", "onAction", "onReject", "onResolve", "onClose", "onToolTip", "onDragPointerDown", "backgroundColor", "scrollHandleColor", "scrollHandleColorHover", "titleColor", "borderColor", "borderRadius", "borderWidth" ]), contentWrapperRef = useRef(null), modalStyle = null != style ? style : {}, modalClass = className ? ` ${className}` : "", [scrolls, setScrolls] = useState(!1), getScrolls = useCallback(() => {
|
|
35
35
|
var _a, _b;
|
|
36
36
|
const height = null === (_a = contentWrapperRef.current) || void 0 === _a ? void 0 : _a.offsetHeight, scrollHeight = null === (_b = contentWrapperRef.current) || void 0 === _b ? void 0 : _b.scrollHeight;
|
|
37
37
|
return !(!height || !scrollHeight) && height < scrollHeight;
|
|
@@ -87,7 +87,7 @@ const Modal = React.memo(props => {
|
|
|
87
87
|
style: Object.assign(Object.assign({}, modalStyle), cssVars)
|
|
88
88
|
}, rest, {
|
|
89
89
|
children: [ (title || close) && jsxs("div", {
|
|
90
|
-
className: `${css.title} ${css[
|
|
90
|
+
className: `${css.title} ${css[titleTextSize]}`,
|
|
91
91
|
onPointerDown: onDragPointerDown,
|
|
92
92
|
children: [ jsxs("div", {
|
|
93
93
|
className: css.titleBlock,
|
|
@@ -119,7 +119,7 @@ const Modal = React.memo(props => {
|
|
|
119
119
|
className: css.contentWrapper,
|
|
120
120
|
ref: contentWrapperRef,
|
|
121
121
|
children: jsx("div", {
|
|
122
|
-
className: `${css.content} ${css[
|
|
122
|
+
className: `${css.content} ${css[contentTextSize]}`,
|
|
123
123
|
children: children
|
|
124
124
|
})
|
|
125
125
|
}), actions && actions.length > 0 && jsxs("div", {
|
|
@@ -5,15 +5,13 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
|
|
|
5
5
|
|
|
6
6
|
import { useRef } from "react";
|
|
7
7
|
|
|
8
|
-
import "./microphoneStore-
|
|
8
|
+
import "./microphoneStore-CHjTUEL_.mjs";
|
|
9
9
|
|
|
10
|
-
import "./volumeStore-
|
|
10
|
+
import "./volumeStore-DBjptppw.mjs";
|
|
11
11
|
|
|
12
|
-
import "./
|
|
12
|
+
import { O as Overlay } from "./Overlay-DXAULyRd.mjs";
|
|
13
13
|
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
import { u as useModal, a as useModalActions } from "./modalStore-BSb8s7vc.mjs";
|
|
14
|
+
import { u as useModal, a as useModalActions } from "./modalStore-DN1F_WR9.mjs";
|
|
17
15
|
|
|
18
16
|
var css_container = "ModalController-module_container__3cSaO", css_box = "ModalController-module_box__cPzOz", css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
|
|
19
17
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.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-GB29X0YR.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
|
|
|
@@ -9,19 +9,17 @@ import "../theme/colors.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/type.mjs";
|
|
11
11
|
|
|
12
|
-
import { a as __rest } from "./tslib.es6-
|
|
12
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.mjs";
|
|
13
13
|
|
|
14
|
-
import "./broadcastChannel-
|
|
14
|
+
import "./broadcastChannel-qkn7bL4S.mjs";
|
|
15
15
|
|
|
16
|
-
import "./
|
|
16
|
+
import "./microphoneStore-CHjTUEL_.mjs";
|
|
17
17
|
|
|
18
|
-
import "./
|
|
19
|
-
|
|
20
|
-
import "./volumeStore-D2zdLZOd.mjs";
|
|
18
|
+
import "./volumeStore-DBjptppw.mjs";
|
|
21
19
|
|
|
22
20
|
import "../hooks/useWindow.mjs";
|
|
23
21
|
|
|
24
|
-
import { I as Icon } from "./Icon-
|
|
22
|
+
import { I as Icon } from "./Icon-DGQB6Mfm.mjs";
|
|
25
23
|
|
|
26
24
|
import { AnimatePresence, motion } from "motion/react";
|
|
27
25
|
|
|
@@ -9,23 +9,21 @@ import "../theme/colors.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/type.mjs";
|
|
11
11
|
|
|
12
|
-
import "./tslib.es6-
|
|
12
|
+
import "./tslib.es6-DGRmn-gx.mjs";
|
|
13
13
|
|
|
14
|
-
import { s as setStyle } from "./misc-
|
|
14
|
+
import { s as setStyle } from "./misc-GB29X0YR.mjs";
|
|
15
15
|
|
|
16
|
-
import "./broadcastChannel-
|
|
16
|
+
import "./broadcastChannel-qkn7bL4S.mjs";
|
|
17
17
|
|
|
18
|
-
import "./
|
|
18
|
+
import "./microphoneStore-CHjTUEL_.mjs";
|
|
19
19
|
|
|
20
|
-
import "./
|
|
21
|
-
|
|
22
|
-
import "./volumeStore-D2zdLZOd.mjs";
|
|
20
|
+
import "./volumeStore-DBjptppw.mjs";
|
|
23
21
|
|
|
24
22
|
import "../hooks/useWindow.mjs";
|
|
25
23
|
|
|
26
|
-
import { B as Button } from "./Button-
|
|
24
|
+
import { B as Button } from "./Button-BdxJ4wnE.mjs";
|
|
27
25
|
|
|
28
|
-
import { F as FileList } from "./FileList-
|
|
26
|
+
import { F as FileList } from "./FileList-D0b6RxKc.mjs";
|
|
29
27
|
|
|
30
28
|
var css = {
|
|
31
29
|
wrapperBg: "PromptInput-module_wrapperBg__zabZq flexBox-module_columnStart__C7P44",
|
|
@@ -36,9 +34,11 @@ var css = {
|
|
|
36
34
|
buttonBar: "PromptInput-module_buttonBar__X8LDe flexBox-module_rowBetween__5FEvi",
|
|
37
35
|
toolBar: "PromptInput-module_toolBar__GBvPT flexBox-module_rowStart__4tcxS",
|
|
38
36
|
textarea: "PromptInput-module_textarea__e4Kxn",
|
|
37
|
+
xs: "PromptInput-module_xs__Oy1ZT type-module_body-xs-regular__ZAFft",
|
|
39
38
|
s: "PromptInput-module_s__ivyC9 type-module_body-s-regular__vRHSP",
|
|
40
39
|
m: "PromptInput-module_m__LFHvW type-module_body-m-regular__LuQBA",
|
|
41
|
-
l: "PromptInput-module_l__TlceW type-module_body-l-regular__lOYbg"
|
|
40
|
+
l: "PromptInput-module_l__TlceW type-module_body-l-regular__lOYbg",
|
|
41
|
+
xl: "PromptInput-module_xl__FbITb type-module_body-xl-regular__pF2kC"
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const PromptInputBase = React.forwardRef((props, ref) => {
|
|
@@ -112,7 +112,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
|
|
|
112
112
|
files: attachments,
|
|
113
113
|
onChange: handleAttachmentsChange,
|
|
114
114
|
bgColor: "var(--core-surface-primary)",
|
|
115
|
-
|
|
115
|
+
textSize: "s",
|
|
116
116
|
direction: "row",
|
|
117
117
|
gap: 8,
|
|
118
118
|
iconSize: 24
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.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-GB29X0YR.mjs";
|
|
9
9
|
|
|
10
|
-
import { I as Icon } from "./Icon-
|
|
10
|
+
import { I as Icon } from "./Icon-DGQB6Mfm.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 { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.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-GB29X0YR.mjs";
|
|
9
9
|
|
|
10
|
-
import { R as RadioButton } from "./RadioButton-
|
|
10
|
+
import { R as RadioButton } from "./RadioButton-BK37fGER.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 { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,17 +9,15 @@ import "../theme/colors.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/type.mjs";
|
|
11
11
|
|
|
12
|
-
import { p as pointerPosition } from "./misc-
|
|
12
|
+
import { p as pointerPosition } from "./misc-GB29X0YR.mjs";
|
|
13
13
|
|
|
14
|
-
import { d as debounce } from "./debounce-
|
|
14
|
+
import { d as debounce } from "./debounce-xuz65F25.mjs";
|
|
15
15
|
|
|
16
|
-
import "./broadcastChannel-
|
|
16
|
+
import "./broadcastChannel-qkn7bL4S.mjs";
|
|
17
17
|
|
|
18
|
-
import "./
|
|
18
|
+
import "./microphoneStore-CHjTUEL_.mjs";
|
|
19
19
|
|
|
20
|
-
import "./
|
|
21
|
-
|
|
22
|
-
import "./volumeStore-D2zdLZOd.mjs";
|
|
20
|
+
import "./volumeStore-DBjptppw.mjs";
|
|
23
21
|
|
|
24
22
|
import "../hooks/useWindow.mjs";
|
|
25
23
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -11,25 +11,23 @@ import "../theme/colors.mjs";
|
|
|
11
11
|
|
|
12
12
|
import "../theme/type.mjs";
|
|
13
13
|
|
|
14
|
-
import { s as setStyle } from "./misc-
|
|
14
|
+
import { s as setStyle } from "./misc-GB29X0YR.mjs";
|
|
15
15
|
|
|
16
|
-
import "./broadcastChannel-
|
|
16
|
+
import "./broadcastChannel-qkn7bL4S.mjs";
|
|
17
17
|
|
|
18
|
-
import "./
|
|
18
|
+
import "./microphoneStore-CHjTUEL_.mjs";
|
|
19
19
|
|
|
20
|
-
import "./
|
|
21
|
-
|
|
22
|
-
import "./volumeStore-D2zdLZOd.mjs";
|
|
20
|
+
import "./volumeStore-DBjptppw.mjs";
|
|
23
21
|
|
|
24
22
|
import "../hooks/useWindow.mjs";
|
|
25
23
|
|
|
26
|
-
import { B as Badge } from "./Badge-
|
|
24
|
+
import { B as Badge } from "./Badge-Cli_Ebpu.mjs";
|
|
27
25
|
|
|
28
|
-
import { I as Icon } from "./Icon-
|
|
26
|
+
import { I as Icon } from "./Icon-DGQB6Mfm.mjs";
|
|
29
27
|
|
|
30
|
-
import { I as IconButton } from "./IconButton-
|
|
28
|
+
import { I as IconButton } from "./IconButton-Wffb0Rhg.mjs";
|
|
31
29
|
|
|
32
|
-
import { T as ToolTipType } from "./sharedTypes-
|
|
30
|
+
import { T as ToolTipType } from "./sharedTypes-DqPH1p0Q.mjs";
|
|
33
31
|
|
|
34
32
|
var css = {
|
|
35
33
|
wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
|
|
@@ -89,9 +87,9 @@ const placeholderOptions = [ {
|
|
|
89
87
|
}
|
|
90
88
|
null !== nextIndex && (event.preventDefault(), handleOptionClick(nextIndex), focusOption(nextIndex));
|
|
91
89
|
}, [ options.length, handleOptionClick, focusOption ]), renderedOptions = useMemo(() => options.map((option, i) => jsx(Option, {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
name: option.name,
|
|
91
|
+
index: i,
|
|
92
|
+
toolTip: option.toolTip,
|
|
95
93
|
selected: i === index,
|
|
96
94
|
padding: padding,
|
|
97
95
|
icon: option.icon,
|
|
@@ -145,21 +143,21 @@ const placeholderOptions = [ {
|
|
|
145
143
|
TabBar.displayName = "TabBar";
|
|
146
144
|
|
|
147
145
|
const Option = React.memo(props => {
|
|
148
|
-
const theme = useTheme(), {
|
|
149
|
-
if (onToolTip(null),
|
|
146
|
+
const theme = useTheme(), {name: name = "Option", index: index = 0, icon: icon = null, selected: selected = !1, onClick: onClick = () => null, onToolTip: onToolTip = () => null, padding: padding = 8, iconSize: iconSize = 20, iconGap: iconGap = 6, disabled: disabled = !1, toolTip: toolTip = null, underline: underline = !0, tabWidth: tabWidth = "fill", borderColor: borderColor = "var(--core-outline-secondary)", count: count = 0, iconFill: iconFill = !1, textSize: textSize = "m", onKeyDown: onKeyDown = () => null, buttonRef: buttonRef} = props, ref = useRef(null), strokeColor = useMemo(() => !disabled && selected ? theme.current.colors["core-text-special"] : disabled ? theme.current.colors["core-text-disabled"] : theme.current.colors["core-text-primary"], [ disabled, selected, theme ]), handleMouseOver = useCallback(e => {
|
|
147
|
+
if (onToolTip(null), toolTip && ref.current) {
|
|
150
148
|
const tip = {
|
|
151
149
|
type: ToolTipType.button,
|
|
152
150
|
payload: {
|
|
153
|
-
label:
|
|
151
|
+
label: toolTip
|
|
154
152
|
},
|
|
155
153
|
event: e,
|
|
156
154
|
ref: ref
|
|
157
155
|
};
|
|
158
156
|
onToolTip(tip);
|
|
159
157
|
}
|
|
160
|
-
}, [
|
|
161
|
-
|
|
162
|
-
}, [
|
|
158
|
+
}, [ toolTip, onToolTip ]), handleMouseLeave = useCallback(() => {
|
|
159
|
+
toolTip && onToolTip(null);
|
|
160
|
+
}, [ toolTip, onToolTip ]), textColor = useMemo(() => disabled ? "var(--core-text-disabled)" : selected ? "var(--core-text-special)" : "var(--core-text-primary)", [ disabled, selected ]), setTabWidth = useMemo(() => "compact" === tabWidth ? "min-content" : "fill" === tabWidth ? "unset" : `${tabWidth}px`, [ tabWidth ]), setTabFlex = useMemo(() => "fill" === tabWidth ? "1" : "unset", [ tabWidth ]), setUnderline = useMemo(() => selected && underline && !disabled ? "1px" : "0", [ underline, disabled, selected ]), cssVars = useMemo(() => ({
|
|
163
161
|
"--tab-bar-option-border": setUnderline,
|
|
164
162
|
"--tab-bar-option-border-color": borderColor,
|
|
165
163
|
"--tab-bar-option-padding": setStyle(padding, "8px"),
|
|
@@ -182,8 +180,8 @@ const Option = React.memo(props => {
|
|
|
182
180
|
tabIndex: selected ? 0 : -1,
|
|
183
181
|
onMouseEnter: handleMouseOver,
|
|
184
182
|
onMouseLeave: handleMouseLeave,
|
|
185
|
-
onClick: () => onClick(
|
|
186
|
-
onKeyDown: e => onKeyDown(e,
|
|
183
|
+
onClick: () => onClick(index),
|
|
184
|
+
onKeyDown: e => onKeyDown(e, index),
|
|
187
185
|
children: [ icon && jsx("div", {
|
|
188
186
|
className: css.icon,
|
|
189
187
|
children: jsx(Icon, {
|
|
@@ -192,13 +190,13 @@ const Option = React.memo(props => {
|
|
|
192
190
|
size: iconSize,
|
|
193
191
|
strokeColor: strokeColor
|
|
194
192
|
})
|
|
195
|
-
}),
|
|
193
|
+
}), name, 0 !== count && jsx(Badge, {
|
|
196
194
|
variant: "light",
|
|
197
195
|
hideNull: !1,
|
|
198
196
|
count: count
|
|
199
197
|
}) ]
|
|
200
198
|
});
|
|
201
|
-
}, (prevProps, nextProps) => prevProps.selected === nextProps.selected && prevProps.underline === nextProps.underline && prevProps.tabWidth === nextProps.tabWidth && prevProps.disabled === nextProps.disabled && prevProps.iconGap === nextProps.iconGap && prevProps.iconSize === nextProps.iconSize && prevProps.count === nextProps.count && prevProps.
|
|
199
|
+
}, (prevProps, nextProps) => prevProps.selected === nextProps.selected && prevProps.underline === nextProps.underline && prevProps.tabWidth === nextProps.tabWidth && prevProps.disabled === nextProps.disabled && prevProps.iconGap === nextProps.iconGap && prevProps.iconSize === nextProps.iconSize && prevProps.count === nextProps.count && prevProps.icon === nextProps.icon && prevProps.borderColor === nextProps.borderColor && prevProps.textSize === nextProps.textSize && prevProps.padding === nextProps.padding && prevProps.name === nextProps.name && prevProps.index === nextProps.index);
|
|
202
200
|
|
|
203
201
|
Option.displayName = "TabOption";
|
|
204
202
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.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-BdxJ4wnE.mjs";
|
|
9
9
|
|
|
10
10
|
var css_wrapper = "TextArea-module_wrapper__O0sWP flexBox-module_columnStart__C7P44", css_textarea = "TextArea-module_textarea__-R2n0 scrollBars-module_scrollbars__c-ZPl", 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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-
|
|
2
|
+
import { a as __rest } from "./tslib.es6-DGRmn-gx.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -13,23 +13,21 @@ import "../theme/colors.mjs";
|
|
|
13
13
|
|
|
14
14
|
import "../theme/type.mjs";
|
|
15
15
|
|
|
16
|
-
import { s as setStyle } from "./misc-
|
|
16
|
+
import { s as setStyle } from "./misc-GB29X0YR.mjs";
|
|
17
17
|
|
|
18
|
-
import "./broadcastChannel-
|
|
18
|
+
import "./broadcastChannel-qkn7bL4S.mjs";
|
|
19
19
|
|
|
20
|
-
import "./
|
|
20
|
+
import "./microphoneStore-CHjTUEL_.mjs";
|
|
21
21
|
|
|
22
|
-
import "./
|
|
23
|
-
|
|
24
|
-
import "./volumeStore-D2zdLZOd.mjs";
|
|
22
|
+
import "./volumeStore-DBjptppw.mjs";
|
|
25
23
|
|
|
26
24
|
import "../hooks/useWindow.mjs";
|
|
27
25
|
|
|
28
|
-
import { B as Button } from "./Button-
|
|
26
|
+
import { B as Button } from "./Button-BdxJ4wnE.mjs";
|
|
29
27
|
|
|
30
|
-
import { I as Icon } from "./Icon-
|
|
28
|
+
import { I as Icon } from "./Icon-DGQB6Mfm.mjs";
|
|
31
29
|
|
|
32
|
-
import { I as IconButton } from "./IconButton-
|
|
30
|
+
import { I as IconButton } from "./IconButton-Wffb0Rhg.mjs";
|
|
33
31
|
|
|
34
32
|
var css = {
|
|
35
33
|
wrapper: "TextField-module_wrapper__qZ-p- flexBox-module_rowStart__4tcxS",
|
|
@@ -41,7 +39,8 @@ var css = {
|
|
|
41
39
|
xs: "TextField-module_xs__vyt2t type-module_body-xs-regular__ZAFft",
|
|
42
40
|
s: "TextField-module_s__0qm83 type-module_body-s-regular__vRHSP",
|
|
43
41
|
m: "TextField-module_m__M-tLl type-module_body-m-regular__LuQBA",
|
|
44
|
-
l: "TextField-module_l__gbNRz type-module_body-l-regular__lOYbg"
|
|
42
|
+
l: "TextField-module_l__gbNRz type-module_body-l-regular__lOYbg",
|
|
43
|
+
xl: "TextField-module_xl__tp--W type-module_body-xl-regular__pF2kC"
|
|
45
44
|
};
|
|
46
45
|
|
|
47
46
|
const MOTION_CONFIG = {
|