@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
@@ -12,11 +12,13 @@ import "../theme/colors.mjs";
12
12
 
13
13
  import "../hooks/useWindow.mjs";
14
14
 
15
- import { B as Button } from "./Button-m0XAJsq5.mjs";
15
+ import { s as setStyle } from "./misc-N8KLjOXc.mjs";
16
16
 
17
- import { I as Icon } from "./Icon-C92f63Ib.mjs";
17
+ import { B as Button } from "./Button-D24zg6UY.mjs";
18
18
 
19
- import { I as IconButton } from "./IconButton-4O5S9S9G.mjs";
19
+ import { I as Icon } from "./Icon-CUSQtytG.mjs";
20
+
21
+ import { I as IconButton } from "./IconButton-DG69Vlhj.mjs";
20
22
 
21
23
  import { s as styleInject } from "./style-inject.es-D0BjEaN8.mjs";
22
24
 
@@ -27,12 +29,13 @@ var css = {
27
29
  input: "TextField-module_input__AkWBQ",
28
30
  showPassword: "TextField-module_showPassword__4Ecfo flexBox-module_row__z24tF",
29
31
  clearButton: "TextField-module_clearButton__O9ed3 flexBox-module_row__z24tF",
32
+ xs: "TextField-module_xs__vyt2t type-module_body-xs-regular__ZAFft",
30
33
  s: "TextField-module_s__0qm83 type-module_body-s-regular__vRHSP",
31
34
  m: "TextField-module_m__M-tLl type-module_body-m-regular__LuQBA",
32
35
  l: "TextField-module_l__gbNRz type-module_body-l-regular__lOYbg"
33
36
  };
34
37
 
