@julseb-lib/react 0.0.50 → 0.0.52

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 (826) hide show
  1. package/README.md +42 -11
  2. package/dist/{index.es.js → index-BibeNxro.js} +9389 -8067
  3. package/dist/{index.cjs.js → index-CGKwmKg1.cjs} +1448 -1448
  4. package/dist/julseb-lib-react.cjs.js +1 -0
  5. package/dist/julseb-lib-react.es.js +207 -0
  6. package/dist/{index.umd.js → julseb-lib-react.umd.js} +1351 -1351
  7. package/dist/styles-CN8Ocssg.js +15 -0
  8. package/dist/styles-CYn3EVay.cjs +7 -0
  9. package/dist/types/component-items.d.ts +438 -0
  10. package/dist/types/component-items.js +2 -0
  11. package/dist/types/generate-int-range.d.ts +7 -0
  12. package/dist/types/generate-int-range.js +3 -0
  13. package/dist/types/global.d.ts +350 -0
  14. package/dist/types/global.js +2 -0
  15. package/dist/types/index.d.ts +5 -0
  16. package/dist/types/index.js +6 -0
  17. package/dist/types/require-at-least-one.d.ts +3 -0
  18. package/dist/types/require-at-least-one.js +1 -0
  19. package/dist/types/type-values.d.ts +2285 -0
  20. package/dist/types/type-values.js +2151 -0
  21. package/dist/types/types/component-items.ts +545 -0
  22. package/dist/types/types/components-props.ts +82 -0
  23. package/dist/types/types/generate-int-range.ts +19 -0
  24. package/dist/types/types/global.ts +443 -0
  25. package/dist/types/types/index.ts +7 -0
  26. package/dist/types/types/require-at-least-one.ts +7 -0
  27. package/dist/types/types/theme.ts +168 -0
  28. package/dist/types/types/type-values.ts +2218 -0
  29. package/package.json +47 -49
  30. package/dist/lib/Mixins.tsx +0 -985
  31. package/dist/lib/Variables.ts +0 -296
  32. package/dist/lib/components/Accordion/Accordion.tsx +0 -86
  33. package/dist/lib/components/Accordion/AccordionButton.tsx +0 -72
  34. package/dist/lib/components/Accordion/AccordionContent.tsx +0 -27
  35. package/dist/lib/components/Accordion/AccordionItem.tsx +0 -70
  36. package/dist/lib/components/Accordion/index.ts +0 -4
  37. package/dist/lib/components/Accordion/styles.tsx +0 -165
  38. package/dist/lib/components/Accordion/subtypes.ts +0 -22
  39. package/dist/lib/components/Accordion/types.ts +0 -33
  40. package/dist/lib/components/Alert/Alert.tsx +0 -118
  41. package/dist/lib/components/Alert/index.ts +0 -3
  42. package/dist/lib/components/Alert/styles.tsx +0 -39
  43. package/dist/lib/components/Alert/types.ts +0 -33
  44. package/dist/lib/components/Aside/Aside.tsx +0 -42
  45. package/dist/lib/components/Aside/index.ts +0 -3
  46. package/dist/lib/components/Aside/styles.tsx +0 -46
  47. package/dist/lib/components/Aside/types.ts +0 -8
  48. package/dist/lib/components/Autocomplete/Autocomplete.tsx +0 -352
  49. package/dist/lib/components/Autocomplete/index.ts +0 -3
  50. package/dist/lib/components/Autocomplete/styles.tsx +0 -13
  51. package/dist/lib/components/Autocomplete/types.ts +0 -42
  52. package/dist/lib/components/Avatar/Avatar.tsx +0 -143
  53. package/dist/lib/components/Avatar/AvatarFunction.tsx +0 -136
  54. package/dist/lib/components/Avatar/index.ts +0 -3
  55. package/dist/lib/components/Avatar/styles.tsx +0 -117
  56. package/dist/lib/components/Avatar/types.ts +0 -86
  57. package/dist/lib/components/BackToTop/BackToTop.tsx +0 -101
  58. package/dist/lib/components/BackToTop/index.ts +0 -3
  59. package/dist/lib/components/BackToTop/styles.tsx +0 -35
  60. package/dist/lib/components/BackToTop/types.ts +0 -8
  61. package/dist/lib/components/Badge/Badge.tsx +0 -94
  62. package/dist/lib/components/Badge/index.ts +0 -3
  63. package/dist/lib/components/Badge/styles.tsx +0 -41
  64. package/dist/lib/components/Badge/types.ts +0 -34
  65. package/dist/lib/components/Breadcrumbs/BreadcrumbItem.tsx +0 -42
  66. package/dist/lib/components/Breadcrumbs/Breadcrumbs.tsx +0 -52
  67. package/dist/lib/components/Breadcrumbs/BreadcrumbsFn.tsx +0 -76
  68. package/dist/lib/components/Breadcrumbs/index.ts +0 -3
  69. package/dist/lib/components/Breadcrumbs/styles.tsx +0 -64
  70. package/dist/lib/components/Breadcrumbs/subtypes.ts +0 -12
  71. package/dist/lib/components/Breadcrumbs/types.ts +0 -31
  72. package/dist/lib/components/Burger/Burger.tsx +0 -59
  73. package/dist/lib/components/Burger/index.ts +0 -3
  74. package/dist/lib/components/Burger/styles.tsx +0 -93
  75. package/dist/lib/components/Burger/types.ts +0 -13
  76. package/dist/lib/components/Button/Button.tsx +0 -134
  77. package/dist/lib/components/Button/index.ts +0 -3
  78. package/dist/lib/components/Button/styles.tsx +0 -32
  79. package/dist/lib/components/Button/subtypes.ts +0 -12
  80. package/dist/lib/components/Button/types.ts +0 -72
  81. package/dist/lib/components/ButtonGroup/ButtonGroup.tsx +0 -158
  82. package/dist/lib/components/ButtonGroup/ButtonGroupButton.tsx +0 -89
  83. package/dist/lib/components/ButtonGroup/ButtonGroupToggle.tsx +0 -99
  84. package/dist/lib/components/ButtonGroup/index.ts +0 -3
  85. package/dist/lib/components/ButtonGroup/styles.tsx +0 -91
  86. package/dist/lib/components/ButtonGroup/subtypes.ts +0 -42
  87. package/dist/lib/components/ButtonGroup/types.ts +0 -36
  88. package/dist/lib/components/ButtonIcon/ButtonFunction.tsx +0 -95
  89. package/dist/lib/components/ButtonIcon/ButtonIcon.tsx +0 -139
  90. package/dist/lib/components/ButtonIcon/index.ts +0 -3
  91. package/dist/lib/components/ButtonIcon/styles.tsx +0 -31
  92. package/dist/lib/components/ButtonIcon/subtypes.ts +0 -12
  93. package/dist/lib/components/ButtonIcon/types.ts +0 -90
  94. package/dist/lib/components/Card/Card.tsx +0 -133
  95. package/dist/lib/components/Card/index.ts +0 -3
  96. package/dist/lib/components/Card/styles.tsx +0 -75
  97. package/dist/lib/components/Card/types.ts +0 -29
  98. package/dist/lib/components/CodeContainer/CodeContainer.tsx +0 -135
  99. package/dist/lib/components/CodeContainer/index.ts +0 -3
  100. package/dist/lib/components/CodeContainer/styles.tsx +0 -65
  101. package/dist/lib/components/CodeContainer/types.ts +0 -235
  102. package/dist/lib/components/ComponentsMixins/ComponentsMixins.tsx +0 -441
  103. package/dist/lib/components/ComponentsMixins/hooks/useKeyboardNavigation.tsx +0 -81
  104. package/dist/lib/components/ComponentsMixins/index.ts +0 -5
  105. package/dist/lib/components/ComponentsMixins/types.ts +0 -37
  106. package/dist/lib/components/Cover/Cover.tsx +0 -72
  107. package/dist/lib/components/Cover/index.ts +0 -3
  108. package/dist/lib/components/Cover/styles.tsx +0 -80
  109. package/dist/lib/components/Cover/types.ts +0 -14
  110. package/dist/lib/components/Datepicker/Calendar.tsx +0 -395
  111. package/dist/lib/components/Datepicker/Datepicker.tsx +0 -254
  112. package/dist/lib/components/Datepicker/data.ts +0 -33
  113. package/dist/lib/components/Datepicker/index.ts +0 -3
  114. package/dist/lib/components/Datepicker/styles.tsx +0 -456
  115. package/dist/lib/components/Datepicker/types.ts +0 -68
  116. package/dist/lib/components/DragList/DragList.tsx +0 -127
  117. package/dist/lib/components/DragList/DragListItem.tsx +0 -191
  118. package/dist/lib/components/DragList/index.ts +0 -4
  119. package/dist/lib/components/DragList/styles.tsx +0 -75
  120. package/dist/lib/components/DragList/types.ts +0 -65
  121. package/dist/lib/components/Drawer/Drawer.tsx +0 -110
  122. package/dist/lib/components/Drawer/index.ts +0 -3
  123. package/dist/lib/components/Drawer/styles.tsx +0 -136
  124. package/dist/lib/components/Drawer/types.ts +0 -28
  125. package/dist/lib/components/Dropdown/Dropdown.tsx +0 -89
  126. package/dist/lib/components/Dropdown/DropdownContainer.tsx +0 -39
  127. package/dist/lib/components/Dropdown/DropdownItem.tsx +0 -97
  128. package/dist/lib/components/Dropdown/index.ts +0 -5
  129. package/dist/lib/components/Dropdown/styles.tsx +0 -156
  130. package/dist/lib/components/Dropdown/types.ts +0 -71
  131. package/dist/lib/components/Fade/Fade.tsx +0 -42
  132. package/dist/lib/components/Fade/index.ts +0 -3
  133. package/dist/lib/components/Fade/styles.tsx +0 -19
  134. package/dist/lib/components/Fade/types.ts +0 -5
  135. package/dist/lib/components/Fallback/Fallback.tsx +0 -37
  136. package/dist/lib/components/Fallback/index.ts +0 -3
  137. package/dist/lib/components/Fieldset/Fieldset.tsx +0 -107
  138. package/dist/lib/components/Fieldset/index.ts +0 -3
  139. package/dist/lib/components/Fieldset/styles.tsx +0 -50
  140. package/dist/lib/components/Fieldset/types.ts +0 -34
  141. package/dist/lib/components/Flexbox/Flexbox.tsx +0 -69
  142. package/dist/lib/components/Flexbox/index.ts +0 -3
  143. package/dist/lib/components/Flexbox/styles.tsx +0 -34
  144. package/dist/lib/components/Flexbox/types.ts +0 -27
  145. package/dist/lib/components/Footer/Footer.tsx +0 -106
  146. package/dist/lib/components/Footer/FooterLink.tsx +0 -31
  147. package/dist/lib/components/Footer/FooterLogo.tsx +0 -30
  148. package/dist/lib/components/Footer/index.ts +0 -3
  149. package/dist/lib/components/Footer/styles.tsx +0 -126
  150. package/dist/lib/components/Footer/subtypes.ts +0 -14
  151. package/dist/lib/components/Footer/types.ts +0 -76
  152. package/dist/lib/components/Form/Form.tsx +0 -148
  153. package/dist/lib/components/Form/index.ts +0 -3
  154. package/dist/lib/components/Form/styles.tsx +0 -24
  155. package/dist/lib/components/Form/types.ts +0 -32
  156. package/dist/lib/components/FullBleed/FullBleed.tsx +0 -45
  157. package/dist/lib/components/FullBleed/index.ts +0 -3
  158. package/dist/lib/components/FullBleed/styles.tsx +0 -32
  159. package/dist/lib/components/FullBleed/types.ts +0 -9
  160. package/dist/lib/components/Grid/Grid.tsx +0 -66
  161. package/dist/lib/components/Grid/index.ts +0 -3
  162. package/dist/lib/components/Grid/styles.tsx +0 -31
  163. package/dist/lib/components/Grid/types.ts +0 -24
  164. package/dist/lib/components/Header/Header.tsx +0 -212
  165. package/dist/lib/components/Header/HeaderBurger.tsx +0 -59
  166. package/dist/lib/components/Header/HeaderLogo.tsx +0 -65
  167. package/dist/lib/components/Header/HeaderNav.tsx +0 -82
  168. package/dist/lib/components/Header/HeaderNavLink.tsx +0 -32
  169. package/dist/lib/components/Header/HeaderSearch.tsx +0 -83
  170. package/dist/lib/components/Header/index.ts +0 -3
  171. package/dist/lib/components/Header/styles.tsx +0 -352
  172. package/dist/lib/components/Header/subtypes.ts +0 -86
  173. package/dist/lib/components/Header/types.ts +0 -91
  174. package/dist/lib/components/Helmet/Helmet.tsx +0 -67
  175. package/dist/lib/components/Helmet/index.ts +0 -3
  176. package/dist/lib/components/Helmet/types.ts +0 -17
  177. package/dist/lib/components/Highlight/Highlight.tsx +0 -45
  178. package/dist/lib/components/Highlight/index.ts +0 -3
  179. package/dist/lib/components/Highlight/types.ts +0 -11
  180. package/dist/lib/components/Hr/Hr.tsx +0 -50
  181. package/dist/lib/components/Hr/index.ts +0 -3
  182. package/dist/lib/components/Hr/styles.tsx +0 -29
  183. package/dist/lib/components/Hr/types.ts +0 -12
  184. package/dist/lib/components/Icon/Icon.tsx +0 -42
  185. package/dist/lib/components/Icon/index.ts +0 -3
  186. package/dist/lib/components/Icon/styles.tsx +0 -21
  187. package/dist/lib/components/Icon/types.ts +0 -13
  188. package/dist/lib/components/IconMenu/IconMenu.tsx +0 -157
  189. package/dist/lib/components/IconMenu/IconMenuItem.tsx +0 -74
  190. package/dist/lib/components/IconMenu/index.ts +0 -4
  191. package/dist/lib/components/IconMenu/styles.tsx +0 -116
  192. package/dist/lib/components/IconMenu/types.ts +0 -56
  193. package/dist/lib/components/Image/Image.tsx +0 -106
  194. package/dist/lib/components/Image/ImageFunction.tsx +0 -53
  195. package/dist/lib/components/Image/index.ts +0 -3
  196. package/dist/lib/components/Image/styles.tsx +0 -87
  197. package/dist/lib/components/Image/types.ts +0 -48
  198. package/dist/lib/components/Input/Input.tsx +0 -189
  199. package/dist/lib/components/Input/index.ts +0 -3
  200. package/dist/lib/components/Input/styles.tsx +0 -41
  201. package/dist/lib/components/Input/subtypes.ts +0 -186
  202. package/dist/lib/components/Input/templates/ColorInput.tsx +0 -40
  203. package/dist/lib/components/Input/templates/DateInput.tsx +0 -127
  204. package/dist/lib/components/Input/templates/FileInput.tsx +0 -61
  205. package/dist/lib/components/Input/templates/PasswordInput.tsx +0 -197
  206. package/dist/lib/components/Input/templates/SearchInput.tsx +0 -140
  207. package/dist/lib/components/Input/templates/SelectInput.tsx +0 -116
  208. package/dist/lib/components/Input/templates/TextInput.tsx +0 -116
  209. package/dist/lib/components/Input/templates/TextareaInput.tsx +0 -43
  210. package/dist/lib/components/Input/templates/TimeInput.tsx +0 -126
  211. package/dist/lib/components/Input/types.ts +0 -24
  212. package/dist/lib/components/InputCheck/InputCheck.tsx +0 -138
  213. package/dist/lib/components/InputCheck/index.ts +0 -3
  214. package/dist/lib/components/InputCheck/styles.tsx +0 -284
  215. package/dist/lib/components/InputCheck/types.ts +0 -35
  216. package/dist/lib/components/InputComponents/components/InputAndListContainer.tsx +0 -51
  217. package/dist/lib/components/InputComponents/components/InputButton.tsx +0 -62
  218. package/dist/lib/components/InputComponents/components/InputContainer.tsx +0 -70
  219. package/dist/lib/components/InputComponents/components/InputIcon.tsx +0 -51
  220. package/dist/lib/components/InputComponents/components/InputLeftContainer.tsx +0 -29
  221. package/dist/lib/components/InputComponents/components/InputPrefix.tsx +0 -31
  222. package/dist/lib/components/InputComponents/components/InputRightContainer.tsx +0 -35
  223. package/dist/lib/components/InputComponents/components/InputSuffix.tsx +0 -31
  224. package/dist/lib/components/InputComponents/components/InputValidationHelper.tsx +0 -98
  225. package/dist/lib/components/InputComponents/components/InputValidationIcon.tsx +0 -66
  226. package/dist/lib/components/InputComponents/components/InputWrapper.tsx +0 -46
  227. package/dist/lib/components/InputComponents/components/ListInput.tsx +0 -51
  228. package/dist/lib/components/InputComponents/components/ListInputItem.tsx +0 -56
  229. package/dist/lib/components/InputComponents/index.ts +0 -15
  230. package/dist/lib/components/InputComponents/styles.tsx +0 -738
  231. package/dist/lib/components/InputComponents/types.ts +0 -289
  232. package/dist/lib/components/InputContainer/HelperBottom.tsx +0 -96
  233. package/dist/lib/components/InputContainer/InputContainer.tsx +0 -132
  234. package/dist/lib/components/InputContainer/index.ts +0 -3
  235. package/dist/lib/components/InputContainer/styles.tsx +0 -89
  236. package/dist/lib/components/InputContainer/subtypes.ts +0 -10
  237. package/dist/lib/components/InputContainer/types.ts +0 -25
  238. package/dist/lib/components/InputCounter/InputCounter.tsx +0 -287
  239. package/dist/lib/components/InputCounter/index.ts +0 -3
  240. package/dist/lib/components/InputCounter/styles.tsx +0 -53
  241. package/dist/lib/components/InputCounter/subtypes.ts +0 -9
  242. package/dist/lib/components/InputCounter/types.ts +0 -51
  243. package/dist/lib/components/InputImage/EmptyContainer.tsx +0 -41
  244. package/dist/lib/components/InputImage/HoverContainer.tsx +0 -48
  245. package/dist/lib/components/InputImage/InputImage.tsx +0 -151
  246. package/dist/lib/components/InputImage/index.ts +0 -3
  247. package/dist/lib/components/InputImage/styles.tsx +0 -115
  248. package/dist/lib/components/InputImage/subtypes.ts +0 -30
  249. package/dist/lib/components/InputImage/types.ts +0 -25
  250. package/dist/lib/components/InputPhone/InputPhone.tsx +0 -386
  251. package/dist/lib/components/InputPhone/index.ts +0 -3
  252. package/dist/lib/components/InputPhone/styles.tsx +0 -219
  253. package/dist/lib/components/InputPhone/types.ts +0 -35
  254. package/dist/lib/components/InputPhone/utils/countries.ts +0 -648
  255. package/dist/lib/components/InputPhone/utils/flags/ac.svg +0 -76
  256. package/dist/lib/components/InputPhone/utils/flags/ad.svg +0 -150
  257. package/dist/lib/components/InputPhone/utils/flags/ae.svg +0 -6
  258. package/dist/lib/components/InputPhone/utils/flags/af.svg +0 -81
  259. package/dist/lib/components/InputPhone/utils/flags/ag.svg +0 -14
  260. package/dist/lib/components/InputPhone/utils/flags/ai.svg +0 -758
  261. package/dist/lib/components/InputPhone/utils/flags/al.svg +0 -5
  262. package/dist/lib/components/InputPhone/utils/flags/am.svg +0 -5
  263. package/dist/lib/components/InputPhone/utils/flags/ao.svg +0 -13
  264. package/dist/lib/components/InputPhone/utils/flags/aq.svg +0 -5
  265. package/dist/lib/components/InputPhone/utils/flags/ar.svg +0 -32
  266. package/dist/lib/components/InputPhone/utils/flags/as.svg +0 -72
  267. package/dist/lib/components/InputPhone/utils/flags/at.svg +0 -6
  268. package/dist/lib/components/InputPhone/utils/flags/au.svg +0 -8
  269. package/dist/lib/components/InputPhone/utils/flags/aw.svg +0 -186
  270. package/dist/lib/components/InputPhone/utils/flags/ax.svg +0 -18
  271. package/dist/lib/components/InputPhone/utils/flags/az.svg +0 -8
  272. package/dist/lib/components/InputPhone/utils/flags/ba.svg +0 -12
  273. package/dist/lib/components/InputPhone/utils/flags/bb.svg +0 -6
  274. package/dist/lib/components/InputPhone/utils/flags/bd.svg +0 -4
  275. package/dist/lib/components/InputPhone/utils/flags/be.svg +0 -7
  276. package/dist/lib/components/InputPhone/utils/flags/bf.svg +0 -7
  277. package/dist/lib/components/InputPhone/utils/flags/bg.svg +0 -7
  278. package/dist/lib/components/InputPhone/utils/flags/bh.svg +0 -4
  279. package/dist/lib/components/InputPhone/utils/flags/bi.svg +0 -15
  280. package/dist/lib/components/InputPhone/utils/flags/bj.svg +0 -14
  281. package/dist/lib/components/InputPhone/utils/flags/bl.svg +0 -7
  282. package/dist/lib/components/InputPhone/utils/flags/bm.svg +0 -97
  283. package/dist/lib/components/InputPhone/utils/flags/bn.svg +0 -36
  284. package/dist/lib/components/InputPhone/utils/flags/bo.svg +0 -676
  285. package/dist/lib/components/InputPhone/utils/flags/bq.svg +0 -5
  286. package/dist/lib/components/InputPhone/utils/flags/br.svg +0 -45
  287. package/dist/lib/components/InputPhone/utils/flags/bs.svg +0 -13
  288. package/dist/lib/components/InputPhone/utils/flags/bt.svg +0 -89
  289. package/dist/lib/components/InputPhone/utils/flags/bv.svg +0 -13
  290. package/dist/lib/components/InputPhone/utils/flags/bw.svg +0 -7
  291. package/dist/lib/components/InputPhone/utils/flags/by.svg +0 -20
  292. package/dist/lib/components/InputPhone/utils/flags/bz.svg +0 -145
  293. package/dist/lib/components/InputPhone/utils/flags/ca.svg +0 -4
  294. package/dist/lib/components/InputPhone/utils/flags/cc.svg +0 -19
  295. package/dist/lib/components/InputPhone/utils/flags/cd.svg +0 -5
  296. package/dist/lib/components/InputPhone/utils/flags/cefta.svg +0 -13
  297. package/dist/lib/components/InputPhone/utils/flags/cf.svg +0 -15
  298. package/dist/lib/components/InputPhone/utils/flags/cg.svg +0 -12
  299. package/dist/lib/components/InputPhone/utils/flags/ch.svg +0 -9
  300. package/dist/lib/components/InputPhone/utils/flags/ci.svg +0 -7
  301. package/dist/lib/components/InputPhone/utils/flags/ck.svg +0 -9
  302. package/dist/lib/components/InputPhone/utils/flags/cl.svg +0 -13
  303. package/dist/lib/components/InputPhone/utils/flags/cm.svg +0 -15
  304. package/dist/lib/components/InputPhone/utils/flags/cn.svg +0 -11
  305. package/dist/lib/components/InputPhone/utils/flags/co.svg +0 -7
  306. package/dist/lib/components/InputPhone/utils/flags/cp.svg +0 -7
  307. package/dist/lib/components/InputPhone/utils/flags/cr.svg +0 -7
  308. package/dist/lib/components/InputPhone/utils/flags/cu.svg +0 -13
  309. package/dist/lib/components/InputPhone/utils/flags/cv.svg +0 -13
  310. package/dist/lib/components/InputPhone/utils/flags/cw.svg +0 -14
  311. package/dist/lib/components/InputPhone/utils/flags/cx.svg +0 -15
  312. package/dist/lib/components/InputPhone/utils/flags/cy.svg +0 -6
  313. package/dist/lib/components/InputPhone/utils/flags/cz.svg +0 -5
  314. package/dist/lib/components/InputPhone/utils/flags/de.svg +0 -5
  315. package/dist/lib/components/InputPhone/utils/flags/dg.svg +0 -129
  316. package/dist/lib/components/InputPhone/utils/flags/dj.svg +0 -13
  317. package/dist/lib/components/InputPhone/utils/flags/dk.svg +0 -5
  318. package/dist/lib/components/InputPhone/utils/flags/dm.svg +0 -152
  319. package/dist/lib/components/InputPhone/utils/flags/do.svg +0 -6745
  320. package/dist/lib/components/InputPhone/utils/flags/dz.svg +0 -5
  321. package/dist/lib/components/InputPhone/utils/flags/ea.svg +0 -544
  322. package/dist/lib/components/InputPhone/utils/flags/ec.svg +0 -138
  323. package/dist/lib/components/InputPhone/utils/flags/ee.svg +0 -7
  324. package/dist/lib/components/InputPhone/utils/flags/eg.svg +0 -38
  325. package/dist/lib/components/InputPhone/utils/flags/eh.svg +0 -16
  326. package/dist/lib/components/InputPhone/utils/flags/er.svg +0 -8
  327. package/dist/lib/components/InputPhone/utils/flags/es-ct.svg +0 -4
  328. package/dist/lib/components/InputPhone/utils/flags/es-ga.svg +0 -187
  329. package/dist/lib/components/InputPhone/utils/flags/es.svg +0 -544
  330. package/dist/lib/components/InputPhone/utils/flags/et.svg +0 -14
  331. package/dist/lib/components/InputPhone/utils/flags/eu.svg +0 -28
  332. package/dist/lib/components/InputPhone/utils/flags/fi.svg +0 -5
  333. package/dist/lib/components/InputPhone/utils/flags/fj.svg +0 -120
  334. package/dist/lib/components/InputPhone/utils/flags/fk.svg +0 -90
  335. package/dist/lib/components/InputPhone/utils/flags/fm.svg +0 -11
  336. package/dist/lib/components/InputPhone/utils/flags/fo.svg +0 -12
  337. package/dist/lib/components/InputPhone/utils/flags/fr.svg +0 -7
  338. package/dist/lib/components/InputPhone/utils/flags/ga.svg +0 -7
  339. package/dist/lib/components/InputPhone/utils/flags/gb-eng.svg +0 -5
  340. package/dist/lib/components/InputPhone/utils/flags/gb-nir.svg +0 -132
  341. package/dist/lib/components/InputPhone/utils/flags/gb-sct.svg +0 -4
  342. package/dist/lib/components/InputPhone/utils/flags/gb-wls.svg +0 -9
  343. package/dist/lib/components/InputPhone/utils/flags/gb.svg +0 -7
  344. package/dist/lib/components/InputPhone/utils/flags/gd.svg +0 -27
  345. package/dist/lib/components/InputPhone/utils/flags/ge.svg +0 -6
  346. package/dist/lib/components/InputPhone/utils/flags/gf.svg +0 -7
  347. package/dist/lib/components/InputPhone/utils/flags/gg.svg +0 -9
  348. package/dist/lib/components/InputPhone/utils/flags/gh.svg +0 -6
  349. package/dist/lib/components/InputPhone/utils/flags/gi.svg +0 -32
  350. package/dist/lib/components/InputPhone/utils/flags/gl.svg +0 -4
  351. package/dist/lib/components/InputPhone/utils/flags/gm.svg +0 -14
  352. package/dist/lib/components/InputPhone/utils/flags/gn.svg +0 -7
  353. package/dist/lib/components/InputPhone/utils/flags/gp.svg +0 -7
  354. package/dist/lib/components/InputPhone/utils/flags/gq.svg +0 -23
  355. package/dist/lib/components/InputPhone/utils/flags/gr.svg +0 -16
  356. package/dist/lib/components/InputPhone/utils/flags/gs.svg +0 -133
  357. package/dist/lib/components/InputPhone/utils/flags/gt.svg +0 -220
  358. package/dist/lib/components/InputPhone/utils/flags/gu.svg +0 -23
  359. package/dist/lib/components/InputPhone/utils/flags/gw.svg +0 -13
  360. package/dist/lib/components/InputPhone/utils/flags/gy.svg +0 -9
  361. package/dist/lib/components/InputPhone/utils/flags/hk.svg +0 -30
  362. package/dist/lib/components/InputPhone/utils/flags/hm.svg +0 -8
  363. package/dist/lib/components/InputPhone/utils/flags/hn.svg +0 -18
  364. package/dist/lib/components/InputPhone/utils/flags/hr.svg +0 -58
  365. package/dist/lib/components/InputPhone/utils/flags/ht.svg +0 -116
  366. package/dist/lib/components/InputPhone/utils/flags/hu.svg +0 -7
  367. package/dist/lib/components/InputPhone/utils/flags/ic.svg +0 -7
  368. package/dist/lib/components/InputPhone/utils/flags/id.svg +0 -4
  369. package/dist/lib/components/InputPhone/utils/flags/ie.svg +0 -7
  370. package/dist/lib/components/InputPhone/utils/flags/il.svg +0 -14
  371. package/dist/lib/components/InputPhone/utils/flags/im.svg +0 -36
  372. package/dist/lib/components/InputPhone/utils/flags/in.svg +0 -25
  373. package/dist/lib/components/InputPhone/utils/flags/io.svg +0 -129
  374. package/dist/lib/components/InputPhone/utils/flags/iq.svg +0 -10
  375. package/dist/lib/components/InputPhone/utils/flags/ir.svg +0 -219
  376. package/dist/lib/components/InputPhone/utils/flags/is.svg +0 -12
  377. package/dist/lib/components/InputPhone/utils/flags/it.svg +0 -7
  378. package/dist/lib/components/InputPhone/utils/flags/je.svg +0 -45
  379. package/dist/lib/components/InputPhone/utils/flags/jm.svg +0 -8
  380. package/dist/lib/components/InputPhone/utils/flags/jo.svg +0 -16
  381. package/dist/lib/components/InputPhone/utils/flags/jp.svg +0 -11
  382. package/dist/lib/components/InputPhone/utils/flags/ke.svg +0 -23
  383. package/dist/lib/components/InputPhone/utils/flags/kg.svg +0 -15
  384. package/dist/lib/components/InputPhone/utils/flags/kh.svg +0 -61
  385. package/dist/lib/components/InputPhone/utils/flags/ki.svg +0 -36
  386. package/dist/lib/components/InputPhone/utils/flags/km.svg +0 -16
  387. package/dist/lib/components/InputPhone/utils/flags/kn.svg +0 -14
  388. package/dist/lib/components/InputPhone/utils/flags/kp.svg +0 -15
  389. package/dist/lib/components/InputPhone/utils/flags/kr.svg +0 -24
  390. package/dist/lib/components/InputPhone/utils/flags/kw.svg +0 -13
  391. package/dist/lib/components/InputPhone/utils/flags/ky.svg +0 -109
  392. package/dist/lib/components/InputPhone/utils/flags/kz.svg +0 -23
  393. package/dist/lib/components/InputPhone/utils/flags/la.svg +0 -12
  394. package/dist/lib/components/InputPhone/utils/flags/lb.svg +0 -15
  395. package/dist/lib/components/InputPhone/utils/flags/lc.svg +0 -8
  396. package/dist/lib/components/InputPhone/utils/flags/li.svg +0 -43
  397. package/dist/lib/components/InputPhone/utils/flags/lk.svg +0 -22
  398. package/dist/lib/components/InputPhone/utils/flags/lr.svg +0 -14
  399. package/dist/lib/components/InputPhone/utils/flags/ls.svg +0 -8
  400. package/dist/lib/components/InputPhone/utils/flags/lt.svg +0 -7
  401. package/dist/lib/components/InputPhone/utils/flags/lu.svg +0 -5
  402. package/dist/lib/components/InputPhone/utils/flags/lv.svg +0 -6
  403. package/dist/lib/components/InputPhone/utils/flags/ly.svg +0 -13
  404. package/dist/lib/components/InputPhone/utils/flags/ma.svg +0 -4
  405. package/dist/lib/components/InputPhone/utils/flags/mc.svg +0 -6
  406. package/dist/lib/components/InputPhone/utils/flags/md.svg +0 -70
  407. package/dist/lib/components/InputPhone/utils/flags/me.svg +0 -116
  408. package/dist/lib/components/InputPhone/utils/flags/mf.svg +0 -7
  409. package/dist/lib/components/InputPhone/utils/flags/mg.svg +0 -7
  410. package/dist/lib/components/InputPhone/utils/flags/mh.svg +0 -7
  411. package/dist/lib/components/InputPhone/utils/flags/mk.svg +0 -5
  412. package/dist/lib/components/InputPhone/utils/flags/ml.svg +0 -7
  413. package/dist/lib/components/InputPhone/utils/flags/mm.svg +0 -12
  414. package/dist/lib/components/InputPhone/utils/flags/mn.svg +0 -14
  415. package/dist/lib/components/InputPhone/utils/flags/mo.svg +0 -9
  416. package/dist/lib/components/InputPhone/utils/flags/mp.svg +0 -86
  417. package/dist/lib/components/InputPhone/utils/flags/mq.svg +0 -7
  418. package/dist/lib/components/InputPhone/utils/flags/mr.svg +0 -6
  419. package/dist/lib/components/InputPhone/utils/flags/ms.svg +0 -33
  420. package/dist/lib/components/InputPhone/utils/flags/mt.svg +0 -49
  421. package/dist/lib/components/InputPhone/utils/flags/mu.svg +0 -8
  422. package/dist/lib/components/InputPhone/utils/flags/mv.svg +0 -6
  423. package/dist/lib/components/InputPhone/utils/flags/mw.svg +0 -10
  424. package/dist/lib/components/InputPhone/utils/flags/mx.svg +0 -382
  425. package/dist/lib/components/InputPhone/utils/flags/my.svg +0 -7
  426. package/dist/lib/components/InputPhone/utils/flags/mz.svg +0 -21
  427. package/dist/lib/components/InputPhone/utils/flags/na.svg +0 -16
  428. package/dist/lib/components/InputPhone/utils/flags/nc.svg +0 -13
  429. package/dist/lib/components/InputPhone/utils/flags/ne.svg +0 -6
  430. package/dist/lib/components/InputPhone/utils/flags/nf.svg +0 -9
  431. package/dist/lib/components/InputPhone/utils/flags/ng.svg +0 -6
  432. package/dist/lib/components/InputPhone/utils/flags/ni.svg +0 -129
  433. package/dist/lib/components/InputPhone/utils/flags/nl.svg +0 -5
  434. package/dist/lib/components/InputPhone/utils/flags/no.svg +0 -7
  435. package/dist/lib/components/InputPhone/utils/flags/np.svg +0 -14
  436. package/dist/lib/components/InputPhone/utils/flags/nr.svg +0 -12
  437. package/dist/lib/components/InputPhone/utils/flags/nu.svg +0 -10
  438. package/dist/lib/components/InputPhone/utils/flags/nz.svg +0 -36
  439. package/dist/lib/components/InputPhone/utils/flags/om.svg +0 -115
  440. package/dist/lib/components/InputPhone/utils/flags/pa.svg +0 -14
  441. package/dist/lib/components/InputPhone/utils/flags/pe.svg +0 -244
  442. package/dist/lib/components/InputPhone/utils/flags/pf.svg +0 -19
  443. package/dist/lib/components/InputPhone/utils/flags/pg.svg +0 -9
  444. package/dist/lib/components/InputPhone/utils/flags/ph.svg +0 -6
  445. package/dist/lib/components/InputPhone/utils/flags/pk.svg +0 -15
  446. package/dist/lib/components/InputPhone/utils/flags/pl.svg +0 -6
  447. package/dist/lib/components/InputPhone/utils/flags/pm.svg +0 -7
  448. package/dist/lib/components/InputPhone/utils/flags/pn.svg +0 -53
  449. package/dist/lib/components/InputPhone/utils/flags/pr.svg +0 -13
  450. package/dist/lib/components/InputPhone/utils/flags/ps.svg +0 -15
  451. package/dist/lib/components/InputPhone/utils/flags/pt.svg +0 -57
  452. package/dist/lib/components/InputPhone/utils/flags/pw.svg +0 -11
  453. package/dist/lib/components/InputPhone/utils/flags/py.svg +0 -157
  454. package/dist/lib/components/InputPhone/utils/flags/qa.svg +0 -4
  455. package/dist/lib/components/InputPhone/utils/flags/re.svg +0 -7
  456. package/dist/lib/components/InputPhone/utils/flags/ro.svg +0 -7
  457. package/dist/lib/components/InputPhone/utils/flags/rs.svg +0 -292
  458. package/dist/lib/components/InputPhone/utils/flags/ru.svg +0 -7
  459. package/dist/lib/components/InputPhone/utils/flags/rw.svg +0 -13
  460. package/dist/lib/components/InputPhone/utils/flags/sa.svg +0 -26
  461. package/dist/lib/components/InputPhone/utils/flags/sb.svg +0 -13
  462. package/dist/lib/components/InputPhone/utils/flags/sc.svg +0 -7
  463. package/dist/lib/components/InputPhone/utils/flags/sd.svg +0 -13
  464. package/dist/lib/components/InputPhone/utils/flags/se.svg +0 -4
  465. package/dist/lib/components/InputPhone/utils/flags/sg.svg +0 -13
  466. package/dist/lib/components/InputPhone/utils/flags/sh.svg +0 -76
  467. package/dist/lib/components/InputPhone/utils/flags/si.svg +0 -18
  468. package/dist/lib/components/InputPhone/utils/flags/sj.svg +0 -7
  469. package/dist/lib/components/InputPhone/utils/flags/sk.svg +0 -9
  470. package/dist/lib/components/InputPhone/utils/flags/sl.svg +0 -7
  471. package/dist/lib/components/InputPhone/utils/flags/sm.svg +0 -75
  472. package/dist/lib/components/InputPhone/utils/flags/sn.svg +0 -8
  473. package/dist/lib/components/InputPhone/utils/flags/so.svg +0 -11
  474. package/dist/lib/components/InputPhone/utils/flags/sr.svg +0 -6
  475. package/dist/lib/components/InputPhone/utils/flags/ss.svg +0 -8
  476. package/dist/lib/components/InputPhone/utils/flags/st.svg +0 -16
  477. package/dist/lib/components/InputPhone/utils/flags/sv.svg +0 -594
  478. package/dist/lib/components/InputPhone/utils/flags/sx.svg +0 -56
  479. package/dist/lib/components/InputPhone/utils/flags/sy.svg +0 -6
  480. package/dist/lib/components/InputPhone/utils/flags/sz.svg +0 -34
  481. package/dist/lib/components/InputPhone/utils/flags/ta.svg +0 -76
  482. package/dist/lib/components/InputPhone/utils/flags/tc.svg +0 -50
  483. package/dist/lib/components/InputPhone/utils/flags/td.svg +0 -7
  484. package/dist/lib/components/InputPhone/utils/flags/tf.svg +0 -15
  485. package/dist/lib/components/InputPhone/utils/flags/tg.svg +0 -14
  486. package/dist/lib/components/InputPhone/utils/flags/th.svg +0 -7
  487. package/dist/lib/components/InputPhone/utils/flags/tj.svg +0 -22
  488. package/dist/lib/components/InputPhone/utils/flags/tk.svg +0 -5
  489. package/dist/lib/components/InputPhone/utils/flags/tl.svg +0 -13
  490. package/dist/lib/components/InputPhone/utils/flags/tm.svg +0 -205
  491. package/dist/lib/components/InputPhone/utils/flags/tn.svg +0 -13
  492. package/dist/lib/components/InputPhone/utils/flags/to.svg +0 -10
  493. package/dist/lib/components/InputPhone/utils/flags/tr.svg +0 -8
  494. package/dist/lib/components/InputPhone/utils/flags/tt.svg +0 -5
  495. package/dist/lib/components/InputPhone/utils/flags/tv.svg +0 -9
  496. package/dist/lib/components/InputPhone/utils/flags/tw.svg +0 -34
  497. package/dist/lib/components/InputPhone/utils/flags/tz.svg +0 -13
  498. package/dist/lib/components/InputPhone/utils/flags/ua.svg +0 -6
  499. package/dist/lib/components/InputPhone/utils/flags/ug.svg +0 -30
  500. package/dist/lib/components/InputPhone/utils/flags/um.svg +0 -15
  501. package/dist/lib/components/InputPhone/utils/flags/un.svg +0 -16
  502. package/dist/lib/components/InputPhone/utils/flags/us.svg +0 -10
  503. package/dist/lib/components/InputPhone/utils/flags/uy.svg +0 -28
  504. package/dist/lib/components/InputPhone/utils/flags/uz.svg +0 -30
  505. package/dist/lib/components/InputPhone/utils/flags/va.svg +0 -479
  506. package/dist/lib/components/InputPhone/utils/flags/vc.svg +0 -8
  507. package/dist/lib/components/InputPhone/utils/flags/ve.svg +0 -26
  508. package/dist/lib/components/InputPhone/utils/flags/vg.svg +0 -63
  509. package/dist/lib/components/InputPhone/utils/flags/vi.svg +0 -28
  510. package/dist/lib/components/InputPhone/utils/flags/vn.svg +0 -11
  511. package/dist/lib/components/InputPhone/utils/flags/vu.svg +0 -21
  512. package/dist/lib/components/InputPhone/utils/flags/wf.svg +0 -7
  513. package/dist/lib/components/InputPhone/utils/flags/ws.svg +0 -7
  514. package/dist/lib/components/InputPhone/utils/flags/xk.svg +0 -8
  515. package/dist/lib/components/InputPhone/utils/flags/xx.svg +0 -4
  516. package/dist/lib/components/InputPhone/utils/flags/ye.svg +0 -7
  517. package/dist/lib/components/InputPhone/utils/flags/yt.svg +0 -7
  518. package/dist/lib/components/InputPhone/utils/flags/za.svg +0 -17
  519. package/dist/lib/components/InputPhone/utils/flags/zm.svg +0 -27
  520. package/dist/lib/components/InputPhone/utils/flags/zw.svg +0 -21
  521. package/dist/lib/components/InputPin/InputPin.tsx +0 -138
  522. package/dist/lib/components/InputPin/index.ts +0 -3
  523. package/dist/lib/components/InputPin/styles.tsx +0 -70
  524. package/dist/lib/components/InputPin/subtypes.ts +0 -11
  525. package/dist/lib/components/InputPin/types.ts +0 -31
  526. package/dist/lib/components/InputSlider/InputSlider.tsx +0 -184
  527. package/dist/lib/components/InputSlider/Slider.tsx +0 -52
  528. package/dist/lib/components/InputSlider/index.ts +0 -3
  529. package/dist/lib/components/InputSlider/styles.tsx +0 -292
  530. package/dist/lib/components/InputSlider/types.ts +0 -14
  531. package/dist/lib/components/Key/Key.tsx +0 -45
  532. package/dist/lib/components/Key/index.ts +0 -3
  533. package/dist/lib/components/Key/styles.tsx +0 -29
  534. package/dist/lib/components/Key/types.ts +0 -11
  535. package/dist/lib/components/LibIcon/LibIcon.tsx +0 -35
  536. package/dist/lib/components/LibIcon/index.ts +0 -3
  537. package/dist/lib/components/LibIcon/types.ts +0 -9
  538. package/dist/lib/components/Link/Link.tsx +0 -68
  539. package/dist/lib/components/Link/index.ts +0 -3
  540. package/dist/lib/components/Link/types.ts +0 -9
  541. package/dist/lib/components/Linkify/Linkify.tsx +0 -51
  542. package/dist/lib/components/Linkify/index.ts +0 -3
  543. package/dist/lib/components/Linkify/types.ts +0 -8
  544. package/dist/lib/components/ListGroup/ListGroup.tsx +0 -113
  545. package/dist/lib/components/ListGroup/ListGroupItem.tsx +0 -164
  546. package/dist/lib/components/ListGroup/ListGroupTitle.tsx +0 -56
  547. package/dist/lib/components/ListGroup/index.ts +0 -5
  548. package/dist/lib/components/ListGroup/styles.tsx +0 -179
  549. package/dist/lib/components/ListGroup/types.ts +0 -114
  550. package/dist/lib/components/Loader/Loader.tsx +0 -35
  551. package/dist/lib/components/Loader/index.ts +0 -3
  552. package/dist/lib/components/Loader/styles.tsx +0 -140
  553. package/dist/lib/components/Loader/templates/LoaderFour.tsx +0 -24
  554. package/dist/lib/components/Loader/templates/LoaderOne.tsx +0 -24
  555. package/dist/lib/components/Loader/templates/LoaderThree.tsx +0 -29
  556. package/dist/lib/components/Loader/templates/LoaderTwo.tsx +0 -24
  557. package/dist/lib/components/Loader/types.ts +0 -25
  558. package/dist/lib/components/Main/Main.tsx +0 -45
  559. package/dist/lib/components/Main/index.ts +0 -3
  560. package/dist/lib/components/Main/styles.tsx +0 -61
  561. package/dist/lib/components/Main/types.ts +0 -19
  562. package/dist/lib/components/MarkdownContainer/MarkdownContainer.tsx +0 -35
  563. package/dist/lib/components/MarkdownContainer/index.ts +0 -3
  564. package/dist/lib/components/MarkdownContainer/styles.tsx +0 -17
  565. package/dist/lib/components/MarkdownContainer/types.ts +0 -9
  566. package/dist/lib/components/MarkdownEditor/MarkdownEditor.tsx +0 -196
  567. package/dist/lib/components/MarkdownEditor/MdEditorButtons/EditorButtonTitles.tsx +0 -77
  568. package/dist/lib/components/MarkdownEditor/MdEditorButtons/EditorButtons.tsx +0 -75
  569. package/dist/lib/components/MarkdownEditor/MdEditorButtons/MarkdownButtons.tsx +0 -54
  570. package/dist/lib/components/MarkdownEditor/MdEditorInput.tsx +0 -98
  571. package/dist/lib/components/MarkdownEditor/index.ts +0 -3
  572. package/dist/lib/components/MarkdownEditor/markdown-buttons.tsx +0 -182
  573. package/dist/lib/components/MarkdownEditor/styles.tsx +0 -186
  574. package/dist/lib/components/MarkdownEditor/subtypes.ts +0 -54
  575. package/dist/lib/components/MarkdownEditor/types.ts +0 -59
  576. package/dist/lib/components/Masonry/Masonry.tsx +0 -67
  577. package/dist/lib/components/Masonry/index.ts +0 -3
  578. package/dist/lib/components/Masonry/styles.tsx +0 -24
  579. package/dist/lib/components/Masonry/types.ts +0 -10
  580. package/dist/lib/components/Masonry/utils.ts +0 -30
  581. package/dist/lib/components/Messaging/Message.tsx +0 -106
  582. package/dist/lib/components/Messaging/MessageForm.tsx +0 -144
  583. package/dist/lib/components/Messaging/MessagesContainer.tsx +0 -29
  584. package/dist/lib/components/Messaging/MessagesList.tsx +0 -136
  585. package/dist/lib/components/Messaging/Messaging.tsx +0 -123
  586. package/dist/lib/components/Messaging/index.ts +0 -7
  587. package/dist/lib/components/Messaging/styles.tsx +0 -177
  588. package/dist/lib/components/Messaging/types.ts +0 -131
  589. package/dist/lib/components/Modal/Modal.tsx +0 -127
  590. package/dist/lib/components/Modal/index.ts +0 -3
  591. package/dist/lib/components/Modal/styles.tsx +0 -62
  592. package/dist/lib/components/Modal/types.ts +0 -38
  593. package/dist/lib/components/PageLayout/PageLayout.tsx +0 -80
  594. package/dist/lib/components/PageLayout/index.ts +0 -3
  595. package/dist/lib/components/PageLayout/types.ts +0 -47
  596. package/dist/lib/components/PageLoading/PageLoading.tsx +0 -64
  597. package/dist/lib/components/PageLoading/index.ts +0 -3
  598. package/dist/lib/components/PageLoading/styles.tsx +0 -24
  599. package/dist/lib/components/PageLoading/types.ts +0 -15
  600. package/dist/lib/components/Pagination/Pagination.tsx +0 -265
  601. package/dist/lib/components/Pagination/PaginationButton.tsx +0 -51
  602. package/dist/lib/components/Pagination/index.ts +0 -4
  603. package/dist/lib/components/Pagination/styles.tsx +0 -72
  604. package/dist/lib/components/Pagination/types.ts +0 -61
  605. package/dist/lib/components/Paginator/Paginator.tsx +0 -162
  606. package/dist/lib/components/Paginator/index.ts +0 -3
  607. package/dist/lib/components/Paginator/styles.tsx +0 -36
  608. package/dist/lib/components/Paginator/types.ts +0 -16
  609. package/dist/lib/components/ProgressBar/ProgressBar.tsx +0 -68
  610. package/dist/lib/components/ProgressBar/index.ts +0 -3
  611. package/dist/lib/components/ProgressBar/styles.tsx +0 -55
  612. package/dist/lib/components/ProgressBar/types.ts +0 -13
  613. package/dist/lib/components/ProgressCircle/Circle.tsx +0 -30
  614. package/dist/lib/components/ProgressCircle/ProgressCircle.tsx +0 -93
  615. package/dist/lib/components/ProgressCircle/ProgressCircleFn.tsx +0 -48
  616. package/dist/lib/components/ProgressCircle/Value.tsx +0 -31
  617. package/dist/lib/components/ProgressCircle/clean-percentage.ts +0 -7
  618. package/dist/lib/components/ProgressCircle/index.ts +0 -3
  619. package/dist/lib/components/ProgressCircle/styles.tsx +0 -55
  620. package/dist/lib/components/ProgressCircle/subtypes.ts +0 -11
  621. package/dist/lib/components/ProgressCircle/types.ts +0 -31
  622. package/dist/lib/components/Rating/Rating.tsx +0 -177
  623. package/dist/lib/components/Rating/index.ts +0 -3
  624. package/dist/lib/components/Rating/styles.tsx +0 -52
  625. package/dist/lib/components/Rating/types.ts +0 -24
  626. package/dist/lib/components/ResetScroll/ResetScroll.tsx +0 -22
  627. package/dist/lib/components/ResetScroll/index.ts +0 -3
  628. package/dist/lib/components/Section/Section.tsx +0 -30
  629. package/dist/lib/components/Section/index.ts +0 -3
  630. package/dist/lib/components/Section/styles.tsx +0 -24
  631. package/dist/lib/components/Section/types.ts +0 -7
  632. package/dist/lib/components/Select/Select.tsx +0 -284
  633. package/dist/lib/components/Select/SelectButton.tsx +0 -58
  634. package/dist/lib/components/Select/index.ts +0 -3
  635. package/dist/lib/components/Select/styles.tsx +0 -22
  636. package/dist/lib/components/Select/subtypes.ts +0 -32
  637. package/dist/lib/components/Select/types.ts +0 -33
  638. package/dist/lib/components/Skeleton/Skeleton.tsx +0 -60
  639. package/dist/lib/components/Skeleton/SkeletonCard.tsx +0 -78
  640. package/dist/lib/components/Skeleton/SkeletonShine.tsx +0 -26
  641. package/dist/lib/components/Skeleton/index.ts +0 -5
  642. package/dist/lib/components/Skeleton/styles.tsx +0 -102
  643. package/dist/lib/components/Skeleton/subtypes.ts +0 -16
  644. package/dist/lib/components/Skeleton/types.ts +0 -39
  645. package/dist/lib/components/Slideshow/Slideshow.tsx +0 -218
  646. package/dist/lib/components/Slideshow/SlideshowButton.tsx +0 -99
  647. package/dist/lib/components/Slideshow/SlideshowPagination.tsx +0 -84
  648. package/dist/lib/components/Slideshow/index.ts +0 -3
  649. package/dist/lib/components/Slideshow/styles.tsx +0 -361
  650. package/dist/lib/components/Slideshow/subtypes.ts +0 -22
  651. package/dist/lib/components/Slideshow/types.ts +0 -99
  652. package/dist/lib/components/SrOnly/SrOnly.tsx +0 -23
  653. package/dist/lib/components/SrOnly/index.ts +0 -3
  654. package/dist/lib/components/SrOnly/styles.tsx +0 -21
  655. package/dist/lib/components/SrOnly/types.ts +0 -5
  656. package/dist/lib/components/Stepper/Step.tsx +0 -118
  657. package/dist/lib/components/Stepper/Stepper.tsx +0 -96
  658. package/dist/lib/components/Stepper/index.ts +0 -4
  659. package/dist/lib/components/Stepper/styles.tsx +0 -115
  660. package/dist/lib/components/Stepper/types.ts +0 -48
  661. package/dist/lib/components/Sticky/Sticky.tsx +0 -30
  662. package/dist/lib/components/Sticky/index.ts +0 -3
  663. package/dist/lib/components/Sticky/styles.tsx +0 -15
  664. package/dist/lib/components/Sticky/types.ts +0 -7
  665. package/dist/lib/components/Table/TBody.tsx +0 -17
  666. package/dist/lib/components/Table/THead.tsx +0 -17
  667. package/dist/lib/components/Table/Table.tsx +0 -124
  668. package/dist/lib/components/Table/Td.tsx +0 -26
  669. package/dist/lib/components/Table/Tr.tsx +0 -17
  670. package/dist/lib/components/Table/index.ts +0 -7
  671. package/dist/lib/components/Table/styles.tsx +0 -114
  672. package/dist/lib/components/Table/types.ts +0 -52
  673. package/dist/lib/components/Tabs/TabButton.tsx +0 -50
  674. package/dist/lib/components/Tabs/TabItem.tsx +0 -34
  675. package/dist/lib/components/Tabs/Tabs.tsx +0 -137
  676. package/dist/lib/components/Tabs/TabsButtonsContainer.tsx +0 -46
  677. package/dist/lib/components/Tabs/TabsContainer.tsx +0 -23
  678. package/dist/lib/components/Tabs/index.ts +0 -7
  679. package/dist/lib/components/Tabs/styles.tsx +0 -178
  680. package/dist/lib/components/Tabs/types.ts +0 -60
  681. package/dist/lib/components/Tag/Tag.tsx +0 -97
  682. package/dist/lib/components/Tag/index.ts +0 -3
  683. package/dist/lib/components/Tag/styles.tsx +0 -41
  684. package/dist/lib/components/Tag/types.ts +0 -43
  685. package/dist/lib/components/Text/Text.tsx +0 -69
  686. package/dist/lib/components/Text/index.ts +0 -3
  687. package/dist/lib/components/Text/styles.tsx +0 -230
  688. package/dist/lib/components/Text/subtypes.ts +0 -15
  689. package/dist/lib/components/Text/templates/Blockquote.tsx +0 -34
  690. package/dist/lib/components/Text/templates/Dl.tsx +0 -34
  691. package/dist/lib/components/Text/templates/Em.tsx +0 -34
  692. package/dist/lib/components/Text/templates/H1.tsx +0 -36
  693. package/dist/lib/components/Text/templates/H2.tsx +0 -36
  694. package/dist/lib/components/Text/templates/H3.tsx +0 -36
  695. package/dist/lib/components/Text/templates/H4.tsx +0 -36
  696. package/dist/lib/components/Text/templates/H5.tsx +0 -36
  697. package/dist/lib/components/Text/templates/H6.tsx +0 -34
  698. package/dist/lib/components/Text/templates/Ol.tsx +0 -34
  699. package/dist/lib/components/Text/templates/P.tsx +0 -34
  700. package/dist/lib/components/Text/templates/Small.tsx +0 -34
  701. package/dist/lib/components/Text/templates/Strong.tsx +0 -34
  702. package/dist/lib/components/Text/templates/Ul.tsx +0 -34
  703. package/dist/lib/components/Text/types.ts +0 -28
  704. package/dist/lib/components/TextIcon/TextIcon.tsx +0 -104
  705. package/dist/lib/components/TextIcon/index.ts +0 -3
  706. package/dist/lib/components/TextIcon/styles.tsx +0 -38
  707. package/dist/lib/components/TextIcon/types.ts +0 -21
  708. package/dist/lib/components/TextIcon/utils.ts +0 -56
  709. package/dist/lib/components/Timepicker/Timepicker.tsx +0 -294
  710. package/dist/lib/components/Timepicker/index.ts +0 -3
  711. package/dist/lib/components/Timepicker/styles.tsx +0 -34
  712. package/dist/lib/components/Timepicker/types.ts +0 -69
  713. package/dist/lib/components/Toast/Toast.tsx +0 -210
  714. package/dist/lib/components/Toast/Toaster.tsx +0 -168
  715. package/dist/lib/components/Toast/index.ts +0 -3
  716. package/dist/lib/components/Toast/styles.tsx +0 -249
  717. package/dist/lib/components/Toast/types.ts +0 -32
  718. package/dist/lib/components/Tooltip/Tooltip.tsx +0 -120
  719. package/dist/lib/components/Tooltip/index.ts +0 -3
  720. package/dist/lib/components/Tooltip/styles.tsx +0 -151
  721. package/dist/lib/components/Tooltip/types.ts +0 -22
  722. package/dist/lib/components/Truncate/Truncate.tsx +0 -113
  723. package/dist/lib/components/Truncate/index.ts +0 -3
  724. package/dist/lib/components/Truncate/styles.tsx +0 -37
  725. package/dist/lib/components/Truncate/types.ts +0 -7
  726. package/dist/lib/components/Video/Video.tsx +0 -66
  727. package/dist/lib/components/Video/index.ts +0 -3
  728. package/dist/lib/components/Video/styles.tsx +0 -24
  729. package/dist/lib/components/Video/types.ts +0 -22
  730. package/dist/lib/components/Wrapper/Wrapper.tsx +0 -43
  731. package/dist/lib/components/Wrapper/index.ts +0 -3
  732. package/dist/lib/components/Wrapper/styles.tsx +0 -29
  733. package/dist/lib/components/Wrapper/types.ts +0 -9
  734. package/dist/lib/components/Youtube/Youtube.tsx +0 -44
  735. package/dist/lib/components/Youtube/index.ts +0 -3
  736. package/dist/lib/components/Youtube/styles.tsx +0 -20
  737. package/dist/lib/components/Youtube/types.ts +0 -11
  738. package/dist/lib/context/Theme.context.tsx +0 -104
  739. package/dist/lib/context/Toaster/Toaster.context.tsx +0 -130
  740. package/dist/lib/context/Toaster/index.ts +0 -3
  741. package/dist/lib/context/Toaster/toast.reducer.ts +0 -36
  742. package/dist/lib/hooks/index.ts +0 -17
  743. package/dist/lib/hooks/useClickOutside.tsx +0 -37
  744. package/dist/lib/hooks/useCopyToClipboard.tsx +0 -33
  745. package/dist/lib/hooks/useDebounce.tsx +0 -21
  746. package/dist/lib/hooks/useExportData.tsx +0 -55
  747. package/dist/lib/hooks/useFetch.tsx +0 -25
  748. package/dist/lib/hooks/useForm.tsx +0 -28
  749. package/dist/lib/hooks/useIsOverflow.ts +0 -44
  750. package/dist/lib/hooks/useKeyPress.tsx +0 -95
  751. package/dist/lib/hooks/useMaxWidth.tsx +0 -28
  752. package/dist/lib/hooks/useMergeRefs.ts +0 -33
  753. package/dist/lib/hooks/useMinWidth.tsx +0 -28
  754. package/dist/lib/hooks/usePaginatedData.tsx +0 -37
  755. package/dist/lib/hooks/usePagination.tsx +0 -112
  756. package/dist/lib/hooks/useTouchScreen.tsx +0 -21
  757. package/dist/lib/hooks/useTranslation.tsx +0 -30
  758. package/dist/lib/icons/ArrowUp.tsx +0 -32
  759. package/dist/lib/icons/Bold.tsx +0 -32
  760. package/dist/lib/icons/Calendar.tsx +0 -40
  761. package/dist/lib/icons/CaretDown.tsx +0 -32
  762. package/dist/lib/icons/Check.tsx +0 -32
  763. package/dist/lib/icons/CheckCircle.tsx +0 -38
  764. package/dist/lib/icons/ChevronDown.tsx +0 -32
  765. package/dist/lib/icons/ChevronLeft.tsx +0 -32
  766. package/dist/lib/icons/ChevronRight.tsx +0 -32
  767. package/dist/lib/icons/ChevronUp.tsx +0 -32
  768. package/dist/lib/icons/Clipboard.tsx +0 -32
  769. package/dist/lib/icons/Clock.tsx +0 -35
  770. package/dist/lib/icons/Close.tsx +0 -32
  771. package/dist/lib/icons/CloseCircle.tsx +0 -38
  772. package/dist/lib/icons/Code.tsx +0 -32
  773. package/dist/lib/icons/CodeBlock.tsx +0 -42
  774. package/dist/lib/icons/Comment.tsx +0 -42
  775. package/dist/lib/icons/Drag.tsx +0 -32
  776. package/dist/lib/icons/Edit.tsx +0 -38
  777. package/dist/lib/icons/EditorCode.tsx +0 -36
  778. package/dist/lib/icons/EditorLive.tsx +0 -36
  779. package/dist/lib/icons/EditorPreview.tsx +0 -36
  780. package/dist/lib/icons/Hide.tsx +0 -32
  781. package/dist/lib/icons/Image.tsx +0 -42
  782. package/dist/lib/icons/Italic.tsx +0 -32
  783. package/dist/lib/icons/Link.tsx +0 -36
  784. package/dist/lib/icons/Minus.tsx +0 -29
  785. package/dist/lib/icons/OrderedList.tsx +0 -32
  786. package/dist/lib/icons/Plus.tsx +0 -32
  787. package/dist/lib/icons/Quote.tsx +0 -32
  788. package/dist/lib/icons/Search.tsx +0 -38
  789. package/dist/lib/icons/Send.tsx +0 -32
  790. package/dist/lib/icons/Separator.tsx +0 -32
  791. package/dist/lib/icons/Show.tsx +0 -38
  792. package/dist/lib/icons/Star.tsx +0 -32
  793. package/dist/lib/icons/StarFull.tsx +0 -32
  794. package/dist/lib/icons/Strikethrough.tsx +0 -32
  795. package/dist/lib/icons/Underline.tsx +0 -36
  796. package/dist/lib/icons/UnorderedList.tsx +0 -32
  797. package/dist/lib/icons/index.ts +0 -41
  798. package/dist/lib/icons/styles.tsx +0 -19
  799. package/dist/lib/icons/types.ts +0 -11
  800. package/dist/lib/index.css +0 -1422
  801. package/dist/lib/index.ts +0 -159
  802. package/dist/lib/lib-utils/append-styles.ts +0 -9
  803. package/dist/lib/lib-utils/colors-maps.ts +0 -176
  804. package/dist/lib/lib-utils/get-highlighted-text.tsx +0 -31
  805. package/dist/lib/lib-utils/get-icon-size-from-font.ts +0 -27
  806. package/dist/lib/lib-utils/index.ts +0 -11
  807. package/dist/lib/lib-utils/round-icon-size.ts +0 -7
  808. package/dist/lib/lib-utils/transfom-search-keys.ts +0 -15
  809. package/dist/lib/modules-declare.d.ts +0 -18
  810. package/dist/lib/utils/StyleSheetManager.tsx +0 -32
  811. package/dist/lib/utils/index.ts +0 -6
  812. package/dist/lib/utils/lib-tokens.json +0 -860
  813. package/dist/lib/utils/linkify-text.tsx +0 -28
  814. package/dist/lib/utils/options-markdown.ts +0 -133
  815. package/dist/lib/utils/set-default-theme.ts +0 -14
  816. package/dist/styles-BCSPldCD.js +0 -16
  817. package/dist/styles-CtcGw3Gv.cjs +0 -7
  818. /package/dist/{index.d.ts → julseb-lib-react.es.d.ts} +0 -0
  819. /package/dist/{lib/types → types}/component-items.ts +0 -0
  820. /package/dist/{lib/types → types}/components-props.ts +0 -0
  821. /package/dist/{lib/types → types}/generate-int-range.ts +0 -0
  822. /package/dist/{lib/types → types}/global.ts +0 -0
  823. /package/dist/{lib/types → types}/index.ts +0 -0
  824. /package/dist/{lib/types → types}/require-at-least-one.ts +0 -0
  825. /package/dist/{lib/types → types}/theme.ts +0 -0
  826. /package/dist/{lib/types → types}/type-values.ts +0 -0
