@pareto-engineering/design-system 0.0.1-alpha.8 → 2.0.0-alpha.2

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 (683) hide show
  1. package/.eslintrc.js +1 -1
  2. package/.github/workflows/{push-development.yaml → push-main-branches.yaml} +3 -1
  3. package/.github/workflows/{pr.yaml → push-pr.yaml} +23 -4
  4. package/.github/{workflows → workflows.old}/push-production.yaml +0 -0
  5. package/.github/{workflows → workflows.old}/push-staging.yaml +0 -0
  6. package/.github/{workflows → workflows.old}/test-publish.no +0 -0
  7. package/.github/{workflows → workflows.old}/test-publish.yaml +0 -0
  8. package/babel.config.js +4 -0
  9. package/config/global-setup.js +3 -0
  10. package/dist/cjs/a/AnimatedCounter/AnimatedCounter.js +134 -0
  11. package/dist/cjs/a/AnimatedCounter/index.js +15 -0
  12. package/dist/cjs/a/AnimatedCounter/styles.scss +24 -0
  13. package/dist/cjs/a/ContentCard/ContentCard.js +79 -0
  14. package/dist/cjs/a/ContentCard/common/Section/Section.js +80 -0
  15. package/dist/cjs/a/ContentCard/common/Section/index.js +15 -0
  16. package/dist/cjs/a/ContentCard/common/index.js +13 -0
  17. package/dist/cjs/a/ContentCard/index.js +15 -0
  18. package/dist/cjs/a/ContentCard/styles.scss +78 -0
  19. package/dist/cjs/a/Conversation/Context.js +16 -0
  20. package/dist/cjs/a/Conversation/Conversation.js +100 -0
  21. package/dist/cjs/a/Conversation/common/Message/Message.js +90 -0
  22. package/dist/cjs/a/Conversation/common/Message/index.js +15 -0
  23. package/dist/cjs/a/Conversation/common/index.js +13 -0
  24. package/dist/cjs/a/Conversation/index.js +31 -0
  25. package/dist/cjs/a/Conversation/styles.scss +52 -0
  26. package/dist/cjs/a/Conversation/useConversation.js +16 -0
  27. package/dist/cjs/a/CustomerLogos/CustomerLogos.js +86 -0
  28. package/dist/cjs/a/CustomerLogos/index.js +15 -0
  29. package/dist/cjs/a/CustomerLogos/styles.scss +41 -0
  30. package/dist/cjs/a/CustomerStat/CustomerStat.js +87 -0
  31. package/dist/cjs/a/CustomerStat/index.js +15 -0
  32. package/dist/cjs/a/CustomerStat/styles.scss +16 -0
  33. package/dist/cjs/a/DashboardNavbar/DashboardNavbar.js +3 -3
  34. package/dist/cjs/a/DashboardNavbar/common/NavItem/NavItem.js +3 -3
  35. package/dist/cjs/a/DashboardNavbar/common/NavProfile/NavProfile.js +3 -3
  36. package/dist/cjs/a/DotInfo/DotInfo.js +106 -0
  37. package/dist/cjs/a/DotInfo/index.js +15 -0
  38. package/dist/cjs/a/DotInfo/styles.scss +20 -0
  39. package/dist/cjs/a/FeaturedOn/FeaturedOn.js +88 -0
  40. package/dist/cjs/a/FeaturedOn/index.js +15 -0
  41. package/dist/cjs/a/FeaturedOn/styles.scss +41 -0
  42. package/dist/cjs/a/Figure/Figure.js +84 -0
  43. package/dist/cjs/a/Figure/index.js +15 -0
  44. package/dist/cjs/a/Figure/styles.scss +19 -0
  45. package/dist/cjs/a/HamburgerButton/HamburgerButton.js +107 -0
  46. package/dist/cjs/a/HamburgerButton/index.js +15 -0
  47. package/dist/cjs/a/HamburgerButton/styles.scss +41 -0
  48. package/dist/cjs/a/IconList/IconList.js +102 -0
  49. package/dist/cjs/a/IconList/common/Item/Item.js +98 -0
  50. package/dist/cjs/a/IconList/common/Item/index.js +15 -0
  51. package/dist/cjs/a/IconList/common/index.js +13 -0
  52. package/dist/cjs/a/IconList/index.js +15 -0
  53. package/dist/cjs/a/IconList/styles.scss +37 -0
  54. package/dist/cjs/a/LoadingCircle/LoadingCircle.js +121 -0
  55. package/dist/cjs/a/LoadingCircle/index.js +15 -0
  56. package/dist/cjs/a/LoadingCircle/styles.scss +49 -0
  57. package/dist/cjs/a/People/People.js +87 -0
  58. package/dist/cjs/a/People/common/Person/Person.js +89 -0
  59. package/dist/cjs/a/People/common/Person/index.js +15 -0
  60. package/dist/cjs/a/People/common/index.js +13 -0
  61. package/dist/cjs/a/People/index.js +15 -0
  62. package/dist/cjs/a/People/styles.scss +54 -0
  63. package/dist/cjs/a/ProgressBar/ProgressBar.js +99 -0
  64. package/dist/cjs/a/ProgressBar/index.js +15 -0
  65. package/dist/cjs/a/ProgressBar/styles.scss +37 -0
  66. package/dist/cjs/a/Quote/Quote.js +96 -0
  67. package/dist/cjs/a/Quote/index.js +15 -0
  68. package/dist/cjs/a/Quote/styles.scss +53 -0
  69. package/dist/cjs/a/RatingsInput/RatingsInput.js +88 -0
  70. package/dist/cjs/a/RatingsInput/common/Rating/Rating.js +120 -0
  71. package/dist/cjs/a/RatingsInput/common/Rating/index.js +15 -0
  72. package/dist/cjs/a/RatingsInput/common/index.js +13 -0
  73. package/dist/cjs/a/RatingsInput/index.js +15 -0
  74. package/dist/cjs/a/RatingsInput/styles.scss +35 -0
  75. package/dist/cjs/a/SVG/SVG.js +165 -0
  76. package/dist/cjs/a/SVG/common/UseSVG/UseSVG.js +88 -0
  77. package/dist/cjs/a/SVG/common/UseSVG/index.js +15 -0
  78. package/dist/cjs/a/SVG/common/index.js +13 -0
  79. package/dist/cjs/a/SVG/index.js +15 -0
  80. package/dist/cjs/a/SVG/styles.scss +57 -0
  81. package/dist/cjs/a/SiteContext/Context.js +2 -2
  82. package/dist/cjs/a/SiteContext/ContextProvider.js +41 -11
  83. package/dist/cjs/a/SiteContext/useTheme.js +3 -1
  84. package/dist/cjs/a/Spinner/Spinner.js +73 -0
  85. package/dist/cjs/a/Spinner/index.js +15 -0
  86. package/dist/cjs/a/Spinner/styles.scss +23 -0
  87. package/dist/cjs/a/TeamInfo/TeamInfo.js +102 -0
  88. package/dist/cjs/a/TeamInfo/index.js +15 -0
  89. package/dist/cjs/a/TeamInfo/styles.scss +58 -0
  90. package/dist/cjs/a/Timestamp/Timestamp.js +139 -0
  91. package/dist/cjs/a/Timestamp/index.js +15 -0
  92. package/dist/cjs/a/Timestamp/styles.scss +7 -0
  93. package/dist/cjs/a/index.js +145 -1
  94. package/dist/cjs/b/Button/Button.js +43 -9
  95. package/dist/cjs/b/Button/styles.scss +37 -5
  96. package/dist/cjs/b/Card/Card.js +3 -3
  97. package/dist/cjs/b/Card/common/Group/Group.js +3 -3
  98. package/dist/cjs/b/Logo/Logo.js +139 -0
  99. package/dist/cjs/b/Logo/index.js +15 -0
  100. package/dist/cjs/b/Logo/styles.scss +147 -0
  101. package/dist/cjs/b/Page/Context.js +2 -2
  102. package/dist/cjs/b/Page/Page.js +6 -4
  103. package/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +37 -24
  104. package/dist/cjs/b/Page/common/Section/Section.js +6 -4
  105. package/dist/cjs/b/QuestionDropdown/QuestionDropdown.js +25 -17
  106. package/dist/cjs/b/QuestionDropdown/styles.scss +2 -2
  107. package/dist/cjs/b/Segment/Segment.js +3 -3
  108. package/dist/cjs/b/SocialMediaButton/SocialMediaButton.js +140 -0
  109. package/dist/cjs/b/SocialMediaButton/index.js +15 -0
  110. package/dist/cjs/b/SocialMediaButton/styles.scss +49 -0
  111. package/dist/cjs/b/ThemeSelector/ThemeSelector.js +101 -0
  112. package/dist/cjs/b/ThemeSelector/index.js +15 -0
  113. package/dist/cjs/b/ThemeSelector/styles.scss +14 -0
  114. package/dist/cjs/b/Title/Title.js +3 -3
  115. package/dist/cjs/b/index.js +25 -1
  116. package/dist/cjs/c/AcceptCookies/AcceptCookies.js +134 -0
  117. package/dist/cjs/c/AcceptCookies/index.js +15 -0
  118. package/dist/cjs/c/AcceptCookies/styles.scss +49 -0
  119. package/dist/cjs/c/BlogCategoryButton/BlogCategoryButton.js +95 -0
  120. package/dist/cjs/c/BlogCategoryButton/index.js +15 -0
  121. package/dist/cjs/c/BlogContext/BlogContextProvider.js +63 -0
  122. package/dist/cjs/c/BlogContext/Context.js +16 -0
  123. package/dist/cjs/c/BlogContext/ContextProvider.js +63 -0
  124. package/dist/cjs/c/BlogContext/index.js +31 -0
  125. package/dist/cjs/c/BlogContext/useBlog.js +16 -0
  126. package/dist/cjs/c/BlogPost/BlogPost.js +147 -0
  127. package/dist/cjs/c/BlogPost/index.js +15 -0
  128. package/dist/cjs/c/BlogPost/styles.scss +33 -0
  129. package/dist/cjs/c/BlogPostsList/BlogPostsList.js +73 -0
  130. package/dist/cjs/c/BlogPostsList/common/Card/Card.js +170 -0
  131. package/dist/cjs/c/BlogPostsList/common/Card/index.js +15 -0
  132. package/dist/cjs/c/BlogPostsList/common/index.js +13 -0
  133. package/dist/cjs/c/BlogPostsList/index.js +15 -0
  134. package/dist/cjs/c/BlogPostsList/styles.scss +72 -0
  135. package/dist/cjs/c/ContentSlides/ContentSlides.js +200 -0
  136. package/dist/cjs/c/ContentSlides/Context.js +16 -0
  137. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +135 -0
  138. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/index.js +15 -0
  139. package/dist/cjs/c/ContentSlides/common/Navigator/Navigator.js +145 -0
  140. package/dist/cjs/c/ContentSlides/common/Navigator/index.js +15 -0
  141. package/dist/cjs/c/ContentSlides/common/Sidebar/Sidebar.js +106 -0
  142. package/dist/cjs/c/ContentSlides/common/Sidebar/index.js +15 -0
  143. package/dist/cjs/c/ContentSlides/common/Slide/Slide.js +84 -0
  144. package/dist/cjs/c/ContentSlides/common/Slide/index.js +15 -0
  145. package/dist/cjs/c/ContentSlides/common/index.js +37 -0
  146. package/dist/cjs/c/ContentSlides/index.js +31 -0
  147. package/dist/cjs/c/ContentSlides/styles.scss +308 -0
  148. package/dist/cjs/c/ContentSlides/useContentSlides.js +16 -0
  149. package/dist/cjs/c/Hero/Hero.js +88 -0
  150. package/dist/cjs/c/Hero/index.js +15 -0
  151. package/dist/cjs/c/Hero/styles.scss +41 -0
  152. package/dist/cjs/c/Shortener/Shortener.js +114 -0
  153. package/dist/cjs/c/Shortener/index.js +15 -0
  154. package/dist/cjs/c/Shortener/styles.scss +7 -0
  155. package/dist/cjs/c/SiteFooter/SiteFooter.js +73 -0
  156. package/dist/cjs/c/SiteFooter/common/Section/Section.js +95 -0
  157. package/dist/cjs/c/SiteFooter/common/Section/index.js +15 -0
  158. package/dist/cjs/c/SiteFooter/common/index.js +13 -0
  159. package/dist/cjs/c/SiteFooter/index.js +15 -0
  160. package/dist/cjs/c/SiteFooter/styles.scss +34 -0
  161. package/dist/cjs/c/SiteHeaderCTA/SiteHeaderCTA.js +108 -0
  162. package/dist/cjs/c/SiteHeaderCTA/index.js +15 -0
  163. package/dist/cjs/c/SiteHeaderCTA/styles.scss +44 -0
  164. package/dist/cjs/c/SiteMission/SiteMission.js +113 -0
  165. package/dist/cjs/c/SiteMission/index.js +15 -0
  166. package/dist/cjs/c/SiteMission/styles.scss +30 -0
  167. package/dist/cjs/c/SiteNavigation/SiteNavigation.js +130 -0
  168. package/dist/cjs/c/SiteNavigation/index.js +15 -0
  169. package/dist/cjs/c/SiteNavigation/styles.scss +118 -0
  170. package/dist/cjs/c/SiteOnboardingStep/SiteOnboardingStep.js +98 -0
  171. package/dist/cjs/c/SiteOnboardingStep/index.js +15 -0
  172. package/dist/cjs/c/SiteOnboardingStep/styles.scss +51 -0
  173. package/dist/cjs/c/SitePricing/SitePricing.js +108 -0
  174. package/dist/cjs/c/SitePricing/index.js +15 -0
  175. package/dist/cjs/c/SitePricing/styles.scss +73 -0
  176. package/dist/cjs/c/SiteServices/SiteServices.js +211 -0
  177. package/dist/cjs/c/SiteServices/index.js +15 -0
  178. package/dist/cjs/c/SiteServices/styles.scss +138 -0
  179. package/dist/cjs/c/TeamGallery/TeamGallery.js +3 -3
  180. package/dist/cjs/c/TeamGallery/common/PersonCard/PersonCard.js +3 -3
  181. package/dist/cjs/c/TeamGallery/styles.scss +2 -2
  182. package/dist/cjs/c/Testimonials/Testimonials.js +119 -0
  183. package/dist/cjs/c/Testimonials/index.js +15 -0
  184. package/dist/cjs/c/Testimonials/styles.scss +112 -0
  185. package/dist/cjs/c/index.js +25 -3
  186. package/dist/cjs/d/index.js +1 -0
  187. package/dist/cjs/f/FormInput/FormInput.js +110 -0
  188. package/dist/cjs/f/FormInput/index.js +15 -0
  189. package/dist/cjs/f/common/Debugger/Debugger.js +81 -0
  190. package/dist/cjs/f/common/Debugger/index.js +15 -0
  191. package/dist/cjs/f/common/Debugger/styles.scss +12 -0
  192. package/dist/cjs/f/common/Description/Description.js +84 -0
  193. package/dist/cjs/f/common/Description/index.js +15 -0
  194. package/dist/cjs/f/common/Description/styles.scss +10 -0
  195. package/dist/cjs/f/common/Label/Label.js +92 -0
  196. package/dist/cjs/f/common/Label/index.js +15 -0
  197. package/dist/cjs/f/common/Label/styles.scss +11 -0
  198. package/dist/cjs/f/common/index.js +29 -0
  199. package/dist/cjs/f/fields/CheckboxInput/CheckboxInput.js +105 -0
  200. package/dist/cjs/f/fields/CheckboxInput/index.js +15 -0
  201. package/dist/cjs/f/fields/CheckboxInput/styles.scss +28 -0
  202. package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +159 -0
  203. package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +122 -0
  204. package/dist/cjs/f/fields/ChoicesInput/common/Choice/index.js +15 -0
  205. package/dist/cjs/f/fields/ChoicesInput/common/index.js +13 -0
  206. package/dist/cjs/f/fields/ChoicesInput/index.js +15 -0
  207. package/dist/cjs/f/fields/ChoicesInput/styles.scss +52 -0
  208. package/dist/cjs/f/fields/RadioInput/RadioInput.js +110 -0
  209. package/dist/cjs/f/fields/RadioInput/index.js +15 -0
  210. package/dist/cjs/f/fields/RadioInput/styles.scss +26 -0
  211. package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +121 -0
  212. package/dist/cjs/f/fields/RatingsInput/common/Rating/Rating.js +129 -0
  213. package/dist/cjs/f/fields/RatingsInput/common/Rating/index.js +15 -0
  214. package/dist/cjs/f/fields/RatingsInput/common/index.js +13 -0
  215. package/dist/cjs/f/fields/RatingsInput/index.js +15 -0
  216. package/dist/cjs/f/fields/RatingsInput/styles.scss +43 -0
  217. package/dist/cjs/f/fields/SelectInput/SelectInput.js +121 -0
  218. package/dist/cjs/f/fields/SelectInput/index.js +15 -0
  219. package/dist/cjs/f/fields/SelectInput/styles.scss +30 -0
  220. package/dist/cjs/f/fields/TaskRecommendation/TaskRecommendation.js +129 -0
  221. package/dist/cjs/f/fields/TaskRecommendation/index.js +15 -0
  222. package/dist/cjs/f/fields/TaskRecommendation/styles.scss +37 -0
  223. package/dist/cjs/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +131 -0
  224. package/dist/cjs/f/fields/TaskRecommendationInput/index.js +15 -0
  225. package/dist/cjs/f/fields/TaskRecommendationInput/styles.scss +37 -0
  226. package/dist/cjs/f/fields/TextArea/TextArea.js +141 -0
  227. package/dist/cjs/f/fields/TextArea/index.js +15 -0
  228. package/dist/cjs/f/fields/TextArea/styles.scss +19 -0
  229. package/dist/cjs/f/fields/TextInput/TextInput.js +131 -0
  230. package/dist/cjs/f/fields/TextInput/index.js +15 -0
  231. package/dist/cjs/f/fields/TextInput/styles.scss +26 -0
  232. package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +151 -0
  233. package/dist/cjs/f/fields/TextareaInput/index.js +15 -0
  234. package/dist/cjs/f/fields/TextareaInput/styles.scss +19 -0
  235. package/dist/cjs/f/fields/index.js +69 -0
  236. package/dist/cjs/f/index.js +44 -0
  237. package/dist/cjs/form-reset.scss +86 -0
  238. package/dist/cjs/form.scss +34 -0
  239. package/dist/cjs/index.js +26 -0
  240. package/dist/cjs/r/SwitchRouteMap/SwitchRouteMap.js +48 -29
  241. package/dist/cjs/r/common/PrivateRoute/PrivateRoute.js +8 -7
  242. package/dist/es/a/AnimatedCounter/AnimatedCounter.js +113 -0
  243. package/dist/es/a/AnimatedCounter/index.js +2 -0
  244. package/dist/es/a/AnimatedCounter/styles.scss +24 -0
  245. package/dist/es/a/ContentCard/ContentCard.js +63 -0
  246. package/dist/es/a/ContentCard/common/Section/Section.js +60 -0
  247. package/dist/es/a/ContentCard/common/Section/index.js +2 -0
  248. package/dist/es/a/ContentCard/common/index.js +1 -0
  249. package/dist/es/a/ContentCard/index.js +2 -0
  250. package/dist/es/a/ContentCard/styles.scss +78 -0
  251. package/dist/es/a/Conversation/Context.js +2 -0
  252. package/dist/es/a/Conversation/Conversation.js +83 -0
  253. package/dist/es/a/Conversation/common/Message/Message.js +71 -0
  254. package/dist/es/a/Conversation/common/Message/index.js +2 -0
  255. package/dist/es/a/Conversation/common/index.js +1 -0
  256. package/dist/es/a/Conversation/index.js +4 -0
  257. package/dist/es/a/Conversation/styles.scss +52 -0
  258. package/dist/es/a/Conversation/useConversation.js +3 -0
  259. package/dist/es/a/CustomerLogos/CustomerLogos.js +70 -0
  260. package/dist/es/a/CustomerLogos/index.js +2 -0
  261. package/dist/es/a/CustomerLogos/styles.scss +41 -0
  262. package/dist/es/a/CustomerStat/CustomerStat.js +71 -0
  263. package/dist/es/a/CustomerStat/index.js +2 -0
  264. package/dist/es/a/CustomerStat/styles.scss +16 -0
  265. package/dist/es/a/DotInfo/DotInfo.js +85 -0
  266. package/dist/es/a/DotInfo/index.js +2 -0
  267. package/dist/es/a/DotInfo/styles.scss +20 -0
  268. package/dist/es/a/FeaturedOn/FeaturedOn.js +72 -0
  269. package/dist/es/a/FeaturedOn/index.js +2 -0
  270. package/dist/es/a/FeaturedOn/styles.scss +41 -0
  271. package/dist/es/a/Figure/Figure.js +68 -0
  272. package/dist/es/a/Figure/index.js +2 -0
  273. package/dist/es/a/Figure/styles.scss +19 -0
  274. package/dist/es/a/HamburgerButton/HamburgerButton.js +84 -0
  275. package/dist/es/a/HamburgerButton/index.js +2 -0
  276. package/dist/es/a/HamburgerButton/styles.scss +41 -0
  277. package/dist/es/a/IconList/IconList.js +72 -0
  278. package/dist/es/a/IconList/common/Item/Item.js +66 -0
  279. package/dist/es/a/IconList/common/Item/index.js +2 -0
  280. package/dist/es/a/IconList/common/index.js +1 -0
  281. package/dist/es/a/IconList/index.js +2 -0
  282. package/dist/es/a/IconList/styles.scss +37 -0
  283. package/dist/es/a/LoadingCircle/LoadingCircle.js +100 -0
  284. package/dist/es/a/LoadingCircle/index.js +2 -0
  285. package/dist/es/a/LoadingCircle/styles.scss +49 -0
  286. package/dist/es/a/People/People.js +66 -0
  287. package/dist/es/a/People/common/Person/Person.js +69 -0
  288. package/dist/es/a/People/common/Person/index.js +2 -0
  289. package/dist/es/a/People/common/index.js +1 -0
  290. package/dist/es/a/People/index.js +2 -0
  291. package/dist/es/a/People/styles.scss +54 -0
  292. package/dist/es/a/ProgressBar/ProgressBar.js +78 -0
  293. package/dist/es/a/ProgressBar/index.js +2 -0
  294. package/dist/es/a/ProgressBar/styles.scss +37 -0
  295. package/dist/es/a/Quote/Quote.js +80 -0
  296. package/dist/es/a/Quote/index.js +2 -0
  297. package/dist/es/a/Quote/styles.scss +53 -0
  298. package/dist/es/a/RatingsInput/RatingsInput.js +72 -0
  299. package/dist/es/a/RatingsInput/common/Rating/Rating.js +102 -0
  300. package/dist/es/a/RatingsInput/common/Rating/index.js +2 -0
  301. package/dist/es/a/RatingsInput/common/index.js +1 -0
  302. package/dist/es/a/RatingsInput/index.js +2 -0
  303. package/dist/es/a/RatingsInput/styles.scss +35 -0
  304. package/dist/es/a/SVG/SVG.js +141 -0
  305. package/dist/es/a/SVG/common/UseSVG/UseSVG.js +65 -0
  306. package/dist/es/a/SVG/common/UseSVG/index.js +2 -0
  307. package/dist/es/a/SVG/common/index.js +1 -0
  308. package/dist/es/a/SVG/index.js +2 -0
  309. package/dist/es/a/SVG/styles.scss +57 -0
  310. package/dist/es/a/SiteContext/ContextProvider.js +40 -7
  311. package/dist/es/a/SiteContext/useTheme.js +4 -2
  312. package/dist/es/a/Spinner/Spinner.js +57 -0
  313. package/dist/es/a/Spinner/index.js +2 -0
  314. package/dist/es/a/Spinner/styles.scss +23 -0
  315. package/dist/es/a/TeamInfo/TeamInfo.js +86 -0
  316. package/dist/es/a/TeamInfo/index.js +2 -0
  317. package/dist/es/a/TeamInfo/styles.scss +58 -0
  318. package/dist/es/a/Timestamp/Timestamp.js +122 -0
  319. package/dist/es/a/Timestamp/index.js +2 -0
  320. package/dist/es/a/Timestamp/styles.scss +7 -0
  321. package/dist/es/a/index.js +19 -1
  322. package/dist/es/b/Button/Button.js +36 -5
  323. package/dist/es/b/Button/styles.scss +37 -5
  324. package/dist/es/b/Logo/Logo.js +122 -0
  325. package/dist/es/b/Logo/index.js +2 -0
  326. package/dist/es/b/Logo/styles.scss +147 -0
  327. package/dist/es/b/Page/common/PageHelmet/PageHelmet.js +37 -21
  328. package/dist/es/b/QuestionDropdown/QuestionDropdown.js +17 -9
  329. package/dist/es/b/QuestionDropdown/styles.scss +2 -2
  330. package/dist/es/b/SocialMediaButton/SocialMediaButton.js +116 -0
  331. package/dist/es/b/SocialMediaButton/index.js +2 -0
  332. package/dist/es/b/SocialMediaButton/styles.scss +49 -0
  333. package/dist/es/b/ThemeSelector/ThemeSelector.js +84 -0
  334. package/dist/es/b/ThemeSelector/index.js +2 -0
  335. package/dist/es/b/ThemeSelector/styles.scss +14 -0
  336. package/dist/es/b/index.js +4 -1
  337. package/dist/es/c/AcceptCookies/AcceptCookies.js +117 -0
  338. package/dist/es/c/AcceptCookies/index.js +2 -0
  339. package/dist/es/c/AcceptCookies/styles.scss +49 -0
  340. package/dist/es/c/BlogCategoryButton/BlogCategoryButton.js +68 -0
  341. package/dist/es/c/BlogCategoryButton/index.js +2 -0
  342. package/dist/es/c/BlogContext/BlogContextProvider.js +45 -0
  343. package/dist/es/c/BlogContext/Context.js +2 -0
  344. package/dist/es/c/BlogContext/ContextProvider.js +45 -0
  345. package/dist/es/c/BlogContext/index.js +4 -0
  346. package/dist/es/c/BlogContext/useBlog.js +3 -0
  347. package/dist/es/c/BlogPost/BlogPost.js +128 -0
  348. package/dist/es/c/BlogPost/index.js +2 -0
  349. package/dist/es/c/BlogPost/styles.scss +33 -0
  350. package/dist/es/c/BlogPostsList/BlogPostsList.js +56 -0
  351. package/dist/es/c/BlogPostsList/common/Card/Card.js +143 -0
  352. package/dist/es/c/BlogPostsList/common/Card/index.js +2 -0
  353. package/dist/es/c/BlogPostsList/common/index.js +1 -0
  354. package/dist/es/c/BlogPostsList/index.js +2 -0
  355. package/dist/es/c/BlogPostsList/styles.scss +72 -0
  356. package/dist/es/c/ContentSlides/ContentSlides.js +176 -0
  357. package/dist/es/c/ContentSlides/Context.js +2 -0
  358. package/dist/es/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +114 -0
  359. package/dist/es/c/ContentSlides/common/HorizontalMenu/index.js +2 -0
  360. package/dist/es/c/ContentSlides/common/Navigator/Navigator.js +126 -0
  361. package/dist/es/c/ContentSlides/common/Navigator/index.js +2 -0
  362. package/dist/es/c/ContentSlides/common/Sidebar/Sidebar.js +85 -0
  363. package/dist/es/c/ContentSlides/common/Sidebar/index.js +2 -0
  364. package/dist/es/c/ContentSlides/common/Slide/Slide.js +65 -0
  365. package/dist/es/c/ContentSlides/common/Slide/index.js +2 -0
  366. package/dist/es/c/ContentSlides/common/index.js +4 -0
  367. package/dist/es/c/ContentSlides/index.js +4 -0
  368. package/dist/es/c/ContentSlides/styles.scss +308 -0
  369. package/dist/es/c/ContentSlides/useContentSlides.js +3 -0
  370. package/dist/es/c/Hero/Hero.js +72 -0
  371. package/dist/es/c/Hero/index.js +2 -0
  372. package/dist/es/c/Hero/styles.scss +41 -0
  373. package/dist/es/c/Shortener/Shortener.js +98 -0
  374. package/dist/es/c/Shortener/index.js +2 -0
  375. package/dist/es/c/Shortener/styles.scss +7 -0
  376. package/dist/es/c/SiteFooter/SiteFooter.js +56 -0
  377. package/dist/es/c/SiteFooter/common/Section/Section.js +73 -0
  378. package/dist/es/c/SiteFooter/common/Section/index.js +2 -0
  379. package/dist/es/c/SiteFooter/common/index.js +1 -0
  380. package/dist/es/c/SiteFooter/index.js +2 -0
  381. package/dist/es/c/SiteFooter/styles.scss +34 -0
  382. package/dist/es/c/SiteHeaderCTA/SiteHeaderCTA.js +92 -0
  383. package/dist/es/c/SiteHeaderCTA/index.js +2 -0
  384. package/dist/es/c/SiteHeaderCTA/styles.scss +44 -0
  385. package/dist/es/c/SiteMission/SiteMission.js +96 -0
  386. package/dist/es/c/SiteMission/index.js +2 -0
  387. package/dist/es/c/SiteMission/styles.scss +30 -0
  388. package/dist/es/c/SiteNavigation/SiteNavigation.js +111 -0
  389. package/dist/es/c/SiteNavigation/index.js +2 -0
  390. package/dist/es/c/SiteNavigation/styles.scss +118 -0
  391. package/dist/es/c/SiteOnboardingStep/SiteOnboardingStep.js +81 -0
  392. package/dist/es/c/SiteOnboardingStep/index.js +2 -0
  393. package/dist/es/c/SiteOnboardingStep/styles.scss +51 -0
  394. package/dist/es/c/SitePricing/SitePricing.js +91 -0
  395. package/dist/es/c/SitePricing/index.js +2 -0
  396. package/dist/es/c/SitePricing/styles.scss +73 -0
  397. package/dist/es/c/SiteServices/SiteServices.js +195 -0
  398. package/dist/es/c/SiteServices/index.js +2 -0
  399. package/dist/es/c/SiteServices/styles.scss +138 -0
  400. package/dist/es/c/TeamGallery/styles.scss +2 -2
  401. package/dist/es/c/Testimonials/Testimonials.js +99 -0
  402. package/dist/es/c/Testimonials/index.js +2 -0
  403. package/dist/es/c/Testimonials/styles.scss +112 -0
  404. package/dist/es/c/index.js +3 -1
  405. package/dist/es/d/index.js +0 -0
  406. package/dist/es/f/FormInput/FormInput.js +85 -0
  407. package/dist/es/f/FormInput/index.js +2 -0
  408. package/dist/es/f/common/Debugger/Debugger.js +64 -0
  409. package/dist/es/f/common/Debugger/index.js +2 -0
  410. package/dist/es/f/common/Debugger/styles.scss +12 -0
  411. package/dist/es/f/common/Description/Description.js +68 -0
  412. package/dist/es/f/common/Description/index.js +2 -0
  413. package/dist/es/f/common/Description/styles.scss +10 -0
  414. package/dist/es/f/common/Label/Label.js +76 -0
  415. package/dist/es/f/common/Label/index.js +2 -0
  416. package/dist/es/f/common/Label/styles.scss +11 -0
  417. package/dist/es/f/common/index.js +3 -0
  418. package/dist/es/f/fields/CheckboxInput/CheckboxInput.js +85 -0
  419. package/dist/es/f/fields/CheckboxInput/index.js +2 -0
  420. package/dist/es/f/fields/CheckboxInput/styles.scss +28 -0
  421. package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +135 -0
  422. package/dist/es/f/fields/ChoicesInput/common/Choice/Choice.js +105 -0
  423. package/dist/es/f/fields/ChoicesInput/common/Choice/index.js +2 -0
  424. package/dist/es/f/fields/ChoicesInput/common/index.js +1 -0
  425. package/dist/es/f/fields/ChoicesInput/index.js +2 -0
  426. package/dist/es/f/fields/ChoicesInput/styles.scss +52 -0
  427. package/dist/es/f/fields/RadioInput/RadioInput.js +90 -0
  428. package/dist/es/f/fields/RadioInput/index.js +2 -0
  429. package/dist/es/f/fields/RadioInput/styles.scss +26 -0
  430. package/dist/es/f/fields/RatingsInput/RatingsInput.js +103 -0
  431. package/dist/es/f/fields/RatingsInput/common/Rating/Rating.js +111 -0
  432. package/dist/es/f/fields/RatingsInput/common/Rating/index.js +2 -0
  433. package/dist/es/f/fields/RatingsInput/common/index.js +1 -0
  434. package/dist/es/f/fields/RatingsInput/index.js +2 -0
  435. package/dist/es/f/fields/RatingsInput/styles.scss +43 -0
  436. package/dist/es/f/fields/SelectInput/SelectInput.js +101 -0
  437. package/dist/es/f/fields/SelectInput/index.js +2 -0
  438. package/dist/es/f/fields/SelectInput/styles.scss +30 -0
  439. package/dist/es/f/fields/TaskRecommendation/TaskRecommendation.js +111 -0
  440. package/dist/es/f/fields/TaskRecommendation/index.js +2 -0
  441. package/dist/es/f/fields/TaskRecommendation/styles.scss +37 -0
  442. package/dist/es/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +111 -0
  443. package/dist/es/f/fields/TaskRecommendationInput/index.js +2 -0
  444. package/dist/es/f/fields/TaskRecommendationInput/styles.scss +37 -0
  445. package/dist/es/f/fields/TextArea/TextArea.js +124 -0
  446. package/dist/es/f/fields/TextArea/index.js +2 -0
  447. package/dist/es/f/fields/TextArea/styles.scss +19 -0
  448. package/dist/es/f/fields/TextInput/TextInput.js +111 -0
  449. package/dist/es/f/fields/TextInput/index.js +2 -0
  450. package/dist/es/f/fields/TextInput/styles.scss +26 -0
  451. package/dist/es/f/fields/TextareaInput/TextareaInput.js +132 -0
  452. package/dist/es/f/fields/TextareaInput/index.js +2 -0
  453. package/dist/es/f/fields/TextareaInput/styles.scss +19 -0
  454. package/dist/es/f/fields/index.js +8 -0
  455. package/dist/es/f/index.js +3 -0
  456. package/dist/es/form-reset.scss +86 -0
  457. package/dist/es/form.scss +34 -0
  458. package/dist/es/index.js +3 -1
  459. package/dist/es/r/SwitchRouteMap/SwitchRouteMap.js +34 -25
  460. package/dist/es/r/common/PrivateRoute/PrivateRoute.js +2 -3
  461. package/jest.config.js +3 -1
  462. package/package.json +44 -35
  463. package/src/__snapshots__/Storyshots.test.js.snap +6355 -500
  464. package/src/assets/images/Fundraising.svg +40 -0
  465. package/src/assets/images/ParetoSupport.svg +190 -0
  466. package/src/assets/images/ParetoWorld.svg +207 -0
  467. package/src/assets/images/email-attach.svg +1 -0
  468. package/src/assets/images/email-delete.svg +1 -0
  469. package/src/assets/images/onboarding/focus-on-strategic-work.webp +0 -0
  470. package/src/assets/images/onboarding/launch-project.webp +0 -0
  471. package/src/assets/images/onboarding/meet-pareto-partner.webp +0 -0
  472. package/src/assets/images/quality.png +0 -0
  473. package/src/assets/images/sprite.svg +253 -0
  474. package/src/local.scss +0 -4
  475. package/src/stories/StyleGuide/colors.stories.mdx +0 -10
  476. package/src/stories/StyleGuide/cssClasses.stories.mdx +16 -0
  477. package/src/stories/StyleGuide/helpers.js +11 -3
  478. package/src/stories/StyleGuide/icons.stories.mdx +29 -0
  479. package/src/stories/a/AnimatedCounter.stories.jsx +30 -0
  480. package/src/stories/a/ContentCard.stories.jsx +158 -0
  481. package/src/stories/a/Conversation.stories.jsx +46 -0
  482. package/src/stories/a/CustomerLogos.stories.jsx +35 -0
  483. package/src/stories/a/CustomerStat.stories.jsx +22 -0
  484. package/src/stories/a/DotInfo.stories.jsx +32 -0
  485. package/src/stories/a/FeaturedOn.stories.jsx +33 -0
  486. package/src/stories/a/Figure.stories.jsx +26 -0
  487. package/src/stories/a/HamburgerButton.stories.jsx +27 -0
  488. package/src/stories/a/IconList.stories.jsx +51 -0
  489. package/src/stories/a/LoadingCircle.stories.jsx +28 -0
  490. package/src/stories/a/People.stories.jsx +48 -0
  491. package/src/stories/a/ProgressBar.stories.jsx +75 -0
  492. package/src/stories/a/Quote.stories.jsx +29 -0
  493. package/src/stories/a/SVG.stories.jsx +97 -0
  494. package/src/stories/a/SiteContext.stories.jsx +15 -2
  495. package/src/stories/a/Spinner.stories.jsx +25 -0
  496. package/src/stories/a/TeamInfo.stories.jsx +31 -0
  497. package/src/stories/a/Timestamp.stories.jsx +102 -0
  498. package/src/stories/b/Button.stories.jsx +31 -1
  499. package/src/stories/b/Logo.stories.jsx +37 -0
  500. package/src/stories/b/QuestionDropdown.stories.jsx +15 -0
  501. package/src/stories/b/SocialMediaButton.stories.jsx +73 -0
  502. package/src/stories/b/ThemeSelector.stories.jsx +53 -0
  503. package/src/stories/c/ContentSlides.stories.jsx +348 -0
  504. package/src/stories/c/Hero.stories.jsx +46 -0
  505. package/src/stories/c/Shortener.stories.jsx +28 -0
  506. package/src/stories/colors.js +11 -8
  507. package/src/stories/f/CheckboxInput.stories.jsx +37 -0
  508. package/src/stories/f/ChoicesInput.stories.jsx +168 -0
  509. package/src/stories/f/Description.stories.jsx +22 -0
  510. package/src/stories/f/FormInput.stories.jsx +187 -0
  511. package/src/stories/f/Label.stories.jsx +22 -0
  512. package/src/stories/f/RadioInput.stories.jsx +37 -0
  513. package/src/stories/f/RatingsInput.stories.jsx +56 -0
  514. package/src/stories/f/SelectInput.stories.jsx +81 -0
  515. package/src/stories/f/TaskRecommendationInput.stories.jsx +38 -0
  516. package/src/stories/f/TextInput.stories.jsx +79 -0
  517. package/src/stories/f/TextareaInput.stories.jsx +49 -0
  518. package/src/stories/utils/Router.jsx +20 -0
  519. package/src/ui/a/AnimatedCounter/AnimatedCounter.jsx +124 -0
  520. package/src/ui/a/AnimatedCounter/index.js +2 -0
  521. package/src/ui/a/AnimatedCounter/styles.scss +24 -0
  522. package/src/ui/a/ContentCard/ContentCard.jsx +84 -0
  523. package/src/ui/a/ContentCard/common/Section/Section.jsx +79 -0
  524. package/src/ui/a/ContentCard/common/Section/index.js +2 -0
  525. package/src/ui/a/ContentCard/common/index.js +1 -0
  526. package/src/ui/a/ContentCard/index.js +2 -0
  527. package/src/ui/a/ContentCard/styles.scss +78 -0
  528. package/src/ui/a/Conversation/Context.js +3 -0
  529. package/src/ui/a/Conversation/Conversation.jsx +107 -0
  530. package/src/ui/a/Conversation/common/Message/Message.jsx +90 -0
  531. package/src/ui/a/Conversation/common/Message/index.js +2 -0
  532. package/src/ui/a/Conversation/common/index.js +1 -0
  533. package/src/ui/a/Conversation/index.js +4 -0
  534. package/src/ui/a/Conversation/styles.scss +52 -0
  535. package/src/ui/a/Conversation/useConversation.js +4 -0
  536. package/src/ui/a/CustomerLogos/CustomerLogos.jsx +92 -0
  537. package/src/ui/a/CustomerLogos/index.js +2 -0
  538. package/src/ui/a/CustomerLogos/styles.scss +41 -0
  539. package/src/ui/a/CustomerStat/CustomerStat.jsx +88 -0
  540. package/src/ui/a/CustomerStat/index.js +2 -0
  541. package/src/ui/a/CustomerStat/styles.scss +16 -0
  542. package/src/ui/a/DotInfo/DotInfo.jsx +107 -0
  543. package/src/ui/a/DotInfo/index.js +2 -0
  544. package/src/ui/a/DotInfo/styles.scss +20 -0
  545. package/src/ui/a/FeaturedOn/FeaturedOn.jsx +95 -0
  546. package/src/ui/a/FeaturedOn/index.js +2 -0
  547. package/src/ui/a/FeaturedOn/styles.scss +41 -0
  548. package/src/ui/a/Figure/Figure.jsx +88 -0
  549. package/src/ui/a/Figure/index.js +2 -0
  550. package/src/ui/a/Figure/styles.scss +19 -0
  551. package/src/ui/a/HamburgerButton/HamburgerButton.jsx +103 -0
  552. package/src/ui/a/HamburgerButton/index.js +2 -0
  553. package/src/ui/a/HamburgerButton/styles.scss +41 -0
  554. package/src/ui/a/IconList/IconList.jsx +95 -0
  555. package/src/ui/a/IconList/common/Item/Item.jsx +81 -0
  556. package/src/ui/a/IconList/common/Item/index.js +2 -0
  557. package/src/ui/a/IconList/common/index.js +1 -0
  558. package/src/ui/a/IconList/index.js +2 -0
  559. package/src/ui/a/IconList/styles.scss +37 -0
  560. package/src/ui/a/LoadingCircle/LoadingCircle.jsx +124 -0
  561. package/src/ui/a/LoadingCircle/index.js +2 -0
  562. package/src/ui/a/LoadingCircle/styles.scss +49 -0
  563. package/src/ui/a/People/People.jsx +90 -0
  564. package/src/ui/{c/TeamGallery/common/PersonCard/PersonCard.jsx → a/People/common/Person/Person.jsx} +23 -28
  565. package/src/ui/a/People/common/Person/index.js +2 -0
  566. package/src/ui/a/People/common/index.js +1 -0
  567. package/src/ui/a/People/index.js +2 -0
  568. package/src/ui/a/People/styles.scss +54 -0
  569. package/src/ui/a/ProgressBar/ProgressBar.jsx +99 -0
  570. package/src/ui/a/ProgressBar/index.js +2 -0
  571. package/src/ui/a/ProgressBar/styles.scss +37 -0
  572. package/src/ui/a/Quote/Quote.jsx +96 -0
  573. package/src/ui/a/Quote/index.js +2 -0
  574. package/src/ui/a/Quote/styles.scss +53 -0
  575. package/src/ui/a/SVG/SVG.jsx +185 -0
  576. package/src/ui/a/SVG/common/UseSVG/UseSVG.jsx +74 -0
  577. package/src/ui/a/SVG/common/UseSVG/index.js +2 -0
  578. package/src/ui/a/SVG/common/index.js +1 -0
  579. package/src/ui/a/SVG/index.js +2 -0
  580. package/src/ui/a/SVG/styles.scss +57 -0
  581. package/src/ui/a/SiteContext/ContextProvider.jsx +37 -4
  582. package/src/ui/a/SiteContext/useTheme.js +4 -1
  583. package/src/ui/a/Spinner/Spinner.jsx +75 -0
  584. package/src/ui/a/Spinner/index.js +2 -0
  585. package/src/ui/a/Spinner/styles.scss +23 -0
  586. package/src/ui/a/TeamInfo/TeamInfo.jsx +99 -0
  587. package/src/ui/a/TeamInfo/index.js +2 -0
  588. package/src/ui/a/TeamInfo/styles.scss +58 -0
  589. package/src/ui/a/Timestamp/Timestamp.jsx +168 -0
  590. package/src/ui/a/Timestamp/index.js +2 -0
  591. package/src/ui/a/Timestamp/styles.scss +7 -0
  592. package/src/ui/a/index.js +18 -0
  593. package/src/ui/b/Button/Button.jsx +36 -4
  594. package/src/ui/b/Button/styles.scss +37 -5
  595. package/src/ui/b/Logo/Logo.jsx +152 -0
  596. package/src/ui/b/Logo/index.js +2 -0
  597. package/src/ui/b/Logo/styles.scss +147 -0
  598. package/src/ui/b/Page/common/PageHelmet/PageHelmet.jsx +16 -5
  599. package/src/ui/b/QuestionDropdown/QuestionDropdown.jsx +12 -7
  600. package/src/ui/b/QuestionDropdown/styles.scss +2 -2
  601. package/src/ui/b/SocialMediaButton/SocialMediaButton.jsx +137 -0
  602. package/src/ui/b/SocialMediaButton/index.js +2 -0
  603. package/src/ui/b/SocialMediaButton/styles.scss +49 -0
  604. package/src/ui/b/ThemeSelector/ThemeSelector.jsx +107 -0
  605. package/src/ui/b/ThemeSelector/index.js +2 -0
  606. package/src/ui/b/ThemeSelector/styles.scss +14 -0
  607. package/src/ui/b/index.js +3 -0
  608. package/src/ui/c/ContentSlides/ContentSlides.jsx +216 -0
  609. package/src/ui/c/ContentSlides/Context.js +3 -0
  610. package/src/ui/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.jsx +138 -0
  611. package/src/ui/c/ContentSlides/common/HorizontalMenu/index.js +2 -0
  612. package/src/ui/c/ContentSlides/common/Navigator/Navigator.jsx +149 -0
  613. package/src/ui/c/ContentSlides/common/Navigator/index.js +2 -0
  614. package/src/ui/c/ContentSlides/common/Sidebar/Sidebar.jsx +135 -0
  615. package/src/ui/c/ContentSlides/common/Sidebar/index.js +2 -0
  616. package/src/ui/c/ContentSlides/common/Slide/Slide.jsx +87 -0
  617. package/src/ui/c/ContentSlides/common/Slide/index.js +2 -0
  618. package/src/ui/c/ContentSlides/common/index.js +4 -0
  619. package/src/ui/c/ContentSlides/index.js +4 -0
  620. package/src/ui/c/ContentSlides/styles.scss +308 -0
  621. package/src/ui/c/ContentSlides/useContentSlides.js +4 -0
  622. package/src/ui/c/{TeamGallery/TeamGallery.jsx → Hero/Hero.jsx} +32 -23
  623. package/src/ui/c/Hero/index.js +2 -0
  624. package/src/ui/c/Hero/styles.scss +41 -0
  625. package/src/ui/c/Shortener/Shortener.jsx +142 -0
  626. package/src/ui/c/Shortener/index.js +2 -0
  627. package/src/ui/c/Shortener/styles.scss +7 -0
  628. package/src/ui/c/index.js +3 -1
  629. package/src/ui/d/index.js +0 -0
  630. package/src/ui/f/FormInput/FormInput.jsx +122 -0
  631. package/src/ui/f/FormInput/index.js +2 -0
  632. package/src/ui/f/common/Debugger/Debugger.jsx +85 -0
  633. package/src/ui/f/common/Debugger/index.js +2 -0
  634. package/src/ui/f/common/Debugger/styles.scss +12 -0
  635. package/src/ui/f/common/Description/Description.jsx +88 -0
  636. package/src/ui/f/common/Description/index.js +2 -0
  637. package/src/ui/f/common/Description/styles.scss +10 -0
  638. package/src/ui/f/common/Label/Label.jsx +96 -0
  639. package/src/ui/f/common/Label/index.js +2 -0
  640. package/src/ui/f/common/Label/styles.scss +11 -0
  641. package/src/ui/f/common/index.js +3 -0
  642. package/src/ui/f/fields/CheckboxInput/CheckboxInput.jsx +107 -0
  643. package/src/ui/f/fields/CheckboxInput/index.js +2 -0
  644. package/src/ui/f/fields/CheckboxInput/styles.scss +28 -0
  645. package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +155 -0
  646. package/src/ui/f/fields/ChoicesInput/common/Choice/Choice.jsx +110 -0
  647. package/src/ui/f/fields/ChoicesInput/common/Choice/index.js +2 -0
  648. package/src/ui/f/fields/ChoicesInput/common/index.js +1 -0
  649. package/src/ui/f/fields/ChoicesInput/index.js +2 -0
  650. package/src/ui/f/fields/ChoicesInput/styles.scss +52 -0
  651. package/src/ui/f/fields/RadioInput/RadioInput.jsx +112 -0
  652. package/src/ui/f/fields/RadioInput/index.js +2 -0
  653. package/src/ui/f/fields/RadioInput/styles.scss +26 -0
  654. package/src/ui/f/fields/RatingsInput/RatingsInput.jsx +119 -0
  655. package/src/ui/f/fields/RatingsInput/common/Rating/Rating.jsx +136 -0
  656. package/src/ui/f/fields/RatingsInput/common/Rating/index.js +2 -0
  657. package/src/ui/f/fields/RatingsInput/common/index.js +1 -0
  658. package/src/ui/f/fields/RatingsInput/index.js +2 -0
  659. package/src/ui/f/fields/RatingsInput/styles.scss +43 -0
  660. package/src/ui/f/fields/SelectInput/SelectInput.jsx +114 -0
  661. package/src/ui/f/fields/SelectInput/index.js +2 -0
  662. package/src/ui/f/fields/SelectInput/styles.scss +30 -0
  663. package/src/ui/f/fields/TaskRecommendationInput/TaskRecommendationInput.jsx +130 -0
  664. package/src/ui/f/fields/TaskRecommendationInput/index.js +2 -0
  665. package/src/ui/f/fields/TaskRecommendationInput/styles.scss +37 -0
  666. package/src/ui/f/fields/TextInput/TextInput.jsx +146 -0
  667. package/src/ui/f/fields/TextInput/index.js +2 -0
  668. package/src/ui/f/fields/TextInput/styles.scss +26 -0
  669. package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +159 -0
  670. package/src/ui/f/fields/TextareaInput/index.js +2 -0
  671. package/src/ui/f/fields/TextareaInput/styles.scss +19 -0
  672. package/src/ui/f/fields/index.js +8 -0
  673. package/src/ui/f/index.js +3 -0
  674. package/src/ui/form-reset.scss +86 -0
  675. package/src/ui/form.scss +34 -0
  676. package/src/ui/index.js +2 -0
  677. package/src/ui/r/SwitchRouteMap/SwitchRouteMap.jsx +46 -37
  678. package/src/ui/r/common/PrivateRoute/PrivateRoute.jsx +2 -3
  679. package/src/stories/c/TeamGallery.stories.jsx +0 -52
  680. package/src/ui/c/TeamGallery/common/PersonCard/index.js +0 -2
  681. package/src/ui/c/TeamGallery/common/index.js +0 -1
  682. package/src/ui/c/TeamGallery/index.js +0 -2
  683. package/src/ui/c/TeamGallery/styles.scss +0 -100
