@julseb-lib/react 0.1.4 → 0.1.6

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 (759) hide show
  1. package/dist/index.cjs.js +39 -0
  2. package/dist/index.es.d.ts +1 -0
  3. package/dist/index.es.js +12438 -0
  4. package/dist/index.umd.js +39 -0
  5. package/{src → dist}/lib/components/IconMenu/IconMenu.module.css +1 -2
  6. package/{src → dist}/lib/components/IconMenu/IconMenuItem.tsx +3 -1
  7. package/dist/lib/index.css +443 -0
  8. package/dist/react.css +1 -0
  9. package/package.json +40 -1
  10. package/.editorconfig +0 -7
  11. package/.prettierrc +0 -5
  12. package/eslint.config.js +0 -177
  13. package/index.html +0 -14
  14. package/plop/actions/index.ts +0 -1
  15. package/plop/actions/run-command.ts +0 -21
  16. package/plop/generators/component.ts +0 -87
  17. package/plop/generators/demo.ts +0 -38
  18. package/plop/generators/generator.ts +0 -49
  19. package/plop/generators/index.ts +0 -6
  20. package/plop/generators/preview.ts +0 -58
  21. package/plop/generators/subtype.ts +0 -25
  22. package/plop/partials/index.ts +0 -2
  23. package/plop/partials/kebab-name.ts +0 -7
  24. package/plop/partials/pascal-name.ts +0 -7
  25. package/plop/plopfile.ts +0 -32
  26. package/plop/templates/__preview__/preview-props.hbs +0 -34
  27. package/plop/templates/__preview__/preview.hbs +0 -25
  28. package/plop/templates/component/__preview__/preview.hbs +0 -21
  29. package/plop/templates/component/index.ts.hbs +0 -1
  30. package/plop/templates/component/types.ts.hbs +0 -5
  31. package/plop/templates/component/{{ pascalCase name }}.tsx.hbs +0 -32
  32. package/plop/templates/demo.hbs +0 -9
  33. package/plop/templates/generator.hbs +0 -16
  34. package/plop/templates/subtypes.hbs +0 -3
  35. package/plop/utils/addClosingBrackets.ts +0 -13
  36. package/plop/utils/addOpenBrackets.ts +0 -13
  37. package/plop/utils/all-components.ts +0 -72
  38. package/plop/utils/constants.ts +0 -1
  39. package/plop/utils/index.ts +0 -5
  40. package/plop/utils/surround-brackets.ts +0 -12
  41. package/public/favicon.svg +0 -24
  42. package/public/images/cover-img.avif +0 -0
  43. package/public/images/image-card.jpg +0 -0
  44. package/public/images/logo-fajny-css-white.svg +0 -37
  45. package/public/images/logo-fajny-css.svg +0 -35
  46. package/public/images/pic-avatar.jpg +0 -0
  47. package/public/images/slideshow-1.avif +0 -0
  48. package/public/images/slideshow-2.avif +0 -0
  49. package/public/images/slideshow-3.avif +0 -0
  50. package/public/images/slideshow-4.avif +0 -0
  51. package/public/vite.svg +0 -1
  52. package/src/App.tsx +0 -6
  53. package/src/components/ComponentPreview.tsx +0 -46
  54. package/src/components/GridItem.tsx +0 -9
  55. package/src/components/index.ts +0 -4
  56. package/src/components/layout/BasePage.tsx +0 -27
  57. package/src/components/layout/CoverLayout.tsx +0 -97
  58. package/src/components/layout/Nav.tsx +0 -63
  59. package/src/components/layout/Page.tsx +0 -24
  60. package/src/data/components.tsx +0 -220
  61. package/src/data/french-cities.ts +0 -8683
  62. package/src/data/index.ts +0 -3
  63. package/src/data/previews/styles/Colors.preview.tsx +0 -94
  64. package/src/data/previews/styles/Overlays.preview.tsx +0 -48
  65. package/src/data/previews/styles/Radiuses.preview.tsx +0 -49
  66. package/src/data/previews/styles/Shadows.preview.tsx +0 -49
  67. package/src/data/previews/styles/Spacers.preview.tsx +0 -50
  68. package/src/data/previews/styles/Theme.preview.tsx +0 -32
  69. package/src/data/site-data.ts +0 -4
  70. package/src/data/styles/colors.ts +0 -1985
  71. package/src/data/styles/index.ts +0 -5
  72. package/src/data/styles/overlays.ts +0 -47
  73. package/src/data/styles/radiuses.ts +0 -68
  74. package/src/data/styles/shadows.ts +0 -61
  75. package/src/data/styles/spacers.ts +0 -54
  76. package/src/data/types/index.ts +0 -1
  77. package/src/data/types/variables.ts +0 -7
  78. package/src/lib/components/Accordion/__preview__/Accordion.preview.tsx +0 -107
  79. package/src/lib/components/Alert/__preview__/Alert.preview.tsx +0 -72
  80. package/src/lib/components/Aside/__preview__/Aside.preview.tsx +0 -59
  81. package/src/lib/components/Autocomplete/__preview__/Autocomplete.preview.tsx +0 -181
  82. package/src/lib/components/Autocomplete/__preview__/Preview.tsx +0 -17
  83. package/src/lib/components/Avatar/__preview__/Avatar.preview.tsx +0 -107
  84. package/src/lib/components/BackToTop/__preview__/BackToTop.preview.tsx +0 -115
  85. package/src/lib/components/Badge/__preview__/Badge.preview.tsx +0 -84
  86. package/src/lib/components/Breadcrumbs/__preview__/Breadcrumbs.preview.tsx +0 -55
  87. package/src/lib/components/Burger/__preview__/Burger.preview.tsx +0 -55
  88. package/src/lib/components/Burger/__preview__/Preview.tsx +0 -11
  89. package/src/lib/components/Button/__preview__/Button.preview.tsx +0 -182
  90. package/src/lib/components/ButtonGroup/__preview__/ButtonGroup.preview.tsx +0 -101
  91. package/src/lib/components/ButtonIcon/__preview__/ButtonIcon.preview.tsx +0 -239
  92. package/src/lib/components/CodeContainer/__preview__/CodeContainer.preview.tsx +0 -280
  93. package/src/lib/components/Cover/__preview__/Cover.preview.tsx +0 -154
  94. package/src/lib/components/DragList/__preview__/Draglist.preview.tsx +0 -156
  95. package/src/lib/components/Drawer/__preview__/Drawer.preview.tsx +0 -159
  96. package/src/lib/components/Dropdown/__preview__/Dropdown.preview.tsx +0 -83
  97. package/src/lib/components/Dropdown/__preview__/Preview.tsx +0 -52
  98. package/src/lib/components/Fade/__preview__/Fade.preview.tsx +0 -33
  99. package/src/lib/components/Fieldset/__preview__/Fieldset.preview.tsx +0 -99
  100. package/src/lib/components/Fieldset/__preview__/Preview.tsx +0 -70
  101. package/src/lib/components/Flexbox/__preview__/Flexbox.preview.tsx +0 -155
  102. package/src/lib/components/Form/__preview__/Form.preview.tsx +0 -124
  103. package/src/lib/components/Grid/__preview__/Grid.preview.tsx +0 -146
  104. package/src/lib/components/Header/__preview__/Header.preview.tsx +0 -33
  105. package/src/lib/components/Highlight/__preview__/Highlight.preview.tsx +0 -60
  106. package/src/lib/components/Hr/__preview__/Hr.preview.tsx +0 -75
  107. package/src/lib/components/IconMenu/__preview__/IconMenu.preview.tsx +0 -55
  108. package/src/lib/components/Image/__preview__/Image.preview.tsx +0 -71
  109. package/src/lib/components/Input/__preview__/Input.preview.tsx +0 -237
  110. package/src/lib/components/Input/__preview__/Previews.tsx +0 -67
  111. package/src/lib/components/InputCheck/__preview__/InputCheck.preview.tsx +0 -84
  112. package/src/lib/components/InputCheck/__preview__/Previews.tsx +0 -136
  113. package/src/lib/components/InputCounter/__preview__/InputCounter.preview.tsx +0 -153
  114. package/src/lib/components/InputCounter/__preview__/Preview.tsx +0 -13
  115. package/src/lib/components/InputImage/__preview__/InputImage.preview.tsx +0 -133
  116. package/src/lib/components/InputImage/__preview__/Preview.tsx +0 -29
  117. package/src/lib/components/InputPhone/__preview__/InputPhone.preview.tsx +0 -165
  118. package/src/lib/components/InputPhone/__preview__/Preview.tsx +0 -42
  119. package/src/lib/components/InputPin/__preview__/InputPin.preview.tsx +0 -154
  120. package/src/lib/components/InputSlider/__preview__/InputSlider.preview.tsx +0 -128
  121. package/src/lib/components/InputSlider/__preview__/Preview.tsx +0 -17
  122. package/src/lib/components/Key/__preview__/Key.preview.tsx +0 -80
  123. package/src/lib/components/Linkify/__preview__/Linkify.preview.tsx +0 -33
  124. package/src/lib/components/ListGroup/__preview__/ListGroup.preview.tsx +0 -246
  125. package/src/lib/components/Loader/__preview__/Loader.preview.tsx +0 -38
  126. package/src/lib/components/Main/__preview__/Main.preview.tsx +0 -67
  127. package/src/lib/components/MarkdownContainer/__preview__/MarkdownContainer.preview.tsx +0 -34
  128. package/src/lib/components/MarkdownEditor/__preview__/MarkdownEditor.preview.tsx +0 -143
  129. package/src/lib/components/Masonry/__preview__/Masonry.preview.tsx +0 -58
  130. package/src/lib/components/Modal/__preview__/Modal.preview.tsx +0 -125
  131. package/src/lib/components/PageLoading/__preview__/PageLoading.preview.tsx +0 -66
  132. package/src/lib/components/Pagination/__preview__/Pagination.preview.tsx +0 -264
  133. package/src/lib/components/Paginator/__preview__/Paginator.preview.tsx +0 -212
  134. package/src/lib/components/ProgressBar/__preview__/ProgressBar.preview.tsx +0 -63
  135. package/src/lib/components/ProgressCircle/__preview__/ProgressCircle.preview.tsx +0 -107
  136. package/src/lib/components/Rating/__preview__/Rating.preview.tsx +0 -133
  137. package/src/lib/components/Section/__preview__/Section.preview.tsx +0 -35
  138. package/src/lib/components/Select/__preview__/Select.preview.tsx +0 -168
  139. package/src/lib/components/Skeleton/__preview__/Skeleton.preview.tsx +0 -240
  140. package/src/lib/components/Slideshow/__preview__/Slideshow.preview.tsx +0 -133
  141. package/src/lib/components/Sticky/__preview__/Sticky.preview.tsx +0 -188
  142. package/src/lib/components/Table/__preview__/Table.preview.tsx +0 -173
  143. package/src/lib/components/Tabs/__preview__/Tabs.preview.tsx +0 -155
  144. package/src/lib/components/Tag/__preview__/Tag.preview.tsx +0 -128
  145. package/src/lib/components/Text/__preview__/Text.preview.tsx +0 -97
  146. package/src/lib/components/Text/__preview__/previews/Description.tsx +0 -18
  147. package/src/lib/components/Text/__preview__/previews/Ordered.tsx +0 -13
  148. package/src/lib/components/Text/__preview__/previews/Paragraphs.tsx +0 -26
  149. package/src/lib/components/Text/__preview__/previews/Quote.tsx +0 -5
  150. package/src/lib/components/Text/__preview__/previews/Small.tsx +0 -5
  151. package/src/lib/components/Text/__preview__/previews/TextDisplay.tsx +0 -27
  152. package/src/lib/components/Text/__preview__/previews/TextTitles.tsx +0 -19
  153. package/src/lib/components/Text/__preview__/previews/Unordered.tsx +0 -13
  154. package/src/lib/components/Toast/__preview__/Toast.preview.tsx +0 -115
  155. package/src/lib/components/Tooltip/__preview__/Tooltip.preview.tsx +0 -117
  156. package/src/lib/components/Wrapper/__preview__/Wrapper.preview.tsx +0 -78
  157. package/src/main.tsx +0 -11
  158. package/src/pages/Component.tsx +0 -29
  159. package/src/pages/Homepage.tsx +0 -53
  160. package/src/pages/NotFound.tsx +0 -10
  161. package/src/pages/demos/AsideBothDemo.tsx +0 -22
  162. package/src/pages/demos/AsideDefaultDemo.tsx +0 -18
  163. package/src/pages/demos/AsideRightDemo.tsx +0 -18
  164. package/src/pages/demos/CoverBottomDemo.tsx +0 -24
  165. package/src/pages/demos/CoverBottomOverlayDemo.tsx +0 -25
  166. package/src/pages/demos/CoverCenterDemo.tsx +0 -24
  167. package/src/pages/demos/CoverCenterOverlayDemo.tsx +0 -25
  168. package/src/pages/demos/HeaderDemo.tsx +0 -76
  169. package/src/pages/demos/MainDefaultDemo.tsx +0 -14
  170. package/src/pages/demos/MainFormDemo.tsx +0 -14
  171. package/src/pages/demos/MainLargeDemo.tsx +0 -14
  172. package/src/pages/demos/PageLoadingDemo.tsx +0 -10
  173. package/src/routes/index.tsx +0 -59
  174. package/src/types/global.d.ts +0 -11
  175. package/src/vite-env.d.ts +0 -1
  176. package/tailwind.config.ts +0 -19
  177. package/tsconfig.app.json +0 -28
  178. package/tsconfig.json +0 -7
  179. package/tsconfig.node.json +0 -25
  180. package/vite.config.ts +0 -53
  181. /package/{src/lib → dist}/index.css +0 -0
  182. /package/{src → dist}/lib/Variables.ts +0 -0
  183. /package/{src → dist}/lib/components/Accordion/Accordion.tsx +0 -0
  184. /package/{src → dist}/lib/components/Accordion/AccordionContent.tsx +0 -0
  185. /package/{src → dist}/lib/components/Accordion/AccordionItem.tsx +0 -0
  186. /package/{src → dist}/lib/components/Accordion/AccordionTitle.tsx +0 -0
  187. /package/{src → dist}/lib/components/Accordion/index.ts +0 -0
  188. /package/{src → dist}/lib/components/Accordion/subtypes.ts +0 -0
  189. /package/{src → dist}/lib/components/Accordion/types.ts +0 -0
  190. /package/{src → dist}/lib/components/Alert/Alert.tsx +0 -0
  191. /package/{src → dist}/lib/components/Alert/index.ts +0 -0
  192. /package/{src → dist}/lib/components/Alert/types.ts +0 -0
  193. /package/{src → dist}/lib/components/Aside/Aside.tsx +0 -0
  194. /package/{src → dist}/lib/components/Aside/index.ts +0 -0
  195. /package/{src → dist}/lib/components/Aside/types.ts +0 -0
  196. /package/{src → dist}/lib/components/Autocomplete/Autocomplete.tsx +0 -0
  197. /package/{src → dist}/lib/components/Autocomplete/index.ts +0 -0
  198. /package/{src → dist}/lib/components/Autocomplete/types.ts +0 -0
  199. /package/{src → dist}/lib/components/Avatar/Avatar.tsx +0 -0
  200. /package/{src → dist}/lib/components/Avatar/AvatarFn.tsx +0 -0
  201. /package/{src → dist}/lib/components/Avatar/index.ts +0 -0
  202. /package/{src → dist}/lib/components/Avatar/types.ts +0 -0
  203. /package/{src → dist}/lib/components/BackToTop/BackToTop.tsx +0 -0
  204. /package/{src → dist}/lib/components/BackToTop/index.ts +0 -0
  205. /package/{src → dist}/lib/components/BackToTop/types.ts +0 -0
  206. /package/{src → dist}/lib/components/Badge/Badge.tsx +0 -0
  207. /package/{src → dist}/lib/components/Badge/index.ts +0 -0
  208. /package/{src → dist}/lib/components/Badge/types.ts +0 -0
  209. /package/{src → dist}/lib/components/Breadcrumbs/Breadcrumbs.tsx +0 -0
  210. /package/{src → dist}/lib/components/Breadcrumbs/index.ts +0 -0
  211. /package/{src → dist}/lib/components/Breadcrumbs/types.ts +0 -0
  212. /package/{src → dist}/lib/components/Burger/Burger.tsx +0 -0
  213. /package/{src → dist}/lib/components/Burger/index.ts +0 -0
  214. /package/{src → dist}/lib/components/Burger/types.ts +0 -0
  215. /package/{src → dist}/lib/components/Button/Button.tsx +0 -0
  216. /package/{src → dist}/lib/components/Button/index.ts +0 -0
  217. /package/{src → dist}/lib/components/Button/types.ts +0 -0
  218. /package/{src → dist}/lib/components/ButtonGroup/ButtonGroup.tsx +0 -0
  219. /package/{src → dist}/lib/components/ButtonGroup/index.ts +0 -0
  220. /package/{src → dist}/lib/components/ButtonGroup/types.ts +0 -0
  221. /package/{src → dist}/lib/components/ButtonIcon/ButtonFn.tsx +0 -0
  222. /package/{src → dist}/lib/components/ButtonIcon/ButtonIcon.tsx +0 -0
  223. /package/{src → dist}/lib/components/ButtonIcon/index.ts +0 -0
  224. /package/{src → dist}/lib/components/ButtonIcon/types.ts +0 -0
  225. /package/{src → dist}/lib/components/CodeContainer/CodeContainer.tsx +0 -0
  226. /package/{src → dist}/lib/components/CodeContainer/index.ts +0 -0
  227. /package/{src → dist}/lib/components/CodeContainer/types.ts +0 -0
  228. /package/{src → dist}/lib/components/Cover/Cover.tsx +0 -0
  229. /package/{src → dist}/lib/components/Cover/index.ts +0 -0
  230. /package/{src → dist}/lib/components/Cover/types.ts +0 -0
  231. /package/{src → dist}/lib/components/DragList/DragList.tsx +0 -0
  232. /package/{src → dist}/lib/components/DragList/DragListItem.tsx +0 -0
  233. /package/{src → dist}/lib/components/DragList/index.ts +0 -0
  234. /package/{src → dist}/lib/components/DragList/types.ts +0 -0
  235. /package/{src → dist}/lib/components/Drawer/Drawer.tsx +0 -0
  236. /package/{src → dist}/lib/components/Drawer/index.ts +0 -0
  237. /package/{src → dist}/lib/components/Drawer/types.ts +0 -0
  238. /package/{src → dist}/lib/components/Dropdown/Dropdown.tsx +0 -0
  239. /package/{src → dist}/lib/components/Dropdown/DropdownItem.tsx +0 -0
  240. /package/{src → dist}/lib/components/Dropdown/index.ts +0 -0
  241. /package/{src → dist}/lib/components/Dropdown/types.ts +0 -0
  242. /package/{src → dist}/lib/components/Fade/Fade.tsx +0 -0
  243. /package/{src → dist}/lib/components/Fade/index.ts +0 -0
  244. /package/{src → dist}/lib/components/Fade/types.ts +0 -0
  245. /package/{src → dist}/lib/components/Fieldset/Fieldset.tsx +0 -0
  246. /package/{src → dist}/lib/components/Fieldset/index.ts +0 -0
  247. /package/{src → dist}/lib/components/Fieldset/types.ts +0 -0
  248. /package/{src → dist}/lib/components/Flexbox/Flexbox.tsx +0 -0
  249. /package/{src → dist}/lib/components/Flexbox/index.ts +0 -0
  250. /package/{src → dist}/lib/components/Flexbox/types.ts +0 -0
  251. /package/{src → dist}/lib/components/Form/Form.tsx +0 -0
  252. /package/{src → dist}/lib/components/Form/index.ts +0 -0
  253. /package/{src → dist}/lib/components/Form/types.ts +0 -0
  254. /package/{src → dist}/lib/components/Grid/Grid.tsx +0 -0
  255. /package/{src → dist}/lib/components/Grid/index.ts +0 -0
  256. /package/{src → dist}/lib/components/Grid/types.ts +0 -0
  257. /package/{src → dist}/lib/components/Header/Header.tsx +0 -0
  258. /package/{src → dist}/lib/components/Header/HeaderSearch.tsx +0 -0
  259. /package/{src → dist}/lib/components/Header/index.ts +0 -0
  260. /package/{src → dist}/lib/components/Header/subtypes.ts +0 -0
  261. /package/{src → dist}/lib/components/Header/types.ts +0 -0
  262. /package/{src → dist}/lib/components/Highlight/Highlight.tsx +0 -0
  263. /package/{src → dist}/lib/components/Highlight/index.ts +0 -0
  264. /package/{src → dist}/lib/components/Highlight/types.ts +0 -0
  265. /package/{src → dist}/lib/components/Hr/Hr.tsx +0 -0
  266. /package/{src → dist}/lib/components/Hr/index.ts +0 -0
  267. /package/{src → dist}/lib/components/Hr/types.ts +0 -0
  268. /package/{src → dist}/lib/components/IconMenu/IconMenu.tsx +0 -0
  269. /package/{src → dist}/lib/components/IconMenu/index.ts +0 -0
  270. /package/{src → dist}/lib/components/IconMenu/types.ts +0 -0
  271. /package/{src → dist}/lib/components/Image/Image.tsx +0 -0
  272. /package/{src → dist}/lib/components/Image/index.ts +0 -0
  273. /package/{src → dist}/lib/components/Image/types.ts +0 -0
  274. /package/{src → dist}/lib/components/Input/Input.tsx +0 -0
  275. /package/{src → dist}/lib/components/Input/classes.ts +0 -0
  276. /package/{src → dist}/lib/components/Input/index.ts +0 -0
  277. /package/{src → dist}/lib/components/Input/subtypes.ts +0 -0
  278. /package/{src → dist}/lib/components/Input/templates/ColorInput.tsx +0 -0
  279. /package/{src → dist}/lib/components/Input/templates/DateInput.tsx +0 -0
  280. /package/{src → dist}/lib/components/Input/templates/FileInput.tsx +0 -0
  281. /package/{src → dist}/lib/components/Input/templates/PasswordInput.tsx +0 -0
  282. /package/{src → dist}/lib/components/Input/templates/SearchInput.tsx +0 -0
  283. /package/{src → dist}/lib/components/Input/templates/SelectInput.tsx +0 -0
  284. /package/{src → dist}/lib/components/Input/templates/TextInput.tsx +0 -0
  285. /package/{src → dist}/lib/components/Input/templates/TextareaInput.tsx +0 -0
  286. /package/{src → dist}/lib/components/Input/templates/TimeInput.tsx +0 -0
  287. /package/{src → dist}/lib/components/Input/types.ts +0 -0
  288. /package/{src → dist}/lib/components/InputCheck/InputCheck.tsx +0 -0
  289. /package/{src → dist}/lib/components/InputCheck/index.ts +0 -0
  290. /package/{src → dist}/lib/components/InputCheck/types.ts +0 -0
  291. /package/{src → dist}/lib/components/InputComponents/InputButton.tsx +0 -0
  292. /package/{src → dist}/lib/components/InputComponents/InputIcon.tsx +0 -0
  293. /package/{src → dist}/lib/components/InputComponents/InputList.tsx +0 -0
  294. /package/{src → dist}/lib/components/InputComponents/InputListItem.tsx +0 -0
  295. /package/{src → dist}/lib/components/InputComponents/InputPrefix.tsx +0 -0
  296. /package/{src → dist}/lib/components/InputComponents/InputSuffix.tsx +0 -0
  297. /package/{src → dist}/lib/components/InputComponents/InputValidation.tsx +0 -0
  298. /package/{src → dist}/lib/components/InputComponents/InputWithListWrapper.tsx +0 -0
  299. /package/{src → dist}/lib/components/InputComponents/InputWrapper.tsx +0 -0
  300. /package/{src → dist}/lib/components/InputComponents/classes.ts +0 -0
  301. /package/{src → dist}/lib/components/InputComponents/index.ts +0 -0
  302. /package/{src → dist}/lib/components/InputComponents/types.ts +0 -0
  303. /package/{src → dist}/lib/components/InputContainer/InputContainer.tsx +0 -0
  304. /package/{src → dist}/lib/components/InputContainer/index.ts +0 -0
  305. /package/{src → dist}/lib/components/InputContainer/types.ts +0 -0
  306. /package/{src → dist}/lib/components/InputCounter/InputCounter.tsx +0 -0
  307. /package/{src → dist}/lib/components/InputCounter/index.ts +0 -0
  308. /package/{src → dist}/lib/components/InputCounter/types.ts +0 -0
  309. /package/{src → dist}/lib/components/InputImage/EmptyContainer.tsx +0 -0
  310. /package/{src → dist}/lib/components/InputImage/HoverContainer.tsx +0 -0
  311. /package/{src → dist}/lib/components/InputImage/InputImage.tsx +0 -0
  312. /package/{src → dist}/lib/components/InputImage/index.ts +0 -0
  313. /package/{src → dist}/lib/components/InputImage/subtypes.ts +0 -0
  314. /package/{src → dist}/lib/components/InputImage/types.ts +0 -0
  315. /package/{src → dist}/lib/components/InputPhone/InputPhone.tsx +0 -0
  316. /package/{src → dist}/lib/components/InputPhone/index.ts +0 -0
  317. /package/{src → dist}/lib/components/InputPhone/types.ts +0 -0
  318. /package/{src → dist}/lib/components/InputPhone/utils/countries.ts +0 -0
  319. /package/{src → dist}/lib/components/InputPhone/utils/flags/ac.svg +0 -0
  320. /package/{src → dist}/lib/components/InputPhone/utils/flags/ad.svg +0 -0
  321. /package/{src → dist}/lib/components/InputPhone/utils/flags/ae.svg +0 -0
  322. /package/{src → dist}/lib/components/InputPhone/utils/flags/af.svg +0 -0
  323. /package/{src → dist}/lib/components/InputPhone/utils/flags/ag.svg +0 -0
  324. /package/{src → dist}/lib/components/InputPhone/utils/flags/ai.svg +0 -0
  325. /package/{src → dist}/lib/components/InputPhone/utils/flags/al.svg +0 -0
  326. /package/{src → dist}/lib/components/InputPhone/utils/flags/am.svg +0 -0
  327. /package/{src → dist}/lib/components/InputPhone/utils/flags/ao.svg +0 -0
  328. /package/{src → dist}/lib/components/InputPhone/utils/flags/aq.svg +0 -0
  329. /package/{src → dist}/lib/components/InputPhone/utils/flags/ar.svg +0 -0
  330. /package/{src → dist}/lib/components/InputPhone/utils/flags/as.svg +0 -0
  331. /package/{src → dist}/lib/components/InputPhone/utils/flags/at.svg +0 -0
  332. /package/{src → dist}/lib/components/InputPhone/utils/flags/au.svg +0 -0
  333. /package/{src → dist}/lib/components/InputPhone/utils/flags/aw.svg +0 -0
  334. /package/{src → dist}/lib/components/InputPhone/utils/flags/ax.svg +0 -0
  335. /package/{src → dist}/lib/components/InputPhone/utils/flags/az.svg +0 -0
  336. /package/{src → dist}/lib/components/InputPhone/utils/flags/ba.svg +0 -0
  337. /package/{src → dist}/lib/components/InputPhone/utils/flags/bb.svg +0 -0
  338. /package/{src → dist}/lib/components/InputPhone/utils/flags/bd.svg +0 -0
  339. /package/{src → dist}/lib/components/InputPhone/utils/flags/be.svg +0 -0
  340. /package/{src → dist}/lib/components/InputPhone/utils/flags/bf.svg +0 -0
  341. /package/{src → dist}/lib/components/InputPhone/utils/flags/bg.svg +0 -0
  342. /package/{src → dist}/lib/components/InputPhone/utils/flags/bh.svg +0 -0
  343. /package/{src → dist}/lib/components/InputPhone/utils/flags/bi.svg +0 -0
  344. /package/{src → dist}/lib/components/InputPhone/utils/flags/bj.svg +0 -0
  345. /package/{src → dist}/lib/components/InputPhone/utils/flags/bl.svg +0 -0
  346. /package/{src → dist}/lib/components/InputPhone/utils/flags/bm.svg +0 -0
  347. /package/{src → dist}/lib/components/InputPhone/utils/flags/bn.svg +0 -0
  348. /package/{src → dist}/lib/components/InputPhone/utils/flags/bo.svg +0 -0
  349. /package/{src → dist}/lib/components/InputPhone/utils/flags/bq.svg +0 -0
  350. /package/{src → dist}/lib/components/InputPhone/utils/flags/br.svg +0 -0
  351. /package/{src → dist}/lib/components/InputPhone/utils/flags/bs.svg +0 -0
  352. /package/{src → dist}/lib/components/InputPhone/utils/flags/bt.svg +0 -0
  353. /package/{src → dist}/lib/components/InputPhone/utils/flags/bv.svg +0 -0
  354. /package/{src → dist}/lib/components/InputPhone/utils/flags/bw.svg +0 -0
  355. /package/{src → dist}/lib/components/InputPhone/utils/flags/by.svg +0 -0
  356. /package/{src → dist}/lib/components/InputPhone/utils/flags/bz.svg +0 -0
  357. /package/{src → dist}/lib/components/InputPhone/utils/flags/ca.svg +0 -0
  358. /package/{src → dist}/lib/components/InputPhone/utils/flags/cc.svg +0 -0
  359. /package/{src → dist}/lib/components/InputPhone/utils/flags/cd.svg +0 -0
  360. /package/{src → dist}/lib/components/InputPhone/utils/flags/cefta.svg +0 -0
  361. /package/{src → dist}/lib/components/InputPhone/utils/flags/cf.svg +0 -0
  362. /package/{src → dist}/lib/components/InputPhone/utils/flags/cg.svg +0 -0
  363. /package/{src → dist}/lib/components/InputPhone/utils/flags/ch.svg +0 -0
  364. /package/{src → dist}/lib/components/InputPhone/utils/flags/ci.svg +0 -0
  365. /package/{src → dist}/lib/components/InputPhone/utils/flags/ck.svg +0 -0
  366. /package/{src → dist}/lib/components/InputPhone/utils/flags/cl.svg +0 -0
  367. /package/{src → dist}/lib/components/InputPhone/utils/flags/cm.svg +0 -0
  368. /package/{src → dist}/lib/components/InputPhone/utils/flags/cn.svg +0 -0
  369. /package/{src → dist}/lib/components/InputPhone/utils/flags/co.svg +0 -0
  370. /package/{src → dist}/lib/components/InputPhone/utils/flags/cp.svg +0 -0
  371. /package/{src → dist}/lib/components/InputPhone/utils/flags/cr.svg +0 -0
  372. /package/{src → dist}/lib/components/InputPhone/utils/flags/cu.svg +0 -0
  373. /package/{src → dist}/lib/components/InputPhone/utils/flags/cv.svg +0 -0
  374. /package/{src → dist}/lib/components/InputPhone/utils/flags/cw.svg +0 -0
  375. /package/{src → dist}/lib/components/InputPhone/utils/flags/cx.svg +0 -0
  376. /package/{src → dist}/lib/components/InputPhone/utils/flags/cy.svg +0 -0
  377. /package/{src → dist}/lib/components/InputPhone/utils/flags/cz.svg +0 -0
  378. /package/{src → dist}/lib/components/InputPhone/utils/flags/de.svg +0 -0
  379. /package/{src → dist}/lib/components/InputPhone/utils/flags/dg.svg +0 -0
  380. /package/{src → dist}/lib/components/InputPhone/utils/flags/dj.svg +0 -0
  381. /package/{src → dist}/lib/components/InputPhone/utils/flags/dk.svg +0 -0
  382. /package/{src → dist}/lib/components/InputPhone/utils/flags/dm.svg +0 -0
  383. /package/{src → dist}/lib/components/InputPhone/utils/flags/do.svg +0 -0
  384. /package/{src → dist}/lib/components/InputPhone/utils/flags/dz.svg +0 -0
  385. /package/{src → dist}/lib/components/InputPhone/utils/flags/ea.svg +0 -0
  386. /package/{src → dist}/lib/components/InputPhone/utils/flags/ec.svg +0 -0
  387. /package/{src → dist}/lib/components/InputPhone/utils/flags/ee.svg +0 -0
  388. /package/{src → dist}/lib/components/InputPhone/utils/flags/eg.svg +0 -0
  389. /package/{src → dist}/lib/components/InputPhone/utils/flags/eh.svg +0 -0
  390. /package/{src → dist}/lib/components/InputPhone/utils/flags/er.svg +0 -0
  391. /package/{src → dist}/lib/components/InputPhone/utils/flags/es-ct.svg +0 -0
  392. /package/{src → dist}/lib/components/InputPhone/utils/flags/es-ga.svg +0 -0
  393. /package/{src → dist}/lib/components/InputPhone/utils/flags/es.svg +0 -0
  394. /package/{src → dist}/lib/components/InputPhone/utils/flags/et.svg +0 -0
  395. /package/{src → dist}/lib/components/InputPhone/utils/flags/eu.svg +0 -0
  396. /package/{src → dist}/lib/components/InputPhone/utils/flags/fi.svg +0 -0
  397. /package/{src → dist}/lib/components/InputPhone/utils/flags/fj.svg +0 -0
  398. /package/{src → dist}/lib/components/InputPhone/utils/flags/fk.svg +0 -0
  399. /package/{src → dist}/lib/components/InputPhone/utils/flags/fm.svg +0 -0
  400. /package/{src → dist}/lib/components/InputPhone/utils/flags/fo.svg +0 -0
  401. /package/{src → dist}/lib/components/InputPhone/utils/flags/fr.svg +0 -0
  402. /package/{src → dist}/lib/components/InputPhone/utils/flags/ga.svg +0 -0
  403. /package/{src → dist}/lib/components/InputPhone/utils/flags/gb-eng.svg +0 -0
  404. /package/{src → dist}/lib/components/InputPhone/utils/flags/gb-nir.svg +0 -0
  405. /package/{src → dist}/lib/components/InputPhone/utils/flags/gb-sct.svg +0 -0
  406. /package/{src → dist}/lib/components/InputPhone/utils/flags/gb-wls.svg +0 -0
  407. /package/{src → dist}/lib/components/InputPhone/utils/flags/gb.svg +0 -0
  408. /package/{src → dist}/lib/components/InputPhone/utils/flags/gd.svg +0 -0
  409. /package/{src → dist}/lib/components/InputPhone/utils/flags/ge.svg +0 -0
  410. /package/{src → dist}/lib/components/InputPhone/utils/flags/gf.svg +0 -0
  411. /package/{src → dist}/lib/components/InputPhone/utils/flags/gg.svg +0 -0
  412. /package/{src → dist}/lib/components/InputPhone/utils/flags/gh.svg +0 -0
  413. /package/{src → dist}/lib/components/InputPhone/utils/flags/gi.svg +0 -0
  414. /package/{src → dist}/lib/components/InputPhone/utils/flags/gl.svg +0 -0
  415. /package/{src → dist}/lib/components/InputPhone/utils/flags/gm.svg +0 -0
  416. /package/{src → dist}/lib/components/InputPhone/utils/flags/gn.svg +0 -0
  417. /package/{src → dist}/lib/components/InputPhone/utils/flags/gp.svg +0 -0
  418. /package/{src → dist}/lib/components/InputPhone/utils/flags/gq.svg +0 -0
  419. /package/{src → dist}/lib/components/InputPhone/utils/flags/gr.svg +0 -0
  420. /package/{src → dist}/lib/components/InputPhone/utils/flags/gs.svg +0 -0
  421. /package/{src → dist}/lib/components/InputPhone/utils/flags/gt.svg +0 -0
  422. /package/{src → dist}/lib/components/InputPhone/utils/flags/gu.svg +0 -0
  423. /package/{src → dist}/lib/components/InputPhone/utils/flags/gw.svg +0 -0
  424. /package/{src → dist}/lib/components/InputPhone/utils/flags/gy.svg +0 -0
  425. /package/{src → dist}/lib/components/InputPhone/utils/flags/hk.svg +0 -0
  426. /package/{src → dist}/lib/components/InputPhone/utils/flags/hm.svg +0 -0
  427. /package/{src → dist}/lib/components/InputPhone/utils/flags/hn.svg +0 -0
  428. /package/{src → dist}/lib/components/InputPhone/utils/flags/hr.svg +0 -0
  429. /package/{src → dist}/lib/components/InputPhone/utils/flags/ht.svg +0 -0
  430. /package/{src → dist}/lib/components/InputPhone/utils/flags/hu.svg +0 -0
  431. /package/{src → dist}/lib/components/InputPhone/utils/flags/ic.svg +0 -0
  432. /package/{src → dist}/lib/components/InputPhone/utils/flags/id.svg +0 -0
  433. /package/{src → dist}/lib/components/InputPhone/utils/flags/ie.svg +0 -0
  434. /package/{src → dist}/lib/components/InputPhone/utils/flags/il.svg +0 -0
  435. /package/{src → dist}/lib/components/InputPhone/utils/flags/im.svg +0 -0
  436. /package/{src → dist}/lib/components/InputPhone/utils/flags/in.svg +0 -0
  437. /package/{src → dist}/lib/components/InputPhone/utils/flags/io.svg +0 -0
  438. /package/{src → dist}/lib/components/InputPhone/utils/flags/iq.svg +0 -0
  439. /package/{src → dist}/lib/components/InputPhone/utils/flags/ir.svg +0 -0
  440. /package/{src → dist}/lib/components/InputPhone/utils/flags/is.svg +0 -0
  441. /package/{src → dist}/lib/components/InputPhone/utils/flags/it.svg +0 -0
  442. /package/{src → dist}/lib/components/InputPhone/utils/flags/je.svg +0 -0
  443. /package/{src → dist}/lib/components/InputPhone/utils/flags/jm.svg +0 -0
  444. /package/{src → dist}/lib/components/InputPhone/utils/flags/jo.svg +0 -0
  445. /package/{src → dist}/lib/components/InputPhone/utils/flags/jp.svg +0 -0
  446. /package/{src → dist}/lib/components/InputPhone/utils/flags/ke.svg +0 -0
  447. /package/{src → dist}/lib/components/InputPhone/utils/flags/kg.svg +0 -0
  448. /package/{src → dist}/lib/components/InputPhone/utils/flags/kh.svg +0 -0
  449. /package/{src → dist}/lib/components/InputPhone/utils/flags/ki.svg +0 -0
  450. /package/{src → dist}/lib/components/InputPhone/utils/flags/km.svg +0 -0
  451. /package/{src → dist}/lib/components/InputPhone/utils/flags/kn.svg +0 -0
  452. /package/{src → dist}/lib/components/InputPhone/utils/flags/kp.svg +0 -0
  453. /package/{src → dist}/lib/components/InputPhone/utils/flags/kr.svg +0 -0
  454. /package/{src → dist}/lib/components/InputPhone/utils/flags/kw.svg +0 -0
  455. /package/{src → dist}/lib/components/InputPhone/utils/flags/ky.svg +0 -0
  456. /package/{src → dist}/lib/components/InputPhone/utils/flags/kz.svg +0 -0
  457. /package/{src → dist}/lib/components/InputPhone/utils/flags/la.svg +0 -0
  458. /package/{src → dist}/lib/components/InputPhone/utils/flags/lb.svg +0 -0
  459. /package/{src → dist}/lib/components/InputPhone/utils/flags/lc.svg +0 -0
  460. /package/{src → dist}/lib/components/InputPhone/utils/flags/li.svg +0 -0
  461. /package/{src → dist}/lib/components/InputPhone/utils/flags/lk.svg +0 -0
  462. /package/{src → dist}/lib/components/InputPhone/utils/flags/lr.svg +0 -0
  463. /package/{src → dist}/lib/components/InputPhone/utils/flags/ls.svg +0 -0
  464. /package/{src → dist}/lib/components/InputPhone/utils/flags/lt.svg +0 -0
  465. /package/{src → dist}/lib/components/InputPhone/utils/flags/lu.svg +0 -0
  466. /package/{src → dist}/lib/components/InputPhone/utils/flags/lv.svg +0 -0
  467. /package/{src → dist}/lib/components/InputPhone/utils/flags/ly.svg +0 -0
  468. /package/{src → dist}/lib/components/InputPhone/utils/flags/ma.svg +0 -0
  469. /package/{src → dist}/lib/components/InputPhone/utils/flags/mc.svg +0 -0
  470. /package/{src → dist}/lib/components/InputPhone/utils/flags/md.svg +0 -0
  471. /package/{src → dist}/lib/components/InputPhone/utils/flags/me.svg +0 -0
  472. /package/{src → dist}/lib/components/InputPhone/utils/flags/mf.svg +0 -0
  473. /package/{src → dist}/lib/components/InputPhone/utils/flags/mg.svg +0 -0
  474. /package/{src → dist}/lib/components/InputPhone/utils/flags/mh.svg +0 -0
  475. /package/{src → dist}/lib/components/InputPhone/utils/flags/mk.svg +0 -0
  476. /package/{src → dist}/lib/components/InputPhone/utils/flags/ml.svg +0 -0
  477. /package/{src → dist}/lib/components/InputPhone/utils/flags/mm.svg +0 -0
  478. /package/{src → dist}/lib/components/InputPhone/utils/flags/mn.svg +0 -0
  479. /package/{src → dist}/lib/components/InputPhone/utils/flags/mo.svg +0 -0
  480. /package/{src → dist}/lib/components/InputPhone/utils/flags/mp.svg +0 -0
  481. /package/{src → dist}/lib/components/InputPhone/utils/flags/mq.svg +0 -0
  482. /package/{src → dist}/lib/components/InputPhone/utils/flags/mr.svg +0 -0
  483. /package/{src → dist}/lib/components/InputPhone/utils/flags/ms.svg +0 -0
  484. /package/{src → dist}/lib/components/InputPhone/utils/flags/mt.svg +0 -0
  485. /package/{src → dist}/lib/components/InputPhone/utils/flags/mu.svg +0 -0
  486. /package/{src → dist}/lib/components/InputPhone/utils/flags/mv.svg +0 -0
  487. /package/{src → dist}/lib/components/InputPhone/utils/flags/mw.svg +0 -0
  488. /package/{src → dist}/lib/components/InputPhone/utils/flags/mx.svg +0 -0
  489. /package/{src → dist}/lib/components/InputPhone/utils/flags/my.svg +0 -0
  490. /package/{src → dist}/lib/components/InputPhone/utils/flags/mz.svg +0 -0
  491. /package/{src → dist}/lib/components/InputPhone/utils/flags/na.svg +0 -0
  492. /package/{src → dist}/lib/components/InputPhone/utils/flags/nc.svg +0 -0
  493. /package/{src → dist}/lib/components/InputPhone/utils/flags/ne.svg +0 -0
  494. /package/{src → dist}/lib/components/InputPhone/utils/flags/nf.svg +0 -0
  495. /package/{src → dist}/lib/components/InputPhone/utils/flags/ng.svg +0 -0
  496. /package/{src → dist}/lib/components/InputPhone/utils/flags/ni.svg +0 -0
  497. /package/{src → dist}/lib/components/InputPhone/utils/flags/nl.svg +0 -0
  498. /package/{src → dist}/lib/components/InputPhone/utils/flags/no.svg +0 -0
  499. /package/{src → dist}/lib/components/InputPhone/utils/flags/np.svg +0 -0
  500. /package/{src → dist}/lib/components/InputPhone/utils/flags/nr.svg +0 -0
  501. /package/{src → dist}/lib/components/InputPhone/utils/flags/nu.svg +0 -0
  502. /package/{src → dist}/lib/components/InputPhone/utils/flags/nz.svg +0 -0
  503. /package/{src → dist}/lib/components/InputPhone/utils/flags/om.svg +0 -0
  504. /package/{src → dist}/lib/components/InputPhone/utils/flags/pa.svg +0 -0
  505. /package/{src → dist}/lib/components/InputPhone/utils/flags/pe.svg +0 -0
  506. /package/{src → dist}/lib/components/InputPhone/utils/flags/pf.svg +0 -0
  507. /package/{src → dist}/lib/components/InputPhone/utils/flags/pg.svg +0 -0
  508. /package/{src → dist}/lib/components/InputPhone/utils/flags/ph.svg +0 -0
  509. /package/{src → dist}/lib/components/InputPhone/utils/flags/pk.svg +0 -0
  510. /package/{src → dist}/lib/components/InputPhone/utils/flags/pl.svg +0 -0
  511. /package/{src → dist}/lib/components/InputPhone/utils/flags/pm.svg +0 -0
  512. /package/{src → dist}/lib/components/InputPhone/utils/flags/pn.svg +0 -0
  513. /package/{src → dist}/lib/components/InputPhone/utils/flags/pr.svg +0 -0
  514. /package/{src → dist}/lib/components/InputPhone/utils/flags/ps.svg +0 -0
  515. /package/{src → dist}/lib/components/InputPhone/utils/flags/pt.svg +0 -0
  516. /package/{src → dist}/lib/components/InputPhone/utils/flags/pw.svg +0 -0
  517. /package/{src → dist}/lib/components/InputPhone/utils/flags/py.svg +0 -0
  518. /package/{src → dist}/lib/components/InputPhone/utils/flags/qa.svg +0 -0
  519. /package/{src → dist}/lib/components/InputPhone/utils/flags/re.svg +0 -0
  520. /package/{src → dist}/lib/components/InputPhone/utils/flags/ro.svg +0 -0
  521. /package/{src → dist}/lib/components/InputPhone/utils/flags/rs.svg +0 -0
  522. /package/{src → dist}/lib/components/InputPhone/utils/flags/ru.svg +0 -0
  523. /package/{src → dist}/lib/components/InputPhone/utils/flags/rw.svg +0 -0
  524. /package/{src → dist}/lib/components/InputPhone/utils/flags/sa.svg +0 -0
  525. /package/{src → dist}/lib/components/InputPhone/utils/flags/sb.svg +0 -0
  526. /package/{src → dist}/lib/components/InputPhone/utils/flags/sc.svg +0 -0
  527. /package/{src → dist}/lib/components/InputPhone/utils/flags/sd.svg +0 -0
  528. /package/{src → dist}/lib/components/InputPhone/utils/flags/se.svg +0 -0
  529. /package/{src → dist}/lib/components/InputPhone/utils/flags/sg.svg +0 -0
  530. /package/{src → dist}/lib/components/InputPhone/utils/flags/sh.svg +0 -0
  531. /package/{src → dist}/lib/components/InputPhone/utils/flags/si.svg +0 -0
  532. /package/{src → dist}/lib/components/InputPhone/utils/flags/sj.svg +0 -0
  533. /package/{src → dist}/lib/components/InputPhone/utils/flags/sk.svg +0 -0
  534. /package/{src → dist}/lib/components/InputPhone/utils/flags/sl.svg +0 -0
  535. /package/{src → dist}/lib/components/InputPhone/utils/flags/sm.svg +0 -0
  536. /package/{src → dist}/lib/components/InputPhone/utils/flags/sn.svg +0 -0
  537. /package/{src → dist}/lib/components/InputPhone/utils/flags/so.svg +0 -0
  538. /package/{src → dist}/lib/components/InputPhone/utils/flags/sr.svg +0 -0
  539. /package/{src → dist}/lib/components/InputPhone/utils/flags/ss.svg +0 -0
  540. /package/{src → dist}/lib/components/InputPhone/utils/flags/st.svg +0 -0
  541. /package/{src → dist}/lib/components/InputPhone/utils/flags/sv.svg +0 -0
  542. /package/{src → dist}/lib/components/InputPhone/utils/flags/sx.svg +0 -0
  543. /package/{src → dist}/lib/components/InputPhone/utils/flags/sy.svg +0 -0
  544. /package/{src → dist}/lib/components/InputPhone/utils/flags/sz.svg +0 -0
  545. /package/{src → dist}/lib/components/InputPhone/utils/flags/ta.svg +0 -0
  546. /package/{src → dist}/lib/components/InputPhone/utils/flags/tc.svg +0 -0
  547. /package/{src → dist}/lib/components/InputPhone/utils/flags/td.svg +0 -0
  548. /package/{src → dist}/lib/components/InputPhone/utils/flags/tf.svg +0 -0
  549. /package/{src → dist}/lib/components/InputPhone/utils/flags/tg.svg +0 -0
  550. /package/{src → dist}/lib/components/InputPhone/utils/flags/th.svg +0 -0
  551. /package/{src → dist}/lib/components/InputPhone/utils/flags/tj.svg +0 -0
  552. /package/{src → dist}/lib/components/InputPhone/utils/flags/tk.svg +0 -0
  553. /package/{src → dist}/lib/components/InputPhone/utils/flags/tl.svg +0 -0
  554. /package/{src → dist}/lib/components/InputPhone/utils/flags/tm.svg +0 -0
  555. /package/{src → dist}/lib/components/InputPhone/utils/flags/tn.svg +0 -0
  556. /package/{src → dist}/lib/components/InputPhone/utils/flags/to.svg +0 -0
  557. /package/{src → dist}/lib/components/InputPhone/utils/flags/tr.svg +0 -0
  558. /package/{src → dist}/lib/components/InputPhone/utils/flags/tt.svg +0 -0
  559. /package/{src → dist}/lib/components/InputPhone/utils/flags/tv.svg +0 -0
  560. /package/{src → dist}/lib/components/InputPhone/utils/flags/tw.svg +0 -0
  561. /package/{src → dist}/lib/components/InputPhone/utils/flags/tz.svg +0 -0
  562. /package/{src → dist}/lib/components/InputPhone/utils/flags/ua.svg +0 -0
  563. /package/{src → dist}/lib/components/InputPhone/utils/flags/ug.svg +0 -0
  564. /package/{src → dist}/lib/components/InputPhone/utils/flags/um.svg +0 -0
  565. /package/{src → dist}/lib/components/InputPhone/utils/flags/un.svg +0 -0
  566. /package/{src → dist}/lib/components/InputPhone/utils/flags/us.svg +0 -0
  567. /package/{src → dist}/lib/components/InputPhone/utils/flags/uy.svg +0 -0
  568. /package/{src → dist}/lib/components/InputPhone/utils/flags/uz.svg +0 -0
  569. /package/{src → dist}/lib/components/InputPhone/utils/flags/va.svg +0 -0
  570. /package/{src → dist}/lib/components/InputPhone/utils/flags/vc.svg +0 -0
  571. /package/{src → dist}/lib/components/InputPhone/utils/flags/ve.svg +0 -0
  572. /package/{src → dist}/lib/components/InputPhone/utils/flags/vg.svg +0 -0
  573. /package/{src → dist}/lib/components/InputPhone/utils/flags/vi.svg +0 -0
  574. /package/{src → dist}/lib/components/InputPhone/utils/flags/vn.svg +0 -0
  575. /package/{src → dist}/lib/components/InputPhone/utils/flags/vu.svg +0 -0
  576. /package/{src → dist}/lib/components/InputPhone/utils/flags/wf.svg +0 -0
  577. /package/{src → dist}/lib/components/InputPhone/utils/flags/ws.svg +0 -0
  578. /package/{src → dist}/lib/components/InputPhone/utils/flags/xk.svg +0 -0
  579. /package/{src → dist}/lib/components/InputPhone/utils/flags/xx.svg +0 -0
  580. /package/{src → dist}/lib/components/InputPhone/utils/flags/ye.svg +0 -0
  581. /package/{src → dist}/lib/components/InputPhone/utils/flags/yt.svg +0 -0
  582. /package/{src → dist}/lib/components/InputPhone/utils/flags/za.svg +0 -0
  583. /package/{src → dist}/lib/components/InputPhone/utils/flags/zm.svg +0 -0
  584. /package/{src → dist}/lib/components/InputPhone/utils/flags/zw.svg +0 -0
  585. /package/{src → dist}/lib/components/InputPin/InputPin.tsx +0 -0
  586. /package/{src → dist}/lib/components/InputPin/index.ts +0 -0
  587. /package/{src → dist}/lib/components/InputPin/types.ts +0 -0
  588. /package/{src → dist}/lib/components/InputSlider/InputSlider.tsx +0 -0
  589. /package/{src → dist}/lib/components/InputSlider/index.ts +0 -0
  590. /package/{src → dist}/lib/components/InputSlider/types.ts +0 -0
  591. /package/{src → dist}/lib/components/Key/Key.tsx +0 -0
  592. /package/{src → dist}/lib/components/Key/index.ts +0 -0
  593. /package/{src → dist}/lib/components/Key/types.ts +0 -0
  594. /package/{src → dist}/lib/components/Linkify/Linkify.tsx +0 -0
  595. /package/{src → dist}/lib/components/Linkify/index.ts +0 -0
  596. /package/{src → dist}/lib/components/Linkify/types.ts +0 -0
  597. /package/{src → dist}/lib/components/ListGroup/ListGroup.tsx +0 -0
  598. /package/{src → dist}/lib/components/ListGroup/ListGroupItem.tsx +0 -0
  599. /package/{src → dist}/lib/components/ListGroup/ListGroupTitle.tsx +0 -0
  600. /package/{src → dist}/lib/components/ListGroup/index.ts +0 -0
  601. /package/{src → dist}/lib/components/ListGroup/types.ts +0 -0
  602. /package/{src → dist}/lib/components/Loader/Loader.tsx +0 -0
  603. /package/{src → dist}/lib/components/Loader/index.ts +0 -0
  604. /package/{src → dist}/lib/components/Loader/templates/LoaderOne.tsx +0 -0
  605. /package/{src → dist}/lib/components/Loader/templates/LoaderThree.tsx +0 -0
  606. /package/{src → dist}/lib/components/Loader/templates/LoaderTwo.tsx +0 -0
  607. /package/{src → dist}/lib/components/Loader/types.ts +0 -0
  608. /package/{src → dist}/lib/components/Loader/utils/gen-border-bottom.ts +0 -0
  609. /package/{src → dist}/lib/components/Main/Main.tsx +0 -0
  610. /package/{src → dist}/lib/components/Main/index.ts +0 -0
  611. /package/{src → dist}/lib/components/Main/types.ts +0 -0
  612. /package/{src → dist}/lib/components/MarkdownContainer/MarkdownContainer.tsx +0 -0
  613. /package/{src → dist}/lib/components/MarkdownContainer/index.ts +0 -0
  614. /package/{src → dist}/lib/components/MarkdownContainer/types.ts +0 -0
  615. /package/{src → dist}/lib/components/MarkdownEditor/MarkdownButtons.tsx +0 -0
  616. /package/{src → dist}/lib/components/MarkdownEditor/MarkdownEditor.tsx +0 -0
  617. /package/{src → dist}/lib/components/MarkdownEditor/MarkdownEditorTitles.tsx +0 -0
  618. /package/{src → dist}/lib/components/MarkdownEditor/MarkdownViewButtons.tsx +0 -0
  619. /package/{src → dist}/lib/components/MarkdownEditor/buttons/icons.tsx +0 -0
  620. /package/{src → dist}/lib/components/MarkdownEditor/buttons/markdown-buttons.tsx +0 -0
  621. /package/{src → dist}/lib/components/MarkdownEditor/index.ts +0 -0
  622. /package/{src → dist}/lib/components/MarkdownEditor/types.ts +0 -0
  623. /package/{src → dist}/lib/components/Masonry/Masonry.tsx +0 -0
  624. /package/{src → dist}/lib/components/Masonry/index.ts +0 -0
  625. /package/{src → dist}/lib/components/Masonry/types.ts +0 -0
  626. /package/{src → dist}/lib/components/Masonry/utils.tsx +0 -0
  627. /package/{src → dist}/lib/components/Modal/Modal.tsx +0 -0
  628. /package/{src → dist}/lib/components/Modal/index.ts +0 -0
  629. /package/{src → dist}/lib/components/Modal/types.ts +0 -0
  630. /package/{src → dist}/lib/components/PageLoading/PageLoading.tsx +0 -0
  631. /package/{src → dist}/lib/components/PageLoading/index.ts +0 -0
  632. /package/{src → dist}/lib/components/PageLoading/types.ts +0 -0
  633. /package/{src → dist}/lib/components/Pagination/Pagination.tsx +0 -0
  634. /package/{src → dist}/lib/components/Pagination/PaginationButton.tsx +0 -0
  635. /package/{src → dist}/lib/components/Pagination/index.ts +0 -0
  636. /package/{src → dist}/lib/components/Pagination/types.ts +0 -0
  637. /package/{src → dist}/lib/components/Paginator/Paginator.tsx +0 -0
  638. /package/{src → dist}/lib/components/Paginator/index.ts +0 -0
  639. /package/{src → dist}/lib/components/Paginator/types.ts +0 -0
  640. /package/{src → dist}/lib/components/ProgressBar/ProgressBar.tsx +0 -0
  641. /package/{src → dist}/lib/components/ProgressBar/index.ts +0 -0
  642. /package/{src → dist}/lib/components/ProgressBar/types.ts +0 -0
  643. /package/{src → dist}/lib/components/ProgressCircle/ProgressCircle.tsx +0 -0
  644. /package/{src → dist}/lib/components/ProgressCircle/index.ts +0 -0
  645. /package/{src → dist}/lib/components/ProgressCircle/types.ts +0 -0
  646. /package/{src → dist}/lib/components/Rating/Rating.tsx +0 -0
  647. /package/{src → dist}/lib/components/Rating/index.ts +0 -0
  648. /package/{src → dist}/lib/components/Rating/types.ts +0 -0
  649. /package/{src → dist}/lib/components/Section/Section.tsx +0 -0
  650. /package/{src → dist}/lib/components/Section/index.ts +0 -0
  651. /package/{src → dist}/lib/components/Section/types.ts +0 -0
  652. /package/{src → dist}/lib/components/Select/Select.tsx +0 -0
  653. /package/{src → dist}/lib/components/Select/index.ts +0 -0
  654. /package/{src → dist}/lib/components/Select/types.ts +0 -0
  655. /package/{src → dist}/lib/components/Skeleton/Skeleton.tsx +0 -0
  656. /package/{src → dist}/lib/components/Skeleton/SkeletonCard.tsx +0 -0
  657. /package/{src → dist}/lib/components/Skeleton/index.ts +0 -0
  658. /package/{src → dist}/lib/components/Skeleton/types.ts +0 -0
  659. /package/{src → dist}/lib/components/Slideshow/Slideshow.tsx +0 -0
  660. /package/{src → dist}/lib/components/Slideshow/SlideshowButton.tsx +0 -0
  661. /package/{src → dist}/lib/components/Slideshow/SlideshowPagination.tsx +0 -0
  662. /package/{src → dist}/lib/components/Slideshow/index.ts +0 -0
  663. /package/{src → dist}/lib/components/Slideshow/subtypes.ts +0 -0
  664. /package/{src → dist}/lib/components/Slideshow/types.ts +0 -0
  665. /package/{src → dist}/lib/components/Sticky/Sticky.tsx +0 -0
  666. /package/{src → dist}/lib/components/Sticky/index.ts +0 -0
  667. /package/{src → dist}/lib/components/Sticky/types.ts +0 -0
  668. /package/{src → dist}/lib/components/Table/Table.tsx +0 -0
  669. /package/{src → dist}/lib/components/Table/index.ts +0 -0
  670. /package/{src → dist}/lib/components/Table/types.ts +0 -0
  671. /package/{src → dist}/lib/components/Tabs/Tabs.tsx +0 -0
  672. /package/{src → dist}/lib/components/Tabs/TabsButton.tsx +0 -0
  673. /package/{src → dist}/lib/components/Tabs/TabsButtonsContainer.tsx +0 -0
  674. /package/{src → dist}/lib/components/Tabs/TabsContainer.tsx +0 -0
  675. /package/{src → dist}/lib/components/Tabs/TabsContent.tsx +0 -0
  676. /package/{src → dist}/lib/components/Tabs/index.ts +0 -0
  677. /package/{src → dist}/lib/components/Tabs/types.ts +0 -0
  678. /package/{src → dist}/lib/components/Tag/Tag.tsx +0 -0
  679. /package/{src → dist}/lib/components/Tag/index.ts +0 -0
  680. /package/{src → dist}/lib/components/Tag/types.ts +0 -0
  681. /package/{src → dist}/lib/components/Text/Text.tsx +0 -0
  682. /package/{src → dist}/lib/components/Text/index.ts +0 -0
  683. /package/{src → dist}/lib/components/Text/templates/Blockquote.tsx +0 -0
  684. /package/{src → dist}/lib/components/Text/templates/Dl.tsx +0 -0
  685. /package/{src → dist}/lib/components/Text/templates/Em.tsx +0 -0
  686. /package/{src → dist}/lib/components/Text/templates/H1.tsx +0 -0
  687. /package/{src → dist}/lib/components/Text/templates/H2.tsx +0 -0
  688. /package/{src → dist}/lib/components/Text/templates/H3.tsx +0 -0
  689. /package/{src → dist}/lib/components/Text/templates/H4.tsx +0 -0
  690. /package/{src → dist}/lib/components/Text/templates/H5.tsx +0 -0
  691. /package/{src → dist}/lib/components/Text/templates/H6.tsx +0 -0
  692. /package/{src → dist}/lib/components/Text/templates/Ol.tsx +0 -0
  693. /package/{src → dist}/lib/components/Text/templates/P.tsx +0 -0
  694. /package/{src → dist}/lib/components/Text/templates/Small.tsx +0 -0
  695. /package/{src → dist}/lib/components/Text/templates/Strong.tsx +0 -0
  696. /package/{src → dist}/lib/components/Text/templates/Ul.tsx +0 -0
  697. /package/{src → dist}/lib/components/Text/types.ts +0 -0
  698. /package/{src → dist}/lib/components/Toast/Toast.tsx +0 -0
  699. /package/{src → dist}/lib/components/Toast/ToastContainer.tsx +0 -0
  700. /package/{src → dist}/lib/components/Toast/ToastFn.tsx +0 -0
  701. /package/{src → dist}/lib/components/Toast/index.ts +0 -0
  702. /package/{src → dist}/lib/components/Toast/types.ts +0 -0
  703. /package/{src → dist}/lib/components/Toast/utils.ts +0 -0
  704. /package/{src → dist}/lib/components/Tooltip/Tooltip.tsx +0 -0
  705. /package/{src → dist}/lib/components/Tooltip/index.ts +0 -0
  706. /package/{src → dist}/lib/components/Tooltip/types.ts +0 -0
  707. /package/{src → dist}/lib/components/Wrapper/Wrapper.tsx +0 -0
  708. /package/{src → dist}/lib/components/Wrapper/index.ts +0 -0
  709. /package/{src → dist}/lib/components/Wrapper/types.ts +0 -0
  710. /package/{src → dist}/lib/context/Theme.context.tsx +0 -0
  711. /package/{src → dist}/lib/context/index.ts +0 -0
  712. /package/{src → dist}/lib/hooks/index.ts +0 -0
  713. /package/{src → dist}/lib/hooks/useClickOutside.tsx +0 -0
  714. /package/{src → dist}/lib/hooks/useCopyToClipboard.tsx +0 -0
  715. /package/{src → dist}/lib/hooks/useDebounce.tsx +0 -0
  716. /package/{src → dist}/lib/hooks/useExportData.tsx +0 -0
  717. /package/{src → dist}/lib/hooks/useFetch.tsx +0 -0
  718. /package/{src → dist}/lib/hooks/useForm.tsx +0 -0
  719. /package/{src → dist}/lib/hooks/useIsOverflow.ts +0 -0
  720. /package/{src → dist}/lib/hooks/useKeyPress.tsx +0 -0
  721. /package/{src → dist}/lib/hooks/useMaxWidth.tsx +0 -0
  722. /package/{src → dist}/lib/hooks/useMergeRefs.ts +0 -0
  723. /package/{src → dist}/lib/hooks/useMinWidth.tsx +0 -0
  724. /package/{src → dist}/lib/hooks/usePaginatedData.tsx +0 -0
  725. /package/{src → dist}/lib/hooks/usePagination.tsx +0 -0
  726. /package/{src → dist}/lib/hooks/useTouchScreen.tsx +0 -0
  727. /package/{src → dist}/lib/hooks/useTranslation.tsx +0 -0
  728. /package/{src → dist}/lib/index.ts +0 -0
  729. /package/{src → dist}/lib/lib-utils/get-highlighted-text.tsx +0 -0
  730. /package/{src → dist}/lib/lib-utils/index.ts +0 -0
  731. /package/{src → dist}/lib/lib-utils/transfom-search-keys.ts +0 -0
  732. /package/{src → dist}/lib/lib-utils/use-keyboard-navigation.tsx +0 -0
  733. /package/{src → dist}/lib/types/components-items-props.ts +0 -0
  734. /package/{src → dist}/lib/types/components-props.ts +0 -0
  735. /package/{src → dist}/lib/types/global.ts +0 -0
  736. /package/{src → dist}/lib/types/index.ts +0 -0
  737. /package/{src → dist}/lib/types/require-at-least-one.ts +0 -0
  738. /package/{src → dist}/lib/types/tailwind.ts +0 -0
  739. /package/{src → dist}/lib/utils/clsx.tsx +0 -0
  740. /package/{src → dist}/lib/utils/design-tokens.ts +0 -0
  741. /package/{src → dist}/lib/utils/gen-align.ts +0 -0
  742. /package/{src → dist}/lib/utils/gen-bg-color.ts +0 -0
  743. /package/{src → dist}/lib/utils/gen-border-color.ts +0 -0
  744. /package/{src → dist}/lib/utils/gen-border-radius.ts +0 -0
  745. /package/{src → dist}/lib/utils/gen-border.ts +0 -0
  746. /package/{src → dist}/lib/utils/gen-box-shadow.ts +0 -0
  747. /package/{src → dist}/lib/utils/gen-button-color.ts +0 -0
  748. /package/{src → dist}/lib/utils/gen-gap.ts +0 -0
  749. /package/{src → dist}/lib/utils/gen-justify.ts +0 -0
  750. /package/{src → dist}/lib/utils/gen-link-color.ts +0 -0
  751. /package/{src → dist}/lib/utils/gen-max-width.ts +0 -0
  752. /package/{src → dist}/lib/utils/gen-object-fit.ts +0 -0
  753. /package/{src → dist}/lib/utils/gen-text-align.ts +0 -0
  754. /package/{src → dist}/lib/utils/gen-text-color.ts +0 -0
  755. /package/{src → dist}/lib/utils/gen-vertical-align.ts +0 -0
  756. /package/{src → dist}/lib/utils/index.ts +0 -0
  757. /package/{src → dist}/lib/utils/linkify-text.tsx +0 -0
  758. /package/{src → dist}/lib/utils/options-markdown.ts +0 -0
  759. /package/{src → dist}/lib/utils/tools.ts +0 -0
