trepur_components 0.4.8 → 1.0.1

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 (319) hide show
  1. package/dist/src/lib/components/Accordion/Accordion.stories.d.ts +6 -0
  2. package/dist/src/lib/components/Accordion/Accordion.stories.js +80 -0
  3. package/dist/src/lib/components/Accordion/Accordion.stories.js.map +1 -0
  4. package/dist/src/lib/components/Accordion/index.d.ts +8 -0
  5. package/dist/src/lib/components/Accordion/index.js +9 -0
  6. package/dist/src/lib/components/Accordion/index.js.map +1 -0
  7. package/dist/src/lib/components/AlertBar/AlertBar.stories.d.ts +6 -0
  8. package/dist/src/lib/components/AlertBar/AlertBar.stories.js +91 -0
  9. package/dist/src/lib/components/AlertBar/AlertBar.stories.js.map +1 -0
  10. package/dist/src/lib/components/AlertBar/index.d.ts +16 -0
  11. package/dist/src/lib/components/AlertBar/index.js +64 -0
  12. package/dist/src/lib/components/AlertBar/index.js.map +1 -0
  13. package/dist/src/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +6 -0
  14. package/dist/src/lib/components/Breadcrumbs/Breadcrumbs.stories.js +56 -0
  15. package/dist/src/lib/components/Breadcrumbs/Breadcrumbs.stories.js.map +1 -0
  16. package/dist/src/lib/components/Breadcrumbs/index.d.ts +11 -0
  17. package/dist/src/lib/components/Breadcrumbs/index.js +20 -0
  18. package/dist/src/lib/components/Breadcrumbs/index.js.map +1 -0
  19. package/dist/src/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.d.ts +6 -0
  20. package/dist/src/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +45 -0
  21. package/dist/src/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.js.map +1 -0
  22. package/dist/src/lib/components/BreadcrumbsBordered/index.d.ts +9 -0
  23. package/dist/src/lib/components/BreadcrumbsBordered/index.js +18 -0
  24. package/dist/src/lib/components/BreadcrumbsBordered/index.js.map +1 -0
  25. package/dist/src/lib/components/BreadcrumbsItem/BreadcrumbsItem.stories.d.ts +6 -0
  26. package/dist/src/lib/components/BreadcrumbsItem/BreadcrumbsItem.stories.js +50 -0
  27. package/dist/src/lib/components/BreadcrumbsItem/BreadcrumbsItem.stories.js.map +1 -0
  28. package/dist/src/lib/components/BreadcrumbsItem/index.d.ts +12 -0
  29. package/dist/src/lib/components/BreadcrumbsItem/index.js +57 -0
  30. package/dist/src/lib/components/BreadcrumbsItem/index.js.map +1 -0
  31. package/dist/src/lib/components/Button/button.stories.d.ts +6 -0
  32. package/dist/src/lib/components/Button/button.stories.js +132 -0
  33. package/dist/src/lib/components/Button/button.stories.js.map +1 -0
  34. package/dist/src/lib/components/Button/index.d.ts +17 -0
  35. package/dist/src/lib/components/Button/index.js +32 -0
  36. package/dist/src/lib/components/Button/index.js.map +1 -0
  37. package/dist/src/lib/components/Card/Card.stories.d.ts +8 -0
  38. package/dist/src/lib/components/Card/Card.stories.js +124 -0
  39. package/dist/src/lib/components/Card/Card.stories.js.map +1 -0
  40. package/dist/src/lib/components/Card/index.d.ts +31 -0
  41. package/dist/src/lib/components/Card/index.js +66 -0
  42. package/dist/src/lib/components/Card/index.js.map +1 -0
  43. package/dist/src/lib/components/CardWithTopImage/CardWithTopImage.stories.d.ts +6 -0
  44. package/dist/src/lib/components/CardWithTopImage/CardWithTopImage.stories.js +40 -0
  45. package/dist/src/lib/components/CardWithTopImage/CardWithTopImage.stories.js.map +1 -0
  46. package/dist/src/lib/components/CardWithTopImage/index.d.ts +10 -0
  47. package/dist/src/lib/components/CardWithTopImage/index.js +15 -0
  48. package/dist/src/lib/components/CardWithTopImage/index.js.map +1 -0
  49. package/dist/src/lib/components/Carousel/Carousel.stories.d.ts +6 -0
  50. package/dist/src/lib/components/Carousel/Carousel.stories.js +297 -0
  51. package/dist/src/lib/components/Carousel/Carousel.stories.js.map +1 -0
  52. package/dist/src/lib/components/Carousel/index.d.ts +59 -0
  53. package/dist/src/lib/components/Carousel/index.js +122 -0
  54. package/dist/src/lib/components/Carousel/index.js.map +1 -0
  55. package/dist/src/lib/components/ChevronCard/ChevronCard.stories.d.ts +6 -0
  56. package/dist/src/lib/components/ChevronCard/ChevronCard.stories.js +14 -0
  57. package/dist/src/lib/components/ChevronCard/ChevronCard.stories.js.map +1 -0
  58. package/dist/src/lib/components/ChevronCard/index.d.ts +7 -0
  59. package/dist/src/lib/components/ChevronCard/index.js +20 -0
  60. package/dist/src/lib/components/ChevronCard/index.js.map +1 -0
  61. package/dist/src/lib/components/Collapsible/Collapsible.stories.d.ts +6 -0
  62. package/dist/src/lib/components/Collapsible/Collapsible.stories.js +66 -0
  63. package/dist/src/lib/components/Collapsible/Collapsible.stories.js.map +1 -0
  64. package/dist/src/lib/components/Collapsible/index.d.ts +16 -0
  65. package/dist/src/lib/components/Collapsible/index.js +67 -0
  66. package/dist/src/lib/components/Collapsible/index.js.map +1 -0
  67. package/dist/src/lib/components/Column/Column.stories.d.ts +6 -0
  68. package/dist/src/lib/components/Column/Column.stories.js +64 -0
  69. package/dist/src/lib/components/Column/Column.stories.js.map +1 -0
  70. package/dist/src/lib/components/Column/index.d.ts +12 -0
  71. package/dist/src/lib/components/Column/index.js +83 -0
  72. package/dist/src/lib/components/Column/index.js.map +1 -0
  73. package/dist/src/lib/components/Container/Container.stories.d.ts +6 -0
  74. package/dist/src/lib/components/Container/Container.stories.js +30 -0
  75. package/dist/src/lib/components/Container/Container.stories.js.map +1 -0
  76. package/dist/src/lib/components/Container/index.d.ts +9 -0
  77. package/dist/src/lib/components/Container/index.js +8 -0
  78. package/dist/src/lib/components/Container/index.js.map +1 -0
  79. package/dist/src/lib/components/FooterBar/footerBar.stories.d.ts +6 -0
  80. package/dist/src/lib/components/FooterBar/footerBar.stories.js +48 -0
  81. package/dist/src/lib/components/FooterBar/footerBar.stories.js.map +1 -0
  82. package/dist/src/lib/components/FooterBar/index.d.ts +11 -0
  83. package/dist/src/lib/components/FooterBar/index.js +15 -0
  84. package/dist/src/lib/components/FooterBar/index.js.map +1 -0
  85. package/dist/src/lib/components/Form/Form.stories.d.ts +6 -0
  86. package/dist/src/lib/components/Form/Form.stories.js +82 -0
  87. package/dist/src/lib/components/Form/Form.stories.js.map +1 -0
  88. package/dist/src/lib/components/Form/index.d.ts +16 -0
  89. package/dist/src/lib/components/Form/index.js +19 -0
  90. package/dist/src/lib/components/Form/index.js.map +1 -0
  91. package/dist/src/lib/components/FyreCard/FyreCard.stories.d.ts +6 -0
  92. package/dist/src/lib/components/FyreCard/FyreCard.stories.js +22 -0
  93. package/dist/src/lib/components/FyreCard/FyreCard.stories.js.map +1 -0
  94. package/dist/src/lib/components/FyreCard/index.d.ts +13 -0
  95. package/dist/src/lib/components/FyreCard/index.js +17 -0
  96. package/dist/src/lib/components/FyreCard/index.js.map +1 -0
  97. package/dist/src/lib/components/Greeting/Greeting.stories.d.ts +6 -0
  98. package/dist/src/lib/components/Greeting/Greeting.stories.js +33 -0
  99. package/dist/src/lib/components/Greeting/Greeting.stories.js.map +1 -0
  100. package/dist/src/lib/components/Greeting/index.d.ts +10 -0
  101. package/dist/src/lib/components/Greeting/index.js +23 -0
  102. package/dist/src/lib/components/Greeting/index.js.map +1 -0
  103. package/dist/src/lib/components/HamburgerIcon/HamburgerIcon.stories.d.ts +6 -0
  104. package/dist/src/lib/components/HamburgerIcon/HamburgerIcon.stories.js +46 -0
  105. package/dist/src/lib/components/HamburgerIcon/HamburgerIcon.stories.js.map +1 -0
  106. package/dist/src/lib/components/HamburgerIcon/index.d.ts +7 -0
  107. package/dist/src/lib/components/HamburgerIcon/index.js +26 -0
  108. package/dist/src/lib/components/HamburgerIcon/index.js.map +1 -0
  109. package/dist/src/lib/components/Icon/Icon.stories.d.ts +6 -0
  110. package/dist/src/lib/components/Icon/Icon.stories.js +87 -0
  111. package/dist/src/lib/components/Icon/Icon.stories.js.map +1 -0
  112. package/dist/src/lib/components/Icon/index.d.ts +19 -0
  113. package/dist/src/lib/components/Icon/index.js +56 -0
  114. package/dist/src/lib/components/Icon/index.js.map +1 -0
  115. package/dist/src/lib/components/Image/Image.stories.d.ts +6 -0
  116. package/dist/src/lib/components/Image/Image.stories.js +73 -0
  117. package/dist/src/lib/components/Image/Image.stories.js.map +1 -0
  118. package/dist/src/lib/components/Image/index.d.ts +16 -0
  119. package/dist/src/lib/components/Image/index.js +54 -0
  120. package/dist/src/lib/components/Image/index.js.map +1 -0
  121. package/dist/src/lib/components/ImageLink/ImageLink.stories.d.ts +9 -0
  122. package/dist/src/lib/components/ImageLink/ImageLink.stories.js +50 -0
  123. package/dist/src/lib/components/ImageLink/ImageLink.stories.js.map +1 -0
  124. package/dist/src/lib/components/ImageLink/index.d.ts +15 -0
  125. package/dist/src/lib/components/ImageLink/index.js +18 -0
  126. package/dist/src/lib/components/ImageLink/index.js.map +1 -0
  127. package/dist/src/lib/components/ImageLinkList/ImageLinkList.stories.d.ts +6 -0
  128. package/dist/src/lib/components/ImageLinkList/ImageLinkList.stories.js +27 -0
  129. package/dist/src/lib/components/ImageLinkList/ImageLinkList.stories.js.map +1 -0
  130. package/dist/src/lib/components/ImageLinkList/index.d.ts +9 -0
  131. package/dist/src/lib/components/ImageLinkList/index.js +11 -0
  132. package/dist/src/lib/components/ImageLinkList/index.js.map +1 -0
  133. package/dist/src/lib/components/InformationIcon/InformationIcon.stories.d.ts +6 -0
  134. package/dist/src/lib/components/InformationIcon/InformationIcon.stories.js +73 -0
  135. package/dist/src/lib/components/InformationIcon/InformationIcon.stories.js.map +1 -0
  136. package/dist/src/lib/components/InformationIcon/index.d.ts +15 -0
  137. package/dist/src/lib/components/InformationIcon/index.js +45 -0
  138. package/dist/src/lib/components/InformationIcon/index.js.map +1 -0
  139. package/dist/src/lib/components/Input/Input.stories.d.ts +6 -0
  140. package/dist/src/lib/components/Input/Input.stories.js +95 -0
  141. package/dist/src/lib/components/Input/Input.stories.js.map +1 -0
  142. package/dist/src/lib/components/Input/index.d.ts +31 -0
  143. package/dist/src/lib/components/Input/index.js +25 -0
  144. package/dist/src/lib/components/Input/index.js.map +1 -0
  145. package/dist/src/lib/components/Jumbotron/Jumbotron.stories.d.ts +6 -0
  146. package/dist/src/lib/components/Jumbotron/Jumbotron.stories.js +16 -0
  147. package/dist/src/lib/components/Jumbotron/Jumbotron.stories.js.map +1 -0
  148. package/dist/src/lib/components/Jumbotron/index.d.ts +9 -0
  149. package/dist/src/lib/components/Jumbotron/index.js +9 -0
  150. package/dist/src/lib/components/Jumbotron/index.js.map +1 -0
  151. package/dist/src/lib/components/Nav/Nav.stories.d.ts +6 -0
  152. package/dist/src/lib/components/Nav/Nav.stories.js +134 -0
  153. package/dist/src/lib/components/Nav/Nav.stories.js.map +1 -0
  154. package/dist/src/lib/components/Nav/index.d.ts +22 -0
  155. package/dist/src/lib/components/Nav/index.js +65 -0
  156. package/dist/src/lib/components/Nav/index.js.map +1 -0
  157. package/dist/src/lib/components/NavItem/NavItem.stories.d.ts +6 -0
  158. package/dist/src/lib/components/NavItem/NavItem.stories.js +75 -0
  159. package/dist/src/lib/components/NavItem/NavItem.stories.js.map +1 -0
  160. package/dist/src/lib/components/NavItem/index.d.ts +15 -0
  161. package/dist/src/lib/components/NavItem/index.js +24 -0
  162. package/dist/src/lib/components/NavItem/index.js.map +1 -0
  163. package/dist/src/lib/components/NewsCard/NewsCard.stories.d.ts +6 -0
  164. package/dist/src/lib/components/NewsCard/NewsCard.stories.js +60 -0
  165. package/dist/src/lib/components/NewsCard/NewsCard.stories.js.map +1 -0
  166. package/dist/src/lib/components/NewsCard/index.d.ts +14 -0
  167. package/dist/src/lib/components/NewsCard/index.js +20 -0
  168. package/dist/src/lib/components/NewsCard/index.js.map +1 -0
  169. package/dist/src/lib/components/Profile/Profile.stories.d.ts +6 -0
  170. package/dist/src/lib/components/Profile/Profile.stories.js +41 -0
  171. package/dist/src/lib/components/Profile/Profile.stories.js.map +1 -0
  172. package/dist/src/lib/components/Profile/index.d.ts +18 -0
  173. package/dist/src/lib/components/Profile/index.js +36 -0
  174. package/dist/src/lib/components/Profile/index.js.map +1 -0
  175. package/dist/src/lib/components/Row/Row.stories.d.ts +6 -0
  176. package/dist/src/lib/components/Row/Row.stories.js +37 -0
  177. package/dist/src/lib/components/Row/Row.stories.js.map +1 -0
  178. package/dist/src/lib/components/Row/index.d.ts +8 -0
  179. package/dist/src/lib/components/Row/index.js +8 -0
  180. package/dist/src/lib/components/Row/index.js.map +1 -0
  181. package/dist/src/lib/components/Search/Search.stories.d.ts +6 -0
  182. package/dist/src/lib/components/Search/Search.stories.js +48 -0
  183. package/dist/src/lib/components/Search/Search.stories.js.map +1 -0
  184. package/dist/src/lib/components/Search/index.d.ts +13 -0
  185. package/dist/src/lib/components/Search/index.js +23 -0
  186. package/dist/src/lib/components/Search/index.js.map +1 -0
  187. package/dist/src/lib/components/SocialBlock/SocialBlock.stories.d.ts +6 -0
  188. package/dist/src/lib/components/SocialBlock/SocialBlock.stories.js +58 -0
  189. package/dist/src/lib/components/SocialBlock/SocialBlock.stories.js.map +1 -0
  190. package/dist/src/lib/components/SocialBlock/index.d.ts +21 -0
  191. package/dist/src/lib/components/SocialBlock/index.js +65 -0
  192. package/dist/src/lib/components/SocialBlock/index.js.map +1 -0
  193. package/dist/src/lib/components/StarRating/StarRating.stories.d.ts +6 -0
  194. package/dist/src/lib/components/StarRating/StarRating.stories.js +17 -0
  195. package/dist/src/lib/components/StarRating/StarRating.stories.js.map +1 -0
  196. package/dist/src/lib/components/StarRating/index.d.ts +9 -0
  197. package/dist/src/lib/components/StarRating/index.js +27 -0
  198. package/dist/src/lib/components/StarRating/index.js.map +1 -0
  199. package/dist/src/lib/components/Testimonial/Testimonial.stories.d.ts +6 -0
  200. package/dist/src/lib/components/Testimonial/Testimonial.stories.js +95 -0
  201. package/dist/src/lib/components/Testimonial/Testimonial.stories.js.map +1 -0
  202. package/dist/src/lib/components/Testimonial/index.d.ts +17 -0
  203. package/dist/src/lib/components/Testimonial/index.js +27 -0
  204. package/dist/src/lib/components/Testimonial/index.js.map +1 -0
  205. package/dist/src/lib/components/TextAndTitle/TextAndTitle.stories.d.ts +6 -0
  206. package/dist/src/lib/components/TextAndTitle/TextAndTitle.stories.js +63 -0
  207. package/dist/src/lib/components/TextAndTitle/TextAndTitle.stories.js.map +1 -0
  208. package/dist/src/lib/components/TextAndTitle/index.d.ts +26 -0
  209. package/dist/src/lib/components/TextAndTitle/index.js +104 -0
  210. package/dist/src/lib/components/TextAndTitle/index.js.map +1 -0
  211. package/dist/src/lib/components/TextArea/TextArea.stories.d.ts +6 -0
  212. package/dist/src/lib/components/TextArea/TextArea.stories.js +63 -0
  213. package/dist/src/lib/components/TextArea/TextArea.stories.js.map +1 -0
  214. package/dist/src/lib/components/TextArea/index.d.ts +27 -0
  215. package/dist/src/lib/components/TextArea/index.js +19 -0
  216. package/dist/src/lib/components/TextArea/index.js.map +1 -0
  217. package/dist/src/lib/components/Timeline/Timeline.stories.d.ts +6 -0
  218. package/dist/src/lib/components/Timeline/Timeline.stories.js +87 -0
  219. package/dist/src/lib/components/Timeline/Timeline.stories.js.map +1 -0
  220. package/dist/src/lib/components/Timeline/index.d.ts +14 -0
  221. package/dist/src/lib/components/Timeline/index.js +208 -0
  222. package/dist/src/lib/components/Timeline/index.js.map +1 -0
  223. package/dist/src/lib/components/Tubestops/Tubestops.stories.d.ts +6 -0
  224. package/dist/src/lib/components/Tubestops/Tubestops.stories.js +62 -0
  225. package/dist/src/lib/components/Tubestops/Tubestops.stories.js.map +1 -0
  226. package/dist/src/lib/components/Tubestops/index.d.ts +13 -0
  227. package/dist/src/lib/components/Tubestops/index.js +44 -0
  228. package/dist/src/lib/components/Tubestops/index.js.map +1 -0
  229. package/dist/src/lib/components/UserIcon/UserIcon.stories.d.ts +6 -0
  230. package/dist/src/lib/components/UserIcon/UserIcon.stories.js +63 -0
  231. package/dist/src/lib/components/UserIcon/UserIcon.stories.js.map +1 -0
  232. package/dist/src/lib/components/UserIcon/index.d.ts +11 -0
  233. package/dist/src/lib/components/UserIcon/index.js +16 -0
  234. package/dist/src/lib/components/UserIcon/index.js.map +1 -0
  235. package/dist/src/lib/components/Video/Video.stories.d.ts +6 -0
  236. package/dist/src/lib/components/Video/Video.stories.js +17 -0
  237. package/dist/src/lib/components/Video/Video.stories.js.map +1 -0
  238. package/dist/src/lib/components/Video/index.d.ts +17 -0
  239. package/dist/src/lib/components/Video/index.js +9 -0
  240. package/dist/src/lib/components/Video/index.js.map +1 -0
  241. package/dist/src/lib/index.d.ts +39 -0
  242. package/dist/src/lib/index.js +43 -0
  243. package/dist/src/lib/index.js.map +1 -0
  244. package/dist/src/lib/typography/Fonts.stories.d.ts +6 -0
  245. package/dist/src/lib/typography/Fonts.stories.js +12 -0
  246. package/dist/src/lib/typography/Fonts.stories.js.map +1 -0
  247. package/dist/src/lib/typography/index.d.ts +6 -0
  248. package/dist/src/lib/typography/index.js +23 -0
  249. package/dist/src/lib/typography/index.js.map +1 -0
  250. package/dist/src/lib/utils/controls.d.ts +35 -0
  251. package/dist/src/lib/utils/controls.js +21 -0
  252. package/dist/src/lib/utils/controls.js.map +1 -0
  253. package/dist/src/lib/utils/theme.d.ts +3 -0
  254. package/dist/src/lib/utils/theme.js +28 -0
  255. package/dist/src/lib/utils/theme.js.map +1 -0
  256. package/dist/tailwind.config.d.ts +65 -0
  257. package/dist/tailwind.config.js +81 -0
  258. package/dist/tailwind.config.js.map +1 -0
  259. package/package.json +19 -5
  260. package/dist/components/Accordion/index.js +0 -37
  261. package/dist/components/AlertBar/index.js +0 -129
  262. package/dist/components/Breadcrumbs/index.js +0 -66
  263. package/dist/components/BreadcrumbsBordered/index.js +0 -66
  264. package/dist/components/BreadcrumbsItem/index.js +0 -160
  265. package/dist/components/Button/index.js +0 -141
  266. package/dist/components/Card/index.js +0 -151
  267. package/dist/components/CardWithTopImage/index.js +0 -64
  268. package/dist/components/Carousel/index.css +0 -4
  269. package/dist/components/Carousel/index.css.map +0 -1
  270. package/dist/components/Carousel/index.js +0 -185
  271. package/dist/components/ChevronCard/index.js +0 -65
  272. package/dist/components/Collapsible/index.js +0 -158
  273. package/dist/components/Column/index.js +0 -137
  274. package/dist/components/Container/index.js +0 -55
  275. package/dist/components/FooterBar/index.js +0 -60
  276. package/dist/components/Form/index.js +0 -78
  277. package/dist/components/FyreCard/index.js +0 -54
  278. package/dist/components/Greeting/index.js +0 -69
  279. package/dist/components/Icon/index.js +0 -91
  280. package/dist/components/Image/index.js +0 -142
  281. package/dist/components/ImageLink/index.js +0 -61
  282. package/dist/components/ImageLinkList/index.js +0 -45
  283. package/dist/components/InformationIcon/index.js +0 -120
  284. package/dist/components/Input/index.js +0 -112
  285. package/dist/components/Jumbotron/index.js +0 -39
  286. package/dist/components/Nav/index.js +0 -302
  287. package/dist/components/NavItem/index.js +0 -129
  288. package/dist/components/NewsCard/index.js +0 -62
  289. package/dist/components/Profile/index.js +0 -86
  290. package/dist/components/Row/index.js +0 -55
  291. package/dist/components/Search/index.js +0 -60
  292. package/dist/components/SocialBlock/index.js +0 -184
  293. package/dist/components/StarRating/index.js +0 -110
  294. package/dist/components/Testimonial/index.js +0 -70
  295. package/dist/components/TextAndTitle/index.js +0 -283
  296. package/dist/components/TextArea/index.js +0 -97
  297. package/dist/components/Timeline/index.css +0 -133
  298. package/dist/components/Timeline/index.css.map +0 -1
  299. package/dist/components/Timeline/index.js +0 -254
  300. package/dist/components/Tubestops/index.css +0 -92
  301. package/dist/components/Tubestops/index.css.map +0 -1
  302. package/dist/components/Tubestops/index.js +0 -95
  303. package/dist/components/UserIcon/index.js +0 -50
  304. package/dist/components/Users/rupertb/Documents/apps/trepur_components/src/lib/styles/base.css +0 -1831
  305. package/dist/components/Users/rupertb/Documents/apps/trepur_components/src/lib/styles/base.css.map +0 -1
  306. package/dist/components/Video/index.js +0 -67
  307. package/dist/fonts/Sora/OFL.txt +0 -93
  308. package/dist/fonts/Sora/README.txt +0 -70
  309. package/dist/fonts/Sora/Sora-VariableFont_wght.ttf +0 -0
  310. package/dist/fonts/Sora/static/Sora-Bold.ttf +0 -0
  311. package/dist/fonts/Sora/static/Sora-ExtraBold.ttf +0 -0
  312. package/dist/fonts/Sora/static/Sora-ExtraLight.ttf +0 -0
  313. package/dist/fonts/Sora/static/Sora-Light.ttf +0 -0
  314. package/dist/fonts/Sora/static/Sora-Medium.ttf +0 -0
  315. package/dist/fonts/Sora/static/Sora-Regular.ttf +0 -0
  316. package/dist/fonts/Sora/static/Sora-SemiBold.ttf +0 -0
  317. package/dist/fonts/Sora/static/Sora-Thin.ttf +0 -0
  318. package/dist/index.js +0 -311
  319. package/dist/styles/base.css +0 -73
