@julseb-lib/react 0.1.3 → 0.1.4

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 (1231) hide show
  1. package/.editorconfig +7 -0
  2. package/.prettierrc +5 -0
  3. package/README.md +1 -1
  4. package/eslint.config.js +177 -0
  5. package/index.html +14 -0
  6. package/package.json +41 -67
  7. package/plop/actions/index.ts +1 -0
  8. package/plop/actions/run-command.ts +21 -0
  9. package/plop/generators/component.ts +87 -0
  10. package/plop/generators/demo.ts +38 -0
  11. package/plop/generators/generator.ts +49 -0
  12. package/plop/generators/index.ts +6 -0
  13. package/plop/generators/preview.ts +58 -0
  14. package/plop/generators/subtype.ts +25 -0
  15. package/plop/partials/index.ts +2 -0
  16. package/plop/partials/kebab-name.ts +7 -0
  17. package/plop/partials/pascal-name.ts +7 -0
  18. package/plop/plopfile.ts +32 -0
  19. package/plop/templates/__preview__/preview-props.hbs +34 -0
  20. package/plop/templates/__preview__/preview.hbs +25 -0
  21. package/plop/templates/component/__preview__/preview.hbs +21 -0
  22. package/plop/templates/component/index.ts.hbs +1 -0
  23. package/plop/templates/component/types.ts.hbs +5 -0
  24. package/plop/templates/component/{{ pascalCase name }}.tsx.hbs +32 -0
  25. package/plop/templates/demo.hbs +9 -0
  26. package/plop/templates/generator.hbs +16 -0
  27. package/plop/templates/subtypes.hbs +3 -0
  28. package/plop/utils/addClosingBrackets.ts +13 -0
  29. package/plop/utils/addOpenBrackets.ts +13 -0
  30. package/plop/utils/all-components.ts +72 -0
  31. package/plop/utils/constants.ts +1 -0
  32. package/plop/utils/index.ts +5 -0
  33. package/plop/utils/surround-brackets.ts +12 -0
  34. package/public/favicon.svg +24 -0
  35. package/public/images/cover-img.avif +0 -0
  36. package/public/images/image-card.jpg +0 -0
  37. package/public/images/logo-fajny-css-white.svg +37 -0
  38. package/public/images/logo-fajny-css.svg +35 -0
  39. package/public/images/pic-avatar.jpg +0 -0
  40. package/public/images/slideshow-1.avif +0 -0
  41. package/public/images/slideshow-2.avif +0 -0
  42. package/public/images/slideshow-3.avif +0 -0
  43. package/public/images/slideshow-4.avif +0 -0
  44. package/public/vite.svg +1 -0
  45. package/src/App.tsx +6 -0
  46. package/src/components/ComponentPreview.tsx +46 -0
  47. package/src/components/GridItem.tsx +9 -0
  48. package/src/components/index.ts +4 -0
  49. package/src/components/layout/BasePage.tsx +27 -0
  50. package/src/components/layout/CoverLayout.tsx +97 -0
  51. package/src/components/layout/Nav.tsx +63 -0
  52. package/src/components/layout/Page.tsx +24 -0
  53. package/src/data/components.tsx +220 -0
  54. package/src/data/french-cities.ts +8683 -0
  55. package/src/data/index.ts +3 -0
  56. package/src/data/previews/styles/Colors.preview.tsx +94 -0
  57. package/src/data/previews/styles/Overlays.preview.tsx +48 -0
  58. package/src/data/previews/styles/Radiuses.preview.tsx +49 -0
  59. package/src/data/previews/styles/Shadows.preview.tsx +49 -0
  60. package/src/data/previews/styles/Spacers.preview.tsx +50 -0
  61. package/src/data/previews/styles/Theme.preview.tsx +32 -0
  62. package/src/data/site-data.ts +4 -0
  63. package/src/data/styles/colors.ts +1985 -0
  64. package/src/data/styles/index.ts +5 -0
  65. package/src/data/styles/overlays.ts +47 -0
  66. package/src/data/styles/radiuses.ts +68 -0
  67. package/src/data/styles/shadows.ts +61 -0
  68. package/src/data/styles/spacers.ts +54 -0
  69. package/src/data/types/index.ts +1 -0
  70. package/src/data/types/variables.ts +7 -0
  71. package/src/lib/Variables.ts +201 -0
  72. package/src/lib/components/Accordion/Accordion.tsx +73 -0
  73. package/src/lib/components/Accordion/AccordionContent.tsx +55 -0
  74. package/src/lib/components/Accordion/AccordionItem.tsx +66 -0
  75. package/src/lib/components/Accordion/AccordionTitle.tsx +79 -0
  76. package/src/lib/components/Accordion/__preview__/Accordion.preview.tsx +107 -0
  77. package/src/lib/components/Accordion/subtypes.ts +26 -0
  78. package/src/lib/components/Accordion/types.ts +37 -0
  79. package/src/lib/components/Alert/Alert.tsx +57 -0
  80. package/src/lib/components/Alert/__preview__/Alert.preview.tsx +72 -0
  81. package/src/lib/components/Alert/types.ts +8 -0
  82. package/src/lib/components/Aside/Aside.tsx +58 -0
  83. package/src/lib/components/Aside/__preview__/Aside.preview.tsx +59 -0
  84. package/src/lib/components/Aside/types.ts +6 -0
  85. package/src/lib/components/Autocomplete/Autocomplete.tsx +222 -0
  86. package/src/lib/components/Autocomplete/__preview__/Autocomplete.preview.tsx +181 -0
  87. package/src/lib/components/Autocomplete/__preview__/Preview.tsx +17 -0
  88. package/src/lib/components/Autocomplete/types.ts +35 -0
  89. package/src/lib/components/Avatar/Avatar.tsx +97 -0
  90. package/src/lib/components/Avatar/AvatarFn.tsx +44 -0
  91. package/src/lib/components/Avatar/__preview__/Avatar.preview.tsx +107 -0
  92. package/src/lib/components/Avatar/types.ts +37 -0
  93. package/src/lib/components/BackToTop/BackToTop.tsx +95 -0
  94. package/src/lib/components/BackToTop/__preview__/BackToTop.preview.tsx +115 -0
  95. package/src/lib/components/BackToTop/types.ts +9 -0
  96. package/src/lib/components/Badge/Badge.tsx +61 -0
  97. package/src/lib/components/Badge/__preview__/Badge.preview.tsx +84 -0
  98. package/src/lib/components/Badge/types.ts +7 -0
  99. package/src/lib/components/Breadcrumbs/Breadcrumbs.tsx +72 -0
  100. package/src/lib/components/Breadcrumbs/__preview__/Breadcrumbs.preview.tsx +55 -0
  101. package/src/lib/components/Breadcrumbs/types.ts +5 -0
  102. package/src/lib/components/Burger/Burger.tsx +103 -0
  103. package/src/lib/components/Burger/__preview__/Burger.preview.tsx +55 -0
  104. package/src/lib/components/Burger/__preview__/Preview.tsx +11 -0
  105. package/src/lib/components/Burger/types.ts +11 -0
  106. package/src/lib/components/Button/Button.tsx +108 -0
  107. package/src/lib/components/Button/__preview__/Button.preview.tsx +182 -0
  108. package/src/lib/components/Button/types.ts +30 -0
  109. package/src/lib/components/ButtonGroup/ButtonGroup.tsx +124 -0
  110. package/src/lib/components/ButtonGroup/__preview__/ButtonGroup.preview.tsx +101 -0
  111. package/src/lib/components/ButtonGroup/types.ts +28 -0
  112. package/src/lib/components/ButtonIcon/ButtonFn.tsx +74 -0
  113. package/src/lib/components/ButtonIcon/ButtonIcon.tsx +127 -0
  114. package/src/lib/components/ButtonIcon/__preview__/ButtonIcon.preview.tsx +239 -0
  115. package/src/lib/components/ButtonIcon/types.ts +52 -0
  116. package/src/lib/components/CodeContainer/CodeContainer.tsx +108 -0
  117. package/src/lib/components/CodeContainer/__preview__/CodeContainer.preview.tsx +280 -0
  118. package/src/lib/components/CodeContainer/types.ts +230 -0
  119. package/src/lib/components/Cover/Cover.tsx +91 -0
  120. package/src/lib/components/Cover/__preview__/Cover.preview.tsx +154 -0
  121. package/src/lib/components/Cover/types.ts +10 -0
  122. package/src/lib/components/DragList/DragList.tsx +111 -0
  123. package/src/lib/components/DragList/DragListItem.tsx +113 -0
  124. package/src/lib/components/DragList/__preview__/Draglist.preview.tsx +156 -0
  125. package/src/lib/components/DragList/types.ts +55 -0
  126. package/src/lib/components/Drawer/Drawer.tsx +145 -0
  127. package/src/lib/components/Drawer/__preview__/Drawer.preview.tsx +159 -0
  128. package/src/lib/components/Drawer/types.ts +24 -0
  129. package/src/lib/components/Dropdown/Dropdown.tsx +89 -0
  130. package/src/lib/components/Dropdown/DropdownItem.tsx +49 -0
  131. package/src/lib/components/Dropdown/__preview__/Dropdown.preview.tsx +83 -0
  132. package/src/lib/components/Dropdown/__preview__/Preview.tsx +52 -0
  133. package/src/lib/components/Dropdown/index.ts +2 -0
  134. package/src/lib/components/Dropdown/types.ts +35 -0
  135. package/src/lib/components/Fade/Fade.tsx +62 -0
  136. package/src/lib/components/Fade/__preview__/Fade.preview.tsx +33 -0
  137. package/src/lib/components/Fieldset/Fieldset.tsx +85 -0
  138. package/src/lib/components/Fieldset/__preview__/Fieldset.preview.tsx +99 -0
  139. package/src/lib/components/Fieldset/__preview__/Preview.tsx +70 -0
  140. package/src/lib/components/Fieldset/types.ts +15 -0
  141. package/src/lib/components/Flexbox/Flexbox.tsx +99 -0
  142. package/src/lib/components/Flexbox/__preview__/Flexbox.preview.tsx +155 -0
  143. package/src/lib/components/Flexbox/types.ts +23 -0
  144. package/src/lib/components/Form/Form.tsx +83 -0
  145. package/src/lib/components/Form/__preview__/Form.preview.tsx +124 -0
  146. package/src/lib/components/Form/types.ts +32 -0
  147. package/src/lib/components/Grid/Grid.tsx +98 -0
  148. package/src/lib/components/Grid/__preview__/Grid.preview.tsx +146 -0
  149. package/src/lib/components/Grid/types.ts +20 -0
  150. package/src/lib/components/Header/Header.tsx +232 -0
  151. package/src/lib/components/Header/HeaderSearch.tsx +50 -0
  152. package/src/lib/components/Header/__preview__/Header.preview.tsx +33 -0
  153. package/src/lib/components/Header/subtypes.ts +28 -0
  154. package/src/lib/components/Header/types.ts +57 -0
  155. package/src/lib/components/Highlight/Highlight.tsx +45 -0
  156. package/src/lib/components/Highlight/__preview__/Highlight.preview.tsx +60 -0
  157. package/src/lib/components/Highlight/types.ts +9 -0
  158. package/src/lib/components/Hr/Hr.tsx +48 -0
  159. package/src/lib/components/Hr/__preview__/Hr.preview.tsx +75 -0
  160. package/src/lib/components/Hr/types.ts +8 -0
  161. package/src/lib/components/IconMenu/IconMenu.module.css +240 -0
  162. package/src/lib/components/IconMenu/IconMenu.tsx +101 -0
  163. package/src/lib/components/IconMenu/IconMenuItem.tsx +51 -0
  164. package/src/lib/components/IconMenu/__preview__/IconMenu.preview.tsx +55 -0
  165. package/src/lib/components/IconMenu/index.ts +1 -0
  166. package/src/lib/components/IconMenu/types.ts +48 -0
  167. package/src/lib/components/Image/Image.tsx +92 -0
  168. package/src/lib/components/Image/__preview__/Image.preview.tsx +71 -0
  169. package/src/lib/components/Image/types.ts +25 -0
  170. package/src/lib/components/Input/Input.tsx +130 -0
  171. package/src/lib/components/Input/__preview__/Input.preview.tsx +237 -0
  172. package/src/lib/components/Input/__preview__/Previews.tsx +67 -0
  173. package/src/lib/components/Input/classes.ts +1 -0
  174. package/src/lib/components/Input/subtypes.ts +173 -0
  175. package/src/lib/components/Input/templates/ColorInput.tsx +40 -0
  176. package/src/lib/components/Input/templates/DateInput.tsx +63 -0
  177. package/src/lib/components/Input/templates/FileInput.tsx +42 -0
  178. package/src/lib/components/Input/templates/PasswordInput.tsx +73 -0
  179. package/src/lib/components/Input/templates/SearchInput.tsx +89 -0
  180. package/src/lib/components/Input/templates/SelectInput.tsx +79 -0
  181. package/src/lib/components/Input/templates/TextInput.tsx +58 -0
  182. package/src/lib/components/Input/templates/TextareaInput.tsx +27 -0
  183. package/src/lib/components/Input/templates/TimeInput.tsx +67 -0
  184. package/src/lib/components/Input/types.ts +22 -0
  185. package/src/lib/components/InputCheck/InputCheck.tsx +161 -0
  186. package/src/lib/components/InputCheck/__preview__/InputCheck.preview.tsx +84 -0
  187. package/src/lib/components/InputCheck/__preview__/Previews.tsx +136 -0
  188. package/src/lib/components/InputCheck/types.ts +27 -0
  189. package/src/lib/components/InputComponents/InputButton.tsx +26 -0
  190. package/src/lib/components/InputComponents/InputIcon.tsx +28 -0
  191. package/src/lib/components/InputComponents/InputList.tsx +53 -0
  192. package/src/lib/components/InputComponents/InputListItem.tsx +68 -0
  193. package/src/lib/components/InputComponents/InputPrefix.tsx +15 -0
  194. package/src/lib/components/InputComponents/InputSuffix.tsx +15 -0
  195. package/src/lib/components/InputComponents/InputValidation.tsx +32 -0
  196. package/src/lib/components/InputComponents/InputWithListWrapper.tsx +29 -0
  197. package/src/lib/components/InputComponents/InputWrapper.tsx +45 -0
  198. package/src/lib/components/InputComponents/classes.ts +101 -0
  199. package/src/lib/components/InputComponents/index.ts +11 -0
  200. package/src/lib/components/InputComponents/types.ts +63 -0
  201. package/src/lib/components/InputContainer/InputContainer.tsx +149 -0
  202. package/src/lib/components/InputContainer/types.ts +11 -0
  203. package/src/lib/components/InputCounter/InputCounter.tsx +141 -0
  204. package/src/lib/components/InputCounter/__preview__/InputCounter.preview.tsx +153 -0
  205. package/src/lib/components/InputCounter/__preview__/Preview.tsx +13 -0
  206. package/src/lib/components/InputCounter/types.ts +45 -0
  207. package/src/lib/components/InputImage/EmptyContainer.tsx +17 -0
  208. package/src/lib/components/InputImage/HoverContainer.tsx +21 -0
  209. package/src/lib/components/InputImage/InputImage.tsx +104 -0
  210. package/src/lib/components/InputImage/__preview__/InputImage.preview.tsx +133 -0
  211. package/src/lib/components/InputImage/__preview__/Preview.tsx +29 -0
  212. package/src/lib/components/InputImage/subtypes.ts +7 -0
  213. package/src/lib/components/InputImage/types.ts +24 -0
  214. package/src/lib/components/InputPhone/InputPhone.tsx +256 -0
  215. package/src/lib/components/InputPhone/__preview__/InputPhone.preview.tsx +165 -0
  216. package/src/lib/components/InputPhone/__preview__/Preview.tsx +42 -0
  217. package/src/lib/components/InputPhone/types.ts +32 -0
  218. package/src/lib/components/InputPin/InputPin.tsx +119 -0
  219. package/src/lib/components/InputPin/__preview__/InputPin.preview.tsx +154 -0
  220. package/src/lib/components/InputPin/types.ts +22 -0
  221. package/src/lib/components/InputSlider/InputSlider.tsx +176 -0
  222. package/src/lib/components/InputSlider/__preview__/InputSlider.preview.tsx +128 -0
  223. package/src/lib/components/InputSlider/__preview__/Preview.tsx +17 -0
  224. package/src/lib/components/InputSlider/types.ts +22 -0
  225. package/src/lib/components/Key/Key.tsx +84 -0
  226. package/src/lib/components/Key/__preview__/Key.preview.tsx +80 -0
  227. package/src/lib/components/Key/types.ts +16 -0
  228. package/src/lib/components/Linkify/Linkify.tsx +67 -0
  229. package/src/lib/components/Linkify/__preview__/Linkify.preview.tsx +33 -0
  230. package/src/lib/components/Linkify/types.ts +8 -0
  231. package/src/lib/components/ListGroup/ListGroup.tsx +96 -0
  232. package/src/lib/components/ListGroup/ListGroupItem.tsx +86 -0
  233. package/src/lib/components/ListGroup/ListGroupTitle.tsx +84 -0
  234. package/src/lib/components/ListGroup/__preview__/ListGroup.preview.tsx +246 -0
  235. package/src/lib/components/ListGroup/index.ts +3 -0
  236. package/src/lib/components/ListGroup/types.ts +69 -0
  237. package/src/lib/components/Loader/Loader.tsx +38 -0
  238. package/src/lib/components/Loader/__preview__/Loader.preview.tsx +38 -0
  239. package/src/lib/components/Loader/templates/LoaderOne.tsx +27 -0
  240. package/src/lib/components/Loader/templates/LoaderThree.tsx +47 -0
  241. package/src/lib/components/Loader/templates/LoaderTwo.tsx +61 -0
  242. package/src/lib/components/Loader/types.ts +13 -0
  243. package/src/lib/components/Loader/utils/gen-border-bottom.ts +95 -0
  244. package/src/lib/components/Main/Main.tsx +63 -0
  245. package/src/lib/components/Main/__preview__/Main.preview.tsx +67 -0
  246. package/src/lib/components/Main/types.ts +12 -0
  247. package/src/lib/components/MarkdownContainer/MarkdownContainer.tsx +50 -0
  248. package/src/lib/components/MarkdownContainer/__preview__/MarkdownContainer.preview.tsx +34 -0
  249. package/src/lib/components/MarkdownContainer/types.ts +8 -0
  250. package/src/lib/components/MarkdownEditor/MarkdownButtons.tsx +42 -0
  251. package/src/lib/components/MarkdownEditor/MarkdownEditor.tsx +186 -0
  252. package/src/lib/components/MarkdownEditor/MarkdownEditorTitles.tsx +86 -0
  253. package/src/lib/components/MarkdownEditor/MarkdownViewButtons.tsx +48 -0
  254. package/src/lib/components/MarkdownEditor/__preview__/MarkdownEditor.preview.tsx +143 -0
  255. package/src/lib/components/MarkdownEditor/buttons/icons.tsx +85 -0
  256. package/src/lib/components/MarkdownEditor/buttons/markdown-buttons.tsx +176 -0
  257. package/src/lib/components/MarkdownEditor/types.ts +42 -0
  258. package/src/lib/components/Masonry/Masonry.tsx +83 -0
  259. package/src/lib/components/Masonry/__preview__/Masonry.preview.tsx +58 -0
  260. package/src/lib/components/Masonry/types.ts +8 -0
  261. package/src/lib/components/Masonry/utils.tsx +28 -0
  262. package/src/lib/components/Modal/Modal.tsx +107 -0
  263. package/src/lib/components/Modal/__preview__/Modal.preview.tsx +125 -0
  264. package/src/lib/components/Modal/types.ts +21 -0
  265. package/src/lib/components/PageLoading/PageLoading.tsx +64 -0
  266. package/src/lib/components/PageLoading/__preview__/PageLoading.preview.tsx +66 -0
  267. package/src/lib/components/PageLoading/types.ts +13 -0
  268. package/src/lib/components/Pagination/Pagination.tsx +163 -0
  269. package/src/lib/components/Pagination/PaginationButton.tsx +65 -0
  270. package/src/lib/components/Pagination/__preview__/Pagination.preview.tsx +264 -0
  271. package/src/lib/components/Pagination/types.ts +56 -0
  272. package/src/lib/components/Paginator/Paginator.tsx +136 -0
  273. package/src/lib/components/Paginator/__preview__/Paginator.preview.tsx +212 -0
  274. package/src/lib/components/Paginator/types.ts +16 -0
  275. package/src/lib/components/ProgressBar/ProgressBar.tsx +90 -0
  276. package/src/lib/components/ProgressBar/__preview__/ProgressBar.preview.tsx +63 -0
  277. package/src/lib/components/ProgressBar/types.ts +14 -0
  278. package/src/lib/components/ProgressCircle/ProgressCircle.tsx +142 -0
  279. package/src/lib/components/ProgressCircle/__preview__/ProgressCircle.preview.tsx +107 -0
  280. package/src/lib/components/ProgressCircle/types.ts +32 -0
  281. package/src/lib/components/Rating/Rating.tsx +116 -0
  282. package/src/lib/components/Rating/__preview__/Rating.preview.tsx +133 -0
  283. package/src/lib/components/Rating/types.ts +25 -0
  284. package/src/lib/components/Section/Section.tsx +51 -0
  285. package/src/lib/components/Section/__preview__/Section.preview.tsx +35 -0
  286. package/src/lib/components/Section/types.ts +5 -0
  287. package/src/lib/components/Select/Select.tsx +191 -0
  288. package/src/lib/components/Select/__preview__/Select.preview.tsx +168 -0
  289. package/src/lib/components/Select/types.ts +23 -0
  290. package/src/lib/components/Skeleton/Skeleton.tsx +54 -0
  291. package/src/lib/components/Skeleton/SkeletonCard.tsx +57 -0
  292. package/src/lib/components/Skeleton/__preview__/Skeleton.preview.tsx +240 -0
  293. package/src/lib/components/Skeleton/index.ts +2 -0
  294. package/src/lib/components/Skeleton/types.ts +27 -0
  295. package/src/lib/components/Slideshow/Slideshow.tsx +324 -0
  296. package/src/lib/components/Slideshow/SlideshowButton.tsx +63 -0
  297. package/src/lib/components/Slideshow/SlideshowPagination.tsx +111 -0
  298. package/src/lib/components/Slideshow/__preview__/Slideshow.preview.tsx +133 -0
  299. package/src/lib/components/Slideshow/subtypes.ts +62 -0
  300. package/src/lib/components/Slideshow/types.ts +41 -0
  301. package/src/lib/components/Sticky/Sticky.tsx +58 -0
  302. package/src/lib/components/Sticky/__preview__/Sticky.preview.tsx +188 -0
  303. package/src/lib/components/Sticky/types.ts +5 -0
  304. package/src/lib/components/Table/Table.tsx +138 -0
  305. package/src/lib/components/Table/__preview__/Table.preview.tsx +173 -0
  306. package/src/lib/components/Table/index.ts +1 -0
  307. package/src/lib/components/Table/types.ts +43 -0
  308. package/src/lib/components/Tabs/Tabs.tsx +88 -0
  309. package/src/lib/components/Tabs/TabsButton.tsx +71 -0
  310. package/src/lib/components/Tabs/TabsButtonsContainer.tsx +58 -0
  311. package/src/lib/components/Tabs/TabsContainer.tsx +49 -0
  312. package/src/lib/components/Tabs/TabsContent.tsx +52 -0
  313. package/src/lib/components/Tabs/__preview__/Tabs.preview.tsx +155 -0
  314. package/src/lib/components/Tabs/index.ts +5 -0
  315. package/src/lib/components/Tabs/types.ts +46 -0
  316. package/src/lib/components/Tag/Tag.tsx +77 -0
  317. package/src/lib/components/Tag/__preview__/Tag.preview.tsx +128 -0
  318. package/src/lib/components/Tag/types.ts +13 -0
  319. package/src/lib/components/Text/Text.tsx +88 -0
  320. package/src/lib/components/Text/__preview__/Text.preview.tsx +97 -0
  321. package/src/lib/components/Text/__preview__/previews/Description.tsx +18 -0
  322. package/src/lib/components/Text/__preview__/previews/Ordered.tsx +13 -0
  323. package/src/lib/components/Text/__preview__/previews/Paragraphs.tsx +26 -0
  324. package/src/lib/components/Text/__preview__/previews/Quote.tsx +5 -0
  325. package/src/lib/components/Text/__preview__/previews/Small.tsx +5 -0
  326. package/src/lib/components/Text/__preview__/previews/TextDisplay.tsx +27 -0
  327. package/src/lib/components/Text/__preview__/previews/TextTitles.tsx +19 -0
  328. package/src/lib/components/Text/__preview__/previews/Unordered.tsx +13 -0
  329. package/src/lib/components/Text/templates/Blockquote.tsx +41 -0
  330. package/src/lib/components/Text/templates/Dl.tsx +42 -0
  331. package/src/lib/components/Text/templates/Em.tsx +40 -0
  332. package/src/lib/components/Text/templates/H1.tsx +44 -0
  333. package/src/lib/components/Text/templates/H2.tsx +44 -0
  334. package/src/lib/components/Text/templates/H3.tsx +44 -0
  335. package/src/lib/components/Text/templates/H4.tsx +44 -0
  336. package/src/lib/components/Text/templates/H5.tsx +44 -0
  337. package/src/lib/components/Text/templates/H6.tsx +41 -0
  338. package/src/lib/components/Text/templates/Ol.tsx +41 -0
  339. package/src/lib/components/Text/templates/P.tsx +40 -0
  340. package/src/lib/components/Text/templates/Small.tsx +40 -0
  341. package/src/lib/components/Text/templates/Strong.tsx +40 -0
  342. package/src/lib/components/Text/templates/Ul.tsx +41 -0
  343. package/src/lib/components/Text/types.ts +36 -0
  344. package/src/lib/components/Toast/Toast.tsx +112 -0
  345. package/src/lib/components/Toast/ToastContainer.tsx +43 -0
  346. package/src/lib/components/Toast/ToastFn.tsx +236 -0
  347. package/src/lib/components/Toast/__preview__/Toast.preview.tsx +115 -0
  348. package/src/lib/components/Toast/index.ts +3 -0
  349. package/src/lib/components/Toast/types.ts +18 -0
  350. package/src/lib/components/Toast/utils.ts +9 -0
  351. package/src/lib/components/Tooltip/Tooltip.tsx +190 -0
  352. package/src/lib/components/Tooltip/__preview__/Tooltip.preview.tsx +117 -0
  353. package/src/lib/components/Tooltip/types.ts +23 -0
  354. package/src/lib/components/Wrapper/Wrapper.tsx +75 -0
  355. package/src/lib/components/Wrapper/__preview__/Wrapper.preview.tsx +78 -0
  356. package/src/lib/components/Wrapper/types.ts +12 -0
  357. package/src/lib/context/Theme.context.tsx +66 -0
  358. package/src/lib/context/index.ts +1 -0
  359. package/src/lib/hooks/useClickOutside.tsx +50 -0
  360. package/src/lib/hooks/useCopyToClipboard.tsx +50 -0
  361. package/src/lib/hooks/useDebounce.tsx +37 -0
  362. package/src/lib/hooks/useExportData.tsx +78 -0
  363. package/src/lib/hooks/useFetch.tsx +42 -0
  364. package/src/lib/hooks/useForm.tsx +51 -0
  365. package/src/lib/hooks/useIsOverflow.ts +61 -0
  366. package/src/lib/hooks/useKeyPress.tsx +110 -0
  367. package/src/lib/hooks/useMaxWidth.tsx +40 -0
  368. package/src/lib/hooks/useMergeRefs.ts +45 -0
  369. package/src/lib/hooks/useMinWidth.tsx +40 -0
  370. package/src/lib/hooks/usePaginatedData.tsx +52 -0
  371. package/src/lib/hooks/usePagination.tsx +75 -0
  372. package/src/lib/hooks/useTouchScreen.tsx +34 -0
  373. package/src/lib/hooks/useTranslation.tsx +58 -0
  374. package/src/lib/index.css +443 -0
  375. package/src/lib/index.ts +126 -0
  376. package/src/lib/lib-utils/get-highlighted-text.tsx +30 -0
  377. package/src/lib/lib-utils/index.ts +3 -0
  378. package/src/lib/lib-utils/use-keyboard-navigation.tsx +79 -0
  379. package/src/lib/types/components-items-props.ts +207 -0
  380. package/src/lib/types/components-props.ts +63 -0
  381. package/src/lib/types/global.ts +855 -0
  382. package/src/lib/types/index.ts +4 -0
  383. package/src/lib/types/tailwind.ts +9041 -0
  384. package/src/lib/utils/clsx.tsx +6 -0
  385. package/src/lib/utils/design-tokens.ts +789 -0
  386. package/src/lib/utils/gen-align.ts +24 -0
  387. package/src/lib/utils/gen-bg-color.ts +158 -0
  388. package/src/lib/utils/gen-border-color.ts +110 -0
  389. package/src/lib/utils/gen-border-radius.ts +13 -0
  390. package/src/lib/utils/gen-border.ts +30 -0
  391. package/src/lib/utils/gen-box-shadow.ts +12 -0
  392. package/src/lib/utils/gen-button-color.ts +9 -0
  393. package/src/lib/utils/gen-gap.ts +34 -0
  394. package/src/lib/utils/gen-justify.ts +25 -0
  395. package/src/lib/utils/gen-link-color.ts +29 -0
  396. package/src/lib/utils/gen-max-width.ts +30 -0
  397. package/src/lib/utils/gen-object-fit.ts +9 -0
  398. package/src/lib/utils/gen-text-align.ts +10 -0
  399. package/src/lib/utils/gen-text-color.ts +111 -0
  400. package/src/lib/utils/gen-vertical-align.ts +12 -0
  401. package/src/lib/utils/index.ts +18 -0
  402. package/src/lib/utils/linkify-text.tsx +26 -0
  403. package/src/lib/utils/options-markdown.ts +60 -0
  404. package/src/lib/utils/tools.ts +15 -0
  405. package/src/main.tsx +11 -0
  406. package/src/pages/Component.tsx +29 -0
  407. package/src/pages/Homepage.tsx +53 -0
  408. package/src/pages/NotFound.tsx +10 -0
  409. package/src/pages/demos/AsideBothDemo.tsx +22 -0
  410. package/src/pages/demos/AsideDefaultDemo.tsx +18 -0
  411. package/src/pages/demos/AsideRightDemo.tsx +18 -0
  412. package/src/pages/demos/CoverBottomDemo.tsx +24 -0
  413. package/src/pages/demos/CoverBottomOverlayDemo.tsx +25 -0
  414. package/src/pages/demos/CoverCenterDemo.tsx +24 -0
  415. package/src/pages/demos/CoverCenterOverlayDemo.tsx +25 -0
  416. package/src/pages/demos/HeaderDemo.tsx +76 -0
  417. package/src/pages/demos/MainDefaultDemo.tsx +14 -0
  418. package/src/pages/demos/MainFormDemo.tsx +14 -0
  419. package/src/pages/demos/MainLargeDemo.tsx +14 -0
  420. package/src/pages/demos/PageLoadingDemo.tsx +10 -0
  421. package/src/routes/index.tsx +59 -0
  422. package/src/types/global.d.ts +11 -0
  423. package/src/vite-env.d.ts +1 -0
  424. package/tailwind.config.ts +19 -0
  425. package/tsconfig.app.json +28 -0
  426. package/tsconfig.json +7 -0
  427. package/tsconfig.node.json +25 -0
  428. package/vite.config.ts +53 -0
  429. package/dist/index.cjs.js +0 -4174
  430. package/dist/index.css +0 -1491
  431. package/dist/index.d.ts +0 -1
  432. package/dist/index.es.js +0 -21211
  433. package/dist/index.umd.js +0 -4180
  434. package/dist/lib/Mixins.tsx +0 -990
  435. package/dist/lib/Variables.ts +0 -266
  436. package/dist/lib/components/Accordion/Accordion.tsx +0 -83
  437. package/dist/lib/components/Accordion/AccordionButton.tsx +0 -70
  438. package/dist/lib/components/Accordion/AccordionContent.tsx +0 -26
  439. package/dist/lib/components/Accordion/AccordionItem.tsx +0 -72
  440. package/dist/lib/components/Accordion/styles.tsx +0 -163
  441. package/dist/lib/components/Accordion/subtypes.ts +0 -20
  442. package/dist/lib/components/Accordion/types.ts +0 -31
  443. package/dist/lib/components/Alert/Alert.tsx +0 -122
  444. package/dist/lib/components/Alert/styles.tsx +0 -37
  445. package/dist/lib/components/Alert/types.ts +0 -31
  446. package/dist/lib/components/Aside/Aside.tsx +0 -41
  447. package/dist/lib/components/Aside/styles.tsx +0 -47
  448. package/dist/lib/components/Aside/types.ts +0 -5
  449. package/dist/lib/components/Autocomplete/Autocomplete.tsx +0 -356
  450. package/dist/lib/components/Autocomplete/styles.tsx +0 -11
  451. package/dist/lib/components/Autocomplete/types.ts +0 -41
  452. package/dist/lib/components/Avatar/Avatar.tsx +0 -147
  453. package/dist/lib/components/Avatar/AvatarFunction.tsx +0 -119
  454. package/dist/lib/components/Avatar/styles.tsx +0 -88
  455. package/dist/lib/components/Avatar/types.ts +0 -84
  456. package/dist/lib/components/BackToTop/BackToTop.tsx +0 -104
  457. package/dist/lib/components/BackToTop/styles.tsx +0 -33
  458. package/dist/lib/components/BackToTop/types.ts +0 -6
  459. package/dist/lib/components/Badge/Badge.tsx +0 -99
  460. package/dist/lib/components/Badge/styles.tsx +0 -39
  461. package/dist/lib/components/Badge/types.ts +0 -32
  462. package/dist/lib/components/Breadcrumbs/BreadcrumbItem.tsx +0 -41
  463. package/dist/lib/components/Breadcrumbs/Breadcrumbs.tsx +0 -62
  464. package/dist/lib/components/Breadcrumbs/BreadcrumbsFn.tsx +0 -64
  465. package/dist/lib/components/Breadcrumbs/styles.tsx +0 -62
  466. package/dist/lib/components/Breadcrumbs/subtypes.ts +0 -10
  467. package/dist/lib/components/Breadcrumbs/types.ts +0 -29
  468. package/dist/lib/components/Burger/Burger.tsx +0 -62
  469. package/dist/lib/components/Burger/styles.tsx +0 -91
  470. package/dist/lib/components/Burger/types.ts +0 -11
  471. package/dist/lib/components/Button/Button.tsx +0 -136
  472. package/dist/lib/components/Button/styles.tsx +0 -30
  473. package/dist/lib/components/Button/subtypes.ts +0 -10
  474. package/dist/lib/components/Button/types.ts +0 -70
  475. package/dist/lib/components/ButtonGroup/ButtonGroup.tsx +0 -136
  476. package/dist/lib/components/ButtonGroup/ButtonGroupButton.tsx +0 -76
  477. package/dist/lib/components/ButtonGroup/ButtonGroupToggle.tsx +0 -88
  478. package/dist/lib/components/ButtonGroup/styles.tsx +0 -89
  479. package/dist/lib/components/ButtonGroup/subtypes.ts +0 -43
  480. package/dist/lib/components/ButtonGroup/types.ts +0 -34
  481. package/dist/lib/components/ButtonIcon/ButtonFunction.tsx +0 -84
  482. package/dist/lib/components/ButtonIcon/ButtonIcon.tsx +0 -140
  483. package/dist/lib/components/ButtonIcon/styles.tsx +0 -29
  484. package/dist/lib/components/ButtonIcon/subtypes.ts +0 -10
  485. package/dist/lib/components/ButtonIcon/types.ts +0 -88
  486. package/dist/lib/components/Card/Card.tsx +0 -132
  487. package/dist/lib/components/Card/index.ts +0 -1
  488. package/dist/lib/components/Card/styles.tsx +0 -77
  489. package/dist/lib/components/Card/types.ts +0 -29
  490. package/dist/lib/components/CodeContainer/CodeContainer.tsx +0 -133
  491. package/dist/lib/components/CodeContainer/styles.tsx +0 -63
  492. package/dist/lib/components/CodeContainer/types.ts +0 -233
  493. package/dist/lib/components/ComponentsMixins/ComponentsMixins.tsx +0 -434
  494. package/dist/lib/components/ComponentsMixins/hooks/useKeyboardNavigation.tsx +0 -79
  495. package/dist/lib/components/ComponentsMixins/index.ts +0 -3
  496. package/dist/lib/components/ComponentsMixins/types.ts +0 -35
  497. package/dist/lib/components/Cover/Cover.tsx +0 -79
  498. package/dist/lib/components/Cover/styles.tsx +0 -78
  499. package/dist/lib/components/Cover/types.ts +0 -12
  500. package/dist/lib/components/Datepicker/Calendar.tsx +0 -394
  501. package/dist/lib/components/Datepicker/Datepicker.tsx +0 -255
  502. package/dist/lib/components/Datepicker/data.ts +0 -31
  503. package/dist/lib/components/Datepicker/index.ts +0 -1
  504. package/dist/lib/components/Datepicker/styles.tsx +0 -454
  505. package/dist/lib/components/Datepicker/types.ts +0 -66
  506. package/dist/lib/components/DragList/DragList.tsx +0 -121
  507. package/dist/lib/components/DragList/DragListItem.tsx +0 -184
  508. package/dist/lib/components/DragList/styles.tsx +0 -73
  509. package/dist/lib/components/DragList/types.ts +0 -59
  510. package/dist/lib/components/Drawer/Drawer.tsx +0 -113
  511. package/dist/lib/components/Drawer/styles.tsx +0 -134
  512. package/dist/lib/components/Drawer/types.ts +0 -26
  513. package/dist/lib/components/Dropdown/Dropdown.tsx +0 -98
  514. package/dist/lib/components/Dropdown/DropdownContainer.tsx +0 -48
  515. package/dist/lib/components/Dropdown/DropdownItem.tsx +0 -97
  516. package/dist/lib/components/Dropdown/index.ts +0 -3
  517. package/dist/lib/components/Dropdown/styles.tsx +0 -155
  518. package/dist/lib/components/Dropdown/types.ts +0 -63
  519. package/dist/lib/components/Fade/Fade.tsx +0 -54
  520. package/dist/lib/components/Fade/styles.tsx +0 -17
  521. package/dist/lib/components/Fallback/Fallback.tsx +0 -40
  522. package/dist/lib/components/Fallback/index.ts +0 -1
  523. package/dist/lib/components/Fieldset/Fieldset.tsx +0 -111
  524. package/dist/lib/components/Fieldset/styles.tsx +0 -48
  525. package/dist/lib/components/Fieldset/types.ts +0 -32
  526. package/dist/lib/components/Flexbox/Flexbox.tsx +0 -73
  527. package/dist/lib/components/Flexbox/styles.tsx +0 -32
  528. package/dist/lib/components/Flexbox/types.ts +0 -25
  529. package/dist/lib/components/Footer/Footer.tsx +0 -103
  530. package/dist/lib/components/Footer/FooterLink.tsx +0 -31
  531. package/dist/lib/components/Footer/FooterLogo.tsx +0 -29
  532. package/dist/lib/components/Footer/index.ts +0 -1
  533. package/dist/lib/components/Footer/styles.tsx +0 -124
  534. package/dist/lib/components/Footer/subtypes.ts +0 -14
  535. package/dist/lib/components/Footer/types.ts +0 -70
  536. package/dist/lib/components/Form/Form.tsx +0 -157
  537. package/dist/lib/components/Form/styles.tsx +0 -22
  538. package/dist/lib/components/Form/types.ts +0 -30
  539. package/dist/lib/components/FullBleed/FullBleed.tsx +0 -48
  540. package/dist/lib/components/FullBleed/index.ts +0 -1
  541. package/dist/lib/components/FullBleed/styles.tsx +0 -30
  542. package/dist/lib/components/FullBleed/types.ts +0 -7
  543. package/dist/lib/components/Grid/Grid.tsx +0 -71
  544. package/dist/lib/components/Grid/styles.tsx +0 -29
  545. package/dist/lib/components/Grid/types.ts +0 -22
  546. package/dist/lib/components/Header/Header.tsx +0 -223
  547. package/dist/lib/components/Header/HeaderBurger.tsx +0 -52
  548. package/dist/lib/components/Header/HeaderLogo.tsx +0 -68
  549. package/dist/lib/components/Header/HeaderNav.tsx +0 -89
  550. package/dist/lib/components/Header/HeaderNavLink.tsx +0 -31
  551. package/dist/lib/components/Header/HeaderSearch.tsx +0 -81
  552. package/dist/lib/components/Header/styles.tsx +0 -350
  553. package/dist/lib/components/Header/subtypes.ts +0 -79
  554. package/dist/lib/components/Header/types.ts +0 -89
  555. package/dist/lib/components/Highlight/Highlight.tsx +0 -47
  556. package/dist/lib/components/Highlight/types.ts +0 -9
  557. package/dist/lib/components/Hr/Hr.tsx +0 -52
  558. package/dist/lib/components/Hr/styles.tsx +0 -27
  559. package/dist/lib/components/Hr/types.ts +0 -10
  560. package/dist/lib/components/Icon/Icon.tsx +0 -42
  561. package/dist/lib/components/Icon/index.ts +0 -1
  562. package/dist/lib/components/Icon/styles.tsx +0 -19
  563. package/dist/lib/components/Icon/types.ts +0 -13
  564. package/dist/lib/components/IconMenu/IconMenu.tsx +0 -148
  565. package/dist/lib/components/IconMenu/IconMenuItem.tsx +0 -75
  566. package/dist/lib/components/IconMenu/index.ts +0 -2
  567. package/dist/lib/components/IconMenu/styles.tsx +0 -114
  568. package/dist/lib/components/IconMenu/types.ts +0 -50
  569. package/dist/lib/components/Image/Image.tsx +0 -124
  570. package/dist/lib/components/Image/ImageFunction.tsx +0 -47
  571. package/dist/lib/components/Image/styles.tsx +0 -85
  572. package/dist/lib/components/Image/types.ts +0 -46
  573. package/dist/lib/components/Input/Input.tsx +0 -163
  574. package/dist/lib/components/Input/styles.tsx +0 -39
  575. package/dist/lib/components/Input/subtypes.ts +0 -166
  576. package/dist/lib/components/Input/templates/ColorInput.tsx +0 -34
  577. package/dist/lib/components/Input/templates/DateInput.tsx +0 -118
  578. package/dist/lib/components/Input/templates/FileInput.tsx +0 -55
  579. package/dist/lib/components/Input/templates/PasswordInput.tsx +0 -185
  580. package/dist/lib/components/Input/templates/SearchInput.tsx +0 -132
  581. package/dist/lib/components/Input/templates/SelectInput.tsx +0 -110
  582. package/dist/lib/components/Input/templates/TextInput.tsx +0 -110
  583. package/dist/lib/components/Input/templates/TextareaInput.tsx +0 -37
  584. package/dist/lib/components/Input/templates/TimeInput.tsx +0 -117
  585. package/dist/lib/components/Input/types.ts +0 -22
  586. package/dist/lib/components/InputCheck/InputCheck.tsx +0 -145
  587. package/dist/lib/components/InputCheck/styles.tsx +0 -282
  588. package/dist/lib/components/InputCheck/types.ts +0 -34
  589. package/dist/lib/components/InputComponents/components/InputAndListContainer.tsx +0 -42
  590. package/dist/lib/components/InputComponents/components/InputButton.tsx +0 -61
  591. package/dist/lib/components/InputComponents/components/InputContainer.tsx +0 -69
  592. package/dist/lib/components/InputComponents/components/InputIcon.tsx +0 -57
  593. package/dist/lib/components/InputComponents/components/InputLeftContainer.tsx +0 -28
  594. package/dist/lib/components/InputComponents/components/InputPrefix.tsx +0 -30
  595. package/dist/lib/components/InputComponents/components/InputRightContainer.tsx +0 -34
  596. package/dist/lib/components/InputComponents/components/InputSuffix.tsx +0 -30
  597. package/dist/lib/components/InputComponents/components/InputValidationHelper.tsx +0 -97
  598. package/dist/lib/components/InputComponents/components/InputValidationIcon.tsx +0 -65
  599. package/dist/lib/components/InputComponents/components/InputWrapper.tsx +0 -45
  600. package/dist/lib/components/InputComponents/components/ListInput.tsx +0 -42
  601. package/dist/lib/components/InputComponents/components/ListInputItem.tsx +0 -48
  602. package/dist/lib/components/InputComponents/index.ts +0 -13
  603. package/dist/lib/components/InputComponents/styles.tsx +0 -716
  604. package/dist/lib/components/InputComponents/types.ts +0 -262
  605. package/dist/lib/components/InputContainer/HelperBottom.tsx +0 -94
  606. package/dist/lib/components/InputContainer/InputContainer.tsx +0 -143
  607. package/dist/lib/components/InputContainer/styles.tsx +0 -87
  608. package/dist/lib/components/InputContainer/subtypes.ts +0 -8
  609. package/dist/lib/components/InputContainer/types.ts +0 -23
  610. package/dist/lib/components/InputCounter/InputCounter.tsx +0 -296
  611. package/dist/lib/components/InputCounter/styles.tsx +0 -51
  612. package/dist/lib/components/InputCounter/subtypes.ts +0 -7
  613. package/dist/lib/components/InputCounter/types.ts +0 -49
  614. package/dist/lib/components/InputImage/EmptyContainer.tsx +0 -40
  615. package/dist/lib/components/InputImage/HoverContainer.tsx +0 -47
  616. package/dist/lib/components/InputImage/InputImage.tsx +0 -160
  617. package/dist/lib/components/InputImage/styles.tsx +0 -113
  618. package/dist/lib/components/InputImage/subtypes.ts +0 -28
  619. package/dist/lib/components/InputImage/types.ts +0 -23
  620. package/dist/lib/components/InputPhone/InputPhone.tsx +0 -392
  621. package/dist/lib/components/InputPhone/styles.tsx +0 -216
  622. package/dist/lib/components/InputPhone/types.ts +0 -33
  623. package/dist/lib/components/InputPin/InputPin.tsx +0 -137
  624. package/dist/lib/components/InputPin/styles.tsx +0 -68
  625. package/dist/lib/components/InputPin/subtypes.ts +0 -9
  626. package/dist/lib/components/InputPin/types.ts +0 -29
  627. package/dist/lib/components/InputSlider/InputSlider.tsx +0 -193
  628. package/dist/lib/components/InputSlider/Slider.tsx +0 -43
  629. package/dist/lib/components/InputSlider/styles.tsx +0 -290
  630. package/dist/lib/components/InputSlider/types.ts +0 -13
  631. package/dist/lib/components/Key/Key.tsx +0 -46
  632. package/dist/lib/components/Key/styles.tsx +0 -27
  633. package/dist/lib/components/Key/types.ts +0 -9
  634. package/dist/lib/components/LibIcon/LibIcon.tsx +0 -34
  635. package/dist/lib/components/LibIcon/index.ts +0 -1
  636. package/dist/lib/components/LibIcon/types.ts +0 -7
  637. package/dist/lib/components/Link/Link.tsx +0 -88
  638. package/dist/lib/components/Link/index.ts +0 -1
  639. package/dist/lib/components/Link/types.ts +0 -7
  640. package/dist/lib/components/Linkify/Linkify.tsx +0 -58
  641. package/dist/lib/components/Linkify/types.ts +0 -6
  642. package/dist/lib/components/ListGroup/ListGroup.tsx +0 -110
  643. package/dist/lib/components/ListGroup/ListGroupItem.tsx +0 -171
  644. package/dist/lib/components/ListGroup/ListGroupTitle.tsx +0 -56
  645. package/dist/lib/components/ListGroup/index.ts +0 -3
  646. package/dist/lib/components/ListGroup/styles.tsx +0 -177
  647. package/dist/lib/components/ListGroup/types.ts +0 -106
  648. package/dist/lib/components/Loader/Loader.tsx +0 -45
  649. package/dist/lib/components/Loader/styles.tsx +0 -138
  650. package/dist/lib/components/Loader/templates/LoaderFour.tsx +0 -27
  651. package/dist/lib/components/Loader/templates/LoaderOne.tsx +0 -21
  652. package/dist/lib/components/Loader/templates/LoaderThree.tsx +0 -30
  653. package/dist/lib/components/Loader/templates/LoaderTwo.tsx +0 -25
  654. package/dist/lib/components/Loader/types.ts +0 -23
  655. package/dist/lib/components/Main/Main.tsx +0 -48
  656. package/dist/lib/components/Main/styles.tsx +0 -61
  657. package/dist/lib/components/Main/types.ts +0 -15
  658. package/dist/lib/components/MarkdownContainer/MarkdownContainer.tsx +0 -42
  659. package/dist/lib/components/MarkdownContainer/styles.tsx +0 -15
  660. package/dist/lib/components/MarkdownContainer/types.ts +0 -7
  661. package/dist/lib/components/MarkdownEditor/MarkdownEditor.tsx +0 -200
  662. package/dist/lib/components/MarkdownEditor/MdEditorButtons/EditorButtonTitles.tsx +0 -75
  663. package/dist/lib/components/MarkdownEditor/MdEditorButtons/EditorButtons.tsx +0 -73
  664. package/dist/lib/components/MarkdownEditor/MdEditorButtons/MarkdownButtons.tsx +0 -52
  665. package/dist/lib/components/MarkdownEditor/MdEditorInput.tsx +0 -88
  666. package/dist/lib/components/MarkdownEditor/markdown-buttons.tsx +0 -180
  667. package/dist/lib/components/MarkdownEditor/styles.tsx +0 -187
  668. package/dist/lib/components/MarkdownEditor/subtypes.ts +0 -54
  669. package/dist/lib/components/MarkdownEditor/types.ts +0 -57
  670. package/dist/lib/components/Masonry/Masonry.tsx +0 -73
  671. package/dist/lib/components/Masonry/styles.tsx +0 -22
  672. package/dist/lib/components/Masonry/types.ts +0 -8
  673. package/dist/lib/components/Masonry/utils.ts +0 -28
  674. package/dist/lib/components/Messaging/Message.tsx +0 -112
  675. package/dist/lib/components/Messaging/MessageForm.tsx +0 -153
  676. package/dist/lib/components/Messaging/MessagesContainer.tsx +0 -42
  677. package/dist/lib/components/Messaging/MessagesList.tsx +0 -140
  678. package/dist/lib/components/Messaging/Messaging.tsx +0 -123
  679. package/dist/lib/components/Messaging/index.ts +0 -5
  680. package/dist/lib/components/Messaging/styles.tsx +0 -176
  681. package/dist/lib/components/Messaging/types.ts +0 -119
  682. package/dist/lib/components/Meta/Meta.tsx +0 -125
  683. package/dist/lib/components/Meta/index.ts +0 -3
  684. package/dist/lib/components/Meta/types.ts +0 -17
  685. package/dist/lib/components/Modal/Modal.tsx +0 -134
  686. package/dist/lib/components/Modal/styles.tsx +0 -60
  687. package/dist/lib/components/Modal/types.ts +0 -36
  688. package/dist/lib/components/PageLayout/PageLayout.tsx +0 -96
  689. package/dist/lib/components/PageLayout/index.ts +0 -1
  690. package/dist/lib/components/PageLayout/types.ts +0 -45
  691. package/dist/lib/components/PageLoading/PageLoading.tsx +0 -67
  692. package/dist/lib/components/PageLoading/styles.tsx +0 -22
  693. package/dist/lib/components/PageLoading/types.ts +0 -13
  694. package/dist/lib/components/Pagination/Pagination.tsx +0 -262
  695. package/dist/lib/components/Pagination/PaginationButton.tsx +0 -52
  696. package/dist/lib/components/Pagination/styles.tsx +0 -70
  697. package/dist/lib/components/Pagination/types.ts +0 -55
  698. package/dist/lib/components/Paginator/Paginator.tsx +0 -169
  699. package/dist/lib/components/Paginator/styles.tsx +0 -34
  700. package/dist/lib/components/Paginator/types.ts +0 -14
  701. package/dist/lib/components/ProgressBar/ProgressBar.tsx +0 -74
  702. package/dist/lib/components/ProgressBar/styles.tsx +0 -76
  703. package/dist/lib/components/ProgressBar/types.ts +0 -11
  704. package/dist/lib/components/ProgressCircle/Circle.tsx +0 -29
  705. package/dist/lib/components/ProgressCircle/ProgressCircle.tsx +0 -96
  706. package/dist/lib/components/ProgressCircle/ProgressCircleFn.tsx +0 -42
  707. package/dist/lib/components/ProgressCircle/Value.tsx +0 -30
  708. package/dist/lib/components/ProgressCircle/clean-percentage.ts +0 -5
  709. package/dist/lib/components/ProgressCircle/styles.tsx +0 -53
  710. package/dist/lib/components/ProgressCircle/subtypes.ts +0 -9
  711. package/dist/lib/components/ProgressCircle/types.ts +0 -29
  712. package/dist/lib/components/Rating/Rating.tsx +0 -178
  713. package/dist/lib/components/Rating/styles.tsx +0 -50
  714. package/dist/lib/components/Rating/types.ts +0 -22
  715. package/dist/lib/components/ResetScroll/ResetScroll.tsx +0 -27
  716. package/dist/lib/components/ResetScroll/index.ts +0 -1
  717. package/dist/lib/components/Section/Section.tsx +0 -45
  718. package/dist/lib/components/Section/styles.tsx +0 -22
  719. package/dist/lib/components/Section/types.ts +0 -5
  720. package/dist/lib/components/Select/Select.tsx +0 -290
  721. package/dist/lib/components/Select/SelectButton.tsx +0 -52
  722. package/dist/lib/components/Select/styles.tsx +0 -20
  723. package/dist/lib/components/Select/subtypes.ts +0 -31
  724. package/dist/lib/components/Select/types.ts +0 -31
  725. package/dist/lib/components/Skeleton/Skeleton.tsx +0 -62
  726. package/dist/lib/components/Skeleton/SkeletonCard.tsx +0 -81
  727. package/dist/lib/components/Skeleton/SkeletonShine.tsx +0 -30
  728. package/dist/lib/components/Skeleton/index.ts +0 -3
  729. package/dist/lib/components/Skeleton/styles.tsx +0 -94
  730. package/dist/lib/components/Skeleton/subtypes.ts +0 -14
  731. package/dist/lib/components/Skeleton/types.ts +0 -37
  732. package/dist/lib/components/Slideshow/Slideshow.tsx +0 -191
  733. package/dist/lib/components/Slideshow/SlideshowButton.tsx +0 -98
  734. package/dist/lib/components/Slideshow/SlideshowPagination.tsx +0 -83
  735. package/dist/lib/components/Slideshow/styles.tsx +0 -359
  736. package/dist/lib/components/Slideshow/subtypes.ts +0 -20
  737. package/dist/lib/components/Slideshow/types.ts +0 -97
  738. package/dist/lib/components/SrOnly/SrOnly.tsx +0 -34
  739. package/dist/lib/components/SrOnly/index.ts +0 -1
  740. package/dist/lib/components/SrOnly/styles.tsx +0 -19
  741. package/dist/lib/components/SrOnly/types.ts +0 -3
  742. package/dist/lib/components/Stepper/Step.tsx +0 -122
  743. package/dist/lib/components/Stepper/Stepper.tsx +0 -92
  744. package/dist/lib/components/Stepper/index.ts +0 -2
  745. package/dist/lib/components/Stepper/styles.tsx +0 -113
  746. package/dist/lib/components/Stepper/types.ts +0 -42
  747. package/dist/lib/components/Sticky/Sticky.tsx +0 -44
  748. package/dist/lib/components/Sticky/styles.tsx +0 -13
  749. package/dist/lib/components/Sticky/types.ts +0 -5
  750. package/dist/lib/components/Table/TBody.tsx +0 -27
  751. package/dist/lib/components/Table/THead.tsx +0 -27
  752. package/dist/lib/components/Table/Table.tsx +0 -128
  753. package/dist/lib/components/Table/Td.tsx +0 -35
  754. package/dist/lib/components/Table/Tr.tsx +0 -23
  755. package/dist/lib/components/Table/index.ts +0 -5
  756. package/dist/lib/components/Table/styles.tsx +0 -112
  757. package/dist/lib/components/Table/types.ts +0 -40
  758. package/dist/lib/components/Tabs/TabButton.tsx +0 -54
  759. package/dist/lib/components/Tabs/TabItem.tsx +0 -45
  760. package/dist/lib/components/Tabs/Tabs.tsx +0 -140
  761. package/dist/lib/components/Tabs/TabsButtonsContainer.tsx +0 -48
  762. package/dist/lib/components/Tabs/TabsContainer.tsx +0 -36
  763. package/dist/lib/components/Tabs/index.ts +0 -5
  764. package/dist/lib/components/Tabs/styles.tsx +0 -176
  765. package/dist/lib/components/Tabs/types.ts +0 -48
  766. package/dist/lib/components/Tag/Tag.tsx +0 -101
  767. package/dist/lib/components/Tag/styles.tsx +0 -39
  768. package/dist/lib/components/Tag/types.ts +0 -41
  769. package/dist/lib/components/Text/Text.tsx +0 -71
  770. package/dist/lib/components/Text/styles.tsx +0 -250
  771. package/dist/lib/components/Text/subtypes.ts +0 -13
  772. package/dist/lib/components/Text/templates/Blockquote.tsx +0 -28
  773. package/dist/lib/components/Text/templates/Dl.tsx +0 -28
  774. package/dist/lib/components/Text/templates/Em.tsx +0 -28
  775. package/dist/lib/components/Text/templates/H1.tsx +0 -30
  776. package/dist/lib/components/Text/templates/H2.tsx +0 -30
  777. package/dist/lib/components/Text/templates/H3.tsx +0 -30
  778. package/dist/lib/components/Text/templates/H4.tsx +0 -30
  779. package/dist/lib/components/Text/templates/H5.tsx +0 -30
  780. package/dist/lib/components/Text/templates/H6.tsx +0 -28
  781. package/dist/lib/components/Text/templates/Ol.tsx +0 -28
  782. package/dist/lib/components/Text/templates/P.tsx +0 -28
  783. package/dist/lib/components/Text/templates/Small.tsx +0 -28
  784. package/dist/lib/components/Text/templates/Strong.tsx +0 -28
  785. package/dist/lib/components/Text/templates/Ul.tsx +0 -28
  786. package/dist/lib/components/Text/types.ts +0 -26
  787. package/dist/lib/components/TextIcon/TextIcon.tsx +0 -100
  788. package/dist/lib/components/TextIcon/index.ts +0 -1
  789. package/dist/lib/components/TextIcon/styles.tsx +0 -36
  790. package/dist/lib/components/TextIcon/types.ts +0 -19
  791. package/dist/lib/components/TextIcon/utils.ts +0 -56
  792. package/dist/lib/components/Timepicker/Timepicker.tsx +0 -306
  793. package/dist/lib/components/Timepicker/index.ts +0 -1
  794. package/dist/lib/components/Timepicker/styles.tsx +0 -32
  795. package/dist/lib/components/Timepicker/types.ts +0 -67
  796. package/dist/lib/components/Toast/Toast.tsx +0 -202
  797. package/dist/lib/components/Toast/Toaster.tsx +0 -156
  798. package/dist/lib/components/Toast/index.ts +0 -1
  799. package/dist/lib/components/Toast/styles.tsx +0 -247
  800. package/dist/lib/components/Toast/types.ts +0 -30
  801. package/dist/lib/components/Tooltip/Tooltip.tsx +0 -129
  802. package/dist/lib/components/Tooltip/styles.tsx +0 -149
  803. package/dist/lib/components/Tooltip/types.ts +0 -21
  804. package/dist/lib/components/Truncate/Truncate.tsx +0 -128
  805. package/dist/lib/components/Truncate/index.ts +0 -1
  806. package/dist/lib/components/Truncate/styles.tsx +0 -36
  807. package/dist/lib/components/Truncate/types.ts +0 -5
  808. package/dist/lib/components/Video/Video.tsx +0 -74
  809. package/dist/lib/components/Video/index.ts +0 -1
  810. package/dist/lib/components/Video/styles.tsx +0 -22
  811. package/dist/lib/components/Video/types.ts +0 -20
  812. package/dist/lib/components/Wrapper/Wrapper.tsx +0 -50
  813. package/dist/lib/components/Wrapper/styles.tsx +0 -33
  814. package/dist/lib/components/Wrapper/types.ts +0 -7
  815. package/dist/lib/components/Youtube/Youtube.tsx +0 -49
  816. package/dist/lib/components/Youtube/index.ts +0 -1
  817. package/dist/lib/components/Youtube/styles.tsx +0 -18
  818. package/dist/lib/components/Youtube/types.ts +0 -10
  819. package/dist/lib/context/Theme.context.tsx +0 -116
  820. package/dist/lib/context/Toaster/Toaster.context.tsx +0 -131
  821. package/dist/lib/context/Toaster/index.ts +0 -3
  822. package/dist/lib/context/Toaster/toast.reducer.ts +0 -34
  823. package/dist/lib/design-tokens.ts +0 -2217
  824. package/dist/lib/hooks/useClickOutside.tsx +0 -42
  825. package/dist/lib/hooks/useCopyToClipboard.tsx +0 -38
  826. package/dist/lib/hooks/useDebounce.tsx +0 -26
  827. package/dist/lib/hooks/useExportData.tsx +0 -65
  828. package/dist/lib/hooks/useFetch.tsx +0 -30
  829. package/dist/lib/hooks/useForm.tsx +0 -38
  830. package/dist/lib/hooks/useIsOverflow.ts +0 -46
  831. package/dist/lib/hooks/useKeyPress.tsx +0 -101
  832. package/dist/lib/hooks/useMaxWidth.tsx +0 -32
  833. package/dist/lib/hooks/useMergeRefs.ts +0 -36
  834. package/dist/lib/hooks/useMinWidth.tsx +0 -32
  835. package/dist/lib/hooks/usePaginatedData.tsx +0 -42
  836. package/dist/lib/hooks/usePagination.tsx +0 -122
  837. package/dist/lib/hooks/useTouchScreen.tsx +0 -25
  838. package/dist/lib/hooks/useTranslation.tsx +0 -43
  839. package/dist/lib/icons/ArrowUp.tsx +0 -31
  840. package/dist/lib/icons/Bold.tsx +0 -31
  841. package/dist/lib/icons/Calendar.tsx +0 -39
  842. package/dist/lib/icons/CaretDown.tsx +0 -31
  843. package/dist/lib/icons/Check.tsx +0 -31
  844. package/dist/lib/icons/CheckCircle.tsx +0 -37
  845. package/dist/lib/icons/ChevronDown.tsx +0 -31
  846. package/dist/lib/icons/ChevronLeft.tsx +0 -31
  847. package/dist/lib/icons/ChevronRight.tsx +0 -31
  848. package/dist/lib/icons/ChevronUp.tsx +0 -31
  849. package/dist/lib/icons/Clipboard.tsx +0 -31
  850. package/dist/lib/icons/Clock.tsx +0 -34
  851. package/dist/lib/icons/Close.tsx +0 -31
  852. package/dist/lib/icons/CloseCircle.tsx +0 -37
  853. package/dist/lib/icons/Code.tsx +0 -31
  854. package/dist/lib/icons/CodeBlock.tsx +0 -41
  855. package/dist/lib/icons/Comment.tsx +0 -41
  856. package/dist/lib/icons/Drag.tsx +0 -31
  857. package/dist/lib/icons/Edit.tsx +0 -37
  858. package/dist/lib/icons/EditorCode.tsx +0 -35
  859. package/dist/lib/icons/EditorLive.tsx +0 -35
  860. package/dist/lib/icons/EditorPreview.tsx +0 -35
  861. package/dist/lib/icons/Hide.tsx +0 -31
  862. package/dist/lib/icons/Image.tsx +0 -41
  863. package/dist/lib/icons/Italic.tsx +0 -31
  864. package/dist/lib/icons/Link.tsx +0 -35
  865. package/dist/lib/icons/Minus.tsx +0 -28
  866. package/dist/lib/icons/OrderedList.tsx +0 -31
  867. package/dist/lib/icons/Plus.tsx +0 -31
  868. package/dist/lib/icons/Quote.tsx +0 -31
  869. package/dist/lib/icons/Search.tsx +0 -37
  870. package/dist/lib/icons/Send.tsx +0 -31
  871. package/dist/lib/icons/Separator.tsx +0 -31
  872. package/dist/lib/icons/Show.tsx +0 -37
  873. package/dist/lib/icons/Star.tsx +0 -31
  874. package/dist/lib/icons/StarFull.tsx +0 -31
  875. package/dist/lib/icons/Strikethrough.tsx +0 -31
  876. package/dist/lib/icons/Underline.tsx +0 -31
  877. package/dist/lib/icons/UnorderedList.tsx +0 -31
  878. package/dist/lib/icons/index.ts +0 -39
  879. package/dist/lib/icons/styles.tsx +0 -17
  880. package/dist/lib/icons/types.ts +0 -9
  881. package/dist/lib/index.css +0 -1491
  882. package/dist/lib/index.ts +0 -159
  883. package/dist/lib/lib-utils/append-styles.ts +0 -7
  884. package/dist/lib/lib-utils/colors-maps.ts +0 -174
  885. package/dist/lib/lib-utils/generate-lib-tokens.ts +0 -38
  886. package/dist/lib/lib-utils/get-highlighted-text.tsx +0 -29
  887. package/dist/lib/lib-utils/get-icon-size-from-font.ts +0 -25
  888. package/dist/lib/lib-utils/index.ts +0 -9
  889. package/dist/lib/lib-utils/round-icon-size.ts +0 -5
  890. package/dist/lib/modules-declare.d.ts +0 -19
  891. package/dist/lib/types/component-items.ts +0 -511
  892. package/dist/lib/types/components-props.ts +0 -80
  893. package/dist/lib/types/generate-int-range.ts +0 -17
  894. package/dist/lib/types/global.ts +0 -436
  895. package/dist/lib/types/index.ts +0 -5
  896. package/dist/lib/types/theme.ts +0 -166
  897. package/dist/lib/utils/StyleSheetManager.tsx +0 -30
  898. package/dist/lib/utils/index.ts +0 -4
  899. package/dist/lib/utils/lib-tokens.json +0 -860
  900. package/dist/lib/utils/linkify-text.tsx +0 -26
  901. package/dist/lib/utils/options-markdown.ts +0 -132
  902. package/dist/lib/utils/set-default-theme.ts +0 -12
  903. package/dist/styles-BCSPldCD.js +0 -16
  904. package/dist/styles-CtcGw3Gv.cjs +0 -7
  905. /package/{license.md → LICENSE} +0 -0
  906. /package/{dist → src}/lib/components/Accordion/index.ts +0 -0
  907. /package/{dist → src}/lib/components/Alert/index.ts +0 -0
  908. /package/{dist → src}/lib/components/Aside/index.ts +0 -0
  909. /package/{dist → src}/lib/components/Autocomplete/index.ts +0 -0
  910. /package/{dist → src}/lib/components/Avatar/index.ts +0 -0
  911. /package/{dist → src}/lib/components/BackToTop/index.ts +0 -0
  912. /package/{dist → src}/lib/components/Badge/index.ts +0 -0
  913. /package/{dist → src}/lib/components/Breadcrumbs/index.ts +0 -0
  914. /package/{dist → src}/lib/components/Burger/index.ts +0 -0
  915. /package/{dist → src}/lib/components/Button/index.ts +0 -0
  916. /package/{dist → src}/lib/components/ButtonGroup/index.ts +0 -0
  917. /package/{dist → src}/lib/components/ButtonIcon/index.ts +0 -0
  918. /package/{dist → src}/lib/components/CodeContainer/index.ts +0 -0
  919. /package/{dist → src}/lib/components/Cover/index.ts +0 -0
  920. /package/{dist → src}/lib/components/DragList/index.ts +0 -0
  921. /package/{dist → src}/lib/components/Drawer/index.ts +0 -0
  922. /package/{dist → src}/lib/components/Fade/index.ts +0 -0
  923. /package/{dist → src}/lib/components/Fade/types.ts +0 -0
  924. /package/{dist → src}/lib/components/Fieldset/index.ts +0 -0
  925. /package/{dist → src}/lib/components/Flexbox/index.ts +0 -0
  926. /package/{dist → src}/lib/components/Form/index.ts +0 -0
  927. /package/{dist → src}/lib/components/Grid/index.ts +0 -0
  928. /package/{dist → src}/lib/components/Header/index.ts +0 -0
  929. /package/{dist → src}/lib/components/Highlight/index.ts +0 -0
  930. /package/{dist → src}/lib/components/Hr/index.ts +0 -0
  931. /package/{dist → src}/lib/components/Image/index.ts +0 -0
  932. /package/{dist → src}/lib/components/Input/index.ts +0 -0
  933. /package/{dist → src}/lib/components/InputCheck/index.ts +0 -0
  934. /package/{dist → src}/lib/components/InputContainer/index.ts +0 -0
  935. /package/{dist → src}/lib/components/InputCounter/index.ts +0 -0
  936. /package/{dist → src}/lib/components/InputImage/index.ts +0 -0
  937. /package/{dist → src}/lib/components/InputPhone/index.ts +0 -0
  938. /package/{dist → src}/lib/components/InputPhone/utils/countries.ts +0 -0
  939. /package/{dist → src}/lib/components/InputPhone/utils/flags/ac.svg +0 -0
  940. /package/{dist → src}/lib/components/InputPhone/utils/flags/ad.svg +0 -0
  941. /package/{dist → src}/lib/components/InputPhone/utils/flags/ae.svg +0 -0
  942. /package/{dist → src}/lib/components/InputPhone/utils/flags/af.svg +0 -0
  943. /package/{dist → src}/lib/components/InputPhone/utils/flags/ag.svg +0 -0
  944. /package/{dist → src}/lib/components/InputPhone/utils/flags/ai.svg +0 -0
  945. /package/{dist → src}/lib/components/InputPhone/utils/flags/al.svg +0 -0
  946. /package/{dist → src}/lib/components/InputPhone/utils/flags/am.svg +0 -0
  947. /package/{dist → src}/lib/components/InputPhone/utils/flags/ao.svg +0 -0
  948. /package/{dist → src}/lib/components/InputPhone/utils/flags/aq.svg +0 -0
  949. /package/{dist → src}/lib/components/InputPhone/utils/flags/ar.svg +0 -0
  950. /package/{dist → src}/lib/components/InputPhone/utils/flags/as.svg +0 -0
  951. /package/{dist → src}/lib/components/InputPhone/utils/flags/at.svg +0 -0
  952. /package/{dist → src}/lib/components/InputPhone/utils/flags/au.svg +0 -0
  953. /package/{dist → src}/lib/components/InputPhone/utils/flags/aw.svg +0 -0
  954. /package/{dist → src}/lib/components/InputPhone/utils/flags/ax.svg +0 -0
  955. /package/{dist → src}/lib/components/InputPhone/utils/flags/az.svg +0 -0
  956. /package/{dist → src}/lib/components/InputPhone/utils/flags/ba.svg +0 -0
  957. /package/{dist → src}/lib/components/InputPhone/utils/flags/bb.svg +0 -0
  958. /package/{dist → src}/lib/components/InputPhone/utils/flags/bd.svg +0 -0
  959. /package/{dist → src}/lib/components/InputPhone/utils/flags/be.svg +0 -0
  960. /package/{dist → src}/lib/components/InputPhone/utils/flags/bf.svg +0 -0
  961. /package/{dist → src}/lib/components/InputPhone/utils/flags/bg.svg +0 -0
  962. /package/{dist → src}/lib/components/InputPhone/utils/flags/bh.svg +0 -0
  963. /package/{dist → src}/lib/components/InputPhone/utils/flags/bi.svg +0 -0
  964. /package/{dist → src}/lib/components/InputPhone/utils/flags/bj.svg +0 -0
  965. /package/{dist → src}/lib/components/InputPhone/utils/flags/bl.svg +0 -0
  966. /package/{dist → src}/lib/components/InputPhone/utils/flags/bm.svg +0 -0
  967. /package/{dist → src}/lib/components/InputPhone/utils/flags/bn.svg +0 -0
  968. /package/{dist → src}/lib/components/InputPhone/utils/flags/bo.svg +0 -0
  969. /package/{dist → src}/lib/components/InputPhone/utils/flags/bq.svg +0 -0
  970. /package/{dist → src}/lib/components/InputPhone/utils/flags/br.svg +0 -0
  971. /package/{dist → src}/lib/components/InputPhone/utils/flags/bs.svg +0 -0
  972. /package/{dist → src}/lib/components/InputPhone/utils/flags/bt.svg +0 -0
  973. /package/{dist → src}/lib/components/InputPhone/utils/flags/bv.svg +0 -0
  974. /package/{dist → src}/lib/components/InputPhone/utils/flags/bw.svg +0 -0
  975. /package/{dist → src}/lib/components/InputPhone/utils/flags/by.svg +0 -0
  976. /package/{dist → src}/lib/components/InputPhone/utils/flags/bz.svg +0 -0
  977. /package/{dist → src}/lib/components/InputPhone/utils/flags/ca.svg +0 -0
  978. /package/{dist → src}/lib/components/InputPhone/utils/flags/cc.svg +0 -0
  979. /package/{dist → src}/lib/components/InputPhone/utils/flags/cd.svg +0 -0
  980. /package/{dist → src}/lib/components/InputPhone/utils/flags/cefta.svg +0 -0
  981. /package/{dist → src}/lib/components/InputPhone/utils/flags/cf.svg +0 -0
  982. /package/{dist → src}/lib/components/InputPhone/utils/flags/cg.svg +0 -0
  983. /package/{dist → src}/lib/components/InputPhone/utils/flags/ch.svg +0 -0
  984. /package/{dist → src}/lib/components/InputPhone/utils/flags/ci.svg +0 -0
  985. /package/{dist → src}/lib/components/InputPhone/utils/flags/ck.svg +0 -0
  986. /package/{dist → src}/lib/components/InputPhone/utils/flags/cl.svg +0 -0
  987. /package/{dist → src}/lib/components/InputPhone/utils/flags/cm.svg +0 -0
  988. /package/{dist → src}/lib/components/InputPhone/utils/flags/cn.svg +0 -0
  989. /package/{dist → src}/lib/components/InputPhone/utils/flags/co.svg +0 -0
  990. /package/{dist → src}/lib/components/InputPhone/utils/flags/cp.svg +0 -0
  991. /package/{dist → src}/lib/components/InputPhone/utils/flags/cr.svg +0 -0
  992. /package/{dist → src}/lib/components/InputPhone/utils/flags/cu.svg +0 -0
  993. /package/{dist → src}/lib/components/InputPhone/utils/flags/cv.svg +0 -0
  994. /package/{dist → src}/lib/components/InputPhone/utils/flags/cw.svg +0 -0
  995. /package/{dist → src}/lib/components/InputPhone/utils/flags/cx.svg +0 -0
  996. /package/{dist → src}/lib/components/InputPhone/utils/flags/cy.svg +0 -0
  997. /package/{dist → src}/lib/components/InputPhone/utils/flags/cz.svg +0 -0
  998. /package/{dist → src}/lib/components/InputPhone/utils/flags/de.svg +0 -0
  999. /package/{dist → src}/lib/components/InputPhone/utils/flags/dg.svg +0 -0
  1000. /package/{dist → src}/lib/components/InputPhone/utils/flags/dj.svg +0 -0
  1001. /package/{dist → src}/lib/components/InputPhone/utils/flags/dk.svg +0 -0
  1002. /package/{dist → src}/lib/components/InputPhone/utils/flags/dm.svg +0 -0
  1003. /package/{dist → src}/lib/components/InputPhone/utils/flags/do.svg +0 -0
  1004. /package/{dist → src}/lib/components/InputPhone/utils/flags/dz.svg +0 -0
  1005. /package/{dist → src}/lib/components/InputPhone/utils/flags/ea.svg +0 -0
  1006. /package/{dist → src}/lib/components/InputPhone/utils/flags/ec.svg +0 -0
  1007. /package/{dist → src}/lib/components/InputPhone/utils/flags/ee.svg +0 -0
  1008. /package/{dist → src}/lib/components/InputPhone/utils/flags/eg.svg +0 -0
  1009. /package/{dist → src}/lib/components/InputPhone/utils/flags/eh.svg +0 -0
  1010. /package/{dist → src}/lib/components/InputPhone/utils/flags/er.svg +0 -0
  1011. /package/{dist → src}/lib/components/InputPhone/utils/flags/es-ct.svg +0 -0
  1012. /package/{dist → src}/lib/components/InputPhone/utils/flags/es-ga.svg +0 -0
  1013. /package/{dist → src}/lib/components/InputPhone/utils/flags/es.svg +0 -0
  1014. /package/{dist → src}/lib/components/InputPhone/utils/flags/et.svg +0 -0
  1015. /package/{dist → src}/lib/components/InputPhone/utils/flags/eu.svg +0 -0
  1016. /package/{dist → src}/lib/components/InputPhone/utils/flags/fi.svg +0 -0
  1017. /package/{dist → src}/lib/components/InputPhone/utils/flags/fj.svg +0 -0
  1018. /package/{dist → src}/lib/components/InputPhone/utils/flags/fk.svg +0 -0
  1019. /package/{dist → src}/lib/components/InputPhone/utils/flags/fm.svg +0 -0
  1020. /package/{dist → src}/lib/components/InputPhone/utils/flags/fo.svg +0 -0
  1021. /package/{dist → src}/lib/components/InputPhone/utils/flags/fr.svg +0 -0
  1022. /package/{dist → src}/lib/components/InputPhone/utils/flags/ga.svg +0 -0
  1023. /package/{dist → src}/lib/components/InputPhone/utils/flags/gb-eng.svg +0 -0
  1024. /package/{dist → src}/lib/components/InputPhone/utils/flags/gb-nir.svg +0 -0
  1025. /package/{dist → src}/lib/components/InputPhone/utils/flags/gb-sct.svg +0 -0
  1026. /package/{dist → src}/lib/components/InputPhone/utils/flags/gb-wls.svg +0 -0
  1027. /package/{dist → src}/lib/components/InputPhone/utils/flags/gb.svg +0 -0
  1028. /package/{dist → src}/lib/components/InputPhone/utils/flags/gd.svg +0 -0
  1029. /package/{dist → src}/lib/components/InputPhone/utils/flags/ge.svg +0 -0
  1030. /package/{dist → src}/lib/components/InputPhone/utils/flags/gf.svg +0 -0
  1031. /package/{dist → src}/lib/components/InputPhone/utils/flags/gg.svg +0 -0
  1032. /package/{dist → src}/lib/components/InputPhone/utils/flags/gh.svg +0 -0
  1033. /package/{dist → src}/lib/components/InputPhone/utils/flags/gi.svg +0 -0
  1034. /package/{dist → src}/lib/components/InputPhone/utils/flags/gl.svg +0 -0
  1035. /package/{dist → src}/lib/components/InputPhone/utils/flags/gm.svg +0 -0
  1036. /package/{dist → src}/lib/components/InputPhone/utils/flags/gn.svg +0 -0
  1037. /package/{dist → src}/lib/components/InputPhone/utils/flags/gp.svg +0 -0
  1038. /package/{dist → src}/lib/components/InputPhone/utils/flags/gq.svg +0 -0
  1039. /package/{dist → src}/lib/components/InputPhone/utils/flags/gr.svg +0 -0
  1040. /package/{dist → src}/lib/components/InputPhone/utils/flags/gs.svg +0 -0
  1041. /package/{dist → src}/lib/components/InputPhone/utils/flags/gt.svg +0 -0
  1042. /package/{dist → src}/lib/components/InputPhone/utils/flags/gu.svg +0 -0
  1043. /package/{dist → src}/lib/components/InputPhone/utils/flags/gw.svg +0 -0
  1044. /package/{dist → src}/lib/components/InputPhone/utils/flags/gy.svg +0 -0
  1045. /package/{dist → src}/lib/components/InputPhone/utils/flags/hk.svg +0 -0
  1046. /package/{dist → src}/lib/components/InputPhone/utils/flags/hm.svg +0 -0
  1047. /package/{dist → src}/lib/components/InputPhone/utils/flags/hn.svg +0 -0
  1048. /package/{dist → src}/lib/components/InputPhone/utils/flags/hr.svg +0 -0
  1049. /package/{dist → src}/lib/components/InputPhone/utils/flags/ht.svg +0 -0
  1050. /package/{dist → src}/lib/components/InputPhone/utils/flags/hu.svg +0 -0
  1051. /package/{dist → src}/lib/components/InputPhone/utils/flags/ic.svg +0 -0
  1052. /package/{dist → src}/lib/components/InputPhone/utils/flags/id.svg +0 -0
  1053. /package/{dist → src}/lib/components/InputPhone/utils/flags/ie.svg +0 -0
  1054. /package/{dist → src}/lib/components/InputPhone/utils/flags/il.svg +0 -0
  1055. /package/{dist → src}/lib/components/InputPhone/utils/flags/im.svg +0 -0
  1056. /package/{dist → src}/lib/components/InputPhone/utils/flags/in.svg +0 -0
  1057. /package/{dist → src}/lib/components/InputPhone/utils/flags/io.svg +0 -0
  1058. /package/{dist → src}/lib/components/InputPhone/utils/flags/iq.svg +0 -0
  1059. /package/{dist → src}/lib/components/InputPhone/utils/flags/ir.svg +0 -0
  1060. /package/{dist → src}/lib/components/InputPhone/utils/flags/is.svg +0 -0
  1061. /package/{dist → src}/lib/components/InputPhone/utils/flags/it.svg +0 -0
  1062. /package/{dist → src}/lib/components/InputPhone/utils/flags/je.svg +0 -0
  1063. /package/{dist → src}/lib/components/InputPhone/utils/flags/jm.svg +0 -0
  1064. /package/{dist → src}/lib/components/InputPhone/utils/flags/jo.svg +0 -0
  1065. /package/{dist → src}/lib/components/InputPhone/utils/flags/jp.svg +0 -0
  1066. /package/{dist → src}/lib/components/InputPhone/utils/flags/ke.svg +0 -0
  1067. /package/{dist → src}/lib/components/InputPhone/utils/flags/kg.svg +0 -0
  1068. /package/{dist → src}/lib/components/InputPhone/utils/flags/kh.svg +0 -0
  1069. /package/{dist → src}/lib/components/InputPhone/utils/flags/ki.svg +0 -0
  1070. /package/{dist → src}/lib/components/InputPhone/utils/flags/km.svg +0 -0
  1071. /package/{dist → src}/lib/components/InputPhone/utils/flags/kn.svg +0 -0
  1072. /package/{dist → src}/lib/components/InputPhone/utils/flags/kp.svg +0 -0
  1073. /package/{dist → src}/lib/components/InputPhone/utils/flags/kr.svg +0 -0
  1074. /package/{dist → src}/lib/components/InputPhone/utils/flags/kw.svg +0 -0
  1075. /package/{dist → src}/lib/components/InputPhone/utils/flags/ky.svg +0 -0
  1076. /package/{dist → src}/lib/components/InputPhone/utils/flags/kz.svg +0 -0
  1077. /package/{dist → src}/lib/components/InputPhone/utils/flags/la.svg +0 -0
  1078. /package/{dist → src}/lib/components/InputPhone/utils/flags/lb.svg +0 -0
  1079. /package/{dist → src}/lib/components/InputPhone/utils/flags/lc.svg +0 -0
  1080. /package/{dist → src}/lib/components/InputPhone/utils/flags/li.svg +0 -0
  1081. /package/{dist → src}/lib/components/InputPhone/utils/flags/lk.svg +0 -0
  1082. /package/{dist → src}/lib/components/InputPhone/utils/flags/lr.svg +0 -0
  1083. /package/{dist → src}/lib/components/InputPhone/utils/flags/ls.svg +0 -0
  1084. /package/{dist → src}/lib/components/InputPhone/utils/flags/lt.svg +0 -0
  1085. /package/{dist → src}/lib/components/InputPhone/utils/flags/lu.svg +0 -0
  1086. /package/{dist → src}/lib/components/InputPhone/utils/flags/lv.svg +0 -0
  1087. /package/{dist → src}/lib/components/InputPhone/utils/flags/ly.svg +0 -0
  1088. /package/{dist → src}/lib/components/InputPhone/utils/flags/ma.svg +0 -0
  1089. /package/{dist → src}/lib/components/InputPhone/utils/flags/mc.svg +0 -0
  1090. /package/{dist → src}/lib/components/InputPhone/utils/flags/md.svg +0 -0
  1091. /package/{dist → src}/lib/components/InputPhone/utils/flags/me.svg +0 -0
  1092. /package/{dist → src}/lib/components/InputPhone/utils/flags/mf.svg +0 -0
  1093. /package/{dist → src}/lib/components/InputPhone/utils/flags/mg.svg +0 -0
  1094. /package/{dist → src}/lib/components/InputPhone/utils/flags/mh.svg +0 -0
  1095. /package/{dist → src}/lib/components/InputPhone/utils/flags/mk.svg +0 -0
  1096. /package/{dist → src}/lib/components/InputPhone/utils/flags/ml.svg +0 -0
  1097. /package/{dist → src}/lib/components/InputPhone/utils/flags/mm.svg +0 -0
  1098. /package/{dist → src}/lib/components/InputPhone/utils/flags/mn.svg +0 -0
  1099. /package/{dist → src}/lib/components/InputPhone/utils/flags/mo.svg +0 -0
  1100. /package/{dist → src}/lib/components/InputPhone/utils/flags/mp.svg +0 -0
  1101. /package/{dist → src}/lib/components/InputPhone/utils/flags/mq.svg +0 -0
  1102. /package/{dist → src}/lib/components/InputPhone/utils/flags/mr.svg +0 -0
  1103. /package/{dist → src}/lib/components/InputPhone/utils/flags/ms.svg +0 -0
  1104. /package/{dist → src}/lib/components/InputPhone/utils/flags/mt.svg +0 -0
  1105. /package/{dist → src}/lib/components/InputPhone/utils/flags/mu.svg +0 -0
  1106. /package/{dist → src}/lib/components/InputPhone/utils/flags/mv.svg +0 -0
  1107. /package/{dist → src}/lib/components/InputPhone/utils/flags/mw.svg +0 -0
  1108. /package/{dist → src}/lib/components/InputPhone/utils/flags/mx.svg +0 -0
  1109. /package/{dist → src}/lib/components/InputPhone/utils/flags/my.svg +0 -0
  1110. /package/{dist → src}/lib/components/InputPhone/utils/flags/mz.svg +0 -0
  1111. /package/{dist → src}/lib/components/InputPhone/utils/flags/na.svg +0 -0
  1112. /package/{dist → src}/lib/components/InputPhone/utils/flags/nc.svg +0 -0
  1113. /package/{dist → src}/lib/components/InputPhone/utils/flags/ne.svg +0 -0
  1114. /package/{dist → src}/lib/components/InputPhone/utils/flags/nf.svg +0 -0
  1115. /package/{dist → src}/lib/components/InputPhone/utils/flags/ng.svg +0 -0
  1116. /package/{dist → src}/lib/components/InputPhone/utils/flags/ni.svg +0 -0
  1117. /package/{dist → src}/lib/components/InputPhone/utils/flags/nl.svg +0 -0
  1118. /package/{dist → src}/lib/components/InputPhone/utils/flags/no.svg +0 -0
  1119. /package/{dist → src}/lib/components/InputPhone/utils/flags/np.svg +0 -0
  1120. /package/{dist → src}/lib/components/InputPhone/utils/flags/nr.svg +0 -0
  1121. /package/{dist → src}/lib/components/InputPhone/utils/flags/nu.svg +0 -0
  1122. /package/{dist → src}/lib/components/InputPhone/utils/flags/nz.svg +0 -0
  1123. /package/{dist → src}/lib/components/InputPhone/utils/flags/om.svg +0 -0
  1124. /package/{dist → src}/lib/components/InputPhone/utils/flags/pa.svg +0 -0
  1125. /package/{dist → src}/lib/components/InputPhone/utils/flags/pe.svg +0 -0
  1126. /package/{dist → src}/lib/components/InputPhone/utils/flags/pf.svg +0 -0
  1127. /package/{dist → src}/lib/components/InputPhone/utils/flags/pg.svg +0 -0
  1128. /package/{dist → src}/lib/components/InputPhone/utils/flags/ph.svg +0 -0
  1129. /package/{dist → src}/lib/components/InputPhone/utils/flags/pk.svg +0 -0
  1130. /package/{dist → src}/lib/components/InputPhone/utils/flags/pl.svg +0 -0
  1131. /package/{dist → src}/lib/components/InputPhone/utils/flags/pm.svg +0 -0
  1132. /package/{dist → src}/lib/components/InputPhone/utils/flags/pn.svg +0 -0
  1133. /package/{dist → src}/lib/components/InputPhone/utils/flags/pr.svg +0 -0
  1134. /package/{dist → src}/lib/components/InputPhone/utils/flags/ps.svg +0 -0
  1135. /package/{dist → src}/lib/components/InputPhone/utils/flags/pt.svg +0 -0
  1136. /package/{dist → src}/lib/components/InputPhone/utils/flags/pw.svg +0 -0
  1137. /package/{dist → src}/lib/components/InputPhone/utils/flags/py.svg +0 -0
  1138. /package/{dist → src}/lib/components/InputPhone/utils/flags/qa.svg +0 -0
  1139. /package/{dist → src}/lib/components/InputPhone/utils/flags/re.svg +0 -0
  1140. /package/{dist → src}/lib/components/InputPhone/utils/flags/ro.svg +0 -0
  1141. /package/{dist → src}/lib/components/InputPhone/utils/flags/rs.svg +0 -0
  1142. /package/{dist → src}/lib/components/InputPhone/utils/flags/ru.svg +0 -0
  1143. /package/{dist → src}/lib/components/InputPhone/utils/flags/rw.svg +0 -0
  1144. /package/{dist → src}/lib/components/InputPhone/utils/flags/sa.svg +0 -0
  1145. /package/{dist → src}/lib/components/InputPhone/utils/flags/sb.svg +0 -0
  1146. /package/{dist → src}/lib/components/InputPhone/utils/flags/sc.svg +0 -0
  1147. /package/{dist → src}/lib/components/InputPhone/utils/flags/sd.svg +0 -0
  1148. /package/{dist → src}/lib/components/InputPhone/utils/flags/se.svg +0 -0
  1149. /package/{dist → src}/lib/components/InputPhone/utils/flags/sg.svg +0 -0
  1150. /package/{dist → src}/lib/components/InputPhone/utils/flags/sh.svg +0 -0
  1151. /package/{dist → src}/lib/components/InputPhone/utils/flags/si.svg +0 -0
  1152. /package/{dist → src}/lib/components/InputPhone/utils/flags/sj.svg +0 -0
  1153. /package/{dist → src}/lib/components/InputPhone/utils/flags/sk.svg +0 -0
  1154. /package/{dist → src}/lib/components/InputPhone/utils/flags/sl.svg +0 -0
  1155. /package/{dist → src}/lib/components/InputPhone/utils/flags/sm.svg +0 -0
  1156. /package/{dist → src}/lib/components/InputPhone/utils/flags/sn.svg +0 -0
  1157. /package/{dist → src}/lib/components/InputPhone/utils/flags/so.svg +0 -0
  1158. /package/{dist → src}/lib/components/InputPhone/utils/flags/sr.svg +0 -0
  1159. /package/{dist → src}/lib/components/InputPhone/utils/flags/ss.svg +0 -0
  1160. /package/{dist → src}/lib/components/InputPhone/utils/flags/st.svg +0 -0
  1161. /package/{dist → src}/lib/components/InputPhone/utils/flags/sv.svg +0 -0
  1162. /package/{dist → src}/lib/components/InputPhone/utils/flags/sx.svg +0 -0
  1163. /package/{dist → src}/lib/components/InputPhone/utils/flags/sy.svg +0 -0
  1164. /package/{dist → src}/lib/components/InputPhone/utils/flags/sz.svg +0 -0
  1165. /package/{dist → src}/lib/components/InputPhone/utils/flags/ta.svg +0 -0
  1166. /package/{dist → src}/lib/components/InputPhone/utils/flags/tc.svg +0 -0
  1167. /package/{dist → src}/lib/components/InputPhone/utils/flags/td.svg +0 -0
  1168. /package/{dist → src}/lib/components/InputPhone/utils/flags/tf.svg +0 -0
  1169. /package/{dist → src}/lib/components/InputPhone/utils/flags/tg.svg +0 -0
  1170. /package/{dist → src}/lib/components/InputPhone/utils/flags/th.svg +0 -0
  1171. /package/{dist → src}/lib/components/InputPhone/utils/flags/tj.svg +0 -0
  1172. /package/{dist → src}/lib/components/InputPhone/utils/flags/tk.svg +0 -0
  1173. /package/{dist → src}/lib/components/InputPhone/utils/flags/tl.svg +0 -0
  1174. /package/{dist → src}/lib/components/InputPhone/utils/flags/tm.svg +0 -0
  1175. /package/{dist → src}/lib/components/InputPhone/utils/flags/tn.svg +0 -0
  1176. /package/{dist → src}/lib/components/InputPhone/utils/flags/to.svg +0 -0
  1177. /package/{dist → src}/lib/components/InputPhone/utils/flags/tr.svg +0 -0
  1178. /package/{dist → src}/lib/components/InputPhone/utils/flags/tt.svg +0 -0
  1179. /package/{dist → src}/lib/components/InputPhone/utils/flags/tv.svg +0 -0
  1180. /package/{dist → src}/lib/components/InputPhone/utils/flags/tw.svg +0 -0
  1181. /package/{dist → src}/lib/components/InputPhone/utils/flags/tz.svg +0 -0
  1182. /package/{dist → src}/lib/components/InputPhone/utils/flags/ua.svg +0 -0
  1183. /package/{dist → src}/lib/components/InputPhone/utils/flags/ug.svg +0 -0
  1184. /package/{dist → src}/lib/components/InputPhone/utils/flags/um.svg +0 -0
  1185. /package/{dist → src}/lib/components/InputPhone/utils/flags/un.svg +0 -0
  1186. /package/{dist → src}/lib/components/InputPhone/utils/flags/us.svg +0 -0
  1187. /package/{dist → src}/lib/components/InputPhone/utils/flags/uy.svg +0 -0
  1188. /package/{dist → src}/lib/components/InputPhone/utils/flags/uz.svg +0 -0
  1189. /package/{dist → src}/lib/components/InputPhone/utils/flags/va.svg +0 -0
  1190. /package/{dist → src}/lib/components/InputPhone/utils/flags/vc.svg +0 -0
  1191. /package/{dist → src}/lib/components/InputPhone/utils/flags/ve.svg +0 -0
  1192. /package/{dist → src}/lib/components/InputPhone/utils/flags/vg.svg +0 -0
  1193. /package/{dist → src}/lib/components/InputPhone/utils/flags/vi.svg +0 -0
  1194. /package/{dist → src}/lib/components/InputPhone/utils/flags/vn.svg +0 -0
  1195. /package/{dist → src}/lib/components/InputPhone/utils/flags/vu.svg +0 -0
  1196. /package/{dist → src}/lib/components/InputPhone/utils/flags/wf.svg +0 -0
  1197. /package/{dist → src}/lib/components/InputPhone/utils/flags/ws.svg +0 -0
  1198. /package/{dist → src}/lib/components/InputPhone/utils/flags/xk.svg +0 -0
  1199. /package/{dist → src}/lib/components/InputPhone/utils/flags/xx.svg +0 -0
  1200. /package/{dist → src}/lib/components/InputPhone/utils/flags/ye.svg +0 -0
  1201. /package/{dist → src}/lib/components/InputPhone/utils/flags/yt.svg +0 -0
  1202. /package/{dist → src}/lib/components/InputPhone/utils/flags/za.svg +0 -0
  1203. /package/{dist → src}/lib/components/InputPhone/utils/flags/zm.svg +0 -0
  1204. /package/{dist → src}/lib/components/InputPhone/utils/flags/zw.svg +0 -0
  1205. /package/{dist → src}/lib/components/InputPin/index.ts +0 -0
  1206. /package/{dist → src}/lib/components/InputSlider/index.ts +0 -0
  1207. /package/{dist → src}/lib/components/Key/index.ts +0 -0
  1208. /package/{dist → src}/lib/components/Linkify/index.ts +0 -0
  1209. /package/{dist → src}/lib/components/Loader/index.ts +0 -0
  1210. /package/{dist → src}/lib/components/Main/index.ts +0 -0
  1211. /package/{dist → src}/lib/components/MarkdownContainer/index.ts +0 -0
  1212. /package/{dist → src}/lib/components/MarkdownEditor/index.ts +0 -0
  1213. /package/{dist → src}/lib/components/Masonry/index.ts +0 -0
  1214. /package/{dist → src}/lib/components/Modal/index.ts +0 -0
  1215. /package/{dist → src}/lib/components/PageLoading/index.ts +0 -0
  1216. /package/{dist → src}/lib/components/Pagination/index.ts +0 -0
  1217. /package/{dist → src}/lib/components/Paginator/index.ts +0 -0
  1218. /package/{dist → src}/lib/components/ProgressBar/index.ts +0 -0
  1219. /package/{dist → src}/lib/components/ProgressCircle/index.ts +0 -0
  1220. /package/{dist → src}/lib/components/Rating/index.ts +0 -0
  1221. /package/{dist → src}/lib/components/Section/index.ts +0 -0
  1222. /package/{dist → src}/lib/components/Select/index.ts +0 -0
  1223. /package/{dist → src}/lib/components/Slideshow/index.ts +0 -0
  1224. /package/{dist → src}/lib/components/Sticky/index.ts +0 -0
  1225. /package/{dist → src}/lib/components/Tag/index.ts +0 -0
  1226. /package/{dist → src}/lib/components/Text/index.ts +0 -0
  1227. /package/{dist → src}/lib/components/Tooltip/index.ts +0 -0
  1228. /package/{dist → src}/lib/components/Wrapper/index.ts +0 -0
  1229. /package/{dist → src}/lib/hooks/index.ts +0 -0
  1230. /package/{dist → src}/lib/lib-utils/transfom-search-keys.ts +0 -0
  1231. /package/{dist → src}/lib/types/require-at-least-one.ts +0 -0
