trepur_components 0.4.7 → 1.0.0

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 (378) hide show
  1. package/dist/components/Accordion/Accordion.stories.tsx +88 -0
  2. package/dist/components/Accordion/index.tsx +31 -0
  3. package/dist/components/AlertBar/AlertBar.stories.tsx +105 -0
  4. package/dist/components/AlertBar/index.tsx +127 -0
  5. package/dist/components/Breadcrumbs/Breadcrumbs.stories.tsx +60 -0
  6. package/dist/components/Breadcrumbs/index.tsx +55 -0
  7. package/dist/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.tsx +52 -0
  8. package/dist/components/BreadcrumbsBordered/index.tsx +44 -0
  9. package/dist/components/BreadcrumbsItem/BreadcrumbsItem.stories.tsx +54 -0
  10. package/dist/components/BreadcrumbsItem/index.tsx +151 -0
  11. package/dist/components/Button/button.stories.tsx +148 -0
  12. package/dist/components/Button/index.tsx +91 -0
  13. package/dist/components/Card/Card.stories.tsx +150 -0
  14. package/dist/components/Card/index.tsx +162 -0
  15. package/dist/components/CardWithTopImage/CardWithTopImage.stories.tsx +48 -0
  16. package/dist/components/CardWithTopImage/index.tsx +40 -0
  17. package/dist/components/Carousel/Carousel.stories.tsx +369 -0
  18. package/dist/components/Carousel/index.tsx +267 -0
  19. package/dist/components/ChevronCard/ChevronCard.stories.tsx +21 -0
  20. package/dist/components/ChevronCard/index.tsx +39 -0
  21. package/dist/components/Collapsible/Collapsible.stories.tsx +70 -0
  22. package/dist/components/Collapsible/index.tsx +124 -0
  23. package/dist/components/Column/Column.stories.tsx +82 -0
  24. package/dist/components/Column/index.tsx +114 -0
  25. package/dist/components/Container/Container.stories.tsx +38 -0
  26. package/dist/components/Container/index.tsx +30 -0
  27. package/dist/components/FooterBar/footerBar.stories.tsx +57 -0
  28. package/dist/components/FooterBar/index.tsx +44 -0
  29. package/dist/components/Form/Form.stories.tsx +93 -0
  30. package/dist/components/Form/index.tsx +58 -0
  31. package/dist/components/FyreCard/FyreCard.stories.tsx +29 -0
  32. package/dist/components/FyreCard/index.tsx +46 -0
  33. package/dist/components/Greeting/Greeting.stories.tsx +42 -0
  34. package/dist/components/Greeting/index.tsx +46 -0
  35. package/dist/components/HamburgerIcon/HamburgerIcon.stories.tsx +50 -0
  36. package/dist/components/HamburgerIcon/index.tsx +65 -0
  37. package/dist/components/Icon/Icon.stories.tsx +102 -0
  38. package/dist/components/Icon/index.tsx +112 -0
  39. package/dist/components/Image/Image.stories.tsx +88 -0
  40. package/dist/components/Image/index.tsx +113 -0
  41. package/dist/components/ImageLink/ImageLink.stories.tsx +60 -0
  42. package/dist/components/ImageLink/index.tsx +62 -0
  43. package/dist/components/ImageLinkList/ImageLinkList.stories.tsx +32 -0
  44. package/dist/components/ImageLinkList/index.tsx +33 -0
  45. package/dist/components/InformationIcon/InformationIcon.stories.tsx +86 -0
  46. package/dist/components/InformationIcon/index.tsx +84 -0
  47. package/dist/components/Input/Input.stories.tsx +99 -0
  48. package/dist/components/Input/index.tsx +126 -0
  49. package/dist/components/Jumbotron/Jumbotron.stories.tsx +22 -0
  50. package/dist/components/Jumbotron/index.tsx +25 -0
  51. package/dist/components/Nav/Nav.stories.tsx +155 -0
  52. package/dist/components/Nav/index.tsx +180 -0
  53. package/dist/components/NavItem/NavItem.stories.tsx +89 -0
  54. package/dist/components/NavItem/index.tsx +65 -0
  55. package/dist/components/NewsCard/NewsCard.stories.tsx +71 -0
  56. package/dist/components/NewsCard/index.tsx +48 -0
  57. package/dist/components/Profile/Profile.stories.tsx +50 -0
  58. package/dist/components/Profile/index.tsx +87 -0
  59. package/dist/components/Row/Row.stories.tsx +51 -0
  60. package/dist/components/Row/index.tsx +24 -0
  61. package/dist/components/Search/Search.stories.tsx +58 -0
  62. package/dist/components/Search/index.tsx +58 -0
  63. package/dist/components/SocialBlock/SocialBlock.stories.tsx +114 -0
  64. package/dist/components/SocialBlock/index.tsx +161 -0
  65. package/dist/components/StarRating/StarRating.stories.tsx +23 -0
  66. package/dist/components/StarRating/index.tsx +71 -0
  67. package/dist/components/Testimonial/Testimonial.stories.tsx +110 -0
  68. package/dist/components/Testimonial/index.tsx +50 -0
  69. package/dist/components/TextAndTitle/TextAndTitle.stories.tsx +65 -0
  70. package/dist/components/TextAndTitle/index.tsx +257 -0
  71. package/dist/components/TextArea/TextArea.stories.tsx +67 -0
  72. package/dist/components/TextArea/index.tsx +97 -0
  73. package/dist/components/Timeline/Timeline.stories.tsx +100 -0
  74. package/dist/components/Timeline/index.tsx +315 -0
  75. package/dist/components/Tubestops/Tubestops.stories.tsx +66 -0
  76. package/dist/components/Tubestops/index.tsx +77 -0
  77. package/dist/components/UserIcon/UserIcon.stories.tsx +67 -0
  78. package/dist/components/UserIcon/index.tsx +42 -0
  79. package/dist/components/Video/Video.stories.tsx +23 -0
  80. package/dist/components/Video/index.tsx +49 -0
  81. package/dist/index.js +0 -39
  82. package/dist/src/lib/components/Accordion/Accordion.stories.d.ts +6 -0
  83. package/dist/src/lib/components/Accordion/Accordion.stories.js +72 -0
  84. package/dist/src/lib/components/Accordion/Accordion.stories.js.map +1 -0
  85. package/dist/src/lib/components/Accordion/index.d.ts +9 -0
  86. package/dist/src/lib/components/Accordion/index.js +9 -0
  87. package/dist/src/lib/components/Accordion/index.js.map +1 -0
  88. package/dist/src/lib/components/AlertBar/AlertBar.stories.d.ts +6 -0
  89. package/dist/src/lib/components/AlertBar/AlertBar.stories.js +91 -0
  90. package/dist/src/lib/components/AlertBar/AlertBar.stories.js.map +1 -0
  91. package/dist/src/lib/components/AlertBar/index.d.ts +16 -0
  92. package/dist/src/lib/components/AlertBar/index.js +62 -0
  93. package/dist/src/lib/components/AlertBar/index.js.map +1 -0
  94. package/dist/src/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +6 -0
  95. package/dist/src/lib/components/Breadcrumbs/Breadcrumbs.stories.js +56 -0
  96. package/dist/src/lib/components/Breadcrumbs/Breadcrumbs.stories.js.map +1 -0
  97. package/dist/src/lib/components/Breadcrumbs/index.d.ts +11 -0
  98. package/dist/src/lib/components/Breadcrumbs/index.js +22 -0
  99. package/dist/src/lib/components/Breadcrumbs/index.js.map +1 -0
  100. package/dist/src/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.d.ts +6 -0
  101. package/dist/src/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +45 -0
  102. package/dist/src/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.js.map +1 -0
  103. package/dist/src/lib/components/BreadcrumbsBordered/index.d.ts +9 -0
  104. package/dist/src/lib/components/BreadcrumbsBordered/index.js +18 -0
  105. package/dist/src/lib/components/BreadcrumbsBordered/index.js.map +1 -0
  106. package/dist/src/lib/components/BreadcrumbsItem/BreadcrumbsItem.stories.d.ts +6 -0
  107. package/dist/src/lib/components/BreadcrumbsItem/BreadcrumbsItem.stories.js +50 -0
  108. package/dist/src/lib/components/BreadcrumbsItem/BreadcrumbsItem.stories.js.map +1 -0
  109. package/dist/src/lib/components/BreadcrumbsItem/index.d.ts +12 -0
  110. package/dist/src/lib/components/BreadcrumbsItem/index.js +59 -0
  111. package/dist/src/lib/components/BreadcrumbsItem/index.js.map +1 -0
  112. package/dist/src/lib/components/Button/button.stories.d.ts +6 -0
  113. package/dist/src/lib/components/Button/button.stories.js +87 -0
  114. package/dist/src/lib/components/Button/button.stories.js.map +1 -0
  115. package/dist/src/lib/components/Button/index.d.ts +17 -0
  116. package/dist/src/lib/components/Button/index.js +32 -0
  117. package/dist/src/lib/components/Button/index.js.map +1 -0
  118. package/dist/src/lib/components/Card/Card.stories.d.ts +5 -0
  119. package/dist/src/lib/components/Card/Card.stories.js +124 -0
  120. package/dist/src/lib/components/Card/Card.stories.js.map +1 -0
  121. package/dist/src/lib/components/Card/index.d.ts +31 -0
  122. package/dist/src/lib/components/Card/index.js +63 -0
  123. package/dist/src/lib/components/Card/index.js.map +1 -0
  124. package/dist/src/lib/components/CardWithTopImage/CardWithTopImage.stories.d.ts +6 -0
  125. package/dist/src/lib/components/CardWithTopImage/CardWithTopImage.stories.js +40 -0
  126. package/dist/src/lib/components/CardWithTopImage/CardWithTopImage.stories.js.map +1 -0
  127. package/dist/src/lib/components/CardWithTopImage/index.d.ts +10 -0
  128. package/dist/src/lib/components/CardWithTopImage/index.js +15 -0
  129. package/dist/src/lib/components/CardWithTopImage/index.js.map +1 -0
  130. package/dist/src/lib/components/Carousel/Carousel.stories.d.ts +6 -0
  131. package/dist/src/lib/components/Carousel/Carousel.stories.js +297 -0
  132. package/dist/src/lib/components/Carousel/Carousel.stories.js.map +1 -0
  133. package/dist/src/lib/components/Carousel/index.d.ts +61 -0
  134. package/dist/src/lib/components/Carousel/index.js +81 -0
  135. package/dist/src/lib/components/Carousel/index.js.map +1 -0
  136. package/dist/src/lib/components/ChevronCard/ChevronCard.stories.d.ts +6 -0
  137. package/dist/src/lib/components/ChevronCard/ChevronCard.stories.js +14 -0
  138. package/dist/src/lib/components/ChevronCard/ChevronCard.stories.js.map +1 -0
  139. package/dist/src/lib/components/ChevronCard/index.d.ts +7 -0
  140. package/dist/src/lib/components/ChevronCard/index.js +20 -0
  141. package/dist/src/lib/components/ChevronCard/index.js.map +1 -0
  142. package/dist/src/lib/components/Collapsible/Collapsible.stories.d.ts +6 -0
  143. package/dist/src/lib/components/Collapsible/Collapsible.stories.js +64 -0
  144. package/dist/src/lib/components/Collapsible/Collapsible.stories.js.map +1 -0
  145. package/dist/src/lib/components/Collapsible/index.d.ts +16 -0
  146. package/dist/src/lib/components/Collapsible/index.js +67 -0
  147. package/dist/src/lib/components/Collapsible/index.js.map +1 -0
  148. package/dist/src/lib/components/Column/Column.stories.d.ts +6 -0
  149. package/dist/src/lib/components/Column/Column.stories.js +30 -0
  150. package/dist/src/lib/components/Column/Column.stories.js.map +1 -0
  151. package/dist/src/lib/components/Column/index.d.ts +12 -0
  152. package/dist/src/lib/components/Column/index.js +83 -0
  153. package/dist/src/lib/components/Column/index.js.map +1 -0
  154. package/dist/src/lib/components/Container/Container.stories.d.ts +6 -0
  155. package/dist/src/lib/components/Container/Container.stories.js +30 -0
  156. package/dist/src/lib/components/Container/Container.stories.js.map +1 -0
  157. package/dist/src/lib/components/Container/index.d.ts +9 -0
  158. package/dist/src/lib/components/Container/index.js +8 -0
  159. package/dist/src/lib/components/Container/index.js.map +1 -0
  160. package/dist/src/lib/components/FooterBar/footerBar.stories.d.ts +6 -0
  161. package/dist/src/lib/components/FooterBar/footerBar.stories.js +48 -0
  162. package/dist/src/lib/components/FooterBar/footerBar.stories.js.map +1 -0
  163. package/dist/src/lib/components/FooterBar/index.d.ts +11 -0
  164. package/dist/src/lib/components/FooterBar/index.js +15 -0
  165. package/dist/src/lib/components/FooterBar/index.js.map +1 -0
  166. package/dist/src/lib/components/Form/Form.stories.d.ts +6 -0
  167. package/dist/src/lib/components/Form/Form.stories.js +82 -0
  168. package/dist/src/lib/components/Form/Form.stories.js.map +1 -0
  169. package/dist/src/lib/components/Form/index.d.ts +16 -0
  170. package/dist/src/lib/components/Form/index.js +19 -0
  171. package/dist/src/lib/components/Form/index.js.map +1 -0
  172. package/dist/src/lib/components/FyreCard/FyreCard.stories.d.ts +6 -0
  173. package/dist/src/lib/components/FyreCard/FyreCard.stories.js +22 -0
  174. package/dist/src/lib/components/FyreCard/FyreCard.stories.js.map +1 -0
  175. package/dist/src/lib/components/FyreCard/index.d.ts +13 -0
  176. package/dist/src/lib/components/FyreCard/index.js +18 -0
  177. package/dist/src/lib/components/FyreCard/index.js.map +1 -0
  178. package/dist/src/lib/components/Greeting/Greeting.stories.d.ts +6 -0
  179. package/dist/src/lib/components/Greeting/Greeting.stories.js +33 -0
  180. package/dist/src/lib/components/Greeting/Greeting.stories.js.map +1 -0
  181. package/dist/src/lib/components/Greeting/index.d.ts +10 -0
  182. package/dist/src/lib/components/Greeting/index.js +23 -0
  183. package/dist/src/lib/components/Greeting/index.js.map +1 -0
  184. package/dist/src/lib/components/Icon/Icon.stories.d.ts +6 -0
  185. package/dist/src/lib/components/Icon/Icon.stories.js +85 -0
  186. package/dist/src/lib/components/Icon/Icon.stories.js.map +1 -0
  187. package/dist/src/lib/components/Icon/index.d.ts +17 -0
  188. package/dist/src/lib/components/Icon/index.js +42 -0
  189. package/dist/src/lib/components/Icon/index.js.map +1 -0
  190. package/dist/src/lib/components/Image/Image.stories.d.ts +6 -0
  191. package/dist/src/lib/components/Image/Image.stories.js +73 -0
  192. package/dist/src/lib/components/Image/Image.stories.js.map +1 -0
  193. package/dist/src/lib/components/Image/index.d.ts +16 -0
  194. package/dist/src/lib/components/Image/index.js +54 -0
  195. package/dist/src/lib/components/Image/index.js.map +1 -0
  196. package/dist/src/lib/components/ImageLink/ImageLink.stories.d.ts +6 -0
  197. package/dist/src/lib/components/ImageLink/ImageLink.stories.js +49 -0
  198. package/dist/src/lib/components/ImageLink/ImageLink.stories.js.map +1 -0
  199. package/dist/src/lib/components/ImageLink/index.d.ts +15 -0
  200. package/dist/src/lib/components/ImageLink/index.js +18 -0
  201. package/dist/src/lib/components/ImageLink/index.js.map +1 -0
  202. package/dist/src/lib/components/ImageLinkList/ImageLinkList.stories.d.ts +6 -0
  203. package/dist/src/lib/components/ImageLinkList/ImageLinkList.stories.js +25 -0
  204. package/dist/src/lib/components/ImageLinkList/ImageLinkList.stories.js.map +1 -0
  205. package/dist/src/lib/components/ImageLinkList/index.d.ts +9 -0
  206. package/dist/src/lib/components/ImageLinkList/index.js +11 -0
  207. package/dist/src/lib/components/ImageLinkList/index.js.map +1 -0
  208. package/dist/src/lib/components/InformationIcon/InformationIcon.stories.d.ts +6 -0
  209. package/dist/src/lib/components/InformationIcon/InformationIcon.stories.js +71 -0
  210. package/dist/src/lib/components/InformationIcon/InformationIcon.stories.js.map +1 -0
  211. package/dist/src/lib/components/InformationIcon/index.d.ts +15 -0
  212. package/dist/src/lib/components/InformationIcon/index.js +46 -0
  213. package/dist/src/lib/components/InformationIcon/index.js.map +1 -0
  214. package/dist/src/lib/components/Input/Input.stories.d.ts +6 -0
  215. package/dist/src/lib/components/Input/Input.stories.js +95 -0
  216. package/dist/src/lib/components/Input/Input.stories.js.map +1 -0
  217. package/dist/src/lib/components/Input/index.d.ts +31 -0
  218. package/dist/src/lib/components/Input/index.js +25 -0
  219. package/dist/src/lib/components/Input/index.js.map +1 -0
  220. package/dist/src/lib/components/Jumbotron/Jumbotron.stories.d.ts +6 -0
  221. package/dist/src/lib/components/Jumbotron/Jumbotron.stories.js +16 -0
  222. package/dist/src/lib/components/Jumbotron/Jumbotron.stories.js.map +1 -0
  223. package/dist/src/lib/components/Jumbotron/index.d.ts +9 -0
  224. package/dist/src/lib/components/Jumbotron/index.js +9 -0
  225. package/dist/src/lib/components/Jumbotron/index.js.map +1 -0
  226. package/dist/src/lib/components/Nav/Nav.stories.js +134 -0
  227. package/dist/src/lib/components/Nav/Nav.stories.js.map +1 -0
  228. package/dist/src/lib/components/Nav/index.d.ts +22 -0
  229. package/dist/src/lib/components/Nav/index.js +75 -0
  230. package/dist/src/lib/components/Nav/index.js.map +1 -0
  231. package/dist/src/lib/components/NavItem/NavItem.stories.d.ts +6 -0
  232. package/dist/src/lib/components/NavItem/NavItem.stories.js +75 -0
  233. package/dist/src/lib/components/NavItem/NavItem.stories.js.map +1 -0
  234. package/dist/src/lib/components/NavItem/index.d.ts +15 -0
  235. package/dist/src/lib/components/NavItem/index.js +24 -0
  236. package/dist/src/lib/components/NavItem/index.js.map +1 -0
  237. package/dist/src/lib/components/NewsCard/NewsCard.stories.d.ts +6 -0
  238. package/dist/src/lib/components/NewsCard/NewsCard.stories.js +60 -0
  239. package/dist/src/lib/components/NewsCard/NewsCard.stories.js.map +1 -0
  240. package/dist/src/lib/components/NewsCard/index.d.ts +14 -0
  241. package/dist/src/lib/components/NewsCard/index.js +20 -0
  242. package/dist/src/lib/components/NewsCard/index.js.map +1 -0
  243. package/dist/src/lib/components/Profile/Profile.stories.d.ts +6 -0
  244. package/dist/src/lib/components/Profile/Profile.stories.js +41 -0
  245. package/dist/src/lib/components/Profile/Profile.stories.js.map +1 -0
  246. package/dist/src/lib/components/Profile/index.d.ts +18 -0
  247. package/dist/src/lib/components/Profile/index.js +38 -0
  248. package/dist/src/lib/components/Profile/index.js.map +1 -0
  249. package/dist/src/lib/components/Row/Row.stories.d.ts +6 -0
  250. package/dist/src/lib/components/Row/Row.stories.js +37 -0
  251. package/dist/src/lib/components/Row/Row.stories.js.map +1 -0
  252. package/dist/src/lib/components/Row/index.d.ts +8 -0
  253. package/dist/src/lib/components/Row/index.js +8 -0
  254. package/dist/src/lib/components/Row/index.js.map +1 -0
  255. package/dist/src/lib/components/Search/Search.stories.d.ts +6 -0
  256. package/dist/src/lib/components/Search/Search.stories.js +48 -0
  257. package/dist/src/lib/components/Search/Search.stories.js.map +1 -0
  258. package/dist/src/lib/components/Search/index.d.ts +13 -0
  259. package/dist/src/lib/components/Search/index.js +23 -0
  260. package/dist/src/lib/components/Search/index.js.map +1 -0
  261. package/dist/src/lib/components/SocialBlock/SocialBlock.stories.d.ts +6 -0
  262. package/dist/src/lib/components/SocialBlock/SocialBlock.stories.js +58 -0
  263. package/dist/src/lib/components/SocialBlock/SocialBlock.stories.js.map +1 -0
  264. package/dist/src/lib/components/SocialBlock/index.d.ts +21 -0
  265. package/dist/src/lib/components/SocialBlock/index.js +66 -0
  266. package/dist/src/lib/components/SocialBlock/index.js.map +1 -0
  267. package/dist/src/lib/components/StarRating/StarRating.stories.d.ts +6 -0
  268. package/dist/src/lib/components/StarRating/StarRating.stories.js +17 -0
  269. package/dist/src/lib/components/StarRating/StarRating.stories.js.map +1 -0
  270. package/dist/src/lib/components/StarRating/index.d.ts +9 -0
  271. package/dist/src/lib/components/StarRating/index.js +27 -0
  272. package/dist/src/lib/components/StarRating/index.js.map +1 -0
  273. package/dist/src/lib/components/Testimonial/Testimonial.stories.d.ts +6 -0
  274. package/dist/src/lib/components/Testimonial/Testimonial.stories.js +95 -0
  275. package/dist/src/lib/components/Testimonial/Testimonial.stories.js.map +1 -0
  276. package/dist/src/lib/components/Testimonial/index.d.ts +17 -0
  277. package/dist/src/lib/components/Testimonial/index.js +27 -0
  278. package/dist/src/lib/components/Testimonial/index.js.map +1 -0
  279. package/dist/src/lib/components/TextAndTitle/TextAndTitle.stories.d.ts +6 -0
  280. package/dist/src/lib/components/TextAndTitle/TextAndTitle.stories.js +63 -0
  281. package/dist/src/lib/components/TextAndTitle/TextAndTitle.stories.js.map +1 -0
  282. package/dist/src/lib/components/TextAndTitle/index.d.ts +26 -0
  283. package/dist/src/lib/components/TextAndTitle/index.js +113 -0
  284. package/dist/src/lib/components/TextAndTitle/index.js.map +1 -0
  285. package/dist/src/lib/components/TextArea/TextArea.stories.d.ts +6 -0
  286. package/dist/src/lib/components/TextArea/TextArea.stories.js +63 -0
  287. package/dist/src/lib/components/TextArea/TextArea.stories.js.map +1 -0
  288. package/dist/src/lib/components/TextArea/index.d.ts +27 -0
  289. package/dist/src/lib/components/TextArea/index.js +18 -0
  290. package/dist/src/lib/components/TextArea/index.js.map +1 -0
  291. package/dist/src/lib/components/Timeline/Timeline.stories.d.ts +6 -0
  292. package/dist/src/lib/components/Timeline/Timeline.stories.js +88 -0
  293. package/dist/src/lib/components/Timeline/Timeline.stories.js.map +1 -0
  294. package/dist/src/lib/components/Timeline/index.d.ts +14 -0
  295. package/dist/src/lib/components/Timeline/index.js +186 -0
  296. package/dist/src/lib/components/Timeline/index.js.map +1 -0
  297. package/dist/src/lib/components/Tubestops/Tubestops.stories.d.ts +6 -0
  298. package/dist/src/lib/components/Tubestops/Tubestops.stories.js +62 -0
  299. package/dist/src/lib/components/Tubestops/Tubestops.stories.js.map +1 -0
  300. package/dist/src/lib/components/Tubestops/index.d.ts +13 -0
  301. package/dist/src/lib/components/Tubestops/index.js +44 -0
  302. package/dist/src/lib/components/Tubestops/index.js.map +1 -0
  303. package/dist/src/lib/components/UserIcon/UserIcon.stories.d.ts +6 -0
  304. package/dist/src/lib/components/UserIcon/UserIcon.stories.js +63 -0
  305. package/dist/src/lib/components/UserIcon/UserIcon.stories.js.map +1 -0
  306. package/dist/src/lib/components/UserIcon/index.d.ts +11 -0
  307. package/dist/src/lib/components/UserIcon/index.js +17 -0
  308. package/dist/src/lib/components/UserIcon/index.js.map +1 -0
  309. package/dist/src/lib/components/Video/Video.stories.d.ts +6 -0
  310. package/dist/src/lib/components/Video/Video.stories.js +17 -0
  311. package/dist/src/lib/components/Video/Video.stories.js.map +1 -0
  312. package/dist/src/lib/components/Video/index.d.ts +17 -0
  313. package/dist/src/lib/components/Video/index.js +9 -0
  314. package/dist/src/lib/components/Video/index.js.map +1 -0
  315. package/dist/src/lib/index.d.ts +39 -0
  316. package/dist/src/lib/index.js +43 -0
  317. package/dist/src/lib/index.js.map +1 -0
  318. package/dist/src/lib/typography/Fonts.stories.d.ts +6 -0
  319. package/dist/src/lib/typography/Fonts.stories.js +42 -0
  320. package/dist/src/lib/typography/Fonts.stories.js.map +1 -0
  321. package/dist/src/lib/typography/index.d.ts +4 -0
  322. package/dist/src/lib/typography/index.js +23 -0
  323. package/dist/src/lib/typography/index.js.map +1 -0
  324. package/dist/src/lib/utils/controls.d.ts +35 -0
  325. package/dist/src/lib/utils/controls.js +21 -0
  326. package/dist/src/lib/utils/controls.js.map +1 -0
  327. package/dist/src/lib/utils/theme.d.ts +2 -0
  328. package/dist/src/lib/utils/theme.js +8 -0
  329. package/dist/src/lib/utils/theme.js.map +1 -0
  330. package/dist/tailwind.config.d.ts +64 -0
  331. package/dist/tailwind.config.js +80 -0
  332. package/dist/tailwind.config.js.map +1 -0
  333. package/package.json +18 -5
  334. package/dist/components/Accordion/index.js +0 -37
  335. package/dist/components/AlertBar/index.js +0 -129
  336. package/dist/components/Breadcrumbs/index.js +0 -66
  337. package/dist/components/BreadcrumbsBordered/index.js +0 -66
  338. package/dist/components/BreadcrumbsItem/index.js +0 -160
  339. package/dist/components/Button/index.js +0 -141
  340. package/dist/components/Card/index.js +0 -151
  341. package/dist/components/CardWithTopImage/index.js +0 -64
  342. package/dist/components/Carousel/index.css +0 -4
  343. package/dist/components/Carousel/index.css.map +0 -1
  344. package/dist/components/Carousel/index.js +0 -185
  345. package/dist/components/ChevronCard/index.js +0 -65
  346. package/dist/components/Collapsible/index.js +0 -158
  347. package/dist/components/Column/index.js +0 -137
  348. package/dist/components/Container/index.js +0 -55
  349. package/dist/components/FooterBar/index.js +0 -60
  350. package/dist/components/Form/index.js +0 -78
  351. package/dist/components/FyreCard/index.js +0 -54
  352. package/dist/components/Greeting/index.js +0 -69
  353. package/dist/components/Icon/index.js +0 -91
  354. package/dist/components/Image/index.js +0 -142
  355. package/dist/components/ImageLink/index.js +0 -61
  356. package/dist/components/ImageLinkList/index.js +0 -45
  357. package/dist/components/InformationIcon/index.js +0 -120
  358. package/dist/components/Input/index.js +0 -112
  359. package/dist/components/Jumbotron/index.js +0 -39
  360. package/dist/components/Nav/index.js +0 -302
  361. package/dist/components/NavItem/index.js +0 -129
  362. package/dist/components/NewsCard/index.js +0 -62
  363. package/dist/components/Profile/index.js +0 -86
  364. package/dist/components/Row/index.js +0 -55
  365. package/dist/components/Search/index.js +0 -60
  366. package/dist/components/SocialBlock/index.js +0 -184
  367. package/dist/components/StarRating/index.js +0 -110
  368. package/dist/components/Testimonial/index.js +0 -70
  369. package/dist/components/TextAndTitle/index.js +0 -283
  370. package/dist/components/TextArea/index.js +0 -97
  371. package/dist/components/Timeline/index.css.map +0 -1
  372. package/dist/components/Timeline/index.js +0 -254
  373. package/dist/components/Tubestops/index.css.map +0 -1
  374. package/dist/components/Tubestops/index.js +0 -95
  375. package/dist/components/UserIcon/index.js +0 -50
  376. package/dist/components/Users/rupertb/Documents/apps/trepur_components/src/lib/styles/base.css +0 -1831
  377. package/dist/components/Users/rupertb/Documents/apps/trepur_components/src/lib/styles/base.css.map +0 -1
  378. package/dist/components/Video/index.js +0 -67
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import Video from './index';
3
+ import { idAndClassName } from '@utils/controls';
4
+ const componentMeta = {
5
+ title: 'Trepur Components/Other/Atoms/Video',
6
+ component: Video,
7
+ argTypes: Object.assign({}, idAndClassName),
8
+ args: {
9
+ withControls: true,
10
+ autoPlay: true,
11
+ muted: true
12
+ }
13
+ };
14
+ const Template = (args) => React.createElement(Video, Object.assign({}, args));
15
+ export const _Video = Template.bind({});
16
+ export default componentMeta;
17
+ //# sourceMappingURL=Video.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Video.stories.js","sourceRoot":"","sources":["../../../../../src/lib/components/Video/Video.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAGhD,MAAM,aAAa,GAAgC;IAC/C,KAAK,EAAE,qCAAqC;IAC5C,SAAS,EAAE,KAAK;IAChB,QAAQ,oBACD,cAAc,CACpB;IACD,IAAI,EAAE;QACF,YAAY,EAAE,IAAI;QAClB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;KACd;CACJ,CAAA;AAED,MAAM,QAAQ,GAAiC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAC,KAAK,oBAAK,IAAI,EAAI,CAAA;AAE5E,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAEvC,eAAe,aAAa,CAAA"}
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ export interface Props {
3
+ id?: string;
4
+ className?: string;
5
+ autoPlay?: boolean;
6
+ muted?: boolean;
7
+ poster?: string;
8
+ mp4File?: string;
9
+ webmFile?: string;
10
+ ogvFile?: string;
11
+ height?: string;
12
+ width?: string;
13
+ withControls?: boolean;
14
+ withPoster?: boolean;
15
+ }
16
+ declare const Video: ({ id, className, autoPlay, muted, poster, mp4File, webmFile, ogvFile, height, width, withControls }: Props) => JSX.Element;
17
+ export default Video;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ const Video = ({ id, className, autoPlay, muted, poster, mp4File, webmFile, ogvFile, height, width, withControls }) => {
3
+ return (React.createElement("video", { id: id, className: className, poster: poster, width: width, height: height, controls: withControls, autoPlay: autoPlay, muted: muted },
4
+ React.createElement("source", { src: mp4File, type: 'video/mp4' }),
5
+ webmFile && React.createElement("source", { src: webmFile, type: 'video/webm' }),
6
+ ogvFile && React.createElement("source", { src: ogvFile, type: 'video/ogg' })));
7
+ };
8
+ export default Video;
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/components/Video/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAiBzB,MAAM,KAAK,GAAG,CAAC,EACX,EAAE,EACF,SAAS,EACT,QAAQ,EACR,KAAK,EACL,MAAM,EACN,OAAO,EACP,QAAQ,EACR,OAAO,EACP,MAAM,EACN,KAAK,EACL,YAAY,EACR,EAAE,EAAE;IACR,OAAO,CACH,+BACI,EAAE,EAAE,EAAE,EACN,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK;QAEZ,gCAAQ,GAAG,EAAE,OAAO,EAAE,IAAI,EAAC,WAAW,GAAG;QACxC,QAAQ,IAAI,gCAAQ,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAC,YAAY,GAAG;QACvD,OAAO,IAAI,gCAAQ,GAAG,EAAE,OAAO,EAAE,IAAI,EAAC,WAAW,GAAG,CACjD,CACX,CAAA;AACL,CAAC,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -0,0 +1,39 @@
1
+ import Accordion from "./components/Accordion";
2
+ import AlertBar from "./components/AlertBar";
3
+ import Breadcrumbs from "./components/Breadcrumbs";
4
+ import BreadcrumbsBordered from "./components/BreadcrumbsBordered";
5
+ import BreadcrumbsItem from "./components/BreadcrumbsItem";
6
+ import Button from "./components/Button";
7
+ import Card from "./components/Card";
8
+ import CardWithTopImage from "./components/CardWithTopImage";
9
+ import Carousel from "./components/Carousel";
10
+ import ChevronCard from "./components/ChevronCard";
11
+ import Collapsible from "./components/Collapsible";
12
+ import Column from "./components/Column";
13
+ import Container from "./components/Container";
14
+ import Form from "./components/Form";
15
+ import FooterBar from "./components/FooterBar";
16
+ import FyreCard from "./components/FyreCard";
17
+ import Greeting from "./components/Greeting";
18
+ import Icon from "./components/Icon";
19
+ import Image from "./components/Image";
20
+ import ImageLink from "./components/ImageLink";
21
+ import ImageLinkList from "./components/ImageLinkList";
22
+ import InformationIcon from "./components/InformationIcon";
23
+ import Input from "./components/Input";
24
+ import Jumbotron from "./components/Jumbotron";
25
+ import Nav from "./components/Nav";
26
+ import NavItem from "./components/NavItem";
27
+ import NewsCard from "./components/NewsCard";
28
+ import Profile from "./components/Profile";
29
+ import Row from "./components/Row";
30
+ import Search from "./components/Search";
31
+ import SocialBlock from "./components/SocialBlock";
32
+ import StarRating from "./components/StarRating";
33
+ import Testimonial from "./components/Testimonial";
34
+ import TextAndTitle from "./components/TextAndTitle";
35
+ import TextArea from "./components/TextArea";
36
+ import Timeline from "./components/Timeline";
37
+ import UserIcon from "./components/UserIcon";
38
+ import Video from "./components/Video";
39
+ export { Accordion, AlertBar, Breadcrumbs, BreadcrumbsBordered, BreadcrumbsItem, Button, Card, CardWithTopImage, Carousel, ChevronCard, Collapsible, Column, Container, Form, FooterBar, FyreCard, Greeting, Icon, Image, ImageLink, ImageLinkList, InformationIcon, Input, Jumbotron, Nav, NavItem, NewsCard, Profile, Row, Search, SocialBlock, StarRating, Testimonial, TextAndTitle, TextArea, Timeline, UserIcon, Video };
@@ -0,0 +1,43 @@
1
+ import Accordion from './components/Accordion';
2
+ import AlertBar from './components/AlertBar';
3
+ import Breadcrumbs from './components/Breadcrumbs';
4
+ import BreadcrumbsItem from './components/BreadcrumbsItem';
5
+ import BreadcrumbsBordered from './components/BreadcrumbsBordered';
6
+ import Button from './components/Button';
7
+ import Card from './components/Card';
8
+ import CardWithTopImage from './components/CardWithTopImage';
9
+ import Carousel from './components/Carousel';
10
+ import ChevronCard from './components/ChevronCard';
11
+ import Collapsible from './components/Collapsible';
12
+ import Column from './components/Column';
13
+ import Container from './components/Container';
14
+ import Form from './components/Form';
15
+ import FooterBar from './components/FooterBar';
16
+ import FyreCard from './components/FyreCard';
17
+ import Greeting from './components/Greeting';
18
+ import Icon from './components/Icon';
19
+ import Image from './components/Image';
20
+ import ImageLink from './components/ImageLink';
21
+ import ImageLinkList from './components/ImageLinkList';
22
+ import InformationIcon from './components/InformationIcon';
23
+ import Input from './components/Input';
24
+ import Jumbotron from './components/Jumbotron';
25
+ import Nav from './components/Nav';
26
+ import NavItem from './components/NavItem';
27
+ import NewsCard from './components/NewsCard';
28
+ import Profile from './components/Profile';
29
+ import Row from './components/Row';
30
+ import Search from './components/Search';
31
+ import SocialBlock from './components/SocialBlock';
32
+ import StarRating from './components/StarRating';
33
+ import Testimonial from './components/Testimonial';
34
+ import TextAndTitle from './components/TextAndTitle';
35
+ import TextArea from './components/TextArea';
36
+ import Timeline from './components/Timeline';
37
+ // import Tubestops from './components/Tubestops'
38
+ import UserIcon from './components/UserIcon';
39
+ import Video from './components/Video';
40
+ export { Accordion, AlertBar, Breadcrumbs, BreadcrumbsBordered, BreadcrumbsItem, Button, Card, CardWithTopImage, Carousel, ChevronCard, Collapsible, Column, Container, Form, FooterBar, FyreCard, Greeting, Icon, Image, ImageLink, ImageLinkList, InformationIcon, Input, Jumbotron, Nav, NavItem, NewsCard, Profile, Row, Search, SocialBlock, StarRating, Testimonial, TextAndTitle, TextArea, Timeline,
41
+ // Tubestops,
42
+ UserIcon, Video };
43
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/index.js"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,wBAAwB,CAAA;AAC9C,OAAO,QAAQ,MAAM,uBAAuB,CAAA;AAC5C,OAAO,WAAW,MAAM,0BAA0B,CAAA;AAClD,OAAO,eAAe,MAAM,8BAA8B,CAAA;AAC1D,OAAO,mBAAmB,MAAM,kCAAkC,CAAA;AAClE,OAAO,MAAM,MAAM,qBAAqB,CAAA;AACxC,OAAO,IAAI,MAAM,mBAAmB,CAAA;AACpC,OAAO,gBAAgB,MAAM,+BAA+B,CAAA;AAC5D,OAAO,QAAQ,MAAM,uBAAuB,CAAA;AAC5C,OAAO,WAAW,MAAM,0BAA0B,CAAA;AAClD,OAAO,WAAW,MAAM,0BAA0B,CAAA;AAClD,OAAO,MAAM,MAAM,qBAAqB,CAAA;AACxC,OAAO,SAAS,MAAM,wBAAwB,CAAA;AAC9C,OAAO,IAAI,MAAM,mBAAmB,CAAA;AACpC,OAAO,SAAS,MAAM,wBAAwB,CAAA;AAC9C,OAAO,QAAQ,MAAM,uBAAuB,CAAA;AAC5C,OAAO,QAAQ,MAAM,uBAAuB,CAAA;AAC5C,OAAO,IAAI,MAAM,mBAAmB,CAAA;AACpC,OAAO,KAAK,MAAM,oBAAoB,CAAA;AACtC,OAAO,SAAS,MAAM,wBAAwB,CAAA;AAC9C,OAAO,aAAa,MAAM,4BAA4B,CAAA;AACtD,OAAO,eAAe,MAAM,8BAA8B,CAAA;AAC1D,OAAO,KAAK,MAAM,oBAAoB,CAAA;AACtC,OAAO,SAAS,MAAM,wBAAwB,CAAA;AAC9C,OAAO,GAAG,MAAM,kBAAkB,CAAA;AAClC,OAAO,OAAO,MAAM,sBAAsB,CAAA;AAC1C,OAAO,QAAQ,MAAM,uBAAuB,CAAA;AAC5C,OAAO,OAAO,MAAM,sBAAsB,CAAA;AAC1C,OAAO,GAAG,MAAM,kBAAkB,CAAA;AAClC,OAAO,MAAM,MAAM,qBAAqB,CAAA;AACxC,OAAO,WAAW,MAAM,0BAA0B,CAAA;AAClD,OAAO,UAAU,MAAM,yBAAyB,CAAA;AAChD,OAAO,WAAW,MAAM,0BAA0B,CAAA;AAClD,OAAO,YAAY,MAAM,2BAA2B,CAAA;AACpD,OAAO,QAAQ,MAAM,uBAAuB,CAAA;AAC5C,OAAO,QAAQ,MAAM,uBAAuB,CAAA;AAC5C,iDAAiD;AACjD,OAAO,QAAQ,MAAM,uBAAuB,CAAA;AAC5C,OAAO,KAAK,MAAM,oBAAoB,CAAA;AAEtC,OAAO,EACH,SAAS,EACT,QAAQ,EACR,WAAW,EACX,mBAAmB,EACnB,eAAe,EACf,MAAM,EACN,IAAI,EACJ,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,WAAW,EACX,MAAM,EACN,SAAS,EACT,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,SAAS,EACT,aAAa,EACb,eAAe,EACf,KAAK,EACL,SAAS,EACT,GAAG,EACH,OAAO,EACP,QAAQ,EACR,OAAO,EACP,GAAG,EACH,MAAM,EACN,WAAW,EACX,UAAU,EACV,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,QAAQ;AACR,aAAa;AACb,QAAQ,EACR,KAAK,EACP,CAAC"}
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import Fonts from './index';
3
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
4
+ declare const componentMeta: ComponentMeta<typeof Fonts>;
5
+ export declare const _Fonts: ComponentStory<({}: {}) => JSX.Element>;
6
+ export default componentMeta;
@@ -0,0 +1,42 @@
1
+ import React from 'react';
2
+ import { idAndClassName } from '../utils/controls';
3
+ import Fonts from './index';
4
+ const componentMeta = {
5
+ title: 'Trepur Components/Rupert Bennett/typography/fonts',
6
+ component: Fonts,
7
+ argTypes: Object.assign(Object.assign({}, idAndClassName), { title: {
8
+ description: '',
9
+ control: 'text',
10
+ table: {
11
+ category: ''
12
+ }
13
+ }, content: {
14
+ description: '',
15
+ control: 'text',
16
+ table: {
17
+ category: ''
18
+ }
19
+ }, boldTitle: {
20
+ description: '',
21
+ control: 'boolean',
22
+ table: {
23
+ category: ''
24
+ }
25
+ }, ctaText: {
26
+ description: 'Remove text to remove button',
27
+ control: 'text',
28
+ table: {
29
+ category: ''
30
+ }
31
+ } }),
32
+ args: {
33
+ title: 'This is a title',
34
+ content: 'This is some content that will only be displayed if the collapsible item is expanded and will dissappear when the collapsible item is collapsed.',
35
+ image: 'https://picsum.photos/400/200',
36
+ ctaText: 'Button 1'
37
+ },
38
+ };
39
+ const Template = (args) => React.createElement(Fonts, Object.assign({}, args));
40
+ export const _Fonts = Template.bind({});
41
+ export default componentMeta;
42
+ //# sourceMappingURL=Fonts.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Fonts.stories.js","sourceRoot":"","sources":["../../../../src/lib/typography/Fonts.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,MAAM,SAAS,CAAA;AAG3B,MAAM,aAAa,GAAgC;IAC/C,KAAK,EAAE,mDAAmD;IAC1D,SAAS,EAAE,KAAK;IAChB,QAAQ,kCACD,cAAc,KACjB,KAAK,EAAE;YACH,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,MAAM;YACf,KAAK,EAAE;gBACH,QAAQ,EAAE,EAAE;aACf;SACJ,EACD,OAAO,EAAE;YACL,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,MAAM;YACf,KAAK,EAAE;gBACH,QAAQ,EAAE,EAAE;aACf;SACJ,EACD,SAAS,EAAE;YACP,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE;gBACH,QAAQ,EAAE,EAAE;aACf;SACJ,EACD,OAAO,EAAE;YACL,WAAW,EAAE,8BAA8B;YAC3C,OAAO,EAAE,MAAM;YACf,KAAK,EAAE;gBACH,QAAQ,EAAE,EAAE;aACf;SACJ,GACJ;IACD,IAAI,EAAE;QACF,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,kJAAkJ;QAC3J,KAAK,EAAE,+BAA+B;QACtC,OAAO,EAAE,UAAU;KACtB;CACJ,CAAA;AAED,MAAM,QAAQ,GAAiC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAC,KAAK,oBAAK,IAAI,EAAI,CAAA;AAE5E,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAEvC,eAAe,aAAa,CAAA"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import '../styles/base.css';
3
+ declare const Fonts: ({}: {}) => JSX.Element;
4
+ export default Fonts;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import '../styles/base.css';
3
+ const Fonts = ({}) => {
4
+ return (React.createElement("div", null,
5
+ React.createElement("p", { className: 'font-regular text-xs' }, "This text is xs"),
6
+ React.createElement("p", { className: 'font-regular text-sm' }, "This text is sm"),
7
+ React.createElement("p", { className: 'font-regular text-md' }, "This text is md"),
8
+ React.createElement("p", { className: 'font-regular text-lg' }, "This text is lg"),
9
+ React.createElement("p", { className: 'font-regular text-xl' }, "This text is xl"),
10
+ React.createElement("p", { className: 'font-regular text-2xl' }, "This text is 2xl"),
11
+ React.createElement("p", { className: 'font-regular text-3xl' }, "This text is 3xl"),
12
+ React.createElement("p", { className: 'font-regular text-4xl' }, "This text is 4xl"),
13
+ React.createElement("p", { className: 'text-md font-thin' }, "This font is thin"),
14
+ React.createElement("p", { className: 'text-md font-extraLight' }, "This font is extra light"),
15
+ React.createElement("p", { className: 'text-md font-light' }, "This font is light"),
16
+ React.createElement("p", { className: 'text-md font-regular' }, "This font is regular"),
17
+ React.createElement("p", { className: 'text-md font-medium' }, "This font is medium"),
18
+ React.createElement("p", { className: 'text-md font-semiBold' }, "This font is semi bold"),
19
+ React.createElement("p", { className: 'text-md font-bold' }, "This font is bold"),
20
+ React.createElement("p", { className: 'text-md font-extraBold' }, "This font is extra bold")));
21
+ };
22
+ export default Fonts;
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/typography/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,oBAAoB,CAAA;AAE3B,MAAM,KAAK,GAAG,CAAC,EAEd,EAAE,EAAE;IACD,OAAO,CACH;QACI,2BAAG,SAAS,EAAC,sBAAsB,sBAAoB;QACvD,2BAAG,SAAS,EAAC,sBAAsB,sBAAoB;QACvD,2BAAG,SAAS,EAAC,sBAAsB,sBAAoB;QACvD,2BAAG,SAAS,EAAC,sBAAsB,sBAAoB;QACvD,2BAAG,SAAS,EAAC,sBAAsB,sBAAoB;QACvD,2BAAG,SAAS,EAAC,uBAAuB,uBAAqB;QACzD,2BAAG,SAAS,EAAC,uBAAuB,uBAAqB;QACzD,2BAAG,SAAS,EAAC,uBAAuB,uBAAqB;QACzD,2BAAG,SAAS,EAAC,mBAAmB,wBAAsB;QACtD,2BAAG,SAAS,EAAC,yBAAyB,+BAA6B;QACnE,2BAAG,SAAS,EAAC,oBAAoB,yBAAuB;QACxD,2BAAG,SAAS,EAAC,sBAAsB,2BAAyB;QAC5D,2BAAG,SAAS,EAAC,qBAAqB,0BAAwB;QAC1D,2BAAG,SAAS,EAAC,uBAAuB,6BAA2B;QAC/D,2BAAG,SAAS,EAAC,mBAAmB,wBAAsB;QACtD,2BAAG,SAAS,EAAC,wBAAwB,8BAA4B,CAC/D,CACT,CAAA;AACL,CAAC,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -0,0 +1,35 @@
1
+ export declare type Colours = 'primary' | 'secondary' | 'white' | 'black' | 'gold';
2
+ export declare const idAndClassName: {
3
+ id: {
4
+ description: string;
5
+ control: {
6
+ type: string;
7
+ default: boolean;
8
+ };
9
+ table: {
10
+ category: string;
11
+ type: {
12
+ summary: string;
13
+ };
14
+ defaultValue: {
15
+ summary: string;
16
+ };
17
+ };
18
+ };
19
+ className: {
20
+ description: string;
21
+ control: {
22
+ type: string;
23
+ default: boolean;
24
+ };
25
+ table: {
26
+ category: string;
27
+ type: {
28
+ summary: string;
29
+ };
30
+ defaultValue: {
31
+ summary: string;
32
+ };
33
+ };
34
+ };
35
+ };
@@ -0,0 +1,21 @@
1
+ export const idAndClassName = {
2
+ id: {
3
+ description: 'Defines the id of the component',
4
+ control: { type: 'text', default: false },
5
+ table: {
6
+ category: 'Id',
7
+ type: { summary: 'string' },
8
+ defaultValue: { summary: 'undefined' }
9
+ }
10
+ },
11
+ className: {
12
+ description: 'Defines any additional classes for the component',
13
+ control: { type: 'text', default: false },
14
+ table: {
15
+ category: 'ClassName',
16
+ type: { summary: 'string' },
17
+ defaultValue: { summary: 'undefined' }
18
+ }
19
+ }
20
+ };
21
+ //# sourceMappingURL=controls.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controls.js","sourceRoot":"","sources":["../../../../src/lib/utils/controls.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC1B,EAAE,EAAE;QACA,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE;QACzC,KAAK,EAAE;YACH,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;YAC3B,YAAY,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SACzC;KACJ;IACD,SAAS,EAAE;QACP,WAAW,EAAE,kDAAkD;QAC/D,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE;QACzC,KAAK,EAAE;YACH,QAAQ,EAAE,WAAW;YACrB,IAAI,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;YAC3B,YAAY,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SACzC;KACJ;CACJ,CAAA"}
@@ -0,0 +1,2 @@
1
+ export function setTheme(theme: any): void;
2
+ export function getTheme(): any;
@@ -0,0 +1,8 @@
1
+ let themeName;
2
+ export const setTheme = (theme) => {
3
+ themeName = theme;
4
+ };
5
+ export const getTheme = () => {
6
+ return themeName;
7
+ };
8
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../../src/lib/utils/theme.js"],"names":[],"mappings":"AAAA,IAAI,SAAS,CAAA;AAEb,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,EAAE;IAC9B,SAAS,GAAG,KAAK,CAAA;AACrB,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE;IACzB,OAAO,SAAS,CAAA;AACpB,CAAC,CAAA"}
@@ -0,0 +1,64 @@
1
+ export const content: string[];
2
+ export namespace theme {
3
+ namespace extend {
4
+ const scale: {
5
+ '110': string;
6
+ };
7
+ }
8
+ namespace fontFamily {
9
+ const sans: string[];
10
+ }
11
+ namespace fontWeight {
12
+ const thin: string;
13
+ const extraLight: string;
14
+ const light: string;
15
+ const regular: string;
16
+ const medium: string;
17
+ const semiBold: string;
18
+ const bold: string;
19
+ const extraBold: string;
20
+ }
21
+ const fontSize: {
22
+ xxs: string;
23
+ xs: string;
24
+ sm: string;
25
+ md: string;
26
+ lg: string;
27
+ xl: string;
28
+ '2xl': string;
29
+ '3xl': string;
30
+ '4xl': string;
31
+ };
32
+ const colors: {
33
+ transparent: string;
34
+ white: string;
35
+ black: string;
36
+ red: string;
37
+ grey: string;
38
+ 'light-grey': string;
39
+ 'lightest-grey': string;
40
+ 'primary-strict': string;
41
+ border: string;
42
+ 'border-lightest': string;
43
+ 'border-light': string;
44
+ 'border-dark': string;
45
+ 'error-light': string;
46
+ 'success-light': string;
47
+ facebook: string;
48
+ whatsapp: string;
49
+ twitter: string;
50
+ primary: string;
51
+ gold: string;
52
+ secondary: string;
53
+ 'rupertbennett-error': string;
54
+ 'rupertbennett-warning': string;
55
+ 'rupertbennett-success': string;
56
+ 'rupertbennett-info-light': string;
57
+ 'bootson-error': string;
58
+ 'bootson-warning': string;
59
+ 'bootson-success': string;
60
+ 'bootson-info-light': string;
61
+ linkedin: string;
62
+ };
63
+ }
64
+ export const plugins: never[];
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ module.exports = {
3
+ content: [
4
+ "./src/**/*.{vue,js,tsx,jsx,ts}",
5
+ ],
6
+ theme: {
7
+ extend: {
8
+ screens: {
9
+ 'xs': '320',
10
+ 'sm': '500',
11
+ 'md': '768',
12
+ 'lg': '1024',
13
+ 'xl': '1280',
14
+ '2xl': '1560'
15
+ }
16
+ },
17
+ fontFamily: {
18
+ 'sans': ['Sora', 'sans-serif'],
19
+ },
20
+ fontWeight: {
21
+ 'thin': '100',
22
+ 'extraLight': '200',
23
+ 'light': '300',
24
+ 'regular': '400',
25
+ 'medium': '500',
26
+ 'semiBold': '600',
27
+ 'bold': '700',
28
+ 'extraBold': '800',
29
+ },
30
+ fontSize: {
31
+ 'xxs': '8px',
32
+ 'xs': '16px',
33
+ 'sm': '24px',
34
+ 'md': '32px',
35
+ 'lg': '48px',
36
+ 'xl': '64px',
37
+ '2xl': '80px',
38
+ '3xl': '96px',
39
+ '4xl': '112px',
40
+ },
41
+ colors: {
42
+ 'transparent': 'transparent',
43
+ 'white': '#ffffff',
44
+ 'black': '#000000',
45
+ 'red': '#bb0a1e',
46
+ 'grey': '#2C373B',
47
+ 'light-grey': '#495C63',
48
+ 'lightest-grey': '#f5f5f5',
49
+ 'primary-strict': '#ff007d',
50
+ 'border': '#d0d0d0',
51
+ 'border-lightest': '#eeeeee',
52
+ 'border-light': '#D8D8D8',
53
+ 'border-dark': '#616161',
54
+ 'error-light': '#ffd9d9',
55
+ 'success-light': '#e7f5e7',
56
+ 'facebook': '#3b5999',
57
+ 'whatsapp': '#25d366',
58
+ 'twitter': '#55acee',
59
+ 'primary': '#0036A0',
60
+ 'gold': '#e2b13c',
61
+ 'secondary': '#FFA800',
62
+ 'rupertbennett-error': '#B11013',
63
+ 'rupertbennett-warning': '#FFD35C',
64
+ 'rupertbennett-success': '#69C364',
65
+ 'rupertbennett-info-light': '#d8eaf5',
66
+ 'bootson-error': '#31A3DD',
67
+ 'bootson-warning': '#FFD35C',
68
+ 'bootson-success': '#69C364',
69
+ 'bootson-info-light': '#d8eaf5',
70
+ 'linkedin': '#0e76a8 ',
71
+ },
72
+ extend: {
73
+ scale: {
74
+ '110': '1.1',
75
+ }
76
+ },
77
+ },
78
+ plugins: [],
79
+ };
80
+ //# sourceMappingURL=tailwind.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tailwind.config.js","sourceRoot":"","sources":["../tailwind.config.js"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG;IACf,OAAO,EAAE;QACP,gCAAgC;KACjC;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,OAAO,EAAE;gBACP,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;aACd;SACF;QACD,UAAU,EAAE;YACV,MAAM,EAAE,CAAC,MAAM,EAAE,YAAY,CAAC;SAC/B;QACD,UAAU,EAAE;YACV,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,KAAK;YACnB,OAAO,EAAE,KAAK;YACd,SAAS,EAAE,KAAK;YAChB,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,MAAM,EAAE,KAAK;YACb,WAAW,EAAE,KAAK;SACnB;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,MAAM;YACb,KAAK,EAAE,MAAM;YACb,KAAK,EAAE,OAAO;SACf;QACD,MAAM,EAAE;YACN,aAAa,EAAE,aAAa;YAC5B,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,SAAS;YAChB,MAAM,EAAE,SAAS;YACjB,YAAY,EAAE,SAAS;YACvB,eAAe,EAAE,SAAS;YAC1B,gBAAgB,EAAE,SAAS;YAC3B,QAAQ,EAAE,SAAS;YACnB,iBAAiB,EAAE,SAAS;YAC5B,cAAc,EAAE,SAAS;YACzB,aAAa,EAAE,SAAS;YACxB,aAAa,EAAE,SAAS;YACxB,eAAe,EAAE,SAAS;YAC1B,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,SAAS;YACrB,SAAS,EAAE,SAAS;YACpB,SAAS,EAAE,SAAS;YACpB,MAAM,EAAE,SAAS;YACjB,WAAW,EAAE,SAAS;YACtB,qBAAqB,EAAE,SAAS;YAChC,uBAAuB,EAAE,SAAS;YAClC,uBAAuB,EAAE,SAAS;YAClC,0BAA0B,EAAE,SAAS;YACrC,eAAe,EAAE,SAAS;YAC1B,iBAAiB,EAAE,SAAS;YAC5B,iBAAiB,EAAE,SAAS;YAC5B,oBAAoB,EAAE,SAAS;YAC/B,UAAU,EAAE,UAAU;SACvB;QACD,MAAM,EAAE;YACN,KAAK,EAAE;gBACL,KAAK,EAAE,KAAK;aACb;SACF;KACF;IACD,OAAO,EAAE,EAAE;CACZ,CAAA"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "trepur_components",
3
3
  "description": "component lib",