35
- styleInject(".flexBox-module_row__z24tF {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowBetween__5FEvi {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowStart__4tcxS {\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowEnd__rVdVm {\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_column__ezvMq {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStart__C7P44 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: flex-start;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStartCenter__PKcrG {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnBetween__ERfp7 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnEnd__lLJuc {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-end;\n\talign-items: flex-end;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.type-module_body-xs-regular__ZAFft {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-medium__s3KvF {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-bold__Lhqqq {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.25px;\n}.type-module_body-s-regular__vRHSP {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-medium__tjdFc {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-bold__Iy-VX {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-m-regular__LuQBA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-medium__uW1on {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-bold__UBcvQ {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-l-regular__lOYbg {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-medium__BqRC7 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-bold__Fh2dt {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-xl-regular__pF2kC {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-medium__BeyrH {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-bold__Ruknj {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_heading-s-medium__z8L3G {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-s-bold__0O3g6 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-bold__KXxEB {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-medium__cJeEA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-medium__eRe05 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-bold__Xmwtf {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-medium__5q1m3 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-bold__k9VFV {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}\n\n.TextField-module_wrapper__qZ-p- {\n\tposition: relative;\n\tpadding: var(--tf-padding) !important;\n\tgap: 8px;\n\toverflow: visible;\n\twidth: var(--tf-width);\n\theight: var(--tf-height);\n\tborder-radius: var(--tf-border-radius);\n\tbackground: var(--tf-bg);\n\tbox-shadow: var(--tf-box-shadow);\n\ttransition: all var(--motion-water-duration) var(--motion-water) 0s;\n}\n\n.TextField-module_container__5U9yK {\n\tflex: 1;\n\theight: 100%;\n\tgap: 8px;\n}\n\n.TextField-module_label__jD8MR {\n\tcolor: var(--tf-label-color);\n\theight: auto;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.TextField-module_input__AkWBQ {\n\tcolor: var(--tf-text-color);\n\tbackground-color: transparent;\n\tbox-sizing: border-box;\n\toutline: none;\n\tborder: 0;\n\theight: 100%;\n\twidth: var(--tf-input-width);\n\tfield-sizing: var(--tf-field-size);\n\ttext-align: var(--tf-text-align);\n\t&::placeholder {\n\t\tcolor: var(--tf-placeholder-color);\n\t}\n\t&:focus::placeholder {\n\t\tcolor: var(--tf-placeholder-color);\n\t}\n\t&:disabled {\n\t\tcolor: var(--core-text-disabled);\n\t}\n\t&:-webkit-autofill,\n\t&:-webkit-autofill:hover,\n\t&:-webkit-autofill:focus,\n\t&:-webkit-autofill:active {\n\t\tbox-shadow: 0 0 0 50px var(--core-button-disabled) inset !important;\n\t\t-webkit-text-fill-color: var(--core-text-primary);\n\t}\n}\n\n.TextField-module_showPassword__4Ecfo {\n\tmin-height: 18px;\n\tmin-width: 18px;\n\tmax-height: 18px;\n\tmax-width: 18px;\n\topacity: var(--tf-show-opacity);\n\t&:hover {\n\t\topacity: var(--tf-show-opacity-hover);\n\t}\n}\n\n.TextField-module_clearButton__O9ed3 {\n\tposition: absolute;\n\tright: 8px;\n\ttop: 50%;\n\tborder: 0;\n\ttransform: translateY(-50%);\n\tbackground: transparent;\n\tappearance: none;\n\t-webkit-appearance: none;\n\toutline: none;\n\tcursor: pointer;\n\tz-index: 1;\n}\n\n.TextField-module_s__0qm83 {\n}\n\n.TextField-module_m__M-tLl {\n}\n\n.TextField-module_l__gbNRz {\n}\n");
38
+ styleInject(".flexBox-module_row__z24tF {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowBetween__5FEvi {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowStart__4tcxS {\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowEnd__rVdVm {\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_column__ezvMq {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStart__C7P44 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: flex-start;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStartCenter__PKcrG {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnBetween__ERfp7 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnEnd__lLJuc {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-end;\n\talign-items: flex-end;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.type-module_body-xs-regular__ZAFft {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-medium__s3KvF {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-bold__Lhqqq {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.25px;\n}.type-module_body-s-regular__vRHSP {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-medium__tjdFc {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-bold__Iy-VX {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-m-regular__LuQBA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-medium__uW1on {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-bold__UBcvQ {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-l-regular__lOYbg {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-medium__BqRC7 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-bold__Fh2dt {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-xl-regular__pF2kC {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-medium__BeyrH {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-bold__Ruknj {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_heading-s-medium__z8L3G {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-s-bold__0O3g6 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-bold__KXxEB {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-medium__cJeEA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-medium__eRe05 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-bold__Xmwtf {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-medium__5q1m3 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-bold__k9VFV {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}\n\n.TextField-module_wrapper__qZ-p- {\n\tposition: relative;\n\tpadding: var(--tf-padding) !important;\n\tpadding-right: var(--tf-padding-right) !important;\n\tgap: 8px;\n\toverflow: visible;\n\twidth: var(--tf-width);\n\theight: var(--tf-height);\n\tborder-radius: var(--tf-border-radius);\n\tbackground: var(--tf-bg);\n\tbox-shadow: var(--tf-box-shadow);\n\ttransition: all var(--motion-water-duration) var(--motion-water) 0s;\n}\n\n.TextField-module_container__5U9yK {\n\tflex: 1;\n\theight: 100%;\n\tgap: 8px;\n}\n\n.TextField-module_label__jD8MR {\n\tcolor: var(--tf-label-color);\n\theight: auto;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.TextField-module_input__AkWBQ {\n\tcolor: var(--tf-text-color);\n\tbackground-color: transparent;\n\tbox-sizing: border-box;\n\toutline: none;\n\tborder: 0;\n\theight: 100%;\n\twidth: var(--tf-input-width);\n\tfield-sizing: var(--tf-field-size);\n\ttext-align: var(--tf-text-align);\n\t&::placeholder {\n\t\tcolor: var(--tf-placeholder-color);\n\t}\n\t&:focus::placeholder {\n\t\tcolor: var(--tf-placeholder-color);\n\t}\n\t&:disabled {\n\t\tcolor: var(--core-text-disabled);\n\t}\n\t&:-webkit-autofill,\n\t&:-webkit-autofill:hover,\n\t&:-webkit-autofill:focus,\n\t&:-webkit-autofill:active {\n\t\tbox-shadow: 0 0 0 50px var(--core-button-disabled) inset !important;\n\t\t-webkit-text-fill-color: var(--core-text-primary);\n\t}\n}\n\n.TextField-module_showPassword__4Ecfo {\n\tmin-height: 18px;\n\tmin-width: 18px;\n\tmax-height: 18px;\n\tmax-width: 18px;\n\topacity: var(--tf-show-opacity);\n\t&:hover {\n\t\topacity: var(--tf-show-opacity-hover);\n\t}\n}\n\n.TextField-module_clearButton__O9ed3 {\n border: 0;\n background: transparent;\n\tappearance: none;\n\t-webkit-appearance: none;\n\toutline: none;\n cursor: pointer;\n}\n\n.TextField-module_xs__vyt2t {\n}\n\n.TextField-module_s__0qm83 {\n}\n\n.TextField-module_m__M-tLl {\n}\n\n.TextField-module_l__gbNRz {\n}\n");
36
39
 
