@vincentgraul/react-components 1.0.90 → 1.1.0

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 (353) hide show
  1. package/README.md +2 -1
  2. package/dist/react-components.css +2 -1
  3. package/dist/react-components.js +25 -49423
  4. package/dist/react-components10.js +8 -0
  5. package/dist/react-components11.js +33 -0
  6. package/dist/react-components12.js +10 -0
  7. package/dist/react-components13.js +72 -0
  8. package/dist/react-components14.js +7 -0
  9. package/dist/react-components15.js +51 -0
  10. package/dist/react-components16.js +12 -0
  11. package/dist/react-components17.js +98 -0
  12. package/dist/react-components18.js +10 -0
  13. package/dist/react-components19.js +38 -0
  14. package/dist/react-components2.js +4 -0
  15. package/dist/react-components20.js +8 -0
  16. package/dist/react-components21.js +85 -0
  17. package/dist/react-components22.js +3 -0
  18. package/dist/react-components23.js +22 -0
  19. package/dist/react-components24.js +3 -0
  20. package/dist/react-components25.js +29 -0
  21. package/dist/react-components26.js +11 -0
  22. package/dist/react-components27.js +94 -0
  23. package/dist/react-components28.js +6 -0
  24. package/dist/react-components29.js +31 -0
  25. package/dist/react-components3.js +10 -0
  26. package/dist/react-components30.js +8 -0
  27. package/dist/react-components31.js +31 -0
  28. package/dist/react-components32.js +6 -0
  29. package/dist/react-components33.js +23 -0
  30. package/dist/react-components34.js +3 -0
  31. package/dist/react-components35.js +19 -0
  32. package/dist/react-components36.js +7 -0
  33. package/dist/react-components37.js +31 -0
  34. package/dist/react-components38.js +13 -0
  35. package/dist/react-components39.js +53 -0
  36. package/dist/react-components4.js +42 -0
  37. package/dist/react-components40.js +20 -0
  38. package/dist/react-components41.js +43 -0
  39. package/dist/react-components42.js +6 -0
  40. package/dist/react-components43.js +13 -0
  41. package/dist/react-components44.js +13 -0
  42. package/dist/react-components6.js +3 -0
  43. package/dist/react-components7.js +23 -0
  44. package/dist/react-components8.js +11 -0
  45. package/dist/react-components9.js +63 -0
  46. package/dist/src/components/breadcrumb/breadcrumb.d.ts +13 -0
  47. package/dist/{button → src/components/button}/button.d.ts +5 -4
  48. package/dist/src/components/card/card.d.ts +22 -0
  49. package/dist/{checkbox → src/components/checkbox}/checkbox.d.ts +3 -4
  50. package/dist/src/components/country-selector/country-selector.d.ts +10 -0
  51. package/dist/src/components/drop-zone/drop-zone.d.ts +26 -0
  52. package/dist/{flex → src/components/flex}/flex.d.ts +5 -4
  53. package/dist/{index.d.ts → src/components/index.d.ts} +1 -7
  54. package/dist/src/components/input/input.d.ts +20 -0
  55. package/dist/{list → src/components/list}/list.d.ts +4 -3
  56. package/dist/src/components/loader/loader.d.ts +16 -0
  57. package/dist/src/components/modal/modal.d.ts +34 -0
  58. package/dist/src/components/pagination/index.d.ts +1 -0
  59. package/dist/src/components/pagination/pagination.d.ts +14 -0
  60. package/dist/src/components/radio/index.d.ts +1 -0
  61. package/dist/src/components/radio/radio.d.ts +15 -0
  62. package/dist/{select → src/components/select}/select.d.ts +15 -14
  63. package/dist/{table → src/components/table}/table.d.ts +5 -4
  64. package/dist/src/components/table/table.types.d.ts +8 -0
  65. package/dist/src/components/text/text.d.ts +14 -0
  66. package/dist/src/components/wizard/wizard.d.ts +32 -0
  67. package/dist/{wizard → src/components/wizard}/wizard.types.d.ts +2 -2
  68. package/dist/src/hooks/index.d.ts +7 -0
  69. package/dist/src/hooks/use-breadcrumb/index.d.ts +2 -0
  70. package/dist/src/hooks/use-breadcrumb/use-breadcrumb.d.ts +9 -0
  71. package/dist/src/hooks/use-breadcrumb/use-breadcrumb.types.d.ts +4 -0
  72. package/dist/{use-match-resolution → src/hooks/use-match-resolution}/use-match-resolution.d.ts +1 -1
  73. package/dist/{use-scroll-to → src/hooks/use-scroll-to}/use-scroll-to.d.ts +1 -1
  74. package/dist/src/hooks/use-visible/use-visible.d.ts +2 -0
  75. package/dist/src/index.d.ts +2 -0
  76. package/dist/src/types.d.ts +6 -0
  77. package/dist/src/utils.d.ts +5 -0
  78. package/package.json +59 -69
  79. package/dist/breadcrumb/breadcrumb.d.ts +0 -8
  80. package/dist/breadcrumb/breadcrumb.types.d.ts +0 -11
  81. package/dist/breadcrumb/use-breadcrumb.d.ts +0 -2
  82. package/dist/card/card.d.ts +0 -18
  83. package/dist/country-selector/country-selector.d.ts +0 -11
  84. package/dist/country-selector/icons/Ad.d.ts +0 -3
  85. package/dist/country-selector/icons/Ae.d.ts +0 -3
  86. package/dist/country-selector/icons/Af.d.ts +0 -3
  87. package/dist/country-selector/icons/Ag.d.ts +0 -3
  88. package/dist/country-selector/icons/Ai.d.ts +0 -3
  89. package/dist/country-selector/icons/Al.d.ts +0 -3
  90. package/dist/country-selector/icons/Am.d.ts +0 -3
  91. package/dist/country-selector/icons/Ao.d.ts +0 -3
  92. package/dist/country-selector/icons/Ar.d.ts +0 -3
  93. package/dist/country-selector/icons/As.d.ts +0 -3
  94. package/dist/country-selector/icons/At.d.ts +0 -3
  95. package/dist/country-selector/icons/Au.d.ts +0 -3
  96. package/dist/country-selector/icons/Aw.d.ts +0 -3
  97. package/dist/country-selector/icons/Az.d.ts +0 -3
  98. package/dist/country-selector/icons/Ba.d.ts +0 -3
  99. package/dist/country-selector/icons/Bb.d.ts +0 -3
  100. package/dist/country-selector/icons/Bd.d.ts +0 -3
  101. package/dist/country-selector/icons/Be.d.ts +0 -3
  102. package/dist/country-selector/icons/Bf.d.ts +0 -3
  103. package/dist/country-selector/icons/Bg.d.ts +0 -3
  104. package/dist/country-selector/icons/Bh.d.ts +0 -3
  105. package/dist/country-selector/icons/Bi.d.ts +0 -3
  106. package/dist/country-selector/icons/Bj.d.ts +0 -3
  107. package/dist/country-selector/icons/Bm.d.ts +0 -3
  108. package/dist/country-selector/icons/Bo.d.ts +0 -3
  109. package/dist/country-selector/icons/Br.d.ts +0 -3
  110. package/dist/country-selector/icons/Bs.d.ts +0 -3
  111. package/dist/country-selector/icons/Bt.d.ts +0 -3
  112. package/dist/country-selector/icons/Bw.d.ts +0 -3
  113. package/dist/country-selector/icons/By.d.ts +0 -3
  114. package/dist/country-selector/icons/Bz.d.ts +0 -3
  115. package/dist/country-selector/icons/Ca.d.ts +0 -3
  116. package/dist/country-selector/icons/Cd.d.ts +0 -3
  117. package/dist/country-selector/icons/Cf.d.ts +0 -3
  118. package/dist/country-selector/icons/Cg.d.ts +0 -3
  119. package/dist/country-selector/icons/Ch.d.ts +0 -3
  120. package/dist/country-selector/icons/Ci.d.ts +0 -3
  121. package/dist/country-selector/icons/Ck.d.ts +0 -3
  122. package/dist/country-selector/icons/Cl.d.ts +0 -3
  123. package/dist/country-selector/icons/Cm.d.ts +0 -3
  124. package/dist/country-selector/icons/Cn.d.ts +0 -3
  125. package/dist/country-selector/icons/Co.d.ts +0 -3
  126. package/dist/country-selector/icons/Cr.d.ts +0 -3
  127. package/dist/country-selector/icons/Cu.d.ts +0 -3
  128. package/dist/country-selector/icons/Cv.d.ts +0 -3
  129. package/dist/country-selector/icons/Cw.d.ts +0 -3
  130. package/dist/country-selector/icons/Cy.d.ts +0 -3
  131. package/dist/country-selector/icons/Cz.d.ts +0 -3
  132. package/dist/country-selector/icons/De.d.ts +0 -3
  133. package/dist/country-selector/icons/Dj.d.ts +0 -3
  134. package/dist/country-selector/icons/Dk.d.ts +0 -3
  135. package/dist/country-selector/icons/Dm.d.ts +0 -3
  136. package/dist/country-selector/icons/Do.d.ts +0 -3
  137. package/dist/country-selector/icons/Dz.d.ts +0 -3
  138. package/dist/country-selector/icons/Ec.d.ts +0 -3
  139. package/dist/country-selector/icons/Ee.d.ts +0 -3
  140. package/dist/country-selector/icons/Eg.d.ts +0 -3
  141. package/dist/country-selector/icons/Er.d.ts +0 -3
  142. package/dist/country-selector/icons/Es.d.ts +0 -3
  143. package/dist/country-selector/icons/Et.d.ts +0 -3
  144. package/dist/country-selector/icons/Fi.d.ts +0 -3
  145. package/dist/country-selector/icons/Fj.d.ts +0 -3
  146. package/dist/country-selector/icons/Fk.d.ts +0 -3
  147. package/dist/country-selector/icons/Fm.d.ts +0 -3
  148. package/dist/country-selector/icons/Fo.d.ts +0 -3
  149. package/dist/country-selector/icons/Fr.d.ts +0 -3
  150. package/dist/country-selector/icons/Ga.d.ts +0 -3
  151. package/dist/country-selector/icons/Gb.d.ts +0 -3
  152. package/dist/country-selector/icons/Gd.d.ts +0 -3
  153. package/dist/country-selector/icons/Ge.d.ts +0 -3
  154. package/dist/country-selector/icons/Gg.d.ts +0 -3
  155. package/dist/country-selector/icons/Gh.d.ts +0 -3
  156. package/dist/country-selector/icons/Gi.d.ts +0 -3
  157. package/dist/country-selector/icons/Gl.d.ts +0 -3
  158. package/dist/country-selector/icons/Gm.d.ts +0 -3
  159. package/dist/country-selector/icons/Gn.d.ts +0 -3
  160. package/dist/country-selector/icons/Gq.d.ts +0 -3
  161. package/dist/country-selector/icons/Gr.d.ts +0 -3
  162. package/dist/country-selector/icons/Gt.d.ts +0 -3
  163. package/dist/country-selector/icons/Gu.d.ts +0 -3
  164. package/dist/country-selector/icons/Gw.d.ts +0 -3
  165. package/dist/country-selector/icons/Hk.d.ts +0 -3
  166. package/dist/country-selector/icons/Hn.d.ts +0 -3
  167. package/dist/country-selector/icons/Hr.d.ts +0 -3
  168. package/dist/country-selector/icons/Ht.d.ts +0 -3
  169. package/dist/country-selector/icons/Hu.d.ts +0 -3
  170. package/dist/country-selector/icons/Id.d.ts +0 -3
  171. package/dist/country-selector/icons/Ie.d.ts +0 -3
  172. package/dist/country-selector/icons/Il.d.ts +0 -3
  173. package/dist/country-selector/icons/Im.d.ts +0 -3
  174. package/dist/country-selector/icons/In.d.ts +0 -3
  175. package/dist/country-selector/icons/Io.d.ts +0 -3
  176. package/dist/country-selector/icons/Iq.d.ts +0 -3
  177. package/dist/country-selector/icons/Ir.d.ts +0 -3
  178. package/dist/country-selector/icons/Is.d.ts +0 -3
  179. package/dist/country-selector/icons/It.d.ts +0 -3
  180. package/dist/country-selector/icons/Je.d.ts +0 -3
  181. package/dist/country-selector/icons/Jm.d.ts +0 -3
  182. package/dist/country-selector/icons/Jo.d.ts +0 -3
  183. package/dist/country-selector/icons/Jp.d.ts +0 -3
  184. package/dist/country-selector/icons/Ke.d.ts +0 -3
  185. package/dist/country-selector/icons/Kg.d.ts +0 -3
  186. package/dist/country-selector/icons/Kh.d.ts +0 -3
  187. package/dist/country-selector/icons/Ki.d.ts +0 -3
  188. package/dist/country-selector/icons/Km.d.ts +0 -3
  189. package/dist/country-selector/icons/Kn.d.ts +0 -3
  190. package/dist/country-selector/icons/Kp.d.ts +0 -3
  191. package/dist/country-selector/icons/Kr.d.ts +0 -3
  192. package/dist/country-selector/icons/Kw.d.ts +0 -3
  193. package/dist/country-selector/icons/Ky.d.ts +0 -3
  194. package/dist/country-selector/icons/Kz.d.ts +0 -3
  195. package/dist/country-selector/icons/La.d.ts +0 -3
  196. package/dist/country-selector/icons/Lb.d.ts +0 -3
  197. package/dist/country-selector/icons/Li.d.ts +0 -3
  198. package/dist/country-selector/icons/Lk.d.ts +0 -3
  199. package/dist/country-selector/icons/Lr.d.ts +0 -3
  200. package/dist/country-selector/icons/Ls.d.ts +0 -3
  201. package/dist/country-selector/icons/Lt.d.ts +0 -3
  202. package/dist/country-selector/icons/Lu.d.ts +0 -3
  203. package/dist/country-selector/icons/Lv.d.ts +0 -3
  204. package/dist/country-selector/icons/Ly.d.ts +0 -3
  205. package/dist/country-selector/icons/Ma.d.ts +0 -3
  206. package/dist/country-selector/icons/Mc.d.ts +0 -3
  207. package/dist/country-selector/icons/Md.d.ts +0 -3
  208. package/dist/country-selector/icons/Me.d.ts +0 -3
  209. package/dist/country-selector/icons/Mg.d.ts +0 -3
  210. package/dist/country-selector/icons/Mh.d.ts +0 -3
  211. package/dist/country-selector/icons/Mk.d.ts +0 -3
  212. package/dist/country-selector/icons/Ml.d.ts +0 -3
  213. package/dist/country-selector/icons/Mm.d.ts +0 -3
  214. package/dist/country-selector/icons/Mn.d.ts +0 -3
  215. package/dist/country-selector/icons/Mo.d.ts +0 -3
  216. package/dist/country-selector/icons/Mp.d.ts +0 -3
  217. package/dist/country-selector/icons/Mq.d.ts +0 -3
  218. package/dist/country-selector/icons/Mr.d.ts +0 -3
  219. package/dist/country-selector/icons/Ms.d.ts +0 -3
  220. package/dist/country-selector/icons/Mt.d.ts +0 -3
  221. package/dist/country-selector/icons/Mu.d.ts +0 -3
  222. package/dist/country-selector/icons/Mv.d.ts +0 -3
  223. package/dist/country-selector/icons/Mw.d.ts +0 -3
  224. package/dist/country-selector/icons/Mx.d.ts +0 -3
  225. package/dist/country-selector/icons/My.d.ts +0 -3
  226. package/dist/country-selector/icons/Mz.d.ts +0 -3
  227. package/dist/country-selector/icons/Na.d.ts +0 -3
  228. package/dist/country-selector/icons/Nato.d.ts +0 -3
  229. package/dist/country-selector/icons/Ne.d.ts +0 -3
  230. package/dist/country-selector/icons/Nf.d.ts +0 -3
  231. package/dist/country-selector/icons/Ng.d.ts +0 -3
  232. package/dist/country-selector/icons/Ni.d.ts +0 -3
  233. package/dist/country-selector/icons/Nl.d.ts +0 -3
  234. package/dist/country-selector/icons/No.d.ts +0 -3
  235. package/dist/country-selector/icons/Np.d.ts +0 -3
  236. package/dist/country-selector/icons/Nr.d.ts +0 -3
  237. package/dist/country-selector/icons/Nu.d.ts +0 -3
  238. package/dist/country-selector/icons/Nz.d.ts +0 -3
  239. package/dist/country-selector/icons/Om.d.ts +0 -3
  240. package/dist/country-selector/icons/Pa.d.ts +0 -3
  241. package/dist/country-selector/icons/Pe.d.ts +0 -3
  242. package/dist/country-selector/icons/Pf.d.ts +0 -3
  243. package/dist/country-selector/icons/Pg.d.ts +0 -3
  244. package/dist/country-selector/icons/Ph.d.ts +0 -3
  245. package/dist/country-selector/icons/Pk.d.ts +0 -3
  246. package/dist/country-selector/icons/Pl.d.ts +0 -3
  247. package/dist/country-selector/icons/Pn.d.ts +0 -3
  248. package/dist/country-selector/icons/Pr.d.ts +0 -3
  249. package/dist/country-selector/icons/Ps.d.ts +0 -3
  250. package/dist/country-selector/icons/Pt.d.ts +0 -3
  251. package/dist/country-selector/icons/Pw.d.ts +0 -3
  252. package/dist/country-selector/icons/Py.d.ts +0 -3
  253. package/dist/country-selector/icons/Qa.d.ts +0 -3
  254. package/dist/country-selector/icons/Ro.d.ts +0 -3
  255. package/dist/country-selector/icons/Rs.d.ts +0 -3
  256. package/dist/country-selector/icons/Ru.d.ts +0 -3
  257. package/dist/country-selector/icons/Rw.d.ts +0 -3
  258. package/dist/country-selector/icons/Sa.d.ts +0 -3
  259. package/dist/country-selector/icons/Sb.d.ts +0 -3
  260. package/dist/country-selector/icons/Sc.d.ts +0 -3
  261. package/dist/country-selector/icons/Sd.d.ts +0 -3
  262. package/dist/country-selector/icons/Se.d.ts +0 -3
  263. package/dist/country-selector/icons/Sg.d.ts +0 -3
  264. package/dist/country-selector/icons/Si.d.ts +0 -3
  265. package/dist/country-selector/icons/Sk.d.ts +0 -3
  266. package/dist/country-selector/icons/Sl.d.ts +0 -3
  267. package/dist/country-selector/icons/Sm.d.ts +0 -3
  268. package/dist/country-selector/icons/Sn.d.ts +0 -3
  269. package/dist/country-selector/icons/So.d.ts +0 -3
  270. package/dist/country-selector/icons/Sq.d.ts +0 -3
  271. package/dist/country-selector/icons/Sr.d.ts +0 -3
  272. package/dist/country-selector/icons/Ss.d.ts +0 -3
  273. package/dist/country-selector/icons/St.d.ts +0 -3
  274. package/dist/country-selector/icons/Sv.d.ts +0 -3
  275. package/dist/country-selector/icons/Sx.d.ts +0 -3
  276. package/dist/country-selector/icons/Sy.d.ts +0 -3
  277. package/dist/country-selector/icons/Sz.d.ts +0 -3
  278. package/dist/country-selector/icons/Tc.d.ts +0 -3
  279. package/dist/country-selector/icons/Td.d.ts +0 -3
  280. package/dist/country-selector/icons/Tg.d.ts +0 -3
  281. package/dist/country-selector/icons/Th.d.ts +0 -3
  282. package/dist/country-selector/icons/Tibet.d.ts +0 -3
  283. package/dist/country-selector/icons/Tj.d.ts +0 -3
  284. package/dist/country-selector/icons/Tk.d.ts +0 -3
  285. package/dist/country-selector/icons/Tm.d.ts +0 -3
  286. package/dist/country-selector/icons/Tn.d.ts +0 -3
  287. package/dist/country-selector/icons/To.d.ts +0 -3
  288. package/dist/country-selector/icons/Tr.d.ts +0 -3
  289. package/dist/country-selector/icons/Tt.d.ts +0 -3
  290. package/dist/country-selector/icons/Tv.d.ts +0 -3
  291. package/dist/country-selector/icons/Tw.d.ts +0 -3
  292. package/dist/country-selector/icons/Tz.d.ts +0 -3
  293. package/dist/country-selector/icons/Ua.d.ts +0 -3
  294. package/dist/country-selector/icons/Ug.d.ts +0 -3
  295. package/dist/country-selector/icons/Us.d.ts +0 -3
  296. package/dist/country-selector/icons/Uy.d.ts +0 -3
  297. package/dist/country-selector/icons/Uz.d.ts +0 -3
  298. package/dist/country-selector/icons/Ve.d.ts +0 -3
  299. package/dist/country-selector/icons/Vi.d.ts +0 -3
  300. package/dist/country-selector/icons/Vn.d.ts +0 -3
  301. package/dist/country-selector/icons/Vu.d.ts +0 -3
  302. package/dist/country-selector/icons/Ws.d.ts +0 -3
  303. package/dist/country-selector/icons/Ye.d.ts +0 -3
  304. package/dist/country-selector/icons/Za.d.ts +0 -3
  305. package/dist/country-selector/icons/Zm.d.ts +0 -3
  306. package/dist/country-selector/icons/Zw.d.ts +0 -3
  307. package/dist/country-selector/icons/index.d.ts +0 -223
  308. package/dist/drop-zone/drop-zone.d.ts +0 -24
  309. package/dist/input/input.d.ts +0 -19
  310. package/dist/loader/loader.d.ts +0 -10
  311. package/dist/modal/modal.d.ts +0 -7
  312. package/dist/mount-react-hook/index.d.ts +0 -2
  313. package/dist/mount-react-hook/mount-react-hook.d.ts +0 -3
  314. package/dist/mount-react-hook/mount-react-hook.types.d.ts +0 -5
  315. package/dist/pagination/index.d.ts +0 -2
  316. package/dist/pagination/pagination.d.ts +0 -9
  317. package/dist/pagination/pagination.types.d.ts +0 -10
  318. package/dist/table/table.types.d.ts +0 -4
  319. package/dist/text/text.d.ts +0 -13
  320. package/dist/use-visible/use-visible.d.ts +0 -2
  321. package/dist/wizard/wizard.d.ts +0 -33
  322. /package/dist/{breadcrumb → src/components/breadcrumb}/index.d.ts +0 -0
  323. /package/dist/{button → src/components/button}/index.d.ts +0 -0
  324. /package/dist/{card → src/components/card}/index.d.ts +0 -0
  325. /package/dist/{checkbox → src/components/checkbox}/index.d.ts +0 -0
  326. /package/dist/{country-selector → src/components/country-selector}/country-selector.types.d.ts +0 -0
  327. /package/dist/{country-selector → src/components/country-selector}/index.d.ts +0 -0
  328. /package/dist/{drop-zone → src/components/drop-zone}/index.d.ts +0 -0
  329. /package/dist/{flex → src/components/flex}/index.d.ts +0 -0
  330. /package/dist/{input → src/components/input}/index.d.ts +0 -0
  331. /package/dist/{input → src/components/input}/input.types.d.ts +0 -0
  332. /package/dist/{list → src/components/list}/index.d.ts +0 -0
  333. /package/dist/{loader → src/components/loader}/index.d.ts +0 -0
  334. /package/dist/{modal → src/components/modal}/index.d.ts +0 -0
  335. /package/dist/{select → src/components/select}/index.d.ts +0 -0
  336. /package/dist/{select → src/components/select}/select.types.d.ts +0 -0
  337. /package/dist/{table → src/components/table}/index.d.ts +0 -0
  338. /package/dist/{text → src/components/text}/index.d.ts +0 -0
  339. /package/dist/{wizard → src/components/wizard}/index.d.ts +0 -0
  340. /package/dist/{use-match-device → src/hooks/use-match-device}/index.d.ts +0 -0
  341. /package/dist/{use-match-device → src/hooks/use-match-device}/use-match-device.d.ts +0 -0
  342. /package/dist/{use-match-device → src/hooks/use-match-device}/use-match-device.types.d.ts +0 -0
  343. /package/dist/{use-match-resolution → src/hooks/use-match-resolution}/index.d.ts +0 -0
  344. /package/dist/{use-match-resolution → src/hooks/use-match-resolution}/use-match-resolution.types.d.ts +0 -0
  345. /package/dist/{use-outside-alerter → src/hooks/use-outside-alerter}/index.d.ts +0 -0
  346. /package/dist/{use-outside-alerter → src/hooks/use-outside-alerter}/use-outside-alerter.d.ts +0 -0
  347. /package/dist/{use-outside-alerter → src/hooks/use-outside-alerter}/use-outside-alerter.types.d.ts +0 -0
  348. /package/dist/{use-pagination → src/hooks/use-pagination}/index.d.ts +0 -0
  349. /package/dist/{use-pagination → src/hooks/use-pagination}/use-pagination.d.ts +0 -0
  350. /package/dist/{use-pagination → src/hooks/use-pagination}/use-pagination.types.d.ts +0 -0
  351. /package/dist/{use-scroll-to → src/hooks/use-scroll-to}/index.d.ts +0 -0
  352. /package/dist/{use-scroll-to → src/hooks/use-scroll-to}/use-scroll-to.types.d.ts +0 -0
  353. /package/dist/{use-visible → src/hooks/use-visible}/index.d.ts +0 -0
