@julseb-lib/react 0.1.5 → 0.1.7

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.d.ts +1 -0
  2. package/dist/julseb-lib-react.cjs.js +39 -0
  3. package/dist/julseb-lib-react.es.js +12438 -0
  4. package/dist/julseb-lib-react.umd.js +39 -0
  5. package/dist/lib/index.css +443 -0
  6. package/dist/react.css +1 -0
  7. package/package.json +40 -1
  8. package/.editorconfig +0 -7
  9. package/.prettierrc +0 -5
  10. package/eslint.config.js +0 -177
  11. package/index.html +0 -14
  12. package/plop/actions/index.ts +0 -1
  13. package/plop/actions/run-command.ts +0 -21
  14. package/plop/generators/component.ts +0 -87
  15. package/plop/generators/demo.ts +0 -38
  16. package/plop/generators/generator.ts +0 -49
  17. package/plop/generators/index.ts +0 -6
  18. package/plop/generators/preview.ts +0 -58
  19. package/plop/generators/subtype.ts +0 -25
  20. package/plop/partials/index.ts +0 -2
  21. package/plop/partials/kebab-name.ts +0 -7
  22. package/plop/partials/pascal-name.ts +0 -7
  23. package/plop/plopfile.ts +0 -32
  24. package/plop/templates/__preview__/preview-props.hbs +0 -34
  25. package/plop/templates/__preview__/preview.hbs +0 -25
  26. package/plop/templates/component/__preview__/preview.hbs +0 -21
  27. package/plop/templates/component/index.ts.hbs +0 -1
  28. package/plop/templates/component/types.ts.hbs +0 -5
  29. package/plop/templates/component/{{ pascalCase name }}.tsx.hbs +0 -32
  30. package/plop/templates/demo.hbs +0 -9
  31. package/plop/templates/generator.hbs +0 -16
  32. package/plop/templates/subtypes.hbs +0 -3
  33. package/plop/utils/addClosingBrackets.ts +0 -13
  34. package/plop/utils/addOpenBrackets.ts +0 -13
  35. package/plop/utils/all-components.ts +0 -72
  36. package/plop/utils/constants.ts +0 -1
  37. package/plop/utils/index.ts +0 -5
  38. package/plop/utils/surround-brackets.ts +0 -12
  39. package/public/favicon.svg +0 -24
  40. package/public/images/cover-img.avif +0 -0
  41. package/public/images/image-card.jpg +0 -0
  42. package/public/images/logo-fajny-css-white.svg +0 -37
  43. package/public/images/logo-fajny-css.svg +0 -35
  44. package/public/images/pic-avatar.jpg +0 -0
  45. package/public/images/slideshow-1.avif +0 -0
  46. package/public/images/slideshow-2.avif +0 -0
  47. package/public/images/slideshow-3.avif +0 -0
  48. package/public/images/slideshow-4.avif +0 -0
  49. package/public/vite.svg +0 -1
  50. package/src/App.tsx +0 -6
  51. package/src/components/ComponentPreview.tsx +0 -46
  52. package/src/components/GridItem.tsx +0 -9
  53. package/src/components/index.ts +0 -4
  54. package/src/components/layout/BasePage.tsx +0 -27
  55. package/src/components/layout/CoverLayout.tsx +0 -97
  56. package/src/components/layout/Nav.tsx +0 -63
  57. package/src/components/layout/Page.tsx +0 -24
  58. package/src/data/components.tsx +0 -220
  59. package/src/data/french-cities.ts +0 -8683
  60. package/src/data/index.ts +0 -3
  61. package/src/data/previews/styles/Colors.preview.tsx +0 -94
  62. package/src/data/previews/styles/Overlays.preview.tsx +0 -48
  63. package/src/data/previews/styles/Radiuses.preview.tsx +0 -49
  64. package/src/data/previews/styles/Shadows.preview.tsx +0 -49
  65. package/src/data/previews/styles/Spacers.preview.tsx +0 -50
  66. package/src/data/previews/styles/Theme.preview.tsx +0 -32
  67. package/src/data/site-data.ts +0 -4
  68. package/src/data/styles/colors.ts +0 -1985
  69. package/src/data/styles/index.ts +0 -5
  70. package/src/data/styles/overlays.ts +0 -47
  71. package/src/data/styles/radiuses.ts +0 -68
  72. package/src/data/styles/shadows.ts +0 -61
  73. package/src/data/styles/spacers.ts +0 -54
  74. package/src/data/types/index.ts +0 -1
  75. package/src/data/types/variables.ts +0 -7
  76. package/src/lib/components/Accordion/__preview__/Accordion.preview.tsx +0 -107
  77. package/src/lib/components/Alert/__preview__/Alert.preview.tsx +0 -72
  78. package/src/lib/components/Aside/__preview__/Aside.preview.tsx +0 -59
  79. package/src/lib/components/Autocomplete/__preview__/Autocomplete.preview.tsx +0 -181
  80. package/src/lib/components/Autocomplete/__preview__/Preview.tsx +0 -17
  81. package/src/lib/components/Avatar/__preview__/Avatar.preview.tsx +0 -107
  82. package/src/lib/components/BackToTop/__preview__/BackToTop.preview.tsx +0 -115
  83. package/src/lib/components/Badge/__preview__/Badge.preview.tsx +0 -84
  84. package/src/lib/components/Breadcrumbs/__preview__/Breadcrumbs.preview.tsx +0 -55
  85. package/src/lib/components/Burger/__preview__/Burger.preview.tsx +0 -55
  86. package/src/lib/components/Burger/__preview__/Preview.tsx +0 -11
  87. package/src/lib/components/Button/__preview__/Button.preview.tsx +0 -182
  88. package/src/lib/components/ButtonGroup/__preview__/ButtonGroup.preview.tsx +0 -101
  89. package/src/lib/components/ButtonIcon/__preview__/ButtonIcon.preview.tsx +0 -239
  90. package/src/lib/components/CodeContainer/__preview__/CodeContainer.preview.tsx +0 -280
  91. package/src/lib/components/Cover/__preview__/Cover.preview.tsx +0 -154
  92. package/src/lib/components/DragList/__preview__/Draglist.preview.tsx +0 -156
  93. package/src/lib/components/Drawer/__preview__/Drawer.preview.tsx +0 -159
  94. package/src/lib/components/Dropdown/__preview__/Dropdown.preview.tsx +0 -83
  95. package/src/lib/components/Dropdown/__preview__/Preview.tsx +0 -52
  96. package/src/lib/components/Fade/__preview__/Fade.preview.tsx +0 -33
  97. package/src/lib/components/Fieldset/__preview__/Fieldset.preview.tsx +0 -99
  98. package/src/lib/components/Fieldset/__preview__/Preview.tsx +0 -70
  99. package/src/lib/components/Flexbox/__preview__/Flexbox.preview.tsx +0 -155
  100. package/src/lib/components/Form/__preview__/Form.preview.tsx +0 -124
  101. package/src/lib/components/Grid/__preview__/Grid.preview.tsx +0 -146
  102. package/src/lib/components/Header/__preview__/Header.preview.tsx +0 -33
  103. package/src/lib/components/Highlight/__preview__/Highlight.preview.tsx +0 -60
  104. package/src/lib/components/Hr/__preview__/Hr.preview.tsx +0 -75
  105. package/src/lib/components/IconMenu/__preview__/IconMenu.preview.tsx +0 -55
  106. package/src/lib/components/Image/__preview__/Image.preview.tsx +0 -71
  107. package/src/lib/components/Input/__preview__/Input.preview.tsx +0 -237
  108. package/src/lib/components/Input/__preview__/Previews.tsx +0 -67
  109. package/src/lib/components/InputCheck/__preview__/InputCheck.preview.tsx +0 -84
  110. package/src/lib/components/InputCheck/__preview__/Previews.tsx +0 -136
  111. package/src/lib/components/InputCounter/__preview__/InputCounter.preview.tsx +0 -153
  112. package/src/lib/components/InputCounter/__preview__/Preview.tsx +0 -13
  113. package/src/lib/components/InputImage/__preview__/InputImage.preview.tsx +0 -133
  114. package/src/lib/components/InputImage/__preview__/Preview.tsx +0 -29
  115. package/src/lib/components/InputPhone/__preview__/InputPhone.preview.tsx +0 -165
  116. package/src/lib/components/InputPhone/__preview__/Preview.tsx +0 -42
  117. package/src/lib/components/InputPin/__preview__/InputPin.preview.tsx +0 -154
  118. package/src/lib/components/InputSlider/__preview__/InputSlider.preview.tsx +0 -128
  119. package/src/lib/components/InputSlider/__preview__/Preview.tsx +0 -17
  120. package/src/lib/components/Key/__preview__/Key.preview.tsx +0 -80
  121. package/src/lib/components/Linkify/__preview__/Linkify.preview.tsx +0 -33
  122. package/src/lib/components/ListGroup/__preview__/ListGroup.preview.tsx +0 -246
  123. package/src/lib/components/Loader/__preview__/Loader.preview.tsx +0 -38
  124. package/src/lib/components/Main/__preview__/Main.preview.tsx +0 -67
  125. package/src/lib/components/MarkdownContainer/__preview__/MarkdownContainer.preview.tsx +0 -34
  126. package/src/lib/components/MarkdownEditor/__preview__/MarkdownEditor.preview.tsx +0 -143
  127. package/src/lib/components/Masonry/__preview__/Masonry.preview.tsx +0 -58
  128. package/src/lib/components/Modal/__preview__/Modal.preview.tsx +0 -125
  129. package/src/lib/components/PageLoading/__preview__/PageLoading.preview.tsx +0 -66
  130. package/src/lib/components/Pagination/__preview__/Pagination.preview.tsx +0 -264
  131. package/src/lib/components/Paginator/__preview__/Paginator.preview.tsx +0 -212
  132. package/src/lib/components/ProgressBar/__preview__/ProgressBar.preview.tsx +0 -63
  133. package/src/lib/components/ProgressCircle/__preview__/ProgressCircle.preview.tsx +0 -107
  134. package/src/lib/components/Rating/__preview__/Rating.preview.tsx +0 -133
  135. package/src/lib/components/Section/__preview__/Section.preview.tsx +0 -35
  136. package/src/lib/components/Select/__preview__/Select.preview.tsx +0 -168
  137. package/src/lib/components/Skeleton/__preview__/Skeleton.preview.tsx +0 -240
  138. package/src/lib/components/Slideshow/__preview__/Slideshow.preview.tsx +0 -133
  139. package/src/lib/components/Sticky/__preview__/Sticky.preview.tsx +0 -188
  140. package/src/lib/components/Table/__preview__/Table.preview.tsx +0 -173
  141. package/src/lib/components/Tabs/__preview__/Tabs.preview.tsx +0 -155
  142. package/src/lib/components/Tag/__preview__/Tag.preview.tsx +0 -128
  143. package/src/lib/components/Text/__preview__/Text.preview.tsx +0 -97
  144. package/src/lib/components/Text/__preview__/previews/Description.tsx +0 -18
  145. package/src/lib/components/Text/__preview__/previews/Ordered.tsx +0 -13
  146. package/src/lib/components/Text/__preview__/previews/Paragraphs.tsx +0 -26
  147. package/src/lib/components/Text/__preview__/previews/Quote.tsx +0 -5
  148. package/src/lib/components/Text/__preview__/previews/Small.tsx +0 -5
  149. package/src/lib/components/Text/__preview__/previews/TextDisplay.tsx +0 -27
  150. package/src/lib/components/Text/__preview__/previews/TextTitles.tsx +0 -19
  151. package/src/lib/components/Text/__preview__/previews/Unordered.tsx +0 -13
  152. package/src/lib/components/Toast/__preview__/Toast.preview.tsx +0 -115
  153. package/src/lib/components/Tooltip/__preview__/Tooltip.preview.tsx +0 -117
  154. package/src/lib/components/Wrapper/__preview__/Wrapper.preview.tsx +0 -78
  155. package/src/main.tsx +0 -11
  156. package/src/pages/Component.tsx +0 -29
  157. package/src/pages/Homepage.tsx +0 -53
  158. package/src/pages/NotFound.tsx +0 -10
  159. package/src/pages/demos/AsideBothDemo.tsx +0 -22
  160. package/src/pages/demos/AsideDefaultDemo.tsx +0 -18
  161. package/src/pages/demos/AsideRightDemo.tsx +0 -18
  162. package/src/pages/demos/CoverBottomDemo.tsx +0 -24
  163. package/src/pages/demos/CoverBottomOverlayDemo.tsx +0 -25
  164. package/src/pages/demos/CoverCenterDemo.tsx +0 -24
  165. package/src/pages/demos/CoverCenterOverlayDemo.tsx +0 -25
  166. package/src/pages/demos/HeaderDemo.tsx +0 -76
  167. package/src/pages/demos/MainDefaultDemo.tsx +0 -14
  168. package/src/pages/demos/MainFormDemo.tsx +0 -14
  169. package/src/pages/demos/MainLargeDemo.tsx +0 -14
  170. package/src/pages/demos/PageLoadingDemo.tsx +0 -10
  171. package/src/routes/index.tsx +0 -59
  172. package/src/types/global.d.ts +0 -11
  173. package/src/vite-env.d.ts +0 -1
  174. package/tailwind.config.ts +0 -19
  175. package/tsconfig.app.json +0 -28
  176. package/tsconfig.json +0 -7
  177. package/tsconfig.node.json +0 -25
  178. package/vite.config.ts +0 -53
  179. /package/{src/lib → dist}/index.css +0 -0
  180. /package/{src → dist}/lib/Variables.ts +0 -0
  181. /package/{src → dist}/lib/components/Accordion/Accordion.tsx +0 -0
  182. /package/{src → dist}/lib/components/Accordion/AccordionContent.tsx +0 -0
  183. /package/{src → dist}/lib/components/Accordion/AccordionItem.tsx +0 -0
  184. /package/{src → dist}/lib/components/Accordion/AccordionTitle.tsx +0 -0
  185. /package/{src → dist}/lib/components/Accordion/index.ts +0 -0
  186. /package/{src → dist}/lib/components/Accordion/subtypes.ts +0 -0
  187. /package/{src → dist}/lib/components/Accordion/types.ts +0 -0
  188. /package/{src → dist}/lib/components/Alert/Alert.tsx +0 -0
  189. /package/{src → dist}/lib/components/Alert/index.ts +0 -0
  190. /package/{src → dist}/lib/components/Alert/types.ts +0 -0
  191. /package/{src → dist}/lib/components/Aside/Aside.tsx +0 -0
  192. /package/{src → dist}/lib/components/Aside/index.ts +0 -0
  193. /package/{src → dist}/lib/components/Aside/types.ts +0 -0
  194. /package/{src → dist}/lib/components/Autocomplete/Autocomplete.tsx +0 -0
  195. /package/{src → dist}/lib/components/Autocomplete/index.ts +0 -0
  196. /package/{src → dist}/lib/components/Autocomplete/types.ts +0 -0
  197. /package/{src → dist}/lib/components/Avatar/Avatar.tsx +0 -0
  198. /package/{src → dist}/lib/components/Avatar/AvatarFn.tsx +0 -0
  199. /package/{src → dist}/lib/components/Avatar/index.ts +0 -0
  200. /package/{src → dist}/lib/components/Avatar/types.ts +0 -0
  201. /package/{src → dist}/lib/components/BackToTop/BackToTop.tsx +0 -0
  202. /package/{src → dist}/lib/components/BackToTop/index.ts +0 -0
  203. /package/{src → dist}/lib/components/BackToTop/types.ts +0 -0
  204. /package/{src → dist}/lib/components/Badge/Badge.tsx +0 -0
  205. /package/{src → dist}/lib/components/Badge/index.ts +0 -0
  206. /package/{src → dist}/lib/components/Badge/types.ts +0 -0
  207. /package/{src → dist}/lib/components/Breadcrumbs/Breadcrumbs.tsx +0 -0
  208. /package/{src → dist}/lib/components/Breadcrumbs/index.ts +0 -0
  209. /package/{src → dist}/lib/components/Breadcrumbs/types.ts +0 -0
  210. /package/{src → dist}/lib/components/Burger/Burger.tsx +0 -0
  211. /package/{src → dist}/lib/components/Burger/index.ts +0 -0
  212. /package/{src → dist}/lib/components/Burger/types.ts +0 -0
  213. /package/{src → dist}/lib/components/Button/Button.tsx +0 -0
  214. /package/{src → dist}/lib/components/Button/index.ts +0 -0
  215. /package/{src → dist}/lib/components/Button/types.ts +0 -0
  216. /package/{src → dist}/lib/components/ButtonGroup/ButtonGroup.tsx +0 -0
  217. /package/{src → dist}/lib/components/ButtonGroup/index.ts +0 -0
  218. /package/{src → dist}/lib/components/ButtonGroup/types.ts +0 -0
  219. /package/{src → dist}/lib/components/ButtonIcon/ButtonFn.tsx +0 -0
  220. /package/{src → dist}/lib/components/ButtonIcon/ButtonIcon.tsx +0 -0
  221. /package/{src → dist}/lib/components/ButtonIcon/index.ts +0 -0
  222. /package/{src → dist}/lib/components/ButtonIcon/types.ts +0 -0
  223. /package/{src → dist}/lib/components/CodeContainer/CodeContainer.tsx +0 -0
  224. /package/{src → dist}/lib/components/CodeContainer/index.ts +0 -0
  225. /package/{src → dist}/lib/components/CodeContainer/types.ts +0 -0
  226. /package/{src → dist}/lib/components/Cover/Cover.tsx +0 -0
  227. /package/{src → dist}/lib/components/Cover/index.ts +0 -0
  228. /package/{src → dist}/lib/components/Cover/types.ts +0 -0
  229. /package/{src → dist}/lib/components/DragList/DragList.tsx +0 -0
  230. /package/{src → dist}/lib/components/DragList/DragListItem.tsx +0 -0
  231. /package/{src → dist}/lib/components/DragList/index.ts +0 -0
  232. /package/{src → dist}/lib/components/DragList/types.ts +0 -0
  233. /package/{src → dist}/lib/components/Drawer/Drawer.tsx +0 -0
  234. /package/{src → dist}/lib/components/Drawer/index.ts +0 -0
  235. /package/{src → dist}/lib/components/Drawer/types.ts +0 -0
  236. /package/{src → dist}/lib/components/Dropdown/Dropdown.tsx +0 -0
  237. /package/{src → dist}/lib/components/Dropdown/DropdownItem.tsx +0 -0
  238. /package/{src → dist}/lib/components/Dropdown/index.ts +0 -0
  239. /package/{src → dist}/lib/components/Dropdown/types.ts +0 -0
  240. /package/{src → dist}/lib/components/Fade/Fade.tsx +0 -0
  241. /package/{src → dist}/lib/components/Fade/index.ts +0 -0
  242. /package/{src → dist}/lib/components/Fade/types.ts +0 -0
  243. /package/{src → dist}/lib/components/Fieldset/Fieldset.tsx +0 -0
  244. /package/{src → dist}/lib/components/Fieldset/index.ts +0 -0
  245. /package/{src → dist}/lib/components/Fieldset/types.ts +0 -0
  246. /package/{src → dist}/lib/components/Flexbox/Flexbox.tsx +0 -0
  247. /package/{src → dist}/lib/components/Flexbox/index.ts +0 -0
  248. /package/{src → dist}/lib/components/Flexbox/types.ts +0 -0
  249. /package/{src → dist}/lib/components/Form/Form.tsx +0 -0
  250. /package/{src → dist}/lib/components/Form/index.ts +0 -0
  251. /package/{src → dist}/lib/components/Form/types.ts +0 -0
  252. /package/{src → dist}/lib/components/Grid/Grid.tsx +0 -0
  253. /package/{src → dist}/lib/components/Grid/index.ts +0 -0
  254. /package/{src → dist}/lib/components/Grid/types.ts +0 -0
  255. /package/{src → dist}/lib/components/Header/Header.tsx +0 -0
  256. /package/{src → dist}/lib/components/Header/HeaderSearch.tsx +0 -0
  257. /package/{src → dist}/lib/components/Header/index.ts +0 -0
  258. /package/{src → dist}/lib/components/Header/subtypes.ts +0 -0
  259. /package/{src → dist}/lib/components/Header/types.ts +0 -0
  260. /package/{src → dist}/lib/components/Highlight/Highlight.tsx +0 -0
  261. /package/{src → dist}/lib/components/Highlight/index.ts +0 -0
  262. /package/{src → dist}/lib/components/Highlight/types.ts +0 -0
  263. /package/{src → dist}/lib/components/Hr/Hr.tsx +0 -0
  264. /package/{src → dist}/lib/components/Hr/index.ts +0 -0
  265. /package/{src → dist}/lib/components/Hr/types.ts +0 -0
  266. /package/{src → dist}/lib/components/IconMenu/IconMenu.module.css +0 -0
  267. /package/{src → dist}/lib/components/IconMenu/IconMenu.tsx +0 -0
  268. /package/{src → dist}/lib/components/IconMenu/IconMenuItem.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,107 +0,0 @@
