@apple-pie/slice 0.1.9 → 0.1.11
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/{Avatar-Czt-12Ih.js → Avatar-CUaQ3kN1.js} +5 -5
- package/dist/cjs/chunks/{AvatarGroup-CGH2zY7a.js → AvatarGroup-B3M7o4Hh.js} +23 -20
- package/dist/cjs/chunks/{Button-mVVfNCqC.js → Button-ID8wGXIa.js} +12 -11
- package/dist/cjs/chunks/{ButtonBar-CFAb4bfQ.js → ButtonBar-BZ6sme27.js} +7 -7
- package/dist/cjs/chunks/{Camera-BGV_tNUP.js → Camera-rVC4KI4v.js} +1 -1
- package/dist/cjs/chunks/{CheckBox-DyOgP15i.js → CheckBox-DQRLqTAK.js} +1 -1
- package/dist/cjs/chunks/{Chip-Z8erRdWG.js → Chip-CflUNqhY.js} +11 -10
- package/dist/cjs/chunks/{DivInput-DdZA8S1k.js → DivInput-DrwFMexA.js} +4 -4
- package/dist/cjs/chunks/{DropDown-Ce8aU2va.js → DropDown-C3AZ5b_b.js} +49 -50
- package/dist/cjs/chunks/{ErrorSummary-By4CjJ9a.js → ErrorSummary-BTgAd3sK.js} +47 -25
- package/dist/cjs/chunks/{FileList-CCAtVNDo.js → FileList-BHwBIics.js} +4 -4
- package/dist/cjs/chunks/{Grouper-BbovOSYw.js → Grouper-D4yyHHkM.js} +1 -1
- package/dist/cjs/chunks/{Icon-N0YJuKQf.js → Icon-D1EB8S5r.js} +6 -5
- package/dist/cjs/chunks/{IconButton-BXotgG2u.js → IconButton-B07Ttxbr.js} +11 -11
- package/dist/cjs/chunks/{IndexedDB-BxQn7aHU.js → IndexedDB-BaVmQgkK.js} +12 -10
- package/dist/cjs/chunks/Label-CTzvGcds.js +102 -0
- package/dist/cjs/chunks/{Pager-Da9AqSFN.js → Pager-BN37VYEC.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-CyFcr6Dk.js → ProgressIndicator-BGqIwycX.js} +1 -1
- package/dist/cjs/chunks/{PromptInput-B-Wlfnhx.js → PromptInput-D0aehf9X.js} +1 -1
- package/dist/cjs/chunks/{RadioButton-B8GIKGm-.js → RadioButton-DuIsM4lu.js} +21 -17
- package/dist/cjs/chunks/{RadioButtonList-3o1IvhdC.js → RadioButtonList-bu11ILyw.js} +20 -13
- package/dist/cjs/chunks/{Switch-BiTshVLM.js → Switch-Cbn0ql3B.js} +15 -11
- package/dist/cjs/chunks/{TabBar-DZ2y7owf.js → TabBar-Bcq_n4Mk.js} +8 -8
- package/dist/cjs/chunks/{TextArea-D7E8loob.js → TextArea-CEwhpWXT.js} +17 -24
- package/dist/cjs/chunks/{TextField-BAcYBHb1.js → TextField-Dl9sTcC4.js} +50 -70
- package/dist/cjs/chunks/{Tip-59T3TUN4.js → Tip-BTIo1xG2.js} +7 -6
- package/dist/cjs/chunks/{Toast-skIBuJ3b.js → Toast-CZzAWG0S.js} +1 -1
- package/dist/cjs/chunks/{UploadArea-Bfrwzo4O.js → UploadArea-z9-1YjIV.js} +6 -6
- package/dist/cjs/chunks/localDBStore-zyDhaEiP.js +289 -0
- package/dist/cjs/components/Avatar/index.js +1 -1
- package/dist/cjs/components/AvatarGroup/index.js +2 -2
- package/dist/cjs/components/Button/index.js +3 -3
- package/dist/cjs/components/ButtonBar/index.js +2 -2
- package/dist/cjs/components/Camera/index.js +3 -3
- package/dist/cjs/components/CheckBox/index.js +2 -2
- package/dist/cjs/components/Chip/index.js +2 -2
- package/dist/cjs/components/DivInput/index.js +1 -1
- package/dist/cjs/components/DropDown/index.js +2 -2
- package/dist/cjs/components/ErrorSummary/index.js +6 -2
- package/dist/cjs/components/FileList/index.js +3 -3
- package/dist/cjs/components/Grouper/index.js +2 -2
- package/dist/cjs/components/Icon/index.js +1 -1
- package/dist/cjs/components/IconButton/index.js +2 -2
- package/dist/cjs/components/Label/index.js +7 -5
- package/dist/cjs/components/Pager/index.js +1 -1
- package/dist/cjs/components/Progress/index.js +2 -2
- package/dist/cjs/components/PromptInput/index.js +5 -5
- package/dist/cjs/components/RadioButton/index.js +2 -2
- package/dist/cjs/components/RadioButtonList/index.js +3 -3
- package/dist/cjs/components/Switch/index.js +1 -1
- package/dist/cjs/components/TabBar/index.js +3 -3
- package/dist/cjs/components/TextArea/index.js +4 -4
- package/dist/cjs/components/Textfield/index.js +5 -6
- package/dist/cjs/components/Tip/index.js +1 -1
- package/dist/cjs/components/Toast/index.js +2 -2
- package/dist/cjs/components/UploadArea/index.js +7 -8
- package/dist/cjs/index.js +8 -3
- package/dist/cjs/stores/LocalDB.js +6 -5
- package/dist/cjs/stores.js +7 -7
- package/dist/cjs/utils/index.js +1 -1
- package/dist/cjs/utils/objects/index.js +1 -1
- package/dist/css/flexBox.module.css +85 -0
- package/dist/css/type.module.css +206 -0
- package/dist/esm/chunks/{Avatar-DCCbj2eA.mjs → Avatar-CSLVUF_y.mjs} +5 -5
- package/dist/esm/chunks/{AvatarGroup-BaD2Xmda.mjs → AvatarGroup--ELW-bO1.mjs} +23 -20
- package/dist/esm/chunks/{Button-m0XAJsq5.mjs → Button-D24zg6UY.mjs} +13 -12
- package/dist/esm/chunks/{ButtonBar-CNQHRn77.mjs → ButtonBar-DXK8meQq.mjs} +7 -7
- package/dist/esm/chunks/{Camera-7TuowjX_.mjs → Camera-BqmVsVKy.mjs} +2 -2
- package/dist/esm/chunks/{CheckBox-DO9hTdv8.mjs → CheckBox-BsaYFNC6.mjs} +1 -1
- package/dist/esm/chunks/{Chip-BqneFUOR.mjs → Chip-DdgYV-Ct.mjs} +11 -10
- package/dist/esm/chunks/{DivInput-Ch9XjfWd.mjs → DivInput-B7sawFbK.mjs} +4 -4
- package/dist/esm/chunks/{DropDown-Cvf2d_3u.mjs → DropDown-DOJvg96J.mjs} +48 -51
- package/dist/esm/chunks/{ErrorSummary-S0shes-m.mjs → ErrorSummary-CHLkvdHk.mjs} +52 -27
- package/dist/esm/chunks/{FileList-Ckix8gUY.mjs → FileList-5LElsgoE.mjs} +5 -5
- package/dist/esm/chunks/{Grouper-B_FutfjV.mjs → Grouper-DR14qDXP.mjs} +1 -1
- package/dist/esm/chunks/{Icon-C92f63Ib.mjs → Icon-CUSQtytG.mjs} +6 -5
- package/dist/esm/chunks/{IconButton-4O5S9S9G.mjs → IconButton-DG69Vlhj.mjs} +11 -11
- package/dist/esm/chunks/{IndexedDB-CNOziQ6p.mjs → IndexedDB-CJgzPHPB.mjs} +12 -10
- package/dist/esm/chunks/Label-CRsE7o3D.mjs +115 -0
- package/dist/esm/chunks/{Pager-BlLYeA2F.mjs → Pager-BYT7_mCb.mjs} +1 -1
- package/dist/esm/chunks/{ProgressIndicator-CfM2c4ty.mjs → ProgressIndicator-D7paCpgY.mjs} +1 -1
- package/dist/esm/chunks/{PromptInput-Cmist_vy.mjs → PromptInput-yf2ir2-x.mjs} +3 -3
- package/dist/esm/chunks/{RadioButton-COEnChNW.mjs → RadioButton-B5ZF5oJ_.mjs} +22 -18
- package/dist/esm/chunks/{RadioButtonList-De3rbLQb.mjs → RadioButtonList-D9ZAZgkK.mjs} +22 -13
- package/dist/esm/chunks/{Switch-Cv6LABsW.mjs → Switch-BhCOo5Lu.mjs} +15 -11
- package/dist/esm/chunks/{TabBar-qiozE5zA.mjs → TabBar-BK7OcjPl.mjs} +9 -9
- package/dist/esm/chunks/{TextArea-Ff5hxF1H.mjs → TextArea-CWmzQA0V.mjs} +18 -25
- package/dist/esm/chunks/{TextField-CGOR6507.mjs → TextField-6Aq-AT47.mjs} +54 -72
- package/dist/esm/chunks/{Tip-CroDIKO4.mjs → Tip-DfmcLbBf.mjs} +7 -6
- package/dist/esm/chunks/{Toast-CM493gMR.mjs → Toast-DPHLwDES.mjs} +1 -1
- package/dist/esm/chunks/{UploadArea-6z-mVZs3.mjs → UploadArea-igD1l2Ht.mjs} +9 -9
- package/dist/esm/chunks/localDBStore-B4jkR5Jx.mjs +297 -0
- package/dist/esm/components/Avatar/index.mjs +1 -1
- package/dist/esm/components/AvatarGroup/index.mjs +2 -2
- package/dist/esm/components/Button/index.mjs +3 -3
- package/dist/esm/components/ButtonBar/index.mjs +2 -2
- package/dist/esm/components/Camera/index.mjs +3 -3
- package/dist/esm/components/CheckBox/index.mjs +2 -2
- package/dist/esm/components/Chip/index.mjs +2 -2
- package/dist/esm/components/DivInput/index.mjs +1 -1
- package/dist/esm/components/DropDown/index.mjs +5 -5
- package/dist/esm/components/ErrorSummary/index.mjs +21 -1
- package/dist/esm/components/FileList/index.mjs +3 -3
- package/dist/esm/components/Grouper/index.mjs +2 -2
- package/dist/esm/components/Icon/index.mjs +1 -1
- package/dist/esm/components/IconButton/index.mjs +2 -2
- package/dist/esm/components/Label/index.mjs +1 -19
- package/dist/esm/components/Pager/index.mjs +1 -1
- package/dist/esm/components/Progress/index.mjs +2 -2
- package/dist/esm/components/PromptInput/index.mjs +5 -5
- package/dist/esm/components/RadioButton/index.mjs +2 -2
- package/dist/esm/components/RadioButtonList/index.mjs +4 -4
- package/dist/esm/components/Switch/index.mjs +1 -1
- package/dist/esm/components/TabBar/index.mjs +3 -3
- package/dist/esm/components/TextArea/index.mjs +4 -4
- package/dist/esm/components/Textfield/index.mjs +7 -7
- package/dist/esm/components/Tip/index.mjs +1 -1
- package/dist/esm/components/Toast/index.mjs +2 -2
- package/dist/esm/components/UploadArea/index.mjs +7 -7
- package/dist/esm/index.mjs +27 -27
- package/dist/esm/stores/LocalDB.mjs +6 -2
- package/dist/esm/stores.mjs +6 -2
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/objects/index.mjs +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts +3 -0
- package/dist/types/components/Avatar/_types.d.ts +25 -0
- package/dist/types/components/Avatar/index.d.ts +2 -0
- package/dist/types/components/AvatarGroup/AvatarGroup.d.ts +3 -0
- package/dist/types/components/AvatarGroup/_types.d.ts +28 -0
- package/dist/types/components/AvatarGroup/index.d.ts +2 -0
- package/dist/types/components/Badge/Badge.d.ts +3 -0
- package/dist/types/components/Badge/_types.d.ts +8 -0
- package/dist/types/components/Badge/index.d.ts +2 -0
- package/dist/types/components/Button/Button.d.ts +80 -0
- package/dist/types/components/Button/_types.d.ts +47 -0
- package/dist/types/components/Button/index.d.ts +2 -0
- package/dist/types/components/ButtonBar/ButtonBar.d.ts +17 -0
- package/dist/types/components/ButtonBar/_types.d.ts +31 -0
- package/dist/types/components/ButtonBar/index.d.ts +2 -0
- package/dist/types/components/Camera/Camera.d.ts +11 -0
- package/dist/types/components/Camera/_types.d.ts +79 -0
- package/dist/types/components/Camera/index.d.ts +2 -0
- package/dist/types/components/CheckBox/CheckBox.d.ts +3 -0
- package/dist/types/components/CheckBox/_types.d.ts +11 -0
- package/dist/types/components/CheckBox/index.d.ts +2 -0
- package/dist/types/components/Chip/Chip.d.ts +3 -0
- package/dist/types/components/Chip/_types.d.ts +35 -0
- package/dist/types/components/Chip/index.d.ts +3 -0
- package/dist/types/components/DivInput/DivInput.d.ts +3 -0
- package/dist/types/components/DivInput/_types.d.ts +25 -0
- package/dist/types/components/DivInput/index.d.ts +2 -0
- package/dist/types/components/Dot/Dot.d.ts +3 -0
- package/dist/types/components/Dot/_types.d.ts +19 -0
- package/dist/types/components/Dot/index.d.ts +2 -0
- package/dist/types/components/DraggablePanel/DrggablePanel.d.ts +44 -0
- package/dist/types/components/DraggablePanel/_types.d.ts +5 -0
- package/dist/types/components/DraggablePanel/index.d.ts +1 -0
- package/dist/types/components/DropDown/DropDown.d.ts +3 -0
- package/dist/types/components/DropDown/_types.d.ts +40 -0
- package/dist/types/components/DropDown/index.d.ts +2 -0
- package/dist/types/components/ErrorSummary/ErrorSummary.d.ts +3 -0
- package/dist/types/components/ErrorSummary/_types.d.ts +15 -0
- package/dist/types/components/ErrorSummary/index.d.ts +2 -0
- package/dist/types/components/FileIcon/FileIcon.d.ts +3 -0
- package/dist/types/components/FileIcon/_types.d.ts +27 -0
- package/dist/types/components/FileIcon/fileIconRegistry.d.ts +4 -0
- package/dist/types/components/FileIcon/index.d.ts +3 -0
- package/dist/types/components/FileList/FileList.d.ts +3 -0
- package/dist/types/components/FileList/_types.d.ts +25 -0
- package/dist/types/components/FileList/index.d.ts +2 -0
- package/dist/types/components/FlexDiv/FlexDiv.d.ts +60 -0
- package/dist/types/components/FlexDiv/_types.d.ts +34 -0
- package/dist/types/components/FlexDiv/index.d.ts +2 -0
- package/dist/types/components/Grouper/Grouper.d.ts +3 -0
- package/dist/types/components/Grouper/_types.d.ts +20 -0
- package/dist/types/components/Grouper/index.d.ts +2 -0
- package/dist/types/components/Icon/Icon.d.ts +3 -0
- package/dist/types/components/Icon/_types.d.ts +131 -0
- package/dist/types/components/Icon/iconRegistry.d.ts +17 -0
- package/dist/types/components/Icon/index.d.ts +2 -0
- package/dist/types/components/IconButton/IconButton.d.ts +3 -0
- package/dist/types/components/IconButton/_types.d.ts +37 -0
- package/dist/types/components/IconButton/index.d.ts +2 -0
- package/dist/types/components/Label/Label.d.ts +2 -0
- package/dist/types/components/Label/_types.d.ts +26 -0
- package/dist/types/components/Label/index.d.ts +3 -0
- package/dist/types/components/Overlay/Overlay.d.ts +3 -0
- package/dist/types/components/Overlay/_types.d.ts +12 -0
- package/dist/types/components/Overlay/index.d.ts +2 -0
- package/dist/types/components/Pager/Pager.d.ts +3 -0
- package/dist/types/components/Pager/_types.d.ts +13 -0
- package/dist/types/components/Pager/index.d.ts +2 -0
- package/dist/types/components/Progress/DoneCheck/DoneCheck.d.ts +3 -0
- package/dist/types/components/Progress/DoneCheck/_types.d.ts +13 -0
- package/dist/types/components/Progress/ProgressIndicator/ProgressIndicator.d.ts +3 -0
- package/dist/types/components/Progress/ProgressIndicator/_types.d.ts +14 -0
- package/dist/types/components/Progress/index.d.ts +4 -0
- package/dist/types/components/PromptInput/PromptInput.d.ts +63 -0
- package/dist/types/components/PromptInput/_types.d.ts +35 -0
- package/dist/types/components/PromptInput/index.d.ts +2 -0
- package/dist/types/components/RadioButton/RadioButton.d.ts +3 -0
- package/dist/types/components/RadioButton/_types.d.ts +27 -0
- package/dist/types/components/RadioButton/index.d.ts +2 -0
- package/dist/types/components/RadioButtonList/RadioButtonList.d.ts +3 -0
- package/dist/types/components/RadioButtonList/_types.d.ts +26 -0
- package/dist/types/components/RadioButtonList/index.d.ts +2 -0
- package/dist/types/components/Slider/Slider.d.ts +3 -0
- package/dist/types/components/Slider/_types.d.ts +18 -0
- package/dist/types/components/Slider/index.d.ts +2 -0
- package/dist/types/components/Spacer/Spacer.d.ts +3 -0
- package/dist/types/components/Spacer/_types.d.ts +6 -0
- package/dist/types/components/Spacer/index.d.ts +2 -0
- package/dist/types/components/Switch/Switch.d.ts +3 -0
- package/dist/types/components/Switch/Switch.stories.d.ts +5 -0
- package/dist/types/components/Switch/_types.d.ts +17 -0
- package/dist/types/components/Switch/index.d.ts +2 -0
- package/dist/types/components/TabBar/TabBar.d.ts +3 -0
- package/dist/types/components/TabBar/_types.d.ts +52 -0
- package/dist/types/components/TabBar/index.d.ts +2 -0
- package/dist/types/components/TextArea/TextArea.d.ts +3 -0
- package/dist/types/components/TextArea/_types.d.ts +40 -0
- package/dist/types/components/TextArea/index.d.ts +2 -0
- package/dist/types/components/Textfield/TextField.d.ts +3 -0
- package/dist/types/components/Textfield/_types.d.ts +73 -0
- package/dist/types/components/Textfield/index.d.ts +2 -0
- package/dist/types/components/Tip/Tip.d.ts +3 -0
- package/dist/types/components/Tip/_types.d.ts +31 -0
- package/dist/types/components/Tip/index.d.ts +2 -0
- package/dist/types/components/Toast/Toast.d.ts +3 -0
- package/dist/types/components/Toast/_types.d.ts +24 -0
- package/dist/types/components/Toast/index.d.ts +2 -0
- package/dist/types/components/UploadArea/UploadArea.d.ts +62 -0
- package/dist/types/components/UploadArea/_types.d.ts +50 -0
- package/dist/types/components/UploadArea/index.d.ts +3 -0
- package/dist/types/components/playHelpers.d.ts +35 -0
- package/dist/types/components/sharedTypes.d.ts +21 -0
- package/dist/types/hooks/index.d.ts +9 -0
- package/dist/types/hooks/useDoubleClick/useDoubleClick.d.ts +1 -0
- package/dist/types/hooks/useKeyboardShortcuts/useKeyboardShortcuts.d.ts +9 -0
- package/dist/types/hooks/useLastUpdated/useLastUpdated.d.ts +4 -0
- package/dist/types/hooks/useLocalStore/useLocalStore.d.ts +1 -0
- package/dist/types/hooks/useObserveResize/useObserveResize.d.ts +9 -0
- package/dist/types/hooks/useObserveTheme/useObserveTheme.d.ts +2 -0
- package/dist/types/hooks/useTheme/useTheme.d.ts +47 -0
- package/dist/types/hooks/useToolTip/useToolTip.d.ts +6 -0
- package/dist/types/hooks/useTrackRenders/useTrackRenders.d.ts +5 -0
- package/dist/types/hooks/useWindow/useWindow.d.ts +43 -0
- package/dist/types/index.d.ts +75 -0
- package/dist/types/providers/ThemeProvider.d.ts +13 -0
- package/dist/types/providers/index.d.ts +1 -0
- package/dist/types/stores/LocalDB/_types.d.ts +43 -0
- package/dist/types/stores/LocalDB/index.d.ts +2 -0
- package/dist/types/stores/LocalDB/localDBStore.d.ts +18 -0
- package/dist/types/stores/SSE/_types.d.ts +17 -0
- package/dist/types/stores/SSE/index.d.ts +2 -0
- package/dist/types/stores/SSE/sseStore.d.ts +28 -0
- package/dist/types/stores/WS/_types.d.ts +17 -0
- package/dist/types/stores/WS/index.d.ts +2 -0
- package/dist/types/stores/WS/wsStore.d.ts +19 -0
- package/dist/types/stores/index.d.ts +6 -0
- package/dist/types/stores/tip/_types.d.ts +8 -0
- package/dist/types/stores/tip/index.d.ts +2 -0
- package/dist/types/stores/tip/tipStore.d.ts +12 -0
- package/dist/types/stores/toast/_types.d.ts +14 -0
- package/dist/types/stores/toast/index.d.ts +2 -0
- package/dist/types/stores/toast/toastStore.d.ts +12 -0
- package/dist/types/stores/uploads/_types.d.ts +16 -0
- package/dist/types/stores/uploads/index.d.ts +2 -0
- package/dist/types/stores/uploads/uploadsStore.d.ts +22 -0
- package/dist/types/stores/window/_types.d.ts +33 -0
- package/dist/types/stores/window/index.d.ts +3 -0
- package/dist/types/stores/window/windowStore.d.ts +25 -0
- package/dist/types/theme/colors/colors.d.ts +6 -0
- package/dist/types/theme/colors/types.d.ts +174 -0
- package/dist/types/theme/corners/corners.d.ts +2 -0
- package/dist/types/theme/corners/types.d.ts +10 -0
- package/dist/types/theme/elevations/_types.d.ts +10 -0
- package/dist/types/theme/elevations/elevations.d.ts +5 -0
- package/dist/types/theme/index.d.ts +9 -0
- package/dist/types/theme/motion/_types.d.ts +8 -0
- package/dist/types/theme/motion/motion.d.ts +5 -0
- package/dist/types/theme/themes.d.ts +16 -0
- package/dist/types/theme/type/type.d.ts +5 -0
- package/dist/types/theme/type/types.d.ts +25 -0
- package/dist/types/utils/functions/colors.d.ts +8 -0
- package/dist/types/utils/functions/debounce.d.ts +9 -0
- package/dist/types/utils/functions/files.d.ts +15 -0
- package/dist/types/utils/functions/misc.d.ts +61 -0
- package/dist/types/utils/index.d.ts +5 -0
- package/dist/types/utils/objects/IndexedDB/IndexedDB.d.ts +62 -0
- package/dist/types/utils/objects/SSEConnection/SSEConnection.d.ts +187 -0
- package/dist/types/utils/objects/WSConnection/WSConnection.d.ts +159 -0
- package/dist/types/utils/objects/index.d.ts +6 -0
- package/dist/types/workers/uploads/uploads-worker.d.ts +129 -0
- package/dist/types/workers/uploads/uploads.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/chunks/Label-CZvJbATa.js +0 -118
- package/dist/cjs/chunks/localDBStore-Cl1YFPIe.js +0 -182
- package/dist/esm/chunks/Label-7ezP3eHw.mjs +0 -131
- package/dist/esm/chunks/localDBStore-CbCoeN66.mjs +0 -186
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as TabBar } from "../../chunks/TabBar-
|
|
1
|
+
export { T as TabBar } from "../../chunks/TabBar-BK7OcjPl.mjs";
|
|
2
2
|
|
|
3
3
|
import "../../chunks/tslib.es6-c-7TIv71.mjs";
|
|
4
4
|
|
|
@@ -28,11 +28,11 @@ import "../../chunks/Badge-DyICxZP2.mjs";
|
|
|
28
28
|
|
|
29
29
|
import "../../chunks/style-inject.es-D0BjEaN8.mjs";
|
|
30
30
|
|
|
31
|
-
import "../../chunks/Icon-
|
|
31
|
+
import "../../chunks/Icon-CUSQtytG.mjs";
|
|
32
32
|
|
|
33
33
|
import "../../chunks/misc-N8KLjOXc.mjs";
|
|
34
34
|
|
|
35
|
-
import "../../chunks/IconButton-
|
|
35
|
+
import "../../chunks/IconButton-DG69Vlhj.mjs";
|
|
36
36
|
|
|
37
37
|
import "motion/react";
|
|
38
38
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as TextArea } from "../../chunks/TextArea-
|
|
1
|
+
export { T as TextArea } from "../../chunks/TextArea-CWmzQA0V.mjs";
|
|
2
2
|
|
|
3
3
|
import "../../chunks/tslib.es6-c-7TIv71.mjs";
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
import "react";
|
|
8
8
|
|
|
9
|
-
import "../../chunks/Button-
|
|
9
|
+
import "../../chunks/Button-D24zg6UY.mjs";
|
|
10
10
|
|
|
11
11
|
import "motion/react";
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ import "../../chunks/style-inject.es-D0BjEaN8.mjs";
|
|
|
16
16
|
|
|
17
17
|
import "../../chunks/Dot-CLGwQu-i.mjs";
|
|
18
18
|
|
|
19
|
-
import "../../chunks/Icon-
|
|
19
|
+
import "../../chunks/Icon-CUSQtytG.mjs";
|
|
20
20
|
|
|
21
21
|
import "../../hooks/useTheme.mjs";
|
|
22
22
|
|
|
@@ -38,6 +38,6 @@ import "../../hooks/useWindow.mjs";
|
|
|
38
38
|
|
|
39
39
|
import "../../chunks/misc-N8KLjOXc.mjs";
|
|
40
40
|
|
|
41
|
-
import "../../chunks/ProgressIndicator-
|
|
41
|
+
import "../../chunks/ProgressIndicator-D7paCpgY.mjs";
|
|
42
42
|
|
|
43
43
|
import "../../chunks/sharedTypes-tn9-uJvb.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as TextField } from "../../chunks/TextField-
|
|
1
|
+
export { T as TextField } from "../../chunks/TextField-6Aq-AT47.mjs";
|
|
2
2
|
|
|
3
3
|
import "../../chunks/tslib.es6-c-7TIv71.mjs";
|
|
4
4
|
|
|
@@ -26,7 +26,9 @@ import "../../hooks/useObserveTheme.mjs";
|
|
|
26
26
|
|
|
27
27
|
import "../../hooks/useWindow.mjs";
|
|
28
28
|
|
|
29
|
-
import "../../chunks/
|
|
29
|
+
import "../../chunks/misc-N8KLjOXc.mjs";
|
|
30
|
+
|
|
31
|
+
import "../../chunks/Button-D24zg6UY.mjs";
|
|
30
32
|
|
|
31
33
|
import "../../chunks/Badge-DyICxZP2.mjs";
|
|
32
34
|
|
|
@@ -34,12 +36,10 @@ import "../../chunks/style-inject.es-D0BjEaN8.mjs";
|
|
|
34
36
|
|
|
35
37
|
import "../../chunks/Dot-CLGwQu-i.mjs";
|
|
36
38
|
|
|
37
|
-
import "../../chunks/Icon-
|
|
38
|
-
|
|
39
|
-
import "../../chunks/misc-N8KLjOXc.mjs";
|
|
39
|
+
import "../../chunks/Icon-CUSQtytG.mjs";
|
|
40
40
|
|
|
41
|
-
import "../../chunks/ProgressIndicator-
|
|
41
|
+
import "../../chunks/ProgressIndicator-D7paCpgY.mjs";
|
|
42
42
|
|
|
43
43
|
import "../../chunks/sharedTypes-tn9-uJvb.mjs";
|
|
44
44
|
|
|
45
|
-
import "../../chunks/IconButton-
|
|
45
|
+
import "../../chunks/IconButton-DG69Vlhj.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Toast, a as ToastType } from "../../chunks/Toast-
|
|
1
|
+
export { T as Toast, a as ToastType } from "../../chunks/Toast-DPHLwDES.mjs";
|
|
2
2
|
|
|
3
3
|
import "../../chunks/tslib.es6-c-7TIv71.mjs";
|
|
4
4
|
|
|
@@ -28,6 +28,6 @@ import "../../hooks/useWindow.mjs";
|
|
|
28
28
|
|
|
29
29
|
import "../../chunks/misc-N8KLjOXc.mjs";
|
|
30
30
|
|
|
31
|
-
import "../../chunks/Icon-
|
|
31
|
+
import "../../chunks/Icon-CUSQtytG.mjs";
|
|
32
32
|
|
|
33
33
|
import "../../chunks/style-inject.es-D0BjEaN8.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { U as UploadArea, a as allTypes, b as audioTypes, d as documentTypes, i as imageTypes, t as textTypes, v as videoTypes } from "../../chunks/UploadArea-
|
|
1
|
+
export { U as UploadArea, a as allTypes, b as audioTypes, d as documentTypes, i as imageTypes, t as textTypes, v as videoTypes } from "../../chunks/UploadArea-igD1l2Ht.mjs";
|
|
2
2
|
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
|
|
@@ -8,9 +8,7 @@ import "../../chunks/misc-N8KLjOXc.mjs";
|
|
|
8
8
|
|
|
9
9
|
import "../../chunks/tslib.es6-c-7TIv71.mjs";
|
|
10
10
|
|
|
11
|
-
import "../../chunks/
|
|
12
|
-
|
|
13
|
-
import "../../chunks/FileIcon-ePouoJpT.mjs";
|
|
11
|
+
import "../../chunks/Icon-CUSQtytG.mjs";
|
|
14
12
|
|
|
15
13
|
import "../../hooks/useTheme.mjs";
|
|
16
14
|
|
|
@@ -30,10 +28,12 @@ import "../../hooks/useObserveTheme.mjs";
|
|
|
30
28
|
|
|
31
29
|
import "../../hooks/useWindow.mjs";
|
|
32
30
|
|
|
33
|
-
import "../../chunks/Icon-C92f63Ib.mjs";
|
|
34
|
-
|
|
35
31
|
import "../../chunks/style-inject.es-D0BjEaN8.mjs";
|
|
36
32
|
|
|
37
|
-
import "../../chunks/ProgressIndicator-
|
|
33
|
+
import "../../chunks/ProgressIndicator-D7paCpgY.mjs";
|
|
38
34
|
|
|
39
35
|
import "motion/react";
|
|
36
|
+
|
|
37
|
+
import "../../chunks/FileList-5LElsgoE.mjs";
|
|
38
|
+
|
|
39
|
+
import "../../chunks/FileIcon-ePouoJpT.mjs";
|
package/dist/esm/index.mjs
CHANGED
|
@@ -26,77 +26,77 @@ export { useWindow } from "./hooks/useWindow.mjs";
|
|
|
26
26
|
|
|
27
27
|
export { useObserveResize } from "./hooks/useObserveResize.mjs";
|
|
28
28
|
|
|
29
|
-
export { A as Avatar } from "./chunks/Avatar-
|
|
29
|
+
export { A as Avatar } from "./chunks/Avatar-CSLVUF_y.mjs";
|
|
30
30
|
|
|
31
|
-
export { A as AvatarGroup } from "./chunks/AvatarGroup-
|
|
31
|
+
export { A as AvatarGroup } from "./chunks/AvatarGroup--ELW-bO1.mjs";
|
|
32
32
|
|
|
33
33
|
export { B as Badge } from "./chunks/Badge-DyICxZP2.mjs";
|
|
34
34
|
|
|
35
|
-
export { I as IconButton } from "./chunks/IconButton-
|
|
35
|
+
export { I as IconButton } from "./chunks/IconButton-DG69Vlhj.mjs";
|
|
36
36
|
|
|
37
|
-
export { C as Camera } from "./chunks/Camera-
|
|
37
|
+
export { C as Camera } from "./chunks/Camera-BqmVsVKy.mjs";
|
|
38
38
|
|
|
39
|
-
export { C as CheckBox } from "./chunks/CheckBox-
|
|
39
|
+
export { C as CheckBox } from "./chunks/CheckBox-BsaYFNC6.mjs";
|
|
40
40
|
|
|
41
|
-
export { D as DivInput } from "./chunks/DivInput-
|
|
41
|
+
export { D as DivInput } from "./chunks/DivInput-B7sawFbK.mjs";
|
|
42
42
|
|
|
43
43
|
export { D as Dot } from "./chunks/Dot-CLGwQu-i.mjs";
|
|
44
44
|
|
|
45
45
|
export { D as DraggablePanel } from "./chunks/DrggablePanel-Ddi0vPRp.mjs";
|
|
46
46
|
|
|
47
|
-
export { D as DropDown } from "./chunks/DropDown-
|
|
47
|
+
export { D as DropDown } from "./chunks/DropDown-DOJvg96J.mjs";
|
|
48
48
|
|
|
49
|
-
export { E as ErrorSummary } from "./chunks/ErrorSummary-
|
|
49
|
+
export { E as ErrorSummary } from "./chunks/ErrorSummary-CHLkvdHk.mjs";
|
|
50
50
|
|
|
51
|
-
export { G as Grouper } from "./chunks/Grouper-
|
|
51
|
+
export { G as Grouper } from "./chunks/Grouper-DR14qDXP.mjs";
|
|
52
52
|
|
|
53
53
|
export { O as Overlay } from "./chunks/Overlay-TOzZXnwF.mjs";
|
|
54
54
|
|
|
55
55
|
export { F as FlexDiv } from "./chunks/FlexDiv-LGEGGrT0.mjs";
|
|
56
56
|
|
|
57
|
-
export { P as Pager } from "./chunks/Pager-
|
|
57
|
+
export { P as Pager } from "./chunks/Pager-BYT7_mCb.mjs";
|
|
58
58
|
|
|
59
|
-
export { P as PromptInput } from "./chunks/PromptInput-
|
|
59
|
+
export { P as PromptInput } from "./chunks/PromptInput-yf2ir2-x.mjs";
|
|
60
60
|
|
|
61
|
-
export { D as DoneCheck, P as ProgressIndicator } from "./chunks/ProgressIndicator-
|
|
61
|
+
export { D as DoneCheck, P as ProgressIndicator } from "./chunks/ProgressIndicator-D7paCpgY.mjs";
|
|
62
62
|
|
|
63
|
-
export { R as RadioButton } from "./chunks/RadioButton-
|
|
63
|
+
export { R as RadioButton } from "./chunks/RadioButton-B5ZF5oJ_.mjs";
|
|
64
64
|
|
|
65
|
-
export { R as RadioButtonList } from "./chunks/RadioButtonList-
|
|
65
|
+
export { R as RadioButtonList } from "./chunks/RadioButtonList-D9ZAZgkK.mjs";
|
|
66
66
|
|
|
67
67
|
export { S as Slider } from "./chunks/Slider-DL2iuNlh.mjs";
|
|
68
68
|
|
|
69
69
|
export { S as Spacer } from "./chunks/Spacer-BlgEdKEM.mjs";
|
|
70
70
|
|
|
71
|
-
export { S as Switch } from "./chunks/Switch-
|
|
71
|
+
export { S as Switch } from "./chunks/Switch-BhCOo5Lu.mjs";
|
|
72
72
|
|
|
73
|
-
export { T as TabBar } from "./chunks/TabBar-
|
|
73
|
+
export { T as TabBar } from "./chunks/TabBar-BK7OcjPl.mjs";
|
|
74
74
|
|
|
75
|
-
export { T as TextArea } from "./chunks/TextArea-
|
|
75
|
+
export { T as TextArea } from "./chunks/TextArea-CWmzQA0V.mjs";
|
|
76
76
|
|
|
77
|
-
export { T as TextField } from "./chunks/TextField-
|
|
77
|
+
export { T as TextField } from "./chunks/TextField-6Aq-AT47.mjs";
|
|
78
78
|
|
|
79
79
|
export { ThemeProvider } from "./providers/ThemeProvider.mjs";
|
|
80
80
|
|
|
81
|
-
export { T as Tip } from "./chunks/Tip-
|
|
81
|
+
export { T as Tip } from "./chunks/Tip-DfmcLbBf.mjs";
|
|
82
82
|
|
|
83
|
-
export { T as Toast, a as ToastType } from "./chunks/Toast-
|
|
83
|
+
export { T as Toast, a as ToastType } from "./chunks/Toast-DPHLwDES.mjs";
|
|
84
84
|
|
|
85
|
-
export { B as Button } from "./chunks/Button-
|
|
85
|
+
export { B as Button } from "./chunks/Button-D24zg6UY.mjs";
|
|
86
86
|
|
|
87
|
-
export { C as Chip } from "./chunks/Chip-
|
|
87
|
+
export { C as Chip } from "./chunks/Chip-DdgYV-Ct.mjs";
|
|
88
88
|
|
|
89
89
|
export { F as FileIcon, a as FileIconNames } from "./chunks/FileIcon-ePouoJpT.mjs";
|
|
90
90
|
|
|
91
|
-
export { I as Icon } from "./chunks/Icon-
|
|
91
|
+
export { I as Icon } from "./chunks/Icon-CUSQtytG.mjs";
|
|
92
92
|
|
|
93
93
|
export { S as SliceIcons } from "./chunks/_types-C2C2Zwd0.mjs";
|
|
94
94
|
|
|
95
|
-
export { B as ButtonBar } from "./chunks/ButtonBar-
|
|
95
|
+
export { B as ButtonBar } from "./chunks/ButtonBar-DXK8meQq.mjs";
|
|
96
96
|
|
|
97
|
-
export { L as Label } from "./chunks/Label-
|
|
97
|
+
export { L as Label, a as LabelBackground } from "./chunks/Label-CRsE7o3D.mjs";
|
|
98
98
|
|
|
99
|
-
export { U as UploadArea, a as allTypes, b as audioTypes, d as documentTypes, i as imageTypes, t as textTypes, v as videoTypes } from "./chunks/UploadArea-
|
|
99
|
+
export { U as UploadArea, a as allTypes, b as audioTypes, d as documentTypes, i as imageTypes, t as textTypes, v as videoTypes } from "./chunks/UploadArea-igD1l2Ht.mjs";
|
|
100
100
|
|
|
101
101
|
import "./theme/corners.mjs";
|
|
102
102
|
|
|
@@ -116,6 +116,6 @@ import "motion/react";
|
|
|
116
116
|
|
|
117
117
|
import "./chunks/colors-FQ0uNQcW.mjs";
|
|
118
118
|
|
|
119
|
-
import "./chunks/FileList-
|
|
119
|
+
import "./chunks/FileList-5LElsgoE.mjs";
|
|
120
120
|
|
|
121
121
|
import "./chunks/debounce-Bst1jxMS.mjs";
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
export { l as localDBActions, u as useLocalDB, a as useLocalDBError, b as useLocalDBStore, c as useLocalDBValues } from "../chunks/localDBStore-
|
|
1
|
+
export { l as localDBActions, u as useLocalDB, a as useLocalDBError, b as useLocalDBStore, c as useLocalDBValues, d as useManageLocalDB } from "../chunks/localDBStore-B4jkR5Jx.mjs";
|
|
2
2
|
|
|
3
3
|
import "../chunks/tslib.es6-c-7TIv71.mjs";
|
|
4
4
|
|
|
5
|
+
import "react";
|
|
6
|
+
|
|
5
7
|
import "zustand";
|
|
6
8
|
|
|
7
|
-
import "
|
|
9
|
+
import "zustand/react/shallow";
|
|
10
|
+
|
|
11
|
+
import "../chunks/IndexedDB-CJgzPHPB.mjs";
|
package/dist/esm/stores.mjs
CHANGED
|
@@ -6,7 +6,7 @@ export { g as getTip, t as tipActions, u as useTip, a as useTipActions, b as use
|
|
|
6
6
|
|
|
7
7
|
export { g as getToast, t as toastActions, u as useToast, a as useToastActions, b as useToastStore } from "./chunks/toastStore-D2PEIqCo.mjs";
|
|
8
8
|
|
|
9
|
-
export { l as localDBActions, u as useLocalDB, a as useLocalDBError, b as useLocalDBStore, c as useLocalDBValues } from "./chunks/localDBStore-
|
|
9
|
+
export { l as localDBActions, u as useLocalDB, a as useLocalDBError, b as useLocalDBStore, c as useLocalDBValues, d as useManageLocalDB } from "./chunks/localDBStore-B4jkR5Jx.mjs";
|
|
10
10
|
|
|
11
11
|
export { u as useConnectionClose, a as useConnectionMessage, b as useIsConnected, c as useLastSSEMessage, d as useMessage, e as useSSE, f as useSSEActions, g as useSSEStore } from "./chunks/sseStore-2JIpEKfz.mjs";
|
|
12
12
|
|
|
@@ -16,6 +16,10 @@ import "zustand";
|
|
|
16
16
|
|
|
17
17
|
import "./chunks/uploads-worker-Dv-4zGnC.mjs";
|
|
18
18
|
|
|
19
|
-
import "
|
|
19
|
+
import "react";
|
|
20
|
+
|
|
21
|
+
import "zustand/react/shallow";
|
|
22
|
+
|
|
23
|
+
import "./chunks/IndexedDB-CJgzPHPB.mjs";
|
|
20
24
|
|
|
21
25
|
import "./chunks/SSEConnection-DcA3wFsO.mjs";
|
package/dist/esm/utils/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ export { d as debounce } from "../chunks/debounce-Bst1jxMS.mjs";
|
|
|
4
4
|
|
|
5
5
|
export { a as addOpacity, t as tintFromColor } from "../chunks/colors-FQ0uNQcW.mjs";
|
|
6
6
|
|
|
7
|
-
export { I as IndexedDB } from "../chunks/IndexedDB-
|
|
7
|
+
export { I as IndexedDB } from "../chunks/IndexedDB-CJgzPHPB.mjs";
|
|
8
8
|
|
|
9
9
|
export { S as SSEConnection } from "../chunks/SSEConnection-DcA3wFsO.mjs";
|
|
10
10
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ToolTip } from '../sharedTypes';
|
|
3
|
+
export type AvatarBaseProps = {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
frame?: number | string;
|
|
6
|
+
name?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
textColor?: string;
|
|
9
|
+
image?: string;
|
|
10
|
+
color?: string;
|
|
11
|
+
borderWidth?: number;
|
|
12
|
+
borderSize?: number;
|
|
13
|
+
borderColor?: string;
|
|
14
|
+
borderColorHover?: string;
|
|
15
|
+
backgroundColor?: string;
|
|
16
|
+
bgColor?: string;
|
|
17
|
+
fontSize?: number | string;
|
|
18
|
+
onToolTip?: (tip: ToolTip | null) => void;
|
|
19
|
+
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
20
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
21
|
+
tabIndex?: number;
|
|
22
|
+
outerBorderSize?: number;
|
|
23
|
+
outerBorderColor?: string;
|
|
24
|
+
};
|
|
25
|
+
export type AvatarProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof AvatarBaseProps> & AvatarBaseProps;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ToolTip } from '../sharedTypes';
|
|
3
|
+
export type AvatarInfo = {
|
|
4
|
+
first?: string;
|
|
5
|
+
last?: string;
|
|
6
|
+
image?: any;
|
|
7
|
+
avatar?: string;
|
|
8
|
+
email?: string;
|
|
9
|
+
textColor?: string;
|
|
10
|
+
color?: string;
|
|
11
|
+
backgroundColor?: string;
|
|
12
|
+
bgColor?: string;
|
|
13
|
+
};
|
|
14
|
+
export type AvatarGroupBaseProps = {
|
|
15
|
+
avatars?: AvatarInfo[] | null;
|
|
16
|
+
size?: number;
|
|
17
|
+
overlap?: number;
|
|
18
|
+
borderWidth?: number;
|
|
19
|
+
borderSize?: number;
|
|
20
|
+
borderColor?: string;
|
|
21
|
+
borderColorHover?: string;
|
|
22
|
+
gap?: number;
|
|
23
|
+
margin?: number;
|
|
24
|
+
outerBorderSize?: number;
|
|
25
|
+
outerBorderColor?: string;
|
|
26
|
+
onToolTip?: (tip: ToolTip | null) => void;
|
|
27
|
+
};
|
|
28
|
+
export type AvatarGroupProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof AvatarGroupBaseProps> & AvatarGroupBaseProps;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ToolTip } from '../sharedTypes';
|
|
3
|
+
import type { ButtonHandle } from './_types';
|
|
4
|
+
export declare const Button: React.NamedExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
size?: "large" | "medium" | "small";
|
|
7
|
+
variant?: "solid" | "outline" | "text";
|
|
8
|
+
state?: "normal" | "hover" | "disabled";
|
|
9
|
+
width?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
iconRight?: string;
|
|
12
|
+
iconLeft?: string;
|
|
13
|
+
fill?: boolean;
|
|
14
|
+
count?: number;
|
|
15
|
+
showDot?: boolean;
|
|
16
|
+
round?: boolean;
|
|
17
|
+
tooltip?: string;
|
|
18
|
+
iconSize?: number;
|
|
19
|
+
borderRadius?: number;
|
|
20
|
+
iconColor?: string;
|
|
21
|
+
backgroundColor?: string;
|
|
22
|
+
backgroundColorDisabled?: string;
|
|
23
|
+
bgColor?: string;
|
|
24
|
+
bgColorDisabled?: string;
|
|
25
|
+
labelColor?: string;
|
|
26
|
+
labelSize?: "xs" | "s" | "m" | "l";
|
|
27
|
+
transition?: import("framer-motion").Transition;
|
|
28
|
+
variants?: import("framer-motion").Variants;
|
|
29
|
+
initial?: string;
|
|
30
|
+
animate?: string;
|
|
31
|
+
exit?: string;
|
|
32
|
+
underline?: boolean;
|
|
33
|
+
progress?: boolean;
|
|
34
|
+
working?: boolean;
|
|
35
|
+
duration?: number;
|
|
36
|
+
trigger?: boolean;
|
|
37
|
+
destructive?: boolean;
|
|
38
|
+
paddingRight?: number;
|
|
39
|
+
paddingLeft?: number;
|
|
40
|
+
onToolTip?: (tip: ToolTip | null) => void;
|
|
41
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void;
|
|
42
|
+
}> & {
|
|
43
|
+
children?: React.ReactNode;
|
|
44
|
+
size?: "large" | "medium" | "small";
|
|
45
|
+
variant?: "solid" | "outline" | "text";
|
|
46
|
+
state?: "normal" | "hover" | "disabled";
|
|
47
|
+
width?: string;
|
|
48
|
+
label?: string;
|
|
49
|
+
iconRight?: string;
|
|
50
|
+
iconLeft?: string;
|
|
51
|
+
fill?: boolean;
|
|
52
|
+
count?: number;
|
|
53
|
+
showDot?: boolean;
|
|
54
|
+
round?: boolean;
|
|
55
|
+
tooltip?: string;
|
|
56
|
+
iconSize?: number;
|
|
57
|
+
borderRadius?: number;
|
|
58
|
+
iconColor?: string;
|
|
59
|
+
backgroundColor?: string;
|
|
60
|
+
backgroundColorDisabled?: string;
|
|
61
|
+
bgColor?: string;
|
|
62
|
+
bgColorDisabled?: string;
|
|
63
|
+
labelColor?: string;
|
|
64
|
+
labelSize?: "xs" | "s" | "m" | "l";
|
|
65
|
+
transition?: import("framer-motion").Transition;
|
|
66
|
+
variants?: import("framer-motion").Variants;
|
|
67
|
+
initial?: string;
|
|
68
|
+
animate?: string;
|
|
69
|
+
exit?: string;
|
|
70
|
+
underline?: boolean;
|
|
71
|
+
progress?: boolean;
|
|
72
|
+
working?: boolean;
|
|
73
|
+
duration?: number;
|
|
74
|
+
trigger?: boolean;
|
|
75
|
+
destructive?: boolean;
|
|
76
|
+
paddingRight?: number;
|
|
77
|
+
paddingLeft?: number;
|
|
78
|
+
onToolTip?: (tip: ToolTip | null) => void;
|
|
79
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void;
|
|
80
|
+
} & React.RefAttributes<ButtonHandle>>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { Transition, Variants } from 'motion/react';
|
|
2
|
+
import type React from 'react';
|
|
3
|
+
import type { ToolTip } from '../sharedTypes';
|
|
4
|
+
type ButtonBaseProps = {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
size?: 'large' | 'medium' | 'small';
|
|
7
|
+
variant?: 'solid' | 'outline' | 'text';
|
|
8
|
+
state?: 'normal' | 'hover' | 'disabled';
|
|
9
|
+
width?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
iconRight?: string;
|
|
12
|
+
iconLeft?: string;
|
|
13
|
+
fill?: boolean;
|
|
14
|
+
count?: number;
|
|
15
|
+
showDot?: boolean;
|
|
16
|
+
round?: boolean;
|
|
17
|
+
tooltip?: string;
|
|
18
|
+
iconSize?: number;
|
|
19
|
+
borderRadius?: number;
|
|
20
|
+
iconColor?: string;
|
|
21
|
+
backgroundColor?: string;
|
|
22
|
+
backgroundColorDisabled?: string;
|
|
23
|
+
bgColor?: string;
|
|
24
|
+
bgColorDisabled?: string;
|
|
25
|
+
labelColor?: string;
|
|
26
|
+
labelSize?: 'xs' | 's' | 'm' | 'l';
|
|
27
|
+
transition?: Transition;
|
|
28
|
+
variants?: Variants;
|
|
29
|
+
initial?: string;
|
|
30
|
+
animate?: string;
|
|
31
|
+
exit?: string;
|
|
32
|
+
underline?: boolean;
|
|
33
|
+
progress?: boolean;
|
|
34
|
+
working?: boolean;
|
|
35
|
+
duration?: number;
|
|
36
|
+
trigger?: boolean;
|
|
37
|
+
destructive?: boolean;
|
|
38
|
+
paddingRight?: number;
|
|
39
|
+
paddingLeft?: number;
|
|
40
|
+
onToolTip?: (tip: ToolTip | null) => void;
|
|
41
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void;
|
|
42
|
+
};
|
|
43
|
+
export type ButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof ButtonBaseProps> & ButtonBaseProps;
|
|
44
|
+
export interface ButtonHandle {
|
|
45
|
+
triggerClick: () => void;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ToolTip } from '../sharedTypes';
|
|
3
|
+
import type { ButtonBarProps } from './_types';
|
|
4
|
+
export declare const ButtonBar: React.NamedExoticComponent<Readonly<ButtonBarProps>>;
|
|
5
|
+
interface ButtonProps {
|
|
6
|
+
classNames?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconSize: number;
|
|
9
|
+
iconColor?: string;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
onMouseEnter?: () => void;
|
|
12
|
+
onMouseLeave?: () => void;
|
|
13
|
+
toolTip?: string;
|
|
14
|
+
onToolTip?: (tip: ToolTip | null) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const BarButton: React.NamedExoticComponent<Readonly<ButtonProps>>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ToolTip } from '../sharedTypes';
|
|
3
|
+
export type BarButton = {
|
|
4
|
+
icon?: string;
|
|
5
|
+
action?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
tip: string;
|
|
8
|
+
};
|
|
9
|
+
type ButtonBarBaseProps = {
|
|
10
|
+
buttons?: BarButton[];
|
|
11
|
+
buttonSize?: number;
|
|
12
|
+
iconSize?: number;
|
|
13
|
+
toggle?: boolean;
|
|
14
|
+
selected?: number;
|
|
15
|
+
borderRadius?: number | string;
|
|
16
|
+
borderWidth?: number;
|
|
17
|
+
borderSize?: number;
|
|
18
|
+
borderColor?: string;
|
|
19
|
+
backgroundColor?: string;
|
|
20
|
+
backgroundColorHover?: string;
|
|
21
|
+
backgroundColorActive?: string;
|
|
22
|
+
bgColor?: string;
|
|
23
|
+
bgColorHover?: string;
|
|
24
|
+
bgColorActive?: string;
|
|
25
|
+
labelColor?: string;
|
|
26
|
+
onClick?: (button: BarButton) => void;
|
|
27
|
+
onChange?: (option: BarButton) => void;
|
|
28
|
+
onToolTip?: (tip: ToolTip | null) => void;
|
|
29
|
+
};
|
|
30
|
+
export type ButtonBarProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof ButtonBarBaseProps> & ButtonBarBaseProps;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { CameraElement, DefaultNoVideoPosterProps, ToolbarButtonProps } from './_types';
|
|
3
|
+
export declare const Camera: React.NamedExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, keyof import("./_types").BaseCameraProps> & import("./_types").BaseCameraProps & React.RefAttributes<CameraElement>>;
|
|
4
|
+
/**
|
|
5
|
+
* Custom toolbar button with labels for controlling video / audio / etc.
|
|
6
|
+
*/
|
|
7
|
+
export declare function ToolbarButton(props: Readonly<ToolbarButtonProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
/**
|
|
9
|
+
* the default poster image when no video is available
|
|
10
|
+
*/
|
|
11
|
+
export declare function DefaultNoVideoPoster(props: Readonly<DefaultNoVideoPosterProps>): string | import("react/jsx-runtime").JSX.Element;
|