@@ -0,0 +1,187 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+ import { Formik, Form } from 'formik'
4
+
5
+ import {
6
+ FormInput,
7
+ TextInput,
8
+ FormDebugger,
9
+ } from 'ui'
10
+
11
+ export default {
12
+ title :'f/FormInput',
13
+ component :FormInput,
14
+ subcomponents:{
15
+ // Item:FormInput.Item
16
+ },
17
+ decorators:[
18
+ (storyfn) => (
19
+ <Formik
20
+ initialValues={{ firstName: 'Test' }}
21
+ >
22
+ <Form>
23
+
24
+ { storyfn() }
25
+ </Form>
26
+ </Formik>
27
+ ),
28
+ ],
29
+ argTypes:{
30
+ backgroundColor:{ control: 'color' },
31
+ },
32
+ }
33
+
34
+ export const Base = () => {
35
+ const inputMap = [
36
+ {
37
+ type :'text',
38
+ name :'firstName',
39
+ label:"What's your first name ?",
40
+ },
41
+ {
42
+ type :'text',
43
+ name :'lastName',
44
+ label:"What's your last name ?",
45
+ },
46
+ {
47
+ type :'textarea',
48
+ name :'description',
49
+ label:'Describe yourself in a few sentences',
50
+ },
51
+ {
52
+ type :'choices',
53
+ name :'colors',
54
+ label :'What are your favourite colors ?',
55
+ options:[
56
+ {
57
+ value:'red',
58
+ label:'Color Red',
59
+ },
60
+ {
61
+ value:'blue',
62
+ label:'Color Blue',
63
+ },
64
+ {
65
+ value:'green',
66
+ label:'Color Green',
67
+ },
68
+ ],
69
+ },
70
+ {
71
+ type :'select',
72
+ name :'food',
73
+ label :'What do you want for dinner ?',
74
+ options:[
75
+ {
76
+ value:'italian',
77
+ label:'A nice pizza',
78
+ },
79
+ {
80
+ value:'turkish',
81
+ label:'A delicious kebab',
82
+ },
83
+ {
84
+ value:'french',
85
+ label:'A three course delicate french meal',
86
+ },
87
+ ],
88
+ },
89
+
90
+ ]
91
+ return (
92
+ <>
93
+ {
94
+ inputMap.map((input) => <FormInput {...input} key={input.name} />)
95
+ }
96
+ <FormDebugger />
97
+
98
+ </>
99
+ )
100
+ }
101
+
102
+ export const ExtensibleFormInput = () => {
103
+ const ExtendedTextInput = (props) => (
104
+ <TextInput
105
+ {...props}
106
+ name="extended"
107
+ label="Extended type input"
108
+ />
109
+ )
110
+
111
+ const extraTypes = { extendedTypeInput: ExtendedTextInput }
112
+
113
+ return (
114
+ <>
115
+ <FormInput extraTypes={extraTypes} type="extendedTypeInput" />
116
+ <FormDebugger />
117
+ </>
118
+ )
119
+ }
120
+
121
+ export const DisabledFormInput = () => {
122
+ const inputMap = [
123
+ {
124
+ type :'text',
125
+ name :'firstName',
126
+ label:"What's your first name ?",
127
+ },
128
+ {
129
+ type :'text',
130
+ name :'lastName',
131
+ label:"What's your last name ?",
132
+ },
133
+ {
134
+ type :'textarea',
135
+ name :'description',
136
+ label:'Describe yourself in a few sentences',
137
+ },
138
+ {
139
+ type :'choices',
140
+ name :'colors',
141
+ label :'What are your favourite colors ?',
142
+ options:[
143
+ {
144
+ value:'red',
145
+ label:'Color Red',
146
+ },
147
+ {
148
+ value:'blue',
149
+ label:'Color Blue',
150
+ },
151
+ {
152
+ value:'green',
153
+ label:'Color Green',
154
+ },
155
+ ],
156
+ },
157
+ {
158
+ type :'select',
159
+ name :'food',
160
+ label :'What do you want for dinner ?',
161
+ options:[
162
+ {
163
+ value:'italian',
164
+ label:'A nice pizza',
165
+ },
166
+ {
167
+ value:'turkish',
168
+ label:'A delicious kebab',
169
+ },
170
+ {
171
+ value:'french',
172
+ label:'A three course delicate french meal',
173
+ },
174
+ ],
175
+ },
176
+
177
+ ]
178
+ return (
179
+ <>
180
+ {
181
+ inputMap.map((input) => <FormInput disabled {...input} key={input.name} />)
182
+ }
183
+ <FormDebugger />
184
+
185
+ </>
186
+ )
187
+ }
@@ -0,0 +1,22 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { FormLabel as Label } from 'ui'
5
+
6
+ export default {
7
+ title :'f/common/Label',
8
+ component :Label,
9
+ subcomponents:{
10
+ // Item:Label.Item
11
+ },
12
+ decorators:[
13
+ // storyfn => <div className="">{ storyfn() }</div>,
14
+ ],
15
+ argTypes:{
16
+ backgroundColor:{ control: 'color' },
17
+ },
18
+ }
19
+
20
+ export const Base = () => (
21
+ <Label>Sample Label</Label>
22
+ )
@@ -0,0 +1,37 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+ import { Formik, Form } from 'formik'
4
+
5
+ import { RadioInput, FormDebugger } from 'ui'
6
+
7
+ export default {
8
+ title :'f/fields/RadioInput',
9
+ component :RadioInput,
10
+ subcomponents:{
11
+ // Item:RadioInput.Item
12
+ },
13
+ decorators:[
14
+ (storyfn) => (
15
+ <Formik
16
+ initialValues={{ companySize: '' }}
17
+ >
18
+ <Form>
19
+ { storyfn() }
20
+ </Form>
21
+ </Formik>
22
+ ),
23
+ ],
24
+ argTypes:{
25
+ backgroundColor:{ control: 'color' },
26
+ },
27
+ }
28
+
29
+ export const Base = () => (
30
+ <>
31
+ <RadioInput value="1-3" name="companySize">1-3</RadioInput>
32
+ <RadioInput value="4-7" name="companySize">4-7</RadioInput>
33
+ <RadioInput value="8-10" name="companySize">8-10</RadioInput>
34
+ <RadioInput value="11-20" name="companySize">11-20</RadioInput>
35
+ <FormDebugger />
36
+ </>
37
+ )
@@ -0,0 +1,56 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { Formik, Form } from 'formik'
5
+
6
+ import { RatingsInput, FormDebugger } from 'ui'
7
+
8
+ export default {
9
+ title :'f/fields/RatingsInput',
10
+ component :RatingsInput,
11
+ subcomponents:{
12
+ // Item:RatingsInput.Item
13
+ },
14
+ decorators:[
15
+ (storyfn) => (
16
+ <Formik
17
+ initialValues={{ ratings: '' }}
18
+ >
19
+ <Form>
20
+ { storyfn() }
21
+ </Form>
22
+ </Formik>
23
+ ),
24
+ ],
25
+ argTypes:{
26
+ backgroundColor:{ control: 'color' },
27
+ },
28
+ }
29
+
30
+ export const Base = () => (
31
+ <>
32
+ <RatingsInput ratingCount={5} name="ratings" />
33
+ <FormDebugger />
34
+ </>
35
+ )
36
+
37
+ export const Numbers = () => (
38
+ <>
39
+ <RatingsInput ratingCount={10} name="ratings" showRatingValue />
40
+ <FormDebugger />
41
+ </>
42
+ )
43
+
44
+ export const Labels = () => (
45
+ <>
46
+ <RatingsInput
47
+ labelMax="very satisfied."
48
+ labelMin="not satisfied."
49
+ ratingCount={10}
50
+ name="ratings"
51
+ showRatingValue
52
+ displayRatingsLabel
53
+ />
54
+ <FormDebugger />
55
+ </>
56
+ )
@@ -0,0 +1,81 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+ import { Formik, Form } from 'formik'
4
+
5
+ import { SelectInput, FormDebugger } from 'ui'
6
+
7
+ export default {
8
+ title :'f/fields/SelectInput',
9
+ component :SelectInput,
10
+ subcomponents:{
11
+ // Item:SelectInput.Item
12
+ },
13
+ decorators:[
14
+ (storyfn) => (
15
+ <Formik
16
+ initialValues={{ workType: 'Work' }}
17
+ >
18
+ <Form>
19
+
20
+ { storyfn() }
21
+ </Form>
22
+ </Formik>
23
+ ),
24
+ ],
25
+ argTypes:{
26
+ backgroundColor:{ control: 'color' },
27
+ },
28
+ }
29
+
30
+ export const Base = () => (
31
+ <>
32
+ <SelectInput
33
+ name="workType"
34
+ label="Work Type"
35
+ options={['Work', 'Managing', 'Training']}
36
+ />
37
+ <FormDebugger />
38
+ </>
39
+ )
40
+
41
+ export const Objects = () => (
42
+ <>
43
+ <SelectInput
44
+ name="workType"
45
+ label="Work Type"
46
+ options={[
47
+ { value: '20th Aug 2020 to 19th Sept, 2020', label: '20th Aug 2020 to 19th Sept, 2020' },
48
+ { value: '20th Sept 2020 to 19th Oct, 2020', label: '20th Sept 2020 to 19th Oct, 2020' },
49
+ ]}
50
+ />
51
+ <FormDebugger />
52
+ </>
53
+ )
54
+
55
+ export const StringAndObjects = () => (
56
+ <>
57
+ <SelectInput
58
+ name="workType"
59
+ label="Work Type"
60
+ options={['Work', 'Managing', 'Training',
61
+ { value: '20th Aug 2020 to 19th Sept, 2020', label: '20th Aug 2020 to 19th Sept, 2020' },
62
+ { value: '20th Sept 2020 to 19th Oct, 2020', label: '20th Sept 2020 to 19th Oct, 2020' },
63
+ ]}
64
+ />
65
+ <FormDebugger />
66
+ </>
67
+ )
68
+ export const DisabledSelectInput = () => (
69
+ <>
70
+ <SelectInput
71
+ name="workType"
72
+ label="Work Type"
73
+ options={['Work', 'Managing', 'Training',
74
+ { value: '20th Aug 2020 to 19th Sept, 2020', label: '20th Aug 2020 to 19th Sept, 2020' },
75
+ { value: '20th Sept 2020 to 19th Oct, 2020', label: '20th Sept 2020 to 19th Oct, 2020' },
76
+ ]}
77
+ disabled
78
+ />
79
+ <FormDebugger />
80
+ </>
81
+ )
@@ -0,0 +1,38 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+ import { Formik, Form } from 'formik'
4
+ import { TaskRecommendationInput } from 'ui'
5
+
6
+ export default {
7
+ title :'f/fields/TaskRecommendationInput',
8
+ component :TaskRecommendationInput,
9
+ subcomponents:{
10
+ // Item:TaskRecommendation.Item
11
+ },
12
+ decorators:[
13
+ (storyfn) => (
14
+ <Formik
15
+ initialValues={{ taskRecommendations: [] }}
16
+ >
17
+ <Form>
18
+ { storyfn() }
19
+ </Form>
20
+ </Formik>
21
+ ),
22
+ ],
23
+ argTypes:{
24
+ backgroundColor:{ control: 'color' },
25
+ },
26
+ }
27
+
28
+ export const Base = () => (
29
+ <div className="y-background b-y v2 p-v" style={{ height: '100%' }}>
30
+ <TaskRecommendationInput
31
+ name="taskRecommendations"
32
+ value="businessTypes"
33
+ oneLiner="Build a list of contacts at businesses based on my criteria for potential customers"
34
+ label="Find potential business customers"
35
+ image="/Fundraising.svg"
36
+ />
37
+ </div>
38
+ )
@@ -0,0 +1,79 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+ import { Formik, Form } from 'formik'
4
+
5
+ import {
6
+ TextInput,
7
+ FormDebugger,
8
+ } from 'ui'
9
+
10
+ export default {
11
+ title :'f/fields/TextInput',
12
+ component :TextInput,
13
+ subcomponents:{
14
+ // Item:TextInput.Item
15
+ },
16
+ decorators:[
17
+ (storyfn) => (
18
+ <Formik
19
+ initialValues={{ firstName: '', date: '', time: '' }}
20
+ >
21
+ <Form>
22
+
23
+ { storyfn() }
24
+ </Form>
25
+ </Formik>
26
+ ),
27
+ ],
28
+ argTypes:{
29
+ backgroundColor:{ control: 'color' },
30
+ },
31
+ }
32
+
33
+ export const Base = () => {
34
+ const validate = (value) => {
35
+ let errorMessage = ''
36
+ const isValid = value.length > 3
37
+
38
+ if (!isValid) {
39
+ errorMessage = 'Value should be greater than 3 characters'
40
+ }
41
+ return errorMessage
42
+ }
43
+ return (
44
+ <>
45
+ <TextInput
46
+ name="firstName"
47
+ label="What's your first name ?"
48
+ validate={validate}
49
+ />
50
+ <FormDebugger />
51
+ </>
52
+ )
53
+ }
54
+
55
+ export const DisabledTextInput = () => (
56
+ <div className="y-background b-y u2 pb-u">
57
+ <TextInput
58
+ name="firstName"
59
+ label="What's your first name ?"
60
+ disabled
61
+ />
62
+ </div>
63
+ )
64
+
65
+ export const DateTime = () => (
66
+ <div className="y-background b-y">
67
+ <TextInput
68
+ name="date"
69
+ label="Select date"
70
+ type="date"
71
+ />
72
+ <TextInput
73
+ name="time"
74
+ label="Select time"
75
+ type="time"
76
+ />
77
+ <FormDebugger />
78
+ </div>
79
+ )
@@ -0,0 +1,49 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { Formik, Form } from 'formik'
5
+
6
+ import { TextareaInput, FormDebugger } from 'ui'
7
+
8
+ export default {
9
+ title :'f/fields/TextareaInput',
10
+ component :TextareaInput,
11
+ subcomponents:{
12
+ // Item:TextareaInput.Item
13
+ },
14
+ decorators:[
15
+ (storyfn) => (
16
+ <Formik
17
+ initialValues={{ feedBack: '' }}
18
+ >
19
+ <Form>
20
+
21
+ { storyfn() }
22
+ </Form>
23
+ </Formik>
24
+ ),
25
+ ],
26
+ argTypes:{
27
+ backgroundColor:{ control: 'color' },
28
+ },
29
+ }
30
+
31
+ export const Base = () => (
32
+ <div className="y-background b-y">
33
+ <TextareaInput
34
+ name="feedBack"
35
+ label="What can we improve on?"
36
+ />
37
+ <FormDebugger />
38
+ </div>
39
+ )
40
+ export const DisabledTextareaInput = () => (
41
+ <div className="y-background b-y">
42
+ <TextareaInput
43
+ name="feedBack"
44
+ label="What can we improve on?"
45
+ disabled
46
+ />
47
+ <FormDebugger />
48
+ </div>
49
+ )
@@ -0,0 +1,20 @@
1
+ import React from 'react'
2
+ import { HashRouter as Router } from 'react-router-dom'
3
+ // import { createBrowserHistory } from 'history'
4
+
5
+ // const history = createBrowserHistory()
6
+
7
+ const TestRouter = (props) => (
8
+ <Router
9
+ // history={history}
10
+ {...props}
11
+ />
12
+ )
13
+
14
+ /*
15
+ export {
16
+ TestRouter as Router,
17
+ history,
18
+ } */
19
+
20
+ export default TestRouter
@@ -0,0 +1,124 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { useLayoutEffect } from 'react'
5
+
6
+ import CountUp from 'react-countup'
7
+
8
+ import VisibilitySensor from 'react-visibility-sensor'
9
+
10
+ import PropTypes from 'prop-types'
11
+
12
+ import styleNames from '@pareto-engineering/bem'
13
+
14
+ // Local Definitions
15
+
16
+ const baseClassName = styleNames.base
17
+
18
+ const componentClassName = 'animated-counter'
19
+
20
+ /**
21
+ * This is the component description
22
+ */
23
+ const AnimatedCounter = ({
24
+ id,
25
+ className:userClassName,
26
+ style,
27
+ color,
28
+ number,
29
+ unit,
30
+ description,
31
+ descriptionPosition,
32
+ unitPosition,
33
+ delay,
34
+ // ...otherProps
35
+ }) => {
36
+ useLayoutEffect(() => {
37
+ import('./styles.scss')
38
+ }, [])
39
+
40
+ return (
41
+ <div
42
+ id={id}
43
+ className={[
44
+ baseClassName,
45
+ componentClassName,
46
+ userClassName,
47
+ `x-${color}`,
48
+ ]
49
+ .filter((e) => e)
50
+ .join(' ')}
51
+ style={style}
52
+ // {...otherProps}
53
+ >
54
+ {descriptionPosition === 'top' && <p className="info top-description uc s-1 md-s0">{description}</p>}
55
+ <div className="count s3">
56
+ {unitPosition === 'before' && <span>{unit}</span>}
57
+ <CountUp end={number} delay={delay} redraw>
58
+ {({ countUpRef, start }) => (
59
+ <VisibilitySensor onChange={start} delayedCall>
60
+ <span ref={countUpRef} />
61
+ </VisibilitySensor>
62
+ )}
63
+ </CountUp>
64
+ {unitPosition === 'after' && <span>{unit}</span>}
65
+ </div>
66
+ {descriptionPosition === 'bottom' && <p className="info uc s-1 md-s0 v50 mt-v">{description}</p>}
67
+ </div>
68
+ )
69
+ }
70
+
71
+ AnimatedCounter.propTypes = {
72
+ /**
73
+ * The HTML id for this element.
74
+ */
75
+ id:PropTypes.string,
76
+
77
+ /**
78
+ * The HTML class names for this element
79
+ */
80
+ className:PropTypes.string,
81
+
82
+ /**
83
+ * The React-written, css properties for this element.
84
+ */
85
+ style:PropTypes.objectOf(PropTypes.string),
86
+
87
+ /**
88
+ * The count color
89
+ */
90
+ color:PropTypes.string,
91
+
92
+ /**
93
+ * The review count value
94
+ */
95
+ number :PropTypes.number,
96
+ /**
97
+ * The review count unit
98
+ */
99
+ unit :PropTypes.string,
100
+ /**
101
+ * The review description
102
+ */
103
+ description :PropTypes.string,
104
+ /**
105
+ * react counter delay
106
+ */
107
+ delay :PropTypes.number,
108
+ /**
109
+ * If the animated counter description should be at the top
110
+ */
111
+ descriptionPosition:PropTypes.oneOf(['top', 'bottom']),
112
+ /**
113
+ * If the unit should be before or after the animated numbers
114
+ */
115
+ unitPosition :PropTypes.string,
116
+ }
117
+
118
+ AnimatedCounter.defaultProps = {
119
+ color :'main1',
120
+ descriptionPosition:'bottom',
121
+ unitPosition :'after',
122
+ }
123
+
124
+ export default AnimatedCounter
@@ -0,0 +1,2 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ export { default as AnimatedCounter } from './AnimatedCounter'