@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.
Files changed (300) hide show
  1. package/dist/cjs/chunks/{Avatar-Czt-12Ih.js → Avatar-CUaQ3kN1.js} +5 -5
  2. package/dist/cjs/chunks/{AvatarGroup-CGH2zY7a.js → AvatarGroup-B3M7o4Hh.js} +23 -20
  3. package/dist/cjs/chunks/{Button-mVVfNCqC.js → Button-ID8wGXIa.js} +12 -11
  4. package/dist/cjs/chunks/{ButtonBar-CFAb4bfQ.js → ButtonBar-BZ6sme27.js} +7 -7
  5. package/dist/cjs/chunks/{Camera-BGV_tNUP.js → Camera-rVC4KI4v.js} +1 -1
  6. package/dist/cjs/chunks/{CheckBox-DyOgP15i.js → CheckBox-DQRLqTAK.js} +1 -1
  7. package/dist/cjs/chunks/{Chip-Z8erRdWG.js → Chip-CflUNqhY.js} +11 -10
  8. package/dist/cjs/chunks/{DivInput-DdZA8S1k.js → DivInput-DrwFMexA.js} +4 -4
  9. package/dist/cjs/chunks/{DropDown-Ce8aU2va.js → DropDown-C3AZ5b_b.js} +49 -50
  10. package/dist/cjs/chunks/{ErrorSummary-By4CjJ9a.js → ErrorSummary-BTgAd3sK.js} +47 -25
  11. package/dist/cjs/chunks/{FileList-CCAtVNDo.js → FileList-BHwBIics.js} +4 -4
  12. package/dist/cjs/chunks/{Grouper-BbovOSYw.js → Grouper-D4yyHHkM.js} +1 -1
  13. package/dist/cjs/chunks/{Icon-N0YJuKQf.js → Icon-D1EB8S5r.js} +6 -5
  14. package/dist/cjs/chunks/{IconButton-BXotgG2u.js → IconButton-B07Ttxbr.js} +11 -11
  15. package/dist/cjs/chunks/{IndexedDB-BxQn7aHU.js → IndexedDB-BaVmQgkK.js} +12 -10
  16. package/dist/cjs/chunks/Label-CTzvGcds.js +102 -0
  17. package/dist/cjs/chunks/{Pager-Da9AqSFN.js → Pager-BN37VYEC.js} +1 -1
  18. package/dist/cjs/chunks/{ProgressIndicator-CyFcr6Dk.js → ProgressIndicator-BGqIwycX.js} +1 -1
  19. package/dist/cjs/chunks/{PromptInput-B-Wlfnhx.js → PromptInput-D0aehf9X.js} +1 -1
  20. package/dist/cjs/chunks/{RadioButton-B8GIKGm-.js → RadioButton-DuIsM4lu.js} +21 -17
  21. package/dist/cjs/chunks/{RadioButtonList-3o1IvhdC.js → RadioButtonList-bu11ILyw.js} +20 -13
  22. package/dist/cjs/chunks/{Switch-BiTshVLM.js → Switch-Cbn0ql3B.js} +15 -11
  23. package/dist/cjs/chunks/{TabBar-DZ2y7owf.js → TabBar-Bcq_n4Mk.js} +8 -8
  24. package/dist/cjs/chunks/{TextArea-D7E8loob.js → TextArea-CEwhpWXT.js} +17 -24
  25. package/dist/cjs/chunks/{TextField-BAcYBHb1.js → TextField-Dl9sTcC4.js} +50 -70
  26. package/dist/cjs/chunks/{Tip-59T3TUN4.js → Tip-BTIo1xG2.js} +7 -6
  27. package/dist/cjs/chunks/{Toast-skIBuJ3b.js → Toast-CZzAWG0S.js} +1 -1
  28. package/dist/cjs/chunks/{UploadArea-Bfrwzo4O.js → UploadArea-z9-1YjIV.js} +6 -6
  29. package/dist/cjs/chunks/localDBStore-zyDhaEiP.js +289 -0
  30. package/dist/cjs/components/Avatar/index.js +1 -1
  31. package/dist/cjs/components/AvatarGroup/index.js +2 -2
  32. package/dist/cjs/components/Button/index.js +3 -3
  33. package/dist/cjs/components/ButtonBar/index.js +2 -2
  34. package/dist/cjs/components/Camera/index.js +3 -3
  35. package/dist/cjs/components/CheckBox/index.js +2 -2
  36. package/dist/cjs/components/Chip/index.js +2 -2
  37. package/dist/cjs/components/DivInput/index.js +1 -1
  38. package/dist/cjs/components/DropDown/index.js +2 -2
  39. package/dist/cjs/components/ErrorSummary/index.js +6 -2
  40. package/dist/cjs/components/FileList/index.js +3 -3
  41. package/dist/cjs/components/Grouper/index.js +2 -2
  42. package/dist/cjs/components/Icon/index.js +1 -1
  43. package/dist/cjs/components/IconButton/index.js +2 -2
  44. package/dist/cjs/components/Label/index.js +7 -5
  45. package/dist/cjs/components/Pager/index.js +1 -1
  46. package/dist/cjs/components/Progress/index.js +2 -2
  47. package/dist/cjs/components/PromptInput/index.js +5 -5
  48. package/dist/cjs/components/RadioButton/index.js +2 -2
  49. package/dist/cjs/components/RadioButtonList/index.js +3 -3
  50. package/dist/cjs/components/Switch/index.js +1 -1
  51. package/dist/cjs/components/TabBar/index.js +3 -3
  52. package/dist/cjs/components/TextArea/index.js +4 -4
  53. package/dist/cjs/components/Textfield/index.js +5 -6
  54. package/dist/cjs/components/Tip/index.js +1 -1
  55. package/dist/cjs/components/Toast/index.js +2 -2
  56. package/dist/cjs/components/UploadArea/index.js +7 -8
  57. package/dist/cjs/index.js +8 -3
  58. package/dist/cjs/stores/LocalDB.js +6 -5
  59. package/dist/cjs/stores.js +7 -7
  60. package/dist/cjs/utils/index.js +1 -1
  61. package/dist/cjs/utils/objects/index.js +1 -1
  62. package/dist/css/flexBox.module.css +85 -0
  63. package/dist/css/type.module.css +206 -0
  64. package/dist/esm/chunks/{Avatar-DCCbj2eA.mjs → Avatar-CSLVUF_y.mjs} +5 -5
  65. package/dist/esm/chunks/{AvatarGroup-BaD2Xmda.mjs → AvatarGroup--ELW-bO1.mjs} +23 -20
  66. package/dist/esm/chunks/{Button-m0XAJsq5.mjs → Button-D24zg6UY.mjs} +13 -12
  67. package/dist/esm/chunks/{ButtonBar-CNQHRn77.mjs → ButtonBar-DXK8meQq.mjs} +7 -7
  68. package/dist/esm/chunks/{Camera-7TuowjX_.mjs → Camera-BqmVsVKy.mjs} +2 -2
  69. package/dist/esm/chunks/{CheckBox-DO9hTdv8.mjs → CheckBox-BsaYFNC6.mjs} +1 -1
  70. package/dist/esm/chunks/{Chip-BqneFUOR.mjs → Chip-DdgYV-Ct.mjs} +11 -10
  71. package/dist/esm/chunks/{DivInput-Ch9XjfWd.mjs → DivInput-B7sawFbK.mjs} +4 -4
  72. package/dist/esm/chunks/{DropDown-Cvf2d_3u.mjs → DropDown-DOJvg96J.mjs} +48 -51
  73. package/dist/esm/chunks/{ErrorSummary-S0shes-m.mjs → ErrorSummary-CHLkvdHk.mjs} +52 -27
  74. package/dist/esm/chunks/{FileList-Ckix8gUY.mjs → FileList-5LElsgoE.mjs} +5 -5
  75. package/dist/esm/chunks/{Grouper-B_FutfjV.mjs → Grouper-DR14qDXP.mjs} +1 -1
  76. package/dist/esm/chunks/{Icon-C92f63Ib.mjs → Icon-CUSQtytG.mjs} +6 -5
  77. package/dist/esm/chunks/{IconButton-4O5S9S9G.mjs → IconButton-DG69Vlhj.mjs} +11 -11
  78. package/dist/esm/chunks/{IndexedDB-CNOziQ6p.mjs → IndexedDB-CJgzPHPB.mjs} +12 -10
  79. package/dist/esm/chunks/Label-CRsE7o3D.mjs +115 -0
  80. package/dist/esm/chunks/{Pager-BlLYeA2F.mjs → Pager-BYT7_mCb.mjs} +1 -1
  81. package/dist/esm/chunks/{ProgressIndicator-CfM2c4ty.mjs → ProgressIndicator-D7paCpgY.mjs} +1 -1
  82. package/dist/esm/chunks/{PromptInput-Cmist_vy.mjs → PromptInput-yf2ir2-x.mjs} +3 -3
  83. package/dist/esm/chunks/{RadioButton-COEnChNW.mjs → RadioButton-B5ZF5oJ_.mjs} +22 -18
  84. package/dist/esm/chunks/{RadioButtonList-De3rbLQb.mjs → RadioButtonList-D9ZAZgkK.mjs} +22 -13
  85. package/dist/esm/chunks/{Switch-Cv6LABsW.mjs → Switch-BhCOo5Lu.mjs} +15 -11
  86. package/dist/esm/chunks/{TabBar-qiozE5zA.mjs → TabBar-BK7OcjPl.mjs} +9 -9
  87. package/dist/esm/chunks/{TextArea-Ff5hxF1H.mjs → TextArea-CWmzQA0V.mjs} +18 -25
  88. package/dist/esm/chunks/{TextField-CGOR6507.mjs → TextField-6Aq-AT47.mjs} +54 -72
  89. package/dist/esm/chunks/{Tip-CroDIKO4.mjs → Tip-DfmcLbBf.mjs} +7 -6
  90. package/dist/esm/chunks/{Toast-CM493gMR.mjs → Toast-DPHLwDES.mjs} +1 -1
  91. package/dist/esm/chunks/{UploadArea-6z-mVZs3.mjs → UploadArea-igD1l2Ht.mjs} +9 -9
  92. package/dist/esm/chunks/localDBStore-B4jkR5Jx.mjs +297 -0
  93. package/dist/esm/components/Avatar/index.mjs +1 -1
  94. package/dist/esm/components/AvatarGroup/index.mjs +2 -2
  95. package/dist/esm/components/Button/index.mjs +3 -3
  96. package/dist/esm/components/ButtonBar/index.mjs +2 -2
  97. package/dist/esm/components/Camera/index.mjs +3 -3
  98. package/dist/esm/components/CheckBox/index.mjs +2 -2
  99. package/dist/esm/components/Chip/index.mjs +2 -2
  100. package/dist/esm/components/DivInput/index.mjs +1 -1
  101. package/dist/esm/components/DropDown/index.mjs +5 -5
  102. package/dist/esm/components/ErrorSummary/index.mjs +21 -1
  103. package/dist/esm/components/FileList/index.mjs +3 -3
  104. package/dist/esm/components/Grouper/index.mjs +2 -2
  105. package/dist/esm/components/Icon/index.mjs +1 -1
  106. package/dist/esm/components/IconButton/index.mjs +2 -2
  107. package/dist/esm/components/Label/index.mjs +1 -19
  108. package/dist/esm/components/Pager/index.mjs +1 -1
  109. package/dist/esm/components/Progress/index.mjs +2 -2
  110. package/dist/esm/components/PromptInput/index.mjs +5 -5
  111. package/dist/esm/components/RadioButton/index.mjs +2 -2
  112. package/dist/esm/components/RadioButtonList/index.mjs +4 -4
  113. package/dist/esm/components/Switch/index.mjs +1 -1
  114. package/dist/esm/components/TabBar/index.mjs +3 -3
  115. package/dist/esm/components/TextArea/index.mjs +4 -4
  116. package/dist/esm/components/Textfield/index.mjs +7 -7
  117. package/dist/esm/components/Tip/index.mjs +1 -1
  118. package/dist/esm/components/Toast/index.mjs +2 -2
  119. package/dist/esm/components/UploadArea/index.mjs +7 -7
  120. package/dist/esm/index.mjs +27 -27
  121. package/dist/esm/stores/LocalDB.mjs +6 -2
  122. package/dist/esm/stores.mjs +6 -2
  123. package/dist/esm/utils/index.mjs +1 -1
  124. package/dist/esm/utils/objects/index.mjs +1 -1
  125. package/dist/types/components/Avatar/Avatar.d.ts +3 -0
  126. package/dist/types/components/Avatar/_types.d.ts +25 -0
  127. package/dist/types/components/Avatar/index.d.ts +2 -0
  128. package/dist/types/components/AvatarGroup/AvatarGroup.d.ts +3 -0
  129. package/dist/types/components/AvatarGroup/_types.d.ts +28 -0
  130. package/dist/types/components/AvatarGroup/index.d.ts +2 -0
  131. package/dist/types/components/Badge/Badge.d.ts +3 -0
  132. package/dist/types/components/Badge/_types.d.ts +8 -0
  133. package/dist/types/components/Badge/index.d.ts +2 -0
  134. package/dist/types/components/Button/Button.d.ts +80 -0
  135. package/dist/types/components/Button/_types.d.ts +47 -0
  136. package/dist/types/components/Button/index.d.ts +2 -0
  137. package/dist/types/components/ButtonBar/ButtonBar.d.ts +17 -0
  138. package/dist/types/components/ButtonBar/_types.d.ts +31 -0
  139. package/dist/types/components/ButtonBar/index.d.ts +2 -0
  140. package/dist/types/components/Camera/Camera.d.ts +11 -0
  141. package/dist/types/components/Camera/_types.d.ts +79 -0
  142. package/dist/types/components/Camera/index.d.ts +2 -0
  143. package/dist/types/components/CheckBox/CheckBox.d.ts +3 -0
  144. package/dist/types/components/CheckBox/_types.d.ts +11 -0
  145. package/dist/types/components/CheckBox/index.d.ts +2 -0
  146. package/dist/types/components/Chip/Chip.d.ts +3 -0
  147. package/dist/types/components/Chip/_types.d.ts +35 -0
  148. package/dist/types/components/Chip/index.d.ts +3 -0
  149. package/dist/types/components/DivInput/DivInput.d.ts +3 -0
  150. package/dist/types/components/DivInput/_types.d.ts +25 -0
  151. package/dist/types/components/DivInput/index.d.ts +2 -0
  152. package/dist/types/components/Dot/Dot.d.ts +3 -0
  153. package/dist/types/components/Dot/_types.d.ts +19 -0
  154. package/dist/types/components/Dot/index.d.ts +2 -0
  155. package/dist/types/components/DraggablePanel/DrggablePanel.d.ts +44 -0
  156. package/dist/types/components/DraggablePanel/_types.d.ts +5 -0
  157. package/dist/types/components/DraggablePanel/index.d.ts +1 -0
  158. package/dist/types/components/DropDown/DropDown.d.ts +3 -0
  159. package/dist/types/components/DropDown/_types.d.ts +40 -0
  160. package/dist/types/components/DropDown/index.d.ts +2 -0
  161. package/dist/types/components/ErrorSummary/ErrorSummary.d.ts +3 -0
  162. package/dist/types/components/ErrorSummary/_types.d.ts +15 -0
  163. package/dist/types/components/ErrorSummary/index.d.ts +2 -0
  164. package/dist/types/components/FileIcon/FileIcon.d.ts +3 -0
  165. package/dist/types/components/FileIcon/_types.d.ts +27 -0
  166. package/dist/types/components/FileIcon/fileIconRegistry.d.ts +4 -0
  167. package/dist/types/components/FileIcon/index.d.ts +3 -0
  168. package/dist/types/components/FileList/FileList.d.ts +3 -0
  169. package/dist/types/components/FileList/_types.d.ts +25 -0
  170. package/dist/types/components/FileList/index.d.ts +2 -0
  171. package/dist/types/components/FlexDiv/FlexDiv.d.ts +60 -0
  172. package/dist/types/components/FlexDiv/_types.d.ts +34 -0
  173. package/dist/types/components/FlexDiv/index.d.ts +2 -0
  174. package/dist/types/components/Grouper/Grouper.d.ts +3 -0
  175. package/dist/types/components/Grouper/_types.d.ts +20 -0
  176. package/dist/types/components/Grouper/index.d.ts +2 -0
  177. package/dist/types/components/Icon/Icon.d.ts +3 -0
  178. package/dist/types/components/Icon/_types.d.ts +131 -0
  179. package/dist/types/components/Icon/iconRegistry.d.ts +17 -0
  180. package/dist/types/components/Icon/index.d.ts +2 -0
  181. package/dist/types/components/IconButton/IconButton.d.ts +3 -0
  182. package/dist/types/components/IconButton/_types.d.ts +37 -0
  183. package/dist/types/components/IconButton/index.d.ts +2 -0
  184. package/dist/types/components/Label/Label.d.ts +2 -0
  185. package/dist/types/components/Label/_types.d.ts +26 -0
  186. package/dist/types/components/Label/index.d.ts +3 -0
  187. package/dist/types/components/Overlay/Overlay.d.ts +3 -0
  188. package/dist/types/components/Overlay/_types.d.ts +12 -0
  189. package/dist/types/components/Overlay/index.d.ts +2 -0
  190. package/dist/types/components/Pager/Pager.d.ts +3 -0
  191. package/dist/types/components/Pager/_types.d.ts +13 -0
  192. package/dist/types/components/Pager/index.d.ts +2 -0
  193. package/dist/types/components/Progress/DoneCheck/DoneCheck.d.ts +3 -0
  194. package/dist/types/components/Progress/DoneCheck/_types.d.ts +13 -0
  195. package/dist/types/components/Progress/ProgressIndicator/ProgressIndicator.d.ts +3 -0
  196. package/dist/types/components/Progress/ProgressIndicator/_types.d.ts +14 -0
  197. package/dist/types/components/Progress/index.d.ts +4 -0
  198. package/dist/types/components/PromptInput/PromptInput.d.ts +63 -0
  199. package/dist/types/components/PromptInput/_types.d.ts +35 -0
  200. package/dist/types/components/PromptInput/index.d.ts +2 -0
  201. package/dist/types/components/RadioButton/RadioButton.d.ts +3 -0
  202. package/dist/types/components/RadioButton/_types.d.ts +27 -0
  203. package/dist/types/components/RadioButton/index.d.ts +2 -0
  204. package/dist/types/components/RadioButtonList/RadioButtonList.d.ts +3 -0
  205. package/dist/types/components/RadioButtonList/_types.d.ts +26 -0
  206. package/dist/types/components/RadioButtonList/index.d.ts +2 -0
  207. package/dist/types/components/Slider/Slider.d.ts +3 -0
  208. package/dist/types/components/Slider/_types.d.ts +18 -0
  209. package/dist/types/components/Slider/index.d.ts +2 -0
  210. package/dist/types/components/Spacer/Spacer.d.ts +3 -0
  211. package/dist/types/components/Spacer/_types.d.ts +6 -0
  212. package/dist/types/components/Spacer/index.d.ts +2 -0
  213. package/dist/types/components/Switch/Switch.d.ts +3 -0
  214. package/dist/types/components/Switch/Switch.stories.d.ts +5 -0
  215. package/dist/types/components/Switch/_types.d.ts +17 -0
  216. package/dist/types/components/Switch/index.d.ts +2 -0
  217. package/dist/types/components/TabBar/TabBar.d.ts +3 -0
  218. package/dist/types/components/TabBar/_types.d.ts +52 -0
  219. package/dist/types/components/TabBar/index.d.ts +2 -0
  220. package/dist/types/components/TextArea/TextArea.d.ts +3 -0
  221. package/dist/types/components/TextArea/_types.d.ts +40 -0
  222. package/dist/types/components/TextArea/index.d.ts +2 -0
  223. package/dist/types/components/Textfield/TextField.d.ts +3 -0
  224. package/dist/types/components/Textfield/_types.d.ts +73 -0
  225. package/dist/types/components/Textfield/index.d.ts +2 -0
  226. package/dist/types/components/Tip/Tip.d.ts +3 -0
  227. package/dist/types/components/Tip/_types.d.ts +31 -0
  228. package/dist/types/components/Tip/index.d.ts +2 -0
  229. package/dist/types/components/Toast/Toast.d.ts +3 -0
  230. package/dist/types/components/Toast/_types.d.ts +24 -0
  231. package/dist/types/components/Toast/index.d.ts +2 -0
  232. package/dist/types/components/UploadArea/UploadArea.d.ts +62 -0
  233. package/dist/types/components/UploadArea/_types.d.ts +50 -0
  234. package/dist/types/components/UploadArea/index.d.ts +3 -0
  235. package/dist/types/components/playHelpers.d.ts +35 -0
  236. package/dist/types/components/sharedTypes.d.ts +21 -0
  237. package/dist/types/hooks/index.d.ts +9 -0
  238. package/dist/types/hooks/useDoubleClick/useDoubleClick.d.ts +1 -0
  239. package/dist/types/hooks/useKeyboardShortcuts/useKeyboardShortcuts.d.ts +9 -0
  240. package/dist/types/hooks/useLastUpdated/useLastUpdated.d.ts +4 -0
  241. package/dist/types/hooks/useLocalStore/useLocalStore.d.ts +1 -0
  242. package/dist/types/hooks/useObserveResize/useObserveResize.d.ts +9 -0
  243. package/dist/types/hooks/useObserveTheme/useObserveTheme.d.ts +2 -0
  244. package/dist/types/hooks/useTheme/useTheme.d.ts +47 -0
  245. package/dist/types/hooks/useToolTip/useToolTip.d.ts +6 -0
  246. package/dist/types/hooks/useTrackRenders/useTrackRenders.d.ts +5 -0
  247. package/dist/types/hooks/useWindow/useWindow.d.ts +43 -0
  248. package/dist/types/index.d.ts +75 -0
  249. package/dist/types/providers/ThemeProvider.d.ts +13 -0
  250. package/dist/types/providers/index.d.ts +1 -0
  251. package/dist/types/stores/LocalDB/_types.d.ts +43 -0
  252. package/dist/types/stores/LocalDB/index.d.ts +2 -0
  253. package/dist/types/stores/LocalDB/localDBStore.d.ts +18 -0
  254. package/dist/types/stores/SSE/_types.d.ts +17 -0
  255. package/dist/types/stores/SSE/index.d.ts +2 -0
  256. package/dist/types/stores/SSE/sseStore.d.ts +28 -0
  257. package/dist/types/stores/WS/_types.d.ts +17 -0
  258. package/dist/types/stores/WS/index.d.ts +2 -0
  259. package/dist/types/stores/WS/wsStore.d.ts +19 -0
  260. package/dist/types/stores/index.d.ts +6 -0
  261. package/dist/types/stores/tip/_types.d.ts +8 -0
  262. package/dist/types/stores/tip/index.d.ts +2 -0
  263. package/dist/types/stores/tip/tipStore.d.ts +12 -0
  264. package/dist/types/stores/toast/_types.d.ts +14 -0
  265. package/dist/types/stores/toast/index.d.ts +2 -0
  266. package/dist/types/stores/toast/toastStore.d.ts +12 -0
  267. package/dist/types/stores/uploads/_types.d.ts +16 -0
  268. package/dist/types/stores/uploads/index.d.ts +2 -0
  269. package/dist/types/stores/uploads/uploadsStore.d.ts +22 -0
  270. package/dist/types/stores/window/_types.d.ts +33 -0
  271. package/dist/types/stores/window/index.d.ts +3 -0
  272. package/dist/types/stores/window/windowStore.d.ts +25 -0
  273. package/dist/types/theme/colors/colors.d.ts +6 -0
  274. package/dist/types/theme/colors/types.d.ts +174 -0
  275. package/dist/types/theme/corners/corners.d.ts +2 -0
  276. package/dist/types/theme/corners/types.d.ts +10 -0
  277. package/dist/types/theme/elevations/_types.d.ts +10 -0
  278. package/dist/types/theme/elevations/elevations.d.ts +5 -0
  279. package/dist/types/theme/index.d.ts +9 -0
  280. package/dist/types/theme/motion/_types.d.ts +8 -0
  281. package/dist/types/theme/motion/motion.d.ts +5 -0
  282. package/dist/types/theme/themes.d.ts +16 -0
  283. package/dist/types/theme/type/type.d.ts +5 -0
  284. package/dist/types/theme/type/types.d.ts +25 -0
  285. package/dist/types/utils/functions/colors.d.ts +8 -0
  286. package/dist/types/utils/functions/debounce.d.ts +9 -0
  287. package/dist/types/utils/functions/files.d.ts +15 -0
  288. package/dist/types/utils/functions/misc.d.ts +61 -0
  289. package/dist/types/utils/index.d.ts +5 -0
  290. package/dist/types/utils/objects/IndexedDB/IndexedDB.d.ts +62 -0
  291. package/dist/types/utils/objects/SSEConnection/SSEConnection.d.ts +187 -0
  292. package/dist/types/utils/objects/WSConnection/WSConnection.d.ts +159 -0
  293. package/dist/types/utils/objects/index.d.ts +6 -0
  294. package/dist/types/workers/uploads/uploads-worker.d.ts +129 -0
  295. package/dist/types/workers/uploads/uploads.d.ts +1 -0
  296. package/package.json +1 -1
  297. package/dist/cjs/chunks/Label-CZvJbATa.js +0 -118
  298. package/dist/cjs/chunks/localDBStore-Cl1YFPIe.js +0 -182
  299. package/dist/esm/chunks/Label-7ezP3eHw.mjs +0 -131
  300. package/dist/esm/chunks/localDBStore-CbCoeN66.mjs +0 -186