@@ -1,75 +0,0 @@
1
- import { Hr } from "../../../"
2
- import type { ILibHr } from "../../../types/components-props"
3
- import type { ComponentPreview } from "../../../../data/components"
4
-
5
- export const hrPreview: ComponentPreview<ILibHr> = {
6
- name: "Hr",
7
- component: Hr,
8
- category: "components",
9
- import: "Hr",
10
- additionalImports: null,
11
- optionalImports: null,
12
- propsImport: "ILibHr",
13
- additionalTypeImports: null,
14
- extends: ["HTMLHrElement"],
15
- previews: [
16
- { previewTitle: "Default", props: {} },
17
- {
18
- previewTitle: "Rounded",
19
- props: { isRounded: true, className: "h-1" },
20
- },
21
- ],
22
- props: [
23
- {
24
- name: "maxWidth",
25
- type: "string",
26
- possibleValues: [
27
- "3xs",
28
- "2xs",
29
- "xs",
30
- "sm",
31
- "md",
32
- "lg",
33
- "xl",
34
- "2xl",
35
- "3xl",
36
- "4xl",
37
- "5xl",
38
- "6xl",
39
- "7xl",
40
- "none",
41
- "px",
42
- "full",
43
- "dvw",
44
- "dvh",
45
- "lvw",
46
- "lvh",
47
- "svw",
48
- "svh",
49
- "screen",
50
- "min",
51
- "max",
52
- "fit",
53
- ],
54
- defaultValue: "full",
55
- description: "Maximum width of the hr.",
56
- isRequired: false,
57
- },
58
- {
59
- name: "color",
60
- type: "string",
61
- possibleValues: null,
62
- defaultValue: "gray-200",
63
- description: "Background color of the hr.",
64
- isRequired: false,
65
- },
66
- {
67
- name: "isRounded",
68
- type: "boolean",
69
- possibleValues: null,
70
- defaultValue: null,
71
- description: "If true, the hr will have fully rounded borders.",
72
- isRequired: false,
73
- },
74
- ],
75
- }
@@ -1,55 +0,0 @@
1
- import { Link } from "react-router-dom"
2
- import { IconMenu } from "../../../"
3
- import type { LibIconMenuItem } from "../../../types"
4
- import type { ILibIconMenu } from "../../../types/components-props"
5
- import type { ComponentPreview } from "../../../../data/components"
6
- import { BiShow, BiLink, BiLinkExternal } from "react-icons/bi"
7
-
8
- const items: Array<LibIconMenuItem> = [
9
- {
10
- icon: <BiLink size={24} />,
11
- label: "Link",
12
- element: Link,
13
- // @ts-ignore
14
- to: "/",
15
- },
16
- {
17
- icon: <BiLinkExternal size={24} />,
18
- label: "Href",
19
- element: "a",
20
- // @ts-ignore
21
- href: "#",
22
- },
23
- {
24
- icon: <BiShow size={24} />,
25
- onClick: () => alert("Clicked"),
26
- label: "onClick",
27
- },
28
- ]
29
-
30
- export const iconMenuPreview: ComponentPreview<ILibIconMenu> = {
31
- name: "Icon Menu",
32
- component: IconMenu,
33
- category: "components",
34
- import: "IconMenu", // import Component (ex: Skeleton)
35
- additionalImports: [], // import OtherComponent (ex: SkeletonCard)
36
- optionalImports: [], // import ComponentItem (ex: AccordionItem) => to build with children instead of prop on component
37
- propsImport: "ILibIconMenu", // import ILibComponent (ex: ILibAccordion)
38
- additionalTypeImports: [], // import LibComponentItem (ex: LibAccordionItem)
39
- extends: ["HTMLDivElement"],
40
- previews: [
41
- { previewTitle: "Default", props: { items } },
42
- {
43
- previewTitle: "Left",
44
- props: {
45
- items,
46
- direction: "left",
47
- iconOpen: "burger",
48
- // color: "secondary",
49
- },
50
- },
51
- { previewTitle: "Up", props: { items, direction: "up" } },
52
- { previewTitle: "Down", props: { items, direction: "down" } },
53
- ],
54
- props: [],
55
- }
@@ -1,71 +0,0 @@
1
- import { Image } from "../../../"
2
- import type { ILibImage } from "../../../types/components-props"
3
- import type { ComponentPreview } from "../../../../data/components"
4
-
5
- const IMG_SRC = "/images/image-card.jpg"
6
- const IMG_ALT = "Image"
7
-
8
- export const imagePreview: ComponentPreview<ILibImage> = {
9
- name: "Image",
10
- component: Image,
11
- category: "components",
12
- import: "Image",
13
- additionalImports: null,
14
- optionalImports: null,
15
- propsImport: "ILibImage",
16
- additionalTypeImports: null,
17
- extends: ["HTMLImgElement"],
18
- previews: [
19
- { previewTitle: "Default", props: { src: IMG_SRC, alt: IMG_ALT } },
20
- {
21
- previewTitle: "With border radius",
22
- props: { src: IMG_SRC, alt: IMG_ALT, borderRadius: "2xl" },
23
- },
24
- {
25
- previewTitle: "With caption",
26
- props: {
27
- src: IMG_SRC,
28
- alt: IMG_ALT,
29
- caption: "Caption",
30
- borderRadius: "md",
31
- },
32
- },
33
- ],
34
- props: [
35
- {
36
- name: "caption",
37
- type: "string | Object",
38
- possibleValues: null,
39
- defaultValue: null,
40
- description:
41
- "Caption for the image. Can be a string or an object with text and optional styling.",
42
- isRequired: false,
43
- },
44
- {
45
- name: "borderRadius",
46
- type: "string",
47
- possibleValues: [
48
- "xs",
49
- "sm",
50
- "md",
51
- "lg",
52
- "xl",
53
- "2xl",
54
- "3xl",
55
- "4xl",
56
- "full",
57
- ],
58
- defaultValue: null,
59
- description: "Border radius for the image or figure.",
60
- isRequired: false,
61
- },
62
- {
63
- name: "fit",
64
- type: "string",
65
- possibleValues: ["contain", "cover", "fill", "none", "scale-down"],
66
- defaultValue: null,
67
- description: "How the image should fit within its container.",
68
- isRequired: false,
69
- },
70
- ],
71
- }
@@ -1,237 +0,0 @@
1
- import { BiEnvelope } from "react-icons/bi"
2
- import { Input } from "../../../"
3
- import { PreviewWithValidation, PreviewFull, PreviewSearch } from "./Previews"
4
- import type { ILibInput } from "../../../types/components-props"
5
- import type { ComponentPreview } from "../../../../data/components"
6
-
7
- export const inputPreview: ComponentPreview<ILibInput> = {
8
- name: "Input",
9
- component: Input,
10
- category: "components",
11
- import: "Input",
12
- additionalImports: null,
13
- optionalImports: null,
14
- propsImport: "ILibInput",
15
- additionalTypeImports: null,
16
- extends: ["HTMLInputElement"],
17
- previews: [
18
- { previewTitle: "Full", demo: <PreviewFull /> },
19
- { previewTitle: "Color", props: { type: "color" } },
20
- { previewTitle: "Date", props: { type: "date" } },
21
- { previewTitle: "Datetime local", props: { type: "datetime-local" } },
22
- { previewTitle: "Month", props: { type: "month" } },
23
- { previewTitle: "Week", props: { type: "week" } },
24
- { previewTitle: "File", props: { type: "file" } },
25
- { previewTitle: "Password", props: { type: "password" } },
26
- { previewTitle: "Search", demo: <PreviewSearch /> },
27
- {
28
- previewTitle: "Search with focus keys",
29
- demo: <PreviewSearch focusKeys={["Command", "KeyJ"]} showKeys />,
30
- },
31
- {
32
- previewTitle: "Select",
33
- props: {
34
- type: "select",
35
- children: (
36
- <>
37
- <option value="">Option</option>
38
- <option value="">Option</option>
39
- <option value="">Option</option>
40
- </>
41
- ),
42
- },
43
- },
44
- {
45
- previewTitle: "Textarea",
46
- props: { type: "textarea", label: "Textarea" },
47
- },
48
- {
49
- previewTitle: "Text",
50
- props: { type: "text", placeholder: "Input text" },
51
- },
52
- { previewTitle: "Email", props: { type: "email" } },
53
- { previewTitle: "Number", props: { type: "number" } },
54
- { previewTitle: "Tel", props: { type: "tel" } },
55
- { previewTitle: "Url", props: { type: "url" } },
56
- { previewTitle: "Time", props: { type: "time" } },
57
- { previewTitle: "Disabled", props: { disabled: true, value: "Hello" } },
58
- {
59
- previewTitle: "Disabled with icon",
60
- props: {
61
- disabled: true,
62
- value: "Hello",
63
- icon: <BiEnvelope size={20} />,
64
- },
65
- },
66
- {
67
- previewTitle: "With icon",
68
- props: { icon: <BiEnvelope size={20} /> },
69
- },
70
- { previewTitle: "With validation", demo: <PreviewWithValidation /> },
71
- {
72
- previewTitle: "With background light",
73
- props: { inputBackground: "light" },
74
- },
75
- {
76
- previewTitle: "With background dark",
77
- props: { inputBackground: "dark" },
78
- },
79
- { previewTitle: "Pill", props: { inputVariant: "pill" } },
80
- {
81
- previewTitle: "Pill with icon",
82
- props: { inputVariant: "pill", icon: <BiEnvelope size={20} /> },
83
- },
84
- {
85
- previewTitle: "Pill with prefix & suffix",
86
- props: { inputVariant: "pill", prefix: "Prefix", suffix: "Suffix" },
87
- },
88
- ],
89
- props: [
90
- {
91
- name: "type",
92
- type: "string",
93
- possibleValues: [
94
- "color",
95
- "date",
96
- "datetime-local",
97
- "month",
98
- "week",
99
- "file",
100
- "password",
101
- "search",
102
- "email",
103
- "number",
104
- "tel",
105
- "text",
106
- "url",
107
- "time",
108
- "select",
109
- "textarea",
110
- ],
111
- defaultValue: "text",
112
- description: "Type of input to render.",
113
- isRequired: false,
114
- },
115
- {
116
- name: "label",
117
- type: "string",
118
- possibleValues: null,
119
- defaultValue: null,
120
- description: "Label text to display above the input.",
121
- isRequired: false,
122
- },
123
- {
124
- name: "labelComment",
125
- type: "string",
126
- possibleValues: null,
127
- defaultValue: null,
128
- description: "Additional comment text next to the label.",
129
- isRequired: false,
130
- },
131
- {
132
- name: "helper",
133
- type: "string",
134
- possibleValues: null,
135
- defaultValue: null,
136
- description: "Helper text to display below the label.",
137
- isRequired: false,
138
- },
139
- {
140
- name: "helperBottom",
141
- type: "string",
142
- possibleValues: null,
143
- defaultValue: null,
144
- description: "Helper text to display at the bottom of the input.",
145
- isRequired: false,
146
- },
147
- {
148
- name: "validation",
149
- type: "Object",
150
- possibleValues: null,
151
- defaultValue: null,
152
- description: "Validation state and configuration object.",
153
- isRequired: false,
154
- },
155
- {
156
- name: "value",
157
- type: "string | number",
158
- possibleValues: null,
159
- defaultValue: null,
160
- description: "Current value of the input.",
161
- isRequired: false,
162
- },
163
- {
164
- name: "counter",
165
- type: "boolean | Object",
166
- possibleValues: null,
167
- defaultValue: null,
168
- description:
169
- "Whether to show character counter or counter configuration.",
170
- isRequired: false,
171
- },
172
- {
173
- name: "maxLength",
174
- type: "number",
175
- possibleValues: null,
176
- defaultValue: null,
177
- description: "Maximum number of characters allowed.",
178
- isRequired: false,
179
- },
180
- {
181
- name: "inputVariant",
182
- type: "string",
183
- possibleValues: ["rounded", "pill"],
184
- defaultValue: "rounded",
185
- description: "Visual variant of the input.",
186
- isRequired: false,
187
- },
188
- {
189
- name: "inputBackground",
190
- type: "string",
191
- possibleValues: ["light", "dark"],
192
- defaultValue: null,
193
- description: "Background theme of the input.",
194
- isRequired: false,
195
- },
196
- {
197
- name: "icon",
198
- type: "ReactElement",
199
- possibleValues: null,
200
- defaultValue: null,
201
- description: "Icon element to display inside the input.",
202
- isRequired: false,
203
- },
204
- {
205
- name: "placeholder",
206
- type: "string",
207
- possibleValues: null,
208
- defaultValue: null,
209
- description: "Placeholder text for the input.",
210
- isRequired: false,
211
- },
212
- {
213
- name: "disabled",
214
- type: "boolean",
215
- possibleValues: null,
216
- defaultValue: null,
217
- description: "Whether the input is disabled.",
218
- isRequired: false,
219
- },
220
- {
221
- name: "prefix",
222
- type: "string",
223
- possibleValues: null,
224
- defaultValue: null,
225
- description: "Text to display as a prefix inside the input.",
226
- isRequired: false,
227
- },
228
- {
229
- name: "suffix",
230
- type: "string",
231
- possibleValues: null,
232
- defaultValue: null,
233
- description: "Text to display as a suffix inside the input.",
234
- isRequired: false,
235
- },
236
- ],
237
- }
@@ -1,67 +0,0 @@
1
- import { useState, type ChangeEvent } from "react"
2
- import { Input } from "../Input"
3
- import { BiEnvelope } from "react-icons/bi"
4
-
5
- export const PreviewFull = () => {
6
- const [value, setValue] = useState("hello")
7
-
8
- return (
9
- <Input
10
- label="Label"
11
- labelComment="- label comment"
12
- helper="Helper"
13
- helperBottom="Helper bottom"
14
- counter
15
- maxLength={100}
16
- prefix="Prefix"
17
- suffix="Suffix"
18
- placeholder="Placeholder"
19
- icon={<BiEnvelope />}
20
- value={value}
21
- onChange={e => setValue(e.target.value)}
22
- />
23
- )
24
- }
25
-
26
- export const PreviewWithValidation = () => {
27
- const [value, setValue] = useState("")
28
- const [validation, setValidation] = useState(false)
29
-
30
- const handleChange = (e: ChangeEvent<HTMLInputElement>) => {
31
- const { value } = e.target
32
-
33
- setValue(value)
34
-
35
- if (value.length < 3) setValidation(false)
36
- else setValidation(true)
37
- }
38
-
39
- return (
40
- <Input
41
- value={value}
42
- onChange={handleChange}
43
- validation={{ status: validation, message: "Message" }}
44
- />
45
- )
46
- }
47
-
48
- export const PreviewSearch = ({
49
- focusKeys,
50
- showKeys,
51
- }: {
52
- focusKeys?: Array<string>
53
- showKeys?: boolean
54
- }) => {
55
- const [value, setValue] = useState("")
56
-
57
- return (
58
- <Input
59
- type="search"
60
- focusKeys={focusKeys}
61
- showKeys={showKeys}
62
- value={value}
63
- onChange={e => setValue(e.target.value)}
64
- clearSearch={() => setValue("")}
65
- />
66
- )
67
- }
@@ -1,84 +0,0 @@
1
- import { InputCheck } from "../../../"
2
- import { DemoCheckbox, DemoRadio } from "./Previews"
3
- import type { ILibInputCheck } from "../../../types/components-props"
4
- import type { ComponentPreview } from "../../../../data/components"
5
-
6
- export const inputCheckPreview: ComponentPreview<ILibInputCheck> = {
7
- name: "Input Check",
8
- component: InputCheck,
9
- category: "components",
10
- import: "InputCheck",
11
- additionalImports: [],
12
- optionalImports: [],
13
- propsImport: "ILibInputCheck",
14
- additionalTypeImports: [],
15
- extends: ["HTMLInputElement"],
16
- previews: [
17
- {
18
- previewTitle: "Checkbox",
19
- demo: <DemoCheckbox />,
20
- },
21
- {
22
- previewTitle: "Radio",
23
- demo: <DemoRadio />,
24
- },
25
- {
26
- previewTitle: "Checkbox tile",
27
- demo: <DemoCheckbox variant="tile" />,
28
- },
29
- {
30
- previewTitle: "Radio tile",
31
- demo: <DemoRadio variant="tile" />,
32
- },
33
- {
34
- previewTitle: "Checkbox toggle",
35
- demo: <DemoCheckbox variant="toggle">Toggle</DemoCheckbox>,
36
- },
37
- {
38
- previewTitle: "Checkbox selector",
39
- demo: <DemoCheckbox variant="selector">Selector</DemoCheckbox>,
40
- },
41
- ],
42
- props: [
43
- {
44
- name: "id",
45
- type: "string",
46
- possibleValues: null,
47
- defaultValue: null,
48
- description: "Unique identifier for the input element.",
49
- isRequired: true,
50
- },
51
- {
52
- name: "type",
53
- type: "string",
54
- possibleValues: ["checkbox", "radio"],
55
- defaultValue: "checkbox",
56
- description: "Type of input check to render.",
57
- isRequired: false,
58
- },
59
- {
60
- name: "variant",
61
- type: "string",
62
- possibleValues: ["tile", "toggle", "selector"],
63
- defaultValue: null,
64
- description: "Visual variant style of the input check.",
65
- isRequired: false,
66
- },
67
- {
68
- name: "iconCheck",
69
- type: "ReactElement",
70
- possibleValues: null,
71
- defaultValue: "BiCheck",
72
- description: "Icon element to display in checkbox variant.",
73
- isRequired: false,
74
- },
75
- {
76
- name: "validation",
77
- type: "boolean",
78
- possibleValues: null,
79
- defaultValue: null,
80
- description: "Validation state for error styling.",
81
- isRequired: false,
82
- },
83
- ],
84
- }