@julseb-lib/react 0.1.18 → 0.1.20

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 (649) hide show
  1. package/dist/chunk-AOKNHBEF.js +1 -0
  2. package/dist/chunk-AOKNHBEF.js.map +1 -0
  3. package/dist/chunk-F55MXC3Z.js +1 -0
  4. package/dist/chunk-F55MXC3Z.js.map +1 -0
  5. package/dist/chunk-IH6ET7Q6.js +1 -0
  6. package/dist/chunk-IH6ET7Q6.js.map +1 -0
  7. package/dist/chunk-OOIPIHXS.js +1 -0
  8. package/dist/chunk-OOIPIHXS.js.map +1 -0
  9. package/dist/chunk-ZL3Z7QC7.js +1 -0
  10. package/dist/chunk-ZL3Z7QC7.js.map +1 -0
  11. package/dist/global-Bck2LNL3.d.cts +1472 -0
  12. package/dist/global-Bck2LNL3.d.ts +1472 -0
  13. package/dist/index.cjs +11892 -0
  14. package/dist/index.cjs.map +1 -0
  15. package/dist/index.d.cts +3231 -0
  16. package/dist/index.d.ts +3231 -1
  17. package/dist/index.js +11732 -0
  18. package/dist/index.js.map +1 -0
  19. package/dist/types/components-items-props.cjs +19 -0
  20. package/dist/types/components-items-props.cjs.map +1 -0
  21. package/dist/types/components-items-props.d.cts +175 -0
  22. package/dist/{lib/types/components-items-props.ts → types/components-items-props.d.ts} +56 -65
  23. package/dist/types/components-items-props.js +2 -0
  24. package/dist/types/components-items-props.js.map +1 -0
  25. package/dist/types/components-props.cjs +19 -0
  26. package/dist/types/components-props.cjs.map +1 -0
  27. package/dist/types/components-props.d.cts +1119 -0
  28. package/dist/types/components-props.d.ts +1119 -0
  29. package/dist/types/components-props.js +2 -0
  30. package/dist/types/components-props.js.map +1 -0
  31. package/dist/types/global.cjs +19 -0
  32. package/dist/types/global.cjs.map +1 -0
  33. package/dist/types/global.d.cts +3 -0
  34. package/dist/types/global.d.ts +3 -0
  35. package/dist/types/global.js +2 -0
  36. package/dist/types/global.js.map +1 -0
  37. package/dist/types/index.cjs +19 -0
  38. package/dist/types/index.cjs.map +1 -0
  39. package/dist/types/index.d.cts +10 -0
  40. package/dist/types/index.d.ts +10 -0
  41. package/dist/types/index.js +6 -0
  42. package/dist/types/index.js.map +1 -0
  43. package/dist/types/require-at-least-one.cjs +19 -0
  44. package/dist/types/require-at-least-one.cjs.map +1 -0
  45. package/dist/types/require-at-least-one.d.cts +5 -0
  46. package/dist/types/require-at-least-one.d.ts +5 -0
  47. package/dist/types/require-at-least-one.js +2 -0
  48. package/dist/types/require-at-least-one.js.map +1 -0
  49. package/dist/types/tailwind.cjs +19 -0
  50. package/dist/types/tailwind.cjs.map +1 -0
  51. package/dist/types/tailwind.d.cts +3259 -0
  52. package/dist/types/tailwind.d.ts +3259 -0
  53. package/dist/types/tailwind.js +2 -0
  54. package/dist/types/tailwind.js.map +1 -0
  55. package/package.json +31 -47
  56. package/LICENSE +0 -21
  57. package/README.md +0 -206
  58. package/dist/julseb-lib-react.cjs.js +0 -17
  59. package/dist/julseb-lib-react.es.js +0 -8977
  60. package/dist/lib/Variables.ts +0 -202
  61. package/dist/lib/components/Accordion/Accordion.tsx +0 -73
  62. package/dist/lib/components/Accordion/AccordionContent.tsx +0 -55
  63. package/dist/lib/components/Accordion/AccordionItem.tsx +0 -66
  64. package/dist/lib/components/Accordion/AccordionTitle.tsx +0 -80
  65. package/dist/lib/components/Accordion/index.ts +0 -2
  66. package/dist/lib/components/Accordion/subtypes.ts +0 -26
  67. package/dist/lib/components/Accordion/types.ts +0 -37
  68. package/dist/lib/components/Alert/Alert.tsx +0 -57
  69. package/dist/lib/components/Alert/index.ts +0 -1
  70. package/dist/lib/components/Alert/types.ts +0 -8
  71. package/dist/lib/components/Aside/Aside.tsx +0 -58
  72. package/dist/lib/components/Aside/index.ts +0 -1
  73. package/dist/lib/components/Aside/types.ts +0 -6
  74. package/dist/lib/components/Autocomplete/Autocomplete.tsx +0 -222
  75. package/dist/lib/components/Autocomplete/index.ts +0 -1
  76. package/dist/lib/components/Autocomplete/types.ts +0 -35
  77. package/dist/lib/components/Avatar/Avatar.tsx +0 -93
  78. package/dist/lib/components/Avatar/AvatarFn.tsx +0 -44
  79. package/dist/lib/components/Avatar/index.ts +0 -1
  80. package/dist/lib/components/Avatar/types.ts +0 -37
  81. package/dist/lib/components/BackToTop/BackToTop.tsx +0 -96
  82. package/dist/lib/components/BackToTop/index.ts +0 -1
  83. package/dist/lib/components/BackToTop/types.ts +0 -9
  84. package/dist/lib/components/Badge/Badge.tsx +0 -61
  85. package/dist/lib/components/Badge/index.ts +0 -1
  86. package/dist/lib/components/Badge/types.ts +0 -7
  87. package/dist/lib/components/Breadcrumbs/Breadcrumbs.tsx +0 -72
  88. package/dist/lib/components/Breadcrumbs/index.ts +0 -1
  89. package/dist/lib/components/Breadcrumbs/types.ts +0 -5
  90. package/dist/lib/components/Burger/Burger.tsx +0 -110
  91. package/dist/lib/components/Burger/index.ts +0 -1
  92. package/dist/lib/components/Burger/types.ts +0 -11
  93. package/dist/lib/components/Button/Button.tsx +0 -109
  94. package/dist/lib/components/Button/index.ts +0 -1
  95. package/dist/lib/components/Button/types.ts +0 -30
  96. package/dist/lib/components/ButtonGroup/ButtonGroup.tsx +0 -126
  97. package/dist/lib/components/ButtonGroup/index.ts +0 -1
  98. package/dist/lib/components/ButtonGroup/types.ts +0 -28
  99. package/dist/lib/components/ButtonIcon/ButtonFn.tsx +0 -76
  100. package/dist/lib/components/ButtonIcon/ButtonIcon.tsx +0 -134
  101. package/dist/lib/components/ButtonIcon/index.ts +0 -1
  102. package/dist/lib/components/ButtonIcon/types.ts +0 -52
  103. package/dist/lib/components/CodeContainer/CodeContainer.tsx +0 -108
  104. package/dist/lib/components/CodeContainer/index.ts +0 -1
  105. package/dist/lib/components/CodeContainer/types.ts +0 -230
  106. package/dist/lib/components/Cover/Cover.tsx +0 -91
  107. package/dist/lib/components/Cover/index.ts +0 -1
  108. package/dist/lib/components/Cover/types.ts +0 -10
  109. package/dist/lib/components/DragList/DragList.tsx +0 -111
  110. package/dist/lib/components/DragList/DragListItem.tsx +0 -114
  111. package/dist/lib/components/DragList/index.ts +0 -2
  112. package/dist/lib/components/DragList/types.ts +0 -55
  113. package/dist/lib/components/Drawer/Drawer.tsx +0 -145
  114. package/dist/lib/components/Drawer/index.ts +0 -1
  115. package/dist/lib/components/Drawer/types.ts +0 -24
  116. package/dist/lib/components/Dropdown/Dropdown.tsx +0 -89
  117. package/dist/lib/components/Dropdown/DropdownItem.tsx +0 -49
  118. package/dist/lib/components/Dropdown/index.ts +0 -2
  119. package/dist/lib/components/Dropdown/types.ts +0 -35
  120. package/dist/lib/components/Fade/Fade.tsx +0 -62
  121. package/dist/lib/components/Fade/index.ts +0 -1
  122. package/dist/lib/components/Fade/types.ts +0 -3
  123. package/dist/lib/components/Fieldset/Fieldset.tsx +0 -85
  124. package/dist/lib/components/Fieldset/index.ts +0 -1
  125. package/dist/lib/components/Fieldset/types.ts +0 -15
  126. package/dist/lib/components/Flexbox/Flexbox.tsx +0 -99
  127. package/dist/lib/components/Flexbox/index.ts +0 -1
  128. package/dist/lib/components/Flexbox/types.ts +0 -23
  129. package/dist/lib/components/Footer/Footer.tsx +0 -103
  130. package/dist/lib/components/Footer/index.ts +0 -1
  131. package/dist/lib/components/Footer/types.ts +0 -54
  132. package/dist/lib/components/Form/Form.tsx +0 -83
  133. package/dist/lib/components/Form/index.ts +0 -1
  134. package/dist/lib/components/Form/types.ts +0 -32
  135. package/dist/lib/components/Grid/Grid.tsx +0 -98
  136. package/dist/lib/components/Grid/index.ts +0 -1
  137. package/dist/lib/components/Grid/types.ts +0 -20
  138. package/dist/lib/components/Header/Header.tsx +0 -241
  139. package/dist/lib/components/Header/HeaderSearch.tsx +0 -50
  140. package/dist/lib/components/Header/index.ts +0 -1
  141. package/dist/lib/components/Header/subtypes.ts +0 -28
  142. package/dist/lib/components/Header/types.ts +0 -57
  143. package/dist/lib/components/Highlight/Highlight.tsx +0 -45
  144. package/dist/lib/components/Highlight/index.ts +0 -1
  145. package/dist/lib/components/Highlight/types.ts +0 -9
  146. package/dist/lib/components/Hr/Hr.tsx +0 -48
  147. package/dist/lib/components/Hr/index.ts +0 -1
  148. package/dist/lib/components/Hr/types.ts +0 -8
  149. package/dist/lib/components/Image/Image.tsx +0 -92
  150. package/dist/lib/components/Image/index.ts +0 -1
  151. package/dist/lib/components/Image/types.ts +0 -25
  152. package/dist/lib/components/Input/Input.tsx +0 -130
  153. package/dist/lib/components/Input/classes.ts +0 -1
  154. package/dist/lib/components/Input/index.ts +0 -1
  155. package/dist/lib/components/Input/subtypes.ts +0 -173
  156. package/dist/lib/components/Input/templates/ColorInput.tsx +0 -44
  157. package/dist/lib/components/Input/templates/DateInput.tsx +0 -63
  158. package/dist/lib/components/Input/templates/FileInput.tsx +0 -42
  159. package/dist/lib/components/Input/templates/PasswordInput.tsx +0 -73
  160. package/dist/lib/components/Input/templates/SearchInput.tsx +0 -89
  161. package/dist/lib/components/Input/templates/SelectInput.tsx +0 -79
  162. package/dist/lib/components/Input/templates/TextInput.tsx +0 -58
  163. package/dist/lib/components/Input/templates/TextareaInput.tsx +0 -27
  164. package/dist/lib/components/Input/templates/TimeInput.tsx +0 -67
  165. package/dist/lib/components/Input/types.ts +0 -22
  166. package/dist/lib/components/InputCheck/InputCheck.tsx +0 -161
  167. package/dist/lib/components/InputCheck/index.ts +0 -1
  168. package/dist/lib/components/InputCheck/types.ts +0 -27
  169. package/dist/lib/components/InputComponents/InputButton.tsx +0 -31
  170. package/dist/lib/components/InputComponents/InputIcon.tsx +0 -28
  171. package/dist/lib/components/InputComponents/InputList.tsx +0 -53
  172. package/dist/lib/components/InputComponents/InputListItem.tsx +0 -68
  173. package/dist/lib/components/InputComponents/InputPrefix.tsx +0 -15
  174. package/dist/lib/components/InputComponents/InputSuffix.tsx +0 -15
  175. package/dist/lib/components/InputComponents/InputValidation.tsx +0 -32
  176. package/dist/lib/components/InputComponents/InputWithListWrapper.tsx +0 -29
  177. package/dist/lib/components/InputComponents/InputWrapper.tsx +0 -45
  178. package/dist/lib/components/InputComponents/classes.ts +0 -101
  179. package/dist/lib/components/InputComponents/index.ts +0 -11
  180. package/dist/lib/components/InputComponents/types.ts +0 -63
  181. package/dist/lib/components/InputContainer/InputContainer.tsx +0 -149
  182. package/dist/lib/components/InputContainer/index.ts +0 -1
  183. package/dist/lib/components/InputContainer/types.ts +0 -11
  184. package/dist/lib/components/InputCounter/InputCounter.tsx +0 -141
  185. package/dist/lib/components/InputCounter/index.ts +0 -1
  186. package/dist/lib/components/InputCounter/types.ts +0 -45
  187. package/dist/lib/components/InputImage/EmptyContainer.tsx +0 -17
  188. package/dist/lib/components/InputImage/HoverContainer.tsx +0 -21
  189. package/dist/lib/components/InputImage/InputImage.tsx +0 -104
  190. package/dist/lib/components/InputImage/index.ts +0 -1
  191. package/dist/lib/components/InputImage/subtypes.ts +0 -7
  192. package/dist/lib/components/InputImage/types.ts +0 -24
  193. package/dist/lib/components/InputPhone/InputPhone.tsx +0 -256
  194. package/dist/lib/components/InputPhone/index.ts +0 -1
  195. package/dist/lib/components/InputPhone/types.ts +0 -32
  196. package/dist/lib/components/InputPhone/utils/countries.ts +0 -646
  197. package/dist/lib/components/InputPhone/utils/flags/ac.svg +0 -76
  198. package/dist/lib/components/InputPhone/utils/flags/bq.svg +0 -5
  199. package/dist/lib/components/InputPhone/utils/flags/bv.svg +0 -13
  200. package/dist/lib/components/InputPhone/utils/flags/cefta.svg +0 -13
  201. package/dist/lib/components/InputPhone/utils/flags/cp.svg +0 -7
  202. package/dist/lib/components/InputPhone/utils/flags/cw.svg +0 -14
  203. package/dist/lib/components/InputPhone/utils/flags/dg.svg +0 -129
  204. package/dist/lib/components/InputPhone/utils/flags/ea.svg +0 -544
  205. package/dist/lib/components/InputPhone/utils/flags/eh.svg +0 -16
  206. package/dist/lib/components/InputPhone/utils/flags/es-ct.svg +0 -4
  207. package/dist/lib/components/InputPhone/utils/flags/es-ga.svg +0 -187
  208. package/dist/lib/components/InputPhone/utils/flags/eu.svg +0 -28
  209. package/dist/lib/components/InputPhone/utils/flags/gb-eng.svg +0 -5
  210. package/dist/lib/components/InputPhone/utils/flags/gb-nir.svg +0 -132
  211. package/dist/lib/components/InputPhone/utils/flags/gb-sct.svg +0 -4
  212. package/dist/lib/components/InputPhone/utils/flags/gb-wls.svg +0 -9
  213. package/dist/lib/components/InputPhone/utils/flags/hm.svg +0 -8
  214. package/dist/lib/components/InputPhone/utils/flags/ic.svg +0 -7
  215. package/dist/lib/components/InputPhone/utils/flags/sx.svg +0 -56
  216. package/dist/lib/components/InputPhone/utils/flags/ta.svg +0 -76
  217. package/dist/lib/components/InputPhone/utils/flags/tf.svg +0 -15
  218. package/dist/lib/components/InputPhone/utils/flags/um.svg +0 -15
  219. package/dist/lib/components/InputPhone/utils/flags/un.svg +0 -16
  220. package/dist/lib/components/InputPhone/utils/flags/xk.svg +0 -8
  221. package/dist/lib/components/InputPhone/utils/flags/xx.svg +0 -4
  222. package/dist/lib/components/InputPin/InputPin.tsx +0 -121
  223. package/dist/lib/components/InputPin/index.ts +0 -1
  224. package/dist/lib/components/InputPin/types.ts +0 -22
  225. package/dist/lib/components/InputSlider/InputSlider.tsx +0 -176
  226. package/dist/lib/components/InputSlider/index.ts +0 -1
  227. package/dist/lib/components/InputSlider/types.ts +0 -22
  228. package/dist/lib/components/Key/Key.tsx +0 -84
  229. package/dist/lib/components/Key/index.ts +0 -1
  230. package/dist/lib/components/Key/types.ts +0 -16
  231. package/dist/lib/components/Linkify/Linkify.tsx +0 -67
  232. package/dist/lib/components/Linkify/index.ts +0 -1
  233. package/dist/lib/components/Linkify/types.ts +0 -8
  234. package/dist/lib/components/ListGroup/ListGroup.tsx +0 -96
  235. package/dist/lib/components/ListGroup/ListGroupItem.tsx +0 -86
  236. package/dist/lib/components/ListGroup/ListGroupTitle.tsx +0 -84
  237. package/dist/lib/components/ListGroup/index.ts +0 -3
  238. package/dist/lib/components/ListGroup/types.ts +0 -69
  239. package/dist/lib/components/Loader/Loader.tsx +0 -38
  240. package/dist/lib/components/Loader/index.ts +0 -1
  241. package/dist/lib/components/Loader/templates/LoaderOne.tsx +0 -27
  242. package/dist/lib/components/Loader/templates/LoaderThree.tsx +0 -47
  243. package/dist/lib/components/Loader/templates/LoaderTwo.tsx +0 -61
  244. package/dist/lib/components/Loader/types.ts +0 -13
  245. package/dist/lib/components/Loader/utils/gen-border-bottom.ts +0 -95
  246. package/dist/lib/components/Main/Main.tsx +0 -63
  247. package/dist/lib/components/Main/index.ts +0 -1
  248. package/dist/lib/components/Main/types.ts +0 -12
  249. package/dist/lib/components/MarkdownContainer/MarkdownContainer.tsx +0 -50
  250. package/dist/lib/components/MarkdownContainer/index.ts +0 -1
  251. package/dist/lib/components/MarkdownContainer/types.ts +0 -8
  252. package/dist/lib/components/MarkdownEditor/MarkdownButtons.tsx +0 -42
  253. package/dist/lib/components/MarkdownEditor/MarkdownEditor.tsx +0 -186
  254. package/dist/lib/components/MarkdownEditor/MarkdownEditorTitles.tsx +0 -86
  255. package/dist/lib/components/MarkdownEditor/MarkdownViewButtons.tsx +0 -48
  256. package/dist/lib/components/MarkdownEditor/buttons/icons.tsx +0 -85
  257. package/dist/lib/components/MarkdownEditor/buttons/markdown-buttons.tsx +0 -176
  258. package/dist/lib/components/MarkdownEditor/index.ts +0 -1
  259. package/dist/lib/components/MarkdownEditor/types.ts +0 -42
  260. package/dist/lib/components/Masonry/Masonry.tsx +0 -83
  261. package/dist/lib/components/Masonry/index.ts +0 -1
  262. package/dist/lib/components/Masonry/types.ts +0 -8
  263. package/dist/lib/components/Masonry/utils.tsx +0 -28
  264. package/dist/lib/components/Meta/Meta.tsx +0 -125
  265. package/dist/lib/components/Meta/index.ts +0 -1
  266. package/dist/lib/components/Meta/types.ts +0 -35
  267. package/dist/lib/components/Modal/Modal.tsx +0 -107
  268. package/dist/lib/components/Modal/index.ts +0 -1
  269. package/dist/lib/components/Modal/types.ts +0 -21
  270. package/dist/lib/components/PageLayout/PageLayout.tsx +0 -64
  271. package/dist/lib/components/PageLayout/index.ts +0 -1
  272. package/dist/lib/components/PageLayout/types.ts +0 -29
  273. package/dist/lib/components/PageLoading/PageLoading.tsx +0 -64
  274. package/dist/lib/components/PageLoading/index.ts +0 -1
  275. package/dist/lib/components/PageLoading/types.ts +0 -13
  276. package/dist/lib/components/Pagination/Pagination.tsx +0 -163
  277. package/dist/lib/components/Pagination/PaginationButton.tsx +0 -65
  278. package/dist/lib/components/Pagination/index.ts +0 -2
  279. package/dist/lib/components/Pagination/types.ts +0 -56
  280. package/dist/lib/components/Paginator/Paginator.tsx +0 -136
  281. package/dist/lib/components/Paginator/index.ts +0 -1
  282. package/dist/lib/components/Paginator/types.ts +0 -16
  283. package/dist/lib/components/ProgressBar/ProgressBar.tsx +0 -87
  284. package/dist/lib/components/ProgressBar/index.ts +0 -1
  285. package/dist/lib/components/ProgressBar/types.ts +0 -14
  286. package/dist/lib/components/ProgressCircle/ProgressCircle.tsx +0 -146
  287. package/dist/lib/components/ProgressCircle/index.ts +0 -1
  288. package/dist/lib/components/ProgressCircle/types.ts +0 -31
  289. package/dist/lib/components/Rating/Rating.tsx +0 -116
  290. package/dist/lib/components/Rating/index.ts +0 -1
  291. package/dist/lib/components/Rating/types.ts +0 -25
  292. package/dist/lib/components/Section/Section.tsx +0 -51
  293. package/dist/lib/components/Section/index.ts +0 -1
  294. package/dist/lib/components/Section/types.ts +0 -5
  295. package/dist/lib/components/Select/Select.tsx +0 -191
  296. package/dist/lib/components/Select/index.ts +0 -1
  297. package/dist/lib/components/Select/types.ts +0 -23
  298. package/dist/lib/components/Skeleton/Skeleton.tsx +0 -57
  299. package/dist/lib/components/Skeleton/SkeletonCard.tsx +0 -60
  300. package/dist/lib/components/Skeleton/index.ts +0 -2
  301. package/dist/lib/components/Skeleton/types.ts +0 -27
  302. package/dist/lib/components/Slideshow/Slideshow.tsx +0 -324
  303. package/dist/lib/components/Slideshow/SlideshowButton.tsx +0 -63
  304. package/dist/lib/components/Slideshow/SlideshowPagination.tsx +0 -111
  305. package/dist/lib/components/Slideshow/index.ts +0 -1
  306. package/dist/lib/components/Slideshow/subtypes.ts +0 -62
  307. package/dist/lib/components/Slideshow/types.ts +0 -41
  308. package/dist/lib/components/SrOnly/SrOnly.tsx +0 -33
  309. package/dist/lib/components/SrOnly/index.ts +0 -1
  310. package/dist/lib/components/SrOnly/types.ts +0 -7
  311. package/dist/lib/components/Sticky/Sticky.tsx +0 -58
  312. package/dist/lib/components/Sticky/index.ts +0 -1
  313. package/dist/lib/components/Sticky/types.ts +0 -5
  314. package/dist/lib/components/Table/Table.tsx +0 -141
  315. package/dist/lib/components/Table/index.ts +0 -1
  316. package/dist/lib/components/Table/types.ts +0 -43
  317. package/dist/lib/components/Tabs/Tabs.tsx +0 -88
  318. package/dist/lib/components/Tabs/TabsButton.tsx +0 -73
  319. package/dist/lib/components/Tabs/TabsButtonsContainer.tsx +0 -58
  320. package/dist/lib/components/Tabs/TabsContainer.tsx +0 -49
  321. package/dist/lib/components/Tabs/TabsContent.tsx +0 -52
  322. package/dist/lib/components/Tabs/index.ts +0 -5
  323. package/dist/lib/components/Tabs/types.ts +0 -46
  324. package/dist/lib/components/Tag/Tag.tsx +0 -77
  325. package/dist/lib/components/Tag/index.ts +0 -1
  326. package/dist/lib/components/Tag/types.ts +0 -13
  327. package/dist/lib/components/Text/Text.tsx +0 -88
  328. package/dist/lib/components/Text/index.ts +0 -1
  329. package/dist/lib/components/Text/templates/Blockquote.tsx +0 -41
  330. package/dist/lib/components/Text/templates/Dl.tsx +0 -42
  331. package/dist/lib/components/Text/templates/Em.tsx +0 -40
  332. package/dist/lib/components/Text/templates/H1.tsx +0 -44
  333. package/dist/lib/components/Text/templates/H2.tsx +0 -44
  334. package/dist/lib/components/Text/templates/H3.tsx +0 -44
  335. package/dist/lib/components/Text/templates/H4.tsx +0 -44
  336. package/dist/lib/components/Text/templates/H5.tsx +0 -44
  337. package/dist/lib/components/Text/templates/H6.tsx +0 -41
  338. package/dist/lib/components/Text/templates/Ol.tsx +0 -41
  339. package/dist/lib/components/Text/templates/P.tsx +0 -40
  340. package/dist/lib/components/Text/templates/Small.tsx +0 -40
  341. package/dist/lib/components/Text/templates/Strong.tsx +0 -40
  342. package/dist/lib/components/Text/templates/Ul.tsx +0 -41
  343. package/dist/lib/components/Text/types.ts +0 -36
  344. package/dist/lib/components/Toast/Toast.tsx +0 -113
  345. package/dist/lib/components/Toast/ToastContainer.tsx +0 -43
  346. package/dist/lib/components/Toast/ToastFn.tsx +0 -236
  347. package/dist/lib/components/Toast/index.ts +0 -3
  348. package/dist/lib/components/Toast/types.ts +0 -18
  349. package/dist/lib/components/Toast/utils.ts +0 -9
  350. package/dist/lib/components/Tooltip/Tooltip.tsx +0 -197
  351. package/dist/lib/components/Tooltip/index.ts +0 -1
  352. package/dist/lib/components/Tooltip/types.ts +0 -23
  353. package/dist/lib/components/Wrapper/Wrapper.tsx +0 -75
  354. package/dist/lib/components/Wrapper/index.ts +0 -1
  355. package/dist/lib/components/Wrapper/types.ts +0 -12
  356. package/dist/lib/context/Theme.context.tsx +0 -66
  357. package/dist/lib/context/index.ts +0 -1
  358. package/dist/lib/hooks/index.ts +0 -15
  359. package/dist/lib/hooks/useClickOutside.tsx +0 -50
  360. package/dist/lib/hooks/useCopyToClipboard.tsx +0 -50
  361. package/dist/lib/hooks/useDebounce.tsx +0 -37
  362. package/dist/lib/hooks/useExportData.tsx +0 -78
  363. package/dist/lib/hooks/useFetch.tsx +0 -42
  364. package/dist/lib/hooks/useForm.tsx +0 -51
  365. package/dist/lib/hooks/useIsOverflow.ts +0 -61
  366. package/dist/lib/hooks/useKeyPress.tsx +0 -110
  367. package/dist/lib/hooks/useMaxWidth.tsx +0 -40
  368. package/dist/lib/hooks/useMergeRefs.ts +0 -45
  369. package/dist/lib/hooks/useMinWidth.tsx +0 -40
  370. package/dist/lib/hooks/usePaginatedData.tsx +0 -52
  371. package/dist/lib/hooks/usePagination.tsx +0 -75
  372. package/dist/lib/hooks/useTouchScreen.tsx +0 -34
  373. package/dist/lib/hooks/useTranslation.tsx +0 -58
  374. package/dist/lib/index.css +0 -539
  375. package/dist/lib/index.ts +0 -129
  376. package/dist/lib/lib-utils/get-highlighted-text.tsx +0 -30
  377. package/dist/lib/lib-utils/index.ts +0 -3
  378. package/dist/lib/lib-utils/transfom-search-keys.ts +0 -13
  379. package/dist/lib/lib-utils/use-keyboard-navigation.tsx +0 -79
  380. package/dist/lib/types/components-props.ts +0 -66
  381. package/dist/lib/types/global.ts +0 -853
  382. package/dist/lib/types/index.ts +0 -4
  383. package/dist/lib/types/require-at-least-one.ts +0 -7
  384. package/dist/lib/types/tailwind.ts +0 -9041
  385. package/dist/lib/utils/clsx.tsx +0 -6
  386. package/dist/lib/utils/design-tokens.ts +0 -784
  387. package/dist/lib/utils/gen-align.ts +0 -24
  388. package/dist/lib/utils/gen-bg-color.ts +0 -158
  389. package/dist/lib/utils/gen-border-color.ts +0 -110
  390. package/dist/lib/utils/gen-border-radius.ts +0 -13
  391. package/dist/lib/utils/gen-border.ts +0 -30
  392. package/dist/lib/utils/gen-box-shadow.ts +0 -12
  393. package/dist/lib/utils/gen-button-color.ts +0 -9
  394. package/dist/lib/utils/gen-gap.ts +0 -34
  395. package/dist/lib/utils/gen-justify.ts +0 -25
  396. package/dist/lib/utils/gen-link-color.ts +0 -29
  397. package/dist/lib/utils/gen-max-width.ts +0 -30
  398. package/dist/lib/utils/gen-object-fit.ts +0 -9
  399. package/dist/lib/utils/gen-ring-color.ts +0 -21
  400. package/dist/lib/utils/gen-text-align.ts +0 -10
  401. package/dist/lib/utils/gen-text-color.ts +0 -111
  402. package/dist/lib/utils/gen-vertical-align.ts +0 -12
  403. package/dist/lib/utils/index.ts +0 -19
  404. package/dist/lib/utils/linkify-text.tsx +0 -26
  405. package/dist/lib/utils/options-markdown.ts +0 -60
  406. package/dist/lib/utils/tools.ts +0 -15
  407. package/dist/react.css +0 -1
  408. package/dist/style.css +0 -539
  409. /package/dist/{lib/components/InputPhone/utils/flags/ad.svg → ad-HTL7GHRB.svg} +0 -0
  410. /package/dist/{lib/components/InputPhone/utils/flags/ae.svg → ae-ICAMTCAR.svg} +0 -0
  411. /package/dist/{lib/components/InputPhone/utils/flags/af.svg → af-MHFH5L72.svg} +0 -0
  412. /package/dist/{lib/components/InputPhone/utils/flags/ag.svg → ag-M7PMJTNC.svg} +0 -0
  413. /package/dist/{lib/components/InputPhone/utils/flags/ai.svg → ai-ETDR2GEU.svg} +0 -0
  414. /package/dist/{lib/components/InputPhone/utils/flags/al.svg → al-RBPPZBOR.svg} +0 -0
  415. /package/dist/{lib/components/InputPhone/utils/flags/am.svg → am-P5ZIE6XV.svg} +0 -0
  416. /package/dist/{lib/components/InputPhone/utils/flags/ao.svg → ao-IDQ66LVW.svg} +0 -0
  417. /package/dist/{lib/components/InputPhone/utils/flags/aq.svg → aq-M762DUH3.svg} +0 -0
  418. /package/dist/{lib/components/InputPhone/utils/flags/ar.svg → ar-DHRVFD4E.svg} +0 -0
  419. /package/dist/{lib/components/InputPhone/utils/flags/as.svg → as-ICEYFBWP.svg} +0 -0
  420. /package/dist/{lib/components/InputPhone/utils/flags/at.svg → at-P53PFVFI.svg} +0 -0
  421. /package/dist/{lib/components/InputPhone/utils/flags/au.svg → au-OMD4QESS.svg} +0 -0
  422. /package/dist/{lib/components/InputPhone/utils/flags/aw.svg → aw-P7SRGNOX.svg} +0 -0
  423. /package/dist/{lib/components/InputPhone/utils/flags/ax.svg → ax-V7XPB664.svg} +0 -0
  424. /package/dist/{lib/components/InputPhone/utils/flags/az.svg → az-JZV3NJUP.svg} +0 -0
  425. /package/dist/{lib/components/InputPhone/utils/flags/ba.svg → ba-POV77HGO.svg} +0 -0
  426. /package/dist/{lib/components/InputPhone/utils/flags/bb.svg → bb-WTDUG7VT.svg} +0 -0
  427. /package/dist/{lib/components/InputPhone/utils/flags/bd.svg → bd-HMCXBQD3.svg} +0 -0
  428. /package/dist/{lib/components/InputPhone/utils/flags/be.svg → be-Y7RGT6WN.svg} +0 -0
  429. /package/dist/{lib/components/InputPhone/utils/flags/bf.svg → bf-IFOTMWPV.svg} +0 -0
  430. /package/dist/{lib/components/InputPhone/utils/flags/bg.svg → bg-QKOWF4RG.svg} +0 -0
  431. /package/dist/{lib/components/InputPhone/utils/flags/bh.svg → bh-F7YG7A6Z.svg} +0 -0
  432. /package/dist/{lib/components/InputPhone/utils/flags/bi.svg → bi-HWA2SSM7.svg} +0 -0
  433. /package/dist/{lib/components/InputPhone/utils/flags/bj.svg → bj-SVZPUB6C.svg} +0 -0
  434. /package/dist/{lib/components/InputPhone/utils/flags/bl.svg → bl-QXYAF6ZV.svg} +0 -0
  435. /package/dist/{lib/components/InputPhone/utils/flags/bm.svg → bm-VAEN3IKJ.svg} +0 -0
  436. /package/dist/{lib/components/InputPhone/utils/flags/bn.svg → bn-CK5FI4T5.svg} +0 -0
  437. /package/dist/{lib/components/InputPhone/utils/flags/bo.svg → bo-HY4TLIQH.svg} +0 -0
  438. /package/dist/{lib/components/InputPhone/utils/flags/br.svg → br-E7SKW6QV.svg} +0 -0
  439. /package/dist/{lib/components/InputPhone/utils/flags/bs.svg → bs-5UC4R4TW.svg} +0 -0
  440. /package/dist/{lib/components/InputPhone/utils/flags/bt.svg → bt-ILNGCG6V.svg} +0 -0
  441. /package/dist/{lib/components/InputPhone/utils/flags/bw.svg → bw-GTCF3QZV.svg} +0 -0
  442. /package/dist/{lib/components/InputPhone/utils/flags/by.svg → by-I2PKD7MG.svg} +0 -0
  443. /package/dist/{lib/components/InputPhone/utils/flags/bz.svg → bz-ZSRW2FFJ.svg} +0 -0
  444. /package/dist/{lib/components/InputPhone/utils/flags/ca.svg → ca-WZPQPA7E.svg} +0 -0
  445. /package/dist/{lib/components/InputPhone/utils/flags/cc.svg → cc-F56DXRNZ.svg} +0 -0
  446. /package/dist/{lib/components/InputPhone/utils/flags/cd.svg → cd-WTKKN7EX.svg} +0 -0
  447. /package/dist/{lib/components/InputPhone/utils/flags/cf.svg → cf-TPKKXILK.svg} +0 -0
  448. /package/dist/{lib/components/InputPhone/utils/flags/cg.svg → cg-CKR7RUC4.svg} +0 -0
  449. /package/dist/{lib/components/InputPhone/utils/flags/ch.svg → ch-USJZZOGC.svg} +0 -0
  450. /package/dist/{lib/components/InputPhone/utils/flags/ci.svg → ci-KFEINJVJ.svg} +0 -0
  451. /package/dist/{lib/components/InputPhone/utils/flags/ck.svg → ck-ATMQHHMA.svg} +0 -0
  452. /package/dist/{lib/components/InputPhone/utils/flags/cl.svg → cl-WMTRWE2W.svg} +0 -0
  453. /package/dist/{lib/components/InputPhone/utils/flags/cm.svg → cm-2BN3OVZK.svg} +0 -0
  454. /package/dist/{lib/components/InputPhone/utils/flags/cn.svg → cn-GFQJIK3L.svg} +0 -0
  455. /package/dist/{lib/components/InputPhone/utils/flags/co.svg → co-NN4OA66V.svg} +0 -0
  456. /package/dist/{lib/components/InputPhone/utils/flags/cr.svg → cr-ZQEISEUX.svg} +0 -0
  457. /package/dist/{lib/components/InputPhone/utils/flags/cu.svg → cu-5GWMND5O.svg} +0 -0
  458. /package/dist/{lib/components/InputPhone/utils/flags/cv.svg → cv-LWSGBQVT.svg} +0 -0
  459. /package/dist/{lib/components/InputPhone/utils/flags/cx.svg → cx-XOUJ6BDY.svg} +0 -0
  460. /package/dist/{lib/components/InputPhone/utils/flags/cy.svg → cy-ELWYQW3B.svg} +0 -0
  461. /package/dist/{lib/components/InputPhone/utils/flags/cz.svg → cz-PSDLWGGB.svg} +0 -0
  462. /package/dist/{lib/components/InputPhone/utils/flags/de.svg → de-UZ33VXB7.svg} +0 -0
  463. /package/dist/{lib/components/InputPhone/utils/flags/dj.svg → dj-6OAOTLZI.svg} +0 -0
  464. /package/dist/{lib/components/InputPhone/utils/flags/dk.svg → dk-JMBRHM34.svg} +0 -0
  465. /package/dist/{lib/components/InputPhone/utils/flags/dm.svg → dm-VNRMBZBS.svg} +0 -0
  466. /package/dist/{lib/components/InputPhone/utils/flags/do.svg → do-BKI25VAP.svg} +0 -0
  467. /package/dist/{lib/components/InputPhone/utils/flags/dz.svg → dz-5TGC2F6O.svg} +0 -0
  468. /package/dist/{lib/components/InputPhone/utils/flags/ec.svg → ec-RVY2TDQY.svg} +0 -0
  469. /package/dist/{lib/components/InputPhone/utils/flags/ee.svg → ee-ESNNK5FI.svg} +0 -0
  470. /package/dist/{lib/components/InputPhone/utils/flags/eg.svg → eg-33P6HVEE.svg} +0 -0
  471. /package/dist/{lib/components/InputPhone/utils/flags/er.svg → er-24JCI44Y.svg} +0 -0
  472. /package/dist/{lib/components/InputPhone/utils/flags/es.svg → es-W6LDJAST.svg} +0 -0
  473. /package/dist/{lib/components/InputPhone/utils/flags/et.svg → et-3S4LEFBY.svg} +0 -0
  474. /package/dist/{lib/components/InputPhone/utils/flags/fi.svg → fi-S5EH7BG6.svg} +0 -0
  475. /package/dist/{lib/components/InputPhone/utils/flags/fj.svg → fj-YBL3EYQL.svg} +0 -0
  476. /package/dist/{lib/components/InputPhone/utils/flags/fk.svg → fk-GOTRGUW5.svg} +0 -0
  477. /package/dist/{lib/components/InputPhone/utils/flags/fm.svg → fm-W22Q42MJ.svg} +0 -0
  478. /package/dist/{lib/components/InputPhone/utils/flags/fo.svg → fo-XAEBEWGY.svg} +0 -0
  479. /package/dist/{lib/components/InputPhone/utils/flags/fr.svg → fr-ZVO4L2CN.svg} +0 -0
  480. /package/dist/{lib/components/InputPhone/utils/flags/ga.svg → ga-YVFEOFTR.svg} +0 -0
  481. /package/dist/{lib/components/InputPhone/utils/flags/gb.svg → gb-SC7363TA.svg} +0 -0
  482. /package/dist/{lib/components/InputPhone/utils/flags/gd.svg → gd-DFU7DED6.svg} +0 -0
  483. /package/dist/{lib/components/InputPhone/utils/flags/ge.svg → ge-YE7BR7QF.svg} +0 -0
  484. /package/dist/{lib/components/InputPhone/utils/flags/gf.svg → gf-NI4GFY3X.svg} +0 -0
  485. /package/dist/{lib/components/InputPhone/utils/flags/gg.svg → gg-7VUU64IM.svg} +0 -0
  486. /package/dist/{lib/components/InputPhone/utils/flags/gh.svg → gh-SZBUUZXW.svg} +0 -0
  487. /package/dist/{lib/components/InputPhone/utils/flags/gi.svg → gi-CXD7K7GM.svg} +0 -0
  488. /package/dist/{lib/components/InputPhone/utils/flags/gl.svg → gl-PA2YIJP7.svg} +0 -0
  489. /package/dist/{lib/components/InputPhone/utils/flags/gm.svg → gm-7ZOEQWBQ.svg} +0 -0
  490. /package/dist/{lib/components/InputPhone/utils/flags/gn.svg → gn-MSN2M353.svg} +0 -0
  491. /package/dist/{lib/components/InputPhone/utils/flags/gp.svg → gp-JP5TO4OX.svg} +0 -0
  492. /package/dist/{lib/components/InputPhone/utils/flags/gq.svg → gq-EYN2DF4Z.svg} +0 -0
  493. /package/dist/{lib/components/InputPhone/utils/flags/gr.svg → gr-YRG5TXUI.svg} +0 -0
  494. /package/dist/{lib/components/InputPhone/utils/flags/gs.svg → gs-EDOECKEF.svg} +0 -0
  495. /package/dist/{lib/components/InputPhone/utils/flags/gt.svg → gt-VFMRVU7E.svg} +0 -0
  496. /package/dist/{lib/components/InputPhone/utils/flags/gu.svg → gu-AXDHACWU.svg} +0 -0
  497. /package/dist/{lib/components/InputPhone/utils/flags/gw.svg → gw-F747MFB6.svg} +0 -0
  498. /package/dist/{lib/components/InputPhone/utils/flags/gy.svg → gy-C6UGO63R.svg} +0 -0
  499. /package/dist/{lib/components/InputPhone/utils/flags/hk.svg → hk-PPVUELHH.svg} +0 -0
  500. /package/dist/{lib/components/InputPhone/utils/flags/hn.svg → hn-IXKFBHL3.svg} +0 -0
  501. /package/dist/{lib/components/InputPhone/utils/flags/hr.svg → hr-7ORLAYLN.svg} +0 -0
  502. /package/dist/{lib/components/InputPhone/utils/flags/ht.svg → ht-HCNXZLPJ.svg} +0 -0
  503. /package/dist/{lib/components/InputPhone/utils/flags/hu.svg → hu-C3DDGX7P.svg} +0 -0
  504. /package/dist/{lib/components/InputPhone/utils/flags/id.svg → id-JSWZPKEB.svg} +0 -0
  505. /package/dist/{lib/components/InputPhone/utils/flags/ie.svg → ie-QFERZM3U.svg} +0 -0
  506. /package/dist/{lib/components/InputPhone/utils/flags/il.svg → il-4AZPYABU.svg} +0 -0
  507. /package/dist/{lib/components/InputPhone/utils/flags/im.svg → im-TRGBU2MA.svg} +0 -0
  508. /package/dist/{lib/components/InputPhone/utils/flags/in.svg → in-QNJVAXMN.svg} +0 -0
  509. /package/dist/{lib/components/InputPhone/utils/flags/io.svg → io-ZTEO44HB.svg} +0 -0
  510. /package/dist/{lib/components/InputPhone/utils/flags/iq.svg → iq-7FWRTP5Y.svg} +0 -0
  511. /package/dist/{lib/components/InputPhone/utils/flags/ir.svg → ir-7QU34OGP.svg} +0 -0
  512. /package/dist/{lib/components/InputPhone/utils/flags/is.svg → is-VFU3W27Q.svg} +0 -0
  513. /package/dist/{lib/components/InputPhone/utils/flags/it.svg → it-SGJZRZTG.svg} +0 -0
  514. /package/dist/{lib/components/InputPhone/utils/flags/je.svg → je-ASNHCFDM.svg} +0 -0
  515. /package/dist/{lib/components/InputPhone/utils/flags/jm.svg → jm-WELCOSBK.svg} +0 -0
  516. /package/dist/{lib/components/InputPhone/utils/flags/jo.svg → jo-4N4SRXFU.svg} +0 -0
  517. /package/dist/{lib/components/InputPhone/utils/flags/jp.svg → jp-IJJOLX65.svg} +0 -0
  518. /package/dist/{lib/components/InputPhone/utils/flags/ke.svg → ke-ZX6MQKG6.svg} +0 -0
  519. /package/dist/{lib/components/InputPhone/utils/flags/kg.svg → kg-RCELGYWY.svg} +0 -0
  520. /package/dist/{lib/components/InputPhone/utils/flags/kh.svg → kh-Z4TCRAR5.svg} +0 -0
  521. /package/dist/{lib/components/InputPhone/utils/flags/ki.svg → ki-4XP6EOEF.svg} +0 -0
  522. /package/dist/{lib/components/InputPhone/utils/flags/km.svg → km-UWFN6S3G.svg} +0 -0
  523. /package/dist/{lib/components/InputPhone/utils/flags/kn.svg → kn-QZWT5L2Z.svg} +0 -0
  524. /package/dist/{lib/components/InputPhone/utils/flags/kp.svg → kp-UEJKAESN.svg} +0 -0
  525. /package/dist/{lib/components/InputPhone/utils/flags/kr.svg → kr-37HGZWST.svg} +0 -0
  526. /package/dist/{lib/components/InputPhone/utils/flags/kw.svg → kw-DW7MW6JR.svg} +0 -0
  527. /package/dist/{lib/components/InputPhone/utils/flags/ky.svg → ky-UE77ZKNR.svg} +0 -0
  528. /package/dist/{lib/components/InputPhone/utils/flags/kz.svg → kz-235M425O.svg} +0 -0
  529. /package/dist/{lib/components/InputPhone/utils/flags/la.svg → la-RJEPE22E.svg} +0 -0
  530. /package/dist/{lib/components/InputPhone/utils/flags/lb.svg → lb-EWVZKLTE.svg} +0 -0
  531. /package/dist/{lib/components/InputPhone/utils/flags/lc.svg → lc-SHXL3I23.svg} +0 -0
  532. /package/dist/{lib/components/InputPhone/utils/flags/li.svg → li-FRDARPUJ.svg} +0 -0
  533. /package/dist/{lib/components/InputPhone/utils/flags/lk.svg → lk-24DJYERD.svg} +0 -0
  534. /package/dist/{lib/components/InputPhone/utils/flags/lr.svg → lr-NOV6G2QP.svg} +0 -0
  535. /package/dist/{lib/components/InputPhone/utils/flags/ls.svg → ls-DQYSLKA4.svg} +0 -0
  536. /package/dist/{lib/components/InputPhone/utils/flags/lt.svg → lt-X5H273BZ.svg} +0 -0
  537. /package/dist/{lib/components/InputPhone/utils/flags/lu.svg → lu-Y7CETSZZ.svg} +0 -0
  538. /package/dist/{lib/components/InputPhone/utils/flags/lv.svg → lv-UD2OKAKZ.svg} +0 -0
  539. /package/dist/{lib/components/InputPhone/utils/flags/ly.svg → ly-HXZ3F2PC.svg} +0 -0
  540. /package/dist/{lib/components/InputPhone/utils/flags/ma.svg → ma-VSPIMR33.svg} +0 -0
  541. /package/dist/{lib/components/InputPhone/utils/flags/mc.svg → mc-IV2TK64Y.svg} +0 -0
  542. /package/dist/{lib/components/InputPhone/utils/flags/md.svg → md-Z2KRCTSL.svg} +0 -0
  543. /package/dist/{lib/components/InputPhone/utils/flags/me.svg → me-GJ5HAC7T.svg} +0 -0
  544. /package/dist/{lib/components/InputPhone/utils/flags/mf.svg → mf-PY7OO34H.svg} +0 -0
  545. /package/dist/{lib/components/InputPhone/utils/flags/mg.svg → mg-7XGP7WEH.svg} +0 -0
  546. /package/dist/{lib/components/InputPhone/utils/flags/mh.svg → mh-7N2SSCJ3.svg} +0 -0
  547. /package/dist/{lib/components/InputPhone/utils/flags/mk.svg → mk-4CGYETXE.svg} +0 -0
  548. /package/dist/{lib/components/InputPhone/utils/flags/ml.svg → ml-REJ3NIH6.svg} +0 -0
  549. /package/dist/{lib/components/InputPhone/utils/flags/mm.svg → mm-G72WDHIA.svg} +0 -0
  550. /package/dist/{lib/components/InputPhone/utils/flags/mn.svg → mn-QUEB3DP2.svg} +0 -0
  551. /package/dist/{lib/components/InputPhone/utils/flags/mo.svg → mo-7RMY33IW.svg} +0 -0
  552. /package/dist/{lib/components/InputPhone/utils/flags/mp.svg → mp-QLHHVVHP.svg} +0 -0
  553. /package/dist/{lib/components/InputPhone/utils/flags/mq.svg → mq-S4653T2D.svg} +0 -0
  554. /package/dist/{lib/components/InputPhone/utils/flags/mr.svg → mr-ZBDE3KJQ.svg} +0 -0
  555. /package/dist/{lib/components/InputPhone/utils/flags/ms.svg → ms-HE6BUCKD.svg} +0 -0
  556. /package/dist/{lib/components/InputPhone/utils/flags/mt.svg → mt-DUA34F2Z.svg} +0 -0
  557. /package/dist/{lib/components/InputPhone/utils/flags/mu.svg → mu-ZHDOJ3TI.svg} +0 -0
  558. /package/dist/{lib/components/InputPhone/utils/flags/mv.svg → mv-6NYHRQLF.svg} +0 -0
  559. /package/dist/{lib/components/InputPhone/utils/flags/mw.svg → mw-AXRAJH26.svg} +0 -0
  560. /package/dist/{lib/components/InputPhone/utils/flags/mx.svg → mx-MSPV6RQM.svg} +0 -0
  561. /package/dist/{lib/components/InputPhone/utils/flags/my.svg → my-AIY7QQBP.svg} +0 -0
  562. /package/dist/{lib/components/InputPhone/utils/flags/mz.svg → mz-3322L3KQ.svg} +0 -0
  563. /package/dist/{lib/components/InputPhone/utils/flags/na.svg → na-EASCPZHA.svg} +0 -0
  564. /package/dist/{lib/components/InputPhone/utils/flags/nc.svg → nc-JJHA6YCG.svg} +0 -0
  565. /package/dist/{lib/components/InputPhone/utils/flags/ne.svg → ne-NIQVZJOH.svg} +0 -0
  566. /package/dist/{lib/components/InputPhone/utils/flags/nf.svg → nf-6GXJMQE5.svg} +0 -0
  567. /package/dist/{lib/components/InputPhone/utils/flags/ng.svg → ng-5QXHJYS4.svg} +0 -0
  568. /package/dist/{lib/components/InputPhone/utils/flags/ni.svg → ni-HNZBL5LK.svg} +0 -0
  569. /package/dist/{lib/components/InputPhone/utils/flags/nl.svg → nl-QVISKFUO.svg} +0 -0
  570. /package/dist/{lib/components/InputPhone/utils/flags/no.svg → no-JTVUCTCT.svg} +0 -0
  571. /package/dist/{lib/components/InputPhone/utils/flags/np.svg → np-UCBDZ5AR.svg} +0 -0
  572. /package/dist/{lib/components/InputPhone/utils/flags/nr.svg → nr-LG6XA46Y.svg} +0 -0
  573. /package/dist/{lib/components/InputPhone/utils/flags/nu.svg → nu-4OUEUAXX.svg} +0 -0
  574. /package/dist/{lib/components/InputPhone/utils/flags/nz.svg → nz-T2NE6YVO.svg} +0 -0
  575. /package/dist/{lib/components/InputPhone/utils/flags/om.svg → om-6JFK3PR4.svg} +0 -0
  576. /package/dist/{lib/components/InputPhone/utils/flags/pa.svg → pa-AT6O5EL5.svg} +0 -0
  577. /package/dist/{lib/components/InputPhone/utils/flags/pe.svg → pe-WVRRE6RF.svg} +0 -0
  578. /package/dist/{lib/components/InputPhone/utils/flags/pf.svg → pf-DLKFAUUG.svg} +0 -0
  579. /package/dist/{lib/components/InputPhone/utils/flags/pg.svg → pg-R7GWNRSB.svg} +0 -0
  580. /package/dist/{lib/components/InputPhone/utils/flags/ph.svg → ph-QSRFK225.svg} +0 -0
  581. /package/dist/{lib/components/InputPhone/utils/flags/pk.svg → pk-FR3SZ2RO.svg} +0 -0
  582. /package/dist/{lib/components/InputPhone/utils/flags/pl.svg → pl-JSSZW3KY.svg} +0 -0
  583. /package/dist/{lib/components/InputPhone/utils/flags/pm.svg → pm-HA37R6HR.svg} +0 -0
  584. /package/dist/{lib/components/InputPhone/utils/flags/pn.svg → pn-4N36OSZ7.svg} +0 -0
  585. /package/dist/{lib/components/InputPhone/utils/flags/pr.svg → pr-NNQH4LK7.svg} +0 -0
  586. /package/dist/{lib/components/InputPhone/utils/flags/ps.svg → ps-OYLD266F.svg} +0 -0
  587. /package/dist/{lib/components/InputPhone/utils/flags/pt.svg → pt-EJEEXNOR.svg} +0 -0
  588. /package/dist/{lib/components/InputPhone/utils/flags/pw.svg → pw-AJH6MUWT.svg} +0 -0
  589. /package/dist/{lib/components/InputPhone/utils/flags/py.svg → py-BBGVETQS.svg} +0 -0
  590. /package/dist/{lib/components/InputPhone/utils/flags/qa.svg → qa-O6NUQ5WE.svg} +0 -0
  591. /package/dist/{lib/components/InputPhone/utils/flags/re.svg → re-UHLBILVM.svg} +0 -0
  592. /package/dist/{lib/components/InputPhone/utils/flags/ro.svg → ro-YBPUPSYC.svg} +0 -0
  593. /package/dist/{lib/components/InputPhone/utils/flags/rs.svg → rs-RTTQJKCP.svg} +0 -0
  594. /package/dist/{lib/components/InputPhone/utils/flags/ru.svg → ru-NVSR5C27.svg} +0 -0
  595. /package/dist/{lib/components/InputPhone/utils/flags/rw.svg → rw-L6HQTLZM.svg} +0 -0
  596. /package/dist/{lib/components/InputPhone/utils/flags/sa.svg → sa-5NCCG3JM.svg} +0 -0
  597. /package/dist/{lib/components/InputPhone/utils/flags/sb.svg → sb-ESFASP4O.svg} +0 -0
  598. /package/dist/{lib/components/InputPhone/utils/flags/sc.svg → sc-V2MOTRIU.svg} +0 -0
  599. /package/dist/{lib/components/InputPhone/utils/flags/sd.svg → sd-ALVTXIOB.svg} +0 -0
  600. /package/dist/{lib/components/InputPhone/utils/flags/se.svg → se-3UJAVTP2.svg} +0 -0
  601. /package/dist/{lib/components/InputPhone/utils/flags/sg.svg → sg-PNK4IWVH.svg} +0 -0
  602. /package/dist/{lib/components/InputPhone/utils/flags/sh.svg → sh-LSKBPKHJ.svg} +0 -0
  603. /package/dist/{lib/components/InputPhone/utils/flags/si.svg → si-DU3RWKLO.svg} +0 -0
  604. /package/dist/{lib/components/InputPhone/utils/flags/sj.svg → sj-EOPZSLCL.svg} +0 -0
  605. /package/dist/{lib/components/InputPhone/utils/flags/sk.svg → sk-Z5T3FAV3.svg} +0 -0
  606. /package/dist/{lib/components/InputPhone/utils/flags/sl.svg → sl-DE7XOWOL.svg} +0 -0
  607. /package/dist/{lib/components/InputPhone/utils/flags/sm.svg → sm-OSI7YZKX.svg} +0 -0
  608. /package/dist/{lib/components/InputPhone/utils/flags/sn.svg → sn-KYWABXNT.svg} +0 -0
  609. /package/dist/{lib/components/InputPhone/utils/flags/so.svg → so-TUA5RNVD.svg} +0 -0
  610. /package/dist/{lib/components/InputPhone/utils/flags/sr.svg → sr-HMODPFV5.svg} +0 -0
  611. /package/dist/{lib/components/InputPhone/utils/flags/ss.svg → ss-R7O73JRT.svg} +0 -0
  612. /package/dist/{lib/components/InputPhone/utils/flags/st.svg → st-NPWJIGHE.svg} +0 -0
  613. /package/dist/{lib/components/InputPhone/utils/flags/sv.svg → sv-NIXV2SRX.svg} +0 -0
  614. /package/dist/{lib/components/InputPhone/utils/flags/sy.svg → sy-HTLBFL4F.svg} +0 -0
  615. /package/dist/{lib/components/InputPhone/utils/flags/sz.svg → sz-FMNXHOEQ.svg} +0 -0
  616. /package/dist/{lib/components/InputPhone/utils/flags/tc.svg → tc-P6VEJX7T.svg} +0 -0
  617. /package/dist/{lib/components/InputPhone/utils/flags/td.svg → td-DN372MP5.svg} +0 -0
  618. /package/dist/{lib/components/InputPhone/utils/flags/tg.svg → tg-5ZT7ZDBZ.svg} +0 -0
  619. /package/dist/{lib/components/InputPhone/utils/flags/th.svg → th-WAHAQKQK.svg} +0 -0
  620. /package/dist/{lib/components/InputPhone/utils/flags/tj.svg → tj-MG5ALKXM.svg} +0 -0
  621. /package/dist/{lib/components/InputPhone/utils/flags/tk.svg → tk-G765JUVP.svg} +0 -0
  622. /package/dist/{lib/components/InputPhone/utils/flags/tl.svg → tl-UF7AWZC6.svg} +0 -0
  623. /package/dist/{lib/components/InputPhone/utils/flags/tm.svg → tm-LGSUDTBO.svg} +0 -0
  624. /package/dist/{lib/components/InputPhone/utils/flags/tn.svg → tn-MJPTN7EW.svg} +0 -0
  625. /package/dist/{lib/components/InputPhone/utils/flags/to.svg → to-4IPHWATD.svg} +0 -0
  626. /package/dist/{lib/components/InputPhone/utils/flags/tr.svg → tr-KC7PK4TT.svg} +0 -0
  627. /package/dist/{lib/components/InputPhone/utils/flags/tt.svg → tt-IVVKXXFH.svg} +0 -0
  628. /package/dist/{lib/components/InputPhone/utils/flags/tv.svg → tv-HASL2ZPX.svg} +0 -0
  629. /package/dist/{lib/components/InputPhone/utils/flags/tw.svg → tw-Z2QVHLNU.svg} +0 -0
  630. /package/dist/{lib/components/InputPhone/utils/flags/tz.svg → tz-FVI6D4BP.svg} +0 -0
  631. /package/dist/{lib/components/InputPhone/utils/flags/ua.svg → ua-6L6MVDVK.svg} +0 -0
  632. /package/dist/{lib/components/InputPhone/utils/flags/ug.svg → ug-F73JMZTS.svg} +0 -0
  633. /package/dist/{lib/components/InputPhone/utils/flags/us.svg → us-VPPAAERF.svg} +0 -0
  634. /package/dist/{lib/components/InputPhone/utils/flags/uy.svg → uy-FJ6XTJUV.svg} +0 -0
  635. /package/dist/{lib/components/InputPhone/utils/flags/uz.svg → uz-FR2J6ZTX.svg} +0 -0
  636. /package/dist/{lib/components/InputPhone/utils/flags/va.svg → va-ZQHHJQ33.svg} +0 -0
  637. /package/dist/{lib/components/InputPhone/utils/flags/vc.svg → vc-F4EKLJYW.svg} +0 -0
  638. /package/dist/{lib/components/InputPhone/utils/flags/ve.svg → ve-TXPQADML.svg} +0 -0
  639. /package/dist/{lib/components/InputPhone/utils/flags/vg.svg → vg-R3B6II5K.svg} +0 -0
  640. /package/dist/{lib/components/InputPhone/utils/flags/vi.svg → vi-7RSQ7357.svg} +0 -0
  641. /package/dist/{lib/components/InputPhone/utils/flags/vn.svg → vn-BMRRXIMR.svg} +0 -0
  642. /package/dist/{lib/components/InputPhone/utils/flags/vu.svg → vu-FZQPUNU3.svg} +0 -0
  643. /package/dist/{lib/components/InputPhone/utils/flags/wf.svg → wf-EYVXQET4.svg} +0 -0
  644. /package/dist/{lib/components/InputPhone/utils/flags/ws.svg → ws-PVUKQ4PE.svg} +0 -0
  645. /package/dist/{lib/components/InputPhone/utils/flags/ye.svg → ye-NQNPF5YD.svg} +0 -0
  646. /package/dist/{lib/components/InputPhone/utils/flags/yt.svg → yt-TGBAMUTW.svg} +0 -0
  647. /package/dist/{lib/components/InputPhone/utils/flags/za.svg → za-HZOQXCXO.svg} +0 -0
  648. /package/dist/{lib/components/InputPhone/utils/flags/zm.svg → zm-NM4WJ5NQ.svg} +0 -0
  649. /package/dist/{lib/components/InputPhone/utils/flags/zw.svg → zw-MIQGG7RP.svg} +0 -0
