@julseb-lib/react 0.0.51 → 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 (1132) hide show
  1. package/dist/index-BibeNxro.js +23522 -0
  2. package/dist/index-CGKwmKg1.cjs +4142 -0
  3. package/dist/julseb-lib-react.cjs.js +1 -0
  4. package/dist/julseb-lib-react.es.d.ts +1 -0
  5. package/dist/julseb-lib-react.es.js +207 -0
  6. package/dist/julseb-lib-react.umd.js +4148 -0
  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 +33 -1
  30. package/.prettierrc +0 -5
  31. package/cypress/fixtures/example.json +0 -5
  32. package/cypress/index.d.ts +0 -5
  33. package/cypress/screenshots/ButtonGroup/__tests__/ButtonGroup.cy.tsx/ButtonGroup -- renders first button as ButtonIcon (failed).png +0 -0
  34. package/cypress/screenshots/Datepicker/__tests__/Datepicker.cy.tsx/Datepicker -- renders Datepicker component (failed).png +0 -0
  35. package/cypress/screenshots/Paginator/__tests__/Paginator.cy.tsx/Paginator -- renders text instead of an input (failed).png +0 -0
  36. package/cypress/screenshots/ProgressBar/__tests__/ProgressBar.cy.tsx/ProgressBar -- renders without animation (failed).png +0 -0
  37. package/cypress/support/commands.ts +0 -52
  38. package/cypress/support/component-index.html +0 -12
  39. package/cypress/support/component.tsx +0 -79
  40. package/cypress/tsconfig.json +0 -9
  41. package/cypress.config.ts +0 -10
  42. package/eslint.config.js +0 -82
  43. package/index.html +0 -13
  44. package/public/vite.svg +0 -1
  45. package/src/App.tsx +0 -22
  46. package/src/components/BaseCard.tsx +0 -20
  47. package/src/components/BasePage.tsx +0 -26
  48. package/src/components/ColorCard/ColorCard.tsx +0 -41
  49. package/src/components/ColorCard/index.ts +0 -3
  50. package/src/components/ColorCard/styles.tsx +0 -28
  51. package/src/components/ColorCard/types.ts +0 -11
  52. package/src/components/ComponentPreview.tsx +0 -47
  53. package/src/components/CoverLayout.tsx +0 -99
  54. package/src/components/DemoContainerStyles.tsx +0 -19
  55. package/src/components/GridItem.tsx +0 -19
  56. package/src/components/NavDemo/NavDemo.tsx +0 -48
  57. package/src/components/NavDemo/index.ts +0 -3
  58. package/src/components/NavDemo/styles.tsx +0 -49
  59. package/src/components/Page.tsx +0 -23
  60. package/src/components/ResetScroll.tsx +0 -18
  61. package/src/components/SbDemoLayout.tsx +0 -30
  62. package/src/components/StylesCard/StylesCard.tsx +0 -50
  63. package/src/components/StylesCard/index.ts +0 -3
  64. package/src/components/StylesCard/styles.tsx +0 -54
  65. package/src/components/StylesCard/types.ts +0 -16
  66. package/src/components/index.ts +0 -12
  67. package/src/components/layouts/MainDemo.tsx +0 -16
  68. package/src/components/layouts/WrapperDemo.tsx +0 -14
  69. package/src/data/components.tsx +0 -242
  70. package/src/data/docgen.json +0 -2909
  71. package/src/data/french-cities.ts +0 -8683
  72. package/src/data/index.ts +0 -9
  73. package/src/data/previews/layouts/Container.preview.tsx +0 -23
  74. package/src/data/previews/styles/Colors.preview.tsx +0 -29
  75. package/src/data/previews/styles/Overlays.preview.tsx +0 -29
  76. package/src/data/previews/styles/Radiuses.preview.tsx +0 -29
  77. package/src/data/previews/styles/Shadows.preview.tsx +0 -29
  78. package/src/data/previews/styles/Spacers.preview.tsx +0 -29
  79. package/src/data/previews/styles/ThemeProvider.preview.tsx +0 -28
  80. package/src/data/previews/utils/Helpers.preview.tsx +0 -18
  81. package/src/data/previews/utils/Hooks.preview.tsx +0 -68
  82. package/src/data/previews/utils/JsUtils.preview.tsx +0 -67
  83. package/src/data/previews/utils/Mixins.preview.tsx +0 -18
  84. package/src/data/previews/utils/OptionsMarkdown.tsx +0 -108
  85. package/src/data/previews/utils/RenderPreview.tsx +0 -52
  86. package/src/data/previews/utils/Variables.preview.tsx +0 -51
  87. package/src/data/previews/utils/hooks/index.ts +0 -15
  88. package/src/data/previews/utils/hooks/useClickOutside.preview.tsx +0 -18
  89. package/src/data/previews/utils/hooks/useCopyToClipboard.preview.tsx +0 -17
  90. package/src/data/previews/utils/hooks/useDebounce.preview.tsx +0 -62
  91. package/src/data/previews/utils/hooks/useExportData.preview.tsx +0 -73
  92. package/src/data/previews/utils/hooks/useFetch.preview.tsx +0 -29
  93. package/src/data/previews/utils/hooks/useForm.preview.tsx +0 -39
  94. package/src/data/previews/utils/hooks/useIsOverflow.preview.tsx +0 -22
  95. package/src/data/previews/utils/hooks/useKeyPress.preview.tsx +0 -15
  96. package/src/data/previews/utils/hooks/useMaxWidth.preview.tsx +0 -7
  97. package/src/data/previews/utils/hooks/useMergeRefs.preview.tsx +0 -5
  98. package/src/data/previews/utils/hooks/useMinWidth.preview.tsx +0 -7
  99. package/src/data/previews/utils/hooks/usePaginatedData.preview.tsx +0 -12
  100. package/src/data/previews/utils/hooks/usePagination.preview.tsx +0 -12
  101. package/src/data/previews/utils/hooks/useTouchScreen.preview.tsx +0 -7
  102. package/src/data/previews/utils/hooks/useTranslation.preview.tsx +0 -44
  103. package/src/data/site-data.ts +0 -7
  104. package/src/data/styles/all-colors.ts +0 -908
  105. package/src/data/styles/all-font-families.ts +0 -16
  106. package/src/data/styles/all-font-sizes.ts +0 -82
  107. package/src/data/styles/all-font-weights.ts +0 -22
  108. package/src/data/styles/all-layouts.ts +0 -60
  109. package/src/data/styles/all-line-heights.ts +0 -16
  110. package/src/data/styles/all-overlays.ts +0 -43
  111. package/src/data/styles/all-radiuses.ts +0 -55
  112. package/src/data/styles/all-shadows.ts +0 -43
  113. package/src/data/styles/all-spacers.ts +0 -49
  114. package/src/data/styles/all-transition.ts +0 -22
  115. package/src/data/styles/index.ts +0 -13
  116. package/src/data/styles.json +0 -1538
  117. package/src/data/types.ts +0 -16
  118. package/src/data/utils/all-helpers.ts +0 -877
  119. package/src/data/utils/all-js-utils.tsx +0 -484
  120. package/src/data/utils/all-mixins.ts +0 -207
  121. package/src/lib/Mixins.tsx +0 -985
  122. package/src/lib/Variables.ts +0 -296
  123. package/src/lib/components/Accordion/Accordion.tsx +0 -86
  124. package/src/lib/components/Accordion/AccordionButton.tsx +0 -72
  125. package/src/lib/components/Accordion/AccordionContent.tsx +0 -27
  126. package/src/lib/components/Accordion/AccordionItem.tsx +0 -70
  127. package/src/lib/components/Accordion/__preview__/Accordion.preview.tsx +0 -61
  128. package/src/lib/components/Accordion/__tests__/Accordion.cy.tsx +0 -93
  129. package/src/lib/components/Accordion/__tests__/data.ts +0 -22
  130. package/src/lib/components/Accordion/index.ts +0 -4
  131. package/src/lib/components/Accordion/styles.tsx +0 -165
  132. package/src/lib/components/Accordion/subtypes.ts +0 -22
  133. package/src/lib/components/Accordion/types.ts +0 -33
  134. package/src/lib/components/Alert/Alert.tsx +0 -118
  135. package/src/lib/components/Alert/__preview__/Alert.preview.tsx +0 -52
  136. package/src/lib/components/Alert/__tests__/Alert.cy.tsx +0 -97
  137. package/src/lib/components/Alert/index.ts +0 -3
  138. package/src/lib/components/Alert/styles.tsx +0 -39
  139. package/src/lib/components/Alert/types.ts +0 -33
  140. package/src/lib/components/Aside/Aside.tsx +0 -42
  141. package/src/lib/components/Aside/__preview__/Aside.preview.tsx +0 -27
  142. package/src/lib/components/Aside/index.ts +0 -3
  143. package/src/lib/components/Aside/styles.tsx +0 -46
  144. package/src/lib/components/Aside/types.ts +0 -8
  145. package/src/lib/components/Autocomplete/Autocomplete.tsx +0 -352
  146. package/src/lib/components/Autocomplete/__preview__/Autocomplete.preview.tsx +0 -50
  147. package/src/lib/components/Autocomplete/__tests__/Autocomplete.cy.tsx +0 -38
  148. package/src/lib/components/Autocomplete/__tests__/Preview.tsx +0 -19
  149. package/src/lib/components/Autocomplete/index.ts +0 -3
  150. package/src/lib/components/Autocomplete/styles.tsx +0 -13
  151. package/src/lib/components/Autocomplete/types.ts +0 -42
  152. package/src/lib/components/Avatar/Avatar.tsx +0 -143
  153. package/src/lib/components/Avatar/AvatarFunction.tsx +0 -136
  154. package/src/lib/components/Avatar/__preview__/Avatar.preview.tsx +0 -82
  155. package/src/lib/components/Avatar/__tests__/Avatar.cy.tsx +0 -167
  156. package/src/lib/components/Avatar/index.ts +0 -3
  157. package/src/lib/components/Avatar/styles.tsx +0 -117
  158. package/src/lib/components/Avatar/types.ts +0 -86
  159. package/src/lib/components/BackToTop/BackToTop.tsx +0 -101
  160. package/src/lib/components/BackToTop/__preview__/BackToTop.preview.tsx +0 -33
  161. package/src/lib/components/BackToTop/index.ts +0 -3
  162. package/src/lib/components/BackToTop/styles.tsx +0 -35
  163. package/src/lib/components/BackToTop/types.ts +0 -8
  164. package/src/lib/components/Badge/Badge.tsx +0 -94
  165. package/src/lib/components/Badge/__preview__/Badge.preview.tsx +0 -74
  166. package/src/lib/components/Badge/__tests__/Badge.cy.tsx +0 -130
  167. package/src/lib/components/Badge/index.ts +0 -3
  168. package/src/lib/components/Badge/styles.tsx +0 -41
  169. package/src/lib/components/Badge/types.ts +0 -34
  170. package/src/lib/components/Breadcrumbs/BreadcrumbItem.tsx +0 -42
  171. package/src/lib/components/Breadcrumbs/Breadcrumbs.tsx +0 -52
  172. package/src/lib/components/Breadcrumbs/BreadcrumbsFn.tsx +0 -76
  173. package/src/lib/components/Breadcrumbs/__preview__/Breadcrumbs.preview.tsx +0 -66
  174. package/src/lib/components/Breadcrumbs/__tests__/Breadcrumbs.cy.tsx +0 -70
  175. package/src/lib/components/Breadcrumbs/__tests__/Preview.tsx +0 -0
  176. package/src/lib/components/Breadcrumbs/__tests__/data.ts +0 -24
  177. package/src/lib/components/Breadcrumbs/index.ts +0 -3
  178. package/src/lib/components/Breadcrumbs/styles.tsx +0 -64
  179. package/src/lib/components/Breadcrumbs/subtypes.ts +0 -12
  180. package/src/lib/components/Breadcrumbs/types.ts +0 -31
  181. package/src/lib/components/Burger/Burger.tsx +0 -59
  182. package/src/lib/components/Burger/__preview__/Burger.preview.tsx +0 -60
  183. package/src/lib/components/Burger/__tests__/Burger.cy.tsx +0 -59
  184. package/src/lib/components/Burger/__tests__/Preview.tsx +0 -13
  185. package/src/lib/components/Burger/index.ts +0 -3
  186. package/src/lib/components/Burger/styles.tsx +0 -93
  187. package/src/lib/components/Burger/types.ts +0 -13
  188. package/src/lib/components/Button/Button.tsx +0 -134
  189. package/src/lib/components/Button/__preview__/Button.preview.tsx +0 -183
  190. package/src/lib/components/Button/__tests__/Button.cy.tsx +0 -221
  191. package/src/lib/components/Button/index.ts +0 -3
  192. package/src/lib/components/Button/styles.tsx +0 -32
  193. package/src/lib/components/Button/subtypes.ts +0 -12
  194. package/src/lib/components/Button/types.ts +0 -72
  195. package/src/lib/components/ButtonGroup/ButtonGroup.tsx +0 -158
  196. package/src/lib/components/ButtonGroup/ButtonGroupButton.tsx +0 -89
  197. package/src/lib/components/ButtonGroup/ButtonGroupToggle.tsx +0 -99
  198. package/src/lib/components/ButtonGroup/__preview__/ButtonGroup.preview.tsx +0 -129
  199. package/src/lib/components/ButtonGroup/__tests__/ButtonGroup.cy.tsx +0 -184
  200. package/src/lib/components/ButtonGroup/__tests__/data.ts +0 -33
  201. package/src/lib/components/ButtonGroup/index.ts +0 -3
  202. package/src/lib/components/ButtonGroup/styles.tsx +0 -91
  203. package/src/lib/components/ButtonGroup/subtypes.ts +0 -42
  204. package/src/lib/components/ButtonGroup/types.ts +0 -36
  205. package/src/lib/components/ButtonIcon/ButtonFunction.tsx +0 -95
  206. package/src/lib/components/ButtonIcon/ButtonIcon.tsx +0 -139
  207. package/src/lib/components/ButtonIcon/__preview__/ButtonIcon.preview.tsx +0 -129
  208. package/src/lib/components/ButtonIcon/__tests__/ButtonIcon.cy.tsx +0 -180
  209. package/src/lib/components/ButtonIcon/index.ts +0 -3
  210. package/src/lib/components/ButtonIcon/styles.tsx +0 -31
  211. package/src/lib/components/ButtonIcon/subtypes.ts +0 -12
  212. package/src/lib/components/ButtonIcon/types.ts +0 -90
  213. package/src/lib/components/Card/Card.tsx +0 -133
  214. package/src/lib/components/Card/__preview__/Card.preview.tsx +0 -122
  215. package/src/lib/components/Card/__tests__/Card.cy.tsx +0 -49
  216. package/src/lib/components/Card/index.ts +0 -3
  217. package/src/lib/components/Card/styles.tsx +0 -75
  218. package/src/lib/components/Card/types.ts +0 -29
  219. package/src/lib/components/CodeContainer/CodeContainer.tsx +0 -135
  220. package/src/lib/components/CodeContainer/__preview__/CodeContainer.preview.tsx +0 -29
  221. package/src/lib/components/CodeContainer/index.ts +0 -3
  222. package/src/lib/components/CodeContainer/styles.tsx +0 -65
  223. package/src/lib/components/CodeContainer/types.ts +0 -235
  224. package/src/lib/components/ComponentsMixins/ComponentsMixins.tsx +0 -441
  225. package/src/lib/components/ComponentsMixins/hooks/useKeyboardNavigation.tsx +0 -81
  226. package/src/lib/components/ComponentsMixins/index.ts +0 -5
  227. package/src/lib/components/ComponentsMixins/types.ts +0 -37
  228. package/src/lib/components/Cover/Cover.tsx +0 -72
  229. package/src/lib/components/Cover/__preview__/Cover.preview.tsx +0 -45
  230. package/src/lib/components/Cover/__tests__/Cover.cy.tsx +0 -58
  231. package/src/lib/components/Cover/index.ts +0 -3
  232. package/src/lib/components/Cover/styles.tsx +0 -80
  233. package/src/lib/components/Cover/types.ts +0 -14
  234. package/src/lib/components/Datepicker/Calendar.tsx +0 -395
  235. package/src/lib/components/Datepicker/Datepicker.tsx +0 -254
  236. package/src/lib/components/Datepicker/__preview__/Datepicker.preview.tsx +0 -107
  237. package/src/lib/components/Datepicker/__tests__/Datepicker.cy.tsx +0 -40
  238. package/src/lib/components/Datepicker/__tests__/Preview.tsx +0 -19
  239. package/src/lib/components/Datepicker/data.ts +0 -33
  240. package/src/lib/components/Datepicker/index.ts +0 -3
  241. package/src/lib/components/Datepicker/styles.tsx +0 -456
  242. package/src/lib/components/Datepicker/types.ts +0 -68
  243. package/src/lib/components/DragList/DragList.tsx +0 -127
  244. package/src/lib/components/DragList/DragListItem.tsx +0 -191
  245. package/src/lib/components/DragList/__preview__/DragList.preview.tsx +0 -57
  246. package/src/lib/components/DragList/__tests__/DragList.cy.tsx +0 -25
  247. package/src/lib/components/DragList/__tests__/Preview.tsx +0 -34
  248. package/src/lib/components/DragList/index.ts +0 -4
  249. package/src/lib/components/DragList/styles.tsx +0 -75
  250. package/src/lib/components/DragList/types.ts +0 -65
  251. package/src/lib/components/Drawer/Drawer.tsx +0 -110
  252. package/src/lib/components/Drawer/__preview__/Drawer.preview.tsx +0 -67
  253. package/src/lib/components/Drawer/__tests__/Drawer.cy.tsx +0 -98
  254. package/src/lib/components/Drawer/__tests__/Preview.tsx +0 -43
  255. package/src/lib/components/Drawer/index.ts +0 -3
  256. package/src/lib/components/Drawer/styles.tsx +0 -136
  257. package/src/lib/components/Drawer/types.ts +0 -28
  258. package/src/lib/components/Dropdown/Dropdown.tsx +0 -89
  259. package/src/lib/components/Dropdown/DropdownContainer.tsx +0 -39
  260. package/src/lib/components/Dropdown/DropdownItem.tsx +0 -97
  261. package/src/lib/components/Dropdown/__preview__/Dropdown.preview.tsx +0 -62
  262. package/src/lib/components/Dropdown/__tests__/Dropdown.cy.tsx +0 -73
  263. package/src/lib/components/Dropdown/__tests__/Preview.tsx +0 -103
  264. package/src/lib/components/Dropdown/index.ts +0 -5
  265. package/src/lib/components/Dropdown/styles.tsx +0 -156
  266. package/src/lib/components/Dropdown/types.ts +0 -71
  267. package/src/lib/components/Fade/Fade.tsx +0 -42
  268. package/src/lib/components/Fade/__preview__/Fade.preview.tsx +0 -37
  269. package/src/lib/components/Fade/index.ts +0 -3
  270. package/src/lib/components/Fade/styles.tsx +0 -19
  271. package/src/lib/components/Fade/types.ts +0 -5
  272. package/src/lib/components/Fallback/Fallback.tsx +0 -37
  273. package/src/lib/components/Fallback/index.ts +0 -3
  274. package/src/lib/components/Fieldset/Fieldset.tsx +0 -107
  275. package/src/lib/components/Fieldset/__preview__/Fieldset.preview.tsx +0 -41
  276. package/src/lib/components/Fieldset/__preview__/Previews.tsx +0 -72
  277. package/src/lib/components/Fieldset/index.ts +0 -3
  278. package/src/lib/components/Fieldset/styles.tsx +0 -50
  279. package/src/lib/components/Fieldset/types.ts +0 -34
  280. package/src/lib/components/Flexbox/Flexbox.tsx +0 -69
  281. package/src/lib/components/Flexbox/__preview__/Flexbox.preview.tsx +0 -38
  282. package/src/lib/components/Flexbox/__tests__/Flexbox.cy.tsx +0 -23
  283. package/src/lib/components/Flexbox/index.ts +0 -3
  284. package/src/lib/components/Flexbox/styles.tsx +0 -34
  285. package/src/lib/components/Flexbox/types.ts +0 -27
  286. package/src/lib/components/Footer/Footer.tsx +0 -106
  287. package/src/lib/components/Footer/FooterLink.tsx +0 -31
  288. package/src/lib/components/Footer/FooterLogo.tsx +0 -30
  289. package/src/lib/components/Footer/__preview__/Footer.preview.tsx +0 -69
  290. package/src/lib/components/Footer/index.ts +0 -3
  291. package/src/lib/components/Footer/styles.tsx +0 -126
  292. package/src/lib/components/Footer/subtypes.ts +0 -14
  293. package/src/lib/components/Footer/types.ts +0 -76
  294. package/src/lib/components/Form/Form.tsx +0 -148
  295. package/src/lib/components/Form/__preview__/Form.preview.tsx +0 -76
  296. package/src/lib/components/Form/index.ts +0 -3
  297. package/src/lib/components/Form/styles.tsx +0 -24
  298. package/src/lib/components/Form/types.ts +0 -32
  299. package/src/lib/components/FullBleed/FullBleed.tsx +0 -45
  300. package/src/lib/components/FullBleed/__preview__/FullBleed.preview.tsx +0 -33
  301. package/src/lib/components/FullBleed/__tests__/FullBleed.cy.tsx +0 -27
  302. package/src/lib/components/FullBleed/index.ts +0 -3
  303. package/src/lib/components/FullBleed/styles.tsx +0 -32
  304. package/src/lib/components/FullBleed/types.ts +0 -9
  305. package/src/lib/components/Grid/Grid.tsx +0 -66
  306. package/src/lib/components/Grid/__preview__/Grid.preview.tsx +0 -37
  307. package/src/lib/components/Grid/__tests__/Grid.cy.tsx +0 -39
  308. package/src/lib/components/Grid/index.ts +0 -3
  309. package/src/lib/components/Grid/styles.tsx +0 -31
  310. package/src/lib/components/Grid/types.ts +0 -24
  311. package/src/lib/components/Header/Header.tsx +0 -212
  312. package/src/lib/components/Header/HeaderBurger.tsx +0 -59
  313. package/src/lib/components/Header/HeaderLogo.tsx +0 -65
  314. package/src/lib/components/Header/HeaderNav.tsx +0 -82
  315. package/src/lib/components/Header/HeaderNavLink.tsx +0 -32
  316. package/src/lib/components/Header/HeaderSearch.tsx +0 -83
  317. package/src/lib/components/Header/__preview__/Header.preview.tsx +0 -33
  318. package/src/lib/components/Header/__tests__/Header.cy.tsx +0 -95
  319. package/src/lib/components/Header/index.ts +0 -3
  320. package/src/lib/components/Header/styles.tsx +0 -352
  321. package/src/lib/components/Header/subtypes.ts +0 -86
  322. package/src/lib/components/Header/types.ts +0 -91
  323. package/src/lib/components/Helmet/Helmet.tsx +0 -67
  324. package/src/lib/components/Helmet/__preview__/Helmet.preview.tsx +0 -26
  325. package/src/lib/components/Helmet/index.ts +0 -3
  326. package/src/lib/components/Helmet/types.ts +0 -17
  327. package/src/lib/components/Highlight/Highlight.tsx +0 -45
  328. package/src/lib/components/Highlight/__preview__/Highlight.preview.tsx +0 -40
  329. package/src/lib/components/Highlight/__tests__/Highlight.cy.tsx +0 -32
  330. package/src/lib/components/Highlight/index.ts +0 -3
  331. package/src/lib/components/Highlight/types.ts +0 -11
  332. package/src/lib/components/Hr/Hr.tsx +0 -50
  333. package/src/lib/components/Hr/__preview__/Hr.preview.tsx +0 -32
  334. package/src/lib/components/Hr/__tests__/Hr.cy.tsx +0 -69
  335. package/src/lib/components/Hr/index.ts +0 -3
  336. package/src/lib/components/Hr/styles.tsx +0 -29
  337. package/src/lib/components/Hr/types.ts +0 -12
  338. package/src/lib/components/Icon/Icon.tsx +0 -42
  339. package/src/lib/components/Icon/__preview__/Icon.preview.tsx +0 -55
  340. package/src/lib/components/Icon/__tests__/Icon.cy.tsx +0 -43
  341. package/src/lib/components/Icon/index.ts +0 -3
  342. package/src/lib/components/Icon/styles.tsx +0 -21
  343. package/src/lib/components/Icon/types.ts +0 -13
  344. package/src/lib/components/IconMenu/IconMenu.tsx +0 -157
  345. package/src/lib/components/IconMenu/IconMenuItem.tsx +0 -74
  346. package/src/lib/components/IconMenu/__preview__/IconMenu.preview.tsx +0 -59
  347. package/src/lib/components/IconMenu/__tests__/IconMenu.cy.tsx +0 -35
  348. package/src/lib/components/IconMenu/index.ts +0 -4
  349. package/src/lib/components/IconMenu/styles.tsx +0 -116
  350. package/src/lib/components/IconMenu/types.ts +0 -56
  351. package/src/lib/components/Image/Image.tsx +0 -106
  352. package/src/lib/components/Image/ImageFunction.tsx +0 -53
  353. package/src/lib/components/Image/__preview__/Image.preview.tsx +0 -88
  354. package/src/lib/components/Image/__tests__/Image.cy.tsx +0 -105
  355. package/src/lib/components/Image/index.ts +0 -3
  356. package/src/lib/components/Image/styles.tsx +0 -87
  357. package/src/lib/components/Image/types.ts +0 -48
  358. package/src/lib/components/Input/Input.tsx +0 -189
  359. package/src/lib/components/Input/__preview__/Input.demo.tsx +0 -73
  360. package/src/lib/components/Input/__preview__/Input.preview.tsx +0 -164
  361. package/src/lib/components/Input/__tests__/Input.cy.tsx +0 -145
  362. package/src/lib/components/Input/__tests__/Preview.tsx +0 -52
  363. package/src/lib/components/Input/index.ts +0 -3
  364. package/src/lib/components/Input/styles.tsx +0 -41
  365. package/src/lib/components/Input/subtypes.ts +0 -186
  366. package/src/lib/components/Input/templates/ColorInput.tsx +0 -40
  367. package/src/lib/components/Input/templates/DateInput.tsx +0 -127
  368. package/src/lib/components/Input/templates/FileInput.tsx +0 -61
  369. package/src/lib/components/Input/templates/PasswordInput.tsx +0 -197
  370. package/src/lib/components/Input/templates/SearchInput.tsx +0 -140
  371. package/src/lib/components/Input/templates/SelectInput.tsx +0 -116
  372. package/src/lib/components/Input/templates/TextInput.tsx +0 -116
  373. package/src/lib/components/Input/templates/TextareaInput.tsx +0 -43
  374. package/src/lib/components/Input/templates/TimeInput.tsx +0 -126
  375. package/src/lib/components/Input/types.ts +0 -24
  376. package/src/lib/components/InputCheck/InputCheck.tsx +0 -138
  377. package/src/lib/components/InputCheck/__preview__/InputCheck.demo.tsx +0 -422
  378. package/src/lib/components/InputCheck/__preview__/InputCheck.preview.tsx +0 -39
  379. package/src/lib/components/InputCheck/__tests__/InputCheck.cy.tsx +0 -100
  380. package/src/lib/components/InputCheck/index.ts +0 -3
  381. package/src/lib/components/InputCheck/styles.tsx +0 -284
  382. package/src/lib/components/InputCheck/types.ts +0 -35
  383. package/src/lib/components/InputComponents/components/InputAndListContainer.tsx +0 -51
  384. package/src/lib/components/InputComponents/components/InputButton.tsx +0 -62
  385. package/src/lib/components/InputComponents/components/InputContainer.tsx +0 -70
  386. package/src/lib/components/InputComponents/components/InputIcon.tsx +0 -51
  387. package/src/lib/components/InputComponents/components/InputLeftContainer.tsx +0 -29
  388. package/src/lib/components/InputComponents/components/InputPrefix.tsx +0 -31
  389. package/src/lib/components/InputComponents/components/InputRightContainer.tsx +0 -35
  390. package/src/lib/components/InputComponents/components/InputSuffix.tsx +0 -31
  391. package/src/lib/components/InputComponents/components/InputValidationHelper.tsx +0 -98
  392. package/src/lib/components/InputComponents/components/InputValidationIcon.tsx +0 -66
  393. package/src/lib/components/InputComponents/components/InputWrapper.tsx +0 -46
  394. package/src/lib/components/InputComponents/components/ListInput.tsx +0 -51
  395. package/src/lib/components/InputComponents/components/ListInputItem.tsx +0 -56
  396. package/src/lib/components/InputComponents/index.ts +0 -15
  397. package/src/lib/components/InputComponents/styles.tsx +0 -738
  398. package/src/lib/components/InputComponents/types.ts +0 -289
  399. package/src/lib/components/InputContainer/HelperBottom.tsx +0 -96
  400. package/src/lib/components/InputContainer/InputContainer.tsx +0 -132
  401. package/src/lib/components/InputContainer/index.ts +0 -3
  402. package/src/lib/components/InputContainer/styles.tsx +0 -89
  403. package/src/lib/components/InputContainer/subtypes.ts +0 -10
  404. package/src/lib/components/InputContainer/types.ts +0 -25
  405. package/src/lib/components/InputCounter/InputCounter.tsx +0 -287
  406. package/src/lib/components/InputCounter/__preview__/InputCounter.preview.tsx +0 -42
  407. package/src/lib/components/InputCounter/__tests__/InputCounter.cy.tsx +0 -99
  408. package/src/lib/components/InputCounter/__tests__/Preview.tsx +0 -58
  409. package/src/lib/components/InputCounter/index.ts +0 -3
  410. package/src/lib/components/InputCounter/styles.tsx +0 -53
  411. package/src/lib/components/InputCounter/subtypes.ts +0 -9
  412. package/src/lib/components/InputCounter/types.ts +0 -51
  413. package/src/lib/components/InputImage/EmptyContainer.tsx +0 -41
  414. package/src/lib/components/InputImage/HoverContainer.tsx +0 -48
  415. package/src/lib/components/InputImage/InputImage.tsx +0 -151
  416. package/src/lib/components/InputImage/__preview__/InputImage.demo.tsx +0 -91
  417. package/src/lib/components/InputImage/__preview__/InputImage.preview.tsx +0 -33
  418. package/src/lib/components/InputImage/__tests__/InputImage.cy.tsx +0 -85
  419. package/src/lib/components/InputImage/index.ts +0 -3
  420. package/src/lib/components/InputImage/styles.tsx +0 -115
  421. package/src/lib/components/InputImage/subtypes.ts +0 -30
  422. package/src/lib/components/InputImage/types.ts +0 -25
  423. package/src/lib/components/InputPhone/InputPhone.tsx +0 -386
  424. package/src/lib/components/InputPhone/__preview__/InputPhone.preview.tsx +0 -76
  425. package/src/lib/components/InputPhone/__tests__/InputPhone.cy.tsx +0 -52
  426. package/src/lib/components/InputPhone/__tests__/Preview.tsx +0 -23
  427. package/src/lib/components/InputPhone/index.ts +0 -3
  428. package/src/lib/components/InputPhone/styles.tsx +0 -219
  429. package/src/lib/components/InputPhone/types.ts +0 -35
  430. package/src/lib/components/InputPhone/utils/countries.ts +0 -648
  431. package/src/lib/components/InputPhone/utils/flags/ac.svg +0 -76
  432. package/src/lib/components/InputPhone/utils/flags/ad.svg +0 -150
  433. package/src/lib/components/InputPhone/utils/flags/ae.svg +0 -6
  434. package/src/lib/components/InputPhone/utils/flags/af.svg +0 -81
  435. package/src/lib/components/InputPhone/utils/flags/ag.svg +0 -14
  436. package/src/lib/components/InputPhone/utils/flags/ai.svg +0 -758
  437. package/src/lib/components/InputPhone/utils/flags/al.svg +0 -5
  438. package/src/lib/components/InputPhone/utils/flags/am.svg +0 -5
  439. package/src/lib/components/InputPhone/utils/flags/ao.svg +0 -13
  440. package/src/lib/components/InputPhone/utils/flags/aq.svg +0 -5
  441. package/src/lib/components/InputPhone/utils/flags/ar.svg +0 -32
  442. package/src/lib/components/InputPhone/utils/flags/as.svg +0 -72
  443. package/src/lib/components/InputPhone/utils/flags/at.svg +0 -6
  444. package/src/lib/components/InputPhone/utils/flags/au.svg +0 -8
  445. package/src/lib/components/InputPhone/utils/flags/aw.svg +0 -186
  446. package/src/lib/components/InputPhone/utils/flags/ax.svg +0 -18
  447. package/src/lib/components/InputPhone/utils/flags/az.svg +0 -8
  448. package/src/lib/components/InputPhone/utils/flags/ba.svg +0 -12
  449. package/src/lib/components/InputPhone/utils/flags/bb.svg +0 -6
  450. package/src/lib/components/InputPhone/utils/flags/bd.svg +0 -4
  451. package/src/lib/components/InputPhone/utils/flags/be.svg +0 -7
  452. package/src/lib/components/InputPhone/utils/flags/bf.svg +0 -7
  453. package/src/lib/components/InputPhone/utils/flags/bg.svg +0 -7
  454. package/src/lib/components/InputPhone/utils/flags/bh.svg +0 -4
  455. package/src/lib/components/InputPhone/utils/flags/bi.svg +0 -15
  456. package/src/lib/components/InputPhone/utils/flags/bj.svg +0 -14
  457. package/src/lib/components/InputPhone/utils/flags/bl.svg +0 -7
  458. package/src/lib/components/InputPhone/utils/flags/bm.svg +0 -97
  459. package/src/lib/components/InputPhone/utils/flags/bn.svg +0 -36
  460. package/src/lib/components/InputPhone/utils/flags/bo.svg +0 -676
  461. package/src/lib/components/InputPhone/utils/flags/bq.svg +0 -5
  462. package/src/lib/components/InputPhone/utils/flags/br.svg +0 -45
  463. package/src/lib/components/InputPhone/utils/flags/bs.svg +0 -13
  464. package/src/lib/components/InputPhone/utils/flags/bt.svg +0 -89
  465. package/src/lib/components/InputPhone/utils/flags/bv.svg +0 -13
  466. package/src/lib/components/InputPhone/utils/flags/bw.svg +0 -7
  467. package/src/lib/components/InputPhone/utils/flags/by.svg +0 -20
  468. package/src/lib/components/InputPhone/utils/flags/bz.svg +0 -145
  469. package/src/lib/components/InputPhone/utils/flags/ca.svg +0 -4
  470. package/src/lib/components/InputPhone/utils/flags/cc.svg +0 -19
  471. package/src/lib/components/InputPhone/utils/flags/cd.svg +0 -5
  472. package/src/lib/components/InputPhone/utils/flags/cefta.svg +0 -13
  473. package/src/lib/components/InputPhone/utils/flags/cf.svg +0 -15
  474. package/src/lib/components/InputPhone/utils/flags/cg.svg +0 -12
  475. package/src/lib/components/InputPhone/utils/flags/ch.svg +0 -9
  476. package/src/lib/components/InputPhone/utils/flags/ci.svg +0 -7
  477. package/src/lib/components/InputPhone/utils/flags/ck.svg +0 -9
  478. package/src/lib/components/InputPhone/utils/flags/cl.svg +0 -13
  479. package/src/lib/components/InputPhone/utils/flags/cm.svg +0 -15
  480. package/src/lib/components/InputPhone/utils/flags/cn.svg +0 -11
  481. package/src/lib/components/InputPhone/utils/flags/co.svg +0 -7
  482. package/src/lib/components/InputPhone/utils/flags/cp.svg +0 -7
  483. package/src/lib/components/InputPhone/utils/flags/cr.svg +0 -7
  484. package/src/lib/components/InputPhone/utils/flags/cu.svg +0 -13
  485. package/src/lib/components/InputPhone/utils/flags/cv.svg +0 -13
  486. package/src/lib/components/InputPhone/utils/flags/cw.svg +0 -14
  487. package/src/lib/components/InputPhone/utils/flags/cx.svg +0 -15
  488. package/src/lib/components/InputPhone/utils/flags/cy.svg +0 -6
  489. package/src/lib/components/InputPhone/utils/flags/cz.svg +0 -5
  490. package/src/lib/components/InputPhone/utils/flags/de.svg +0 -5
  491. package/src/lib/components/InputPhone/utils/flags/dg.svg +0 -129
  492. package/src/lib/components/InputPhone/utils/flags/dj.svg +0 -13
  493. package/src/lib/components/InputPhone/utils/flags/dk.svg +0 -5
  494. package/src/lib/components/InputPhone/utils/flags/dm.svg +0 -152
  495. package/src/lib/components/InputPhone/utils/flags/do.svg +0 -6745
  496. package/src/lib/components/InputPhone/utils/flags/dz.svg +0 -5
  497. package/src/lib/components/InputPhone/utils/flags/ea.svg +0 -544
  498. package/src/lib/components/InputPhone/utils/flags/ec.svg +0 -138
  499. package/src/lib/components/InputPhone/utils/flags/ee.svg +0 -7
  500. package/src/lib/components/InputPhone/utils/flags/eg.svg +0 -38
  501. package/src/lib/components/InputPhone/utils/flags/eh.svg +0 -16
  502. package/src/lib/components/InputPhone/utils/flags/er.svg +0 -8
  503. package/src/lib/components/InputPhone/utils/flags/es-ct.svg +0 -4
  504. package/src/lib/components/InputPhone/utils/flags/es-ga.svg +0 -187
  505. package/src/lib/components/InputPhone/utils/flags/es.svg +0 -544
  506. package/src/lib/components/InputPhone/utils/flags/et.svg +0 -14
  507. package/src/lib/components/InputPhone/utils/flags/eu.svg +0 -28
  508. package/src/lib/components/InputPhone/utils/flags/fi.svg +0 -5
  509. package/src/lib/components/InputPhone/utils/flags/fj.svg +0 -120
  510. package/src/lib/components/InputPhone/utils/flags/fk.svg +0 -90
  511. package/src/lib/components/InputPhone/utils/flags/fm.svg +0 -11
  512. package/src/lib/components/InputPhone/utils/flags/fo.svg +0 -12
  513. package/src/lib/components/InputPhone/utils/flags/fr.svg +0 -7
  514. package/src/lib/components/InputPhone/utils/flags/ga.svg +0 -7
  515. package/src/lib/components/InputPhone/utils/flags/gb-eng.svg +0 -5
  516. package/src/lib/components/InputPhone/utils/flags/gb-nir.svg +0 -132
  517. package/src/lib/components/InputPhone/utils/flags/gb-sct.svg +0 -4
  518. package/src/lib/components/InputPhone/utils/flags/gb-wls.svg +0 -9
  519. package/src/lib/components/InputPhone/utils/flags/gb.svg +0 -7
  520. package/src/lib/components/InputPhone/utils/flags/gd.svg +0 -27
  521. package/src/lib/components/InputPhone/utils/flags/ge.svg +0 -6
  522. package/src/lib/components/InputPhone/utils/flags/gf.svg +0 -7
  523. package/src/lib/components/InputPhone/utils/flags/gg.svg +0 -9
  524. package/src/lib/components/InputPhone/utils/flags/gh.svg +0 -6
  525. package/src/lib/components/InputPhone/utils/flags/gi.svg +0 -32
  526. package/src/lib/components/InputPhone/utils/flags/gl.svg +0 -4
  527. package/src/lib/components/InputPhone/utils/flags/gm.svg +0 -14
  528. package/src/lib/components/InputPhone/utils/flags/gn.svg +0 -7
  529. package/src/lib/components/InputPhone/utils/flags/gp.svg +0 -7
  530. package/src/lib/components/InputPhone/utils/flags/gq.svg +0 -23
  531. package/src/lib/components/InputPhone/utils/flags/gr.svg +0 -16
  532. package/src/lib/components/InputPhone/utils/flags/gs.svg +0 -133
  533. package/src/lib/components/InputPhone/utils/flags/gt.svg +0 -220
  534. package/src/lib/components/InputPhone/utils/flags/gu.svg +0 -23
  535. package/src/lib/components/InputPhone/utils/flags/gw.svg +0 -13
  536. package/src/lib/components/InputPhone/utils/flags/gy.svg +0 -9
  537. package/src/lib/components/InputPhone/utils/flags/hk.svg +0 -30
  538. package/src/lib/components/InputPhone/utils/flags/hm.svg +0 -8
  539. package/src/lib/components/InputPhone/utils/flags/hn.svg +0 -18
  540. package/src/lib/components/InputPhone/utils/flags/hr.svg +0 -58
  541. package/src/lib/components/InputPhone/utils/flags/ht.svg +0 -116
  542. package/src/lib/components/InputPhone/utils/flags/hu.svg +0 -7
  543. package/src/lib/components/InputPhone/utils/flags/ic.svg +0 -7
  544. package/src/lib/components/InputPhone/utils/flags/id.svg +0 -4
  545. package/src/lib/components/InputPhone/utils/flags/ie.svg +0 -7
  546. package/src/lib/components/InputPhone/utils/flags/il.svg +0 -14
  547. package/src/lib/components/InputPhone/utils/flags/im.svg +0 -36
  548. package/src/lib/components/InputPhone/utils/flags/in.svg +0 -25
  549. package/src/lib/components/InputPhone/utils/flags/io.svg +0 -129
  550. package/src/lib/components/InputPhone/utils/flags/iq.svg +0 -10
  551. package/src/lib/components/InputPhone/utils/flags/ir.svg +0 -219
  552. package/src/lib/components/InputPhone/utils/flags/is.svg +0 -12
  553. package/src/lib/components/InputPhone/utils/flags/it.svg +0 -7
  554. package/src/lib/components/InputPhone/utils/flags/je.svg +0 -45
  555. package/src/lib/components/InputPhone/utils/flags/jm.svg +0 -8
  556. package/src/lib/components/InputPhone/utils/flags/jo.svg +0 -16
  557. package/src/lib/components/InputPhone/utils/flags/jp.svg +0 -11
  558. package/src/lib/components/InputPhone/utils/flags/ke.svg +0 -23
  559. package/src/lib/components/InputPhone/utils/flags/kg.svg +0 -15
  560. package/src/lib/components/InputPhone/utils/flags/kh.svg +0 -61
  561. package/src/lib/components/InputPhone/utils/flags/ki.svg +0 -36
  562. package/src/lib/components/InputPhone/utils/flags/km.svg +0 -16
  563. package/src/lib/components/InputPhone/utils/flags/kn.svg +0 -14
  564. package/src/lib/components/InputPhone/utils/flags/kp.svg +0 -15
  565. package/src/lib/components/InputPhone/utils/flags/kr.svg +0 -24
  566. package/src/lib/components/InputPhone/utils/flags/kw.svg +0 -13
  567. package/src/lib/components/InputPhone/utils/flags/ky.svg +0 -109
  568. package/src/lib/components/InputPhone/utils/flags/kz.svg +0 -23
  569. package/src/lib/components/InputPhone/utils/flags/la.svg +0 -12
  570. package/src/lib/components/InputPhone/utils/flags/lb.svg +0 -15
  571. package/src/lib/components/InputPhone/utils/flags/lc.svg +0 -8
  572. package/src/lib/components/InputPhone/utils/flags/li.svg +0 -43
  573. package/src/lib/components/InputPhone/utils/flags/lk.svg +0 -22
  574. package/src/lib/components/InputPhone/utils/flags/lr.svg +0 -14
  575. package/src/lib/components/InputPhone/utils/flags/ls.svg +0 -8
  576. package/src/lib/components/InputPhone/utils/flags/lt.svg +0 -7
  577. package/src/lib/components/InputPhone/utils/flags/lu.svg +0 -5
  578. package/src/lib/components/InputPhone/utils/flags/lv.svg +0 -6
  579. package/src/lib/components/InputPhone/utils/flags/ly.svg +0 -13
  580. package/src/lib/components/InputPhone/utils/flags/ma.svg +0 -4
  581. package/src/lib/components/InputPhone/utils/flags/mc.svg +0 -6
  582. package/src/lib/components/InputPhone/utils/flags/md.svg +0 -70
  583. package/src/lib/components/InputPhone/utils/flags/me.svg +0 -116
  584. package/src/lib/components/InputPhone/utils/flags/mf.svg +0 -7
  585. package/src/lib/components/InputPhone/utils/flags/mg.svg +0 -7
  586. package/src/lib/components/InputPhone/utils/flags/mh.svg +0 -7
  587. package/src/lib/components/InputPhone/utils/flags/mk.svg +0 -5
  588. package/src/lib/components/InputPhone/utils/flags/ml.svg +0 -7
  589. package/src/lib/components/InputPhone/utils/flags/mm.svg +0 -12
  590. package/src/lib/components/InputPhone/utils/flags/mn.svg +0 -14
  591. package/src/lib/components/InputPhone/utils/flags/mo.svg +0 -9
  592. package/src/lib/components/InputPhone/utils/flags/mp.svg +0 -86
  593. package/src/lib/components/InputPhone/utils/flags/mq.svg +0 -7
  594. package/src/lib/components/InputPhone/utils/flags/mr.svg +0 -6
  595. package/src/lib/components/InputPhone/utils/flags/ms.svg +0 -33
  596. package/src/lib/components/InputPhone/utils/flags/mt.svg +0 -49
  597. package/src/lib/components/InputPhone/utils/flags/mu.svg +0 -8
  598. package/src/lib/components/InputPhone/utils/flags/mv.svg +0 -6
  599. package/src/lib/components/InputPhone/utils/flags/mw.svg +0 -10
  600. package/src/lib/components/InputPhone/utils/flags/mx.svg +0 -382
  601. package/src/lib/components/InputPhone/utils/flags/my.svg +0 -7
  602. package/src/lib/components/InputPhone/utils/flags/mz.svg +0 -21
  603. package/src/lib/components/InputPhone/utils/flags/na.svg +0 -16
  604. package/src/lib/components/InputPhone/utils/flags/nc.svg +0 -13
  605. package/src/lib/components/InputPhone/utils/flags/ne.svg +0 -6
  606. package/src/lib/components/InputPhone/utils/flags/nf.svg +0 -9
  607. package/src/lib/components/InputPhone/utils/flags/ng.svg +0 -6
  608. package/src/lib/components/InputPhone/utils/flags/ni.svg +0 -129
  609. package/src/lib/components/InputPhone/utils/flags/nl.svg +0 -5
  610. package/src/lib/components/InputPhone/utils/flags/no.svg +0 -7
  611. package/src/lib/components/InputPhone/utils/flags/np.svg +0 -14
  612. package/src/lib/components/InputPhone/utils/flags/nr.svg +0 -12
  613. package/src/lib/components/InputPhone/utils/flags/nu.svg +0 -10
  614. package/src/lib/components/InputPhone/utils/flags/nz.svg +0 -36
  615. package/src/lib/components/InputPhone/utils/flags/om.svg +0 -115
  616. package/src/lib/components/InputPhone/utils/flags/pa.svg +0 -14
  617. package/src/lib/components/InputPhone/utils/flags/pe.svg +0 -244
  618. package/src/lib/components/InputPhone/utils/flags/pf.svg +0 -19
  619. package/src/lib/components/InputPhone/utils/flags/pg.svg +0 -9
  620. package/src/lib/components/InputPhone/utils/flags/ph.svg +0 -6
  621. package/src/lib/components/InputPhone/utils/flags/pk.svg +0 -15
  622. package/src/lib/components/InputPhone/utils/flags/pl.svg +0 -6
  623. package/src/lib/components/InputPhone/utils/flags/pm.svg +0 -7
  624. package/src/lib/components/InputPhone/utils/flags/pn.svg +0 -53
  625. package/src/lib/components/InputPhone/utils/flags/pr.svg +0 -13
  626. package/src/lib/components/InputPhone/utils/flags/ps.svg +0 -15
  627. package/src/lib/components/InputPhone/utils/flags/pt.svg +0 -57
  628. package/src/lib/components/InputPhone/utils/flags/pw.svg +0 -11
  629. package/src/lib/components/InputPhone/utils/flags/py.svg +0 -157
  630. package/src/lib/components/InputPhone/utils/flags/qa.svg +0 -4
  631. package/src/lib/components/InputPhone/utils/flags/re.svg +0 -7
  632. package/src/lib/components/InputPhone/utils/flags/ro.svg +0 -7
  633. package/src/lib/components/InputPhone/utils/flags/rs.svg +0 -292
  634. package/src/lib/components/InputPhone/utils/flags/ru.svg +0 -7
  635. package/src/lib/components/InputPhone/utils/flags/rw.svg +0 -13
  636. package/src/lib/components/InputPhone/utils/flags/sa.svg +0 -26
  637. package/src/lib/components/InputPhone/utils/flags/sb.svg +0 -13
  638. package/src/lib/components/InputPhone/utils/flags/sc.svg +0 -7
  639. package/src/lib/components/InputPhone/utils/flags/sd.svg +0 -13
  640. package/src/lib/components/InputPhone/utils/flags/se.svg +0 -4
  641. package/src/lib/components/InputPhone/utils/flags/sg.svg +0 -13
  642. package/src/lib/components/InputPhone/utils/flags/sh.svg +0 -76
  643. package/src/lib/components/InputPhone/utils/flags/si.svg +0 -18
  644. package/src/lib/components/InputPhone/utils/flags/sj.svg +0 -7
  645. package/src/lib/components/InputPhone/utils/flags/sk.svg +0 -9
  646. package/src/lib/components/InputPhone/utils/flags/sl.svg +0 -7
  647. package/src/lib/components/InputPhone/utils/flags/sm.svg +0 -75
  648. package/src/lib/components/InputPhone/utils/flags/sn.svg +0 -8
  649. package/src/lib/components/InputPhone/utils/flags/so.svg +0 -11
  650. package/src/lib/components/InputPhone/utils/flags/sr.svg +0 -6
  651. package/src/lib/components/InputPhone/utils/flags/ss.svg +0 -8
  652. package/src/lib/components/InputPhone/utils/flags/st.svg +0 -16
  653. package/src/lib/components/InputPhone/utils/flags/sv.svg +0 -594
  654. package/src/lib/components/InputPhone/utils/flags/sx.svg +0 -56
  655. package/src/lib/components/InputPhone/utils/flags/sy.svg +0 -6
  656. package/src/lib/components/InputPhone/utils/flags/sz.svg +0 -34
  657. package/src/lib/components/InputPhone/utils/flags/ta.svg +0 -76
  658. package/src/lib/components/InputPhone/utils/flags/tc.svg +0 -50
  659. package/src/lib/components/InputPhone/utils/flags/td.svg +0 -7
  660. package/src/lib/components/InputPhone/utils/flags/tf.svg +0 -15
  661. package/src/lib/components/InputPhone/utils/flags/tg.svg +0 -14
  662. package/src/lib/components/InputPhone/utils/flags/th.svg +0 -7
  663. package/src/lib/components/InputPhone/utils/flags/tj.svg +0 -22
  664. package/src/lib/components/InputPhone/utils/flags/tk.svg +0 -5
  665. package/src/lib/components/InputPhone/utils/flags/tl.svg +0 -13
  666. package/src/lib/components/InputPhone/utils/flags/tm.svg +0 -205
  667. package/src/lib/components/InputPhone/utils/flags/tn.svg +0 -13
  668. package/src/lib/components/InputPhone/utils/flags/to.svg +0 -10
  669. package/src/lib/components/InputPhone/utils/flags/tr.svg +0 -8
  670. package/src/lib/components/InputPhone/utils/flags/tt.svg +0 -5
  671. package/src/lib/components/InputPhone/utils/flags/tv.svg +0 -9
  672. package/src/lib/components/InputPhone/utils/flags/tw.svg +0 -34
  673. package/src/lib/components/InputPhone/utils/flags/tz.svg +0 -13
  674. package/src/lib/components/InputPhone/utils/flags/ua.svg +0 -6
  675. package/src/lib/components/InputPhone/utils/flags/ug.svg +0 -30
  676. package/src/lib/components/InputPhone/utils/flags/um.svg +0 -15
  677. package/src/lib/components/InputPhone/utils/flags/un.svg +0 -16
  678. package/src/lib/components/InputPhone/utils/flags/us.svg +0 -10
  679. package/src/lib/components/InputPhone/utils/flags/uy.svg +0 -28
  680. package/src/lib/components/InputPhone/utils/flags/uz.svg +0 -30
  681. package/src/lib/components/InputPhone/utils/flags/va.svg +0 -479
  682. package/src/lib/components/InputPhone/utils/flags/vc.svg +0 -8
  683. package/src/lib/components/InputPhone/utils/flags/ve.svg +0 -26
  684. package/src/lib/components/InputPhone/utils/flags/vg.svg +0 -63
  685. package/src/lib/components/InputPhone/utils/flags/vi.svg +0 -28
  686. package/src/lib/components/InputPhone/utils/flags/vn.svg +0 -11
  687. package/src/lib/components/InputPhone/utils/flags/vu.svg +0 -21
  688. package/src/lib/components/InputPhone/utils/flags/wf.svg +0 -7
  689. package/src/lib/components/InputPhone/utils/flags/ws.svg +0 -7
  690. package/src/lib/components/InputPhone/utils/flags/xk.svg +0 -8
  691. package/src/lib/components/InputPhone/utils/flags/xx.svg +0 -4
  692. package/src/lib/components/InputPhone/utils/flags/ye.svg +0 -7
  693. package/src/lib/components/InputPhone/utils/flags/yt.svg +0 -7
  694. package/src/lib/components/InputPhone/utils/flags/za.svg +0 -17
  695. package/src/lib/components/InputPhone/utils/flags/zm.svg +0 -27
  696. package/src/lib/components/InputPhone/utils/flags/zw.svg +0 -21
  697. package/src/lib/components/InputPin/InputPin.tsx +0 -138
  698. package/src/lib/components/InputPin/__preview__/InputPin.preview.tsx +0 -87
  699. package/src/lib/components/InputPin/__tests__/InputPin.cy.tsx +0 -43
  700. package/src/lib/components/InputPin/__tests__/Preview.tsx +0 -28
  701. package/src/lib/components/InputPin/index.ts +0 -3
  702. package/src/lib/components/InputPin/styles.tsx +0 -70
  703. package/src/lib/components/InputPin/subtypes.ts +0 -11
  704. package/src/lib/components/InputPin/types.ts +0 -31
  705. package/src/lib/components/InputSlider/InputSlider.tsx +0 -184
  706. package/src/lib/components/InputSlider/Slider.tsx +0 -52
  707. package/src/lib/components/InputSlider/__preview__/InputSlider.preview.tsx +0 -57
  708. package/src/lib/components/InputSlider/__tests__/InputSlider.cy.tsx +0 -56
  709. package/src/lib/components/InputSlider/__tests__/Preview.tsx +0 -20
  710. package/src/lib/components/InputSlider/index.ts +0 -3
  711. package/src/lib/components/InputSlider/styles.tsx +0 -292
  712. package/src/lib/components/InputSlider/types.ts +0 -14
  713. package/src/lib/components/Key/Key.tsx +0 -45
  714. package/src/lib/components/Key/__preview__/Key.preview.tsx +0 -45
  715. package/src/lib/components/Key/__tests__/Key.cy.tsx +0 -80
  716. package/src/lib/components/Key/index.ts +0 -3
  717. package/src/lib/components/Key/styles.tsx +0 -29
  718. package/src/lib/components/Key/types.ts +0 -11
  719. package/src/lib/components/LibIcon/LibIcon.tsx +0 -35
  720. package/src/lib/components/LibIcon/index.ts +0 -3
  721. package/src/lib/components/LibIcon/types.ts +0 -9
  722. package/src/lib/components/Link/Link.tsx +0 -68
  723. package/src/lib/components/Link/__preview__/Link.preview.tsx +0 -55
  724. package/src/lib/components/Link/__tests__/Link.cy.tsx +0 -16
  725. package/src/lib/components/Link/index.ts +0 -3
  726. package/src/lib/components/Link/types.ts +0 -9
  727. package/src/lib/components/Linkify/Linkify.tsx +0 -51
  728. package/src/lib/components/Linkify/__preview__/Linkify.preview.tsx +0 -28
  729. package/src/lib/components/Linkify/__tests__/Linkify.cy.tsx +0 -28
  730. package/src/lib/components/Linkify/index.ts +0 -3
  731. package/src/lib/components/Linkify/types.ts +0 -8
  732. package/src/lib/components/ListGroup/ListGroup.tsx +0 -113
  733. package/src/lib/components/ListGroup/ListGroupItem.tsx +0 -164
  734. package/src/lib/components/ListGroup/ListGroupTitle.tsx +0 -56
  735. package/src/lib/components/ListGroup/__preview__/ListGroup.preview.tsx +0 -102
  736. package/src/lib/components/ListGroup/__tests__/ListGroup.cy.tsx +0 -85
  737. package/src/lib/components/ListGroup/__tests__/data.ts +0 -58
  738. package/src/lib/components/ListGroup/index.ts +0 -5
  739. package/src/lib/components/ListGroup/styles.tsx +0 -179
  740. package/src/lib/components/ListGroup/types.ts +0 -114
  741. package/src/lib/components/Loader/Loader.tsx +0 -35
  742. package/src/lib/components/Loader/__preview__/Loader.preview.tsx +0 -39
  743. package/src/lib/components/Loader/__tests__/Loader.cy.tsx +0 -72
  744. package/src/lib/components/Loader/index.ts +0 -3
  745. package/src/lib/components/Loader/styles.tsx +0 -140
  746. package/src/lib/components/Loader/templates/LoaderFour.tsx +0 -24
  747. package/src/lib/components/Loader/templates/LoaderOne.tsx +0 -24
  748. package/src/lib/components/Loader/templates/LoaderThree.tsx +0 -29
  749. package/src/lib/components/Loader/templates/LoaderTwo.tsx +0 -24
  750. package/src/lib/components/Loader/types.ts +0 -25
  751. package/src/lib/components/Main/Main.tsx +0 -45
  752. package/src/lib/components/Main/__preview__/Main.preview.tsx +0 -33
  753. package/src/lib/components/Main/index.ts +0 -3
  754. package/src/lib/components/Main/styles.tsx +0 -61
  755. package/src/lib/components/Main/types.ts +0 -19
  756. package/src/lib/components/MarkdownContainer/MarkdownContainer.tsx +0 -35
  757. package/src/lib/components/MarkdownContainer/__preview__/MarkdownContainer.preview.tsx +0 -28
  758. package/src/lib/components/MarkdownContainer/index.ts +0 -3
  759. package/src/lib/components/MarkdownContainer/styles.tsx +0 -17
  760. package/src/lib/components/MarkdownContainer/types.ts +0 -9
  761. package/src/lib/components/MarkdownEditor/MarkdownEditor.tsx +0 -196
  762. package/src/lib/components/MarkdownEditor/MdEditorButtons/EditorButtonTitles.tsx +0 -77
  763. package/src/lib/components/MarkdownEditor/MdEditorButtons/EditorButtons.tsx +0 -75
  764. package/src/lib/components/MarkdownEditor/MdEditorButtons/MarkdownButtons.tsx +0 -54
  765. package/src/lib/components/MarkdownEditor/MdEditorInput.tsx +0 -98
  766. package/src/lib/components/MarkdownEditor/__preview__/MarkdownEditor.demo.tsx +0 -11
  767. package/src/lib/components/MarkdownEditor/__preview__/MarkdownEditor.preview.tsx +0 -28
  768. package/src/lib/components/MarkdownEditor/__tests__/MarkdownEditor.cy.tsx +0 -50
  769. package/src/lib/components/MarkdownEditor/__tests__/Preview.tsx +0 -11
  770. package/src/lib/components/MarkdownEditor/index.ts +0 -3
  771. package/src/lib/components/MarkdownEditor/markdown-buttons.tsx +0 -182
  772. package/src/lib/components/MarkdownEditor/styles.tsx +0 -186
  773. package/src/lib/components/MarkdownEditor/subtypes.ts +0 -54
  774. package/src/lib/components/MarkdownEditor/types.ts +0 -59
  775. package/src/lib/components/Masonry/Masonry.tsx +0 -67
  776. package/src/lib/components/Masonry/__preview__/Masonry.preview.tsx +0 -48
  777. package/src/lib/components/Masonry/__tests__/Masonry.cy.tsx +0 -35
  778. package/src/lib/components/Masonry/index.ts +0 -3
  779. package/src/lib/components/Masonry/styles.tsx +0 -24
  780. package/src/lib/components/Masonry/types.ts +0 -10
  781. package/src/lib/components/Masonry/utils.ts +0 -30
  782. package/src/lib/components/Messaging/Message.tsx +0 -106
  783. package/src/lib/components/Messaging/MessageForm.tsx +0 -144
  784. package/src/lib/components/Messaging/MessagesContainer.tsx +0 -29
  785. package/src/lib/components/Messaging/MessagesList.tsx +0 -136
  786. package/src/lib/components/Messaging/Messaging.tsx +0 -123
  787. package/src/lib/components/Messaging/__preview__/Messaging.demo.tsx +0 -39
  788. package/src/lib/components/Messaging/__preview__/Messaging.preview.tsx +0 -130
  789. package/src/lib/components/Messaging/__tests__/Messaging.cy.tsx +0 -31
  790. package/src/lib/components/Messaging/__tests__/Preview.tsx +0 -69
  791. package/src/lib/components/Messaging/index.ts +0 -7
  792. package/src/lib/components/Messaging/styles.tsx +0 -177
  793. package/src/lib/components/Messaging/types.ts +0 -131
  794. package/src/lib/components/Modal/Modal.tsx +0 -127
  795. package/src/lib/components/Modal/__preview__/Modal.preview.tsx +0 -37
  796. package/src/lib/components/Modal/__preview__/Previews.tsx +0 -65
  797. package/src/lib/components/Modal/__tests__/Modal.cy.tsx +0 -54
  798. package/src/lib/components/Modal/__tests__/Preview.tsx +0 -72
  799. package/src/lib/components/Modal/index.ts +0 -3
  800. package/src/lib/components/Modal/styles.tsx +0 -62
  801. package/src/lib/components/Modal/types.ts +0 -38
  802. package/src/lib/components/PageLayout/PageLayout.tsx +0 -80
  803. package/src/lib/components/PageLayout/__preview__/PageLayout.preview.tsx +0 -34
  804. package/src/lib/components/PageLayout/index.ts +0 -3
  805. package/src/lib/components/PageLayout/types.ts +0 -47
  806. package/src/lib/components/PageLoading/PageLoading.tsx +0 -64
  807. package/src/lib/components/PageLoading/__preview__/PageLoading.preview.tsx +0 -33
  808. package/src/lib/components/PageLoading/__tests__/PageLoading.cy.tsx +0 -21
  809. package/src/lib/components/PageLoading/index.ts +0 -3
  810. package/src/lib/components/PageLoading/styles.tsx +0 -24
  811. package/src/lib/components/PageLoading/types.ts +0 -15
  812. package/src/lib/components/Pagination/Pagination.tsx +0 -265
  813. package/src/lib/components/Pagination/PaginationButton.tsx +0 -51
  814. package/src/lib/components/Pagination/__preview__/Pagination.preview.tsx +0 -61
  815. package/src/lib/components/Pagination/__tests__/Pagination.cy.tsx +0 -51
  816. package/src/lib/components/Pagination/__tests__/Preview.tsx +0 -76
  817. package/src/lib/components/Pagination/index.ts +0 -4
  818. package/src/lib/components/Pagination/styles.tsx +0 -72
  819. package/src/lib/components/Pagination/types.ts +0 -61
  820. package/src/lib/components/Paginator/Paginator.tsx +0 -162
  821. package/src/lib/components/Paginator/__preview__/Paginator.preview.tsx +0 -60
  822. package/src/lib/components/Paginator/__tests__/Paginator.cy.tsx +0 -74
  823. package/src/lib/components/Paginator/__tests__/Preview.tsx +0 -107
  824. package/src/lib/components/Paginator/index.ts +0 -3
  825. package/src/lib/components/Paginator/styles.tsx +0 -36
  826. package/src/lib/components/Paginator/types.ts +0 -16
  827. package/src/lib/components/ProgressBar/ProgressBar.tsx +0 -68
  828. package/src/lib/components/ProgressBar/__preview__/ProgressBar.preview.tsx +0 -28
  829. package/src/lib/components/ProgressBar/__tests__/ProgressBar.cy.tsx +0 -63
  830. package/src/lib/components/ProgressBar/index.ts +0 -3
  831. package/src/lib/components/ProgressBar/styles.tsx +0 -55
  832. package/src/lib/components/ProgressBar/types.ts +0 -13
  833. package/src/lib/components/ProgressCircle/Circle.tsx +0 -30
  834. package/src/lib/components/ProgressCircle/ProgressCircle.tsx +0 -93
  835. package/src/lib/components/ProgressCircle/ProgressCircleFn.tsx +0 -48
  836. package/src/lib/components/ProgressCircle/Value.tsx +0 -31
  837. package/src/lib/components/ProgressCircle/__preview__/ProgressCircle.preview.tsx +0 -55
  838. package/src/lib/components/ProgressCircle/__tests__/ProgressCircle.cy.tsx +0 -81
  839. package/src/lib/components/ProgressCircle/clean-percentage.ts +0 -7
  840. package/src/lib/components/ProgressCircle/index.ts +0 -3
  841. package/src/lib/components/ProgressCircle/styles.tsx +0 -55
  842. package/src/lib/components/ProgressCircle/subtypes.ts +0 -11
  843. package/src/lib/components/ProgressCircle/types.ts +0 -31
  844. package/src/lib/components/Rating/Rating.tsx +0 -177
  845. package/src/lib/components/Rating/__preview__/Rating.preview.tsx +0 -56
  846. package/src/lib/components/Rating/__tests__/Preview.tsx +0 -28
  847. package/src/lib/components/Rating/__tests__/Rating.cy.tsx +0 -55
  848. package/src/lib/components/Rating/index.ts +0 -3
  849. package/src/lib/components/Rating/styles.tsx +0 -52
  850. package/src/lib/components/Rating/types.ts +0 -24
  851. package/src/lib/components/ResetScroll/ResetScroll.tsx +0 -22
  852. package/src/lib/components/ResetScroll/__preview__/ResetScroll.preview.tsx +0 -19
  853. package/src/lib/components/ResetScroll/index.ts +0 -3
  854. package/src/lib/components/Section/Section.tsx +0 -30
  855. package/src/lib/components/Section/__preview__/Section.preview.tsx +0 -34
  856. package/src/lib/components/Section/__tests__/Section.cy.tsx +0 -26
  857. package/src/lib/components/Section/index.ts +0 -3
  858. package/src/lib/components/Section/styles.tsx +0 -24
  859. package/src/lib/components/Section/types.ts +0 -7
  860. package/src/lib/components/Select/Select.tsx +0 -284
  861. package/src/lib/components/Select/SelectButton.tsx +0 -58
  862. package/src/lib/components/Select/__preview__/Select.preview.tsx +0 -40
  863. package/src/lib/components/Select/__tests__/Preview.tsx +0 -32
  864. package/src/lib/components/Select/__tests__/Select.cy.tsx +0 -47
  865. package/src/lib/components/Select/index.ts +0 -3
  866. package/src/lib/components/Select/styles.tsx +0 -22
  867. package/src/lib/components/Select/subtypes.ts +0 -32
  868. package/src/lib/components/Select/types.ts +0 -33
  869. package/src/lib/components/Skeleton/Skeleton.tsx +0 -60
  870. package/src/lib/components/Skeleton/SkeletonCard.tsx +0 -78
  871. package/src/lib/components/Skeleton/SkeletonShine.tsx +0 -26
  872. package/src/lib/components/Skeleton/__preview__/Skeleton.preview.tsx +0 -115
  873. package/src/lib/components/Skeleton/__tests__/Skeleton.cy.tsx +0 -118
  874. package/src/lib/components/Skeleton/index.ts +0 -5
  875. package/src/lib/components/Skeleton/styles.tsx +0 -102
  876. package/src/lib/components/Skeleton/subtypes.ts +0 -16
  877. package/src/lib/components/Skeleton/types.ts +0 -39
  878. package/src/lib/components/Slideshow/Slideshow.tsx +0 -218
  879. package/src/lib/components/Slideshow/SlideshowButton.tsx +0 -99
  880. package/src/lib/components/Slideshow/SlideshowPagination.tsx +0 -84
  881. package/src/lib/components/Slideshow/__preview__/Slideshow.preview.tsx +0 -53
  882. package/src/lib/components/Slideshow/__tests__/Slideshow.cy.tsx +0 -81
  883. package/src/lib/components/Slideshow/index.ts +0 -3
  884. package/src/lib/components/Slideshow/styles.tsx +0 -361
  885. package/src/lib/components/Slideshow/subtypes.ts +0 -22
  886. package/src/lib/components/Slideshow/types.ts +0 -99
  887. package/src/lib/components/SrOnly/SrOnly.tsx +0 -23
  888. package/src/lib/components/SrOnly/__preview__/SrOnly.preview.tsx +0 -28
  889. package/src/lib/components/SrOnly/__tests__/SrOnly.cy.tsx +0 -17
  890. package/src/lib/components/SrOnly/index.ts +0 -3
  891. package/src/lib/components/SrOnly/styles.tsx +0 -21
  892. package/src/lib/components/SrOnly/types.ts +0 -5
  893. package/src/lib/components/Stepper/Step.tsx +0 -118
  894. package/src/lib/components/Stepper/Stepper.tsx +0 -96
  895. package/src/lib/components/Stepper/__preview__/Stepper.preview.tsx +0 -63
  896. package/src/lib/components/Stepper/__tests__/Stepper.cy.tsx +0 -96
  897. package/src/lib/components/Stepper/__tests__/data.ts +0 -29
  898. package/src/lib/components/Stepper/index.ts +0 -4
  899. package/src/lib/components/Stepper/styles.tsx +0 -115
  900. package/src/lib/components/Stepper/types.ts +0 -48
  901. package/src/lib/components/Sticky/Sticky.tsx +0 -30
  902. package/src/lib/components/Sticky/__preview__/Sticky.preview.tsx +0 -180
  903. package/src/lib/components/Sticky/index.ts +0 -3
  904. package/src/lib/components/Sticky/styles.tsx +0 -15
  905. package/src/lib/components/Sticky/types.ts +0 -7
  906. package/src/lib/components/Table/TBody.tsx +0 -17
  907. package/src/lib/components/Table/THead.tsx +0 -17
  908. package/src/lib/components/Table/Table.tsx +0 -124
  909. package/src/lib/components/Table/Td.tsx +0 -26
  910. package/src/lib/components/Table/Tr.tsx +0 -17
  911. package/src/lib/components/Table/__preview__/Table.preview.tsx +0 -112
  912. package/src/lib/components/Table/__tests__/Table.cy.tsx +0 -24
  913. package/src/lib/components/Table/index.ts +0 -7
  914. package/src/lib/components/Table/styles.tsx +0 -114
  915. package/src/lib/components/Table/types.ts +0 -52
  916. package/src/lib/components/Tabs/TabButton.tsx +0 -50
  917. package/src/lib/components/Tabs/TabItem.tsx +0 -34
  918. package/src/lib/components/Tabs/Tabs.tsx +0 -137
  919. package/src/lib/components/Tabs/TabsButtonsContainer.tsx +0 -46
  920. package/src/lib/components/Tabs/TabsContainer.tsx +0 -23
  921. package/src/lib/components/Tabs/__preview__/Tabs.preview.tsx +0 -64
  922. package/src/lib/components/Tabs/__tests__/Tabs.cy.tsx +0 -62
  923. package/src/lib/components/Tabs/__tests__/data.tsx +0 -24
  924. package/src/lib/components/Tabs/index.ts +0 -7
  925. package/src/lib/components/Tabs/styles.tsx +0 -178
  926. package/src/lib/components/Tabs/types.ts +0 -60
  927. package/src/lib/components/Tag/Tag.tsx +0 -97
  928. package/src/lib/components/Tag/__preview__/Tag.preview.tsx +0 -63
  929. package/src/lib/components/Tag/__tests__/Tag.cy.tsx +0 -155
  930. package/src/lib/components/Tag/index.ts +0 -3
  931. package/src/lib/components/Tag/styles.tsx +0 -41
  932. package/src/lib/components/Tag/types.ts +0 -43
  933. package/src/lib/components/Text/Text.tsx +0 -69
  934. package/src/lib/components/Text/__preview__/Text.tsx +0 -35
  935. package/src/lib/components/Text/__preview__/previews/Description.tsx +0 -20
  936. package/src/lib/components/Text/__preview__/previews/Ordered.tsx +0 -15
  937. package/src/lib/components/Text/__preview__/previews/Paragraphs.tsx +0 -37
  938. package/src/lib/components/Text/__preview__/previews/Quote.tsx +0 -11
  939. package/src/lib/components/Text/__preview__/previews/Small.tsx +0 -11
  940. package/src/lib/components/Text/__preview__/previews/TextDisplay.tsx +0 -30
  941. package/src/lib/components/Text/__preview__/previews/TextTitles.tsx +0 -34
  942. package/src/lib/components/Text/__preview__/previews/Unordered.tsx +0 -15
  943. package/src/lib/components/Text/__tests__/Text.cy.tsx +0 -83
  944. package/src/lib/components/Text/__tests__/utils.ts +0 -7
  945. package/src/lib/components/Text/index.ts +0 -3
  946. package/src/lib/components/Text/styles.tsx +0 -230
  947. package/src/lib/components/Text/subtypes.ts +0 -15
  948. package/src/lib/components/Text/templates/Blockquote.tsx +0 -34
  949. package/src/lib/components/Text/templates/Dl.tsx +0 -34
  950. package/src/lib/components/Text/templates/Em.tsx +0 -34
  951. package/src/lib/components/Text/templates/H1.tsx +0 -36
  952. package/src/lib/components/Text/templates/H2.tsx +0 -36
  953. package/src/lib/components/Text/templates/H3.tsx +0 -36
  954. package/src/lib/components/Text/templates/H4.tsx +0 -36
  955. package/src/lib/components/Text/templates/H5.tsx +0 -36
  956. package/src/lib/components/Text/templates/H6.tsx +0 -34
  957. package/src/lib/components/Text/templates/Ol.tsx +0 -34
  958. package/src/lib/components/Text/templates/P.tsx +0 -34
  959. package/src/lib/components/Text/templates/Small.tsx +0 -34
  960. package/src/lib/components/Text/templates/Strong.tsx +0 -34
  961. package/src/lib/components/Text/templates/Ul.tsx +0 -34
  962. package/src/lib/components/Text/types.ts +0 -28
  963. package/src/lib/components/TextIcon/TextIcon.tsx +0 -104
  964. package/src/lib/components/TextIcon/__preview__/TextIcon.preview.tsx +0 -29
  965. package/src/lib/components/TextIcon/__tests__/TextIcon.cy.tsx +0 -131
  966. package/src/lib/components/TextIcon/index.ts +0 -3
  967. package/src/lib/components/TextIcon/styles.tsx +0 -38
  968. package/src/lib/components/TextIcon/types.ts +0 -21
  969. package/src/lib/components/TextIcon/utils.ts +0 -56
  970. package/src/lib/components/Timepicker/Timepicker.tsx +0 -294
  971. package/src/lib/components/Timepicker/__preview__/Timepicker.demo.tsx +0 -70
  972. package/src/lib/components/Timepicker/__preview__/Timepicker.preview.tsx +0 -60
  973. package/src/lib/components/Timepicker/__tests__/Preview.tsx +0 -68
  974. package/src/lib/components/Timepicker/__tests__/Timepicker.cy.tsx +0 -18
  975. package/src/lib/components/Timepicker/index.ts +0 -3
  976. package/src/lib/components/Timepicker/styles.tsx +0 -34
  977. package/src/lib/components/Timepicker/types.ts +0 -69
  978. package/src/lib/components/Toast/Toast.tsx +0 -210
  979. package/src/lib/components/Toast/Toaster.tsx +0 -168
  980. package/src/lib/components/Toast/__preview__/Toast.preview.tsx +0 -32
  981. package/src/lib/components/Toast/__preview__/Toaster.demo.tsx +0 -79
  982. package/src/lib/components/Toast/__tests__/Preview.tsx +0 -78
  983. package/src/lib/components/Toast/__tests__/Toast.cy.tsx +0 -99
  984. package/src/lib/components/Toast/index.ts +0 -3
  985. package/src/lib/components/Toast/styles.tsx +0 -249
  986. package/src/lib/components/Toast/types.ts +0 -32
  987. package/src/lib/components/Tooltip/Tooltip.tsx +0 -120
  988. package/src/lib/components/Tooltip/__preview__/Tooltip.preview.tsx +0 -59
  989. package/src/lib/components/Tooltip/__tests__/Tooltip.cy.tsx +0 -40
  990. package/src/lib/components/Tooltip/index.ts +0 -3
  991. package/src/lib/components/Tooltip/styles.tsx +0 -151
  992. package/src/lib/components/Tooltip/types.ts +0 -22
  993. package/src/lib/components/Truncate/Truncate.tsx +0 -113
  994. package/src/lib/components/Truncate/__preview__/Truncate.demo.tsx +0 -45
  995. package/src/lib/components/Truncate/__preview__/Truncate.preview.tsx +0 -19
  996. package/src/lib/components/Truncate/__tests__/Truncate.cy.tsx +0 -71
  997. package/src/lib/components/Truncate/__tests__/utils.ts +0 -12
  998. package/src/lib/components/Truncate/index.ts +0 -3
  999. package/src/lib/components/Truncate/styles.tsx +0 -37
  1000. package/src/lib/components/Truncate/types.ts +0 -7
  1001. package/src/lib/components/Video/Video.tsx +0 -66
  1002. package/src/lib/components/Video/__preview__/Video.preview.tsx +0 -45
  1003. package/src/lib/components/Video/__tests__/Video.cy.tsx +0 -18
  1004. package/src/lib/components/Video/index.ts +0 -3
  1005. package/src/lib/components/Video/styles.tsx +0 -24
  1006. package/src/lib/components/Video/types.ts +0 -22
  1007. package/src/lib/components/Wrapper/Wrapper.tsx +0 -43
  1008. package/src/lib/components/Wrapper/__preview__/Wrapper.preview.tsx +0 -25
  1009. package/src/lib/components/Wrapper/index.ts +0 -3
  1010. package/src/lib/components/Wrapper/styles.tsx +0 -29
  1011. package/src/lib/components/Wrapper/types.ts +0 -9
  1012. package/src/lib/components/Youtube/Youtube.tsx +0 -44
  1013. package/src/lib/components/Youtube/__preview__/Youtube.preview.tsx +0 -28
  1014. package/src/lib/components/Youtube/__tests__/Youtube.cy.tsx +0 -26
  1015. package/src/lib/components/Youtube/index.ts +0 -3
  1016. package/src/lib/components/Youtube/styles.tsx +0 -20
  1017. package/src/lib/components/Youtube/types.ts +0 -11
  1018. package/src/lib/context/Theme.context.tsx +0 -104
  1019. package/src/lib/context/Toaster/Toaster.context.tsx +0 -130
  1020. package/src/lib/context/Toaster/index.ts +0 -3
  1021. package/src/lib/context/Toaster/toast.reducer.ts +0 -36
  1022. package/src/lib/hooks/index.ts +0 -17
  1023. package/src/lib/hooks/useClickOutside.tsx +0 -37
  1024. package/src/lib/hooks/useCopyToClipboard.tsx +0 -33
  1025. package/src/lib/hooks/useDebounce.tsx +0 -21
  1026. package/src/lib/hooks/useExportData.tsx +0 -55
  1027. package/src/lib/hooks/useFetch.tsx +0 -25
  1028. package/src/lib/hooks/useForm.tsx +0 -28
  1029. package/src/lib/hooks/useIsOverflow.ts +0 -44
  1030. package/src/lib/hooks/useKeyPress.tsx +0 -95
  1031. package/src/lib/hooks/useMaxWidth.tsx +0 -28
  1032. package/src/lib/hooks/useMergeRefs.ts +0 -33
  1033. package/src/lib/hooks/useMinWidth.tsx +0 -28
  1034. package/src/lib/hooks/usePaginatedData.tsx +0 -37
  1035. package/src/lib/hooks/usePagination.tsx +0 -112
  1036. package/src/lib/hooks/useTouchScreen.tsx +0 -21
  1037. package/src/lib/hooks/useTranslation.tsx +0 -30
  1038. package/src/lib/icons/ArrowUp.tsx +0 -32
  1039. package/src/lib/icons/Bold.tsx +0 -32
  1040. package/src/lib/icons/Calendar.tsx +0 -40
  1041. package/src/lib/icons/CaretDown.tsx +0 -32
  1042. package/src/lib/icons/Check.tsx +0 -32
  1043. package/src/lib/icons/CheckCircle.tsx +0 -38
  1044. package/src/lib/icons/ChevronDown.tsx +0 -32
  1045. package/src/lib/icons/ChevronLeft.tsx +0 -32
  1046. package/src/lib/icons/ChevronRight.tsx +0 -32
  1047. package/src/lib/icons/ChevronUp.tsx +0 -32
  1048. package/src/lib/icons/Clipboard.tsx +0 -32
  1049. package/src/lib/icons/Clock.tsx +0 -35
  1050. package/src/lib/icons/Close.tsx +0 -32
  1051. package/src/lib/icons/CloseCircle.tsx +0 -38
  1052. package/src/lib/icons/Code.tsx +0 -32
  1053. package/src/lib/icons/CodeBlock.tsx +0 -42
  1054. package/src/lib/icons/Comment.tsx +0 -42
  1055. package/src/lib/icons/Drag.tsx +0 -32
  1056. package/src/lib/icons/Edit.tsx +0 -38
  1057. package/src/lib/icons/EditorCode.tsx +0 -36
  1058. package/src/lib/icons/EditorLive.tsx +0 -36
  1059. package/src/lib/icons/EditorPreview.tsx +0 -36
  1060. package/src/lib/icons/Hide.tsx +0 -32
  1061. package/src/lib/icons/Image.tsx +0 -42
  1062. package/src/lib/icons/Italic.tsx +0 -32
  1063. package/src/lib/icons/Link.tsx +0 -36
  1064. package/src/lib/icons/Minus.tsx +0 -29
  1065. package/src/lib/icons/OrderedList.tsx +0 -32
  1066. package/src/lib/icons/Plus.tsx +0 -32
  1067. package/src/lib/icons/Quote.tsx +0 -32
  1068. package/src/lib/icons/Search.tsx +0 -38
  1069. package/src/lib/icons/Send.tsx +0 -32
  1070. package/src/lib/icons/Separator.tsx +0 -32
  1071. package/src/lib/icons/Show.tsx +0 -38
  1072. package/src/lib/icons/Star.tsx +0 -32
  1073. package/src/lib/icons/StarFull.tsx +0 -32
  1074. package/src/lib/icons/Strikethrough.tsx +0 -32
  1075. package/src/lib/icons/Underline.tsx +0 -36
  1076. package/src/lib/icons/UnorderedList.tsx +0 -32
  1077. package/src/lib/icons/index.ts +0 -41
  1078. package/src/lib/icons/styles.tsx +0 -19
  1079. package/src/lib/icons/types.ts +0 -11
  1080. package/src/lib/index.ts +0 -159
  1081. package/src/lib/lib-utils/append-styles.ts +0 -9
  1082. package/src/lib/lib-utils/colors-maps.ts +0 -176
  1083. package/src/lib/lib-utils/get-highlighted-text.tsx +0 -31
  1084. package/src/lib/lib-utils/get-icon-size-from-font.ts +0 -27
  1085. package/src/lib/lib-utils/index.ts +0 -11
  1086. package/src/lib/lib-utils/round-icon-size.ts +0 -7
  1087. package/src/lib/lib-utils/transfom-search-keys.ts +0 -15
  1088. package/src/lib/modules-declare.d.ts +0 -18
  1089. package/src/lib/utils/StyleSheetManager.tsx +0 -32
  1090. package/src/lib/utils/index.ts +0 -6
  1091. package/src/lib/utils/lib-tokens.json +0 -860
  1092. package/src/lib/utils/linkify-text.tsx +0 -28
  1093. package/src/lib/utils/options-markdown.ts +0 -133
  1094. package/src/lib/utils/set-default-theme.ts +0 -14
  1095. package/src/main.tsx +0 -13
  1096. package/src/pages/404.tsx +0 -20
  1097. package/src/pages/Generate.tsx +0 -505
  1098. package/src/pages/GenerateOLD.tsx +0 -204
  1099. package/src/pages/Homepage.tsx +0 -8
  1100. package/src/pages/components/ComponentPage.tsx +0 -46
  1101. package/src/pages/demos/BackToTopDemo.tsx +0 -176
  1102. package/src/pages/demos/DemoAsideBoth.tsx +0 -37
  1103. package/src/pages/demos/DemoAsideDefault.tsx +0 -25
  1104. package/src/pages/demos/DemoAsideSmall.tsx +0 -29
  1105. package/src/pages/demos/DemoCoverBottom.tsx +0 -27
  1106. package/src/pages/demos/DemoCoverBottomOverlay.tsx +0 -27
  1107. package/src/pages/demos/DemoCoverCenter.tsx +0 -27
  1108. package/src/pages/demos/DemoCoverCenterOverlay.tsx +0 -28
  1109. package/src/pages/demos/DemoHeader.tsx +0 -76
  1110. package/src/pages/demos/DemoMainDefault.tsx +0 -16
  1111. package/src/pages/demos/DemoMainForm.tsx +0 -20
  1112. package/src/pages/demos/DemoMainFull.tsx +0 -126
  1113. package/src/pages/demos/DemoMainLarge.tsx +0 -21
  1114. package/src/pages/demos/DemoMainNumber.tsx +0 -21
  1115. package/src/pages/demos/DemoPageLoading.tsx +0 -18
  1116. package/src/pages/demos/PageLayoutDemo.tsx +0 -53
  1117. package/src/routes/index.tsx +0 -91
  1118. package/src/vite-env.d.ts +0 -1
  1119. package/tsconfig-types.json +0 -32
  1120. package/tsconfig.app.json +0 -26
  1121. package/tsconfig.json +0 -7
  1122. package/tsconfig.node.json +0 -24
  1123. package/vite.config.ts +0 -49
  1124. /package/{src/lib → dist}/index.css +0 -0
  1125. /package/{src/lib → dist}/types/component-items.ts +0 -0
  1126. /package/{src/lib → dist}/types/components-props.ts +0 -0
  1127. /package/{src/lib → dist}/types/generate-int-range.ts +0 -0
  1128. /package/{src/lib → dist}/types/global.ts +0 -0
  1129. /package/{src/lib → dist}/types/index.ts +0 -0
  1130. /package/{src/lib → dist}/types/require-at-least-one.ts +0 -0
  1131. /package/{src/lib → dist}/types/theme.ts +0 -0
  1132. /package/{src/lib → dist}/types/type-values.ts +0 -0