37
40
  const MOTION_CONFIG = {
38
41
  variants: {
@@ -52,25 +55,11 @@ const MOTION_CONFIG = {
52
55
  }
53
56
  }, TextField = React.memo(props => {
54
57
  const theme = useTheme(), {name: name = "input_name", value: value = "", label: label = "", labelSize: labelSize = "m", textSize: textSize = "m", placeholder: placeholder = "placeholder", focused: focused = !1, onSubmit: onSubmit = () => null, onChange: onChange = () => null, onBlur: onBlur = () => null, onFocus: onFocus = () => null, onKeydown: onKeydown = () => null, onAction: onAction = () => null, onPaste: onPaste = () => null, onClear: onClear = () => null, onValidate: onValidate = () => null, actionButton: actionButton = !1, maxLength: maxLength, size: size = {
55
- width: "auto",
58
+ width: "100%",
56
59
  height: "auto"
57
- }, padding: padding = "8px 16px", borderRadius: borderRadius = 8, editable: editable = !0, textAlign: textAlign = "left", isValid: isValid = !0, inline: inline = !1, noShow: noShow = !1, borderType: borderType = "box", validate: validate = !0, borderColor: borderColor = {
58
- focused: "var(--core-link-primary)",
59
- blurred: "var(--core-outline-primary)",
60
- error: "var(--feedback-warning)"
61
- }, backgroundColor: backgroundColor = {
62
- focused: "var(--core-surface-secondary)",
63
- blurred: "var(--core-surface-secondary)"
64
- }, color: color = {
65
- focused: "var(--core-text-primary)",
66
- blurred: "var(--core-text-primary)",
67
- error: "var(--feedback-warning)",
68
- placeholder: "var(--core-text-disabled)",
69
- disabled: "var(--core-text-disabled)",
70
- label: "var(--core-text-primary)"
71
- }, iconLeft: iconLeft = null, clearButton: clearButton = {
60
+ }, padding: padding, borderRadius: borderRadius = 8, editable: editable = !0, textAlign: textAlign = "left", isValid: isValid = !0, inline: inline = !1, noShow: noShow = !1, borderType: borderType = "box", validate: validate = !0, borderColorFocused: borderColorFocused = "var(--core-link-primary)", borderColorBlurred: borderColorBlurred = "var(--core-outline-primary)", borderColorError: borderColorError = "var(--feedback-warning)", backgroundColorFocused: backgroundColorFocused = "var(--core-surface-secondary)", backgroundColorBlurred: backgroundColorBlurred = "var(--core-surface-secondary)", textColorFocused: textColorFocused = "var(--core-text-primary)", textColorBlurred: textColorBlurred = "var(--core-text-primary)", textColorError: textColorError = "var(--feedback-warning)", textColorPlaceholder: textColorPlaceholder = "var(--core-text-disabled)", textColorDisabled: textColorDisabled = "var(--core-text-disabled)", labelColor: labelColor = "var(--core-text-primary)", iconLeft: iconLeft = null, clearButton: clearButton = {
72
61
  size: 20
73
- }, clearBlurs: clearBlurs = !1, disabled: disabled = !1, inputType: inputType = "text"} = props, divAttributes = __rest(props, [ "name", "value", "label", "labelSize", "textSize", "placeholder", "focused", "onSubmit", "onChange", "onBlur", "onFocus", "onKeydown", "onAction", "onPaste", "onClear", "onValidate", "actionButton", "maxLength", "size", "padding", "borderRadius", "editable", "textAlign", "isValid", "inline", "noShow", "borderType", "validate", "borderColor", "backgroundColor", "color", "iconLeft", "clearButton", "clearBlurs", "disabled", "inputType" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", input = useRef(null), [text, setText] = useState(value), [isFocused, setIsFocused] = useState(focused), [valid, setValid] = useState(isValid), [show, setShow] = useState(!1);
62
+ }, clearBlurs: clearBlurs = !1, disabled: disabled = !1, inputType: inputType = "text"} = props, divAttributes = __rest(props, [ "name", "value", "label", "labelSize", "textSize", "placeholder", "focused", "onSubmit", "onChange", "onBlur", "onFocus", "onKeydown", "onAction", "onPaste", "onClear", "onValidate", "actionButton", "maxLength", "size", "padding", "borderRadius", "editable", "textAlign", "isValid", "inline", "noShow", "borderType", "validate", "borderColorFocused", "borderColorBlurred", "borderColorError", "backgroundColorFocused", "backgroundColorBlurred", "textColorFocused", "textColorBlurred", "textColorError", "textColorPlaceholder", "textColorDisabled", "labelColor", "iconLeft", "clearButton", "clearBlurs", "disabled", "inputType" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", input = useRef(null), [text, setText] = useState(value), [isFocused, setIsFocused] = useState(focused), [valid, setValid] = useState(isValid), [show, setShow] = useState(!1);
74
63
  useEffect(() => {
75
64
  input.current && (focused ? input.current.focus() : input.current.blur(), setIsFocused(focused));
76
65
  }, [ focused ]), useEffect(() => {
@@ -83,9 +72,10 @@ const MOTION_CONFIG = {
83
72
  const ok = entry.length > 1 || "" === entry;
84
73
  setValid(ok), valid !== ok && onValidate(ok);
85
74
  }, [ onValidate, valid, validate ]), handleClearTextField = useCallback(() => {
86
- (null == input ? void 0 : input.current) && (clearBlurs || input.current.focus(),
87
- setText(""), textIsValid("")), onChange(""), onClear();
88
- }, [ clearBlurs, onChange, onClear, textIsValid ]), handleValueChange = useCallback(newValue => {
75
+ var _a;
76
+ disabled || "" === (null === (_a = input.current) || void 0 === _a ? void 0 : _a.value) || ((null == input ? void 0 : input.current) && (clearBlurs || input.current.focus(),
77
+ setText(""), textIsValid("")), onChange(""), onClear());
78
+ }, [ disabled, clearBlurs, onChange, onClear, textIsValid ]), handleValueChange = useCallback(newValue => {
89
79
  disabled || (setText(newValue), onChange(newValue), valid || textIsValid(text));
90
80
  }, [ onChange, textIsValid, text, valid, disabled ]), handleBlur = useCallback(() => {
91
81
  disabled || (textIsValid(text), setIsFocused(!1), onBlur(text));
@@ -104,36 +94,36 @@ const MOTION_CONFIG = {
104
94
  width: iconLeft.size,
105
95
  height: iconLeft.size
106
96
  } : void 0, [ iconLeft ]), iconStrokeColor = useMemo(() => (null == iconLeft ? void 0 : iconLeft.color) ? iconLeft.color : theme.current.colors["core-icon-secondary"], [ iconLeft, theme ]), clearButtonStyle = useMemo(() => clearButton ? {
107
- width: clearButton.size,
108
- height: clearButton.size
109
- } : void 0, [ clearButton ]), setStyleValue = useCallback(value => void 0 === value ? "unset" : "string" == typeof value ? value : `${value}px`, []), setBackgroundColor = useMemo(() => {
97
+ minWidth: clearButton.size,
98
+ minHeight: clearButton.size
99
+ } : void 0, [ clearButton ]), setBackgroundColor = useMemo(() => inline ? "unset" : isFocused ? null != backgroundColorFocused ? backgroundColorFocused : "transparent" : null != backgroundColorBlurred ? backgroundColorBlurred : "transparent", [ inline, isFocused, backgroundColorFocused, backgroundColorBlurred ]), setBorderColor = useMemo(() => {
110
100
  var _a, _b;
111
- return inline ? "unset" : isFocused ? null !== (_a = backgroundColor.focused) && void 0 !== _a ? _a : "transparent" : null !== (_b = backgroundColor.blurred) && void 0 !== _b ? _b : "transparent";
112
- }, [ inline, isFocused, backgroundColor ]), setBorderColor = useMemo(() => {
113
- var _a, _b, _c, _d, _e;
114
- return "none" === borderType ? "transparent" : validate && !valid ? null !== (_b = null !== (_a = borderColor.error) && void 0 !== _a ? _a : borderColor.blurred) && void 0 !== _b ? _b : "transparent" : isFocused ? null !== (_d = null !== (_c = borderColor.focused) && void 0 !== _c ? _c : borderColor.blurred) && void 0 !== _d ? _d : "transparent" : null !== (_e = borderColor.blurred) && void 0 !== _e ? _e : "transparent";
115
- }, [ borderType, valid, isFocused, borderColor, validate ]), setBoxShadow = useMemo(() => "none" === borderType ? "unset" : "underline" === borderType ? `0 1px 0 0 ${setBorderColor}` : `0 0 0 1px ${setBorderColor}`, [ borderType, setBorderColor ]), textColor = useMemo(() => {
116
- var _a, _b, _c;
117
- return validate && !valid ? null !== (_a = color.error) && void 0 !== _a ? _a : "var(--core-text-primary)" : isFocused ? null !== (_b = color.focused) && void 0 !== _b ? _b : "var(--core-text-primary)" : null !== (_c = color.blurred) && void 0 !== _c ? _c : "var(--core-text-primary)";
118
- }, [ isFocused, valid, color, validate ]), setTextAlign = useMemo(() => null != textAlign ? textAlign : "left", [ textAlign ]), setShowOpacity = useMemo(() => "password" !== inputType ? "0" : isFocused ? "1" : "0.5", [ inputType, isFocused ]), cssVars = useMemo(() => {
119
- var _a;
120
- return {
121
- "--tf-input-width": "unset" !== size.width && "100%",
122
- "--tf-field-size": "auto" === size.width ? "content" : "unset",
123
- "--tf-width": setStyleValue(size.width),
124
- "--tf-height": setStyleValue(size.height),
125
- "--tf-padding": setStyleValue(padding),
126
- "--tf-padding-label-left": "" === label ? "unset" : "0",
127
- "--tf-border-radius": setStyleValue(borderRadius),
128
- "--tf-bg-color": setBackgroundColor,
129
- "--tf-box-shadow": setBoxShadow,
130
- "--tf-color": textColor,
131
- "--tf-label-color": disabled ? "var(--core-text-disabled)" : color.label,
132
- "--tf-text-align": setTextAlign,
133
- "--tf-show-opacity": setShowOpacity,
134
- "--tf-placeholder-color": null !== (_a = color.placeholder) && void 0 !== _a ? _a : "var(--core-text-disabled)"
135
- };
136
- }, [ size, padding, label, borderRadius, setStyleValue, setBackgroundColor, setBoxShadow, textColor, setTextAlign, setShowOpacity, color, disabled ]);
101
+ return "none" === borderType ? "transparent" : validate && !valid ? null !== (_a = null != borderColorError ? borderColorError : borderColorBlurred) && void 0 !== _a ? _a : "transparent" : isFocused ? null !== (_b = null != borderColorFocused ? borderColorFocused : borderColorBlurred) && void 0 !== _b ? _b : "transparent" : null != borderColorBlurred ? borderColorBlurred : "transparent";
102
+ }, [ borderType, valid, isFocused, borderColorError, borderColorFocused, borderColorBlurred, validate ]), setBoxShadow = useMemo(() => "none" === borderType ? "unset" : "underline" === borderType ? `0 1px 0 0 ${setBorderColor}` : `0 0 0 1px ${setBorderColor}`, [ borderType, setBorderColor ]), textColor = useMemo(() => validate && !valid ? null != textColorError ? textColorError : "var(--core-text-primary)" : isFocused ? null != textColorFocused ? textColorFocused : "var(--core-text-primary)" : null != textColorBlurred ? textColorBlurred : "var(--core-text-primary)", [ isFocused, valid, textColorError, textColorFocused, textColorBlurred, validate ]), setTextAlign = useMemo(() => null != textAlign ? textAlign : "left", [ textAlign ]), setShowOpacity = useMemo(() => "password" !== inputType ? "0" : isFocused ? "1" : "0.5", [ inputType, isFocused ]), setPaddingRight = useMemo(() => {
103
+ const defaultPadding = clearButton ? 8 : 16;
104
+ if (!padding) return defaultPadding;
105
+ if ("string" == typeof padding) {
106
+ const paddingParts = padding.split(" "), sidePadding = paddingParts[1 === paddingParts.length ? 0 : 1], sideAsNumber = Number.parseFloat(sidePadding.replace("px", ""));
107
+ return Number.isNaN(sideAsNumber) ? defaultPadding : sideAsNumber - 4;
108
+ }
109
+ return clearButton ? padding - 4 : padding;
110
+ }, [ padding, clearButton ]), cssVars = useMemo(() => ({
111
+ "--tf-input-width": "unset" !== size.width && "100%",
112
+ "--tf-field-size": "auto" === size.width ? "content" : "unset",
113
+ "--tf-width": setStyle(size.width),
114
+ "--tf-height": setStyle(size.height),
115
+ "--tf-padding": setStyle(padding, "8px 16px"),
116
+ "--tf-padding-right": `${setPaddingRight}px`,
117
+ "--tf-padding-label-left": "" === label ? "unset" : "0",
118
+ "--tf-border-radius": setStyle(borderRadius),
119
+ "--tf-bg-color": setBackgroundColor,
120
+ "--tf-box-shadow": setBoxShadow,
121
+ "--tf-color": textColor,
122
+ "--tf-label-color": disabled ? null != textColorDisabled ? textColorDisabled : "var(--core-text-disabled)" : labelColor,
123
+ "--tf-text-align": setTextAlign,
124
+ "--tf-show-opacity": setShowOpacity,
125
+ "--tf-placeholder-color": null != textColorPlaceholder ? textColorPlaceholder : "var(--core-text-disabled)"
126
+ }), [ size, padding, label, borderRadius, setBackgroundColor, setBoxShadow, textColor, setTextAlign, setShowOpacity, textColorPlaceholder, textColorDisabled, labelColor, disabled, setPaddingRight ]);
137
127
  return jsxs("div", Object.assign({
138
128
  id: divId,
139
129
  className: `${css.wrapper}${divClass}`,
@@ -170,24 +160,16 @@ const MOTION_CONFIG = {
170
160
  onMouseDown: e => e.stopPropagation(),
171
161
  disabled: !editable || disabled,
172
162
  maxLength: maxLength
173
- }), jsx(AnimatePresence, {
174
- initial: !1,
175
- children: isFocused && clearButton && "" !== text && jsx(motion.button, {
176
- type: "button",
177
- "aria-label": "Clear text",
178
- className: css.clearButton,
179
- style: clearButtonStyle,
180
- variants: MOTION_CONFIG.variants,
181
- initial: "initial",
182
- animate: "animate",
183
- exit: "exit",
184
- transition: MOTION_CONFIG.transition,
185
- onClick: handleClearTextField,
186
- children: jsx(Icon, {
187
- name: "x",
188
- size: clearButton.size,
189
- strokeColor: theme.current.colors["core-icon-secondary"]
190
- })
163
+ }), clearButton && jsx("button", {
164
+ type: "button",
165
+ "aria-label": "Clear text",
166
+ className: css.clearButton,
167
+ style: clearButtonStyle,
168
+ onClick: handleClearTextField,
169
+ children: isFocused && "" !== text && jsx(Icon, {
170
+ name: "x",
171
+ size: clearButton.size,
172
+ strokeColor: theme.current.colors["core-icon-secondary"]
191
173
  })
192
174
  }), jsx(AnimatePresence, {
193
175
  initial: !1,
@@ -222,7 +204,7 @@ const MOTION_CONFIG = {
222
204
  }) ]
223
205
  }) ]
224
206
  }));
225
- }, (prevProps, nextProps) => prevProps.value === nextProps.value && prevProps.borderType === nextProps.borderType && prevProps.borderRadius === nextProps.borderRadius && prevProps.borderColor === nextProps.borderColor && prevProps.labelSize === nextProps.labelSize && prevProps.focused === nextProps.focused && prevProps.isValid === nextProps.isValid && prevProps.validate === nextProps.validate && prevProps.disabled === nextProps.disabled && prevProps.color === nextProps.color && prevProps.label === nextProps.label && prevProps.inputType === nextProps.inputType && prevProps.textSize === nextProps.textSize && prevProps.padding === nextProps.padding && prevProps.textAlign === nextProps.textAlign && prevProps.placeholder === nextProps.placeholder);
207
+ }, (prevProps, nextProps) => prevProps.value === nextProps.value && prevProps.borderType === nextProps.borderType && prevProps.borderRadius === nextProps.borderRadius && prevProps.borderColorFocused === nextProps.borderColorFocused && prevProps.borderColorBlurred === nextProps.borderColorBlurred && prevProps.borderColorError === nextProps.borderColorError && prevProps.backgroundColorFocused === nextProps.backgroundColorFocused && prevProps.backgroundColorBlurred === nextProps.backgroundColorBlurred && prevProps.textColorFocused === nextProps.textColorFocused && prevProps.textColorBlurred === nextProps.textColorBlurred && prevProps.textColorError === nextProps.textColorError && prevProps.textColorPlaceholder === nextProps.textColorPlaceholder && prevProps.textColorDisabled === nextProps.textColorDisabled && prevProps.labelColor === nextProps.labelColor && prevProps.labelSize === nextProps.labelSize && prevProps.focused === nextProps.focused && prevProps.isValid === nextProps.isValid && prevProps.validate === nextProps.validate && prevProps.disabled === nextProps.disabled && prevProps.label === nextProps.label && prevProps.inputType === nextProps.inputType && prevProps.textSize === nextProps.textSize && prevProps.padding === nextProps.padding && prevProps.textAlign === nextProps.textAlign && prevProps.placeholder === nextProps.placeholder);
226
208
 
