@pareto-engineering/design-system 0.0.1-alpha.7 → 0.0.1-alpha.70

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/{c/SiteContext/useSite.js → a/Conversation/useConversation.js} +0 -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/{Tester → Figure}/index.js +3 -3
  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/SVG/SVG.js +165 -0
  70. package/dist/cjs/a/SVG/common/UseSVG/UseSVG.js +88 -0
  71. package/dist/cjs/a/SVG/common/UseSVG/index.js +15 -0
  72. package/dist/cjs/a/SVG/common/index.js +13 -0
  73. package/dist/cjs/a/SVG/index.js +15 -0
  74. package/dist/cjs/a/SVG/styles.scss +57 -0
  75. package/dist/cjs/a/SiteContext/Context.js +2 -2
  76. package/dist/cjs/a/SiteContext/ContextProvider.js +41 -11
  77. package/dist/cjs/a/SiteContext/useTheme.js +3 -1
  78. package/dist/cjs/a/Spinner/Spinner.js +73 -0
  79. package/dist/cjs/a/Spinner/index.js +15 -0
  80. package/dist/cjs/a/Spinner/styles.scss +23 -0
  81. package/dist/cjs/a/TeamInfo/TeamInfo.js +102 -0
  82. package/dist/cjs/a/TeamInfo/index.js +15 -0
  83. package/dist/cjs/a/TeamInfo/styles.scss +58 -0
  84. package/dist/cjs/a/Timestamp/Timestamp.js +139 -0
  85. package/dist/cjs/a/Timestamp/index.js +15 -0
  86. package/dist/cjs/a/Timestamp/styles.scss +7 -0
  87. package/dist/cjs/a/index.js +145 -1
  88. package/dist/cjs/b/Button/Button.js +43 -9
  89. package/dist/cjs/b/Button/styles.scss +37 -5
  90. package/dist/cjs/b/Card/Card.js +3 -3
  91. package/dist/cjs/b/Card/common/Group/Group.js +3 -3
  92. package/dist/cjs/b/Logo/Logo.js +139 -0
  93. package/dist/cjs/b/Logo/index.js +15 -0
  94. package/dist/cjs/b/Logo/styles.scss +147 -0
  95. package/dist/cjs/b/Page/Context.js +2 -2
  96. package/dist/cjs/b/Page/Page.js +6 -4
  97. package/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +37 -24
  98. package/dist/cjs/b/Page/common/Section/Section.js +6 -4
  99. package/dist/cjs/b/QuestionDropdown/QuestionDropdown.js +25 -17
  100. package/dist/cjs/b/QuestionDropdown/styles.scss +2 -2
  101. package/dist/cjs/b/Segment/Segment.js +3 -3
  102. package/dist/cjs/b/SocialMediaButton/SocialMediaButton.js +140 -0
  103. package/dist/cjs/b/SocialMediaButton/index.js +15 -0
  104. package/dist/cjs/b/SocialMediaButton/styles.scss +49 -0
  105. package/dist/cjs/b/ThemeSelector/ThemeSelector.js +101 -0
  106. package/dist/cjs/b/ThemeSelector/index.js +15 -0
  107. package/dist/cjs/b/ThemeSelector/styles.scss +14 -0
  108. package/dist/cjs/b/Title/Title.js +3 -3
  109. package/dist/cjs/b/index.js +25 -1
  110. package/dist/cjs/c/AcceptCookies/AcceptCookies.js +134 -0
  111. package/dist/cjs/c/AcceptCookies/index.js +15 -0
  112. package/dist/cjs/c/AcceptCookies/styles.scss +49 -0
  113. package/dist/cjs/c/BlogCategoryButton/BlogCategoryButton.js +95 -0
  114. package/dist/cjs/c/BlogCategoryButton/index.js +15 -0
  115. package/dist/cjs/c/BlogContext/BlogContextProvider.js +63 -0
  116. package/dist/cjs/c/BlogContext/Context.js +16 -0
  117. package/dist/cjs/c/BlogContext/ContextProvider.js +63 -0
  118. package/dist/cjs/c/{SiteContext → BlogContext}/index.js +5 -13
  119. package/dist/cjs/c/BlogContext/useBlog.js +16 -0
  120. package/dist/cjs/c/BlogPost/BlogPost.js +147 -0
  121. package/dist/cjs/c/BlogPost/index.js +15 -0
  122. package/dist/cjs/c/BlogPost/styles.scss +33 -0
  123. package/dist/cjs/c/BlogPostsList/BlogPostsList.js +73 -0
  124. package/dist/cjs/c/BlogPostsList/common/Card/Card.js +170 -0
  125. package/dist/cjs/c/BlogPostsList/common/Card/index.js +15 -0
  126. package/dist/cjs/c/BlogPostsList/common/index.js +13 -0
  127. package/dist/cjs/c/BlogPostsList/index.js +15 -0
  128. package/dist/cjs/c/BlogPostsList/styles.scss +72 -0
  129. package/dist/cjs/c/ContentSlides/ContentSlides.js +200 -0
  130. package/dist/cjs/c/ContentSlides/Context.js +16 -0
  131. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +135 -0
  132. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/index.js +15 -0
  133. package/dist/cjs/c/ContentSlides/common/Navigator/Navigator.js +145 -0
  134. package/dist/cjs/c/ContentSlides/common/Navigator/index.js +15 -0
  135. package/dist/cjs/c/ContentSlides/common/Sidebar/Sidebar.js +106 -0
  136. package/dist/cjs/c/ContentSlides/common/Sidebar/index.js +15 -0
  137. package/dist/cjs/c/ContentSlides/common/Slide/Slide.js +84 -0
  138. package/dist/cjs/c/ContentSlides/common/Slide/index.js +15 -0
  139. package/dist/cjs/c/ContentSlides/common/index.js +37 -0
  140. package/dist/cjs/c/ContentSlides/index.js +31 -0
  141. package/dist/cjs/c/ContentSlides/styles.scss +308 -0
  142. package/dist/cjs/c/ContentSlides/useContentSlides.js +16 -0
  143. package/dist/cjs/c/Hero/Hero.js +88 -0
  144. package/dist/cjs/c/Hero/index.js +15 -0
  145. package/dist/cjs/c/Hero/styles.scss +41 -0
  146. package/dist/cjs/c/Shortener/Shortener.js +114 -0
  147. package/dist/cjs/c/Shortener/index.js +15 -0
  148. package/dist/cjs/c/Shortener/styles.scss +7 -0
  149. package/dist/cjs/c/SiteFooter/SiteFooter.js +73 -0
  150. package/dist/cjs/c/SiteFooter/common/Section/Section.js +95 -0
  151. package/dist/cjs/c/SiteFooter/common/Section/index.js +15 -0
  152. package/dist/cjs/c/SiteFooter/common/index.js +13 -0
  153. package/dist/cjs/c/SiteFooter/index.js +15 -0
  154. package/dist/cjs/c/SiteFooter/styles.scss +34 -0
  155. package/dist/cjs/c/SiteHeaderCTA/SiteHeaderCTA.js +108 -0
  156. package/dist/cjs/c/SiteHeaderCTA/index.js +15 -0
  157. package/dist/cjs/c/SiteHeaderCTA/styles.scss +44 -0
  158. package/dist/cjs/c/SiteMission/SiteMission.js +113 -0
  159. package/dist/cjs/c/SiteMission/index.js +15 -0
  160. package/dist/cjs/c/SiteMission/styles.scss +30 -0
  161. package/dist/cjs/c/SiteNavigation/SiteNavigation.js +130 -0
  162. package/dist/cjs/c/SiteNavigation/index.js +15 -0
  163. package/dist/cjs/c/SiteNavigation/styles.scss +118 -0
  164. package/dist/cjs/c/SiteOnboardingStep/SiteOnboardingStep.js +98 -0
  165. package/dist/cjs/c/SiteOnboardingStep/index.js +15 -0
  166. package/dist/cjs/c/SiteOnboardingStep/styles.scss +51 -0
  167. package/dist/cjs/c/SitePricing/SitePricing.js +108 -0
  168. package/dist/cjs/c/SitePricing/index.js +15 -0
  169. package/dist/cjs/c/SitePricing/styles.scss +73 -0
  170. package/dist/cjs/c/SiteServices/SiteServices.js +211 -0
  171. package/dist/cjs/c/SiteServices/index.js +15 -0
  172. package/dist/cjs/c/SiteServices/styles.scss +138 -0
  173. package/dist/cjs/c/TeamGallery/TeamGallery.js +3 -3
  174. package/dist/cjs/c/TeamGallery/common/PersonCard/PersonCard.js +3 -3
  175. package/dist/cjs/c/TeamGallery/styles.scss +2 -2
  176. package/dist/cjs/c/Testimonials/Testimonials.js +119 -0
  177. package/dist/cjs/c/Testimonials/index.js +15 -0
  178. package/dist/cjs/c/Testimonials/styles.scss +112 -0
  179. package/dist/cjs/c/index.js +25 -3
  180. package/dist/cjs/d/index.js +1 -0
  181. package/dist/cjs/f/FormInput/FormInput.js +109 -0
  182. package/dist/cjs/f/FormInput/index.js +15 -0
  183. package/dist/cjs/f/common/Debugger/Debugger.js +81 -0
  184. package/dist/cjs/f/common/Debugger/index.js +15 -0
  185. package/dist/cjs/f/common/Debugger/styles.scss +12 -0
  186. package/dist/cjs/f/common/Description/Description.js +84 -0
  187. package/dist/cjs/f/common/Description/index.js +15 -0
  188. package/dist/cjs/f/common/Description/styles.scss +10 -0
  189. package/dist/cjs/f/common/Label/Label.js +92 -0
  190. package/dist/cjs/f/common/Label/index.js +15 -0
  191. package/dist/cjs/f/common/Label/styles.scss +11 -0
  192. package/dist/cjs/f/common/index.js +29 -0
  193. package/dist/cjs/f/fields/CheckboxInput/CheckboxInput.js +105 -0
  194. package/dist/cjs/f/fields/CheckboxInput/index.js +15 -0
  195. package/dist/cjs/f/fields/CheckboxInput/styles.scss +28 -0
  196. package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +159 -0
  197. package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +122 -0
  198. package/dist/cjs/f/fields/ChoicesInput/common/Choice/index.js +15 -0
  199. package/dist/cjs/f/fields/ChoicesInput/common/index.js +13 -0
  200. package/dist/cjs/f/fields/ChoicesInput/index.js +15 -0
  201. package/dist/cjs/f/fields/ChoicesInput/styles.scss +52 -0
  202. package/dist/cjs/f/fields/RadioInput/RadioInput.js +110 -0
  203. package/dist/cjs/f/fields/RadioInput/index.js +15 -0
  204. package/dist/cjs/f/fields/RadioInput/styles.scss +26 -0
  205. package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +121 -0
  206. package/dist/cjs/f/fields/RatingsInput/common/Rating/Rating.js +129 -0
  207. package/dist/cjs/f/fields/RatingsInput/common/Rating/index.js +15 -0
  208. package/dist/cjs/f/fields/RatingsInput/common/index.js +13 -0
  209. package/dist/cjs/f/fields/RatingsInput/index.js +15 -0
  210. package/dist/cjs/f/fields/RatingsInput/styles.scss +43 -0
  211. package/dist/cjs/f/fields/SelectInput/SelectInput.js +121 -0
  212. package/dist/cjs/f/fields/SelectInput/index.js +15 -0
  213. package/dist/cjs/f/fields/SelectInput/styles.scss +30 -0
  214. package/dist/cjs/f/fields/TaskRecommendation/TaskRecommendation.js +129 -0
  215. package/dist/cjs/f/fields/TaskRecommendation/index.js +15 -0
  216. package/dist/cjs/f/fields/TaskRecommendation/styles.scss +37 -0
  217. package/dist/cjs/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +131 -0
  218. package/dist/cjs/f/fields/TaskRecommendationInput/index.js +15 -0
  219. package/dist/cjs/f/fields/TaskRecommendationInput/styles.scss +37 -0
  220. package/dist/cjs/f/fields/TextArea/TextArea.js +141 -0
  221. package/dist/cjs/f/fields/TextArea/index.js +15 -0
  222. package/dist/cjs/f/fields/TextArea/styles.scss +19 -0
  223. package/dist/cjs/f/fields/TextInput/TextInput.js +131 -0
  224. package/dist/cjs/f/fields/TextInput/index.js +15 -0
  225. package/dist/cjs/f/fields/TextInput/styles.scss +26 -0
  226. package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +151 -0
  227. package/dist/cjs/f/fields/TextareaInput/index.js +15 -0
  228. package/dist/cjs/f/fields/TextareaInput/styles.scss +19 -0
  229. package/dist/cjs/f/fields/index.js +69 -0
  230. package/dist/cjs/f/index.js +44 -0
  231. package/dist/cjs/form-reset.scss +86 -0
  232. package/dist/cjs/form.scss +34 -0
  233. package/dist/cjs/index.js +26 -0
  234. package/dist/cjs/r/SwitchRouteMap/SwitchRouteMap.js +48 -29
  235. package/dist/cjs/r/common/PrivateRoute/PrivateRoute.js +8 -7
  236. package/dist/es/a/AnimatedCounter/AnimatedCounter.js +113 -0
  237. package/dist/es/a/AnimatedCounter/index.js +2 -0
  238. package/dist/es/a/AnimatedCounter/styles.scss +24 -0
  239. package/dist/es/a/ContentCard/ContentCard.js +63 -0
  240. package/dist/es/a/ContentCard/common/Section/Section.js +60 -0
  241. package/dist/es/a/ContentCard/common/Section/index.js +2 -0
  242. package/dist/es/a/ContentCard/common/index.js +1 -0
  243. package/dist/es/a/ContentCard/index.js +2 -0
  244. package/dist/es/a/ContentCard/styles.scss +78 -0
  245. package/dist/es/{c/SiteContext → a/Conversation}/Context.js +0 -0
  246. package/dist/es/a/Conversation/Conversation.js +83 -0
  247. package/dist/es/a/Conversation/common/Message/Message.js +71 -0
  248. package/dist/es/a/Conversation/common/Message/index.js +2 -0
  249. package/dist/es/a/Conversation/common/index.js +1 -0
  250. package/dist/es/a/Conversation/index.js +4 -0
  251. package/dist/es/a/Conversation/styles.scss +52 -0
  252. package/dist/es/a/Conversation/useConversation.js +3 -0
  253. package/dist/es/a/CustomerLogos/CustomerLogos.js +70 -0
  254. package/dist/es/a/CustomerLogos/index.js +2 -0
  255. package/dist/es/a/CustomerLogos/styles.scss +41 -0
  256. package/dist/es/a/CustomerStat/CustomerStat.js +71 -0
  257. package/dist/es/a/CustomerStat/index.js +2 -0
  258. package/dist/es/a/CustomerStat/styles.scss +16 -0
  259. package/dist/es/a/DotInfo/DotInfo.js +85 -0
  260. package/dist/es/a/DotInfo/index.js +2 -0
  261. package/dist/es/a/DotInfo/styles.scss +20 -0
  262. package/dist/es/a/FeaturedOn/FeaturedOn.js +72 -0
  263. package/dist/es/a/FeaturedOn/index.js +2 -0
  264. package/dist/es/a/FeaturedOn/styles.scss +41 -0
  265. package/dist/es/a/Figure/Figure.js +68 -0
  266. package/dist/es/a/Figure/index.js +2 -0
  267. package/dist/es/a/Figure/styles.scss +19 -0
  268. package/dist/es/a/HamburgerButton/HamburgerButton.js +84 -0
  269. package/dist/es/a/HamburgerButton/index.js +2 -0
  270. package/dist/es/a/HamburgerButton/styles.scss +41 -0
  271. package/dist/es/a/IconList/IconList.js +72 -0
  272. package/dist/es/a/IconList/common/Item/Item.js +66 -0
  273. package/dist/es/a/IconList/common/Item/index.js +2 -0
  274. package/dist/es/a/IconList/common/index.js +1 -0
  275. package/dist/es/a/IconList/index.js +2 -0
  276. package/dist/es/a/IconList/styles.scss +37 -0
  277. package/dist/es/a/LoadingCircle/LoadingCircle.js +100 -0
  278. package/dist/es/a/LoadingCircle/index.js +2 -0
  279. package/dist/es/a/LoadingCircle/styles.scss +49 -0
  280. package/dist/es/a/People/People.js +66 -0
  281. package/dist/es/a/People/common/Person/Person.js +69 -0
  282. package/dist/es/a/People/common/Person/index.js +2 -0
  283. package/dist/es/a/People/common/index.js +1 -0
  284. package/dist/es/a/People/index.js +2 -0
  285. package/dist/es/a/People/styles.scss +54 -0
  286. package/dist/es/a/ProgressBar/ProgressBar.js +78 -0
  287. package/dist/es/a/ProgressBar/index.js +2 -0
  288. package/dist/es/a/ProgressBar/styles.scss +37 -0
  289. package/dist/es/a/Quote/Quote.js +80 -0
  290. package/dist/es/a/Quote/index.js +2 -0
  291. package/dist/es/a/Quote/styles.scss +53 -0
  292. package/dist/es/a/SVG/SVG.js +141 -0
  293. package/dist/es/a/SVG/common/UseSVG/UseSVG.js +65 -0
  294. package/dist/es/a/SVG/common/UseSVG/index.js +2 -0
  295. package/dist/es/a/SVG/common/index.js +1 -0
  296. package/dist/es/a/SVG/index.js +2 -0
  297. package/dist/es/a/SVG/styles.scss +57 -0
  298. package/dist/es/a/SiteContext/ContextProvider.js +40 -7
  299. package/dist/es/a/SiteContext/useTheme.js +4 -2
  300. package/dist/es/a/Spinner/Spinner.js +57 -0
  301. package/dist/es/a/Spinner/index.js +2 -0
  302. package/dist/es/a/Spinner/styles.scss +23 -0
  303. package/dist/es/a/TeamInfo/TeamInfo.js +86 -0
  304. package/dist/es/a/TeamInfo/index.js +2 -0
  305. package/dist/es/a/TeamInfo/styles.scss +58 -0
  306. package/dist/es/a/Timestamp/Timestamp.js +122 -0
  307. package/dist/es/a/Timestamp/index.js +2 -0
  308. package/dist/es/a/Timestamp/styles.scss +7 -0
  309. package/dist/es/a/index.js +19 -1
  310. package/dist/es/b/Button/Button.js +36 -5
  311. package/dist/es/b/Button/styles.scss +37 -5
  312. package/dist/es/b/Logo/Logo.js +122 -0
  313. package/dist/es/b/Logo/index.js +2 -0
  314. package/dist/es/b/Logo/styles.scss +147 -0
  315. package/dist/es/b/Page/common/PageHelmet/PageHelmet.js +37 -21
  316. package/dist/es/b/QuestionDropdown/QuestionDropdown.js +17 -9
  317. package/dist/es/b/QuestionDropdown/styles.scss +2 -2
  318. package/dist/es/b/SocialMediaButton/SocialMediaButton.js +116 -0
  319. package/dist/es/b/SocialMediaButton/index.js +2 -0
  320. package/dist/es/b/SocialMediaButton/styles.scss +49 -0
  321. package/dist/es/b/ThemeSelector/ThemeSelector.js +84 -0
  322. package/dist/es/b/ThemeSelector/index.js +2 -0
  323. package/dist/es/b/ThemeSelector/styles.scss +14 -0
  324. package/dist/es/b/index.js +4 -1
  325. package/dist/es/c/AcceptCookies/AcceptCookies.js +117 -0
  326. package/dist/es/c/AcceptCookies/index.js +2 -0
  327. package/dist/es/c/AcceptCookies/styles.scss +49 -0
  328. package/dist/es/c/BlogCategoryButton/BlogCategoryButton.js +68 -0
  329. package/dist/es/c/BlogCategoryButton/index.js +2 -0
  330. package/dist/es/c/BlogContext/BlogContextProvider.js +45 -0
  331. package/dist/es/c/BlogContext/Context.js +2 -0
  332. package/dist/es/c/BlogContext/ContextProvider.js +45 -0
  333. package/dist/es/c/BlogContext/index.js +4 -0
  334. package/dist/es/c/BlogContext/useBlog.js +3 -0
  335. package/dist/es/c/BlogPost/BlogPost.js +128 -0
  336. package/dist/es/c/BlogPost/index.js +2 -0
  337. package/dist/es/c/BlogPost/styles.scss +33 -0
  338. package/dist/es/c/BlogPostsList/BlogPostsList.js +56 -0
  339. package/dist/es/c/BlogPostsList/common/Card/Card.js +143 -0
  340. package/dist/es/c/BlogPostsList/common/Card/index.js +2 -0
  341. package/dist/es/c/BlogPostsList/common/index.js +1 -0
  342. package/dist/es/c/BlogPostsList/index.js +2 -0
  343. package/dist/es/c/BlogPostsList/styles.scss +72 -0
  344. package/dist/es/c/ContentSlides/ContentSlides.js +176 -0
  345. package/dist/es/c/ContentSlides/Context.js +2 -0
  346. package/dist/es/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +114 -0
  347. package/dist/es/c/ContentSlides/common/HorizontalMenu/index.js +2 -0
  348. package/dist/es/c/ContentSlides/common/Navigator/Navigator.js +126 -0
  349. package/dist/es/c/ContentSlides/common/Navigator/index.js +2 -0
  350. package/dist/es/c/ContentSlides/common/Sidebar/Sidebar.js +85 -0
  351. package/dist/es/c/ContentSlides/common/Sidebar/index.js +2 -0
  352. package/dist/es/c/ContentSlides/common/Slide/Slide.js +65 -0
  353. package/dist/es/c/ContentSlides/common/Slide/index.js +2 -0
  354. package/dist/es/c/ContentSlides/common/index.js +4 -0
  355. package/dist/es/c/ContentSlides/index.js +4 -0
  356. package/dist/es/c/ContentSlides/styles.scss +308 -0
  357. package/dist/es/c/ContentSlides/useContentSlides.js +3 -0
  358. package/dist/es/c/Hero/Hero.js +72 -0
  359. package/dist/es/c/Hero/index.js +2 -0
  360. package/dist/es/c/Hero/styles.scss +41 -0
  361. package/dist/es/c/Shortener/Shortener.js +98 -0
  362. package/dist/es/c/Shortener/index.js +2 -0
  363. package/dist/es/c/Shortener/styles.scss +7 -0
  364. package/dist/es/c/SiteFooter/SiteFooter.js +56 -0
  365. package/dist/es/c/SiteFooter/common/Section/Section.js +73 -0
  366. package/dist/es/c/SiteFooter/common/Section/index.js +2 -0
  367. package/dist/es/c/SiteFooter/common/index.js +1 -0
  368. package/dist/es/c/SiteFooter/index.js +2 -0
  369. package/dist/es/c/SiteFooter/styles.scss +34 -0
  370. package/dist/es/c/SiteHeaderCTA/SiteHeaderCTA.js +92 -0
  371. package/dist/es/c/SiteHeaderCTA/index.js +2 -0
  372. package/dist/es/c/SiteHeaderCTA/styles.scss +44 -0
  373. package/dist/es/c/SiteMission/SiteMission.js +96 -0
  374. package/dist/es/c/SiteMission/index.js +2 -0
  375. package/dist/es/c/SiteMission/styles.scss +30 -0
  376. package/dist/es/c/SiteNavigation/SiteNavigation.js +111 -0
  377. package/dist/es/c/SiteNavigation/index.js +2 -0
  378. package/dist/es/c/SiteNavigation/styles.scss +118 -0
  379. package/dist/es/c/SiteOnboardingStep/SiteOnboardingStep.js +81 -0
  380. package/dist/es/c/SiteOnboardingStep/index.js +2 -0
  381. package/dist/es/c/SiteOnboardingStep/styles.scss +51 -0
  382. package/dist/es/c/SitePricing/SitePricing.js +91 -0
  383. package/dist/es/c/SitePricing/index.js +2 -0
  384. package/dist/es/c/SitePricing/styles.scss +73 -0
  385. package/dist/es/c/SiteServices/SiteServices.js +195 -0
  386. package/dist/es/c/SiteServices/index.js +2 -0
  387. package/dist/es/c/SiteServices/styles.scss +138 -0
  388. package/dist/es/c/TeamGallery/styles.scss +2 -2
  389. package/dist/es/c/Testimonials/Testimonials.js +99 -0
  390. package/dist/es/c/Testimonials/index.js +2 -0
  391. package/dist/es/c/Testimonials/styles.scss +112 -0
  392. package/dist/es/c/index.js +3 -1
  393. package/dist/es/d/index.js +0 -0
  394. package/dist/es/f/FormInput/FormInput.js +84 -0
  395. package/dist/es/f/FormInput/index.js +2 -0
  396. package/dist/es/f/common/Debugger/Debugger.js +64 -0
  397. package/dist/es/f/common/Debugger/index.js +2 -0
  398. package/dist/es/f/common/Debugger/styles.scss +12 -0
  399. package/dist/es/f/common/Description/Description.js +68 -0
  400. package/dist/es/f/common/Description/index.js +2 -0
  401. package/dist/es/f/common/Description/styles.scss +10 -0
  402. package/dist/es/f/common/Label/Label.js +76 -0
  403. package/dist/es/f/common/Label/index.js +2 -0
  404. package/dist/es/f/common/Label/styles.scss +11 -0
  405. package/dist/es/f/common/index.js +3 -0
  406. package/dist/es/f/fields/CheckboxInput/CheckboxInput.js +85 -0
  407. package/dist/es/f/fields/CheckboxInput/index.js +2 -0
  408. package/dist/es/f/fields/CheckboxInput/styles.scss +28 -0
  409. package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +135 -0
  410. package/dist/es/f/fields/ChoicesInput/common/Choice/Choice.js +105 -0
  411. package/dist/es/f/fields/ChoicesInput/common/Choice/index.js +2 -0
  412. package/dist/es/f/fields/ChoicesInput/common/index.js +1 -0
  413. package/dist/es/f/fields/ChoicesInput/index.js +2 -0
  414. package/dist/es/f/fields/ChoicesInput/styles.scss +52 -0
  415. package/dist/es/f/fields/RadioInput/RadioInput.js +90 -0
  416. package/dist/es/f/fields/RadioInput/index.js +2 -0
  417. package/dist/es/f/fields/RadioInput/styles.scss +26 -0
  418. package/dist/es/f/fields/RatingsInput/RatingsInput.js +103 -0
  419. package/dist/es/f/fields/RatingsInput/common/Rating/Rating.js +111 -0
  420. package/dist/es/f/fields/RatingsInput/common/Rating/index.js +2 -0
  421. package/dist/es/f/fields/RatingsInput/common/index.js +1 -0
  422. package/dist/es/f/fields/RatingsInput/index.js +2 -0
  423. package/dist/es/f/fields/RatingsInput/styles.scss +43 -0
  424. package/dist/es/f/fields/SelectInput/SelectInput.js +101 -0
  425. package/dist/es/f/fields/SelectInput/index.js +2 -0
  426. package/dist/es/f/fields/SelectInput/styles.scss +30 -0
  427. package/dist/es/f/fields/TaskRecommendation/TaskRecommendation.js +111 -0
  428. package/dist/es/f/fields/TaskRecommendation/index.js +2 -0
  429. package/dist/es/f/fields/TaskRecommendation/styles.scss +37 -0
  430. package/dist/es/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +111 -0
  431. package/dist/es/f/fields/TaskRecommendationInput/index.js +2 -0
  432. package/dist/es/f/fields/TaskRecommendationInput/styles.scss +37 -0
  433. package/dist/es/f/fields/TextArea/TextArea.js +124 -0
  434. package/dist/es/f/fields/TextArea/index.js +2 -0
  435. package/dist/es/f/fields/TextArea/styles.scss +19 -0
  436. package/dist/es/f/fields/TextInput/TextInput.js +111 -0
  437. package/dist/es/f/fields/TextInput/index.js +2 -0
  438. package/dist/es/f/fields/TextInput/styles.scss +26 -0
  439. package/dist/es/f/fields/TextareaInput/TextareaInput.js +132 -0
  440. package/dist/es/f/fields/TextareaInput/index.js +2 -0
  441. package/dist/es/f/fields/TextareaInput/styles.scss +19 -0
  442. package/dist/es/f/fields/index.js +8 -0
  443. package/dist/es/f/index.js +3 -0
  444. package/dist/es/form-reset.scss +86 -0
  445. package/dist/es/form.scss +34 -0
  446. package/dist/es/index.js +3 -1
  447. package/dist/es/r/SwitchRouteMap/SwitchRouteMap.js +34 -25
  448. package/dist/es/r/common/PrivateRoute/PrivateRoute.js +2 -3
  449. package/jest.config.js +3 -1
  450. package/package.json +44 -35
  451. package/src/__snapshots__/Storyshots.test.js.snap +6289 -498
  452. package/src/assets/images/Fundraising.svg +40 -0
  453. package/src/assets/images/ParetoSupport.svg +190 -0
  454. package/src/assets/images/ParetoWorld.svg +207 -0
  455. package/src/assets/images/email-attach.svg +1 -0
  456. package/src/assets/images/email-delete.svg +1 -0
  457. package/src/assets/images/onboarding/focus-on-strategic-work.webp +0 -0
  458. package/src/assets/images/onboarding/launch-project.webp +0 -0
  459. package/src/assets/images/onboarding/meet-pareto-partner.webp +0 -0
  460. package/src/assets/images/quality.png +0 -0
  461. package/src/assets/images/sprite.svg +253 -0
  462. package/src/local.scss +0 -4
  463. package/src/stories/StyleGuide/colors.stories.mdx +0 -10
  464. package/src/stories/StyleGuide/cssClasses.stories.mdx +16 -0
  465. package/src/stories/StyleGuide/helpers.js +11 -3
  466. package/src/stories/StyleGuide/icons.stories.mdx +29 -0
  467. package/src/stories/a/AnimatedCounter.stories.jsx +30 -0
  468. package/src/stories/a/ContentCard.stories.jsx +158 -0
  469. package/src/stories/a/Conversation.stories.jsx +46 -0
  470. package/src/stories/a/CustomerLogos.stories.jsx +35 -0
  471. package/src/stories/a/CustomerStat.stories.jsx +22 -0
  472. package/src/stories/a/DotInfo.stories.jsx +32 -0
  473. package/src/stories/a/FeaturedOn.stories.jsx +33 -0
  474. package/src/stories/a/Figure.stories.jsx +26 -0
  475. package/src/stories/a/HamburgerButton.stories.jsx +27 -0
  476. package/src/stories/a/IconList.stories.jsx +51 -0
  477. package/src/stories/a/LoadingCircle.stories.jsx +28 -0
  478. package/src/stories/a/People.stories.jsx +48 -0
  479. package/src/stories/a/ProgressBar.stories.jsx +75 -0
  480. package/src/stories/a/Quote.stories.jsx +29 -0
  481. package/src/stories/a/SVG.stories.jsx +97 -0
  482. package/src/stories/a/SiteContext.stories.jsx +15 -2
  483. package/src/stories/a/Spinner.stories.jsx +25 -0
  484. package/src/stories/a/TeamInfo.stories.jsx +31 -0
  485. package/src/stories/a/Timestamp.stories.jsx +102 -0
  486. package/src/stories/b/Button.stories.jsx +31 -1
  487. package/src/stories/b/Logo.stories.jsx +37 -0
  488. package/src/stories/b/QuestionDropdown.stories.jsx +15 -0
  489. package/src/stories/b/SocialMediaButton.stories.jsx +73 -0
  490. package/src/stories/b/ThemeSelector.stories.jsx +53 -0
  491. package/src/stories/c/ContentSlides.stories.jsx +348 -0
  492. package/src/stories/c/Hero.stories.jsx +46 -0
  493. package/src/stories/c/Shortener.stories.jsx +28 -0
  494. package/src/stories/colors.js +11 -8
  495. package/src/stories/f/CheckboxInput.stories.jsx +37 -0
  496. package/src/stories/f/ChoicesInput.stories.jsx +168 -0
  497. package/src/stories/f/Description.stories.jsx +22 -0
  498. package/src/stories/f/FormInput.stories.jsx +187 -0
  499. package/src/stories/f/Label.stories.jsx +22 -0
  500. package/src/stories/f/RadioInput.stories.jsx +37 -0
  501. package/src/stories/f/RatingsInput.stories.jsx +56 -0
  502. package/src/stories/f/SelectInput.stories.jsx +81 -0
  503. package/src/stories/f/TaskRecommendationInput.stories.jsx +38 -0
  504. package/src/stories/f/TextInput.stories.jsx +63 -0
  505. package/src/stories/f/TextareaInput.stories.jsx +49 -0
  506. package/src/stories/utils/Router.jsx +20 -0
  507. package/src/ui/a/AnimatedCounter/AnimatedCounter.jsx +124 -0
  508. package/src/ui/a/AnimatedCounter/index.js +2 -0
  509. package/src/ui/a/AnimatedCounter/styles.scss +24 -0
  510. package/src/ui/a/ContentCard/ContentCard.jsx +84 -0
  511. package/src/ui/a/ContentCard/common/Section/Section.jsx +79 -0
  512. package/src/ui/a/ContentCard/common/Section/index.js +2 -0
  513. package/src/ui/a/ContentCard/common/index.js +1 -0
  514. package/src/ui/a/ContentCard/index.js +2 -0
  515. package/src/ui/a/ContentCard/styles.scss +78 -0
  516. package/src/ui/a/Conversation/Context.js +3 -0
  517. package/src/ui/a/Conversation/Conversation.jsx +107 -0
  518. package/src/ui/a/Conversation/common/Message/Message.jsx +90 -0
  519. package/src/ui/a/Conversation/common/Message/index.js +2 -0
  520. package/src/ui/a/Conversation/common/index.js +1 -0
  521. package/src/ui/a/Conversation/index.js +4 -0
  522. package/src/ui/a/Conversation/styles.scss +52 -0
  523. package/src/ui/a/Conversation/useConversation.js +4 -0
  524. package/src/ui/a/CustomerLogos/CustomerLogos.jsx +92 -0
  525. package/src/ui/a/CustomerLogos/index.js +2 -0
  526. package/src/ui/a/CustomerLogos/styles.scss +41 -0
  527. package/src/ui/a/CustomerStat/CustomerStat.jsx +88 -0
  528. package/src/ui/a/CustomerStat/index.js +2 -0
  529. package/src/ui/a/CustomerStat/styles.scss +16 -0
  530. package/src/ui/a/DotInfo/DotInfo.jsx +107 -0
  531. package/src/ui/a/DotInfo/index.js +2 -0
  532. package/src/ui/a/DotInfo/styles.scss +20 -0
  533. package/src/ui/a/FeaturedOn/FeaturedOn.jsx +95 -0
  534. package/src/ui/a/FeaturedOn/index.js +2 -0
  535. package/src/ui/a/FeaturedOn/styles.scss +41 -0
  536. package/src/ui/a/Figure/Figure.jsx +88 -0
  537. package/src/ui/a/Figure/index.js +2 -0
  538. package/src/ui/a/Figure/styles.scss +19 -0
  539. package/src/ui/a/HamburgerButton/HamburgerButton.jsx +103 -0
  540. package/src/ui/a/HamburgerButton/index.js +2 -0
  541. package/src/ui/a/HamburgerButton/styles.scss +41 -0
  542. package/src/ui/a/IconList/IconList.jsx +95 -0
  543. package/src/ui/a/IconList/common/Item/Item.jsx +81 -0
  544. package/src/ui/a/IconList/common/Item/index.js +2 -0
  545. package/src/ui/a/IconList/common/index.js +1 -0
  546. package/src/ui/a/IconList/index.js +2 -0
  547. package/src/ui/a/IconList/styles.scss +37 -0
  548. package/src/ui/a/LoadingCircle/LoadingCircle.jsx +124 -0
  549. package/src/ui/a/LoadingCircle/index.js +2 -0
  550. package/src/ui/a/LoadingCircle/styles.scss +49 -0
  551. package/src/ui/a/People/People.jsx +90 -0
  552. package/src/ui/{c/TeamGallery/common/PersonCard/PersonCard.jsx → a/People/common/Person/Person.jsx} +23 -28
  553. package/src/ui/a/People/common/Person/index.js +2 -0
  554. package/src/ui/a/People/common/index.js +1 -0
  555. package/src/ui/a/People/index.js +2 -0
  556. package/src/ui/a/People/styles.scss +54 -0
  557. package/src/ui/a/ProgressBar/ProgressBar.jsx +99 -0
  558. package/src/ui/a/ProgressBar/index.js +2 -0
  559. package/src/ui/a/ProgressBar/styles.scss +37 -0
  560. package/src/ui/a/Quote/Quote.jsx +96 -0
  561. package/src/ui/a/Quote/index.js +2 -0
  562. package/src/ui/a/Quote/styles.scss +53 -0
  563. package/src/ui/a/SVG/SVG.jsx +185 -0
  564. package/src/ui/a/SVG/common/UseSVG/UseSVG.jsx +74 -0
  565. package/src/ui/a/SVG/common/UseSVG/index.js +2 -0
  566. package/src/ui/a/SVG/common/index.js +1 -0
  567. package/src/ui/a/SVG/index.js +2 -0
  568. package/src/ui/a/SVG/styles.scss +57 -0
  569. package/src/ui/a/SiteContext/ContextProvider.jsx +37 -4
  570. package/src/ui/a/SiteContext/useTheme.js +4 -1
  571. package/src/ui/a/Spinner/Spinner.jsx +75 -0
  572. package/src/ui/a/Spinner/index.js +2 -0
  573. package/src/ui/a/Spinner/styles.scss +23 -0
  574. package/src/ui/a/TeamInfo/TeamInfo.jsx +99 -0
  575. package/src/ui/a/TeamInfo/index.js +2 -0
  576. package/src/ui/a/TeamInfo/styles.scss +58 -0
  577. package/src/ui/a/Timestamp/Timestamp.jsx +168 -0
  578. package/src/ui/a/Timestamp/index.js +2 -0
  579. package/src/ui/a/Timestamp/styles.scss +7 -0
  580. package/src/ui/a/index.js +18 -0
  581. package/src/ui/b/Button/Button.jsx +36 -4
  582. package/src/ui/b/Button/styles.scss +37 -5
  583. package/src/ui/b/Logo/Logo.jsx +152 -0
  584. package/src/ui/b/Logo/index.js +2 -0
  585. package/src/ui/b/Logo/styles.scss +147 -0
  586. package/src/ui/b/Page/common/PageHelmet/PageHelmet.jsx +16 -5
  587. package/src/ui/b/QuestionDropdown/QuestionDropdown.jsx +12 -7
  588. package/src/ui/b/QuestionDropdown/styles.scss +2 -2
  589. package/src/ui/b/SocialMediaButton/SocialMediaButton.jsx +137 -0
  590. package/src/ui/b/SocialMediaButton/index.js +2 -0
  591. package/src/ui/b/SocialMediaButton/styles.scss +49 -0
  592. package/src/ui/b/ThemeSelector/ThemeSelector.jsx +107 -0
  593. package/src/ui/b/ThemeSelector/index.js +2 -0
  594. package/src/ui/b/ThemeSelector/styles.scss +14 -0
  595. package/src/ui/b/index.js +3 -0
  596. package/src/ui/c/ContentSlides/ContentSlides.jsx +216 -0
  597. package/src/ui/c/ContentSlides/Context.js +3 -0
  598. package/src/ui/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.jsx +138 -0
  599. package/src/ui/c/ContentSlides/common/HorizontalMenu/index.js +2 -0
  600. package/src/ui/c/ContentSlides/common/Navigator/Navigator.jsx +149 -0
  601. package/src/ui/c/ContentSlides/common/Navigator/index.js +2 -0
  602. package/src/ui/c/ContentSlides/common/Sidebar/Sidebar.jsx +135 -0
  603. package/src/ui/c/ContentSlides/common/Sidebar/index.js +2 -0
  604. package/src/ui/c/ContentSlides/common/Slide/Slide.jsx +87 -0
  605. package/src/ui/c/ContentSlides/common/Slide/index.js +2 -0
  606. package/src/ui/c/ContentSlides/common/index.js +4 -0
  607. package/src/ui/c/ContentSlides/index.js +4 -0
  608. package/src/ui/c/ContentSlides/styles.scss +308 -0
  609. package/src/ui/c/ContentSlides/useContentSlides.js +4 -0
  610. package/src/ui/c/{TeamGallery/TeamGallery.jsx → Hero/Hero.jsx} +32 -23
  611. package/src/ui/c/Hero/index.js +2 -0
  612. package/src/ui/c/Hero/styles.scss +41 -0
  613. package/src/ui/c/Shortener/Shortener.jsx +142 -0
  614. package/src/ui/c/Shortener/index.js +2 -0
  615. package/src/ui/c/Shortener/styles.scss +7 -0
  616. package/src/ui/c/index.js +3 -1
  617. package/src/ui/d/index.js +0 -0
  618. package/src/ui/f/FormInput/FormInput.jsx +121 -0
  619. package/src/ui/f/FormInput/index.js +2 -0
  620. package/src/ui/f/common/Debugger/Debugger.jsx +85 -0
  621. package/src/ui/f/common/Debugger/index.js +2 -0
  622. package/src/ui/f/common/Debugger/styles.scss +12 -0
  623. package/src/ui/f/common/Description/Description.jsx +88 -0
  624. package/src/ui/f/common/Description/index.js +2 -0
  625. package/src/ui/f/common/Description/styles.scss +10 -0
  626. package/src/ui/f/common/Label/Label.jsx +96 -0
  627. package/src/ui/f/common/Label/index.js +2 -0
  628. package/src/ui/f/common/Label/styles.scss +11 -0
  629. package/src/ui/f/common/index.js +3 -0
  630. package/src/ui/f/fields/CheckboxInput/CheckboxInput.jsx +107 -0
  631. package/src/ui/f/fields/CheckboxInput/index.js +2 -0
  632. package/src/ui/f/fields/CheckboxInput/styles.scss +28 -0
  633. package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +155 -0
  634. package/src/ui/f/fields/ChoicesInput/common/Choice/Choice.jsx +110 -0
  635. package/src/ui/f/fields/ChoicesInput/common/Choice/index.js +2 -0
  636. package/src/ui/f/fields/ChoicesInput/common/index.js +1 -0
  637. package/src/ui/f/fields/ChoicesInput/index.js +2 -0
  638. package/src/ui/f/fields/ChoicesInput/styles.scss +52 -0
  639. package/src/ui/f/fields/RadioInput/RadioInput.jsx +112 -0
  640. package/src/ui/f/fields/RadioInput/index.js +2 -0
  641. package/src/ui/f/fields/RadioInput/styles.scss +26 -0
  642. package/src/ui/f/fields/RatingsInput/RatingsInput.jsx +119 -0
  643. package/src/ui/f/fields/RatingsInput/common/Rating/Rating.jsx +136 -0
  644. package/src/ui/f/fields/RatingsInput/common/Rating/index.js +2 -0
  645. package/src/ui/f/fields/RatingsInput/common/index.js +1 -0
  646. package/src/ui/f/fields/RatingsInput/index.js +2 -0
  647. package/src/ui/f/fields/RatingsInput/styles.scss +43 -0
  648. package/src/ui/f/fields/SelectInput/SelectInput.jsx +114 -0
  649. package/src/ui/f/fields/SelectInput/index.js +2 -0
  650. package/src/ui/f/fields/SelectInput/styles.scss +30 -0
  651. package/src/ui/f/fields/TaskRecommendationInput/TaskRecommendationInput.jsx +130 -0
  652. package/src/ui/f/fields/TaskRecommendationInput/index.js +2 -0
  653. package/src/ui/f/fields/TaskRecommendationInput/styles.scss +37 -0
  654. package/src/ui/f/fields/TextInput/TextInput.jsx +145 -0
  655. package/src/ui/f/fields/TextInput/index.js +2 -0
  656. package/src/ui/f/fields/TextInput/styles.scss +26 -0
  657. package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +159 -0
  658. package/src/ui/f/fields/TextareaInput/index.js +2 -0
  659. package/src/ui/f/fields/TextareaInput/styles.scss +19 -0
  660. package/src/ui/f/fields/index.js +8 -0
  661. package/src/ui/f/index.js +3 -0
  662. package/src/ui/form-reset.scss +86 -0
  663. package/src/ui/form.scss +34 -0
  664. package/src/ui/index.js +2 -0
  665. package/src/ui/r/SwitchRouteMap/SwitchRouteMap.jsx +46 -37
  666. package/src/ui/r/common/PrivateRoute/PrivateRoute.jsx +2 -3
  667. package/dist/cjs/a/Tester/Tester.js +0 -65
  668. package/dist/cjs/a/Tester/styles.scss +0 -9
  669. package/dist/cjs/c/SiteContext/Context.js +0 -16
  670. package/dist/cjs/c/SiteContext/ContextProvider.js +0 -65
  671. package/dist/cjs/c/SiteContext/useTheme.js +0 -43
  672. package/dist/es/a/Tester/Tester.js +0 -46
  673. package/dist/es/a/Tester/index.js +0 -2
  674. package/dist/es/a/Tester/styles.scss +0 -9
  675. package/dist/es/c/SiteContext/ContextProvider.js +0 -44
  676. package/dist/es/c/SiteContext/index.js +0 -5
  677. package/dist/es/c/SiteContext/useSite.js +0 -3
  678. package/dist/es/c/SiteContext/useTheme.js +0 -32
  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,145 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { useLayoutEffect, memo } from 'react'