4
4
  "author": "trepur_ttenneb",
5
- "version": "0.4.7",
5
+ "version": "1.0.0",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "react",
@@ -17,6 +17,8 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "@babel/polyfill": "^7.12.1",
20
+ "@storybook/addon-postcss": "^2.0.0",
21
+ "@storybook/theming": "^6.5.12",
20
22
  "@testing-library/jest-dom": "^5.16.2",
21
23
  "@testing-library/react": "^12.1.3",
22
24
  "@testing-library/user-event": "^13.5.0",
@@ -26,6 +28,9 @@
26
28
  "react": "^18.1.0",
27
29
  "react-dom": "^18.1.0",
28
30
  "react-scripts": "5.0.0",
31
+ "storybook-css-modules-preset": "^1.1.1",
32
+ "ts-standard": "^12.0.1",
33
+ "tsconfig-paths-webpack-plugin": "^4.0.0",
29
34
  "web-vitals": "^2.1.4"
30
35
  },
31
36
  "scripts": {
@@ -34,7 +39,8 @@
34
39
  "build-new": "NODE_ENV=production babel src/lib --out-dir dist --ignore src/**/*.stories.js --copy-files --no-copy-ignored && rm -rf dist/utils dist/assets && rm -rf dist/typography && npm run compile:css",
35
40
  "eject": "react-scripts eject",
36
41
  "storybook": "start-storybook -p 6006",
37
- "build-storybook": "build-storybook -s public"
42
+ "build-storybook": "build-storybook -s public",
43
+ "lint:fix": "ts-standard --fix"
38
44
  },