@@ -1,853 +0,0 @@
1
- import type {
2
- HTMLAttributes,
3
- ElementType,
4
- ReactNode,
5
- Dispatch,
6
- SetStateAction,
7
- FunctionComponent,
8
- RefObject,
9
- CSSProperties as CSS,
10
- ReactElement as ReactEl,
11
- } from "react"
12
- import type { Property } from "csstype"
13
- import type { designTokens } from "../utils/design-tokens"
14
-
15
- /**
16
- * @description All color tokens available in the library.
17
- * @type {keyof typeof designTokens.libColors}
18
- * @example
19
- * color="danger-300"
20
- * color="gray-100"
21
- */
22
- export type LibColors = keyof typeof designTokens.libColors
23
-
24
- /**
25
- * @description All color short tokens available in the library. This returns the color-500.
26
- * @type {"primary" | "secondary" | "success" | "danger" | "warning" | "gray" | "black" | "white" | "current" | "transparent" | "background"}
27
- * @example
28
- * color="primary"
29
- * color="gray"
30
- */
31
- export type LibColorsShort = keyof typeof designTokens.libColorsShort
32
-
33
- /**
34
- * @description All color tokens and color short tokens available in the library.
35
- * @type {keyof typeof designTokens.libColors | "primary" | "secondary" | "success" | "danger" | "warning" | "gray" | "black" | "white" | "current" | "transparent" | "background"}
36
- * @example
37
- * color="danger-300"
38
- * color="primary"
39
- * color="gray-100"
40
- */
41
- export type LibAllColors = LibColors | LibColorsShort
42
-
43
- /**
44
- * @description All hover color tokens available in the library.
45
- * @type {"primary" | "secondary" | "success" | "danger" | "warning" | "white"}
46
- * @example
47
- * color="primary"
48
- * color="gray"
49
- */
50
- export type LibColorsHover = keyof typeof designTokens.libColorsHover
51
-
52
- /**
53
- * @description All hover color tokens plus "current" for currentColor support.
54
- * @type {"primary" | "secondary" | "success" | "danger" | "warning" | "white" | "current"}
55
- * @example
56
- * color="primary"
57
- * color="gray"
58
- * color="current"
59
- */
60
- export type LibColorsHoverAndCurrent = LibColorsHover | "current"
61
-
62
- /**
63
- * @description All overlay tokens available in the library.
64
- * @type {"black-50" | "black-80" | "white-50" | "white-80" | "gradient-black" | "gradient-white"}
65
- * @example
66
- * overlay="overlay-100"
67
- * overlay="overlay-dark"
68
- */
69
- export type LibOverlays = keyof typeof designTokens.libOverlays
70
-
71
- /**
72
- * @description All color and overlay tokens available in the library.
73
- * @type {Any color from the library | Any overlay from the library}
74
- * @example
75
- * color="primary"
76
- * color="gray-100"
77
- * overlay="overlay-100"
78
- * overlay="overlay-dark"
79
- */
80
- export type LibAllColorsAndOverlays =
81
- | LibAllColors
82
- | keyof typeof designTokens.libOverlays
83
-
84
- /**
85
- * @description All font family tokens available in the library.
86
- * @type {"body"|"code"}
87
- * @example
88
- * fontFamily="body"
89
- * fontFamily="code"
90
- */
91
- export type LibFontFamilies = keyof typeof designTokens.libFontFamilies
92
-
93
- /**
94
- * @description All font size tokens available in the library.
95
- * @type {"xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl"}
96
- * @example
97
- * fontSize="md"
98
- * fontSize="xl"
99
- */
100
- export type LibFontSizes = keyof typeof designTokens.libFontSizes
101
-
102
- /**
103
- * @description All font weight tokens available in the library.
104
- * @type {"thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black"}
105
- * @example
106
- * fontWeight="regular"
107
- * fontWeight="bold"
108
- */
109
- export type LibFontWeights = keyof typeof designTokens.libFontWeights
110
-
111
- /**
112
- * @description All line height tokens available in the library.
113
- * @type {"xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl"}
114
- * @example
115
- * lineHeight="normal"
116
- * lineHeight="tight"
117
- */
118
- export type LibLineHeights = keyof typeof designTokens.libLineHeights
119
-
120
- /**
121
- * @description All box shadow tokens available in the library.
122
- * @type {"2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "none"}
123
- * @example
124
- * boxShadow="md"
125
- * boxShadow="xl"
126
- */
127
- export type LibShadows = keyof typeof designTokens.libShadows
128
-
129
- /**
130
- * @description All spacer tokens available in the library, plus "0px".
131
- * @type {"2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "0px"}
132
- * @example
133
- * padding="md"
134
- * margin="xl"
135
- * gap="xs"
136
- * padding="0px"
137
- */
138
- export type LibSpacers = keyof typeof designTokens.libSpacers | "0px"
139
-
140
- /**
141
- * @description All border radius tokens available in the library.
142
- * @type {"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full"}
143
- * @example
144
- * radius="m"
145
- * radius="xl"
146
- */
147
- export type LibRadiuses = keyof typeof designTokens.libRadius
148
-
149
- /**
150
- * @description All transition tokens available in the library.
151
- * @type {"none" | "all" | "default" | "colors" | "opacity" | "shadow" | "transform"}
152
- * @example
153
- * transition="all"
154
- * transition="colors"
155
- */
156
- export type LibTransitions = keyof typeof designTokens.libTransitions
157
-
158
- /**
159
- * @description Validation status for form components.
160
- * @type {boolean | undefined}
161
- * @example
162
- * validation={true} // valid
163
- * validation={false} // invalid
164
- * validation={undefined} // not validated
165
- */
166
- export type LibValidationStatus = boolean | undefined
167
-
168
- /**
169
- * @description Validation for input components.
170
- * @type {Object}
171
- * @example
172
- * validation={{ status: false, message: "Name is required" }}
173
- */
174
- export type LibInputValidation = {
175
- status: LibValidationStatus
176
- message?: ReactChildren
177
- iconPassed?: ReactElement
178
- iconNotPassed?: ReactElement
179
- }
180
-
181
- /**
182
- * @description All theme names available in the library.
183
- * @type {"light"|"dark"}
184
- * @example
185
- * theme="light"
186
- * theme="dark"
187
- */
188
- export type LibThemeNames = keyof typeof designTokens.libThemes
189
-
190
- /**
191
- * @description All input variant tokens available in the library.
192
- * @type {"rounded" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | "pill"}
193
- * @example
194
- * variant="rounded"
195
- * variant="rounded-lg"
196
- * variant="pill"
197
- */
198
- export type LibInputVariant = keyof typeof designTokens.libInputVariants
199
-
200
- /**
201
- * @description All input type tokens available in the library for form inputs.
202
- * @type {"color" | "date" | "datetime-local" | "month" | "week" | "file" | "password" | "search" | "email" | "number" | "tel" | "text" | "url" | "time" | "select" | "textarea"}
203
- * @example
204
- * type="email"
205
- * type="password"
206
- * type="select"
207
- */
208
- export type LibInputType = keyof typeof designTokens.libInputTypes
209
-
210
- /**
211
- * @description All loader variant tokens available in the library.
212
- * @type {1 | 2 | 3}
213
- * @example
214
- * variant={3}
215
- */
216
- export type LibLoaderVariant = keyof typeof designTokens.libLoaderVariants
217
-
218
- /**
219
- * @description All button variant tokens available in the library.
220
- * @type {"plain" | "ghost" | "transparent"}
221
- * @example
222
- * variant="plain"
223
- * variant="ghost"
224
- * variant="transparent"
225
- */
226
- export type LibButtonVariant = keyof typeof designTokens.libButtonVariants
227
-
228
- /**
229
- * @description All button variant tokens available in the library.
230
- * @type {"plain" | "ghost" | "outline" | "transparent"}
231
- * @example
232
- * variant="plain"
233
- * variant="ghost"
234
- * variant="outline"
235
- */
236
- export type LibButtonVariantExtended =
237
- | keyof typeof designTokens.libButtonVariants
238
- | "outline"
239
-
240
- /**
241
- * @description All button size tokens available in the library.
242
- * @type {"default" | "small"}
243
- * @example
244
- * variant="small"
245
- */
246
- export type LibButtonSize = keyof typeof designTokens.libButtonSize
247
-
248
- /**
249
- * @description All input background tokens available in the library.
250
- * @type {"light" | "dark"}
251
- * @example
252
- * inputBackground="light"
253
- * inputBackground="dark"
254
- */
255
- export type LibInputBackground = keyof typeof designTokens.libInputBackgrounds
256
-
257
- /**
258
- * @description All display text tag tokens available in the library (headings from 1 to 5).
259
- * @type {"h1" | "h2" | "h3" | "h4" | "h5"}
260
- * @example
261
- * tag="h1"
262
- * tag="h2"
263
- */
264
- export type LibTextDisplay = keyof typeof designTokens.libTextDisplayTags
265
-
266
- /**
267
- * @description All text tags without the display prop tokens available in the library (paragraphs, lists, etc.).
268
- * @type {"h6" | "p" | "strong" | "em" | "small" | "blockquote" | "ul" | "ol" | "dl"}
269
- * @example
270
- * tag="p"
271
- * tag="ul"
272
- * tag="blockquote"
273
- */
274
- export type LibTextNoDisplay = keyof typeof designTokens.libTextTags
275
-
276
- /**
277
- * @description All text tag tokens available in the library (display and non-display).
278
- * @type {"h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "strong" | "em" | "small" | "blockquote" | "ul" | "ol" | "dl"}
279
- * @example
280
- * tag="h1"
281
- * tag="p"
282
- * tag="ul"
283
- */
284
- export type LibText = LibTextDisplay | LibTextNoDisplay
285
-
286
- /**
287
- * @description All CSS position tokens available in the library.
288
- * @type {"relative" | "absolute" | "fixed"}
289
- * @example
290
- * position="relative"
291
- * position="absolute"
292
- * position="fixed"
293
- */
294
- export type LibPosition = keyof typeof designTokens.libPosition
295
-
296
- /**
297
- * @description All z-index tokens available in the library.
298
- * @type {"0" | "10" | "20" | "30" | "40" | "50" | "-0" | "-10" | "-20" | "-30" | "-40" | "-50"}
299
- * @example
300
- * zIndex="10"
301
- * zIndex="999"
302
- */
303
- export type LibZIndex = keyof typeof designTokens.libZIndex
304
-
305
- /**
306
- * @description All min heights available in the library
307
- * @type {"px" | "full" | "screen" | "dvh" | "dvw" | "lvh" | "lvw" | "svw" | "svh" | "auto" | "min" | "max" | "fit" | "lh"}
308
- * @example
309
- * minHeight="min-h-full"
310
- * minHeight="min-h-screen"
311
- */
312
- export type LibMinHeight = keyof typeof designTokens.libMinHeights
313
-
314
- /**
315
- * @description All key sizes for the Key component.
316
- * @type {"large" | "small"}
317
- * @example
318
- * keySize="large"
319
- * keySize="small"
320
- */
321
- export type LibKeySize = keyof typeof designTokens.libKeySizes
322
-
323
- /**
324
- * @description All max widths from the library.
325
- * @type {"3xs" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "none" | "px" | "full" | "dvw" | "dvh" | "lvw" | "lvh" | "svw" | "svh" | "screen" | "min" | "max" | "fit"}
326
- * @example
327
- * maxWidth="md"
328
- * maxWidth="full"
329
- */
330
- export type LibMaxWidth = keyof typeof designTokens.libMaxWidths
331
-
332
- /**
333
- * @description All skeleton animation tokens available in the library.
334
- * @type {"pulse" | "shine"}
335
- * @example
336
- * skeletonAnimation="pulse"
337
- * skeletonAnimation="shine"
338
- */
339
- export type LibSkeletonAnimation =
340
- keyof typeof designTokens.libSkeletonAnimations
341
-
342
- /**
343
- * @description All tooltip position tokens available in the library.
344
- * @type {"top" | "bottom" | "left" | "right"}
345
- * @example
346
- * tooltipPosition="top"
347
- * tooltipPosition="right"
348
- */
349
- export type LibTooltipPosition = keyof typeof designTokens.libTooltipPositions
350
-
351
- /**
352
- * @description All tooltip trigger tokens available in the library.
353
- * @type {"hover" | "click"}
354
- * @example
355
- * tooltipTrigger="hover"
356
- * tooltipTrigger="click"
357
- */
358
- export type LibTooltipTrigger = keyof typeof designTokens.libTooltipTriggers
359
-
360
- /**
361
- * @description Props common to nearly all components.
362
- *
363
- * @template T - The HTML element type.
364
- * @prop {ElementType} [element] - The HTML element or React component to render as.
365
- * @prop {RefObject<T>} [ref] - Ref for the rendered element.
366
- * @extends HTMLAttributes<T>
367
- */
368
- export interface LibComponentBase<T> extends HTMLAttributes<T> {
369
- element?: ElementType
370
- ref?: RefObject<T>
371
- }
372
-
373
- /**
374
- * @description All variants available for Accordion item.
375
- * @type {"basic" | "rounded"}
376
- * @example
377
- * variant="basic"
378
- * variant="rounded"
379
- */
380
- export type LibAccordionVariant = keyof typeof designTokens.libAccordionVariant
381
-
382
- /**
383
- * @description All icons available for Accordion item.
384
- * @type {"plus" | "chevron"}
385
- * @example
386
- * icon="plus"
387
- * icon="chevron"
388
- */
389
- export type LibAccordionIcon = keyof typeof designTokens.libAccordionIcon
390
-
391
- /**
392
- * @description Variants for Tag component.
393
- * @type {"plain" | "outline"}
394
- * @example
395
- * variant="plain"
396
- */
397
- export type LibTagVariant = keyof typeof designTokens.libTagVariant
398
-
399
- /**
400
- * @description Variants for Toast component.
401
- * @type {"success" | "error" | "warning" | "info" | "loading"}
402
- * @example
403
- * status="error"
404
- */
405
- export type LibToastStatus = keyof typeof designTokens.libToastStatus
406
-
407
- /**
408
- * @description Variants for InputCheck component.
409
- * @type {"tile" | "toggle" | "selector"}
410
- * @example
411
- * variant="toggle"
412
- */
413
- export type LibCheckInputVariant =
414
- keyof typeof designTokens.libCheckInputVariants
415
-
416
- /**
417
- * @description List direction variants for inputs with list.
418
- * @type {"up" | "down"}
419
- * @example
420
- * variant="up"
421
- */
422
- export type LibInputListDirection =
423
- keyof typeof designTokens.libListInputDirections
424
-
425
- /**
426
- * @description All tab justification tokens available in the library for positioning tabs within their container.
427
- * @type {"start" | "stretch"}
428
- * @example
429
- * justify="stretch"
430
- */
431
- export type LibTabsJustify = keyof typeof designTokens.libTabsJustify
432
-
433
- /**
434
- * @description All tab variant tokens available in the library for styling tab components.
435
- * @type {"basic" | "rounded"}
436
- * @example
437
- * variant="basic"
438
- */
439
- export type LibTabsVariant = keyof typeof designTokens.libTabsVariant
440
-
441
- /**
442
- * @description All slideshow pagination variant tokens available in the library for styling pagination controls.
443
- * @type {"dots" | "dots-outline" | "bars" | "thumbnails"}
444
- * @example
445
- * pagination="dots"
446
- * pagination="bars"
447
- * pagination="thumbnails"
448
- */
449
- export type LibSlideshowPagination =
450
- keyof typeof designTokens.libSlideshowPagination
451
-
452
- /**
453
- * @description All slideshow pagination position tokens available in the library for positioning pagination controls.
454
- * @type {"inside" | "outside"}
455
- * @example
456
- * paginationPosition="inside"
457
- * paginationPosition="outside"
458
- */
459
- export type LibSlideshowPaginationPosition =
460
- keyof typeof designTokens.libSlideshowPaginationPosition
461
-
462
- /**
463
- * @description All slideshow navigation buttons position tokens available in the library for positioning previous/next controls.
464
- * @type {"left" | "right"}
465
- * @example
466
- * buttonsPosition="left"
467
- * buttonsPosition="right"
468
- */
469
- export type LibSlideshowButtonsPosition =
470
- keyof typeof designTokens.libSlideshowButtonsPositions
471
-
472
- /**
473
- * @description All slideshow navigation buttons size tokens available in the library for sizing previous/next controls.
474
- * @type {"small" | "large"}
475
- * @example
476
- * buttonsSize="small"
477
- * buttonsSize="large"
478
- */
479
- export type LibSlideshowButtonsSize =
480
- keyof typeof designTokens.libSlideshowButtonsSizes
481
-
482
- /**
483
- * @description All table variant tokens available in the library for styling table components.
484
- * @type {"bordered" | "stripped" | "border-bottom"}
485
- * @example
486
- * variant="bordered"
487
- * variant="stripped"
488
- * variant="border-bottom"
489
- */
490
- export type LibTableVariant = keyof typeof designTokens.libTableVariants
491
-
492
- /**
493
- * @description All markdown editor view tokens available in the library for switching between different editor display modes.
494
- * @type {"code" | "live" | "preview"}
495
- * @example
496
- * view="code"
497
- * view="live"
498
- * view="preview"
499
- */
500
- export type LibMdEditorViews = keyof typeof designTokens.libMdEditorViews
501
-
502
- /**
503
- * @description All markdown editor title tokens available in the library for heading levels in the editor.
504
- * @type {"h1" | "h2" | "h3" | "h4" | "h5" | "h6"}
505
- * @example
506
- * titles={{
507
- * h1: true,
508
- * h3: false,
509
- * }}
510
- */
511
- export type LibMdEditorTitles = keyof typeof designTokens.libMdEditorTitles
512
-
513
- /**
514
- * @description All markdown editor button tokens available in the library for controlling toolbar button visibility.
515
- * @type {"bold" | "italic" | "strikethrough" | "underline" | "ul" | "ol" | "link" | "quote" | "hr" | "code" | "codeBlock" | "comment" | "image"}
516
- * @example
517
- * buttons={{
518
- * bold: false,
519
- * italic: true,
520
- * }}
521
- */
522
- export type LibMdEditorButtons = keyof typeof designTokens.libMdEditorButtons
523
-
524
- /**
525
- * @description All drawer position tokens available in the library for positioning drawer components within the viewport.
526
- * @type {"left" | "right" }
527
- * @example
528
- * position="left"
529
- * position="right"
530
- */
531
- export type LibDrawerPosition = keyof typeof designTokens.libDrawerPositions
532
-
533
- /**
534
- * @description All navigation burger position tokens available in the library for positioning burger menu buttons within the navigation.
535
- * @type {"left" | "right"}
536
- * @example
537
- * position="left"
538
- * position="right"
539
- */
540
- export type LibNavBurgerPosition =
541
- keyof typeof designTokens.libNavBurgerPositions
542
-
543
- /**
544
- * @description All navigation mobile variant tokens available in the library for styling mobile navigation components.
545
- * @type {"drawer" | "full" | "top"}
546
- * @example
547
- * variant="drawer"
548
- * variant="full"
549
- */
550
- export type LibNavMobileVariant = keyof typeof designTokens.libNavMobileVariants
551
-
552
- /**
553
- * @description All header position tokens available in the library for positioning header components within the viewport.
554
- * @type {"relative" | "absolute" | "fixed"}
555
- * @example
556
- * position="relative"
557
- * position="absolute"
558
- * position="fixed"
559
- */
560
- export type LibHeaderPosition = Extract<
561
- Property.Position,
562
- "relative" | "absolute" | "fixed"
563
- >
564
-
565
- /**
566
- * @description All footer direction tokens available in the library for controlling the layout direction of footer content.
567
- * @type {"horizontal" | "vertical"}
568
- * @example
569
- * direction="horizontal"
570
- * direction="vertical"
571
- */
572
- export type LibFooterDirection = keyof typeof designTokens.libFooterDirection
573
-
574
- /**
575
- * @description All footer links separator tokens available in the library for controlling the visual separator between footer links.
576
- * @type {"dot" | "dash"}
577
- * @example
578
- * separator="dot"
579
- * separator="dash"
580
- */
581
- export type LibFooterLinksSeparator =
582
- keyof typeof designTokens.libFooterLinksSeparator
583
-
584
- /**
585
- * @description Type of values for InputPin component representing a collection of pin input values.
586
- * @type {object}
587
- * @example
588
- * values={{
589
- * 0: 1,
590
- * 1: 2,
591
- * 2: 3,
592
- * 3: 4
593
- * }}
594
- *
595
- * values={{
596
- * 0: "",
597
- * 1: 5,
598
- * 2: undefined,
599
- * 3: 9
600
- * }}
601
- *
602
- * @prop {number | "" | undefined} [index] - Value at each pin position, can be a number, empty string, or undefined.
603
- */
604
- export type LibValueInputPin = { [n: number]: number | "" | undefined }
605
-
606
- /**
607
- * @description Configuration object for translation data used in useTranslation hook for internationalization support.
608
- * @type {object}
609
- * @example
610
- * translateLang={{
611
- * en: {
612
- * "hello": "Hello",
613
- * "welcome": "Welcome to our app",
614
- * "button.save": "Save"
615
- * },
616
- * fr: {
617
- * "hello": "Bonjour",
618
- * "welcome": "Bienvenue dans notre application",
619
- * "button.save": "Enregistrer"
620
- * }
621
- * }}
622
- *
623
- * @prop {Object.<string, Object.<string, string>>} [language] - Language code as key containing translation key-value pairs.
624
- */
625
- export type TranslateLang = {
626
- [language: string]: {
627
- [key: string]: string
628
- }
629
- }
630
-
631
- /**
632
- * @description Configuration object for background image styling and positioning properties.
633
- * @type {object}
634
- * @example
635
- * backgroundImage={{
636
- * img: "/images/hero-bg.jpg",
637
- * position: "center",
638
- * size: "cover",
639
- * repeat: "no-repeat"
640
- * }}
641
- *
642
- * backgroundImage={{
643
- * img: "url('/pattern.png')",
644
- * clip: "padding",
645
- * origin: "border",
646
- * repeat: "repeat-x"
647
- * }}
648
- *
649
- * @prop {string} img - URL or path to the background image.
650
- * @prop {"border" | "padding" | "content" | "text"} [clip] - Defines how far the background extends within the element.
651
- * @prop {"border" | "padding" | "content"} [origin] - Sets the origin position of the background image.
652
- * @prop {"top-left" | "top" | "top-right" | "left" | "center" | "right" | "bottom-left" | "bottom" | "bottom-right"} [position] - Position of the background image within the element.
653
- * @prop {"repeat" | "repeat-x" | "repeat-y" | "repeat-space" | "repeat-round" | "no-repeat"} [repeat] - How the background image should be repeated.
654
- * @prop {"auto" | "cover" | "contain"} [size] - Size of the background image.
655
- */
656
- export interface ILibBackgroundImage {
657
- img: string
658
- clip?: "border" | "padding" | "content" | "text"
659
- origin?: "border" | "padding" | "content"
660
- position?:
661
- | "top-left"
662
- | "top"
663
- | "top-right"
664
- | "left"
665
- | "center"
666
- | "right"
667
- | "bottom-left"
668
- | "bottom"
669
- | "bottom-right"
670
- repeat?:
671
- | "repeat"
672
- | "repeat-x"
673
- | "repeat-y"
674
- | "repeat-space"
675
- | "repeat-round"
676
- | "no-repeat"
677
- size?: "auto" | "cover" | "contain"
678
- }
679
-
680
- /**
681
- * @description Configuration object for country data used in InputPhone component and other internationalization features.
682
- * @type {object}
683
- * @use Import `countries` object
684
- * @example
685
- * country={countries[2]}
686
- *
687
- * @prop {string} name - Full name of the country.
688
- * @prop {string} dial_code - International dialing code with + prefix.
689
- * @prop {CountryCode} code - ISO 3166-1 alpha-2 country code.
690
- * @prop {string} flag - Image flag for the country.
691
- */
692
- export type LibCountry = {
693
- name: string
694
- dial_code: string
695
- code: CountryCode
696
- flag: string
697
- }
698
-
699
- /**
700
- * @description Configuration object for positioning the BackToTop component within the viewport.
701
- * @type {object}
702
- * @example
703
- * position={{
704
- * right: "md",
705
- * bottom: "lg",
706
- * zIndex: "50"
707
- * }}
708
- *
709
- * position={{
710
- * left: "sm",
711
- * top: "unset",
712
- * bottom: "xl"
713
- * }}
714
- *
715
- * @prop {LibSpacers | "unset"} [left] - Distance from the left edge of the viewport.
716
- * @prop {LibSpacers | "unset"} [top] - Distance from the top edge of the viewport.
717
- * @prop {LibSpacers | "unset"} [right] - Distance from the right edge of the viewport.
718
- * @prop {LibSpacers | "unset"} [bottom] - Distance from the bottom edge of the viewport.
719
- * @prop {LibZIndex} [zIndex] - Z-index value for layering the component above other elements.
720
- */
721
- export interface LibBackToTopPosition {
722
- left?: LibSpacers | "unset"
723
- top?: LibSpacers | "unset"
724
- right?: LibSpacers | "unset"
725
- bottom?: LibSpacers | "unset"
726
- zIndex?: LibZIndex
727
- }
728
-
729
- /**
730
- * @description Configuration object for positioning and styling tooltip components with advanced customization options.
731
- * @type {object}
732
- * @example
733
- * tooltipOptions={{
734
- * position: "top",
735
- * offset: "md",
736
- * backgroundColor: "black",
737
- * textColor: "white",
738
- * hideArrow: false
739
- * }}
740
- *
741
- * tooltipOptions={{
742
- * position: "right",
743
- * offset: "lg",
744
- * backgroundColor: "primary-500",
745
- * textColor: "white",
746
- * hideArrow: true,
747
- * className: "custom-tooltip"
748
- * }}
749
- *
750
- * @prop {LibTooltipPosition} [position] - Position of the tooltip relative to its trigger element.
751
- * @prop {LibSpacers} [offset] - Distance between the tooltip and its trigger element.
752
- * @prop {LibAllColorsAndOverlays} [backgroundColor] - Background color or overlay for the tooltip.
753
- * @prop {LibAllColors} [textColor] - Text color for the tooltip content.
754
- * @prop {boolean} [hideArrow] - Whether to hide the arrow pointing to the trigger element.
755
- * @prop {ClassNames} [className] - Additional CSS classes to apply to the tooltip.
756
- * @prop {CSSProperties} [style] - Custom inline styles for the tooltip.
757
- */
758
- export interface LibTooltipPositionOptions {
759
- position?: LibTooltipPosition
760
- offset?: LibSpacers
761
- backgroundColor?: LibAllColorsAndOverlays
762
- textColor?: LibAllColors
763
- hideArrow?: boolean
764
- className?: ClassNames
765
- style?: CSSProperties
766
- tooltipClassName?: ClassNames
767
- tooltipStyle?: CSSProperties
768
- }
769
-
770
- export type ReactChildren = ReactNode | Array<ReactNode>
771
- export type ReactElement = ReactEl
772
- export type FC = FunctionComponent
773
- export type DispatchState<T> = Dispatch<SetStateAction<T>>
774
- export type Classes = string | Array<string>
775
-
776
- export type CssTextAlign =
777
- | "left"
778
- | "center"
779
- | "right"
780
- | "justify"
781
- | "start"
782
- | "end"
783
- export type CssVerticalAlign =
784
- | "align-baseline"
785
- | "align-top"
786
- | "align-middle"
787
- | "align-bottom"
788
- | "align-text-top"
789
- | "align-text-bottom"
790
- | "align-sub"
791
- | "align-super"
792
- export type CssJustifyItems =
793
- | "start"
794
- | "end"
795
- | "end-safe"
796
- | "center"
797
- | "center-safe"
798
- | "stretch"
799
- | "normal"
800
- export type CssAlignItems =
801
- | "start"
802
- | "end"
803
- | "end-safe"
804
- | "center"
805
- | "center-safe"
806
- | "baseline"
807
- | "baseline-start"
808
- | "stretch"
809
- export type CssJustifyContent =
810
- | "start"
811
- | "end"
812
- | "end-safe"
813
- | "center"
814
- | "center-sage"
815
- | "space-between"
816
- | "space-around"
817
- | "space-evenly"
818
- | "stretch"
819
- | "baseline"
820
- | "normal"
821
- export type CssAlignContent =
822
- | "normal"
823
- | "center"
824
- | "start"
825
- | "end"
826
- | "space-between"
827
- | "space-around"
828
- | "space-evenly"
829
- | "baseline"
830
- | "stretch"
831
- export type CssFlexDirection = "row" | "row-reverse" | "col" | "col-reverse"
832
- export type CssFlexWrap = "nowrap" | "wrap" | "wrap-reverse"
833
- export type CssObjectFit = "contain" | "cover" | "fill" | "none" | "scale-down"
834
- export type CssBorderStyle =
835
- | "solid"
836
- | "dashed"
837
- | "dotted"
838
- | "double"
839
- | "hidden"
840
- | "none"
841
- export type CssOutlineStyle =
842
- | "solid"
843
- | "dashed"
844
- | "dotted"
845
- | "double"
846
- | "none"
847
- | "hidden"
848
-
849
- export type LibMainSize = keyof typeof designTokens.libMainSizes
850
- export type LibAsideSize = keyof typeof designTokens.libAsideSizes
851
- export type CountryCode = keyof typeof designTokens.libCountryCodes
852
- export type ClassNames = string | Array<string>
853
- export type CSSProperties = CSS