5
+
6
+ import PropTypes from 'prop-types'
7
+
8
+ import styleNames from '@pareto-engineering/bem'
9
+
10
+ import { useField } from 'formik'
11
+
12
+ import { FormLabel, FormDescription } from '../../common'
13
+
14
+ // Local Definitions
15
+
16
+ const baseClassName = styleNames.base
17
+
18
+ const componentClassName = 'text-input'
19
+
20
+ /**
21
+ * This is the component description.
22
+ */
23
+ const TextInput = ({
24
+ id,
25
+ className:userClassName,
26
+ style,
27
+ type,
28
+ name,
29
+ label,
30
+ validate,
31
+ oneInputLabel,
32
+ description,
33
+ disabled,
34
+ // ...otherProps
35
+ }) => {
36
+ useLayoutEffect(() => {
37
+ import('./styles.scss')
38
+ }, [])
39
+
40
+ const [field, meta] = useField({ name, validate })
41
+
42
+ return (
43
+ <div
44
+ id={id}
45
+ className={[
46
+ baseClassName,
47
+ componentClassName,
48
+ userClassName,
49
+ ]
50
+ .filter((e) => e)
51
+ .join(' ')}
52
+ style={style}
53
+ // {...otherProps}
54
+ >
55
+ <FormLabel
56
+ className={[
57
+ 'input-label', oneInputLabel ? 'md-s2 s0 v1 mb-v' : 'v50 mb-v']
58
+ .filter((e) => e)
59
+ .join(' ')}
60
+ name={name}
61
+ >
62
+ { label }
63
+ </FormLabel>
64
+ <input
65
+ id={name}
66
+ className={`input ${meta.touched && meta.error ? 'input-border-error' : 'input-border'}`}
67
+ type={type}
68
+ disabled={disabled}
69
+ {...field}
70
+ />
71
+ {(description || (meta.touched && meta.error))
72
+ && (
73
+ <FormDescription isError={!!meta.error} className="v50 mt-v s-1">
74
+ { meta.error || description }
75
+ </FormDescription>
76
+ )}
77
+ </div>
78
+ )
79
+ }
80
+
81
+ TextInput.propTypes = {
82
+ /**
83
+ * The HTML id for this element
84
+ */
85
+ id:PropTypes.string,
86
+
87
+ /**
88
+ * The HTML class names for this element
89
+ */
90
+ className:PropTypes.string,
91
+
92
+ /**
93
+ * The React-written, css properties for this element.
94
+ */
95
+ style:PropTypes.objectOf(PropTypes.string),
96
+
97
+ /**
98
+ * The input name (html - and Formik state)
99
+ */
100
+ name:PropTypes.string.isRequired,
101
+
102
+ /**
103
+ * The input label
104
+ */
105
+ label:PropTypes.string.isRequired,
106
+
107
+ /**
108
+ * The type of the input (html)
109
+ */
110
+ type:PropTypes.oneOf([
111
+ 'text',
112
+ 'email',
113
+ 'password',
114
+ 'number',
115
+ 'date',
116
+ 'datetime',
117
+ 'month',
118
+ 'tel',
119
+ 'hidden',
120
+ ]),
121
+
122
+ /**
123
+ * The input field validator function
124
+ */
125
+ validate :PropTypes.func,
126
+ /**
127
+ * If the slide will only have one input
128
+ */
129
+ oneInputLabel:PropTypes.bool,
130
+ /**
131
+ * Input description
132
+ */
133
+ description :PropTypes.string,
134
+ /**
135
+ * Whether the text input should be disabled
136
+ */
137
+ disabled :PropTypes.bool,
138
+ }
139
+
140
+ TextInput.defaultProps = {
141
+ type :'text',
142
+ disabled:false,
143
+ }
144
+
145
+ export default memo(TextInput)
@@ -0,0 +1,2 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ export { default as TextInput } from './TextInput'
@@ -0,0 +1,26 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+
3
+ @use "@pareto-engineering/bem";
4
+ @use "../../../form.scss";
5
+
6
+ $default-padding: 0.75em 0.75em 0.55em;
7
+
8
+ .#{bem.$base}.text-input {
9
+ display: flex;
10
+ flex-direction: column;
11
+
12
+ .input-label {
13
+ color: var(--main1);
14
+ }
15
+
16
+ .input {
17
+ background: var(--light-background);
18
+ color: var(--on-background);
19
+ padding: $default-padding;
20
+
21
+ &:focus {
22
+ background: var(--dark-background);
23
+ }
24
+ }
25
+ }
26
+
@@ -0,0 +1,159 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { useLayoutEffect, memo } from 'react'
5
+
6
+ import PropTypes from 'prop-types'
7
+
8
+ import styleNames from '@pareto-engineering/bem'
9
+
10
+ import { useField } from 'formik'
11
+
12
+ // Local Definitions
13
+
14
+ import { FormLabel, FormDescription } from '../../common'
15
+
16
+ const baseClassName = styleNames.base
17
+
18
+ const componentClassName = 'text-area-input'
19
+
20
+ /**
21
+ * This is the component description.
22
+ */
23
+ const TextareaInput = ({
24
+ id,
25
+ className:userClassName,
26
+ style,
27
+ name,
28
+ label,
29
+ validate,
30
+ labelAsDescription,
31
+ textAreaId,
32
+ rows,
33
+ textAreaColor,
34
+ labelColor,
35
+ description,
36
+ disabled,
37
+ // ...otherProps
38
+ }) => {
39
+ useLayoutEffect(() => {
40
+ import('./styles.scss')
41
+ }, [])
42
+
43
+ const [field, meta] = useField({ name, validate })
44
+
45
+ return (
46
+ <div
47
+ id={id}
48
+ className={[
49
+
50
+ baseClassName,
51
+
52
+ componentClassName,
53
+ userClassName,
54
+ `x-${textAreaColor}`,
55
+ `y-${labelColor}`,
56
+ ]
57
+ .filter((e) => e)
58
+ .join(' ')}
59
+ style={style}
60
+ // {...otherProps}
61
+ >
62
+ <FormLabel
63
+ className={[
64
+ 'c-y', labelAsDescription ? 'md-s2 s0 v1 mb-v' : 'v50 mb-v']
65
+ .filter((e) => e)
66
+ .join(' ')}
67
+ name={name}
68
+ >
69
+ { label }
70
+ </FormLabel>
71
+ <textarea
72
+ id={textAreaId}
73
+ className={`textarea v50 pv-v ${meta.touched && meta.error ? 'input-border-error' : 'input-border'}`}
74
+ {...field}
75
+ rows={rows}
76
+ disabled={disabled}
77
+ >
78
+ {/* It was a dark and stormy night... */}
79
+ </textarea>
80
+
81
+ {(description || (meta.touched && meta.error))
82
+ && (
83
+ <FormDescription isError={!!meta.error} className="v50 mt-v s-1">
84
+ { meta.error || description }
85
+ </FormDescription>
86
+ )}
87
+ {' '}
88
+ </div>
89
+ )
90
+ }
91
+
92
+ TextareaInput.propTypes = {
93
+ /**
94
+ * The HTML id for this element
95
+ */
96
+ id:PropTypes.string,
97
+
98
+ /**
99
+ * The HTML class names for this element
100
+ */
101
+ className:PropTypes.string,
102
+
103
+ /**
104
+ * The React-written, css properties for this element.
105
+ */
106
+ style:PropTypes.objectOf(PropTypes.string),
107
+
108
+ /**
109
+ * The input name (html - and Formik state)
110
+ */
111
+ name:PropTypes.string.isRequired,
112
+
113
+ /**
114
+ * The input label
115
+ */
116
+ label:PropTypes.string.isRequired,
117
+
118
+ /**
119
+ * The input value validator function
120
+ */
121
+ validate :PropTypes.func,
122
+ /**
123
+ * If the text area depends on it's label's text as the default description
124
+ */
125
+ labelAsDescription:PropTypes.bool,
126
+ /**
127
+ * The textarea id
128
+ */
129
+ textAreaId :PropTypes.string,
130
+ /**
131
+ * The number of rows int the text area
132
+ */
133
+ rows :PropTypes.number,
134
+ /**
135
+ * Text area base color
136
+ */
137
+ textAreaColor :PropTypes.string,
138
+ /**
139
+ * Label base color
140
+ */
141
+ labelColor :PropTypes.string,
142
+ /**
143
+ * Text area description
144
+ */
145
+ description :PropTypes.string,
146
+ /**
147
+ * Whether the text area should be disabled
148
+ */
149
+ disabled :PropTypes.bool,
150
+ }
151
+
152
+ TextareaInput.defaultProps = {
153
+ rows :3,
154
+ textAreaColor:'background',
155
+ labelColor :'main1',
156
+ disabled :false,
157
+ }
158
+
159
+ export default memo(TextareaInput)
@@ -0,0 +1,2 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ export { default as TextareaInput } from './TextareaInput'
@@ -0,0 +1,19 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ @use "@pareto-engineering/bem";
3
+
4
+ .#{bem.$base}.text-area-input{
5
+ display: flex;
6
+ flex-direction: column;
7
+
8
+ .textarea {
9
+ background: var(--light-x);
10
+ color: var(--on-x);
11
+
12
+ &:focus {
13
+ background: var(--dark-x);
14
+ }
15
+ }
16
+ }
17
+
18
+
19
+
@@ -0,0 +1,8 @@
1
+ export { TextInput } from './TextInput'
2
+ export { SelectInput } from './SelectInput'
3
+ export { RadioInput } from './RadioInput'
4
+ export { CheckboxInput } from './CheckboxInput'
5
+ export { TaskRecommendationInput } from './TaskRecommendationInput'
6
+ export { ChoicesInput } from './ChoicesInput'
7
+ export { TextareaInput } from './TextareaInput'
8
+ export { RatingsInput } from './RatingsInput'
@@ -0,0 +1,3 @@
1
+ export * from './common'
2
+ export * from './fields'
3
+ export { FormInput } from './FormInput'
@@ -0,0 +1,86 @@
1
+ form {
2
+ border: 0;
3
+ font-family: inherit;
4
+ font-size: 100%;
5
+ font-style: inherit;
6
+ font-weight: inherit;
7
+ margin: 0;
8
+ outline: 0;
9
+ padding: 0;
10
+ vertical-align: baseline;
11
+ }
12
+
13
+ /**
14
+ 1. Change the font styles in all browsers.
15
+ 2. Remove the margin in Firefox and Safari.
16
+ */
17
+ input,
18
+ button,
19
+ textarea,
20
+ label,
21
+ select {
22
+ background-color: inherit;
23
+ border: 0;
24
+ display: inline-block;
25
+ font: inherit;
26
+ font-size: 100%;
27
+ margin: 0;
28
+ outline: none;
29
+ }
30
+
31
+ /**
32
+ * Show the overflow in IE.
33
+ * 1. Show the overflow in Edge.
34
+ */
35
+
36
+ button,
37
+ input { /* 1 */
38
+ overflow: visible;
39
+ }
40
+
41
+
42
+ /**
43
+ Remove the inheritance of text transform in Edge and Firefox.
44
+ */
45
+
46
+ button,
47
+ select {
48
+ text-transform: none;
49
+ }
50
+
51
+ /**
52
+ Correct the inability to style clickable types in iOS and Safari.
53
+ */
54
+
55
+ button,
56
+ [type="button"],
57
+ [type="reset"],
58
+ [type="submit"] {
59
+ appearance: button;
60
+ }
61
+
62
+
63
+ /**
64
+ * Remove the inner border and padding in Firefox.
65
+ */
66
+
67
+ button::-moz-focus-inner,
68
+ [type="button"]::-moz-focus-inner,
69
+ [type="reset"]::-moz-focus-inner,
70
+ [type="submit"]::-moz-focus-inner {
71
+ border-style: none;
72
+ padding: 0;
73
+ }
74
+
75
+ /**
76
+ * Remove the default vertical scrollbar in IE 10+.
77
+ */
78
+
79
+ textarea {
80
+ overflow: auto;
81
+ }
82
+
83
+ /* Remove outline on focus */
84
+ :focus {
85
+ outline: 0;
86
+ }
@@ -0,0 +1,34 @@
1
+ @use "form-reset.scss";
2
+
3
+ $form-input-border-bottom: 1px solid var(--dark-background);
4
+ $form-input-on-focus-border-bottom: 1px solid var(--light-main1);
5
+ $form-input-on-error-border-bottom: 1px solid var(--error);
6
+ $label-input-heigth-width: 100%;
7
+
8
+ :root {
9
+ --form-input-border-bottom: #{$form-input-border-bottom};
10
+ --form-input-on-focus-border-bottom: #{$form-input-on-focus-border-bottom};
11
+ --form-input-on-error-border-bottom: #{$form-input-on-error-border-bottom};
12
+ }
13
+
14
+ @mixin radio-checkbox-input-selected {
15
+ border: var(--form-input-on-focus-border-bottom);
16
+ position: relative;
17
+ }
18
+
19
+
20
+ @mixin radio-checkbox-input-not-selected {
21
+ border: var(--form-input-border-bottom);
22
+ position: relative;
23
+ }
24
+
25
+
26
+ @mixin radio-checkbox-input {
27
+ appearance: none;
28
+ cursor: pointer;
29
+ height: $label-input-heigth-width;
30
+ left: 0;
31
+ position: absolute;
32
+ top: 0;
33
+ width: $label-input-heigth-width;
34
+ }
package/src/ui/index.js CHANGED
@@ -2,3 +2,5 @@ export * from './r' // Router Extensions
2
2
  export * from './a'