@@ -0,0 +1,443 @@
1
+ /*=============================================== Global types ===============================================*/
2
+
3
+ import type {
4
+ HTMLAttributes,
5
+ ElementType,
6
+ ReactNode,
7
+ Dispatch,
8
+ SetStateAction,
9
+ MouseEventHandler,
10
+ } from "react"
11
+ import type { Property } from "csstype"
12
+ import type { DefaultTheme } from "styled-components"
13
+ import type { typeValues } from "./type-values"
14
+ import type { RequireAtLeastOne } from "./require-at-least-one"
15
+
16
+ /*====================== Common types ======================*/
17
+
18
+ export type LibColors = keyof typeof typeValues.libColors
19
+ export type LibColorsShort = keyof typeof typeValues.colorsShort
20
+ export type LibAllColors = LibColors | LibColorsShort
21
+ export type LibColorsHover = keyof typeof typeValues.colorsHover
22
+ export type LibColorsHoverAndCurrent = LibColorsHover | "currentColor"
23
+ export type LibOverlays = keyof typeof typeValues.overlays
24
+ export type LibAllColorsAndOverlays =
25
+ | keyof typeof typeValues.libColors
26
+ | keyof typeof typeValues.colorsShort
27
+ | keyof typeof typeValues.overlays
28
+ export type LibFontFamilies = keyof typeof typeValues.fontFamilies
29
+ export type LibFontSizes = keyof typeof typeValues.fontSizes
30
+ export type LibFontWeights = keyof typeof typeValues.fontWeights | number
31
+ export type LibLineHeights = keyof typeof typeValues.lineHeights | number
32
+ export type LibShadows = keyof typeof typeValues.shadows
33
+ export type LibSpacers = keyof typeof typeValues.spacers | number | "0px"
34
+ export type LibRadiuses = keyof typeof typeValues.radiuses | number
35
+ export type LibTransitions = keyof typeof typeValues.transitions
36
+ export type LibValidationStatus = boolean | undefined
37
+ export type LibThemeNames = keyof typeof typeValues.theme
38
+ export type LibIcon = string | JSX.Element
39
+ export type LibInputVariant = keyof typeof typeValues.inputVariants
40
+ export type LibInputBackground = keyof typeof typeValues.inputBackgrounds
41
+ export type LibPositionExtract = Extract<
42
+ Property.Position,
43
+ "relative" | "absolute" | "fixed"
44
+ >
45
+
46
+ /*====================== Common component props ======================*/
47
+
48
+ /* Component base */
49
+ /**
50
+ * @description Props common to nearly all components
51
+ * @prop data-testid?: string
52
+ * @prop as?: ElementType
53
+ */
54
+ export interface LibComponentBase<T> extends HTMLAttributes<T> {
55
+ "data-testid"?: string
56
+ as?: ElementType
57
+ }
58
+
59
+ /* Box shadow */
60
+ /**
61
+ * @description Props for components with box shadow
62
+ * @type "xxl" | "xl" | "l" | "m" | "s" | "xs"
63
+ * @type { default: "xxl" | "xl" | "l" | "m" | "s" | "xs"; hover: "xxl" | "xl" | "l" | "m" | "s" | "xs"; active: "xxl" | "xl" | "l" | "m" | "s" | "xs" }
64
+ */
65
+ export type ILibBoxShadow =
66
+ | LibShadows
67
+ | {
68
+ default: LibShadows
69
+ hover: LibShadows
70
+ active: LibShadows
71
+ }
72
+
73
+ /* Border radius */
74
+ /**
75
+ * @description Props for components with border radius
76
+ * @type "xxl" | "xl" | "l" | "m" | "s" | "xs" | "round" | "circle" | number
77
+ * @type { topLeft?: LibRadiuses; topRight?: LibRadiuses; bottomLeft?: LibRadiuses; bottomRight?: LibRadiuses }
78
+ */
79
+ export type ILibRadius =
80
+ | LibRadiuses
81
+ | number
82
+ | null
83
+ | {
84
+ topLeft?: LibRadiuses | number | null
85
+ topRight?: LibRadiuses | number | null
86
+ bottomLeft?: LibRadiuses | number | null
87
+ bottomRight?: LibRadiuses | number | null
88
+ }
89
+
90
+ /* Padding */
91
+ /**
92
+ * @description Props for components with paddings
93
+ * @type "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | number | "0px"
94
+ * @type { left?: LibSpacers | "auto"; top?: LibSpacers | "auto"; right?: LibSpacers | "auto"; bottom?: LibSpacers | "auto"; leftRight?: LibSpacers | "auto"; topBottom?: LibSpacers | "auto" }
95
+ */
96
+ export type ILibPadding =
97
+ | LibSpacers
98
+ | {
99
+ left?: LibSpacers | "auto"
100
+ top?: LibSpacers | "auto"
101
+ right?: LibSpacers | "auto"
102
+ bottom?: LibSpacers | "auto"
103
+ leftRight?: LibSpacers | "auto"
104
+ topBottom?: LibSpacers | "auto"
105
+ }
106
+
107
+ /* Margins */
108
+ /**
109
+ * @description Props for components with margins
110
+ * @type "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | number | "0px" | "auto" | "0 auto"
111
+ * @type { left?: LibSpacers | "auto"; top?: LibSpacers | "auto"; right?: LibSpacers | "auto"; bottom?: LibSpacers | "auto"; leftRight?: LibSpacers | "auto"; topBottom?: LibSpacers | "auto" }
112
+ */
113
+ export type ILibMargin =
114
+ | LibSpacers
115
+ | undefined
116
+ | "auto"
117
+ | "0 auto"
118
+ | {
119
+ left?: LibSpacers | "auto"
120
+ top?: LibSpacers | "auto"
121
+ right?: LibSpacers | "auto"
122
+ bottom?: LibSpacers | "auto"
123
+ leftRight?: LibSpacers | "auto"
124
+ topBottom?: LibSpacers | "auto"
125
+ }
126
+
127
+ /* Border */
128
+ /**
129
+ * @description Props for components with borders
130
+ * @prop style?: CssBorderStyle
131
+ * @prop width?: "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | number | "0px"
132
+ * @prop color?: Any color from the library
133
+ */
134
+ export type ILibBorder = {
135
+ style?: CssBorderStyle
136
+ width?: LibSpacers
137
+ color?: LibAllColors
138
+ }
139
+
140
+ /* Outline */
141
+ /**
142
+ * @description Props for components with outlines
143
+ * @prop style?: CssOutlineStyle
144
+ * @prop width?: "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | number | "0px"
145
+ * @prop color?: Any color from the library
146
+ */
147
+ export type ILibOutline = {
148
+ style?: CssOutlineStyle
149
+ width?: LibSpacers
150
+ color?: LibAllColors
151
+ }
152
+
153
+ /* Position */
154
+ /**
155
+ * @description Props for components with CSS position
156
+ * @prop position?: "relative" | "absolute" | "fixed"
157
+ * @prop left?: "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | number | "0px"
158
+ * @prop top?: "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | number | "0px"
159
+ * @prop right?: "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | number | "0px"
160
+ * @prop bottom?: "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | number | "0px"
161
+ */
162
+ export interface ILibPosition {
163
+ position?: LibPositionExtract
164
+ left?: LibSpacers
165
+ top?: LibSpacers
166
+ right?: LibSpacers
167
+ bottom?: LibSpacers
168
+ zIndex?: number
169
+ }
170
+
171
+ /* Links & buttons */
172
+ type LinkTo = { to?: string; href?: never }
173
+ type LinkHref = { to?: never; href?: string }
174
+
175
+ /**
176
+ * @description Props for links
177
+ * @prop to?: string => only if href is not defined
178
+ * @prop href?: string => only if to is not defined
179
+ */
180
+ export type LibLink = LinkTo | LinkHref
181
+
182
+ /**
183
+ * @description Props for links, to or href are required
184
+ * @prop to?: string => only if href is not defined
185
+ * @prop href?: string => only if to is not defined
186
+ */
187
+ export type LibLinkRequired = RequireAtLeastOne<LibLink, "to" | "href">
188
+
189
+ /**
190
+ * @description Props for links
191
+ * @prop to?: string => only if href is not defined
192
+ * @prop href?: string => only if to is not defined
193
+ * @prop blank?: boolean
194
+ */
195
+ export type LibLinkBlank = LibLink & { blank?: boolean }
196
+
197
+ /**
198
+ * @description Props for links, to or href are required
199
+ * @prop to?: string => only if href is not defined
200
+ * @prop href?: string => only if to is not defined
201
+ * @prop blank?: boolean
202
+ */
203
+ export type LibLinkBlankRequired = LibLinkRequired & { blank?: boolean }
204
+
205
+ type LibButtonLinkClick = {
206
+ onClick?: MouseEventHandler<HTMLButtonElement>
207
+ disabled?: boolean
208
+ to?: never
209
+ href?: never
210
+ }
211
+
212
+ type LibButtonLinkTo = {
213
+ onClick?: never
214
+ disabled?: never
215
+ to?: string | "prev"
216
+ href?: never
217
+ }
218
+
219
+ type LibButtonLinkHref = {
220
+ onClick?: never
221
+ disabled?: never
222
+ to?: never
223
+ href?: string
224
+ }
225
+
226
+ /**
227
+ * @description Props for buttons and links
228
+ * @prop onClick?: void => only if to or href are not defined
229
+ * @prop disabled?: boolean => only if onClick is defined
230
+ * @prop to?: string => only if onClick and href are not defined
231
+ * @prop href?: string => only if onClick and to are not defined
232
+ */
233
+ export type LibButtonLink =
234
+ | LibButtonLinkClick
235
+ | LibButtonLinkTo
236
+ | LibButtonLinkHref
237
+
238
+ /**
239
+ * @description Props for buttons and links, onClick, to or href are required
240
+ * @prop onClick?: void => only if to or href are not defined
241
+ * @prop disabled?: boolean => only if onClick is defined
242
+ * @prop to?: string => only if onClick and href are not defined
243
+ * @prop href?: string => only if onClick and to are not defined
244
+ */
245
+ export type LibButtonLinkRequired = RequireAtLeastOne<
246
+ LibButtonLink,
247
+ "onClick" | "to" | "href"
248
+ >
249
+
250
+ /**
251
+ * @description Props for buttons and links
252
+ * @prop onClick?: void => only if to or href are not defined
253
+ * @prop disabled?: boolean => only if onClick is defined
254
+ * @prop to?: string => only if onClick and href are not defined
255
+ * @prop href?: string => only if onClick and to are not defined
256
+ * @prop blank?: boolean => only if to or href are defined
257
+ */
258
+ export type LibButtonLinkBlank =
259
+ | (LibButtonLinkClick & { blank?: never })
260
+ | (LibButtonLinkTo & { blank?: boolean })
261
+ | (LibButtonLinkHref & { blank?: boolean })
262
+
263
+ /**
264
+ * @description Props for buttons and links, onClick, to or href are required
265
+ * @prop onClick: void => only if to or href are not defined
266
+ * @prop disabled?: boolean => only if onClick is defined
267
+ * @prop to: string => only if onClick and href are not defined
268
+ * @prop href: string => only if onClick and to are not defined
269
+ * @prop blank?: boolean => only if to or href are defined
270
+ */
271
+ export type LibButtonLinkBlankRequired = RequireAtLeastOne<
272
+ LibButtonLinkBlank,
273
+ "to" | "href" | "onClick"
274
+ >
275
+
276
+ /* useTranslation hook */
277
+ /**
278
+ * @description Props for useTranslation hook
279
+ * @prop [language: string]: { [key: string]: string }
280
+ */
281
+ export type TranslateLang = {
282
+ [language: string]: {
283
+ [key: string]: string
284
+ }
285
+ }
286
+
287
+ /* BackgroundImage */
288
+ /**
289
+ * @description Props for background images
290
+ * @prop img: string
291
+ * @prop clip?: CssBackgroundClip
292
+ * @prop origin?: CssBackgroundOrigin
293
+ * @prop position?: CssBackgroundPosition
294
+ * @prop repeat?: CssBackgroundRepeat
295
+ * @prop size?: CssBackgroundSize
296
+ */
297
+ export interface ILibBackgroundImage {
298
+ img: string
299
+ clip?: Property.BackgroundClip
300
+ origin?: Property.BackgroundOrigin
301
+ position?: Property.BackgroundPosition
302
+ repeat?: Property.BackgroundRepeat
303
+ size?: Property.BackgroundSize
304
+ }
305
+
306
+ /* Input phone */
307
+ /**
308
+ * @description Props for countries used in InputPhone component
309
+ * @prop name: string
310
+ * @prop dial_code: string
311
+ * @prop code: Any Alpha-2 Code from https://www.iban.com/country-codes
312
+ * @prop flag: string
313
+ */
314
+ export type LibCountry = {
315
+ name: string
316
+ dial_code: string
317
+ code: CountryCode
318
+ flag: string
319
+ }
320
+
321
+ /* BackToTop */
322
+ export interface LibBackToTopPosition {
323
+ left?: LibSpacers | "unset"
324
+ top?: LibSpacers | "unset"
325
+ right?: LibSpacers | "unset"
326
+ bottom?: LibSpacers | "unset"
327
+ zIndex?: number
328
+ }
329
+
330
+ /*====================== Theme ======================*/
331
+
332
+ /**
333
+ * @description Props for ThemeContext
334
+ * @prop theme: DefaultTheme => import from "styled-components"
335
+ * @prop selectedTheme: "light" | "dark" | undefined
336
+ * @prop toggleTheme: () => void
337
+ */
338
+ export interface ILibThemeContext {
339
+ theme: DefaultTheme
340
+ selectedTheme: LibThemeNames | undefined
341
+ toggleTheme: () => void
342
+ }
343
+
344
+ /*====================== React global ======================*/
345
+
346
+ export type ReactChildren = ReactNode | Array<ReactNode>
347
+ export type DispatchState<T> = Dispatch<SetStateAction<T>>
348
+
349
+ /*====================== CSS values ======================*/
350
+
351
+ export type CssTextAlign = Property.TextAlign
352
+ export type CssVerticalAlign = Property.VerticalAlign
353
+ export type CssTextDecoration = Property.TextDecoration
354
+ export type CssPosition = Property.Position
355
+ export type CssJustifyItems = Property.JustifyItems
356
+ export type CssAlignItems = Property.AlignItems
357
+ export type CssJustifyContent = Property.JustifyContent
358
+ export type CssAlignContent = Property.AlignContent
359
+ export type CssFlexDirection = Property.FlexDirection
360
+ export type CssFlexWrap = Property.FlexWrap
361
+ export type CssObjectFit = Property.ObjectFit
362
+ export type CssCursor = Property.Cursor
363
+ export type CssBorderStyle = Property.BorderStyle
364
+ export type CssOutlineStyle = Property.OutlineStyle
365
+ export type CssFontStyle = Property.FontStyle
366
+
367
+ /*====================== Components ======================*/
368
+
369
+ export type LibMainSize = keyof typeof typeValues.mainSizes | number
370
+ export type LibAsideSize = keyof typeof typeValues.asideSizes | number
371
+ export type LibAccordionVariant = keyof typeof typeValues.accordionVariants
372
+ export type LibAccordionIcon =
373
+ | keyof typeof typeValues.accordionIcons
374
+ | JSX.Element
375
+ export type LibAvatarBadgePosition = keyof typeof typeValues.avatarBadgePosition
376
+ export type LibBreadcrumbSeparator =
377
+ | keyof typeof typeValues.breadcrumbSeparators
378
+ | JSX.Element
379
+ export type LibButtonIconVariant = Extract<
380
+ LibButtonVariant,
381
+ "plain" | "transparent" | "ghost"
382
+ >
383
+ export type LibImageBackgroundOverlay = Exclude<
384
+ LibAllColorsAndOverlays,
385
+ "gradient-black" | "gradient-white"
386
+ >
387
+ export type LibInputType = keyof typeof typeValues.inputTypes
388
+ export type LibInputCheckVariant = keyof typeof typeValues.checkInputVariants
389
+ export type LibKeySize = keyof typeof typeValues.keySizes
390
+ export type LibLoaderVariant = keyof typeof typeValues.loaderVariants
391
+ export type LibSkeletonAnimation = keyof typeof typeValues.skeletonAnimations
392
+ export type LibStepperDirection = keyof typeof typeValues.stepperDirections
393
+ export type LibTextDisplayTag = keyof typeof typeValues.textDisplayTags
394
+ export type LibTextTag = keyof typeof typeValues.textTags
395
+ export type LibTextAllTag = LibTextDisplayTag | LibTextTag
396
+ export type LibTextIconTag = Exclude<
397
+ LibTextAllTag,
398
+ "strong" | "em" | "ul" | "ol" | "dl"
399
+ >
400
+ export type LibTooltipTrigger = keyof typeof typeValues.tooltipTriggers
401
+ export type LibTabVariant = keyof typeof typeValues.tabsVariants
402
+ export type LibTabJustify = keyof typeof typeValues.tabsJustify
403
+ export type LibSlideshowPagination = keyof typeof typeValues.slideshowPagination
404
+ export type LibSlideshowPaginationPosition =
405
+ keyof typeof typeValues.slideshowPaginationPosition
406
+ export type LibSlideshowButtonPosition =
407
+ keyof typeof typeValues.slideshowButtonsPositions
408
+ export type LibSlideshowButtonSize =
409
+ keyof typeof typeValues.slideshowButtonsSizes
410
+ export type LibTableVariant = keyof typeof typeValues.tableVariants
411
+ export type LibMessageType = keyof typeof typeValues.messageType
412
+ export type LibMdEditorEditor = keyof typeof typeValues.markdownEditorEditor
413
+ export type LibMdEditorButton = keyof typeof typeValues.markdownEditorButtons
414
+ export type LibMdEditorTitle = keyof typeof typeValues.markdownEditorTitles
415
+ export type LibNavBurgerPosition = keyof typeof typeValues.navBurgerPositions
416
+ export type LibNavMobileVariant = keyof typeof typeValues.navMobileVariants
417
+ export type LibHeaderVariant = keyof typeof typeValues.headerVariants
418
+ export type LibHeaderPosition = LibPositionExtract
419
+ export type LibIconMenuDirection = keyof typeof typeValues.iconMenuDirections
420
+ export type LibIconMenuIcon = keyof typeof typeValues.iconMenuIcon
421
+ export type LibIconMenuPosition = LibPositionExtract
422
+ export type LibToastStatus = keyof typeof typeValues.toastStatus
423
+ export type LibToasterPosition = keyof typeof typeValues.toasterPositions
424
+ export type LibInputListDirection = keyof typeof typeValues.listInputDirections
425
+ export type LibButtonVariant = keyof typeof typeValues.buttonVariants
426
+ export type LibButtonSize = keyof typeof typeValues.buttonSizes
427
+ export type LibTooltipPosition = keyof typeof typeValues.tooltipPositions
428
+ export type CountryCode = keyof typeof typeValues.countryCodes
429
+ export type LibFooterDirection = keyof typeof typeValues.footerDirections
430
+ export type LibFooterLinksSeparator = keyof typeof typeValues.footerSeparators
431
+ export type LibInputPrefixAndSuffix = string | JSX.Element
432
+ export type LibButtonGroupToggleSelect =
433
+ keyof typeof typeValues.buttonGroupToggleSelects
434
+ export type LibValueInputPin = { [n: number]: number | "" | undefined }
435
+ export type LibDrawerPosition = keyof typeof typeValues.drawerPositions
436
+ export type LibPageLayoutTemplate = keyof typeof typeValues.pageLayoutTemplates
437
+ export type LibTimepickerSteps = keyof typeof typeValues.timepickerSteps
438
+ export type LibTimepickerHours = keyof typeof typeValues.hours
439
+ export type LibTimepickerHalfTimes = keyof typeof typeValues.halfHours
440
+ export type LibTimepickerQuarterTimes = keyof typeof typeValues.quarterHours
441
+ export type LibTimepickerMinutes = keyof typeof typeValues.minutes
442
+ export type LibMessagingDateFormat =
443
+ keyof typeof typeValues.messagingDateFormats
@@ -0,0 +1,7 @@
1
+ /*=============================================== Exports ===============================================*/
2
+
3
+ export * from "./type-values"
4
+ export * from "./global"
5
+ export * from "./require-at-least-one"
6
+ export * from "./component-items"
7
+ export * from "./generate-int-range"
@@ -0,0 +1,7 @@
1
+ export type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Pick<
2
+ T,
3
+ Exclude<keyof T, Keys>
4
+ > &
5
+ {
6
+ [K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>
7
+ }[Keys]
@@ -0,0 +1,168 @@
1
+ /*=============================================== Theme type ===============================================*/
2
+
3
+ import { COLORS_LIGHT, COLORS_DARK } from "../Variables"
4
+ import type { LibThemeNames } from "./global"
5
+
6
+ export const Themes: Record<LibThemeNames, any> = {
7
+ light: {
8
+ BLACK: COLORS_LIGHT.BLACK,
9
+ WHITE: COLORS_LIGHT.WHITE,
10
+ GRAY_50: COLORS_LIGHT.GRAY_50,
11
+ GRAY_100: COLORS_LIGHT.GRAY_100,
12
+ GRAY_200: COLORS_LIGHT.GRAY_200,
13
+ GRAY_300: COLORS_LIGHT.GRAY_300,
14
+ GRAY_400: COLORS_LIGHT.GRAY_400,
15
+ GRAY_500: COLORS_LIGHT.GRAY_500,
16
+ GRAY_600: COLORS_LIGHT.GRAY_600,
17
+ GRAY_700: COLORS_LIGHT.GRAY_700,
18
+ GRAY_800: COLORS_LIGHT.GRAY_800,
19
+ GRAY_900: COLORS_LIGHT.GRAY_900,
20
+ PRIMARY_50: COLORS_LIGHT.PRIMARY_50,
21
+ PRIMARY_100: COLORS_LIGHT.PRIMARY_100,
22
+ PRIMARY_200: COLORS_LIGHT.PRIMARY_200,
23
+ PRIMARY_300: COLORS_LIGHT.PRIMARY_300,
24
+ PRIMARY_400: COLORS_LIGHT.PRIMARY_400,
25
+ PRIMARY_500: COLORS_LIGHT.PRIMARY_500,
26
+ PRIMARY_600: COLORS_LIGHT.PRIMARY_600,
27
+ PRIMARY_700: COLORS_LIGHT.PRIMARY_700,
28
+ PRIMARY_800: COLORS_LIGHT.PRIMARY_800,
29
+ PRIMARY_900: COLORS_LIGHT.PRIMARY_900,
30
+ SECONDARY_50: COLORS_LIGHT.SECONDARY_50,
31
+ SECONDARY_100: COLORS_LIGHT.SECONDARY_100,
32
+ SECONDARY_200: COLORS_LIGHT.SECONDARY_200,
33
+ SECONDARY_300: COLORS_LIGHT.SECONDARY_300,
34
+ SECONDARY_400: COLORS_LIGHT.SECONDARY_400,
35
+ SECONDARY_500: COLORS_LIGHT.SECONDARY_500,
36
+ SECONDARY_600: COLORS_LIGHT.SECONDARY_600,
37
+ SECONDARY_700: COLORS_LIGHT.SECONDARY_700,
38
+ SECONDARY_800: COLORS_LIGHT.SECONDARY_800,
39
+ SECONDARY_900: COLORS_LIGHT.SECONDARY_900,
40
+ SUCCESS_50: COLORS_LIGHT.SUCCESS_50,
41
+ SUCCESS_100: COLORS_LIGHT.SUCCESS_100,
42
+ SUCCESS_200: COLORS_LIGHT.SUCCESS_200,
43
+ SUCCESS_300: COLORS_LIGHT.SUCCESS_300,
44
+ SUCCESS_400: COLORS_LIGHT.SUCCESS_400,
45
+ SUCCESS_500: COLORS_LIGHT.SUCCESS_500,
46
+ SUCCESS_600: COLORS_LIGHT.SUCCESS_600,
47
+ SUCCESS_700: COLORS_LIGHT.SUCCESS_700,
48
+ SUCCESS_800: COLORS_LIGHT.SUCCESS_800,
49
+ SUCCESS_900: COLORS_LIGHT.SUCCESS_900,
50
+ DANGER_50: COLORS_LIGHT.DANGER_50,
51
+ DANGER_100: COLORS_LIGHT.DANGER_100,
52
+ DANGER_200: COLORS_LIGHT.DANGER_200,
53
+ DANGER_300: COLORS_LIGHT.DANGER_300,
54
+ DANGER_400: COLORS_LIGHT.DANGER_400,
55
+ DANGER_500: COLORS_LIGHT.DANGER_500,
56
+ DANGER_600: COLORS_LIGHT.DANGER_600,
57
+ DANGER_700: COLORS_LIGHT.DANGER_700,
58
+ DANGER_800: COLORS_LIGHT.DANGER_800,
59
+ DANGER_900: COLORS_LIGHT.DANGER_900,
60
+ WARNING_50: COLORS_LIGHT.WARNING_50,
61
+ WARNING_100: COLORS_LIGHT.WARNING_100,
62
+ WARNING_200: COLORS_LIGHT.WARNING_200,
63
+ WARNING_300: COLORS_LIGHT.WARNING_300,
64
+ WARNING_400: COLORS_LIGHT.WARNING_400,
65
+ WARNING_500: COLORS_LIGHT.WARNING_500,
66
+ WARNING_600: COLORS_LIGHT.WARNING_600,
67
+ WARNING_700: COLORS_LIGHT.WARNING_700,
68
+ WARNING_800: COLORS_LIGHT.WARNING_800,
69
+ WARNING_900: COLORS_LIGHT.WARNING_900,
70
+ BACKGROUND: COLORS_LIGHT.BACKGROUND,
71
+ FONT: COLORS_LIGHT.FONT,
72
+ CURRENT_COLOR: "currentColor",
73
+ TRANSPARENT: "transparent",
74
+ LINK_FONT_DEFAULT: COLORS_LIGHT.LINK_FONT_DEFAULT,
75
+ LINK_FONT_HOVER: COLORS_LIGHT.LINK_FONT_HOVER,
76
+ LINK_FONT_ACTIVE: COLORS_LIGHT.LINK_FONT_ACTIVE,
77
+ LINK_BACKGROUND_DEFAULT: COLORS_LIGHT.LINK_BACKGROUND_DEFAULT,
78
+ LINK_BACKGROUND_HOVER: COLORS_LIGHT.LINK_BACKGROUND_HOVER,
79
+ LINK_BACKGROUND_ACTIVE: COLORS_LIGHT.LINK_BACKGROUND_ACTIVE,
80
+ FONT_GHOST_DEFAULT: COLORS_LIGHT.FONT_GHOST_DEFAULT,
81
+ FONT_GHOST_HOVER: COLORS_LIGHT.FONT_GHOST_HOVER,
82
+ FONT_GHOST_ACTIVE: COLORS_LIGHT.FONT_GHOST_ACTIVE,
83
+ BACKGROUND_GHOST_DEFAULT: COLORS_LIGHT.BACKGROUND_GHOST_DEFAULT,
84
+ BACKGROUND_GHOST_HOVER: COLORS_LIGHT.BACKGROUND_GHOST_HOVER,
85
+ BACKGROUND_GHOST_ACTIVE: COLORS_LIGHT.BACKGROUND_GHOST_ACTIVE,
86
+ },
87
+
88
+ dark: {
89
+ BLACK: COLORS_DARK.BLACK,
90
+ WHITE: COLORS_DARK.WHITE,
91
+ GRAY_50: COLORS_DARK.GRAY_50,
92
+ GRAY_100: COLORS_DARK.GRAY_100,
93
+ GRAY_200: COLORS_DARK.GRAY_200,
94
+ GRAY_300: COLORS_DARK.GRAY_300,
95
+ GRAY_400: COLORS_DARK.GRAY_400,
96
+ GRAY_500: COLORS_DARK.GRAY_500,
97
+ GRAY_600: COLORS_DARK.GRAY_600,
98
+ GRAY_700: COLORS_DARK.GRAY_700,
99
+ GRAY_800: COLORS_DARK.GRAY_800,
100
+ GRAY_900: COLORS_DARK.GRAY_900,
101
+ PRIMARY_50: COLORS_DARK.PRIMARY_50,
102
+ PRIMARY_100: COLORS_DARK.PRIMARY_100,
103
+ PRIMARY_200: COLORS_DARK.PRIMARY_200,
104
+ PRIMARY_300: COLORS_DARK.PRIMARY_300,
105
+ PRIMARY_400: COLORS_DARK.PRIMARY_400,
106
+ PRIMARY_500: COLORS_DARK.PRIMARY_500,
107
+ PRIMARY_600: COLORS_DARK.PRIMARY_600,
108
+ PRIMARY_700: COLORS_DARK.PRIMARY_700,
109
+ PRIMARY_800: COLORS_DARK.PRIMARY_800,
110
+ PRIMARY_900: COLORS_DARK.PRIMARY_900,
111
+ SECONDARY_50: COLORS_DARK.SECONDARY_50,
112
+ SECONDARY_100: COLORS_DARK.SECONDARY_100,
113
+ SECONDARY_200: COLORS_DARK.SECONDARY_200,
114
+ SECONDARY_300: COLORS_DARK.SECONDARY_300,
115
+ SECONDARY_400: COLORS_DARK.SECONDARY_400,
116
+ SECONDARY_500: COLORS_DARK.SECONDARY_500,
117
+ SECONDARY_600: COLORS_DARK.SECONDARY_600,
118
+ SECONDARY_700: COLORS_DARK.SECONDARY_700,
119
+ SECONDARY_800: COLORS_DARK.SECONDARY_800,
120
+ SECONDARY_900: COLORS_DARK.SECONDARY_900,
121
+ SUCCESS_50: COLORS_DARK.SUCCESS_50,
122
+ SUCCESS_100: COLORS_DARK.SUCCESS_100,
123
+ SUCCESS_200: COLORS_DARK.SUCCESS_200,
124
+ SUCCESS_300: COLORS_DARK.SUCCESS_300,
125
+ SUCCESS_400: COLORS_DARK.SUCCESS_400,
126
+ SUCCESS_500: COLORS_DARK.SUCCESS_500,
127
+ SUCCESS_600: COLORS_DARK.SUCCESS_600,
128
+ SUCCESS_700: COLORS_DARK.SUCCESS_700,
129
+ SUCCESS_800: COLORS_DARK.SUCCESS_800,
130
+ SUCCESS_900: COLORS_DARK.SUCCESS_900,
131
+ DANGER_50: COLORS_DARK.DANGER_50,
132
+ DANGER_100: COLORS_DARK.DANGER_100,
133
+ DANGER_200: COLORS_DARK.DANGER_200,
134
+ DANGER_300: COLORS_DARK.DANGER_300,
135
+ DANGER_400: COLORS_DARK.DANGER_400,
136
+ DANGER_500: COLORS_DARK.DANGER_500,
137
+ DANGER_600: COLORS_DARK.DANGER_600,
138
+ DANGER_700: COLORS_DARK.DANGER_700,
139
+ DANGER_800: COLORS_DARK.DANGER_800,
140
+ DANGER_900: COLORS_DARK.DANGER_900,
141
+ WARNING_50: COLORS_DARK.WARNING_50,
142
+ WARNING_100: COLORS_DARK.WARNING_100,
143
+ WARNING_200: COLORS_DARK.WARNING_200,
144
+ WARNING_300: COLORS_DARK.WARNING_300,
145
+ WARNING_400: COLORS_DARK.WARNING_400,
146
+ WARNING_500: COLORS_DARK.WARNING_500,
147
+ WARNING_600: COLORS_DARK.WARNING_600,
148
+ WARNING_700: COLORS_DARK.WARNING_700,
149
+ WARNING_800: COLORS_DARK.WARNING_800,
150
+ WARNING_900: COLORS_DARK.WARNING_900,
151
+ BACKGROUND: COLORS_DARK.BACKGROUND,
152
+ FONT: COLORS_DARK.FONT,
153
+ CURRENT_COLOR: "currentColor",
154
+ TRANSPARENT: "transparent",
155
+ LINK_FONT_DEFAULT: COLORS_DARK.LINK_FONT_DEFAULT,
156
+ LINK_FONT_HOVER: COLORS_DARK.LINK_FONT_HOVER,
157
+ LINK_FONT_ACTIVE: COLORS_DARK.LINK_FONT_ACTIVE,
158
+ LINK_BACKGROUND_DEFAULT: COLORS_DARK.LINK_BACKGROUND_DEFAULT,
159
+ LINK_BACKGROUND_HOVER: COLORS_DARK.LINK_BACKGROUND_HOVER,
160
+ LINK_BACKGROUND_ACTIVE: COLORS_DARK.LINK_BACKGROUND_ACTIVE,
161
+ FONT_GHOST_DEFAULT: COLORS_DARK.FONT_GHOST_DEFAULT,
162
+ FONT_GHOST_HOVER: COLORS_DARK.FONT_GHOST_HOVER,
163
+ FONT_GHOST_ACTIVE: COLORS_DARK.FONT_GHOST_ACTIVE,
164
+ BACKGROUND_GHOST_DEFAULT: COLORS_DARK.BACKGROUND_GHOST_DEFAULT,
165
+ BACKGROUND_GHOST_HOVER: COLORS_DARK.BACKGROUND_GHOST_HOVER,
166
+ BACKGROUND_GHOST_ACTIVE: COLORS_DARK.BACKGROUND_GHOST_ACTIVE,
167
+ },
168
+ }