1
- import { BiUser } from "react-icons/bi"
2
- import { Avatar } from "../../../"
3
- import type { ILibAvatar } from "../../../types/components-props"
4
- import type { ComponentPreview } from "../../../../data/components"
5
-
6
- export const avatarPreview: ComponentPreview<ILibAvatar> = {
7
- name: "Avatar",
8
- component: Avatar,
9
- category: "components",
10
- import: "Avatar",
11
- additionalImports: null,
12
- optionalImports: null,
13
- propsImport: "ILibAvatar",
14
- additionalTypeImports: null,
15
- extends: ["HTMLSpanElement"],
16
- previews: [
17
- {
18
- previewTitle: "With image",
19
- props: {
20
- children: <img src="/images/pic-avatar.jpg" alt="Avatar" />,
21
- },
22
- },
23
- { previewTitle: "With initials", props: { children: "JS" } },
24
- {
25
- previewTitle: "With icon",
26
- props: { children: <BiUser size={32} /> },
27
- },
28
- {
29
- previewTitle: "With badge",
30
- props: {
31
- children: "JS",
32
- backgroundColor: "secondary",
33
- borderColor: "warning",
34
- className: "border-4",
35
- badge: { content: 1, color: "danger" },
36
- },
37
- },
38
- ],
39
- props: [
40
- {
41
- name: "badge",
42
- type: "string | Object",
43
- possibleValues: null,
44
- defaultValue: null,
45
- description:
46
- "Badge to display on the avatar, can be a string or an object with content and colors.",
47
- isRequired: false,
48
- },
49
- {
50
- name: "containerStyle",
51
- type: "CSSProperties",
52
- possibleValues: null,
53
- defaultValue: null,
54
- description: "Inline styles for the avatar container.",
55
- isRequired: false,
56
- },
57
- {
58
- name: "containerClassName",
59
- type: "string",
60
- possibleValues: null,
61
- defaultValue: null,
62
- description: "Additional CSS classes for the avatar container.",
63
- isRequired: false,
64
- },
65
- {
66
- name: "borderRadius",
67
- type: "string",
68
- possibleValues: [
69
- "none",
70
- "sm",
71
- "md",
72
- "lg",
73
- "xl",
74
- "2xl",
75
- "3xl",
76
- "full",
77
- ],
78
- defaultValue: "full",
79
- description: "Border radius of the avatar.",
80
- isRequired: false,
81
- },
82
- {
83
- name: "borderColor",
84
- type: "string",
85
- possibleValues: "Any color from the library",
86
- defaultValue: null,
87
- description: "Border color of the avatar.",
88
- isRequired: false,
89
- },
90
- {
91
- name: "backgroundColor",
92
- type: "string",
93
- possibleValues: "Any color from the library",
94
- defaultValue: "primary",
95
- description: "Background color of the avatar.",
96
- isRequired: false,
97
- },
98
- {
99
- name: "contentColor",
100
- type: "string",
101
- possibleValues: "Any color from the library",
102
- defaultValue: "white",
103
- description: "Text color of the avatar.",
104
- isRequired: false,
105
- },
106
- ],
107
- }
@@ -1,115 +0,0 @@
1
- import { BackToTop, generateNumbers, Text } from "../../../"
2
- import type { ILibBackToTop } from "../../../types/components-props"
3
- import type { ComponentPreview } from "../../../../data/components"
4
-
5
- const text =
6
- "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ac ullamcorper risus. Sed porttitor dolor eget leo accumsan ultricies. Morbi feugiat libero a mi sollicitudin, et varius eros porttitor. Aliquam ac elementum erat, interdum cursus tortor. Maecenas faucibus mollis nisl. Integer vel justo leo. Donec ac magna vel est blandit tristique. Cras nec mauris dictum elit blandit pellentesque sed vel sem. Nam ullamcorper malesuada orci, ac cursus mi convallis at. Donec aliquet pharetra velit, non suscipit elit consectetur vitae. Praesent suscipit, mi a interdum maximus, tellus metus feugiat urna, sed semper felis enim sed magna. Donec vestibulum commodo sapien quis lobortis. Maecenas et venenatis elit. Sed sed porttitor ante. Curabitur eu orci tristique, tristique justo eu, tempus elit."
7
-
8
- export const backToTopPreview: ComponentPreview<ILibBackToTop> = {
9
- name: "Back To Top",
10
- component: BackToTop,
11
- category: "components",
12
- import: "BackToTop", // import Component (ex: Skeleton)
13
- additionalImports: [], // import OtherComponent (ex: SkeletonCard)
14
- optionalImports: [], // import ComponentItem (ex: AccordionItem) => to build with children instead of prop on component
15
- propsImport: "ILibBackToTop", // import ILibComponent (ex: ILibAccordion)
16
- additionalTypeImports: [], // import LibComponentItem (ex: LibAccordionItem)
17
- extends: ["HTMLButtonElement"],
18
- previews: [
19
- {
20
- demo: (
21
- <>
22
- {generateNumbers(0, 10).map(i => (
23
- <Text key={i}>{text}</Text>
24
- ))}
25
-
26
- <BackToTop showTooltip={{}} />
27
- </>
28
- ),
29
- },
30
- ],
31
- props: [
32
- {
33
- name: "icon",
34
- type: "ReactElement",
35
- possibleValues: null,
36
- defaultValue: "BiUpArrowAlt",
37
- description: "Icon element to display inside the button.",
38
- isRequired: false,
39
- },
40
- {
41
- name: "color",
42
- type: "string",
43
- possibleValues: [
44
- "primary",
45
- "secondary",
46
- "success",
47
- "danger",
48
- "warning",
49
- "gray",
50
- "white",
51
- ],
52
- defaultValue: "primary",
53
- description: "Button color theme.",
54
- isRequired: false,
55
- },
56
- {
57
- name: "borderRadius",
58
- type: "string",
59
- possibleValues: [
60
- "none",
61
- "sm",
62
- "md",
63
- "lg",
64
- "xl",
65
- "2xl",
66
- "3xl",
67
- "full",
68
- ],
69
- defaultValue: "full",
70
- description: "Border radius of the button.",
71
- isRequired: false,
72
- },
73
- {
74
- name: "variant",
75
- type: "string",
76
- possibleValues: ["plain", "ghost", "outline", "transparent"],
77
- defaultValue: "plain",
78
- description: "Button variant style.",
79
- isRequired: false,
80
- },
81
- {
82
- name: "tooltip",
83
- type: "string",
84
- possibleValues: [],
85
- defaultValue: "Back to top",
86
- description: "Tooltip text displayed on hover.",
87
- isRequired: false,
88
- },
89
- {
90
- name: "showTooltip",
91
- type: "boolean | Object",
92
- possibleValues: null,
93
- defaultValue: "true",
94
- description:
95
- "Whether to show tooltip or tooltip configuration object.",
96
- isRequired: false,
97
- },
98
- {
99
- name: "containerStyle",
100
- type: "CSSProperties",
101
- possibleValues: null,
102
- defaultValue: null,
103
- description: "Inline styles for the container.",
104
- isRequired: false,
105
- },
106
- {
107
- name: "containerClasses",
108
- type: "string",
109
- possibleValues: null,
110
- defaultValue: null,
111
- description: "Additional CSS classes for the container.",
112
- isRequired: false,
113
- },
114
- ],
115
- }
@@ -1,84 +0,0 @@
1
- import { BiStar } from "react-icons/bi"
2
- import { Badge, designTokens, Flexbox } from "../../../"
3
- import type { ILibBadge } from "../../../types/components-props"
4
- import type { ComponentPreview } from "../../../../data/components"
5
-
6
- export const badgePreview: ComponentPreview<ILibBadge> = {
7
- name: "Badge",
8
- component: Badge,
9
- category: "components",
10
- import: "Badge",
11
- additionalImports: null,
12
- optionalImports: null,
13
- propsImport: "ILibBadge",
14
- additionalTypeImports: null,
15
- extends: ["HTMLSpanElement"],
16
- previews: [
17
- {
18
- previewTitle: "Default",
19
- demo: (
20
- <Flexbox gap="sm">
21
- {Object.keys(designTokens.libColorsShort).map(
22
- (color, i) => (
23
- <Badge color={color as any} key={i} />
24
- ),
25
- )}
26
- </Flexbox>
27
- ),
28
- },
29
- {
30
- previewTitle: "With icon",
31
- props: { children: <BiStar size={32} />, className: "size-12" },
32
- },
33
- {
34
- previewTitle: "With short number",
35
- props: {
36
- children: 2,
37
- color: "danger",
38
- },
39
- },
40
- {
41
- previewTitle: "With long number",
42
- props: {
43
- children: 300,
44
- className: "w-fit px-2",
45
- color: "success",
46
- },
47
- },
48
- ],
49
- props: [
50
- {
51
- name: "backgroundColor",
52
- type: "string",
53
- possibleValues: "Any color from the library",
54
- defaultValue: "primary",
55
- description: "Background color of the badge.",
56
- isRequired: false,
57
- },
58
- {
59
- name: "contentColor",
60
- type: "string",
61
- possibleValues: "Any color from the library",
62
- defaultValue: "white",
63
- description: "Text color of the badge.",
64
- isRequired: false,
65
- },
66
- {
67
- name: "borderRadius",
68
- type: "string",
69
- possibleValues: [
70
- "none",
71
- "sm",
72
- "md",
73
- "lg",
74
- "xl",
75
- "2xl",
76
- "3xl",
77
- "full",
78
- ],
79
- defaultValue: "full",
80
- description: "Border radius of the badge.",
81
- isRequired: false,
82
- },
83
- ],
84
- }
@@ -1,55 +0,0 @@
1
- import type { FC } from "react"
2
- import { Link } from "react-router-dom"
3
- import { BiChevronRight } from "react-icons/bi"
4
- import { Breadcrumbs, Text } from "../../../"
5
- import type { ILibBreadcrumbs } from "../../../types/components-props"
6
- import type { ComponentPreview } from "../../../../data/components"
7
-
8
- const Preview: FC<ILibBreadcrumbs> = props => {
9
- return (
10
- <Breadcrumbs {...props}>
11
- <Text>
12
- <Link to="/">Home</Link>
13
- </Text>
14
- <Text>
15
- <Link to="#">Page</Link>
16
- </Text>
17
- <Text>
18
- <Link to="#">Page</Link>
19
- </Text>
20
- <Text>
21
- <Link to="#">Page</Link>
22
- </Text>
23
- <Text>Current page</Text>
24
- </Breadcrumbs>
25
- )
26
- }
27
-
28
- export const breadcrumbsPreview: ComponentPreview<ILibBreadcrumbs> = {
29
- name: "Breadcrumbs",
30
- component: Breadcrumbs,
31
- category: "components",
32
- import: "Breadcrumbs",
33
- additionalImports: [],
34
- optionalImports: [],
35
- propsImport: "ILibBreadcrumbs",
36
- additionalTypeImports: [],
37
- extends: ["HTMLDivElement"],
38
- previews: [
39
- { previewTitle: "Default", demo: <Preview /> },
40
- {
41
- previewTitle: "With different separator",
42
- demo: <Preview separator={<BiChevronRight />} />,
43
- },
44
- ],
45
- props: [
46
- {
47
- name: "separator",
48
- type: "ReactNode",
49
- possibleValues: [],
50
- defaultValue: "/",
51
- description: "Separator to display between breadcrumb items.",
52
- isRequired: false,
53
- },
54
- ],
55
- }
@@ -1,55 +0,0 @@
1
- import { Burger } from "../../../"
2
- import { BurgerPreview } from "./Preview"
3
- import type { ILibBurger } from "../../../types/components-props"
4
- import type { ComponentPreview } from "../../../../data/components"
5
-
6
- export const burgerPreview: ComponentPreview<ILibBurger> = {
7
- name: "Burger",
8
- component: Burger,
9
- category: "components",
10
- import: "Burger",
11
- additionalImports: null,
12
- optionalImports: null,
13
- propsImport: "ILibBurger",
14
- additionalTypeImports: null,
15
- extends: ["HTMLButtonElement"],
16
- previews: [
17
- { previewTitle: "Default", demo: <BurgerPreview /> },
18
- {
19
- previewTitle: "Other color",
20
- demo: <BurgerPreview color="secondary" />,
21
- },
22
- {
23
- previewTitle: "Other size",
24
- demo: (
25
- <BurgerPreview color="gray" className="w-12 h-8 [&>span]:h-1" />
26
- ),
27
- },
28
- ],
29
- props: [
30
- {
31
- name: "isOpen",
32
- type: "boolean",
33
- possibleValues: null,
34
- defaultValue: null,
35
- description: "Whether the burger menu is open or closed.",
36
- isRequired: true,
37
- },
38
- {
39
- name: "color",
40
- type: "string",
41
- possibleValues: [
42
- "primary",
43
- "secondary",
44
- "success",
45
- "danger",
46
- "warning",
47
- "gray",
48
- "white",
49
- ],
50
- defaultValue: "primary",
51
- description: "Color of the burger lines.",
52
- isRequired: false,
53
- },
54
- ],
55
- }
@@ -1,11 +0,0 @@
1
- import { useState, type FC } from "react"
2
- import { Burger } from "../Burger"
3
- import type { ILibBurger } from "../types"
4
-
5
- export const BurgerPreview: FC<Omit<ILibBurger, "isOpen">> = props => {
6
- const [isOpen, setIsOpen] = useState(false)
7
-
8
- return (
9
- <Burger isOpen={isOpen} onClick={() => setIsOpen(!isOpen)} {...props} />
10
- )
11
- }
@@ -1,182 +0,0 @@
1
- import { Button, designTokens, Flexbox } from "../../../"
2
- import type { ReactChildren } from "../../../types"
3
- import type { ILibButton } from "../../../types/components-props"
4
- import type { ComponentPreview } from "../../../../data/components"
5
-
6
- const Flex = ({ children }: { children?: ReactChildren }) => {
7
- return (
8
- <Flexbox gap="sm" flexWrap="wrap">
9
- {children}
10
- </Flexbox>
11
- )
12
- }
13
-
14
- export const buttonPreview: ComponentPreview<ILibButton> = {
15
- name: "Button",
16
- component: Button,
17
- category: "components",
18
- import: "Button",
19
- additionalImports: null,
20
- optionalImports: null,
21
- propsImport: "ILibButton",
22
- additionalTypeImports: null,
23
- extends: ["HTMLButtonElement"],
24
- previews: [
25
- {
26
- previewTitle: "Plain",
27
- demo: (
28
- <Flex>
29
- {Object.keys(designTokens.libColorsHover).map(
30
- (color, i) => (
31
- <Button color={color as any} key={i}>
32
- Button
33
- </Button>
34
- ),
35
- )}
36
- </Flex>
37
- ),
38
- },
39
- {
40
- previewTitle: "Ghost",
41
- demo: (
42
- <Flex>
43
- {Object.keys(designTokens.libColorsHover).map(
44
- (color, i) => (
45
- <Button
46
- color={color as any}
47
- variant="ghost"
48
- key={i}
49
- >
50
- Button
51
- </Button>
52
- ),
53
- )}
54
- </Flex>
55
- ),
56
- },
57
- {
58
- previewTitle: "Outline",
59
- demo: (
60
- <Flex>
61
- {Object.keys(designTokens.libColorsHover).map(
62
- (color, i) => (
63
- <Button
64
- color={color as any}
65
- variant="outline"
66
- key={i}
67
- >
68
- Button
69
- </Button>
70
- ),
71
- )}
72
- </Flex>
73
- ),
74
- },
75
- {
76
- previewTitle: "Transparent",
77
- demo: (
78
- <Flex>
79
- {Object.keys(designTokens.libColorsHover).map(
80
- (color, i) => (
81
- <Button
82
- color={color as any}
83
- variant="transparent"
84
- key={i}
85
- >
86
- Button
87
- </Button>
88
- ),
89
- )}
90
- </Flex>
91
- ),
92
- },
93
- {
94
- previewTitle: "Small",
95
- demo: (
96
- <Flex>
97
- <Button size="small">Button</Button>
98
- </Flex>
99
- ),
100
- },
101
- {
102
- previewTitle: "Disabled",
103
- demo: (
104
- <Flex>
105
- <Button variant="plain" disabled>
106
- Button
107
- </Button>
108
- <Button variant="ghost" disabled>
109
- Button
110
- </Button>
111
- <Button variant="transparent" disabled>
112
- Button
113
- </Button>
114
- </Flex>
115
- ),
116
- },
117
- {
118
- previewTitle: "Loading",
119
- demo: (
120
- <Flex>
121
- <Button isLoading>Button</Button>
122
- <Button isLoading loaderVariant={2}>
123
- Button
124
- </Button>
125
- <Button isLoading loaderVariant={3}>
126
- Button
127
- </Button>
128
- </Flex>
129
- ),
130
- },
131
- ],
132
- props: [
133
- {
134
- name: "variant",
135
- type: "string",
136
- possibleValues: ["plain", "ghost", "outline", "transparent"],
137
- defaultValue: "plain",
138
- description: "Button variant style.",
139
- isRequired: false,
140
- },
141
- {
142
- name: "color",
143
- type: "string",
144
- possibleValues: [
145
- "primary",
146
- "secondary",
147
- "success",
148
- "danger",
149
- "warning",
150
- "gray",
151
- "white",
152
- ],
153
- defaultValue: "primary",
154
- description: "Button color theme.",
155
- isRequired: false,
156
- },
157
- {
158
- name: "size",
159
- type: "string",
160
- possibleValues: ["default", "small"],
161
- defaultValue: "default",
162
- description: "Button size.",
163
- isRequired: false,
164
- },
165
- {
166
- name: "isLoading",
167
- type: "boolean",
168
- possibleValues: null,
169
- defaultValue: null,
170
- description: "Whether the button is in a loading state.",
171
- isRequired: false,
172
- },
173
- {
174
- name: "loaderVariant",
175
- type: "number",
176
- possibleValues: ["1", "2", "3"],
177
- defaultValue: "1",
178
- description: "Loader variant to display when loading.",
179
- isRequired: false,
180
- },
181
- ],
182
- }