@apple-pie/slice 0.1.57 → 0.1.59
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-Spg7xqc9.js → AudioBubble-DAtkPfFK.js} +4 -4
- package/dist/cjs/chunks/{Avatar-BdhreiVP.js → Avatar-BI8Gvsp7.js} +2 -2
- package/dist/cjs/chunks/{AvatarGroup-BD69pplN.js → AvatarGroup-1IxbG6-D.js} +1 -1
- package/dist/cjs/chunks/{Badge-C_sva3jT.js → Badge-DMey3Pf3.js} +1 -1
- package/dist/cjs/chunks/{Button-C8hlMST5.js → Button-BjmkIu7l.js} +5 -6
- package/dist/cjs/chunks/{ButtonBar-1Qjuyr2U.js → ButtonBar-BxA8GQPM.js} +1 -1
- package/dist/cjs/chunks/{Camera-CXQLHtv8.js → Camera-ByjATQDE.js} +5 -5
- package/dist/cjs/chunks/{CheckBox-Bp4HCEp5.js → CheckBox-DZng-9wI.js} +1 -1
- package/dist/cjs/chunks/{Chip-D8k22_F8.js → Chip-CqUDN_QK.js} +7 -5
- package/dist/cjs/chunks/{DivInput-BXFPO-Mi.js → DivInput-GYDtuy4a.js} +2 -2
- package/dist/cjs/chunks/{Dot-BkFz2bG3.js → Dot-BgyxIyrr.js} +2 -2
- package/dist/cjs/chunks/{DrggablePanel-EJYkjSuq.js → DrggablePanel-BjOFnl0l.js} +11 -7
- package/dist/cjs/chunks/{DropDown-DcrJTYel.js → DropDown-C0vZNCK4.js} +4 -4
- package/dist/cjs/chunks/{ErrorSummary-FYhQ8A2g.js → ErrorSummary-CVzk_ASK.js} +5 -5
- package/dist/cjs/chunks/{FileIcon-DdKRzIde.js → FileIcon-63XvrV1q.js} +4 -4
- package/dist/cjs/chunks/{FileList-CBR3uaXM.js → FileList-6qXKA_Ux.js} +6 -5
- package/dist/cjs/chunks/{FlexDiv-DRaTYgR_.js → FlexDiv-LwjVh6ls.js} +4 -4
- package/dist/cjs/chunks/{Grouper-k1wtUJlG.js → Grouper-BlWyuh_b.js} +5 -5
- package/dist/cjs/chunks/{Icon-aBLPfZrD.js → Icon-BTjtQLNe.js} +10 -5
- package/dist/cjs/chunks/{IconButton-CbGXfBLK.js → IconButton-C0yNYhI6.js} +2 -2
- package/dist/cjs/chunks/{IndexedDB-BcDtqygg.js → IndexedDB-ClIpb2ob.js} +1 -1
- package/dist/cjs/chunks/{Label-Coei_F3_.js → Label-DsMFZd91.js} +5 -2
- package/dist/cjs/chunks/{Level-DpYVX9KZ.js → Level-VKdsTW_-.js} +2 -2
- package/dist/cjs/chunks/{Modal-IDb_E4Uj.js → Modal-Dp5Wg1Bw.js} +3 -3
- package/dist/cjs/chunks/{ModalController-D0Rk-7xK.js → ModalController-Cb2_7DtS.js} +3 -3
- package/dist/cjs/chunks/{Overlay-CTRJWWlC.js → Overlay-hOm9sYjr.js} +1 -1
- package/dist/cjs/chunks/{Pager-CjgU7xRP.js → Pager-CPhi9uyP.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-Dn_SVbK5.js → ProgressIndicator-CMsc_Npc.js} +5 -5
- package/dist/cjs/chunks/{PromptInput-DrqqeB7q.js → PromptInput-6eDiLG4g.js} +9 -10
- package/dist/cjs/chunks/{RadioButton-Bc7LvS17.js → RadioButton-DMxqwM6_.js} +3 -3
- package/dist/cjs/chunks/{RadioButtonList-Bl6hPvsZ.js → RadioButtonList-kG_Y1d4X.js} +1 -1
- package/dist/cjs/chunks/{Slider-BAR_f1bT.js → Slider-DGJomZGG.js} +4 -4
- package/dist/cjs/chunks/Spacer-Z97EoNtJ.js +26 -0
- package/dist/cjs/chunks/{Switch-CuK0xq85.js → Switch-CfzJd19R.js} +4 -4
- package/dist/cjs/chunks/{TabBar-DE-0fmd_.js → TabBar-C2aNS0Sd.js} +9 -9
- package/dist/cjs/chunks/{TextArea-CTDhSMbI.js → TextArea-G_MUJAHw.js} +3 -3
- package/dist/cjs/chunks/{TextField-BocVz2FD.js → TextField-CWIGERkd.js} +13 -18
- package/dist/cjs/chunks/{Tip-C7hgfkbD.js → Tip-B7RF879X.js} +3 -3
- package/dist/cjs/chunks/{Toast-CUtUp1H3.js → Toast-pkSkNuZo.js} +14 -10
- package/dist/cjs/chunks/{ToggleButton-BEw8y4n6.js → ToggleButton-DPc2x2EV.js} +1 -1
- package/dist/cjs/chunks/{UploadArea-cmzfjkdq.js → UploadArea-DyVGwChS.js} +8 -4
- package/dist/cjs/chunks/{Video-Cqyh2uqE.js → Video-Dh-_ouTP.js} +3 -3
- package/dist/cjs/chunks/{VideoController-cgbR4TCM.js → VideoController-CVm1CtaE.js} +6 -6
- package/dist/cjs/chunks/{WSConnection-lb-L_wl2.js → WSConnection-CDWOkk8n.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-C9wlDCWJ.js → WebRTCConnection-b8jZNRYr.js} +1 -1
- package/dist/cjs/chunks/{_types-xGDmxITu.js → _types-DxINS-ge.js} +2 -1
- package/dist/cjs/chunks/{browserChannelsStore-DzmDF2aJ.js → browserChannelsStore-PGtTaJyY.js} +2 -2
- package/dist/cjs/chunks/{localDBStore-Bo66OkHk.js → localDBStore-BRd0iQuq.js} +2 -2
- package/dist/cjs/chunks/{microphoneStore-D0ussh7L.js → microphoneStore-DljI0Zpj.js} +1 -1
- package/dist/cjs/chunks/{misc-DzYz4zh5.js → misc-BallZ366.js} +1 -1
- package/dist/cjs/chunks/{sseStore-B-0NYziZ.js → sseStore-cSWpKohM.js} +3 -3
- package/dist/cjs/chunks/{uploads-worker-wiEYAP3-.js → uploads-worker-DzrC-YiR.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-DiER7z5_.js → uploadsStore-BajO-auR.js} +2 -2
- package/dist/cjs/chunks/{viewState-ktYEaZW2.js → viewState-BVtEQ4sR.js} +8 -8
- package/dist/cjs/chunks/{volumeStore-Dez02JPh.js → volumeStore-DzgmrI6q.js} +1 -1
- package/dist/cjs/chunks/{webRTCStore-CAt0Ly4R.js → webRTCStore-BXHg9abP.js} +2 -2
- package/dist/cjs/chunks/{windowStore-BYkEn0kO.js → windowStore-DpNMptuw.js} +1 -1
- package/dist/cjs/components/AudioBubble/index.js +6 -6
- package/dist/cjs/components/Avatar/index.js +3 -3
- package/dist/cjs/components/AvatarGroup/index.js +3 -3
- package/dist/cjs/components/Badge/index.js +2 -2
- package/dist/cjs/components/Button/index.js +9 -9
- package/dist/cjs/components/ButtonBar/index.js +6 -6
- package/dist/cjs/components/Camera/index.js +8 -8
- package/dist/cjs/components/CheckBox/index.js +6 -6
- package/dist/cjs/components/Chip/index.js +7 -7
- package/dist/cjs/components/DataTable/index.js +7 -7
- package/dist/cjs/components/DivInput/index.js +3 -3
- package/dist/cjs/components/Dot/index.js +2 -2
- package/dist/cjs/components/DraggablePanel/index.js +6 -6
- package/dist/cjs/components/DropDown/index.js +6 -6
- package/dist/cjs/components/ErrorSummary/index.js +6 -6
- package/dist/cjs/components/FileIcon/index.js +6 -6
- package/dist/cjs/components/FileList/index.js +7 -7
- package/dist/cjs/components/FlexDiv/index.js +4 -3
- package/dist/cjs/components/Grouper/index.js +7 -7
- package/dist/cjs/components/Icon/index.js +6 -6
- package/dist/cjs/components/IconButton/index.js +9 -10
- 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 +10 -10
- package/dist/cjs/components/ModalController/index.js +6 -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 +6 -6
- package/dist/cjs/components/PromptInput/index.js +10 -10
- package/dist/cjs/components/RadioButton/index.js +6 -6
- package/dist/cjs/components/RadioButtonList/index.js +7 -7
- package/dist/cjs/components/Slider/index.js +6 -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 +9 -9
- package/dist/cjs/components/TextArea/index.js +10 -10
- package/dist/cjs/components/Textfield/index.js +10 -10
- package/dist/cjs/components/Tip/index.js +3 -3
- package/dist/cjs/components/Toast/index.js +7 -7
- package/dist/cjs/components/ToggleButton/index.js +10 -10
- package/dist/cjs/components/UploadArea/index.js +9 -9
- package/dist/cjs/components/Video/index.js +12 -13
- package/dist/cjs/components/VideoController/index.js +10 -10
- 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/useInfiniteScroll.js +1 -1
- 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/providers/themeServer.test.js +137 -78
- 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/activeTab.js +1 -1
- 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 +5 -5
- package/dist/cjs/theme/themes.js +13 -2
- package/dist/cjs/theme.js +2 -2
- 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-ck1gSxtM.mjs → AudioBubble-B8vlO9fq.mjs} +7 -7
- package/dist/esm/chunks/{Avatar-vhBRrvQP.mjs → Avatar-BMHnrzr3.mjs} +3 -3
- package/dist/esm/chunks/{AvatarGroup-DDPn1trz.mjs → AvatarGroup-BoBXPEbH.mjs} +2 -2
- package/dist/esm/chunks/{Badge-CntS4K1P.mjs → Badge-C7xDwrvC.mjs} +1 -1
- package/dist/esm/chunks/{Button-DVVXYB5E.mjs → Button-C6sTA1hG.mjs} +10 -11
- package/dist/esm/chunks/{ButtonBar-NduUKEhd.mjs → ButtonBar-Bh3-UpMU.mjs} +3 -3
- package/dist/esm/chunks/{Camera-Cofsfiqg.mjs → Camera-BXSLetAD.mjs} +9 -9
- package/dist/esm/chunks/{CheckBox-Du4u1Eva.mjs → CheckBox-DkXJwLeU.mjs} +3 -3
- package/dist/esm/chunks/{Chip-stmVXz5P.mjs → Chip-XTbAoiHl.mjs} +10 -8
- package/dist/esm/chunks/{DivInput-CGAqMs0y.mjs → DivInput-TsyOx4x2.mjs} +3 -3
- package/dist/esm/chunks/{Dot-CExdhu0z.mjs → Dot-D0NtTwqi.mjs} +2 -2
- package/dist/esm/chunks/{DrggablePanel-CCZWzCE4.mjs → DrggablePanel-BK9ukIbF.mjs} +10 -8
- package/dist/esm/chunks/{DropDown-REkWym1V.mjs → DropDown-F7yIB6EJ.mjs} +6 -6
- package/dist/esm/chunks/{ErrorSummary-CnApLAG8.mjs → ErrorSummary-SseJ5z1U.mjs} +7 -7
- package/dist/esm/chunks/{FileIcon-CJa41GGE.mjs → FileIcon-B7_cbtHF.mjs} +6 -6
- package/dist/esm/chunks/{FileList-CtPtwFg0.mjs → FileList-Bv9yn2QS.mjs} +10 -9
- package/dist/esm/chunks/{FlexDiv-DfCUyRsq.mjs → FlexDiv-3OxQ9y_1.mjs} +6 -4
- package/dist/esm/chunks/{Grouper-C2ekOKk-.mjs → Grouper-BcrjlgM-.mjs} +7 -7
- package/dist/esm/chunks/{Icon-DYv9sj3v.mjs → Icon-He4S-Q8N.mjs} +13 -8
- package/dist/esm/chunks/{IconButton-DUz8Pz1Z.mjs → IconButton-BGL-_8VW.mjs} +8 -6
- package/dist/esm/chunks/{IndexedDB-CO2IHWQq.mjs → IndexedDB-CB92RX6-.mjs} +1 -1
- package/dist/esm/chunks/{Label-osW2bH9O.mjs → Label-BouM6sY2.mjs} +6 -3
- package/dist/esm/chunks/{Level-DbvGSfLq.mjs → Level-CTkhQuiZ.mjs} +4 -4
- package/dist/esm/chunks/{Modal-Be3CsAWQ.mjs → Modal-BnbUOsKH.mjs} +7 -7
- package/dist/esm/chunks/{ModalController-DcZ5fgr-.mjs → ModalController-Dk2VZcXW.mjs} +5 -5
- package/dist/esm/chunks/{Overlay-B8l0rD6j.mjs → Overlay-D5cMQSvL.mjs} +1 -1
- package/dist/esm/chunks/{Pager-BkWiP2if.mjs → Pager-4-2T_ZbJ.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-DPfGlu5w.mjs → ProgressIndicator-DBf_bLtr.mjs} +7 -7
- package/dist/esm/chunks/{PromptInput-Dn2jmUeX.mjs → PromptInput-I10dUhFO.mjs} +12 -13
- package/dist/esm/chunks/{RadioButton-DsZpFQlj.mjs → RadioButton-ZD7w9pql.mjs} +5 -5
- package/dist/esm/chunks/{RadioButtonList-3SGXzY-l.mjs → RadioButtonList-h2_5VM4X.mjs} +3 -3
- package/dist/esm/chunks/{Slider-bAlRcnr5.mjs → Slider-2Q6yVb8H.mjs} +7 -7
- package/dist/esm/chunks/Spacer-Rj8PKnt3.mjs +28 -0
- package/dist/esm/chunks/{Switch-YtBkB2gF.mjs → Switch-C4zkPOMU.mjs} +4 -4
- package/dist/esm/chunks/{TabBar-Bk1kOBSG.mjs → TabBar-bYgmIa-q.mjs} +14 -14
- package/dist/esm/chunks/{TextArea-DYim_fwG.mjs → TextArea-BS0Iu1RB.mjs} +6 -4
- package/dist/esm/chunks/{TextField-CuUvgXoc.mjs → TextField-BT1quQpj.mjs} +17 -22
- package/dist/esm/chunks/{Tip-CO5yFUi-.mjs → Tip-B4Tg6gIC.mjs} +4 -4
- package/dist/esm/chunks/{Toast-jV_6b03p.mjs → Toast-DWHhX64K.mjs} +14 -12
- package/dist/esm/chunks/{ToggleButton-CZbTyzZ7.mjs → ToggleButton-KAplYW5q.mjs} +2 -2
- package/dist/esm/chunks/{UploadArea-BjSr0-kl.mjs → UploadArea-D_ytxxSf.mjs} +11 -7
- package/dist/esm/chunks/{Video-D5owl4GM.mjs → Video-BHSzz3Wx.mjs} +10 -8
- package/dist/esm/chunks/{VideoController-BMm4f486.mjs → VideoController-D9ihYFYq.mjs} +10 -10
- package/dist/esm/chunks/{WSConnection-BkG6pECQ.mjs → WSConnection-BENe51Ue.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-BMc3ILmW.mjs → WebRTCConnection-Cwx1C6Ta.mjs} +1 -1
- package/dist/esm/chunks/{_types-DBTuETEQ.mjs → _types-FIe85AYv.mjs} +2 -1
- package/dist/esm/chunks/{browserChannelsStore-BBnRAxaL.mjs → browserChannelsStore-oGeBSxAT.mjs} +2 -2
- package/dist/esm/chunks/{localDBStore-ChLj2J2R.mjs → localDBStore-ZwQD3ino.mjs} +3 -3
- package/dist/esm/chunks/{microphoneStore-CKLPc5zm.mjs → microphoneStore-D8VxjdFZ.mjs} +1 -1
- package/dist/esm/chunks/{misc-Vjo15VLp.mjs → misc-DBIXjc2Q.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-C0XwLPfn.mjs → sseStore-CZqJmpUR.mjs} +3 -3
- package/dist/esm/chunks/{uploads-worker-DV0Cm3VQ.mjs → uploads-worker-DuyqBeHz.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-DyYma52Z.mjs → uploadsStore-D9Ftk4Ke.mjs} +1 -1
- package/dist/esm/chunks/{viewState-y3yZZZDC.mjs → viewState-BdLOLJlv.mjs} +11 -11
- package/dist/esm/chunks/{volumeStore-CicDxCvO.mjs → volumeStore-hrteUkB-.mjs} +1 -1
- package/dist/esm/chunks/{webRTCStore-Dr5M8DFU.mjs → webRTCStore-B2ri-_li.mjs} +3 -3
- package/dist/esm/chunks/{windowStore-OW9W5zAw.mjs → windowStore-DIdy_IoC.mjs} +1 -1
- package/dist/esm/components/AudioBubble/index.mjs +9 -9
- 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 +13 -13
- package/dist/esm/components/ButtonBar/index.mjs +9 -9
- package/dist/esm/components/Camera/index.mjs +11 -11
- package/dist/esm/components/CheckBox/index.mjs +9 -9
- package/dist/esm/components/Chip/index.mjs +10 -10
- package/dist/esm/components/DataTable/index.mjs +10 -10
- 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 +8 -8
- package/dist/esm/components/DropDown/index.mjs +9 -9
- package/dist/esm/components/ErrorSummary/index.mjs +8 -8
- package/dist/esm/components/FileIcon/index.mjs +8 -8
- package/dist/esm/components/FileList/index.mjs +11 -11
- package/dist/esm/components/FlexDiv/index.mjs +4 -2
- package/dist/esm/components/Grouper/index.mjs +10 -10
- package/dist/esm/components/Icon/index.mjs +9 -9
- package/dist/esm/components/IconButton/index.mjs +13 -13
- 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 +15 -15
- package/dist/esm/components/ModalController/index.mjs +9 -9
- 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 +9 -9
- package/dist/esm/components/PromptInput/index.mjs +16 -16
- package/dist/esm/components/RadioButton/index.mjs +9 -9
- package/dist/esm/components/RadioButtonList/index.mjs +10 -10
- package/dist/esm/components/Slider/index.mjs +9 -9
- package/dist/esm/components/Spacer/index.mjs +2 -2
- package/dist/esm/components/Switch/index.mjs +2 -2
- package/dist/esm/components/TabBar/index.mjs +13 -13
- package/dist/esm/components/TextArea/index.mjs +15 -15
- package/dist/esm/components/Textfield/index.mjs +15 -15
- package/dist/esm/components/Tip/index.mjs +3 -3
- package/dist/esm/components/Toast/index.mjs +10 -10
- package/dist/esm/components/ToggleButton/index.mjs +15 -15
- package/dist/esm/components/UploadArea/index.mjs +14 -14
- package/dist/esm/components/Video/index.mjs +20 -20
- package/dist/esm/components/VideoController/index.mjs +15 -15
- 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/useInfiniteScroll.mjs +1 -1
- 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/providers/themeServer.test.mjs +137 -78
- 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/activeTab.mjs +1 -1
- 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 +19 -19
- package/dist/esm/theme/themes.mjs +13 -2
- package/dist/esm/theme.mjs +1 -1
- 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 +1814 -1797
- 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/DivInput/_types.d.ts +2 -2
- package/dist/types/components/DraggablePanel/DrggablePanel.d.ts +1 -1
- package/dist/types/components/DropDown/_types.d.ts +1 -1
- package/dist/types/components/FlexDiv/FlexDiv.d.ts +2 -2
- package/dist/types/components/FlexDiv/_types.d.ts +1 -1
- package/dist/types/components/Icon/_types.d.ts +1 -0
- package/dist/types/components/IconButton/_types.d.ts +1 -1
- package/dist/types/components/Label/_types.d.ts +1 -1
- package/dist/types/components/PromptInput/PromptInput.d.ts +2 -2
- package/dist/types/components/PromptInput/_types.d.ts +1 -1
- package/dist/types/components/Spacer/_types.d.ts +2 -1
- package/dist/types/components/TextArea/_types.d.ts +1 -1
- package/dist/types/components/Tip/_types.d.ts +2 -2
- package/dist/types/theme/index.d.ts +2 -0
- package/dist/types/theme/spacing/_types.d.ts +10 -0
- package/dist/types/theme/spacing/spacing.d.ts +2 -0
- package/dist/types/theme/themes.d.ts +2 -0
- package/package.json +25 -19
- package/dist/cjs/chunks/Spacer-ByFg1uI8.js +0 -19
- package/dist/esm/chunks/Spacer-Dw1R_QS-.mjs +0 -21
- /package/dist/cjs/chunks/{MdStreamBuffer-pKVX0tZt.js → MdStreamBuffer-DiL2zm2P.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-cJuY1bye.js → SSEConnection-CTxnFASS.js} +0 -0
- /package/dist/cjs/chunks/{activeTabStore-DIGbK-zT.js → activeTabStore-C8afog5l.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-CLqdv2K-.js → audioVisualizer-C74sRH6D.js} +0 -0
- /package/dist/cjs/chunks/{broadcastChannel-Bf-u0RnC.js → broadcastChannel-DLSijpj_.js} +0 -0
- /package/dist/cjs/chunks/{colors-Yb-BONG0.js → colors-BDwwQ2Y3.js} +0 -0
- /package/dist/cjs/chunks/{debounce-B1046f-_.js → debounce-Bi3gt_i6.js} +0 -0
- /package/dist/cjs/chunks/{magic-string.es-CR7TWHhS.js → magic-string.es-DRDyITUv.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-DwgyWAOV.js → modalStore-BexwvT-T.js} +0 -0
- /package/dist/cjs/chunks/{rafThrottle-68q3wWGh.js → rafThrottle-DdNEpMIw.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-CKKHnYKP.js → sharedTypes-XAbs742N.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-CZDr2c8Z.js → tipStore-BKFK6F3e.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-CJJRSAs2.js → toastStore-Bwus7v5O.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-CxZHzsEo.js → tslib.es6-B2uEaXWi.js} +0 -0
- /package/dist/cjs/chunks/{videoStore-CG5H5-lr.js → videoStore-BYmE3fJZ.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-ZUWjyTTg.mjs → MdStreamBuffer-D2Yh0SCY.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-3DCZcriT.mjs → SSEConnection-B3iPwyF_.mjs} +0 -0
- /package/dist/esm/chunks/{activeTabStore-DR2HKd1h.mjs → activeTabStore-BsoH1tFV.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-BxszDYyy.mjs → audioVisualizer-BiB7Hun_.mjs} +0 -0
- /package/dist/esm/chunks/{broadcastChannel-_Q346Oc1.mjs → broadcastChannel-DahousoM.mjs} +0 -0
- /package/dist/esm/chunks/{colors-Cpt08T7U.mjs → colors-DAIBQReF.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-D_IO1tKP.mjs → debounce-BPsURiHk.mjs} +0 -0
- /package/dist/esm/chunks/{magic-string.es-LOpujL9L.mjs → magic-string.es-DOKITkor.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-CMO5OJNA.mjs → modalStore-GWNWh1tE.mjs} +0 -0
- /package/dist/esm/chunks/{rafThrottle-BMAGudCU.mjs → rafThrottle-BX9f7-D1.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-DRYdKvBH.mjs → sharedTypes-DdC4rvjp.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-C2MdlITu.mjs → tipStore-CF42G3w9.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-bClN8hti.mjs → toastStore-CRMyZAzS.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-UNsbHCvA.mjs → tslib.es6-DatKI43-.mjs} +0 -0
- /package/dist/esm/chunks/{videoStore-DbLjS_2T.mjs → videoStore-CiDDAB4E.mjs} +0 -0
|
@@ -17,7 +17,7 @@ export declare const Button: React.NamedExoticComponent<Omit<React.ButtonHTMLAtt
|
|
|
17
17
|
round?: boolean;
|
|
18
18
|
tooltip?: string;
|
|
19
19
|
iconSize?: number;
|
|
20
|
-
borderRadius?: number;
|
|
20
|
+
borderRadius?: number | string;
|
|
21
21
|
iconColor?: string;
|
|
22
22
|
backgroundColor?: string;
|
|
23
23
|
backgroundColorDisabled?: string;
|
|
@@ -56,7 +56,7 @@ export declare const Button: React.NamedExoticComponent<Omit<React.ButtonHTMLAtt
|
|
|
56
56
|
round?: boolean;
|
|
57
57
|
tooltip?: string;
|
|
58
58
|
iconSize?: number;
|
|
59
|
-
borderRadius?: number;
|
|
59
|
+
borderRadius?: number | string;
|
|
60
60
|
iconColor?: string;
|
|
61
61
|
backgroundColor?: string;
|
|
62
62
|
backgroundColorDisabled?: string;
|
|
@@ -16,8 +16,8 @@ type DivInputBaseProps = {
|
|
|
16
16
|
textAlign?: 'left' | 'center' | 'right';
|
|
17
17
|
clamp?: number;
|
|
18
18
|
padding?: string;
|
|
19
|
-
borderRadius?: number;
|
|
20
|
-
radius?: number;
|
|
19
|
+
borderRadius?: number | string;
|
|
20
|
+
radius?: number | string;
|
|
21
21
|
backgroundColor?: string;
|
|
22
22
|
};
|
|
23
23
|
export type DivInputProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof DivInputBaseProps> & DivInputBaseProps;
|
|
@@ -46,7 +46,7 @@ export declare const DraggablePanel: React.MemoExoticComponent<(props: Draggable
|
|
|
46
46
|
export type DragHandleProps = {
|
|
47
47
|
width?: number;
|
|
48
48
|
height?: number;
|
|
49
|
-
radius?: number;
|
|
49
|
+
radius?: number | string;
|
|
50
50
|
stroke?: number;
|
|
51
51
|
strokeColor?: string;
|
|
52
52
|
color?: string;
|
|
@@ -27,7 +27,7 @@ export declare const FlexDiv: React.NamedExoticComponent<Omit<React.HTMLAttribut
|
|
|
27
27
|
transition?: import("motion-dom").Transition;
|
|
28
28
|
variants?: any;
|
|
29
29
|
gap?: number;
|
|
30
|
-
borderRadius?: number;
|
|
30
|
+
borderRadius?: number | string;
|
|
31
31
|
scrollHandle?: string;
|
|
32
32
|
scrollHandleHover?: string;
|
|
33
33
|
}> & {
|
|
@@ -58,7 +58,7 @@ export declare const FlexDiv: React.NamedExoticComponent<Omit<React.HTMLAttribut
|
|
|
58
58
|
transition?: import("motion-dom").Transition;
|
|
59
59
|
variants?: any;
|
|
60
60
|
gap?: number;
|
|
61
|
-
borderRadius?: number;
|
|
61
|
+
borderRadius?: number | string;
|
|
62
62
|
scrollHandle?: string;
|
|
63
63
|
scrollHandleHover?: string;
|
|
64
64
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -75,7 +75,7 @@ type IconButtonBaseProps = {
|
|
|
75
75
|
initial?: string;
|
|
76
76
|
animate?: string;
|
|
77
77
|
exit?: string;
|
|
78
|
-
borderRadius?: number;
|
|
78
|
+
borderRadius?: number | string;
|
|
79
79
|
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
80
80
|
onToolTip?: (tip: ToolTip | null) => void;
|
|
81
81
|
buttonSize?: 's' | 'm' | 'l' | 'xl';
|
|
@@ -14,7 +14,7 @@ export declare const PromptInput: React.NamedExoticComponent<Omit<React.HTMLAttr
|
|
|
14
14
|
borderColor?: string | number;
|
|
15
15
|
borderColorOn?: string | number;
|
|
16
16
|
borderAnimate?: boolean;
|
|
17
|
-
borderRadius?: number;
|
|
17
|
+
borderRadius?: number | string;
|
|
18
18
|
placeholder?: string;
|
|
19
19
|
placeholderWorking?: string;
|
|
20
20
|
focused?: boolean;
|
|
@@ -48,7 +48,7 @@ export declare const PromptInput: React.NamedExoticComponent<Omit<React.HTMLAttr
|
|
|
48
48
|
borderColor?: string | number;
|
|
49
49
|
borderColorOn?: string | number;
|
|
50
50
|
borderAnimate?: boolean;
|
|
51
|
-
borderRadius?: number;
|
|
51
|
+
borderRadius?: number | string;
|
|
52
52
|
placeholder?: string;
|
|
53
53
|
placeholderWorking?: string;
|
|
54
54
|
focused?: boolean;
|
|
@@ -14,7 +14,7 @@ type BasePromptProps = {
|
|
|
14
14
|
borderColor?: string | number;
|
|
15
15
|
borderColorOn?: string | number;
|
|
16
16
|
borderAnimate?: boolean;
|
|
17
|
-
borderRadius?: number;
|
|
17
|
+
borderRadius?: number | string;
|
|
18
18
|
placeholder?: string;
|
|
19
19
|
placeholderWorking?: string;
|
|
20
20
|
focused?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
+
import type { SpacingGrid } from '../../theme/spacing/_types';
|
|
2
3
|
type SpacerBaseProps = {
|
|
3
|
-
size?:
|
|
4
|
+
size?: keyof SpacingGrid;
|
|
4
5
|
};
|
|
5
6
|
export type SpacerProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof SpacerBaseProps> & SpacerBaseProps;
|
|
6
7
|
export {};
|
|
@@ -4,6 +4,8 @@ export type { Type } from './type/types';
|
|
|
4
4
|
export type { Corners } from './corners/types';
|
|
5
5
|
export type { Elevations } from './elevations/_types';
|
|
6
6
|
export type { SliceMotion } from './motion/_types';
|
|
7
|
+
export type { SpacingGrid } from './spacing/_types';
|
|
7
8
|
export { light, dark } from './colors/colors';
|
|
8
9
|
export { elevations, elevations as Elevation } from './elevations/elevations';
|
|
9
10
|
export { motion } from './motion/motion';
|
|
11
|
+
export { spacing } from './spacing/spacing';
|
|
@@ -2,6 +2,7 @@ import type { Colors, CoreColors } from './colors/types';
|
|
|
2
2
|
import type { Corners } from './corners/types';
|
|
3
3
|
import type { Elevations } from './elevations/_types';
|
|
4
4
|
import type { SliceMotion } from './motion/_types';
|
|
5
|
+
import type { SpacingGrid } from './spacing/_types';
|
|
5
6
|
import type { Type } from './type/types';
|
|
6
7
|
export type SliceTheme = {
|
|
7
8
|
name: string;
|
|
@@ -10,6 +11,7 @@ export type SliceTheme = {
|
|
|
10
11
|
type: Type;
|
|
11
12
|
corners: Corners;
|
|
12
13
|
elevations: Elevations;
|
|
14
|
+
spacing: SpacingGrid;
|
|
13
15
|
motion: SliceMotion;
|
|
14
16
|
};
|
|
15
17
|
export declare const lightTheme: SliceTheme;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apple-pie/slice",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.59",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -100,12 +100,13 @@
|
|
|
100
100
|
"files": ["dist", "README.md", "scripts/copy-assets.mjs"],
|
|
101
101
|
"sideEffects": ["**/*.css"],
|
|
102
102
|
"scripts": {
|
|
103
|
-
"lint": "biome format --write . && biome check .",
|
|
104
|
-
"lint:fix": "biome format --write . && biome check --write .",
|
|
105
|
-
"lint:ci": "biome ci .",
|
|
103
|
+
"lint": "biome format --write . && biome check . && npm run typecheck",
|
|
104
|
+
"lint:fix": "biome format --write . && biome check --write . && npm run typecheck",
|
|
105
|
+
"lint:ci": "biome ci . && npm run typecheck",
|
|
106
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
106
107
|
"format": "biome format --write .",
|
|
107
|
-
"test": "vitest",
|
|
108
|
-
"test:ui": "vitest --ui",
|
|
108
|
+
"test": "vitest --project unit --project storybook",
|
|
109
|
+
"test:ui": "vitest --ui --project unit --project storybook",
|
|
109
110
|
"benchmark": "vitest run --project benchmarks benchmarks/run-with-report.bench.ts",
|
|
110
111
|
"benchmark:raw": "vitest bench --project benchmarks --run",
|
|
111
112
|
"benchmark:watch": "vitest bench --project benchmarks",
|
|
@@ -137,12 +138,12 @@
|
|
|
137
138
|
"@rollup/plugin-terser": "^1.0.0",
|
|
138
139
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
139
140
|
"@rollup/plugin-url": "^8.0.2",
|
|
140
|
-
"@storybook/addon-a11y": "^10.
|
|
141
|
-
"@storybook/addon-docs": "^10.
|
|
142
|
-
"@storybook/addon-onboarding": "^10.
|
|
143
|
-
"@storybook/addon-vitest": "^10.
|
|
144
|
-
"@storybook/react": "^10.
|
|
145
|
-
"@storybook/react-vite": "^10.
|
|
141
|
+
"@storybook/addon-a11y": "^10.6.3",
|
|
142
|
+
"@storybook/addon-docs": "^10.6.3",
|
|
143
|
+
"@storybook/addon-onboarding": "^10.6.3",
|
|
144
|
+
"@storybook/addon-vitest": "^10.6.3",
|
|
145
|
+
"@storybook/react": "^10.6.3",
|
|
146
|
+
"@storybook/react-vite": "^10.6.3",
|
|
146
147
|
"@svgr/rollup": "^8.1.0",
|
|
147
148
|
"@testing-library/react": "^16.3.2",
|
|
148
149
|
"@testing-library/user-event": "^14.6.1",
|
|
@@ -150,16 +151,16 @@
|
|
|
150
151
|
"@types/react": "^19.0.7",
|
|
151
152
|
"@types/react-dom": "^19.0.3",
|
|
152
153
|
"@vitejs/plugin-react": "^4.3.4",
|
|
153
|
-
"@vitest/browser-playwright": "^4.
|
|
154
|
-
"@vitest/coverage-v8": "^4.
|
|
155
|
-
"@vitest/ui": "^4.
|
|
154
|
+
"@vitest/browser-playwright": "^4.1.12",
|
|
155
|
+
"@vitest/coverage-v8": "^4.1.12",
|
|
156
|
+
"@vitest/ui": "^4.1.12",
|
|
156
157
|
"fake-indexeddb": "^6.2.5",
|
|
157
|
-
"happy-dom": "^
|
|
158
|
+
"happy-dom": "^21.0.4",
|
|
158
159
|
"jsdom": "^28.1.0",
|
|
159
160
|
"playwright": "^1.58.2",
|
|
160
161
|
"postcss-custom-media": "^11.0.6",
|
|
161
162
|
"postcss-import": "^16.1.1",
|
|
162
|
-
"postcss-nested": "^
|
|
163
|
+
"postcss-nested": "^9.0.0",
|
|
163
164
|
"rollup": "^4.32.0",
|
|
164
165
|
"rollup-plugin-json": "^4.0.0",
|
|
165
166
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
@@ -167,14 +168,19 @@
|
|
|
167
168
|
"rollup-plugin-strip-code": "^0.2.8",
|
|
168
169
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
169
170
|
"rollup-preserve-directives": "^1.1.3",
|
|
170
|
-
"storybook": "^10.
|
|
171
|
+
"storybook": "^10.6.3",
|
|
171
172
|
"tsx": "^4.21.0",
|
|
172
173
|
"typescript": "^5.7.3",
|
|
173
174
|
"vite": "^6.0.11",
|
|
174
175
|
"vite-plugin-svgr": "^4.3.0",
|
|
175
|
-
"vitest": "^4.
|
|
176
|
+
"vitest": "^4.1.12",
|
|
176
177
|
"zustand": "^5.0.0"
|
|
177
178
|
},
|
|
179
|
+
"overrides": {
|
|
180
|
+
"rollup-plugin-postcss": {
|
|
181
|
+
"postcss-selector-parser": "^7.1.6"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
178
184
|
"peerDependencies": {
|
|
179
185
|
"motion": "^11.0.0 || ^12.0.0",
|
|
180
186
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var tslib_es6 = require("./tslib.es6-CxZHzsEo.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react");
|
|
5
|
-
|
|
6
|
-
const Spacer = React.memo(props => {
|
|
7
|
-
const {size: size = 8} = props, divAttributes = tslib_es6.__rest(props, [ "size" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), spacerStyle = React.useMemo(() => ({
|
|
8
|
-
height: size,
|
|
9
|
-
minHeight: size,
|
|
10
|
-
maxHeight: size
|
|
11
|
-
}), [ size ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "";
|
|
12
|
-
return jsxRuntime.jsx("div", Object.assign({
|
|
13
|
-
id: divId,
|
|
14
|
-
className: divClass.trim(),
|
|
15
|
-
style: Object.assign(Object.assign({}, divStyle), spacerStyle)
|
|
16
|
-
}, rest));
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
exports.Spacer = Spacer;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { a as __rest } from "./tslib.es6-UNsbHCvA.mjs";
|
|
3
|
-
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
import React, { useMemo } from "react";
|
|
7
|
-
|
|
8
|
-
const Spacer = React.memo(props => {
|
|
9
|
-
const {size: size = 8} = props, divAttributes = __rest(props, [ "size" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), spacerStyle = useMemo(() => ({
|
|
10
|
-
height: size,
|
|
11
|
-
minHeight: size,
|
|
12
|
-
maxHeight: size
|
|
13
|
-
}), [ size ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "";
|
|
14
|
-
return jsx("div", Object.assign({
|
|
15
|
-
id: divId,
|
|
16
|
-
className: divClass.trim(),
|
|
17
|
-
style: Object.assign(Object.assign({}, divStyle), spacerStyle)
|
|
18
|
-
}, rest));
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
export { Spacer as S };
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|