@@ -0,0 +1,79 @@
1
+ import type React from 'react';
2
+ export interface DefaultNoVideoPosterProps {
3
+ size?: number | string;
4
+ user?: UserProfile;
5
+ message?: string;
6
+ }
7
+ export interface ToolbarButtonProps {
8
+ icon: string;
9
+ iconActive?: string;
10
+ onClick: () => void;
11
+ active?: boolean;
12
+ label?: string;
13
+ disabled?: boolean;
14
+ onMouseOver?: (e: React.MouseEvent<HTMLDivElement> | React.FocusEvent<HTMLDivElement>) => void;
15
+ }
16
+ export interface CameraElement {
17
+ container?: HTMLDivElement;
18
+ video?: HTMLVideoElement;
19
+ stream?: MediaStream;
20
+ videoTrack?: MediaStreamTrack;
21
+ audioTrack?: MediaStreamTrack;
22
+ snapshot?: (options?: CameraSnapshotOptions) => Blob | undefined;
23
+ startCamera?: () => Promise<MediaStream | Error>;
24
+ stopCamera?: () => Promise<boolean | Error>;
25
+ enableVideo?: () => MediaStream | Error;
26
+ disableVideo?: () => boolean | Error;
27
+ muteMic?: () => boolean | Error;
28
+ unmuteMic?: () => boolean | Error;
29
+ toggleVideo?: () => Promise<MediaStream | boolean | Error>;
30
+ toggleMic?: () => boolean | Error;
31
+ devices?: () => Promise<MediaDeviceInfo[] | Error>;
32
+ }
33
+ export interface CameraSnapshotOptions {
34
+ width?: number;
35
+ height?: number;
36
+ toggle?: boolean;
37
+ }
38
+ export interface Controls {
39
+ mic?: boolean;
40
+ camera?: boolean;
41
+ play?: boolean;
42
+ stop?: boolean;
43
+ pause?: boolean;
44
+ videoDevices?: boolean;
45
+ audioDevices?: boolean;
46
+ flipCamera?: boolean;
47
+ }
48
+ export interface UserProfile {
49
+ name?: string;
50
+ email?: string;
51
+ avatar?: string;
52
+ }
53
+ export interface Settings {
54
+ micDeviceId?: string;
55
+ micVolume?: number;
56
+ videoDeviceId?: string;
57
+ }
58
+ export interface BaseCameraProps {
59
+ width?: number | string;
60
+ height?: number | string;
61
+ noVideoPoster?: React.ReactNode;
62
+ videoFit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
63
+ startCameraOff?: boolean;
64
+ startAudioMuted?: boolean;
65
+ playLocalAudio?: boolean;
66
+ userProfile?: UserProfile;
67
+ sessionSettings?: Settings;
68
+ onVideoStream?: (stream: MediaStream) => void;
69
+ onSnapshot?: (blob: Blob | undefined) => void;
70
+ onNoVideo?: (reason?: string | Error) => void;
71
+ onNoAudio?: (reason?: string | Error) => void;
72
+ onChangeProfile?: (profile?: UserProfile) => void;
73
+ onChangeSettings?: (settings?: Settings, devices?: MediaDeviceInfo[] | Error) => void;
74
+ showControlBar?: boolean;
75
+ autoHideControlBar?: boolean;
76
+ controls?: Controls;
77
+ pipSnapshot?: boolean;
78
+ }
79
+ export type CameraProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof BaseCameraProps> & BaseCameraProps;
@@ -0,0 +1,2 @@
1
+ export { Camera } from './Camera';
2
+ export type { CameraElement, CameraProps, CameraSnapshotOptions, Controls, UserProfile, Settings, } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { CheckBoxProps } from './_types';
3
+ export declare const CheckBox: React.MemoExoticComponent<(props: CheckBoxProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,11 @@
1
+ import type React from 'react';
2
+ type CheckBoxBaseProps = {
3
+ children?: React.ReactNode | string;
4
+ size?: number;
5
+ checked?: 'mixed' | boolean;
6
+ disabled?: boolean;
7
+ color?: string;
8
+ onChange?: (state: boolean) => void;
9
+ };
10
+ export type CheckBoxProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof CheckBoxBaseProps> & CheckBoxBaseProps;
11
+ export {};
@@ -0,0 +1,2 @@
1
+ export { CheckBox } from './CheckBox';
2
+ export type { CheckBoxProps } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { ChipProps } from './_types';
3
+ export declare const Chip: React.MemoExoticComponent<(props: ChipProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,35 @@
1
+ import type React from 'react';
2
+ import type { ToolTip } from '../sharedTypes';
3
+ type ChipBaseProps = {
4
+ children?: React.ReactNode;
5
+ label?: string;
6
+ labelSize?: 'xs' | 's' | 'm' | 'l';
7
+ labelColor?: string;
8
+ labelColorHover?: string;
9
+ icon?: string;
10
+ iconSize?: number;
11
+ iconPosition?: 'left' | 'right';
12
+ iconColor?: string;
13
+ iconColorHover?: string;
14
+ backgroundColor?: string;
15
+ backgroundColorHover?: string;
16
+ bgColor?: string;
17
+ bgColorHover?: string;
18
+ disabled?: boolean;
19
+ focused?: boolean;
20
+ tooltip?: string;
21
+ borderWidth?: number;
22
+ borderSize?: number;
23
+ borderColor?: string;
24
+ borderColorHover?: string;
25
+ borderColorDisabled?: string;
26
+ borderRadius?: number;
27
+ gap?: number;
28
+ paddingTop?: number;
29
+ paddingTops?: number;
30
+ paddingSides?: number;
31
+ onToolTip?: (tip: ToolTip | null) => void;
32
+ onClick?: (e: React.MouseEvent<HTMLDivElement> | undefined) => void;
33
+ };
34
+ export type ChipProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof ChipBaseProps> & ChipBaseProps;
35
+ export {};
@@ -0,0 +1,3 @@
1
+ import { Chip } from './Chip';
2
+ export { Chip };
3
+ export type { ChipProps } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { DivInputProps } from './_types';
3
+ export declare const DivInput: React.MemoExoticComponent<(props: DivInputProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,25 @@
1
+ import type React from 'react';
2
+ type DivInputBaseProps = {
3
+ name?: string;
4
+ onClick?: () => void;
5
+ onDblClick?: () => void;
6
+ onChange?: (value: string | null) => void;
7
+ onSubmit?: (value: string) => void;
8
+ onFocus?: (event: React.FocusEvent<HTMLDivElement>) => void;
9
+ onBlur?: (value: string) => void;
10
+ placeholder?: string;
11
+ value?: string;
12
+ isEditable?: boolean;
13
+ wrap?: boolean;
14
+ focus?: boolean;
15
+ width?: number | string;
16
+ textAlign?: 'left' | 'center' | 'right';
17
+ clamp?: number;
18
+ padding?: string;
19
+ borderRadius?: number;
20
+ radius?: number;
21
+ backgroundColor?: string;
22
+ bgColor?: string;
23
+ };
24
+ export type DivInputProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof DivInputBaseProps> & DivInputBaseProps;
25
+ export {};
@@ -0,0 +1,2 @@
1
+ export { DivInput } from './DivInput';
2
+ export type { DivInputProps } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type DotProps } from './_types';
3
+ export declare const Dot: React.MemoExoticComponent<(props: DotProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,19 @@
1
+ import type { Transition, Variants } from 'motion/react';
2
+ import type React from 'react';
3
+ type DotBaseProps = {
4
+ size?: number;
5
+ topOffset?: number;
6
+ rightOffset?: number;
7
+ border?: number;
8
+ position?: 'inline' | 'corner';
9
+ state?: 'red' | 'yellow' | 'green' | 'blue' | 'grey';
10
+ color?: string;
11
+ transition?: Transition;
12
+ motionValues?: Variants;
13
+ motion?: Variants;
14
+ show?: boolean;
15
+ };
16
+ export type DotProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof DotBaseProps> & DotBaseProps;
17
+ export declare const DEFAULT_VARIANTS: Variants;
18
+ export declare const DEFAULT_TRANSITION: Transition;
19
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Dot } from './Dot';
2
+ export type { DotProps } from './_types';
@@ -0,0 +1,44 @@
1
+ import React, { type RefObject } from 'react';
2
+ import type { Constraint } from './_types';
3
+ type Info = {
4
+ div: RefObject<HTMLDivElement | null>;
5
+ divWidth: number;
6
+ divHeight: number;
7
+ deltaWidth: number;
8
+ };
9
+ type ResizeHandle = {
10
+ width?: number;
11
+ color?: string;
12
+ offsetX?: boolean;
13
+ };
14
+ type DraggablePanelBaseProps = {
15
+ children?: any;
16
+ onResize?: (info: Info) => void;
17
+ onResizeEnd?: (info: Info) => void;
18
+ onResizeStart?: (info: Info) => void;
19
+ containerRef?: React.RefObject<HTMLDivElement | null>;
20
+ sizeConstraints?: Constraint;
21
+ dragsRight?: boolean;
22
+ isClosed?: boolean;
23
+ resizeHandle?: Partial<ResizeHandle>;
24
+ borderRight?: any;
25
+ borderLeft?: any;
26
+ bgColor?: string;
27
+ drags?: boolean;
28
+ dragHandle?: boolean;
29
+ dragHandleStyle?: DragHandleProps;
30
+ disableOnContext?: boolean;
31
+ isTouchDevice?: boolean;
32
+ };
33
+ export type DraggablePanelProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof DraggablePanelBaseProps> & DraggablePanelBaseProps;
34
+ export declare const DraggablePanel: React.MemoExoticComponent<(props: DraggablePanelProps) => import("react/jsx-runtime").JSX.Element>;
35
+ export type DragHandleProps = {
36
+ width?: number;
37
+ height?: number;
38
+ radius?: number;
39
+ stroke?: number;
40
+ strokeColor?: string;
41
+ color?: string;
42
+ };
43
+ export declare const DragHandle: React.MemoExoticComponent<(props: Readonly<DragHandleProps>) => import("react/jsx-runtime").JSX.Element>;
44
+ export {};
@@ -0,0 +1,5 @@
1
+ export type Constraint = {
2
+ initial: number;
3
+ max: number;
4
+ min: number;
5
+ };
@@ -0,0 +1 @@
1
+ export { DraggablePanel, type DraggablePanelProps } from './DrggablePanel';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { DropDownProps } from './_types';
3
+ export declare const DropDown: <T = string>(props: DropDownProps<T>) => React.JSX.Element;
@@ -0,0 +1,40 @@
1
+ import type React from 'react';
2
+ export type DropDownOption<T = string> = {
3
+ label?: string;
4
+ value?: T;
5
+ alt?: string;
6
+ };
7
+ type DropDownBaseProps<T = string> = {
8
+ name?: string;
9
+ label?: string;
10
+ labelColor?: string;
11
+ options?: DropDownOption<T>[];
12
+ selectedIndex?: number;
13
+ selectedValue?: T;
14
+ valueKey?: string;
15
+ placeholder?: boolean;
16
+ borderRadius?: number;
17
+ borderStyle?: 'bottom' | 'box' | 'none';
18
+ validate?: boolean;
19
+ iconColor?: string;
20
+ backgroundColor?: string;
21
+ bgColor?: string;
22
+ textColor?: string;
23
+ borderColor?: string;
24
+ borderWidth?: number;
25
+ borderSize?: number;
26
+ width?: string;
27
+ height?: string;
28
+ paddingLeft?: number | string;
29
+ paddingRight?: number | string;
30
+ paddingTop?: number | string;
31
+ paddingBottom?: number | string;
32
+ iconSize?: number;
33
+ disabled?: boolean;
34
+ error?: boolean;
35
+ gap?: number;
36
+ size?: 'xs' | 's' | 'm' | 'l';
37
+ onChange?: (index: number, option: DropDownOption<T>) => void;
38
+ };
39
+ export type DropDownProps<T = string> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof DropDownBaseProps<T>> & DropDownBaseProps<T>;
40
+ export {};
@@ -0,0 +1,2 @@
1
+ export { DropDown } from './DropDown';
2
+ export type { DropDownOption, DropDownProps } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { ErrorSummaryProps } from './_types';
3
+ export declare const ErrorSummary: React.MemoExoticComponent<(props: ErrorSummaryProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,15 @@
1
+ import type React from 'react';
2
+ export type ErrorMessage = {
3
+ title: string;
4
+ message?: string | string[];
5
+ };
6
+ type ErrorSummaryBaseProps = {
7
+ entries?: ErrorMessage[];
8
+ textColor?: string;
9
+ autoNumber?: boolean;
10
+ backgroundColor?: string;
11
+ bgColor?: string;
12
+ textSize?: 'xs' | 's' | 'm' | 'l';
13
+ };
14
+ export type ErrorSummaryProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof ErrorSummaryBaseProps> & ErrorSummaryBaseProps;
15
+ export {};
@@ -0,0 +1,2 @@
1
+ export { ErrorSummary } from './ErrorSummary';
2
+ export type { ErrorMessage, ErrorSummaryProps } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { FileIconProps } from './_types';
3
+ export declare const FileIcon: React.MemoExoticComponent<(props: FileIconProps) => import("react/jsx-runtime").JSX.Element | null>;
@@ -0,0 +1,27 @@
1
+ import type React from 'react';
2
+ type FileIconBaseProps = {
3
+ name?: string;
4
+ size?: number;
5
+ pointer?: boolean;
6
+ disabled?: boolean;
7
+ onClick?: (e: React.MouseEvent<SVGElement, MouseEvent> | React.KeyboardEvent<SVGSVGElement>) => void;
8
+ };
9
+ export type FileIconProps = Omit<React.SVGAttributes<SVGSVGElement>, keyof FileIconBaseProps> & FileIconBaseProps;
10
+ export declare enum FileIconNames {
11
+ pdf = "pdf",
12
+ text = "text",
13
+ sheet = "sheet",
14
+ preso = "preso",
15
+ md = "md",
16
+ code = "code",
17
+ image = "image",
18
+ audio = "audio",
19
+ video = "video",
20
+ other = "other"
21
+ }
22
+ type Scheme = {
23
+ dark: string;
24
+ light: string;
25
+ };
26
+ export declare const iconColorSchemes: Record<string, Scheme>;
27
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { JSX } from 'react';
2
+ export declare const STATIC_FILE_ICONS: Map<string, {
3
+ paths: (theme: "dark" | "light") => JSX.Element;
4
+ }>;
@@ -0,0 +1,3 @@
1
+ export { FileIcon } from './FileIcon';
2
+ export type { FileIconProps } from './_types';
3
+ export { FileIconNames } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { FileListProps } from './_types';
3
+ export declare const FileList: React.MemoExoticComponent<(props: FileListProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,25 @@
1
+ import type React from 'react';
2
+ import type { ToolTip } from '../sharedTypes';
3
+ export type FileItem = {
4
+ file: File | string;
5
+ uploading?: boolean;
6
+ progress?: number;
7
+ error?: string;
8
+ };
9
+ type FileListBaseProps = {
10
+ files?: FileItem[];
11
+ direction?: 'row' | 'column';
12
+ gap?: number;
13
+ size?: 'xs' | 's' | 'm' | 'l' | 'xl';
14
+ maxWidth?: number | string;
15
+ minWidth?: number | string;
16
+ padding?: number | string;
17
+ iconSize?: number;
18
+ onChange?: (files: FileItem[]) => void;
19
+ backgroundColor?: string;
20
+ bgColor?: string;
21
+ canRemove?: boolean;
22
+ onToolTip?: (tip: ToolTip | null) => void;
23
+ };
24
+ export type FileListProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof FileListBaseProps> & FileListBaseProps;
25
+ export {};
@@ -0,0 +1,2 @@
1
+ export { FileList } from './FileList';
2
+ export type { FileListProps, FileItem } from './_types';
@@ -0,0 +1,60 @@
1
+ import React from 'react';
2
+ export declare const FlexDiv: React.NamedExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, keyof {
3
+ className?: string;
4
+ children?: any;
5
+ scrollY?: boolean;
6
+ scrollX?: boolean;
7
+ absolute?: boolean;
8
+ background?: string;
9
+ direction?: "row" | "column";
10
+ alignItems?: "start" | "center" | "end" | "between";
11
+ justify?: "start" | "top" | "center" | "end" | "bottom" | "between";
12
+ width?: number | "grow" | "fill" | "fit" | "viewport" | "auto";
13
+ height?: number | "grow" | "fill" | "fit" | "viewport" | "auto";
14
+ maxWidth?: number | string;
15
+ centerSelf?: boolean | string;
16
+ flex?: number;
17
+ reverse?: boolean;
18
+ wrap?: boolean;
19
+ border?: string;
20
+ padding?: number | string;
21
+ margin?: number | string;
22
+ enter?: any;
23
+ exit?: any;
24
+ animate?: any;
25
+ transition?: import("framer-motion").Transition;
26
+ variants?: any;
27
+ gap?: number;
28
+ borderRadius?: number;
29
+ scrollHandle?: string;
30
+ scrollHandleHover?: string;
31
+ }> & {
32
+ className?: string;
33
+ children?: any;
34
+ scrollY?: boolean;
35
+ scrollX?: boolean;
36
+ absolute?: boolean;
37
+ background?: string;
38
+ direction?: "row" | "column";
39
+ alignItems?: "start" | "center" | "end" | "between";
40
+ justify?: "start" | "top" | "center" | "end" | "bottom" | "between";
41
+ width?: number | "grow" | "fill" | "fit" | "viewport" | "auto";
42
+ height?: number | "grow" | "fill" | "fit" | "viewport" | "auto";
43
+ maxWidth?: number | string;
44
+ centerSelf?: boolean | string;
45
+ flex?: number;
46
+ reverse?: boolean;
47
+ wrap?: boolean;
48
+ border?: string;
49
+ padding?: number | string;
50
+ margin?: number | string;
51
+ enter?: any;
52
+ exit?: any;
53
+ animate?: any;
54
+ transition?: import("framer-motion").Transition;
55
+ variants?: any;
56
+ gap?: number;
57
+ borderRadius?: number;
58
+ scrollHandle?: string;
59
+ scrollHandleHover?: string;
60
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,34 @@
1
+ import type { Transition } from 'motion/react';
2
+ import type React from 'react';
3
+ type FlexDivBaseProps = {
4
+ className?: string;
5
+ children?: any;
6
+ scrollY?: boolean;
7
+ scrollX?: boolean;
8
+ absolute?: boolean;
9
+ background?: string;
10
+ direction?: 'row' | 'column';
11
+ alignItems?: 'start' | 'center' | 'end' | 'between';
12
+ justify?: 'start' | 'top' | 'center' | 'end' | 'bottom' | 'between';
13
+ width?: number | 'grow' | 'fill' | 'fit' | 'viewport' | 'auto';
14
+ height?: number | 'grow' | 'fill' | 'fit' | 'viewport' | 'auto';
15
+ maxWidth?: number | string;
16
+ centerSelf?: boolean | string;
17
+ flex?: number;
18
+ reverse?: boolean;
19
+ wrap?: boolean;
20
+ border?: string;
21
+ padding?: number | string;
22
+ margin?: number | string;
23
+ enter?: any;
24
+ exit?: any;
25
+ animate?: any;
26
+ transition?: Transition;
27
+ variants?: any;
28
+ gap?: number;
29
+ borderRadius?: number;
30
+ scrollHandle?: string;
31
+ scrollHandleHover?: string;
32
+ };
33
+ export type FlexDivProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof FlexDivBaseProps> & FlexDivBaseProps;
34
+ export {};
@@ -0,0 +1,2 @@
1
+ export { FlexDiv } from './FlexDiv';
2
+ export type { FlexDivProps } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { GrouperProps } from './_types';
3
+ export declare const Grouper: React.MemoExoticComponent<(props: GrouperProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,20 @@
1
+ import type React from 'react';
2
+ type GrouperBaseProps = {
3
+ title?: string;
4
+ variant?: string;
5
+ toggle?: boolean;
6
+ open?: boolean;
7
+ hasIcon?: boolean;
8
+ iconName?: string;
9
+ iconSize?: number;
10
+ frameSize?: number;
11
+ border?: number;
12
+ count?: number | string;
13
+ hideNull?: boolean;
14
+ showFilterBadge?: boolean;
15
+ unframed?: boolean;
16
+ onChange?: (state: boolean) => void;
17
+ onClick?: () => void;
18
+ };
19
+ export type GrouperProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof GrouperBaseProps> & GrouperBaseProps;
20
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Grouper } from './Grouper';
2
+ export type { GrouperProps } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { IconProps } from './_types';
3
+ export declare const Icon: React.MemoExoticComponent<(props: IconProps) => import("react/jsx-runtime").JSX.Element | null>;