@@ -0,0 +1,8 @@
1
+ var e = {
2
+ container: "_container_1s2f0_1",
3
+ input: "_input_1s2f0_10",
4
+ "icon-small": "_icon-small_1s2f0_30",
5
+ "icon-large": "_icon-large_1s2f0_34"
6
+ };
7
+ //#endregion
8
+ export { e as default };
@@ -0,0 +1,31 @@
1
+ import { toRem as e } from "./react-components2.js";
2
+ import t from "./react-components30.js";
3
+ import n from "clsx";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ //#region src/components/checkbox/checkbox.tsx
6
+ var a = ({ className: a, label: o, labelFontWeight: s = 400, labelColor: c, borderColor: l, checkColor: u, checkBackgroundColor: d, iconSize: f, size: p = 2, ...m }) => {
7
+ let h = {
8
+ "--checkbox-size": e(p),
9
+ "--checkbox-color-check": u,
10
+ "--checkbox-background-color-checked": d
11
+ };
12
+ return /* @__PURE__ */ i("label", {
13
+ className: n(t.container, a),
14
+ style: {
15
+ fontWeight: s,
16
+ ...h
17
+ },
18
+ children: [/* @__PURE__ */ r("input", {
19
+ className: n(t.input, f && t[`icon-${f}`]),
20
+ type: "checkbox",
21
+ style: { borderColor: l },
22
+ ...m
23
+ }), /* @__PURE__ */ r("span", {
24
+ className: t.label,
25
+ style: { color: c },
26
+ children: o
27
+ })]
28
+ });
29
+ };
30
+ //#endregion
31
+ export { a as Checkbox };
@@ -0,0 +1,6 @@
1
+ var e = {
2
+ list: "_list_1oo9c_1",
3
+ item: "_item_1oo9c_8"
4
+ };
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,23 @@
1
+ import { toRem as e } from "./react-components2.js";
2
+ import t from "./react-components32.js";
3
+ import n from "clsx";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ //#region src/components/list/list.tsx
6
+ var a = ({ className: a, icon: o, text: s, textFontSize: c = 1, textColor: l, textFontWeight: u = 400, gap: d = .3 }) => /* @__PURE__ */ i("li", {
7
+ className: n(t.item, a),
8
+ style: { gap: e(d) },
9
+ children: [o, /* @__PURE__ */ r("span", {
10
+ style: {
11
+ fontSize: e(c),
12
+ color: l,
13
+ fontWeight: u
14
+ },
15
+ children: s
16
+ })]
17
+ }), o = ({ className: i, children: a, gap: o = .5 }) => /* @__PURE__ */ r("ul", {
18
+ className: n(t.list, i),
19
+ style: { gap: e(o) },
20
+ children: a
21
+ });
22
+ //#endregion
23
+ export { o as List, a as ListItem };
@@ -0,0 +1,3 @@
1
+ var e = { container: "_container_1r41o_1" };
2
+ //#endregion
3
+ export { e as default };
@@ -0,0 +1,19 @@
1
+ import { toRem as e } from "./react-components2.js";
2
+ import t from "./react-components34.js";
3
+ import n from "clsx";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ //#region src/components/text/text.tsx
6
+ var i = ({ className: i, children: a, fontSize: o = 1, as: s = "p", fontWeight: c = 400, lineHeight: l = 1.5, textAlign: u = "start", fontStyle: d = "normal", color: f }) => /* @__PURE__ */ r(s, {
7
+ className: n(t.container, i),
8
+ style: {
9
+ fontSize: e(o),
10
+ fontWeight: c,
11
+ lineHeight: l,
12
+ textAlign: u,
13
+ fontStyle: d,
14
+ color: f
15
+ },
16
+ children: a
17
+ });
18
+ //#endregion
19
+ export { i as Text };
@@ -0,0 +1,7 @@
1
+ var e = {
2
+ container: "_container_4pfoo_1",
3
+ radio: "_radio_4pfoo_7",
4
+ label: "_label_4pfoo_23"
5
+ };
6
+ //#endregion
7
+ export { e as default };
@@ -0,0 +1,31 @@
1
+ import { toRem as e } from "./react-components2.js";
2
+ import t from "./react-components36.js";
3
+ import n from "clsx";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ //#region src/components/radio/radio.tsx
6
+ var a = ({ label: a, labelFontWeight: o = 400, labelColor: s, size: c = 1.5, borderStyle: l = "solid", borderColor: u, checkedBorderColor: d = "rgb(50, 115, 255)", checkedBackgroundColor: f = "rgb(50, 115, 255)", checkedLabelColor: p, className: m, ...h }) => {
7
+ let g = {
8
+ "--size": e(c),
9
+ "--label-color": s,
10
+ "--border-color": u,
11
+ "--checked-border-color": d,
12
+ "--checked-background-color": f,
13
+ "--checked-label-color": p
14
+ };
15
+ return /* @__PURE__ */ i("label", {
16
+ className: n(t.container, m),
17
+ style: { ...g },
18
+ children: [/* @__PURE__ */ r("input", {
19
+ className: t.radio,
20
+ type: "radio",
21
+ style: { borderStyle: l },
22
+ ...h
23
+ }), /* @__PURE__ */ r("span", {
24
+ className: t.label,
25
+ style: { fontWeight: o },
26
+ children: a
27
+ })]
28
+ });
29
+ };
30
+ //#endregion
31
+ export { a as Radio };
@@ -0,0 +1,13 @@
1
+ import { UAParser as e } from "ua-parser-js";
2
+ //#region src/hooks/use-match-device/use-match-device.ts
3
+ var t = (t) => {
4
+ let n = new e(t).getDevice();
5
+ return {
6
+ isMobile: n.is("mobile"),
7
+ isTablet: n.is("tablet"),
8
+ isMobileOrTablet: n.is("mobile") || n.is("tablet"),
9
+ isDesktop: !n.type
10
+ };
11
+ };
12
+ //#endregion
13
+ export { t as useMatchDevice };
@@ -0,0 +1,53 @@
1
+ import { useMatchDevice as e } from "./react-components38.js";
2
+ import { useCallback as t, useEffect as n, useState as r } from "react";
3
+ //#region src/hooks/use-match-resolution/use-match-resolution.ts
4
+ var i = {
5
+ desktop: "(min-width: 1281px)",
6
+ laptop: "(min-width: 1025px) and (max-width: 1280px)",
7
+ laptopOrUpper: "(min-width: 1025px)",
8
+ laptopOrLower: "(max-width: 1280px)",
9
+ tablet: "(min-width: 768px) and (max-width: 1024px)",
10
+ tabletOrUpper: "(min-width: 768px)",
11
+ tabletOrLower: "(max-width: 1024px)",
12
+ largeMobile: "(min-width: 481px) and (max-width: 767px)",
13
+ largeMobileOrUpper: "(min-width: 481px)",
14
+ largeMobileOrLower: "(max-width: 767px)",
15
+ mobile: "(min-width: 320px) and (max-width: 480px)",
16
+ portrait: "(orientation: portrait)",
17
+ landscape: "(orientation: landscape)"
18
+ }, a = (a, o = i) => {
19
+ let s = typeof window < "u", { isDesktop: c, isMobile: l } = e(a), u = t((e) => s && window.matchMedia(e).matches, [s]), d = t(() => ({
20
+ isDesktop: s ? u(o.desktop) : c,
21
+ isLaptop: s ? u(o.laptop) : c,
22
+ isLaptopOrUpper: s ? u(o.laptopOrUpper) : c,
23
+ isLaptopOrLower: s ? u(o.laptopOrLower) : !1,
24
+ isTablet: s ? u(o.tablet) : l,
25
+ isTabletOrUpper: s ? u(o.tabletOrUpper) : !1,
26
+ isTabletOrLower: s ? u(o.tabletOrLower) : l,
27
+ isLargeMobile: s ? u(o.largeMobile) : l,
28
+ isLargeMobileOrUpper: s ? u(o.largeMobileOrUpper) : !1,
29
+ isLargeMobileOrLower: s ? u(o.largeMobileOrLower) : l,
30
+ isMobile: s ? u(o.mobile) : l,
31
+ isPortrait: s ? u(o.portrait) : !1,
32
+ isLandscape: s ? u(o.landscape) : !1
33
+ }), [
34
+ o,
35
+ s,
36
+ c,
37
+ l,
38
+ u
39
+ ]), [f, p] = r(d());
40
+ return n(() => {
41
+ if (!s) return;
42
+ let e = () => p(d());
43
+ return window.addEventListener("resize", e), () => {
44
+ window.removeEventListener("resize", e);
45
+ };
46
+ }, [s, d]), {
47
+ resolution: f,
48
+ breakpoints: o,
49
+ match: u
50
+ };
51
+ };
52
+ //#endregion
53
+ export { i as defaultBreakpoints, a as useMatchResolution };
@@ -0,0 +1,42 @@
1
+ import { toPx as e, toRem as t } from "./react-components2.js";
2
+ import n from "./react-components3.js";
3
+ import { useBreadcrumb as r } from "./react-components44.js";
4
+ import i from "clsx";
5
+ import { ChevronRight as a } from "lucide-react";
6
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
7
+ //#region src/components/breadcrumb/breadcrumb.tsx
8
+ var c = ({ config: c, onClick: l, icon: u, iconWidth: d = 50, iconMargin: f = 1, color: p, fontSize: m = 2, className: h }) => {
9
+ let g = r(c);
10
+ return /* @__PURE__ */ o("nav", {
11
+ "aria-label": "breadcrumb",
12
+ className: i(n.container, h),
13
+ children: /* @__PURE__ */ o("ol", {
14
+ className: n["list-item"],
15
+ children: g.map((r, i) => /* @__PURE__ */ s("li", {
16
+ className: n.item,
17
+ children: [/* @__PURE__ */ o("button", {
18
+ type: "button",
19
+ className: n.link,
20
+ onClick: () => l(r),
21
+ style: {
22
+ color: p,
23
+ fontSize: t(m)
24
+ },
25
+ children: r.label
26
+ }), i < g.length - 1 && /* @__PURE__ */ o("span", {
27
+ "aria-hidden": !0,
28
+ children: u ?? /* @__PURE__ */ o(a, {
29
+ className: n.icon,
30
+ style: {
31
+ width: e(d),
32
+ marginLeft: t(f),
33
+ marginRight: t(f)
34
+ }
35
+ })
36
+ })]
37
+ }, r.url))
38
+ })
39
+ });
40
+ };
41
+ //#endregion
42
+ export { c as Breadcrumb };
@@ -0,0 +1,20 @@
1
+ import { useEffect as e, useState as t } from "react";
2
+ //#region src/hooks/use-outside-alerter/use-outside-alerter.tsx
3
+ var n = (n) => {
4
+ let [r, i] = t(!1);
5
+ return e(() => {
6
+ let e = (e) => {
7
+ e.target && n.current && i(!n.current.contains(e.target));
8
+ };
9
+ return document.addEventListener("mousedown", e), () => {
10
+ document.removeEventListener("mousedown", e);
11
+ };
12
+ }, [n]), {
13
+ hasClickedOutside: r,
14
+ onReset: () => {
15
+ i(!1);
16
+ }
17
+ };
18
+ };
19
+ //#endregion
20
+ export { n as useOutsideAlerter };
@@ -0,0 +1,43 @@
1
+ import { useCallback as e, useEffect as t, useState as n } from "react";
2
+ //#region src/hooks/use-pagination/use-pagination.ts
3
+ var r = (r) => {
4
+ let { totalRecords: i, itemNeighbours: a = 2, minItems: o = 5, maxRecordsPerPage: s = 10 } = r, [c, l] = n(r.page), [u, d] = n(0), [f, p] = n([]), m = e(() => {
5
+ let e = [], t = Math.max(1, Math.min(c - a, u + 1 - o)), n = Math.min(u, Math.max(o, c + a));
6
+ for (let r = t; r <= n; r++) e.push(r);
7
+ return e;
8
+ }, [
9
+ c,
10
+ u,
11
+ a,
12
+ o
13
+ ]);
14
+ t(() => {
15
+ d(Math.ceil(i / s));
16
+ }, [i, s]), t(() => {
17
+ p(m());
18
+ }, [m]);
19
+ let h = (e) => {
20
+ l(Math.max(1, Math.min(e, u)));
21
+ };
22
+ return {
23
+ page: c,
24
+ total: u,
25
+ items: f,
26
+ maxRecordsPerPage: s,
27
+ goToPage: h,
28
+ goToFirst: () => {
29
+ h(1);
30
+ },
31
+ goToLeft: () => {
32
+ h(c - 1);
33
+ },
34
+ goToRight: () => {
35
+ h(c + 1);
36
+ },
37
+ goToLast: () => {
38
+ h(u);
39
+ }
40
+ };
41
+ };
42
+ //#endregion
43
+ export { r as usePagination };
@@ -0,0 +1,6 @@
1
+ //#region src/hooks/use-scroll-to/use-scroll-to.tsx
2
+ var e = (e) => typeof window < "u" ? { scrollToTop: () => {
3
+ e?.current && window.scrollTo(0, e.current.offsetTop);
4
+ } } : { scrollToTop: () => null };
5
+ //#endregion
6
+ export { e as useScrollTo };
@@ -0,0 +1,13 @@
1
+ import { useEffect as e, useState as t } from "react";
2
+ //#region src/hooks/use-visible/use-visible.ts
3
+ var n = (n) => {
4
+ let [r, i] = t(!1);
5
+ return e(() => {
6
+ let e = new IntersectionObserver(([e]) => i(e.isIntersecting));
7
+ return n?.current && e.observe(n.current), () => {
8
+ n?.current && e.unobserve(n.current);
9
+ };
10
+ }, [n]), r;
11
+ };
12
+ //#endregion
13
+ export { n as useVisible };
@@ -0,0 +1,13 @@
1
+ //#region src/hooks/use-breadcrumb/use-breadcrumb.ts
2
+ var e = ({ url: e = new URL(location.href), mapping: t }) => {
3
+ let n = e.pathname.split("/").slice(1), r = "";
4
+ return n.map((e) => {
5
+ let n = t?.find(({ path: t }) => e === t)?.label ?? e, i = `${r}/${e}`;
6
+ return r = i, {
7
+ label: n,
8
+ url: i
9
+ };
10
+ });
11
+ };
12
+ //#endregion
13
+ export { e as useBreadcrumb };
@@ -0,0 +1,3 @@
1
+ var e = { flag: "_flag_1xpw6_1" };
2
+ //#endregion
3
+ export { e as default };
@@ -0,0 +1,23 @@
1
+ import { toPx as e } from "./react-components2.js";
2
+ /* empty css */
3
+ import t from "./react-components6.js";
4
+ import { Select as n } from "./react-components17.js";
5
+ import r from "clsx";
6
+ import { jsx as i } from "react/jsx-runtime";
7
+ //#region src/components/country-selector/country-selector.tsx
8
+ var a = ({ value: a, languages: o, onChange: s, flagWidth: c = 25, className: l, ...u }) => /* @__PURE__ */ i(n, {
9
+ className: l,
10
+ selectedValue: a,
11
+ options: o.map((n) => ({
12
+ value: n,
13
+ label: /* @__PURE__ */ i("span", {
14
+ className: r(t.flag, `fi fi-${n}`),
15
+ style: { width: e(c) }
16
+ })
17
+ })),
18
+ onChange: s,
19
+ width: "fit-content",
20
+ ...u
21
+ });
22
+ //#endregion
23
+ export { a as CountrySelector };
@@ -0,0 +1,11 @@
1
+ //#region src/components/input/input.module.css
2
+ var e = "_container_11wna_1", t = "_input_11wna_5", n = "_fieldset_11wna_23", r = "_legend_11wna_54", i = {
3
+ container: e,
4
+ "input-container": "_input-container_11wna_5",
5
+ input: t,
6
+ fieldset: n,
7
+ legend: r,
8
+ "message-container": "_message-container_11wna_58"
9
+ };
10
+ //#endregion
11
+ export { i as default };
@@ -0,0 +1,63 @@
1
+ import { isNumber as e, toPercentage as t, toPx as n, toRem as r } from "./react-components2.js";
2
+ import i from "./react-components8.js";
3
+ import a from "clsx";
4
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
5
+ import { useState as c } from "react";
6
+ //#region src/components/input/input.tsx
7
+ var l = ({ className: l, label: u, message: d, colors: f = {
8
+ success: "green",
9
+ error: "red",
10
+ warning: "orange",
11
+ focus: "blue"
12
+ }, status: p, width: m = 100, height: h = "auto", borderWidth: g = 1, borderWidthFocus: _ = 2, labelFontWeight: v = 400, labelFontSize: y = 1, messageFontWeight: b = 400, messageFontSize: x = 1, onFocus: S, onBlur: C, ...w }) => {
13
+ let [T, E] = c(!1), D = {
14
+ "--success-color": f.success,
15
+ "--warning-color": f.warning,
16
+ "--error-color": f.error,
17
+ "--focus-color": f.focus
18
+ }, O = (e) => {
19
+ S && S(e), E(!0);
20
+ }, k = (e) => {
21
+ C && C(e), E(!1);
22
+ };
23
+ return /* @__PURE__ */ s("div", {
24
+ className: a(i.container, l),
25
+ style: {
26
+ width: e(m) ? t(m) : m,
27
+ height: e(h) ? r(h) : h,
28
+ ...D
29
+ },
30
+ children: [/* @__PURE__ */ s("div", {
31
+ className: i["input-container"],
32
+ children: [/* @__PURE__ */ o("input", {
33
+ className: a(i.input, p),
34
+ ...w,
35
+ onFocus: O,
36
+ onBlur: k
37
+ }), /* @__PURE__ */ o("fieldset", {
38
+ className: a(i.fieldset, p),
39
+ style: { borderWidth: n(T ? _ : g) },
40
+ children: /* @__PURE__ */ o("legend", {
41
+ className: i.legend,
42
+ style: {
43
+ fontWeight: v,
44
+ fontSize: r(y)
45
+ },
46
+ children: u
47
+ })
48
+ })]
49
+ }), d && /* @__PURE__ */ o("div", {
50
+ className: a(i["message-container"], p),
51
+ children: /* @__PURE__ */ o("span", {
52
+ className: i.message,
53
+ style: {
54
+ fontWeight: b,
55
+ fontSize: r(x)
56
+ },
57
+ children: d
58
+ })
59
+ })]
60
+ });
61
+ };
62
+ //#endregion
63
+ export { l as Input };
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from 'react';
2
+ import { BreadcrumbItem, useBreadcrumbProps } from '../..';
3
+ export type BreadcrumbProps = {
4
+ config: useBreadcrumbProps;
5
+ onClick: (element: BreadcrumbItem) => void;
6
+ color?: string;
7
+ fontSize?: number;
8
+ icon?: ReactNode;
9
+ iconWidth?: number;
10
+ iconMargin?: number;
11
+ className?: string;
12
+ };
13
+ export declare const Breadcrumb: ({ config, onClick, icon, iconWidth, iconMargin, color, fontSize, className, }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,14 +1,15 @@
1
1
  import { ButtonHTMLAttributes, ReactNode } from 'react';
2
+ import { FontWeight, Position, Size } from '../../types';
2
3
  export type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
3
4
  children: ReactNode;
4
5
  color?: string;
5
- width?: number;
6
- height?: number;
6
+ width?: Size;
7
+ height?: Size;
7
8
  backgroundColor?: string;
8
9
  borderColor?: string;
9
- alignSelf?: "start" | "center" | "end";
10
+ alignSelf?: Position;
10
11
  fontSize?: number;
11
- fontWeight?: 400 | 500 | 600 | 700 | 800 | 900;
12
+ fontWeight?: FontWeight;
12
13
  borderRadius?: number;
13
14
  borderWidth?: number;
14
15
  padding?: string;
@@ -0,0 +1,22 @@
1
+ import { ReactNode } from 'react';
2
+ import { BorderStyle, FontWeight, Position, Size, Text } from '../../types';
3
+ export type CardProps = {
4
+ children: ReactNode;
5
+ title?: string;
6
+ titleAs?: Text;
7
+ titleFontSize?: number;
8
+ titleFontWeight?: FontWeight;
9
+ titleColor?: string;
10
+ titleTextAlign?: Position;
11
+ titleGap?: number;
12
+ backgroundColor?: string;
13
+ borderRadius?: number;
14
+ borderWidth?: number;
15
+ borderStyle?: BorderStyle;
16
+ borderColor?: string;
17
+ padding?: string;
18
+ width?: Size;
19
+ height?: Size;
20
+ className?: string;
21
+ };
22
+ export declare const Card: ({ className, children, title, titleAs: Title, titleFontSize, titleFontWeight, titleColor, titleTextAlign, titleGap, backgroundColor, borderRadius, borderWidth, borderStyle, borderColor, width, height, padding, }: CardProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,15 +1,14 @@
1
1
  import { InputHTMLAttributes } from 'react';
2
+ import { FontWeight } from '../../types';
2
3
  export type CheckboxProps = Omit<InputHTMLAttributes<HTMLInputElement>, "type"> & {
3
4
  label: string;
4
- labelWeight?: 400 | 500 | 600 | 700 | 800 | 900;
5
+ labelFontWeight?: FontWeight;
5
6
  labelColor?: string;
6
- borderWidth?: number;
7
7
  borderColor?: string;
8
8
  checkColor?: string;
9
9
  checkBackgroundColor?: string;
10
10
  iconSize?: "small" | "medium" | "large";
11
11
  size?: number;
12
- gap?: number;
13
12
  className?: string;
14
13
  };
15
- export declare const Checkbox: ({ className, label, labelWeight, labelColor, borderWidth, borderColor, checkColor, checkBackgroundColor, iconSize, size, gap, ...rest }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const Checkbox: ({ className, label, labelFontWeight, labelColor, borderColor, checkColor, checkBackgroundColor, iconSize, size, ...rest }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { SelectProps } from '..';
2
+ import { CountrySelectorOption } from './country-selector.types';
3
+ export type CountrySelectorProps = {
4
+ languages: string[];
5
+ value?: string;
6
+ flagWidth?: number;
7
+ onChange?: (option: CountrySelectorOption) => void;
8
+ className?: string;
9
+ };
10
+ export declare const CountrySelector: ({ value, languages, onChange, flagWidth, className, ...rest }: CountrySelectorProps & Omit<SelectProps, "options">) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,26 @@
1
+ import { ReactNode } from 'react';
2
+ import { BorderStyle, FontWeight, Size } from '../../types';
3
+ export type DropZoneProps = {
4
+ onFileChanged: (file: File | undefined) => void;
5
+ label?: string;
6
+ labelFontSize?: number;
7
+ labelFontWeight?: FontWeight;
8
+ labelGap?: number;
9
+ previewIcon?: ReactNode;
10
+ previewIconSize?: number;
11
+ removeIcon?: ReactNode;
12
+ removeIconSize?: number;
13
+ text?: string;
14
+ textFontSize?: number;
15
+ textFontWeight?: FontWeight;
16
+ width?: Size;
17
+ height?: Size;
18
+ gap?: number;
19
+ padding?: string;
20
+ borderWidth?: number;
21
+ borderColor?: string;
22
+ borderStyle?: BorderStyle;
23
+ removeAriaLabel?: string;
24
+ className?: string;
25
+ };
26
+ export declare const DropZone: ({ onFileChanged, label, labelFontSize, labelFontWeight, labelGap, previewIcon, previewIconSize, removeIcon, removeIconSize, text, textFontSize, textFontWeight, width, height, gap, padding, borderWidth, borderColor, borderStyle, removeAriaLabel, className, }: DropZoneProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,15 +1,16 @@
1
1
  import { ReactNode } from 'react';
2
+ import { Size } from '../../types';
2
3
  export type FlexProps = {
3
4
  children: ReactNode;
4
- direction?: "row" | "column";
5
+ flexDirection?: "row" | "column";
5
6
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | "stretch";
6
7
  alignItems?: "start" | "center" | "end" | "stretch";
7
8
  alignSelf?: "start" | "center" | "end" | "stretch";
8
9
  wrap?: "nowrap" | "wrap" | "wrap-reverse";
9
- width?: number;
10
- height?: number;
10
+ width?: Size;
11
+ height?: Size;
11
12
  padding?: string;
12
13
  gap?: number;
13
14
  className?: string;
14
15
  };
15
- export declare const Flex: ({ className, children, direction, justifyContent, alignItems, alignSelf, wrap, width, height, padding, gap, }: FlexProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const Flex: ({ className, children, flexDirection, justifyContent, alignItems, alignSelf, wrap, width, height, padding, gap, }: FlexProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,17 +2,10 @@ export * from './breadcrumb';
2
2
  export * from './country-selector';
3
3
  export * from './input';
4
4
  export * from './loader';
5
- export * from './use-match-device';
6
- export * from './use-match-resolution';
7
5
  export * from './modal';
8
- export * from './mount-react-hook';
9
6
  export * from './pagination';
10
- export * from './use-outside-alerter';
11
- export * from './use-pagination';
12
- export * from './use-scroll-to';
13
7
  export * from './select';
14
8
  export * from './table';
15
- export * from './use-visible';
16
9
  export * from './wizard';
17
10
  export * from './flex';
18
11
  export * from './button';
@@ -21,3 +14,4 @@ export * from './card';
21
14
  export * from './checkbox';
22
15
  export * from './list';
23
16
  export * from './text';
17
+ export * from './radio';
@@ -0,0 +1,20 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { FontWeight, Size } from '../../types';
3
+ import { InputColors, InputStatus, InputType } from './input.types';
4
+ export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "type"> & {
5
+ label: string;
6
+ type: InputType;
7
+ colors?: InputColors;
8
+ status?: InputStatus;
9
+ message?: string;
10
+ width?: Size;
11
+ height?: Size;
12
+ borderWidth?: number;
13
+ borderWidthFocus?: number;
14
+ labelFontWeight?: FontWeight;
15
+ labelFontSize?: number;
16
+ messageFontWeight?: FontWeight;
17
+ messageFontSize?: number;
18
+ className?: string;
19
+ };
20
+ export declare const Input: ({ className, label, message, colors, status, width, height, borderWidth, borderWidthFocus, labelFontWeight, labelFontSize, messageFontWeight, messageFontSize, onFocus, onBlur, ...rest }: InputProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,14 +1,15 @@
1
1
  import { ReactNode } from 'react';
2
+ import { FontWeight } from '../../types';
2
3
  export type ListItemProps = {
3
4
  icon: ReactNode;
4
5
  text: string;
5
- textSize?: number;
6
+ textFontSize?: number;
6
7
  textColor?: string;
7
- textWeight?: 400 | 500 | 600 | 700 | 800 | 900;
8
+ textFontWeight?: FontWeight;
8
9
  gap?: number;
9
10
  className?: string;
10
11
  };
11
- export declare const ListItem: ({ className, icon, text, textSize, textColor, textWeight, gap, }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const ListItem: ({ className, icon, text, textFontSize, textColor, textFontWeight, gap, }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
12
13
  export type ListProps = {
13
14
  children: ReactNode;
14
15
  gap?: number;