@@ -1,60 +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 _Icon = _interopRequireDefault(require("../Icon"));
13
-
14
- var _classnames = _interopRequireDefault(require("classnames"));
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
- 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); }
19
-
20
- const Search = _ref => {
21
- let {
22
- id,
23
- classes,
24
- onChange,
25
- placeholder,
26
- text,
27
- leftIconProps,
28
- rightIconProps
29
- } = _ref;
30
- const classList = (0, _classnames.default)({
31
- [classes]: classes
32
- }, 'flex');
33
- const inputClasses = (0, _classnames.default)({
34
- 'pl-9': leftIconProps,
35
- 'pl-2': !leftIconProps
36
- }, 'w-full border-2 rounded-md py-2 pr-9');
37
- const onChangeFunc = onChange ? e => onChange(e.target.value) : null;
38
- return /*#__PURE__*/_react.default.createElement("div", _extends({}, id && {
39
- id: id
40
- }, {
41
- className: classList
42
- }), /*#__PURE__*/_react.default.createElement("div", null, text && /*#__PURE__*/_react.default.createElement("h2", {
43
- className: "font-base-lg py-2 pr-4"
44
- }, text)), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
45
- className: "relative w-full flex"
46
- }, leftIconProps && /*#__PURE__*/_react.default.createElement(_Icon.default, {
47
- iconProps: leftIconProps
48
- }), /*#__PURE__*/_react.default.createElement("input", {
49
- className: inputClasses,
50
- onChange: onChangeFunc,
51
- placeholder: placeholder,
52
- type: "text",
53
- name: "search"
54
- }), rightIconProps && /*#__PURE__*/_react.default.createElement(_Icon.default, {
55
- iconProps: rightIconProps
56
- }))));
57
- };
58
-
59
- var _default = Search;
60
- exports.default = _default;
@@ -1,184 +0,0 @@
1
- "use strict";
2
-
3
- require("core-js/modules/es.object.assign.js");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- require("core-js/modules/web.dom-collections.iterator.js");
11
-
12
- require("core-js/modules/es.regexp.exec.js");
13
-
14
- require("core-js/modules/es.string.split.js");
15
-
16
- var _react = _interopRequireWildcard(require("react"));
17
-
18
- var _Input = _interopRequireDefault(require("../Input"));
19
-
20
- var _Button = _interopRequireDefault(require("../Button"));
21
-
22
- var _classnames = _interopRequireDefault(require("classnames"));
23
-
24
- var _Icon = _interopRequireDefault(require("../Icon"));
25
-
26
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
-
28
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
29
-
30
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
31
-
32
- 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); }
33
-
34
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
35
-
36
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
37
-
38
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
39
-
40
- const SocialBlock = _ref => {
41
- let {
42
- id,
43
- classes,
44
- title,
45
- text,
46
- withLiveUpdates,
47
- onSave,
48
- saveButtonProps,
49
- cancelButtonProps,
50
- editTitleClasses,
51
- editTextClasses,
52
- editInputClasses,
53
- buttonWrapperClasses,
54
- textWrapperClasses,
55
- socialButtons
56
- } = _ref;
57
- const defaultComponentData = {
58
- title: {
59
- text: title
60
- },
61
- text: {
62
- text: text
63
- }
64
- };
65
- const [isInEditingMode, setIsInEditingMode] = (0, _react.useState)(false);
66
- const [isHovering, setIsHovering] = (0, _react.useState)(false);
67
- const [componentData, setComponentData] = (0, _react.useState)(defaultComponentData);
68
- const hoverClasses = 'border-dashed border';
69
- const classList = (0, _classnames.default)({
70
- [classes]: classes
71
- });
72
- const buttnoWrapperClasslist = (0, _classnames.default)({
73
- [buttonWrapperClasses]: buttonWrapperClasses
74
- }, 'pt-4');
75
- const hoverClassList = (0, _classnames.default)({
76
- [hoverClasses]: withLiveUpdates && !isInEditingMode && isHovering,
77
- [textWrapperClasses]: textWrapperClasses
78
- });
79
-
80
- const toggleEditState = () => {
81
- withLiveUpdates && setIsInEditingMode(!isInEditingMode);
82
- };
83
-
84
- const handleButtonSave = () => {
85
- const arr = [];
86
- arr.push({
87
- key: 'title',
88
- value: componentData.title.text
89
- });
90
- arr.push({
91
- key: 'text',
92
- value: componentData.text.text
93
- });
94
- toggleEditState();
95
- onSave(arr, id);
96
- setIsHovering(false);
97
- };
98
-
99
- const handleButtonCancel = () => {
100
- toggleEditState();
101
- setIsHovering(false);
102
- };
103
-
104
- const handleChange = e => {
105
- let id = e.target.id;
106
- id = id.split('-')[id.split('-').length - 1];
107
- setComponentData(_objectSpread(_objectSpread({}, componentData), {}, {
108
- [id]: {
109
- text: e.target.value
110
- }
111
- }));
112
- };
113
-
114
- const toggleHoverState = () => {
115
- withLiveUpdates && setIsHovering(!isHovering);
116
- };
117
-
118
- return /*#__PURE__*/_react.default.createElement("div", _extends({}, id && {
119
- id: id
120
- }, {
121
- className: classList
122
- }), withLiveUpdates && isInEditingMode ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Input.default, {
123
- inputProps: {
124
- id: 'title',
125
- classes: editTitleClasses,
126
- inputClasses: editInputClasses,
127
- autoFocus: true,
128
- value: componentData.title.text,
129
- onChange: e => handleChange(e),
130
- type: "text"
131
- }
132
- }), /*#__PURE__*/_react.default.createElement(_Input.default, {
133
- inputProps: {
134
- id: 'text',
135
- classes: editTextClasses,
136
- inputClasses: editInputClasses,
137
- value: componentData.text.text,
138
- onChange: e => handleChange(e),
139
- type: "text"
140
- }
141
- }), /*#__PURE__*/_react.default.createElement(_Button.default, {
142
- buttonProps: {
143
- classes: 'mt-4',
144
- onClick: handleButtonSave,
145
- bgColor: saveButtonProps === null || saveButtonProps === void 0 ? void 0 : saveButtonProps.bgColor,
146
- borderColor: saveButtonProps === null || saveButtonProps === void 0 ? void 0 : saveButtonProps.borderColor,
147
- textColor: saveButtonProps === null || saveButtonProps === void 0 ? void 0 : saveButtonProps.textColor,
148
- hoverTextColor: saveButtonProps === null || saveButtonProps === void 0 ? void 0 : saveButtonProps.hoverTextColor,
149
- hoverBorderColor: saveButtonProps === null || saveButtonProps === void 0 ? void 0 : saveButtonProps.hoverBorderColor,
150
- hoverBgColor: saveButtonProps === null || saveButtonProps === void 0 ? void 0 : saveButtonProps.hoverBgColor
151
- }
152
- }, "Save"), /*#__PURE__*/_react.default.createElement(_Button.default, {
153
- buttonProps: {
154
- classes: 'mt-4 ml-4',
155
- onClick: handleButtonCancel,
156
- bgColor: cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.bgColor,
157
- borderColor: cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.borderColor,
158
- textColor: cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.textColor,
159
- hoverTextColor: cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.hoverTextColor,
160
- hoverBorderColor: cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.hoverBorderColor,
161
- hoverBgColor: cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.hoverBgColor
162
- }
163
- }, "Cancel")) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
164
- onMouseOver: () => toggleHoverState(),
165
- onMouseOut: () => toggleHoverState(),
166
- onClick: toggleEditState,
167
- className: hoverClassList
168
- }, /*#__PURE__*/_react.default.createElement("h2", {
169
- className: "text-md sm:text-lg"
170
- }, componentData.title.text), /*#__PURE__*/_react.default.createElement("p", {
171
- className: "pt-4"
172
- }, componentData.text.text)), /*#__PURE__*/_react.default.createElement("div", {
173
- className: buttnoWrapperClasslist
174
- }, /*#__PURE__*/_react.default.createElement("div", {
175
- className: "flex flex-wrap w-full justify-center"
176
- }, socialButtons && socialButtons.map((button, i) => {
177
- return /*#__PURE__*/_react.default.createElement("div", {
178
- key: "social_btn_".concat(i + 1)
179
- }, button);
180
- })))));
181
- };
182
-
183
- var _default = SocialBlock;
184
- exports.default = _default;
@@ -1,110 +0,0 @@
1
- "use strict";
2
-
3
- require("core-js/modules/es.object.assign.js");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.starRatingProps = exports.default = void 0;
9
-
10
- require("core-js/modules/web.dom-collections.iterator.js");
11
-
12
- var _react = _interopRequireDefault(require("react"));
13
-
14
- var _Icon = _interopRequireDefault(require("../Icon"));
15
-
16
- var _propTypes = _interopRequireDefault(require("prop-types"));
17
-
18
- var _classnames = _interopRequireDefault(require("classnames"));
19
-
20
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
-
22
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
23
-
24
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
25
-
26
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
27
-
28
- 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); }
29
-
30
- const starRatingProps = {
31
- id: _propTypes.default.string,
32
- classes: _propTypes.default.string,
33
- stars: _propTypes.default.number,
34
- iconProps: _propTypes.default.object
35
- };
36
- exports.starRatingProps = starRatingProps;
37
-
38
- const StarRating = _ref => {
39
- var _starRatingProps$icon;
40
-
41
- let {
42
- starRatingProps
43
- } = _ref;
44
- if (starRatingProps == undefined) return;
45
- const classList = (0, _classnames.default)({
46
- [starRatingProps.classes]: starRatingProps === null || starRatingProps === void 0 ? void 0 : starRatingProps.classes
47
- }, 'flex');
48
- const iconClassList = (0, _classnames.default)({
49
- [starRatingProps.iconProps.classes]: starRatingProps === null || starRatingProps === void 0 ? void 0 : (_starRatingProps$icon = starRatingProps.iconProps) === null || _starRatingProps$icon === void 0 ? void 0 : _starRatingProps$icon.classes
50
- });
51
-
52
- const getStars = () => {
53
- const starsArr = [];
54
-
55
- for (var i = 0; i < (starRatingProps === null || starRatingProps === void 0 ? void 0 : starRatingProps.stars); i++) {
56
- var _starRatingProps$icon2;
57
-
58
- starsArr.push( /*#__PURE__*/_react.default.createElement(_Icon.default, {
59
- key: "checked_star_".concat(i + 0),
60
- iconProps: {
61
- id: "checked-".concat(i),
62
- classes: "".concat(iconClassList, " checked"),
63
- type: 'star',
64
- size: starRatingProps === null || starRatingProps === void 0 ? void 0 : (_starRatingProps$icon2 = starRatingProps.iconProps) === null || _starRatingProps$icon2 === void 0 ? void 0 : _starRatingProps$icon2.size,
65
- colour: 'text-gold'
66
- }
67
- }));
68
- }
69
-
70
- return starsArr;
71
- };
72
-
73
- const getStarsChecked = () => {
74
- const starsArr = [];
75
-
76
- for (var i = 0; i < 5 - (starRatingProps === null || starRatingProps === void 0 ? void 0 : starRatingProps.stars); i++) {
77
- var _starRatingProps$icon3;
78
-
79
- starsArr.push( /*#__PURE__*/_react.default.createElement(_Icon.default, {
80
- key: "unchecked_star_".concat(i + 0),
81
- iconProps: {
82
- id: "unchecked-".concat(i),
83
- classes: "".concat(iconClassList, " unchecked opacity-30 gold"),
84
- type: 'star',
85
- size: starRatingProps === null || starRatingProps === void 0 ? void 0 : (_starRatingProps$icon3 = starRatingProps.iconProps) === null || _starRatingProps$icon3 === void 0 ? void 0 : _starRatingProps$icon3.size,
86
- colour: 'text-gold'
87
- }
88
- }));
89
- }
90
-
91
- return starsArr;
92
- };
93
-
94
- const getAllStars = () => {
95
- const starArray = [...getStars(), ...getStarsChecked()];
96
- return starArray;
97
- };
98
-
99
- return /*#__PURE__*/_react.default.createElement("div", _extends({}, (starRatingProps === null || starRatingProps === void 0 ? void 0 : starRatingProps.id) && {
100
- id: starRatingProps === null || starRatingProps === void 0 ? void 0 : starRatingProps.id
101
- }, {
102
- className: classList
103
- }), getAllStars());
104
- };
105
-
106
- StarRating.propTypes = {
107
- starRatingProps: _propTypes.default.shape(_objectSpread({}, starRatingProps))
108
- };
109
- var _default = StarRating;
110
- exports.default = _default;
@@ -1,70 +0,0 @@
1
- "use strict";
2
-
3
- require("core-js/modules/es.object.assign.js");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _classnames = _interopRequireDefault(require("classnames"));
13
-
14
- var _Image = _interopRequireDefault(require("../Image"));
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
- 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); }
19
-
20
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
21
-
22
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
23
-
24
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
25
-
26
- const Testimonial = _ref => {
27
- let {
28
- id,
29
- classes,
30
- text,
31
- imageProps,
32
- companyName,
33
- position,
34
- date,
35
- positionStartDate,
36
- positionEndDate,
37
- authorsName,
38
- authorsPosition,
39
- bgColor,
40
- textColor,
41
- authorTextColor
42
- } = _ref;
43
- const classList = (0, _classnames.default)({
44
- [classes]: classes,
45
- [bgColor]: bgColor,
46
- 'bg-white': !bgColor,
47
- [textColor]: textColor,
48
- 'text-black': !textColor
49
- }, 'text-center');
50
- const imageClassList = (0, _classnames.default)({
51
- [imageProps === null || imageProps === void 0 ? void 0 : imageProps.imageClasses]: imageProps === null || imageProps === void 0 ? void 0 : imageProps.imageClasses
52
- }, 'mx-auto');
53
- imageProps.imageClasses = imageClassList;
54
- return /*#__PURE__*/_react.default.createElement("div", _extends({}, id && {
55
- id: id
56
- }, {
57
- className: classList
58
- }), /*#__PURE__*/_react.default.createElement(_Image.default, {
59
- imageProps: _objectSpread({}, imageProps)
60
- }), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("h2", {
61
- className: "text-md md:text-md"
62
- }, companyName, " "), /*#__PURE__*/_react.default.createElement("p", {
63
- className: "text-md md:text-sm"
64
- }, position), /*#__PURE__*/_react.default.createElement("p", null, positionStartDate, " - ", positionEndDate), /*#__PURE__*/_react.default.createElement("p", null, text), /*#__PURE__*/_react.default.createElement("p", {
65
- className: authorTextColor
66
- }, authorsName, " - ", authorsPosition, ": ", date)));
67
- };
68
-
69
- var _default = Testimonial;
70
- exports.default = _default;