227
209
  TextField.displayName = "TextField";
228
210
 
@@ -12,19 +12,20 @@ import { s as styleInject } from "./style-inject.es-D0BjEaN8.mjs";
12
12
 
13
13
  var css = {
14
14
  wrapper: "Tip-module_wrapper__D7ACT flexBox-module_rowStart__4tcxS",
15
+ xs: "Tip-module_xs__wsz9y type-module_body-xs-regular__ZAFft",
15
16
  s: "Tip-module_s__Wvz3q type-module_body-s-regular__vRHSP",
16
17
  m: "Tip-module_m__9qJbB type-module_body-m-regular__LuQBA",
17
18
  l: "Tip-module_l__OdNuh type-module_body-l-regular__lOYbg"
18
19
  };
19
20
 
20
- styleInject(".flexBox-module_row__z24tF {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowBetween__5FEvi {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowStart__4tcxS {\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowEnd__rVdVm {\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_column__ezvMq {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStart__C7P44 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: flex-start;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStartCenter__PKcrG {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnBetween__ERfp7 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnEnd__lLJuc {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-end;\n\talign-items: flex-end;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.type-module_body-xs-regular__ZAFft {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-medium__s3KvF {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-bold__Lhqqq {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.25px;\n}.type-module_body-s-regular__vRHSP {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-medium__tjdFc {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-bold__Iy-VX {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-m-regular__LuQBA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-medium__uW1on {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-bold__UBcvQ {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-l-regular__lOYbg {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-medium__BqRC7 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-bold__Fh2dt {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-xl-regular__pF2kC {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-medium__BeyrH {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-bold__Ruknj {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_heading-s-medium__z8L3G {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-s-bold__0O3g6 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-bold__KXxEB {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-medium__cJeEA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-medium__eRe05 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-bold__Xmwtf {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-medium__5q1m3 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-bold__k9VFV {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}\n\n.Tip-module_wrapper__D7ACT {\n\tpadding: var(--tooltip-padding) !important;\n\tposition: fixed;\n\tborder: var(--tooltip-border);\n\tborder-radius: var(--tooltip-border-radius);\n\tbackground: var(--tooltip-background);\n\tz-index: var(--elevation-describe);\n}\n\n.Tip-module_s__Wvz3q {\n}\n\n.Tip-module_m__9qJbB {\n}\n.Tip-module_l__OdNuh {\n}\n");
21
+ styleInject(".flexBox-module_row__z24tF {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowBetween__5FEvi {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowStart__4tcxS {\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowEnd__rVdVm {\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_column__ezvMq {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStart__C7P44 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: flex-start;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStartCenter__PKcrG {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnBetween__ERfp7 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnEnd__lLJuc {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-end;\n\talign-items: flex-end;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.type-module_body-xs-regular__ZAFft {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-medium__s3KvF {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-bold__Lhqqq {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.25px;\n}.type-module_body-s-regular__vRHSP {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-medium__tjdFc {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-bold__Iy-VX {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-m-regular__LuQBA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-medium__uW1on {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-bold__UBcvQ {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-l-regular__lOYbg {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-medium__BqRC7 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-bold__Fh2dt {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-xl-regular__pF2kC {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-medium__BeyrH {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-bold__Ruknj {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_heading-s-medium__z8L3G {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-s-bold__0O3g6 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-bold__KXxEB {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-medium__cJeEA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-medium__eRe05 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-bold__Xmwtf {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-medium__5q1m3 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-bold__k9VFV {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}\n\n.Tip-module_wrapper__D7ACT {\n padding: var(--tooltip-padding) !important;\n position: fixed;\n\tborder: var(--tooltip-border);\n\tborder-radius: var(--tooltip-border-radius);\n\tbackground: var(--tooltip-background);\n z-index: var(--elevation-describe);\n}\n\n.Tip-module_xs__wsz9y {\n}\n\n.Tip-module_s__Wvz3q {\n}\n\n.Tip-module_m__9qJbB {\n}\n.Tip-module_l__OdNuh {\n}\n");
21
22
 