3
3
  export * from './b'
4
4
  export * from './c'
5
+ export * from './d'
6
+ export * from './f'
@@ -2,54 +2,63 @@
2
2
  import * as React from 'react'
3
3
  import PropTypes from 'prop-types'
4
4
 
5
- // Package-level Imports
6
- // import styleNames from 'style_names.scss'
7
-
8
- // Component-level imports
9
-
10
- // Helper Definition
11
- // const baseClassName = styleNames.base
12
- const componentClassName = 'switch_route_map'
5
+ import { Switch, Route } from 'react-router-dom'
6
+ import { PrivateRoute } from '../common'
13
7
 
8
+ /* eslint-disable react/no-children-prop */
9
+ /**
10
+ * **Dependencies : `react-router-dom.Router`,**
11
+ * **`SessionContextProvider` in case you're using PrivateRoutes. **
12
+ * `SwitchRouteMap` generates a routing `Switch` from an array of route Props
13
+ */
14
14
  const SwitchRouteMap = ({
15
- id,
16
- className: userClassName,
17
- children,
18
- // ...otherProps
15
+ routes,
16
+ NotFound,
19
17
  }) => (
20
- <div
21
- id={id}
22
- className={[
23
- // baseClassName,
24
- componentClassName,
25
- userClassName,
26
- ]
27
- .filter((e) => e)
28
- .join(' ')}
29
- >
30
- {children}
31
- </div>
18
+ <Switch
19
+ children={
20
+ [
21
+ ...routes.map(({ isPrivate, ...routeProps }) => (isPrivate
22
+ ? (
23
+ <PrivateRoute
24
+ key={routeProps.path}
25
+ {...routeProps}
26
+ />
27
+ )
28
+ : (
29
+ <Route
30
+ key={routeProps.path}
31
+ {...routeProps}
32
+ />
33
+ ))),
34
+ ...(NotFound
35
+ ? [
36
+ <Route component={NotFound} />,
37
+ ]
38
+ : []),
39
+ ]
40
+ }
41
+ />
32
42
  )