39
45
  "browserslist": {
40
46
  "production": [
@@ -53,18 +59,25 @@
53
59
  "@babel/preset-env": "^7.16.11",
54
60
  "@storybook/addon-actions": "^6.4.19",
55
61
  "@storybook/addon-essentials": "^6.4.19",
56
- "@storybook/addon-interactions": "^6.4.19",
57
- "@storybook/addon-links": "^6.4.19",
58
62
  "@storybook/builder-webpack5": "^6.4.19",
59
63
  "@storybook/manager-webpack5": "^6.4.19",
60
64
  "@storybook/node-logger": "^6.4.19",
61
- "@storybook/preset-create-react-app": "^4.0.1",
62
65
  "@storybook/react": "^6.4.19",
63
66
  "@storybook/testing-library": "0.0.9",
64
67
  "autoprefixer": "^10.4.2",
65
68
  "babel-plugin-module-resolver": "^4.1.0",
66
69
  "postcss": "^8.4.16",
70
+ "storybook-addon-themes": "^6.1.0",
67
71
  "tailwindcss": "^3.0.23",
72
+ "typescript": "^4.8.4",
68
73
  "webpack": "^5.69.1"
74
+ },
75
+ "ts-standard": {
76
+ "project": "./tsconfig.eslint.json",
77
+ "ignore": [
78
+ "/dist",
79
+ "node_modules",
80
+ "tailwind.config.js"
81
+ ]
69
82
  }
70
83
  }
@@ -1,37 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- require("core-js/modules/es.object.assign.js");
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _Collapsible = _interopRequireDefault(require("../Collapsible"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
-
18
- const Accordion = _ref => {
19
- let {
20
- id,
21
- classes,
22
- items
23
- } = _ref;
24
- return /*#__PURE__*/_react.default.createElement("div", _extends({}, id && {
25
- id: id
26
- }, {
27
- className: classes
28
- }), items && items.map((item, i) => {
29
- return /*#__PURE__*/_react.default.createElement(_Collapsible.default, {
30
- key: "collapsible_item_".concat(i),
31
- collapsibleProps: item.collapsibleProps
32
- }, item.children);
33
- }));
34
- };
35
-
36
- var _default = Accordion;
37
- exports.default = _default;