@@ -1,96 +0,0 @@
1
- /*=============================================== Stepper component ===============================================*/
2
-
3
- import { forwardRef } from "react"
4
- import { uuid } from "@julseb-lib/utils"
5
- import { Step } from "./Step"
6
- import { StyledStepper } from "./styles"
7
- import type { ILibStepper } from "./types"
8
-
9
- /**
10
- * @description Returns a Stepper component
11
- * @link https://documentation-components-react.vercel.app/components/stepper
12
- * @extends HTMLDivElement
13
- * @prop data-testid?: string
14
- * @prop as?: ElementType
15
- * @prop ref?: ForwardedRef<HTMLDivElement>
16
- * @prop steps: Array<LibStep> => only if children is not defined
17
- * @prop children?: ReactChildren => only if steps is not defined
18
- * @prop direction?: "column" | "row"
19
- * @prop activeStep?: number
20
- * @prop iconActive?: string | JSX.Element
21
- * @prop iconActiveSize?: number
22
- * @prop iconBaseUrl?: string
23
- * @prop accentColor?: "primary" | "secondary" | "success" | "danger" | "warning" | "white" | "gray" | "font" | "background"
24
- *
25
- * @type LibStep
26
- * @extends LibButtonLinkBlank
27
- * @prop data-testid?: string
28
- * @prop className?: string
29
- * @prop id?: string
30
- * @prop ref?: ForwardedRef<HTMLDivElement>
31
- * @prop text: string
32
- * @prop onClick?: void => only if to or href are not defined
33
- * @prop disabled?: boolean => only if onClick is defined
34
- * @prop to?: string => only if onClick and href are not defined
35
- * @prop href?: string => only if onClick and to are not defined
36
- * @prop blank?: boolean => only if to or href are defined
37
- */
38
- export const Stepper = forwardRef<HTMLDivElement, ILibStepper>(
39
- (
40
- {
41
- "data-testid": testid,
42
- as,
43
- children,
44
- steps,
45
- className,
46
- activeStep = 0,
47
- direction = "row",
48
- iconActive,
49
- iconActiveSize,
50
- iconBaseUrl,
51
- accentColor = "primary",
52
- ...rest
53
- },
54
- ref
55
- ) => {
56
- return (
57
- <StyledStepper
58
- data-testid={testid}
59
- ref={ref}
60
- as={as}
61
- className={className}
62
- $direction={direction}
63
- $accentColor={accentColor}
64
- {...rest}
65
- >
66
- {steps
67
- ? steps.map((step, i) => (
68
- <Step
69
- data-testid={
70
- step["data-testid"] ||
71
- (testid && `${testid}.Step-${i}`)
72
- }
73
- className={
74
- step.className || (className && "Step")
75
- }
76
- id={step.id}
77
- ref={step.ref}
78
- number={i + 1}
79
- isActive={activeStep >= i + 1}
80
- isDone={activeStep >= i}
81
- iconActive={iconActive}
82
- iconActiveSize={iconActiveSize}
83
- direction={direction}
84
- accentColor={accentColor}
85
- iconBaseUrl={iconBaseUrl}
86
- key={uuid()}
87
- {...step}
88
- >
89
- {step.text}
90
- </Step>
91
- ))
92
- : children}
93
- </StyledStepper>
94
- )
95
- }
96
- )
@@ -1,4 +0,0 @@
1
- /*=============================================== Stepper exports ===============================================*/
2
-
3
- export * from "./Stepper"
4
- export * from "./Step"
@@ -1,115 +0,0 @@
1
- /*=============================================== Stepper styles ===============================================*/
2
-
3
- import styled from "styled-components"
4
- import {
5
- setDefaultTheme,
6
- Mixins,
7
- RADIUSES,
8
- FONT_WEIGHTS,
9
- TRANSITIONS,
10
- } from "../../"
11
- import type { LibColorsHover, LibStepperDirection } from "../../types"
12
-
13
- const StyledStep = styled.span<{
14
- $direction: LibStepperDirection
15
- $accentColor: LibColorsHover
16
- }>`
17
- position: relative;
18
- z-index: 1;
19
- text-decoration: none;
20
- padding: 0;
21
- border: none;
22
- background-color: transparent;
23
- ${Mixins.Flexbox({
24
- $alignItems: "center",
25
- $gap: "xxs",
26
- $inline: true,
27
- })}
28
-
29
- small {
30
- color: ${({ theme }) => theme.FONT};
31
- }
32
-
33
- &.StepLink {
34
- small {
35
- color: ${({ theme, $accentColor }) =>
36
- Mixins.ColorsHoverDefault($accentColor, theme)};
37
- font-weight: ${FONT_WEIGHTS.BLACK};
38
- cursor: pointer;
39
- transition: ${TRANSITIONS.SHORT};
40
- }
41
-
42
- &:hover small {
43
- color: ${({ theme, $accentColor }) =>
44
- Mixins.ColorsHoverHover($accentColor, theme)};
45
- }
46
-
47
- &:active small {
48
- color: ${({ theme, $accentColor }) =>
49
- Mixins.ColorsHoverActive($accentColor, theme)};
50
- }
51
- }
52
- `
53
-
54
- const StyledStepper = styled.div<{
55
- $direction: LibStepperDirection
56
- $accentColor: LibColorsHover
57
- }>`
58
- position: relative;
59
- ${({ $direction }) =>
60
- Mixins.Flexbox({
61
- $alignItems: "flex-start",
62
- $justifyContent:
63
- $direction === "column" ? "flex-start" : "space-between",
64
- $gap: $direction === "column" ? "l" : "xs",
65
- $flexDirection: $direction,
66
- })};
67
-
68
- &:before {
69
- content: "";
70
- position: absolute;
71
- left: 12px;
72
- top: 12px;
73
- background-color: ${({ theme, $accentColor }) =>
74
- Mixins.AllColors($accentColor, theme)};
75
- z-index: 0;
76
- width: ${({ $direction }) =>
77
- $direction === "column" ? "2px" : "calc(100% - 24px)"};
78
- height: ${({ $direction }) =>
79
- $direction === "column" ? "calc(100% - 24px)" : "2px"};
80
- }
81
-
82
- ${StyledStep} {
83
- flex-direction: ${({ $direction }) =>
84
- $direction === "column" ? "row" : "column"};
85
- justify-content: ${({ $direction }) =>
86
- $direction === "column" ? "flex-start" : "center"};
87
- }
88
- `
89
-
90
- const NUMBER_SIZE = 24
91
-
92
- const NumberContainer = styled.span<{ $accentColor: LibColorsHover }>`
93
- width: ${NUMBER_SIZE}px;
94
- height: ${NUMBER_SIZE}px;
95
- border-radius: ${RADIUSES.CIRCLE};
96
- outline: 2px solid ${({ theme }) => theme.BACKGROUND};
97
- ${Mixins.Flexbox({
98
- $inline: true,
99
- $alignItems: "center",
100
- $justifyContent: "center",
101
- })};
102
- font-weight: ${FONT_WEIGHTS.BLACK};
103
- background-color: ${({ theme, $accentColor }) =>
104
- Mixins.ColorsHoverHover($accentColor, theme)};
105
- color: ${({ theme }) => theme.BACKGROUND};
106
-
107
- &.Active {
108
- background-color: ${({ theme, $accentColor }) =>
109
- Mixins.ColorsHoverDefault($accentColor, theme)};
110
- }
111
- `
112
-
113
- setDefaultTheme([StyledStepper, StyledStep, NumberContainer])
114
-
115
- export { StyledStepper, StyledStep, NumberContainer }
@@ -1,48 +0,0 @@
1
- /*=============================================== Stepper types ===============================================*/
2
-
3
- import type {
4
- LibColorsHover,
5
- LibComponentBase,
6
- LibIcon,
7
- LibStep,
8
- ReactChildren,
9
- LibStepperDirection,
10
- LibButtonLinkBlank,
11
- } from "../../types"
12
-
13
- /*====================== Stepper ======================*/
14
-
15
- interface ILibStepperBase extends LibComponentBase<HTMLDivElement> {
16
- direction?: LibStepperDirection
17
- activeStep?: number
18
- iconActive?: LibIcon
19
- iconActiveSize?: number
20
- iconBaseUrl?: string
21
- accentColor?: LibColorsHover
22
- }
23
-
24
- interface StepperWithSteps extends ILibStepperBase {
25
- steps: Array<LibStep>
26
- children?: never
27
- }
28
-
29
- interface StepperWithChildren extends ILibStepperBase {
30
- steps?: never
31
- children?: ReactChildren
32
- }
33
-
34
- export type ILibStepper = StepperWithSteps | StepperWithChildren
35
-
36
- /*====================== Step ======================*/
37
-
38
- export type ILibStep = LibComponentBase<HTMLSpanElement> &
39
- LibButtonLinkBlank & {
40
- direction?: LibStepperDirection
41
- accentColor?: LibColorsHover
42
- isActive?: boolean
43
- isDone?: boolean
44
- iconActive?: LibIcon
45
- iconActiveSize?: number
46
- number?: number
47
- iconBaseUrl?: string
48
- }
@@ -1,30 +0,0 @@
1
- /*=============================================== Sticky component ===============================================*/
2
-
3
- import { forwardRef } from "react"
4
- import { StyledSticky } from "./styles"
5
- import type { ILibSticky } from "./types"
6
-
7
- /**
8
- * @description Returns a Sticky component
9
- * @link https://documentation-components-react.vercel.app/components/sticky
10
- * @extends HTMLDivElement
11
- * @prop data-testid?: string
12
- * @prop as?: ElementType
13
- * @prop ref?: ForwardedRef<HTMLDivElement>
14
- * @prop top?: "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | number | "0px"
15
- */
16
- export const Sticky = forwardRef<HTMLDivElement, ILibSticky>(
17
- ({ "data-testid": testid, as, children, top = "s", ...rest }, ref) => {
18
- return (
19
- <StyledSticky
20
- data-testid={testid}
21
- ref={ref}
22
- as={as}
23
- $top={top}
24
- {...rest}
25
- >
26
- {children}
27
- </StyledSticky>
28
- )
29
- }
30
- )
@@ -1,3 +0,0 @@
1
- /*=============================================== Sticky exports ===============================================*/
2
-
3
- export * from "./Sticky"
@@ -1,15 +0,0 @@
1
- /*=============================================== Sticky styles ===============================================*/
2
-
3
- import styled from "styled-components"
4
- import { Mixins, setDefaultTheme } from "../../"
5
- import type { LibSpacers } from "../../types"
6
-
7
- const StyledSticky = styled.div<{ $top: LibSpacers }>`
8
- position: -webkit-sticky;
9
- position: sticky;
10
- top: ${({ $top }) => Mixins.Spacer($top)};
11
- `
12
-
13
- setDefaultTheme([StyledSticky])
14
-
15
- export { StyledSticky }
@@ -1,7 +0,0 @@
1
- /*=============================================== Sticky types ===============================================*/
2
-
3
- import type { LibComponentBase, LibSpacers } from "../../types"
4
-
5
- export interface ILibSticky extends LibComponentBase<HTMLDivElement> {
6
- top?: LibSpacers
7
- }
@@ -1,17 +0,0 @@
1
- /*=============================================== TBody component ===============================================*/
2
-
3
- import { forwardRef } from "react"
4
- import type { ILibTBody } from "./types"
5
-
6
- /**
7
- * @description Returns a TBody component
8
- * @link https://documentation-components-react.vercel.app/components/table
9
- * @extends HTMLTableSectionElement
10
- * @prop data-testid?: string
11
- * @prop ref?: ForwardedRef<HTMLTableSectionElement>
12
- */
13
- export const TBody = forwardRef<HTMLTableSectionElement, ILibTBody>(
14
- ({ "data-testid": testid, ...rest }, ref) => {
15
- return <tbody data-testid={testid} ref={ref} {...rest} />
16
- }
17
- )
@@ -1,17 +0,0 @@
1
- /*=============================================== THead component ===============================================*/
2
-
3
- import { forwardRef } from "react"
4
- import type { ILibTHead } from "./types"
5
-
6
- /**
7
- * @description Returns a THead component
8
- * @link https://documentation-components-react.vercel.app/components/table
9
- * @extends HTMLTableSectionElement
10
- * @prop data-testid?: string
11
- * @prop ref?: ForwardedRef<HTMLTableSectionElement>
12
- */
13
- export const THead = forwardRef<HTMLTableSectionElement, ILibTHead>(
14
- ({ "data-testid": testid, ...rest }, ref) => {
15
- return <thead data-testid={testid} ref={ref} {...rest} />
16
- }
17
- )
@@ -1,124 +0,0 @@
1
- /*=============================================== Table component ===============================================*/
2
-
3
- import { forwardRef } from "react"
4
- import { uuid } from "@julseb-lib/utils"
5
- import { Linkify } from "../../"
6
- import { THead } from "./THead"
7
- import { TBody } from "./TBody"
8
- import { Tr } from "./Tr"
9
- import { Td } from "./Td"
10
- import { StyledTable } from "./styles"
11
- import type { ILibTable } from "./types"
12
-
13
- /**
14
- * @description Returns a Table component
15
- * @link https://documentation-components-react.vercel.app/components/table
16
- * @extends HTMLTableElement
17
- * @prop data-testid?: string
18
- * @prop ref?: ForwardedRef<HTMLTableElement>
19
- * @prop data: Array<Array<ReactChildren>> => only if children is not defined
20
- * @prop children?: ReactChildren => only if data is not defined
21
- * @prop headers?: Array<ReactChildren>
22
- * @prop variant?: LibTableVariant
23
- * @prop vAlign?: CssVerticalAlign
24
- * @prop linkify?: boolean
25
- */
26
- export const Table = forwardRef<HTMLTableElement, ILibTable>(
27
- (
28
- {
29
- "data-testid": testid,
30
- children,
31
- className,
32
- variant = "bordered",
33
- data,
34
- headers,
35
- linkify,
36
- vAlign = "top",
37
- ...rest
38
- },
39
- ref
40
- ) => {
41
- return (
42
- <StyledTable
43
- data-testid={testid}
44
- ref={ref}
45
- className={className}
46
- $vAlign={vAlign}
47
- $variant={variant}
48
- {...rest}
49
- >
50
- {headers && (
51
- <THead
52
- data-testid={testid && `${testid}.THead`}
53
- className={className && "THead"}
54
- >
55
- <Tr
56
- data-testid={testid && `${testid}.THead.Tr`}
57
- className={className && "TheadTr"}
58
- >
59
- {headers.map(header => (
60
- <Td
61
- key={uuid()}
62
- data-testid={
63
- testid && `${testid}.THead.Tr.Td`
64
- }
65
- className={className && "TheadTd"}
66
- >
67
- {linkify && typeof header === "string" ? (
68
- <Linkify>{header}</Linkify>
69
- ) : (
70
- header
71
- )}
72
- </Td>
73
- ))}
74
- </Tr>
75
- </THead>
76
- )}
77
-
78
- {data ? (
79
- <TBody
80
- data-testid={testid && `${testid}.TBody`}
81
- className={className && "TBody"}
82
- >
83
- {data.map(row => {
84
- return (
85
- <Tr
86
- key={uuid()}
87
- data-testid={testid && `${testid}.TBody.Tr`}
88
- className={className && "TBodyTr"}
89
- >
90
- {row.map(col => {
91
- return (
92
- <Td
93
- key={uuid()}
94
- data-testid={
95
- testid &&
96
- `${testid}.TBody.Tr.Td`
97
- }
98
- className={
99
- className && "TBodyTd"
100
- }
101
- noPadding={
102
- typeof col === "object"
103
- }
104
- >
105
- {linkify &&
106
- typeof col === "string" ? (
107
- <Linkify>{col}</Linkify>
108
- ) : (
109
- col
110
- )}
111
- </Td>
112
- )
113
- })}
114
- </Tr>
115
- )
116
- })}
117
- </TBody>
118
- ) : (
119
- children
120
- )}
121
- </StyledTable>
122
- )
123
- }
124
- )
@@ -1,26 +0,0 @@
1
- /*=============================================== Td component ===============================================*/
2
-
3
- import { forwardRef } from "react"
4
- import { StyledTd } from "./styles"
5
- import type { ILibTd } from "./types"
6
-
7
- /**
8
- * @description Returns a Td component
9
- * @link https://documentation-components-react.vercel.app/components/table
10
- * @extends HTMLTableCellElement
11
- * @prop data-testid?: string
12
- * @prop ref?: ForwardedRef<HTMLTableCellElement>
13
- * @prop noPadding?: boolean
14
- */
15
- export const Td = forwardRef<HTMLTableCellElement, ILibTd>(
16
- ({ "data-testid": testid, noPadding, ...rest }, ref) => {
17
- return (
18
- <StyledTd
19
- data-testid={testid}
20
- ref={ref}
21
- $noPadding={noPadding}
22
- {...rest}
23
- />
24
- )
25
- }
26
- )
@@ -1,17 +0,0 @@
1
- /*=============================================== Tr component ===============================================*/
2
-
3
- import { forwardRef } from "react"
4
- import type { ILibTr } from "./types"
5
-
6
- /**
7
- * @description Returns a Tr component
8
- * @link https://documentation-components-react.vercel.app/components/table
9
- * @extends HTMLTableRowElement
10
- * @prop data-testid?: string
11
- * @prop ref?: ForwardedRef<HTMLTableRowElement>
12
- */
13
- export const Tr = forwardRef<HTMLTableRowElement, ILibTr>(
14
- ({ "data-testid": testid, ...rest }, ref) => {
15
- return <tr data-testid={testid} ref={ref} {...rest} />
16
- }
17
- )
@@ -1,7 +0,0 @@
1
- /*=============================================== Table exports ===============================================*/
2
-
3
- export * from "./Table"
4
- export * from "./THead"
5
- export * from "./TBody"
6
- export * from "./Tr"
7
- export * from "./Td"
@@ -1,114 +0,0 @@
1
- /*=============================================== Table styles ===============================================*/
2
-
3
- import styled, { css } from "styled-components"
4
- import { setDefaultTheme, SPACERS, Mixins, FONT_SIZES, MEDIA } from "../../"
5
- import { TextBaseMixin } from "../ComponentsMixins"
6
- import type { CssVerticalAlign, LibTableVariant } from "../../types"
7
-
8
- const StyledTable = styled.table<{
9
- $vAlign: CssVerticalAlign
10
- $variant: LibTableVariant
11
- }>`
12
- ${TextBaseMixin({
13
- $fontSize: "small",
14
- $fontWeight: "regular",
15
- $linkColor: "primary",
16
- })};
17
- display: table;
18
- border-collapse: collapse;
19
- border-spacing: 0;
20
- table-layout: fixed;
21
- width: 100%;
22
- vertical-align: ${({ $vAlign }) => $vAlign};
23
- height: 1px;
24
-
25
- td {
26
- vertical-align: ${({ $vAlign }) => $vAlign};
27
-
28
- & > * {
29
- height: 100%;
30
- }
31
- }
32
-
33
- td,
34
- th {
35
- padding: ${SPACERS.XXS} ${SPACERS.XS};
36
- display: table-cell;
37
- overflow-x: scroll;
38
- ${Mixins.HideScrollbar};
39
-
40
- & > * {
41
- font-size: ${FONT_SIZES.SMALL};
42
- }
43
-
44
- @media ${MEDIA.BREAKPOINT_MOBILE} {
45
- display: block;
46
- }
47
- }
48
-
49
- thead {
50
- background-color: ${({ theme }) => theme.PRIMARY_500};
51
- text-align: left;
52
- color: ${({ theme }) => theme.BACKGROUND};
53
-
54
- && {
55
- a {
56
- color: ${({ theme }) =>
57
- Mixins.ColorsHoverDefault("background", theme)};
58
-
59
- &:hover {
60
- color: ${({ theme }) =>
61
- Mixins.ColorsHoverHover("background", theme)};
62
- }
63
-
64
- &:active {
65
- color: ${({ theme }) =>
66
- Mixins.ColorsHoverActive("background", theme)};
67
- }
68
- }
69
- }
70
- }
71
-
72
- ${({ $variant, theme }) => {
73
- switch ($variant) {
74
- case "border-bottom":
75
- return css`
76
- tbody tr {
77
- border-bottom: 1px solid ${theme.GRAY_200};
78
- }
79
- `
80
- case "bordered":
81
- return css`
82
- border: 1px solid ${theme.GRAY_200};
83
-
84
- thead th:not(:last-child) {
85
- border-right: 1px solid ${theme.BACKGROUND};
86
- }
87
-
88
- td {
89
- border: 1px solid ${theme.GRAY_200};
90
- }
91
- `
92
- case "stripped":
93
- return css`
94
- tbody tr:nth-child(odd) {
95
- background-color: ${theme.BACKGROUND};
96
- }
97
-
98
- tbody tr:nth-child(even) {
99
- background-color: ${theme.GRAY_50};
100
- }
101
- `
102
- }
103
- }}
104
- `
105
-
106
- const StyledTd = styled.td<{ $noPadding: boolean | undefined }>`
107
- && {
108
- padding: ${({ $noPadding }) => $noPadding && 0};
109
- }
110
- `
111
-
112
- setDefaultTheme([StyledTable, StyledTd])
113
-
114
- export { StyledTable, StyledTd }