33
43
 
34
44
  SwitchRouteMap.propTypes = {
35
45
  /**
36
- * The HTML id for this element
46
+ * The routes to render
37
47
  */
38
- id:PropTypes.string,
48
+ routes:PropTypes.arrayOf(
49
+ PropTypes.shape({
50
+ path:PropTypes.string.isRequired,
51
+ // title:PropTypes.string.isRequired,
52
+ // state:PropTypes.string.isRequired,
53
+ }),
54
+ ).isRequired,
39
55
 
40
56
  /**
41
- * The HTML class names for this element
57
+ * A component to display in case no route was found.
58
+ * In case you're doing SSR, you might want to use
59
+ * a component that returns a 404 code.
42
60
  */
43
- className:PropTypes.string,
44
-
45
- /**
46
- * The children JSX
47
- */
48
- children:PropTypes.node,
49
- }
50
-
51
- SwitchRouteMap.defaultProps = {
52
- // someProp:false
61
+ NotFound:PropTypes.node,
53
62
  }
54
63
 
55
64
  export default SwitchRouteMap
@@ -12,10 +12,9 @@ const SessionContext = React.createContext({})
12
12
 
13
13
  // Component-level imports
14
14
 
15
- /** `PrivateRoute` subclasses `react-router-dom` `Route`.
16
- *
15
+ /**
17
16
  * **Dependencies : `SessionContext.loginPath` **
18
- *
17
+ * `PrivateRoute` subclasses `react-router-dom` `Route`.
19
18
  * `PrivateRoute` checks whether a user matches a specified test before allowing him to the resource
20
19
  * In case the user is not allowed, he is redirected to `SessionContext.loginPath`.
21
20
  * Please remember this is a front-end test, and is not equivalent to back-end permission checks.
@@ -1,65 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var React = _interopRequireWildcard(require("react"));
9
-
10
- var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
- var _bem = _interopRequireDefault(require("@pareto-engineering/bem"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
- function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
17
-
18
- function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (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; }
19
-
20
- // Imports from the component folder
21
- Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss"))); // Local Definitions
22
-
23
- var baseClassName = _bem.default.base;
24
- var componentClassName = 'tester';
25
-
26
- var Tester = (_ref) => {
27
- var {
28
- id,
29
- className: userClassName,
30
- style,
31
- children // ...otherProps
32
-
33
- } = _ref;
34
- return /*#__PURE__*/React.createElement("div", {
35
- id: id,
36
- className: [baseClassName, componentClassName, userClassName].filter(e => e).join(' '),
37
- style: style
38
- }, children);
39
- };
40
-
41
- Tester.propTypes = {
42
- /**
43
- * The HTML id for this element
44
- */
45
- id: _propTypes.default.string,
46
-
47
- /**
48
- * The HTML class names for this element
49
- */
50
- className: _propTypes.default.string,
51
-
52
- /**
53
- * The React-written, css properties for this element.
54
- */
55
- style: _propTypes.default.objectOf(_propTypes.default.string),
56
-
57
- /**
58
- * The children JSX
59
- */
60
- children: _propTypes.default.node
61
- };
62
- Tester.defaultProps = {// someProp:false
63
- };
64
- var _default = Tester;
65
- exports.default = _default;
@@ -1,9 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.2 */
2
- @use "@pareto-engineering/bem";
3
-
4
- .#{bem.$base}.tester{
5
-
6
- }
7
-
8
-
9
-