@@ -0,0 +1,41 @@
1
+ import type { ReactNode } from "react"
2
+ import type { LibComponentBase, CssObjectFit, LibRadiuses } from "../../types"
3
+ import type {
4
+ ILibPaginationControls,
5
+ ILibPaginationOptions,
6
+ ILibSlideshowPagination,
7
+ } from "./subtypes"
8
+
9
+ interface ILibSlideshowBase extends LibComponentBase<HTMLDivElement> {
10
+ imgFit?: CssObjectFit
11
+ hideControls?: boolean
12
+ controls?: ILibPaginationControls
13
+ options?: ILibPaginationOptions
14
+ borderRadius?: LibRadiuses
15
+ }
16
+
17
+ interface SlideshowWithImages extends ILibSlideshowBase {
18
+ images?: Array<string>
19
+ hidePagination?: boolean
20
+ pagination?: Pick<
21
+ ILibSlideshowPagination,
22
+ | "color"
23
+ | "className"
24
+ | "hideOnTouch"
25
+ | "images"
26
+ | "pagination"
27
+ | "hidePagination"
28
+ | "position"
29
+ | "type"
30
+ >
31
+ children?: never
32
+ }
33
+
34
+ interface SlideshowWithChildren extends ILibSlideshowBase {
35
+ images?: never
36
+ hidePagination?: boolean
37
+ pagination?: ILibSlideshowPagination
38
+ children?: Array<ReactNode>
39
+ }
40
+
41
+ export type ILibSlideshow = SlideshowWithImages | SlideshowWithChildren
@@ -0,0 +1,58 @@
1
+ import { type FC } from "react"
2
+ import { clsx } from "../../utils"
3
+ import type { LibSpacers } from "../../types"
4
+ import type { ILibSticky } from "./types"
5
+
6
+ /**
7
+ * Sticky component for creating elements that stick to a specified position during scroll.
8
+ *
9
+ * @component
10
+ *
11
+ * @example
12
+ * <Sticky top="md">
13
+ * <nav>Navigation content</nav>
14
+ * </Sticky>
15
+ *
16
+ * @extends HTMLDivElement
17
+ *
18
+ * @prop {string} [props.className] - Additional CSS classes to apply to the sticky container.
19
+ * @prop {React.ElementType} [props.element="div"] - HTML element type to render as the container.
20
+ * @prop {React.Ref<any>} [props.ref] - Ref to the sticky element.
21
+ * @prop {React.ReactNode} [props.children] - Content to be positioned sticky.
22
+ * @prop {"0px" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl"} [props.top="sm"] - Distance from top when sticky positioning is active.
23
+ *
24
+ * @returns {JSX.Element} The rendered Sticky component.
25
+ *
26
+ * @see https://doc-julseb-lib-react.vercel.app/components/sticky
27
+ */
28
+ export const Sticky: FC<ILibSticky> = ({
29
+ className,
30
+ element = "div",
31
+ ref,
32
+ children,
33
+ top = "sm",
34
+ ...rest
35
+ }) => {
36
+ const Element = element
37
+
38
+ return (
39
+ <Element
40
+ ref={ref}
41
+ className={clsx("sticky", genTop[top], className)}
42
+ {...rest}
43
+ >
44
+ {children}
45
+ </Element>
46
+ )
47
+ }
48
+
49
+ const genTop: Record<LibSpacers, string> = {
50
+ "0px": "top-0",
51
+ "2xs": "top-(--spacer-2xs)",
52
+ xs: "top-(--spacer-xs)",
53
+ sm: "top-(--spacer-sm)",
54
+ md: "top-(--spacer-md)",
55
+ lg: "top-(--spacer-lg)",
56
+ xl: "top-(--spacer-xl)",
57
+ "2xl": "top-(--spacer-2xl)",
58
+ }
@@ -0,0 +1,188 @@
1
+ import { Sticky, Text, Button } from "../../../"
2
+ import type { ILibSticky } from "../../../types/components-props"
3
+ import type { ComponentPreview } from "../../../../data/components"
4
+
5
+ const StickyDemo: FC<ILibSticky> = props => {
6
+ return (
7
+ <>
8
+ <Text>
9
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean
10
+ tempus mi augue. Aenean iaculis dolor purus. Orci varius natoque
11
+ penatibus et magnis dis parturient montes, nascetur ridiculus
12
+ mus. Quisque lectus risus, luctus at luctus eget, gravida vitae
13
+ odio. Aliquam commodo fermentum odio at egestas. Sed rutrum
14
+ commodo auctor. Sed eu ullamcorper mi, accumsan lacinia urna.
15
+ Duis non placerat urna. Suspendisse vel mi eros. Mauris rutrum
16
+ sit amet erat at volutpat. In facilisis molestie gravida. Nullam
17
+ lorem nisi, porta vel arcu nec, cursus sagittis nisl. Etiam
18
+ consequat sed urna eu tincidunt. Cras sit amet justo eget est
19
+ vestibulum aliquet et vitae elit.
20
+ </Text>
21
+
22
+ <Text>
23
+ Nunc fermentum egestas orci. Aenean vehicula massa a lectus
24
+ imperdiet sodales. Integer finibus mauris dolor, non aliquam
25
+ lectus dignissim et. Ut bibendum augue nec mattis consectetur.
26
+ Vestibulum interdum leo vel tellus fringilla bibendum quis ut
27
+ tellus. Curabitur lacus diam, condimentum a ullamcorper nec,
28
+ facilisis faucibus nisl. Quisque euismod massa et erat mollis
29
+ auctor. Sed aliquet elit enim, in dictum eros fringilla vitae.
30
+ Nulla laoreet felis leo, eget faucibus tellus tincidunt vel. Nam
31
+ eget congue felis. Fusce commodo posuere libero, ut vestibulum
32
+ sem efficitur et. Maecenas eros neque, auctor eget odio vitae,
33
+ molestie cursus dui. Vestibulum dapibus elit non magna gravida,
34
+ vel pulvinar dolor tempor. Nunc vehicula sem orci, vel tempor
35
+ mauris accumsan vitae. Praesent at scelerisque elit.
36
+ </Text>
37
+
38
+ <Sticky {...props}>
39
+ <Button>Sticky button</Button>
40
+ </Sticky>
41
+
42
+ <Text>
43
+ Donec ultrices sit amet massa at semper. Cras quam mauris,
44
+ tempor a luctus vel, lacinia vel dui. In eget pellentesque
45
+ purus. Integer tempus, tortor vitae malesuada feugiat, velit
46
+ quam consequat magna, vitae venenatis risus purus a ante. Class
47
+ aptent taciti sociosqu ad litora torquent per conubia nostra,
48
+ per inceptos himenaeos. Aenean quis cursus ipsum. Proin
49
+ scelerisque metus sed pellentesque viverra. Proin consequat ante
50
+ risus, quis euismod metus varius non. Sed varius tortor sed nunc
51
+ pulvinar consequat. Etiam tortor odio, aliquam ac est et,
52
+ consequat fringilla justo. Mauris in nibh nec neque blandit
53
+ pulvinar. Sed dapibus elit nulla, nec fringilla neque dignissim
54
+ non. Phasellus eu facilisis urna. Vivamus feugiat convallis
55
+ ligula, id congue tellus tincidunt vitae. Aliquam bibendum sed
56
+ erat porta molestie.
57
+ </Text>
58
+
59
+ <Text>
60
+ Donec non cursus est. Vestibulum ante ipsum primis in faucibus
61
+ orci luctus et ultrices posuere cubilia curae; Proin elementum
62
+ consectetur orci ac faucibus. Sed sodales dolor lorem,
63
+ consectetur sollicitudin nunc viverra eget. Aliquam eget tortor
64
+ ultrices neque commodo bibendum. Mauris tellus lacus, posuere
65
+ eget tincidunt ac, maximus sit amet turpis. Donec in quam eget
66
+ quam pulvinar feugiat. Morbi ante dolor, rhoncus a pharetra in,
67
+ laoreet eget odio. Donec commodo ligula ac gravida aliquam. Nam
68
+ ac lorem at turpis facilisis tempus et egestas libero.
69
+ </Text>
70
+
71
+ <Text>
72
+ Nulla gravida, quam a ultrices molestie, ante nisl commodo nibh,
73
+ eget elementum ligula ex eget ante. Sed elementum quam nec diam
74
+ pellentesque vehicula. Phasellus elementum lacus ligula. Vivamus
75
+ ornare eros at purus vehicula, vel pulvinar diam hendrerit. Sed
76
+ non nulla fringilla, venenatis dui ut, ultrices nunc. Nam libero
77
+ arcu, varius eget lacus sit amet, facilisis ullamcorper nibh.
78
+ Duis vel neque tellus.
79
+ </Text>
80
+
81
+ <Text>
82
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean
83
+ tempus mi augue. Aenean iaculis dolor purus. Orci varius natoque
84
+ penatibus et magnis dis parturient montes, nascetur ridiculus
85
+ mus. Quisque lectus risus, luctus at luctus eget, gravida vitae
86
+ odio. Aliquam commodo fermentum odio at egestas. Sed rutrum
87
+ commodo auctor. Sed eu ullamcorper mi, accumsan lacinia urna.
88
+ Duis non placerat urna. Suspendisse vel mi eros. Mauris rutrum
89
+ sit amet erat at volutpat. In facilisis molestie gravida. Nullam
90
+ lorem nisi, porta vel arcu nec, cursus sagittis nisl. Etiam
91
+ consequat sed urna eu tincidunt. Cras sit amet justo eget est
92
+ vestibulum aliquet et vitae elit.
93
+ </Text>
94
+
95
+ <Text>
96
+ Nunc fermentum egestas orci. Aenean vehicula massa a lectus
97
+ imperdiet sodales. Integer finibus mauris dolor, non aliquam
98
+ lectus dignissim et. Ut bibendum augue nec mattis consectetur.
99
+ Vestibulum interdum leo vel tellus fringilla bibendum quis ut
100
+ tellus. Curabitur lacus diam, condimentum a ullamcorper nec,
101
+ facilisis faucibus nisl. Quisque euismod massa et erat mollis
102
+ auctor. Sed aliquet elit enim, in dictum eros fringilla vitae.
103
+ Nulla laoreet felis leo, eget faucibus tellus tincidunt vel. Nam
104
+ eget congue felis. Fusce commodo posuere libero, ut vestibulum
105
+ sem efficitur et. Maecenas eros neque, auctor eget odio vitae,
106
+ molestie cursus dui. Vestibulum dapibus elit non magna gravida,
107
+ vel pulvinar dolor tempor. Nunc vehicula sem orci, vel tempor
108
+ mauris accumsan vitae. Praesent at scelerisque elit.
109
+ </Text>
110
+
111
+ <Text>
112
+ Donec ultrices sit amet massa at semper. Cras quam mauris,
113
+ tempor a luctus vel, lacinia vel dui. In eget pellentesque
114
+ purus. Integer tempus, tortor vitae malesuada feugiat, velit
115
+ quam consequat magna, vitae venenatis risus purus a ante. Class
116
+ aptent taciti sociosqu ad litora torquent per conubia nostra,
117
+ per inceptos himenaeos. Aenean quis cursus ipsum. Proin
118
+ scelerisque metus sed pellentesque viverra. Proin consequat ante
119
+ risus, quis euismod metus varius non. Sed varius tortor sed nunc
120
+ pulvinar consequat. Etiam tortor odio, aliquam ac est et,
121
+ consequat fringilla justo. Mauris in nibh nec neque blandit
122
+ pulvinar. Sed dapibus elit nulla, nec fringilla neque dignissim
123
+ non. Phasellus eu facilisis urna. Vivamus feugiat convallis
124
+ ligula, id congue tellus tincidunt vitae. Aliquam bibendum sed
125
+ erat porta molestie.
126
+ </Text>
127
+
128
+ <Text>
129
+ Donec non cursus est. Vestibulum ante ipsum primis in faucibus
130
+ orci luctus et ultrices posuere cubilia curae; Proin elementum
131
+ consectetur orci ac faucibus. Sed sodales dolor lorem,
132
+ consectetur sollicitudin nunc viverra eget. Aliquam eget tortor
133
+ ultrices neque commodo bibendum. Mauris tellus lacus, posuere
134
+ eget tincidunt ac, maximus sit amet turpis. Donec in quam eget
135
+ quam pulvinar feugiat. Morbi ante dolor, rhoncus a pharetra in,
136
+ laoreet eget odio. Donec commodo ligula ac gravida aliquam. Nam
137
+ ac lorem at turpis facilisis tempus et egestas libero.
138
+ </Text>
139
+
140
+ <Text>
141
+ Nulla gravida, quam a ultrices molestie, ante nisl commodo nibh,
142
+ eget elementum ligula ex eget ante. Sed elementum quam nec diam
143
+ pellentesque vehicula. Phasellus elementum lacus ligula. Vivamus
144
+ ornare eros at purus vehicula, vel pulvinar diam hendrerit. Sed
145
+ non nulla fringilla, venenatis dui ut, ultrices nunc. Nam libero
146
+ arcu, varius eget lacus sit amet, facilisis ullamcorper nibh.
147
+ Duis vel neque tellus.
148
+ </Text>
149
+
150
+ <Text>
151
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean
152
+ tempus mi augue. Aenean iaculis dolor purus. Orci varius natoque
153
+ penatibus et magnis dis parturient montes, nascetur ridiculus
154
+ mus. Quisque lectus risus, luctus at luctus eget, gravida vitae
155
+ odio. Aliquam commodo fermentum odio at egestas. Sed rutrum
156
+ commodo auctor. Sed eu ullamcorper mi, accumsan lacinia urna.
157
+ Duis non placerat urna. Suspendisse vel mi eros. Mauris rutrum
158
+ sit amet erat at volutpat. In facilisis molestie gravida. Nullam
159
+ lorem nisi, porta vel arcu nec, cursus sagittis nisl. Etiam
160
+ consequat sed urna eu tincidunt. Cras sit amet justo eget est
161
+ vestibulum aliquet et vitae elit.
162
+ </Text>
163
+ </>
164
+ )
165
+ }
166
+
167
+ export const stickyPreview: ComponentPreview<ILibSticky> = {
168
+ name: "Sticky",
169
+ component: Sticky,
170
+ category: "components",
171
+ import: "Sticky",
172
+ additionalImports: [],
173
+ optionalImports: [],
174
+ propsImport: "ILibSticky",
175
+ additionalTypeImports: [],
176
+ extends: ["HTMLDivElement"],
177
+ previews: [{ demo: <StickyDemo /> }],
178
+ props: [
179
+ {
180
+ name: "top",
181
+ type: "string",
182
+ possibleValues: ["0px", "2xs", "xs", "sm", "md", "lg", "xl", "2xl"],
183
+ defaultValue: "sm",
184
+ description: "Distance from top when sticky positioning is active.",
185
+ isRequired: false,
186
+ },
187
+ ],
188
+ }
@@ -0,0 +1,5 @@
1
+ import type { LibComponentBase, LibSpacers } from "../../types"
2
+
3
+ export interface ILibSticky extends LibComponentBase<HTMLDivElement> {
4
+ top?: LibSpacers
5
+ }
@@ -0,0 +1,138 @@
1
+ import { type FC } from "react"
2
+ import { uuid } from "@julseb-lib/utils"
3
+ import {
4
+ clsx,
5
+ linkifyText,
6
+ genLinkColor,
7
+ genButtonColor,
8
+ genTextAlign,
9
+ genVAlign,
10
+ } from "../../utils"
11
+ import { TEXT_BASE_CLASSES } from "../Text"
12
+ import type { ILibTable } from "./types"
13
+
14
+ /**
15
+ * Table component for creating structured data tables with customizable styling, variants, and automatic link detection.
16
+ *
17
+ * @component
18
+ *
19
+ * @example
20
+ * <Table
21
+ * variant="bordered"
22
+ * headers={["Name", "Email", "Role"]}
23
+ * data={[
24
+ * ["John Doe", "john@example.com", "Admin"],
25
+ * ["Jane Smith", "jane@example.com", "User"]
26
+ * ]}
27
+ * footers={["Total: 2 users", "", ""]}
28
+ * linkify
29
+ * />
30
+ *
31
+ * @extends HTMLTableElement
32
+ *
33
+ * @prop {string} [props.className] - Additional CSS classes to apply to the table.
34
+ * @prop {React.Ref<HTMLTableElement>} [props.ref] - Ref to the table element.
35
+ * @prop {React.ReactNode} [props.children] - Table content when not using data prop.
36
+ * @prop {"bordered" | "stripped" | "border-bottom"} [props.variant="bordered"] - Visual variant for table styling.
37
+ * @prop {"align-baseline" | "align-top" | "align-middle" | "align-bottom" | "align-text-top" | "align-text-bottom" | "align-sub" | "align-super"} [props.vAlign="align-top"] - Vertical alignment for table cells.
38
+ * @prop {"left" | "center" | "right" | "justify"} [props.textAlign="left"] - Text alignment for table content.
39
+ * @prop {boolean} [props.linkify] - Whether to automatically convert URLs in text to clickable links.
40
+ * @prop {boolean} [props.blank] - Whether links should open in new tab when linkify is enabled.
41
+ * @prop {Array<React.ReactNode>} [props.headers] - Array of header content for table columns.
42
+ * @prop {Array<React.ReactNode>} [props.footers] - Array of footer content for table columns.
43
+ * @prop {Array<Array<React.ReactNode>>} [props.data] - 2D array of table data for automatic table generation.
44
+ *
45
+ * @returns {JSX.Element} The rendered Table component.
46
+ *
47
+ * @see https://doc-julseb-lib-react.vercel.app/components/table
48
+ */
49
+ export const Table: FC<ILibTable> = ({
50
+ className,
51
+ ref,
52
+ children,
53
+ variant = "bordered",
54
+ vAlign = "align-top",
55
+ textAlign = "left",
56
+ linkify,
57
+ blank,
58
+ headers,
59
+ footers,
60
+ data,
61
+ ...rest
62
+ }) => {
63
+ return (
64
+ <table
65
+ ref={ref}
66
+ className={clsx(
67
+ "table w-full h-[1px] border-collapse border-spacing-0 table-fixed",
68
+ TEXT_BASE_CLASSES,
69
+ "text-(length:--font-size-small)",
70
+ genLinkColor["primary"],
71
+ genButtonColor["primary"],
72
+ "[&_thead]:bg-primary-500 [&_thead]:text-white [&_thead]:font-bold",
73
+ "[&_td]:overflow-x-scroll [&_td]:px-2 [&_td]:py-1 [&_th]:overflow-x-scroll [&_th]:px-2 [&_th]:py-1",
74
+ variant === "bordered" && [
75
+ "border border-gray-200",
76
+ "[&_thead_th:not(:last-child)]:border-r [&_thead_th:not(:last-child)]:border-background [&_td]:border [&_td]:border-gray-200",
77
+ ],
78
+ variant === "stripped" && [
79
+ "[&_tbody_tr:nth-child(even)]:bg-gray-100",
80
+ ],
81
+ variant === "border-bottom" && [
82
+ "[&_tbody_tr]:border-b [&_tbody_tr]:border-b-gray-200",
83
+ ],
84
+ genVAlign[vAlign],
85
+ genTextAlign[textAlign],
86
+ "table",
87
+ className,
88
+ )}
89
+ {...rest}
90
+ >
91
+ {headers && (
92
+ <thead>
93
+ <tr>
94
+ {headers.map(header => (
95
+ <th key={uuid()}>
96
+ {linkify && typeof header === "string"
97
+ ? linkifyText(header, blank)
98
+ : header}
99
+ </th>
100
+ ))}
101
+ </tr>
102
+ </thead>
103
+ )}
104
+
105
+ {data ? (
106
+ <tbody>
107
+ {data.map(row => (
108
+ <tr key={uuid()}>
109
+ {row.map(col => (
110
+ <td key={uuid()}>
111
+ {linkify && typeof col === "string"
112
+ ? linkifyText(col, blank)
113
+ : col}
114
+ </td>
115
+ ))}
116
+ </tr>
117
+ ))}
118
+ </tbody>
119
+ ) : (
120
+ children
121
+ )}
122
+
123
+ {footers && (
124
+ <tfoot>
125
+ <tr>
126
+ {footers.map(footer => (
127
+ <td key={uuid()}>
128
+ {linkify && typeof footer === "string"
129
+ ? linkifyText(footer, blank)
130
+ : footer}
131
+ </td>
132
+ ))}
133
+ </tr>
134
+ </tfoot>
135
+ )}
136
+ </table>
137
+ )
138
+ }
@@ -0,0 +1,173 @@
1
+ import { Table, toTitleCase } from "../../../"
2
+ import type { ReactChildren } from "../../../types"
3
+ import type { ILibTable } from "../../../types/components-props"
4
+ import type { ComponentPreview } from "../../../../data/components"
5
+
6
+ const users: Array<User> = [
7
+ {
8
+ id: 1,
9
+ firstName: "Anna",
10
+ lastName: "Fali",
11
+ facebook: "Anna Fali",
12
+ twitter: "@anna.fali",
13
+ },
14
+ {
15
+ id: 2,
16
+ firstName: "Niek",
17
+ lastName: "Bove",
18
+ facebook: "Niek Bove",
19
+ twitter: "@niek.bove",
20
+ },
21
+ {
22
+ id: 3,
23
+ firstName: "Lacara",
24
+ lastName: "Jones",
25
+ facebook: "Lacara Jones",
26
+ twitter: "@lacara.jones",
27
+ },
28
+ {
29
+ id: 4,
30
+ firstName: "Pablo",
31
+ lastName: "Cambeiro",
32
+ facebook: "Pablo Cambeiro",
33
+ twitter: "@pablo.cambeiro",
34
+ },
35
+ {
36
+ id: 5,
37
+ firstName: "Irene",
38
+ lastName: "Sotelo",
39
+ facebook: "Irene Sotelo",
40
+ twitter: "@irene.sotelo",
41
+ },
42
+ ]
43
+
44
+ const headers: Array<ReactChildren> = [
45
+ ...new Set(
46
+ users
47
+ .map(user => Object.keys(user))
48
+ .flat()
49
+ .map(key => toTitleCase(key)),
50
+ ),
51
+ ]
52
+
53
+ const data: Array<Array<ReactChildren>> = users.map(user =>
54
+ Object.values(user).map((v, i) =>
55
+ i === Object.values(user).length - 1 ? `http://twitter.com/${v}` : v,
56
+ ),
57
+ )
58
+
59
+ export const tablePreview: ComponentPreview<ILibTable> = {
60
+ name: "Table",
61
+ component: Table,
62
+ category: "components",
63
+ import: "Table",
64
+ additionalImports: [],
65
+ optionalImports: [],
66
+ propsImport: "ILibTable",
67
+ additionalTypeImports: [],
68
+ extends: ["HTMLTableElement"],
69
+ previews: [
70
+ { previewTitle: "Default", props: { headers, data, linkify: true } },
71
+
72
+ {
73
+ previewTitle: "Border bottom",
74
+ props: {
75
+ headers,
76
+ data,
77
+ linkify: true,
78
+ variant: "border-bottom",
79
+ className: "[&_td:last-child]:p-0",
80
+ },
81
+ },
82
+ {
83
+ previewTitle: "Stripped",
84
+ props: { headers, data, linkify: true, variant: "stripped" },
85
+ },
86
+ ],
87
+ props: [
88
+ {
89
+ name: "variant",
90
+ type: "string",
91
+ possibleValues: ["bordered", "stripped", "border-bottom"],
92
+ defaultValue: "bordered",
93
+ description: "Visual variant for table styling.",
94
+ isRequired: false,
95
+ },
96
+ {
97
+ name: "vAlign",
98
+ type: "string",
99
+ possibleValues: [
100
+ "align-baseline",
101
+ "align-top",
102
+ "align-middle",
103
+ "align-bottom",
104
+ "align-text-top",
105
+ "align-text-bottom",
106
+ "align-sub",
107
+ "align-super",
108
+ ],
109
+ defaultValue: "align-top",
110
+ description: "Vertical alignment for table cells.",
111
+ isRequired: false,
112
+ },
113
+ {
114
+ name: "textAlign",
115
+ type: "string",
116
+ possibleValues: ["left", "center", "right", "justify"],
117
+ defaultValue: "left",
118
+ description: "Text alignment for table content.",
119
+ isRequired: false,
120
+ },
121
+ {
122
+ name: "headers",
123
+ type: "Array of React Element",
124
+ possibleValues: [],
125
+ defaultValue: null,
126
+ description: "Array of header content for table columns.",
127
+ isRequired: false,
128
+ },
129
+ {
130
+ name: "footers",
131
+ type: "Array of React Element",
132
+ possibleValues: [],
133
+ defaultValue: null,
134
+ description: "Array of footer content for table columns.",
135
+ isRequired: false,
136
+ },
137
+ {
138
+ name: "data",
139
+ type: "Array of array of ReactElement",
140
+ possibleValues: [],
141
+ defaultValue: null,
142
+ description:
143
+ "2D array of table data for automatic table generation. Cannot be used with children.",
144
+ isRequired: false,
145
+ },
146
+ {
147
+ name: "linkify",
148
+ type: "boolean",
149
+ possibleValues: [],
150
+ defaultValue: "false",
151
+ description:
152
+ "Whether to automatically convert URLs in text to clickable links.",
153
+ isRequired: false,
154
+ },
155
+ {
156
+ name: "blank",
157
+ type: "boolean",
158
+ possibleValues: [],
159
+ defaultValue: "false",
160
+ description:
161
+ "Whether links should open in new tab when linkify is enabled. Only available when linkify is true.",
162
+ isRequired: false,
163
+ },
164
+ ],
165
+ }
166
+
167
+ type User = {
168
+ id: number
169
+ firstName: string
170
+ lastName: string
171
+ facebook: string
172
+ twitter: string
173
+ }
@@ -0,0 +1 @@
1
+ export * from "./Table"
@@ -0,0 +1,43 @@
1
+ import type {
2
+ LibComponentBase,
3
+ LibTableVariant,
4
+ CssVerticalAlign,
5
+ ReactChildren,
6
+ CssTextAlign,
7
+ } from "../../types"
8
+
9
+ /*====================== Table ======================*/
10
+
11
+ interface ILibTableBase
12
+ extends Omit<LibComponentBase<HTMLTableElement>, "element"> {
13
+ variant?: LibTableVariant
14
+ vAlign?: CssVerticalAlign
15
+ textAlign?: CssTextAlign
16
+ headers?: Array<ReactChildren>
17
+ footers?: Array<ReactChildren>
18
+ }
19
+
20
+ interface TableWithData extends ILibTableBase {
21
+ headers: Array<ReactChildren>
22
+ data: Array<Array<ReactChildren>>
23
+ children?: never
24
+ }
25
+
26
+ interface TableWithChildren extends ILibTableBase {
27
+ data?: never
28
+ children?: ReactChildren
29
+ }
30
+
31
+ type ILibTableContent = TableWithData | TableWithChildren
32
+
33
+ type TableWithLinkify = ILibTableContent & {
34
+ linkify?: boolean
35
+ blank?: boolean
36
+ }
37
+
38
+ type TableWithoutLinkify = ILibTableContent & {
39
+ linkify?: undefined | false
40
+ blank?: never
41
+ }
42
+
43
+ export type ILibTable = TableWithLinkify | TableWithoutLinkify