22
23
  const tipBasePos = {
23
24
  left: 0,
24
25
  top: 0
25
26
  }, TipBase = React.forwardRef((props, ref) => {
26
27
  var _a;
27
- const {tip: tip, size: size = "s", bgColor: bgColor, color: color, border: border = !0, borderColor: borderColor, padding: padding, radius: radius, coords: coords, showDelay: showDelay = 500, hideDelay: hideDelay = 2500} = props, divAttributes = __rest(props, [ "tip", "size", "bgColor", "color", "border", "borderColor", "padding", "radius", "coords", "showDelay", "hideDelay" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? `${className}` : "", [pos, setPos] = useState(tipBasePos), [ready, setReady] = useState(!1), [animate, setAnimate] = useState(!1), timer = useRef(null);
28
+ const {tip: tip, size: size = "s", backgroundColor: backgroundColor, bgColor: bgColor, textColor: textColor, color: color, border: border = !0, borderColor: borderColor, padding: padding, borderRadius: borderRadius, radius: radius, coords: coords, showDelay: showDelay = 500, hideDelay: hideDelay = 2500} = props, divAttributes = __rest(props, [ "tip", "size", "backgroundColor", "bgColor", "textColor", "color", "border", "borderColor", "padding", "borderRadius", "radius", "coords", "showDelay", "hideDelay" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? `${className}` : "", [pos, setPos] = useState(tipBasePos), [ready, setReady] = useState(!1), [animate, setAnimate] = useState(!1), timer = useRef(null), resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedTextColor = null != textColor ? textColor : color, resolvedBorderRadius = null != borderRadius ? borderRadius : radius;
28
29
  useEffect(() => {
29
30
  timer.current && clearTimeout(timer.current);
30
31
  const {x: x, y: y} = null != coords ? coords : {
@@ -51,11 +52,11 @@ const tipBasePos = {
51
52
  }, [ coords, showDelay, hideDelay ]), useEffect(() => setAnimate(ready), [ ready ]);
52
53
  const cssVars = useMemo(() => ({
53
54
  "--tooltip-padding": null != padding ? padding : "3px 6px",
54
- "--tooltip-background": null != bgColor ? bgColor : "var(--core-surface-secondary)",
55
- "--tooltip-color": null != color ? color : "var(--core-text-primary)",
55
+ "--tooltip-background": null != resolvedBackgroundColor ? resolvedBackgroundColor : "var(--core-surface-secondary)",
56
+ "--tooltip-color": null != resolvedTextColor ? resolvedTextColor : "var(--core-text-primary)",
56
57
  "--tooltip-border": border ? `1px solid ${null != borderColor ? borderColor : "var(--core-outline-primary)"}` : "unset",
57
- "--tooltip-border-radius": null != radius ? radius : "4px"
58
- }), [ padding, bgColor, color, border, borderColor, radius ]), coordStyle = useMemo(() => {
58
+ "--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : "4px"
59
+ }), [ padding, resolvedBackgroundColor, resolvedTextColor, border, borderColor, resolvedBorderRadius ]), coordStyle = useMemo(() => {
59
60
  const {left: left, top: top} = pos;
60
61
  return {
61
62
  left: `${null != left ? left : 0}px`,
@@ -14,7 +14,7 @@ import "../hooks/useWindow.mjs";
14
14
 
15
15
  import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-N8KLjOXc.mjs";
16
16
 
17
- import { I as Icon } from "./Icon-C92f63Ib.mjs";
17
+ import { I as Icon } from "./Icon-CUSQtytG.mjs";
18
18
 
19
19
  import { s as styleInject } from "./style-inject.es-D0BjEaN8.mjs";
20
20
 
@@ -4,14 +4,14 @@ import React, { useState, useRef, useId, useCallback, useMemo } from "react";
4
4
 
5
5
  import { s as setStyle, a as accessibleKeyDown } from "./misc-N8KLjOXc.mjs";
6
6
 
7
- import { F as FileList } from "./FileList-Ckix8gUY.mjs";
7
+ import { I as Icon } from "./Icon-CUSQtytG.mjs";
8
8
 
9
- import { I as Icon } from "./Icon-C92f63Ib.mjs";
10
-
11
- import { P as ProgressIndicator } from "./ProgressIndicator-CfM2c4ty.mjs";
9
+ import { P as ProgressIndicator } from "./ProgressIndicator-D7paCpgY.mjs";
12
10
 
13
11
  import { s as styleInject } from "./style-inject.es-D0BjEaN8.mjs";
14
12
 
13
+ import { F as FileList } from "./FileList-5LElsgoE.mjs";
14
+
15
15
  var css = {
16
16
  wrapper: "UploadArea-module_wrapper__aircC flexBox-module_column__ezvMq",
17
17
  icon: "UploadArea-module_icon__M7n-m flexBox-module_row__z24tF",
@@ -36,7 +36,7 @@ var FileTypes;
36
36
  }(FileTypes || (FileTypes = {}));
37
37
 
38
38
  const UploadAreaBase = React.forwardRef((props, ref) => {
39
- const {icon: icon = "upload", iconColor: iconColor = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-special)", title: title = "Upload Files", width: width = "100%", height: height = "auto", message: message = "Drag and drop files here or click to upload", busyMessage: busyMessage = "Uploading in progress", iconSize: iconSize = 24, textSize: textSize = "m", border: border = 1, borderStyle: borderStyle = "dashed", borderColor: borderColor = "var(--core-outline-primary)", borderColorHover: borderColorHover = "var(--core-outline-special)", radius: radius = 8, padding: padding = 32, bgColor: bgColor = "var(--core-surface-secondary)", bgColorHover: bgColorHover = "var(--core-surface-special)", acceptedTypes: acceptedTypes = allTypes, multiple: multiple = !0, busy: busy = !1, canRemove: canRemove = !0, showProgress: showProgress = !0, files: files = [], onUpload: onUpload} = props, [hovered, setHovered] = useState(!1), inputRef = useRef(null), dragDepth = useRef(0), inputId = useId(), titleId = useId(), messageId = useId(), isInteractive = !busy && files.length < 1, handleClickUpload = useCallback(() => {
39
+ const {icon: icon = "upload", iconColor: iconColor = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-special)", title: title = "Upload Files", width: width = "100%", height: height = "auto", message: message = "Drag and drop files here or click to upload", busyMessage: busyMessage = "Uploading in progress", iconSize: iconSize = 24, textSize: textSize = "m", borderWidth: borderWidth, border: border = 1, borderStyle: borderStyle = "dashed", borderColor: borderColor = "var(--core-outline-primary)", borderColorHover: borderColorHover = "var(--core-outline-special)", borderRadius: borderRadius, radius: radius = 8, padding: padding = 32, backgroundColor: backgroundColor, backgroundColorHover: backgroundColorHover, bgColor: bgColor = "var(--core-surface-secondary)", bgColorHover: bgColorHover = "var(--core-surface-special)", acceptedTypes: acceptedTypes = allTypes, multiple: multiple = !0, busy: busy = !1, canRemove: canRemove = !0, showProgress: showProgress = !0, files: files = [], onUpload: onUpload} = props, [hovered, setHovered] = useState(!1), inputRef = useRef(null), dragDepth = useRef(0), inputId = useId(), titleId = useId(), messageId = useId(), isInteractive = !busy && files.length < 1, resolvedBorderWidth = null != borderWidth ? borderWidth : border, resolvedBorderRadius = null != borderRadius ? borderRadius : radius, resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorHover = null != backgroundColorHover ? backgroundColorHover : bgColorHover, handleClickUpload = useCallback(() => {
40
40
  var _a;
41
41
  isInteractive && (null == inputRef ? void 0 : inputRef.current) && (inputRef.current.value = "",
42
42
  null === (_a = inputRef.current) || void 0 === _a || _a.click());
@@ -57,17 +57,17 @@ const UploadAreaBase = React.forwardRef((props, ref) => {
57
57
  const files = Array.from(null !== (_a = e.dataTransfer.files) && void 0 !== _a ? _a : []);
58
58
  null == onUpload || onUpload(files);
59
59
  }, [ busy, onUpload ]), iconStrokeColor = useMemo(() => hovered ? iconColorHover : iconColor, [ hovered, iconColor, iconColorHover ]), cssVars = useMemo(() => ({
60
- "--ua-border": `${border}px`,
60
+ "--ua-border": `${resolvedBorderWidth}px`,
61
61
  "--ua-border-style": borderStyle,
62
62
  "--ua-border-color": hovered || busy ? borderColorHover : borderColor,
63
- "--ua-radius": `${radius}px`,
63
+ "--ua-radius": `${resolvedBorderRadius}px`,
64
64
  "--ua-padding": setStyle(padding),
65
- "--ua-bg-color": hovered ? bgColorHover : bgColor,
65
+ "--ua-bg-color": hovered ? resolvedBackgroundColorHover : resolvedBackgroundColor,
66
66
  "--ua-icon-size": `${iconSize}px`,
67
67
  "--ua-cursor": busy || files.length > 0 ? "default" : "pointer",
68
68
  "--ua-width": setStyle(width),
69
69
  "--ua-height": setStyle(height)
70
- }), [ border, borderStyle, borderColor, borderColorHover, radius, padding, bgColor, bgColorHover, iconSize, busy, hovered, height, files.length, width ]);
70
+ }), [ resolvedBorderWidth, borderStyle, borderColor, borderColorHover, resolvedBorderRadius, padding, resolvedBackgroundColor, resolvedBackgroundColorHover, iconSize, busy, hovered, height, files.length, width ]);
71
71
  return jsxs("div", {
72
72
  className: css.wrapper,
73
73
  style: cssVars,