@pareto-engineering/design-system 2.0.0-alpha.8 → 3.0.0-alpha.18

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 (787) hide show
  1. package/.eslintrc.js +1 -39
  2. package/.storybook/main.js +12 -1
  3. package/babel.config.js +2 -0
  4. package/dist/cjs/a/Alert/Alert.js +121 -0
  5. package/dist/cjs/a/{Shapes → Alert}/index.js +3 -5
  6. package/dist/cjs/a/Alert/styles.scss +74 -0
  7. package/dist/cjs/a/AnimatedCounter/AnimatedCounter.js +8 -24
  8. package/dist/cjs/a/AnimatedCounter/index.js +0 -2
  9. package/dist/cjs/a/AnimatedCounter/styles.scss +2 -2
  10. package/dist/cjs/a/{SiteContext → AppContext}/Context.js +0 -5
  11. package/dist/cjs/a/{SiteContext → AppContext}/ContextProvider.js +18 -30
  12. package/dist/cjs/a/{SiteContext → AppContext}/index.js +5 -10
  13. package/dist/cjs/a/{SiteContext/useSite.js → AppContext/useApp.js} +0 -5
  14. package/dist/cjs/a/{SiteContext → AppContext}/useTheme.js +6 -8
  15. package/dist/cjs/{experimental/GradientBackground/GradientBackground.js → a/BackgroundGradient/BackgroundGradient.js} +22 -53
  16. package/dist/cjs/a/BackgroundGradient/index.js +13 -0
  17. package/dist/cjs/a/BackgroundGradient/styles.scss +16 -0
  18. package/dist/cjs/a/ContentCard/ContentCard.js +5 -18
  19. package/dist/cjs/a/ContentCard/common/Section/Section.js +7 -18
  20. package/dist/cjs/a/ContentCard/common/Section/index.js +0 -2
  21. package/dist/cjs/a/ContentCard/common/index.js +0 -1
  22. package/dist/cjs/a/ContentCard/index.js +0 -2
  23. package/dist/cjs/a/ContentCard/styles.scss +2 -2
  24. package/dist/cjs/{c/TeamGallery/common/PersonCard/PersonCard.js → a/ContentTree/ContentTree.js} +29 -43
  25. package/dist/cjs/a/ContentTree/common/Tree/Tree.js +104 -0
  26. package/dist/cjs/{c/BlogPostsList/common/Card → a/ContentTree/common/Tree}/index.js +3 -5
  27. package/dist/cjs/a/ContentTree/common/index.js +27 -0
  28. package/dist/cjs/a/ContentTree/common/useContentTree.js +80 -0
  29. package/dist/cjs/a/ContentTree/common/useFirstVisibleNode.js +63 -0
  30. package/dist/cjs/{c/SiteMission → a/ContentTree}/index.js +3 -5
  31. package/dist/cjs/a/ContentTree/styles.scss +33 -0
  32. package/dist/cjs/a/Conversation/Context.js +0 -5
  33. package/dist/cjs/a/Conversation/Conversation.js +17 -28
  34. package/dist/cjs/a/Conversation/common/Message/Message.js +36 -25
  35. package/dist/cjs/a/Conversation/common/Message/index.js +0 -2
  36. package/dist/cjs/a/Conversation/common/index.js +0 -1
  37. package/dist/cjs/a/Conversation/index.js +0 -4
  38. package/dist/cjs/a/Conversation/styles.scss +134 -35
  39. package/dist/cjs/a/Conversation/useConversation.js +0 -5
  40. package/dist/cjs/a/CustomerLogos/CustomerLogos.js +10 -19
  41. package/dist/cjs/a/CustomerLogos/index.js +0 -2
  42. package/dist/cjs/a/CustomerLogos/styles.scss +2 -2
  43. package/dist/cjs/a/CustomerStat/CustomerStat.js +8 -20
  44. package/dist/cjs/a/CustomerStat/index.js +0 -2
  45. package/dist/cjs/a/DashboardNavbar/DashboardNavbar.js +9 -18
  46. package/dist/cjs/a/DashboardNavbar/common/NavItem/NavItem.js +10 -17
  47. package/dist/cjs/a/DashboardNavbar/common/NavItem/index.js +0 -2
  48. package/dist/cjs/a/DashboardNavbar/common/NavProfile/NavProfile.js +10 -17
  49. package/dist/cjs/a/DashboardNavbar/common/NavProfile/index.js +0 -2
  50. package/dist/cjs/a/DashboardNavbar/common/index.js +0 -2
  51. package/dist/cjs/a/DashboardNavbar/index.js +0 -2
  52. package/dist/cjs/a/DotInfo/DotInfo.js +13 -28
  53. package/dist/cjs/a/DotInfo/index.js +0 -2
  54. package/dist/cjs/a/FeaturedOn/FeaturedOn.js +10 -19
  55. package/dist/cjs/a/FeaturedOn/index.js +0 -2
  56. package/dist/cjs/a/FeaturedOn/styles.scss +2 -2
  57. package/dist/cjs/a/Figure/Figure.js +8 -19
  58. package/dist/cjs/a/Figure/index.js +0 -2
  59. package/dist/cjs/a/HamburgerButton/HamburgerButton.js +13 -32
  60. package/dist/cjs/a/HamburgerButton/index.js +0 -2
  61. package/dist/cjs/a/IconList/IconList.js +20 -38
  62. package/dist/cjs/a/IconList/common/Item/Item.js +19 -37
  63. package/dist/cjs/a/IconList/common/Item/index.js +0 -2
  64. package/dist/cjs/a/IconList/common/index.js +0 -1
  65. package/dist/cjs/a/IconList/index.js +0 -2
  66. package/dist/cjs/a/IconList/styles.scss +1 -1
  67. package/dist/cjs/{c/SiteFooter/SiteFooter.js → a/Label/Label.js} +29 -28
  68. package/dist/cjs/{c/SiteFooter/common/Section → a/Label}/index.js +3 -5
  69. package/dist/cjs/a/Label/styles.scss +34 -0
  70. package/dist/cjs/a/LoadingCircle/LoadingCircle.js +13 -27
  71. package/dist/cjs/a/LoadingCircle/index.js +0 -2
  72. package/dist/cjs/a/People/People.js +12 -27
  73. package/dist/cjs/a/People/common/Person/Person.js +9 -21
  74. package/dist/cjs/a/People/common/Person/index.js +0 -2
  75. package/dist/cjs/a/People/common/index.js +0 -1
  76. package/dist/cjs/a/People/index.js +0 -2
  77. package/dist/cjs/a/People/styles.scss +8 -6
  78. package/dist/cjs/{c/AcceptCookies/AcceptCookies.js → a/Popover/Popover.js} +58 -77
  79. package/dist/cjs/{c/BlogPost → a/Popover}/index.js +3 -5
  80. package/dist/cjs/a/Popover/styles.scss +33 -0
  81. package/dist/cjs/a/ProgressBar/ProgressBar.js +14 -27
  82. package/dist/cjs/a/ProgressBar/index.js +0 -2
  83. package/dist/cjs/a/Quote/Quote.js +8 -21
  84. package/dist/cjs/a/Quote/index.js +0 -2
  85. package/dist/cjs/a/Quote/styles.scss +2 -2
  86. package/dist/cjs/a/SVG/SVG.js +21 -48
  87. package/dist/cjs/a/SVG/common/UseSVG/UseSVG.js +5 -19
  88. package/dist/cjs/a/SVG/common/UseSVG/index.js +0 -2
  89. package/dist/cjs/a/SVG/common/index.js +0 -1
  90. package/dist/cjs/a/SVG/index.js +0 -2
  91. package/dist/cjs/{c/BlogPostsList/BlogPostsList.js → a/SnapScroller/SnapScroller.js} +21 -28
  92. package/dist/cjs/a/SnapScroller/index.js +13 -0
  93. package/dist/cjs/a/SnapScroller/styles.scss +38 -0
  94. package/dist/cjs/a/Spinner/Spinner.js +8 -18
  95. package/dist/cjs/a/Spinner/index.js +0 -2
  96. package/dist/cjs/a/TeamInfo/TeamInfo.js +10 -22
  97. package/dist/cjs/a/TeamInfo/index.js +0 -2
  98. package/dist/cjs/a/TeamInfo/styles.scss +3 -3
  99. package/dist/cjs/a/Timestamp/Timestamp.js +8 -25
  100. package/dist/cjs/a/Timestamp/index.js +0 -2
  101. package/dist/cjs/a/index.js +49 -99
  102. package/dist/cjs/b/Button/Button.js +24 -41
  103. package/dist/cjs/b/Button/index.js +0 -2
  104. package/dist/cjs/b/Button/styles.scss +65 -19
  105. package/dist/cjs/b/Card/Card.js +8 -19
  106. package/dist/cjs/b/Card/common/Group/Group.js +9 -20
  107. package/dist/cjs/b/Card/common/Group/index.js +0 -2
  108. package/dist/cjs/b/Card/common/Group/styles.scss +2 -2
  109. package/dist/cjs/b/Card/common/index.js +0 -1
  110. package/dist/cjs/b/Card/index.js +0 -2
  111. package/dist/cjs/b/Logo/Logo.js +46 -61
  112. package/dist/cjs/b/Logo/index.js +0 -2
  113. package/dist/cjs/b/Logo/styles.scss +0 -138
  114. package/dist/cjs/b/Metrics/Metrics.js +9 -20
  115. package/dist/cjs/b/Metrics/index.js +0 -2
  116. package/dist/cjs/b/Metrics/styles.scss +3 -3
  117. package/dist/cjs/b/Page/Context.js +0 -5
  118. package/dist/cjs/b/Page/Page.js +14 -34
  119. package/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +9 -28
  120. package/dist/cjs/b/Page/common/PageHelmet/index.js +0 -2
  121. package/dist/cjs/b/Page/common/Section/Section.js +14 -69
  122. package/dist/cjs/b/Page/common/Section/index.js +0 -2
  123. package/dist/cjs/b/Page/common/index.js +0 -2
  124. package/dist/cjs/b/Page/index.js +4 -8
  125. package/dist/cjs/b/Page/usePage.js +0 -5
  126. package/dist/cjs/b/QuestionDropdown/QuestionDropdown.js +8 -23
  127. package/dist/cjs/b/QuestionDropdown/index.js +0 -2
  128. package/dist/cjs/b/QuestionDropdown/styles.scss +2 -2
  129. package/dist/cjs/b/Segment/Segment.js +8 -19
  130. package/dist/cjs/b/Segment/index.js +0 -2
  131. package/dist/cjs/b/SocialMediaButton/SocialMediaButton.js +22 -43
  132. package/dist/cjs/b/SocialMediaButton/index.js +0 -2
  133. package/dist/cjs/b/SocialMediaButton/styles.scss +4 -4
  134. package/dist/cjs/b/ThemeSelector/ThemeSelector.js +6 -18
  135. package/dist/cjs/b/ThemeSelector/index.js +0 -2
  136. package/dist/cjs/b/Title/Title.js +10 -33
  137. package/dist/cjs/b/Title/index.js +0 -2
  138. package/dist/cjs/b/index.js +9 -47
  139. package/dist/cjs/c/ContentSlides/ContentSlides.js +11 -42
  140. package/dist/cjs/c/ContentSlides/Context.js +0 -5
  141. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +28 -36
  142. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/index.js +0 -2
  143. package/dist/cjs/c/ContentSlides/common/Navigator/Navigator.js +11 -27
  144. package/dist/cjs/c/ContentSlides/common/Navigator/index.js +0 -2
  145. package/dist/cjs/c/ContentSlides/common/Sidebar/Sidebar.js +14 -25
  146. package/dist/cjs/c/ContentSlides/common/Sidebar/index.js +0 -2
  147. package/dist/cjs/c/ContentSlides/common/Slide/Slide.js +12 -20
  148. package/dist/cjs/c/ContentSlides/common/Slide/index.js +0 -2
  149. package/dist/cjs/c/ContentSlides/common/index.js +8 -12
  150. package/dist/cjs/c/ContentSlides/index.js +4 -8
  151. package/dist/cjs/c/ContentSlides/styles.scss +12 -6
  152. package/dist/cjs/c/ContentSlides/useContentSlides.js +0 -5
  153. package/dist/cjs/c/Hero/Hero.js +10 -21
  154. package/dist/cjs/c/Hero/index.js +0 -2
  155. package/dist/cjs/c/Hero/styles.scss +2 -2
  156. package/dist/cjs/c/{TeamGallery/TeamGallery.js → Modal/Modal.js} +34 -31
  157. package/dist/cjs/c/Modal/common/ModalHeader/ModalHeader.js +77 -0
  158. package/dist/cjs/c/{SitePricing → Modal/common/ModalHeader}/index.js +3 -5
  159. package/dist/cjs/c/{SiteFooter → Modal}/common/index.js +3 -4
  160. package/dist/cjs/c/Modal/index.js +13 -0
  161. package/dist/cjs/c/Modal/styles.scss +46 -0
  162. package/dist/cjs/c/Shortener/Shortener.js +6 -20
  163. package/dist/cjs/c/Shortener/index.js +0 -2
  164. package/dist/cjs/{f/fields/RadioInput/RadioInput.js → c/SocialMediaShareButton/SocialMediaShareButton.js} +55 -60
  165. package/dist/cjs/c/SocialMediaShareButton/index.js +13 -0
  166. package/dist/cjs/c/SocialMediaShareButton/styles.scss +39 -0
  167. package/dist/cjs/c/index.js +17 -13
  168. package/dist/cjs/f/FormInput/FormInput.js +44 -32
  169. package/dist/cjs/f/FormInput/index.js +0 -2
  170. package/dist/cjs/f/FormInput/styles.scss +11 -0
  171. package/dist/cjs/f/common/Debugger/Debugger.js +5 -18
  172. package/dist/cjs/f/common/Debugger/index.js +0 -2
  173. package/dist/cjs/f/common/Description/Description.js +24 -33
  174. package/dist/cjs/f/common/Description/index.js +0 -2
  175. package/dist/cjs/f/common/Label/Label.js +18 -26
  176. package/dist/cjs/f/common/Label/index.js +0 -2
  177. package/dist/cjs/f/common/Label/styles.scss +2 -5
  178. package/dist/cjs/f/common/index.js +4 -7
  179. package/dist/cjs/f/fields/{CheckboxInput/CheckboxInput.js → Checkbox/Checkbox.js} +49 -54
  180. package/dist/cjs/f/fields/Checkbox/index.js +13 -0
  181. package/dist/cjs/f/fields/Checkbox/styles.scss +14 -0
  182. package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +23 -43
  183. package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +9 -26
  184. package/dist/cjs/f/fields/ChoicesInput/common/Choice/index.js +0 -2
  185. package/dist/cjs/f/fields/ChoicesInput/common/index.js +0 -1
  186. package/dist/cjs/f/fields/ChoicesInput/index.js +0 -2
  187. package/dist/cjs/f/fields/ChoicesInput/styles.scss +19 -4
  188. package/dist/cjs/f/fields/QueryChoices/QueryChoices.js +142 -0
  189. package/dist/cjs/{c/SiteServices → f/fields/QueryChoices}/index.js +3 -5
  190. package/dist/cjs/f/fields/QueryCombobox/QueryCombobox.js +218 -0
  191. package/dist/cjs/f/fields/QueryCombobox/common/Combobox/Combobox.js +200 -0
  192. package/dist/cjs/f/fields/QueryCombobox/common/Combobox/index.js +13 -0
  193. package/dist/cjs/{c/BlogCategoryButton/BlogCategoryButton.js → f/fields/QueryCombobox/common/Menu/Menu.js} +48 -56
  194. package/dist/cjs/f/fields/QueryCombobox/common/Menu/index.js +13 -0
  195. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +284 -0
  196. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/index.js +13 -0
  197. package/dist/cjs/f/fields/QueryCombobox/common/index.js +26 -0
  198. package/dist/cjs/f/fields/QueryCombobox/index.js +13 -0
  199. package/dist/cjs/f/fields/QueryCombobox/styles.scss +91 -0
  200. package/dist/cjs/f/fields/QuerySelect/QuerySelect.js +192 -0
  201. package/dist/cjs/{c/TeamGallery → f/fields/QuerySelect}/index.js +3 -5
  202. package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +38 -29
  203. package/dist/cjs/f/fields/RatingsInput/common/Rating/Rating.js +18 -29
  204. package/dist/cjs/f/fields/RatingsInput/common/Rating/index.js +0 -2
  205. package/dist/cjs/f/fields/RatingsInput/common/index.js +0 -1
  206. package/dist/cjs/f/fields/RatingsInput/index.js +0 -2
  207. package/dist/cjs/f/fields/RatingsInput/styles.scss +29 -20
  208. package/dist/cjs/f/fields/SelectInput/SelectInput.js +68 -41
  209. package/dist/cjs/f/fields/SelectInput/index.js +0 -2
  210. package/dist/cjs/f/fields/SelectInput/styles.scss +33 -13
  211. package/dist/cjs/f/fields/TextInput/TextInput.js +53 -42
  212. package/dist/cjs/f/fields/TextInput/index.js +0 -2
  213. package/dist/cjs/f/fields/TextInput/styles.scss +16 -7
  214. package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +51 -47
  215. package/dist/cjs/f/fields/TextareaInput/index.js +0 -2
  216. package/dist/cjs/f/fields/TextareaInput/styles.scss +19 -6
  217. package/dist/cjs/f/fields/index.js +27 -28
  218. package/dist/cjs/f/index.js +0 -5
  219. package/dist/cjs/form-reset.scss +1 -1
  220. package/dist/cjs/form.scss +2 -2
  221. package/dist/cjs/index.js +22 -12
  222. package/dist/cjs/r/SwitchRouteMap/SwitchRouteMap.js +6 -22
  223. package/dist/cjs/r/SwitchRouteMap/index.js +0 -2
  224. package/dist/cjs/r/common/PrivateRoute/PrivateRoute.js +12 -24
  225. package/dist/cjs/r/common/PrivateRoute/index.js +0 -2
  226. package/dist/cjs/r/common/index.js +0 -1
  227. package/dist/cjs/r/index.js +0 -3
  228. package/dist/cjs/{c/BlogContext/Context.js → test/QueryLoader/QueryLoader.js} +23 -5
  229. package/dist/cjs/test/QueryLoader/__generated__/QueryLoaderHelloQuery.graphql.js +64 -0
  230. package/dist/cjs/{c/BlogContext/ContextProvider.js → test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js} +15 -37
  231. package/dist/cjs/test/QueryLoader/common/PreloadedTestData/index.js +13 -0
  232. package/dist/cjs/test/QueryLoader/common/index.js +12 -0
  233. package/dist/cjs/test/QueryLoader/index.js +13 -0
  234. package/dist/cjs/{c/TeamGallery/common → test}/index.js +3 -4
  235. package/dist/cjs/utils/hooks/index.js +20 -0
  236. package/dist/cjs/utils/hooks/useDynamicPosition.js +92 -0
  237. package/dist/cjs/utils/hooks/useWindowSize.js +31 -0
  238. package/dist/cjs/utils/index.js +18 -0
  239. package/dist/es/a/Alert/Alert.js +110 -0
  240. package/{src/ui/a/Shapes → dist/es/a/Alert}/index.js +1 -1
  241. package/dist/es/a/Alert/styles.scss +74 -0
  242. package/dist/es/a/AnimatedCounter/AnimatedCounter.js +30 -32
  243. package/dist/es/a/AnimatedCounter/styles.scss +2 -2
  244. package/dist/es/a/{SiteContext → AppContext}/ContextProvider.js +24 -23
  245. package/dist/es/a/AppContext/index.js +5 -0
  246. package/dist/es/a/{SiteContext → AppContext}/useTheme.js +8 -6
  247. package/dist/es/{c/BlogPostsList/BlogPostsList.js → a/BackgroundGradient/BackgroundGradient.js} +25 -25
  248. package/dist/es/a/BackgroundGradient/index.js +2 -0
  249. package/dist/es/a/BackgroundGradient/styles.scss +16 -0
  250. package/dist/es/a/ContentCard/ContentCard.js +14 -16
  251. package/dist/es/a/ContentCard/common/Section/Section.js +20 -21
  252. package/dist/es/a/ContentCard/styles.scss +2 -2
  253. package/dist/es/a/ContentTree/ContentTree.js +64 -0
  254. package/dist/es/a/ContentTree/common/Tree/Tree.js +95 -0
  255. package/dist/es/{c/BlogPostsList/common/Card → a/ContentTree/common/Tree}/index.js +1 -1
  256. package/dist/es/a/ContentTree/common/index.js +3 -0
  257. package/dist/es/a/ContentTree/common/useContentTree.js +73 -0
  258. package/dist/es/a/ContentTree/common/useFirstVisibleNode.js +54 -0
  259. package/dist/es/a/ContentTree/index.js +2 -0
  260. package/dist/es/a/ContentTree/styles.scss +33 -0
  261. package/dist/es/a/Conversation/Conversation.js +27 -26
  262. package/dist/es/a/Conversation/common/Message/Message.js +42 -22
  263. package/dist/es/a/Conversation/styles.scss +134 -35
  264. package/dist/es/a/CustomerLogos/CustomerLogos.js +16 -16
  265. package/dist/es/a/CustomerLogos/styles.scss +2 -2
  266. package/dist/es/a/CustomerStat/CustomerStat.js +16 -19
  267. package/dist/es/a/DashboardNavbar/DashboardNavbar.js +27 -24
  268. package/dist/es/a/DashboardNavbar/common/NavItem/NavItem.js +24 -21
  269. package/dist/es/a/DashboardNavbar/common/NavProfile/NavProfile.js +24 -21
  270. package/dist/es/a/DotInfo/DotInfo.js +19 -23
  271. package/dist/es/a/FeaturedOn/FeaturedOn.js +16 -16
  272. package/dist/es/a/FeaturedOn/styles.scss +2 -2
  273. package/dist/es/a/Figure/Figure.js +17 -19
  274. package/dist/es/a/HamburgerButton/HamburgerButton.js +15 -21
  275. package/dist/es/a/IconList/IconList.js +20 -22
  276. package/dist/es/a/IconList/common/Item/Item.js +26 -26
  277. package/dist/es/a/IconList/styles.scss +1 -1
  278. package/dist/es/a/Label/Label.js +67 -0
  279. package/dist/es/a/{Shapes → Label}/index.js +1 -1
  280. package/dist/es/a/Label/styles.scss +34 -0
  281. package/dist/es/a/LoadingCircle/LoadingCircle.js +17 -21
  282. package/dist/es/a/People/People.js +18 -20
  283. package/dist/es/a/People/common/Person/Person.js +31 -33
  284. package/dist/es/a/People/styles.scss +8 -6
  285. package/dist/es/a/Popover/Popover.js +109 -0
  286. package/{src/ui/a/ContentCard/common/Section → dist/es/a/Popover}/index.js +1 -1
  287. package/dist/es/a/Popover/styles.scss +33 -0
  288. package/dist/es/a/ProgressBar/ProgressBar.js +17 -20
  289. package/dist/es/a/Quote/Quote.js +17 -21
  290. package/dist/es/a/Quote/styles.scss +2 -2
  291. package/dist/es/a/SVG/SVG.js +23 -36
  292. package/dist/es/a/SVG/common/UseSVG/UseSVG.js +23 -26
  293. package/dist/es/{c/SiteFooter/SiteFooter.js → a/SnapScroller/SnapScroller.js} +27 -24
  294. package/dist/es/a/SnapScroller/index.js +2 -0
  295. package/dist/es/a/SnapScroller/styles.scss +38 -0
  296. package/dist/es/a/Spinner/Spinner.js +14 -15
  297. package/dist/es/a/TeamInfo/TeamInfo.js +19 -22
  298. package/dist/es/a/TeamInfo/styles.scss +3 -3
  299. package/dist/es/a/Timestamp/Timestamp.js +24 -31
  300. package/dist/es/a/index.js +13 -17
  301. package/dist/es/b/Button/Button.js +28 -31
  302. package/dist/es/b/Button/styles.scss +65 -19
  303. package/dist/es/b/Card/Card.js +22 -20
  304. package/dist/es/b/Card/common/Group/Group.js +23 -22
  305. package/dist/es/b/Card/common/Group/styles.scss +2 -2
  306. package/dist/es/b/Logo/Logo.js +56 -61
  307. package/dist/es/b/Logo/styles.scss +0 -138
  308. package/dist/es/b/Metrics/Metrics.js +15 -15
  309. package/dist/es/b/Metrics/styles.scss +3 -3
  310. package/dist/es/b/Page/Page.js +20 -24
  311. package/dist/es/b/Page/common/PageHelmet/PageHelmet.js +40 -55
  312. package/dist/es/b/Page/common/Section/Section.js +15 -55
  313. package/dist/es/b/QuestionDropdown/QuestionDropdown.js +20 -25
  314. package/dist/es/b/QuestionDropdown/styles.scss +2 -2
  315. package/dist/es/b/Segment/Segment.js +27 -26
  316. package/dist/es/b/SocialMediaButton/SocialMediaButton.js +23 -31
  317. package/dist/es/b/SocialMediaButton/styles.scss +4 -4
  318. package/dist/es/b/ThemeSelector/ThemeSelector.js +16 -17
  319. package/dist/es/b/Title/Title.js +38 -49
  320. package/dist/es/b/index.js +3 -7
  321. package/dist/es/c/ContentSlides/ContentSlides.js +26 -37
  322. package/dist/es/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +39 -36
  323. package/dist/es/c/ContentSlides/common/Navigator/Navigator.js +25 -32
  324. package/dist/es/c/ContentSlides/common/Sidebar/Sidebar.js +21 -21
  325. package/dist/es/c/ContentSlides/common/Slide/Slide.js +19 -18
  326. package/dist/es/c/ContentSlides/styles.scss +12 -6
  327. package/dist/es/c/Hero/Hero.js +18 -20
  328. package/dist/es/c/Hero/styles.scss +2 -2
  329. package/dist/es/c/Modal/Modal.js +76 -0
  330. package/dist/es/c/Modal/common/ModalHeader/ModalHeader.js +67 -0
  331. package/dist/es/c/Modal/common/ModalHeader/index.js +1 -0
  332. package/dist/es/c/Modal/common/index.js +1 -0
  333. package/dist/es/c/{SiteFooter/common/Section → Modal}/index.js +1 -1
  334. package/dist/es/c/Modal/styles.scss +46 -0
  335. package/dist/es/c/Shortener/Shortener.js +17 -21
  336. package/dist/es/c/SocialMediaShareButton/SocialMediaShareButton.js +98 -0
  337. package/dist/es/c/SocialMediaShareButton/index.js +2 -0
  338. package/dist/es/c/SocialMediaShareButton/styles.scss +39 -0
  339. package/dist/es/c/index.js +3 -2
  340. package/dist/es/f/FormInput/FormInput.js +50 -23
  341. package/dist/es/f/FormInput/styles.scss +11 -0
  342. package/dist/es/f/common/Debugger/Debugger.js +13 -16
  343. package/dist/es/f/common/Description/Description.js +30 -30
  344. package/dist/es/f/common/Label/Label.js +27 -26
  345. package/dist/es/f/common/Label/styles.scss +2 -5
  346. package/dist/es/f/fields/Checkbox/Checkbox.js +93 -0
  347. package/dist/es/{c/BlogPost → f/fields/Checkbox}/index.js +1 -1
  348. package/dist/es/f/fields/Checkbox/styles.scss +14 -0
  349. package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +34 -39
  350. package/dist/es/f/fields/ChoicesInput/common/Choice/Choice.js +24 -31
  351. package/dist/es/f/fields/ChoicesInput/styles.scss +19 -4
  352. package/dist/es/f/fields/QueryChoices/QueryChoices.js +130 -0
  353. package/dist/es/f/fields/QueryChoices/index.js +2 -0
  354. package/dist/es/f/fields/QueryCombobox/QueryCombobox.js +212 -0
  355. package/dist/es/f/fields/QueryCombobox/common/Combobox/Combobox.js +195 -0
  356. package/dist/es/f/fields/QueryCombobox/common/Combobox/index.js +2 -0
  357. package/dist/es/f/fields/QueryCombobox/common/Menu/Menu.js +76 -0
  358. package/dist/es/f/fields/QueryCombobox/common/Menu/index.js +2 -0
  359. package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +275 -0
  360. package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/index.js +2 -0
  361. package/dist/es/f/fields/QueryCombobox/common/index.js +3 -0
  362. package/dist/es/f/fields/QueryCombobox/index.js +2 -0
  363. package/dist/es/f/fields/QueryCombobox/styles.scss +91 -0
  364. package/dist/es/f/fields/QuerySelect/QuerySelect.js +184 -0
  365. package/dist/es/f/fields/QuerySelect/index.js +2 -0
  366. package/dist/es/f/fields/RatingsInput/RatingsInput.js +50 -28
  367. package/dist/es/f/fields/RatingsInput/common/Rating/Rating.js +31 -32
  368. package/dist/es/f/fields/RatingsInput/styles.scss +29 -20
  369. package/dist/es/f/fields/SelectInput/SelectInput.js +78 -38
  370. package/dist/es/f/fields/SelectInput/styles.scss +33 -13
  371. package/dist/es/f/fields/TextInput/TextInput.js +66 -42
  372. package/dist/es/f/fields/TextInput/styles.scss +16 -7
  373. package/dist/es/f/fields/TextareaInput/TextareaInput.js +68 -50
  374. package/dist/es/f/fields/TextareaInput/styles.scss +19 -6
  375. package/dist/es/f/fields/index.js +5 -4
  376. package/dist/es/form-reset.scss +1 -1
  377. package/dist/es/form.scss +2 -2
  378. package/dist/es/index.js +3 -2
  379. package/dist/es/r/SwitchRouteMap/SwitchRouteMap.js +25 -23
  380. package/dist/es/r/common/PrivateRoute/PrivateRoute.js +17 -16
  381. package/dist/es/test/QueryLoader/QueryLoader.js +30 -0
  382. package/dist/es/test/QueryLoader/__generated__/QueryLoaderHelloQuery.graphql.js +64 -0
  383. package/dist/es/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js +31 -0
  384. package/dist/es/test/QueryLoader/common/PreloadedTestData/index.js +2 -0
  385. package/dist/es/test/QueryLoader/common/index.js +1 -0
  386. package/dist/es/test/QueryLoader/index.js +2 -0
  387. package/dist/es/test/index.js +1 -0
  388. package/dist/es/utils/hooks/index.js +2 -0
  389. package/dist/es/utils/hooks/useDynamicPosition.js +84 -0
  390. package/dist/es/utils/hooks/useWindowSize.js +23 -0
  391. package/dist/es/utils/index.js +1 -0
  392. package/jest.config.js +1 -0
  393. package/package.json +31 -21
  394. package/relay.config.js +12 -0
  395. package/src/__snapshots__/Storyshots.test.js.snap +11592 -7278
  396. package/src/local.scss +4 -2
  397. package/src/stories/Introduction.stories.mdx +0 -14
  398. package/src/stories/StyleGuide/Sprites.stories.mdx +25 -0
  399. package/src/stories/StyleGuide/helpers.js +18 -2
  400. package/src/stories/StyleGuide/typography.stories.mdx +0 -1
  401. package/src/stories/a/{SiteContext.stories.jsx → AppContext.stories.jsx} +8 -8
  402. package/src/stories/a/ContentTree.stories.jsx +662 -0
  403. package/src/stories/a/Conversation.stories.jsx +78 -1
  404. package/src/stories/a/DotInfo.stories.jsx +14 -13
  405. package/src/stories/a/Label.stories.jsx +49 -0
  406. package/src/stories/a/Popover.stories.jsx +106 -0
  407. package/src/stories/a/ProgressBar.stories.jsx +16 -7
  408. package/src/stories/a/SnapScroller.stories.jsx +98 -0
  409. package/src/stories/a/Timestamp.stories.jsx +35 -39
  410. package/src/stories/b/Button.stories.jsx +27 -4
  411. package/src/stories/b/Logo.stories.jsx +23 -14
  412. package/src/stories/b/Page.stories.jsx +1 -27
  413. package/src/stories/b/SocialMediaButton.stories.jsx +36 -53
  414. package/src/stories/b/ThemeSelector.stories.jsx +5 -5
  415. package/src/stories/b/Title.stories.jsx +14 -16
  416. package/src/stories/c/ContentSlides.stories.jsx +18 -152
  417. package/src/stories/c/Modal.stories.jsx +67 -0
  418. package/src/stories/c/Shortener.stories.jsx +9 -3
  419. package/src/stories/c/SocialMediaShareButton.stories.jsx +33 -0
  420. package/src/stories/f/Checkbox.stories.jsx +95 -0
  421. package/src/stories/f/ChoicesInput.stories.jsx +100 -128
  422. package/src/stories/f/Description.stories.jsx +22 -4
  423. package/src/stories/f/FormInput.stories.jsx +264 -0
  424. package/src/stories/f/Label.stories.jsx +8 -3
  425. package/src/stories/f/QueryChoices.stories.jsx +135 -0
  426. package/src/stories/f/QueryCombobox.stories.jsx +279 -0
  427. package/src/stories/f/QuerySelect.stories.jsx +142 -0
  428. package/src/stories/f/RatingsInput.stories.jsx +36 -22
  429. package/src/stories/f/SelectInput.stories.jsx +48 -49
  430. package/src/stories/f/TextInput.stories.jsx +70 -43
  431. package/src/stories/f/TextareaInput.stories.jsx +70 -19
  432. package/src/stories/f/__generated__/FormInputAllTaskStatusesQuery.graphql.js +122 -0
  433. package/src/stories/f/__generated__/FormInputAllTeamsQuery.graphql.js +139 -0
  434. package/src/stories/f/__generated__/QueryChoicesAllTaskStatusesQuery.graphql.js +122 -0
  435. package/src/stories/f/__generated__/QueryComboboxAllTeamsQuery.graphql.js +139 -0
  436. package/src/stories/f/__generated__/QuerySelectAllTaskStatusesQuery.graphql.js +122 -0
  437. package/src/stories/r/PrivateRoute.stories.jsx +1 -1
  438. package/src/stories/test/QueryLoader.stories.jsx +36 -0
  439. package/src/stories/utils/generateNodeId.js +12 -0
  440. package/src/stories/utils/lorem.js +15 -0
  441. package/src/stories/utils/relay/EnvironmentProvider.jsx +14 -0
  442. package/src/stories/utils/relay/environment.js +5 -0
  443. package/src/stories/utils/relay/index.js +4 -0
  444. package/src/stories/utils/relay/mockRelayOperation.js +14 -0
  445. package/src/stories/utils/relay/mockResolvers.js +299 -0
  446. package/src/stories/utils/testData.js +63 -0
  447. package/src/ui/a/AnimatedCounter/AnimatedCounter.jsx +1 -1
  448. package/src/ui/a/AnimatedCounter/styles.scss +2 -2
  449. package/src/ui/a/{SiteContext → AppContext}/ContextProvider.jsx +8 -7
  450. package/src/ui/a/AppContext/index.js +5 -0
  451. package/src/ui/{b/Metrics/Metrics.jsx → a/ContentTree/ContentTree.jsx} +23 -28
  452. package/src/ui/a/ContentTree/common/Tree/Tree.jsx +138 -0
  453. package/src/ui/a/ContentTree/common/Tree/index.js +2 -0
  454. package/src/ui/a/ContentTree/common/index.js +3 -0
  455. package/src/ui/a/ContentTree/common/useContentTree.js +83 -0
  456. package/src/ui/a/ContentTree/common/useFirstVisibleNode.js +59 -0
  457. package/src/ui/a/ContentTree/index.js +2 -0
  458. package/src/ui/a/ContentTree/styles.scss +33 -0
  459. package/src/ui/a/Conversation/Conversation.jsx +16 -8
  460. package/src/ui/a/Conversation/common/Message/Message.jsx +39 -7
  461. package/src/ui/a/Conversation/styles.scss +134 -35
  462. package/src/ui/a/DotInfo/DotInfo.jsx +1 -1
  463. package/src/ui/a/Figure/Figure.jsx +1 -1
  464. package/src/ui/a/HamburgerButton/HamburgerButton.jsx +1 -1
  465. package/src/ui/a/IconList/IconList.jsx +1 -1
  466. package/src/ui/a/IconList/common/Item/Item.jsx +1 -1
  467. package/src/ui/a/IconList/styles.scss +1 -1
  468. package/src/ui/a/{CustomerStat/CustomerStat.jsx → Label/Label.jsx} +25 -20
  469. package/src/ui/a/Label/index.js +2 -0
  470. package/src/ui/a/Label/styles.scss +34 -0
  471. package/src/ui/a/LoadingCircle/LoadingCircle.jsx +1 -1
  472. package/src/ui/a/People/People.jsx +1 -1
  473. package/src/ui/a/People/common/Person/Person.jsx +3 -3
  474. package/src/ui/a/People/styles.scss +8 -6
  475. package/src/ui/a/Popover/Popover.jsx +157 -0
  476. package/src/ui/a/Popover/index.js +2 -0
  477. package/src/ui/a/Popover/styles.scss +33 -0
  478. package/src/ui/a/ProgressBar/ProgressBar.jsx +1 -1
  479. package/src/ui/a/Quote/Quote.jsx +1 -1
  480. package/src/ui/a/Quote/styles.scss +2 -2
  481. package/src/ui/a/SVG/SVG.jsx +1 -1
  482. package/src/ui/a/{ContentCard/ContentCard.jsx → SnapScroller/SnapScroller.jsx} +20 -21
  483. package/src/ui/a/SnapScroller/index.js +2 -0
  484. package/src/ui/a/SnapScroller/styles.scss +38 -0
  485. package/src/ui/a/Spinner/Spinner.jsx +1 -1
  486. package/src/ui/a/Timestamp/Timestamp.jsx +1 -1
  487. package/src/ui/a/index.js +14 -21
  488. package/src/ui/b/Button/Button.jsx +10 -2
  489. package/src/ui/b/Button/styles.scss +65 -19
  490. package/src/ui/b/Logo/Logo.jsx +42 -42
  491. package/src/ui/b/Logo/styles.scss +0 -138
  492. package/src/ui/b/Page/Page.jsx +1 -1
  493. package/src/ui/b/Page/common/PageHelmet/PageHelmet.jsx +2 -2
  494. package/src/ui/b/Page/common/Section/Section.jsx +1 -51
  495. package/src/ui/b/SocialMediaButton/SocialMediaButton.jsx +5 -5
  496. package/src/ui/b/SocialMediaButton/styles.scss +4 -4
  497. package/src/ui/b/ThemeSelector/ThemeSelector.jsx +3 -3
  498. package/src/ui/b/Title/Title.jsx +1 -1
  499. package/src/ui/b/index.js +3 -7
  500. package/src/ui/c/ContentSlides/ContentSlides.jsx +1 -1
  501. package/src/ui/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.jsx +13 -6
  502. package/src/ui/c/ContentSlides/common/Navigator/Navigator.jsx +3 -2
  503. package/src/ui/c/ContentSlides/common/Sidebar/Sidebar.jsx +1 -1
  504. package/src/ui/c/ContentSlides/common/Slide/Slide.jsx +1 -1
  505. package/src/ui/c/ContentSlides/styles.scss +12 -6
  506. package/src/ui/c/{Hero/Hero.jsx → Modal/Modal.jsx} +31 -26
  507. package/src/ui/c/Modal/common/ModalHeader/ModalHeader.jsx +89 -0
  508. package/src/ui/c/Modal/common/ModalHeader/index.js +1 -0
  509. package/src/ui/c/Modal/common/index.js +1 -0
  510. package/src/ui/c/Modal/index.js +2 -0
  511. package/src/ui/c/Modal/styles.scss +46 -0
  512. package/src/ui/c/Shortener/Shortener.jsx +1 -1
  513. package/src/ui/c/SocialMediaShareButton/SocialMediaShareButton.jsx +121 -0
  514. package/src/ui/c/SocialMediaShareButton/index.js +2 -0
  515. package/src/ui/c/SocialMediaShareButton/styles.scss +39 -0
  516. package/src/ui/c/index.js +2 -1
  517. package/src/ui/f/FormInput/FormInput.jsx +61 -1
  518. package/src/ui/f/FormInput/styles.scss +11 -0
  519. package/src/ui/f/common/Debugger/Debugger.jsx +1 -1
  520. package/src/ui/f/common/Description/Description.jsx +35 -30
  521. package/src/ui/f/common/Label/Label.jsx +11 -5
  522. package/src/ui/f/common/Label/styles.scss +2 -5
  523. package/src/ui/f/fields/{CheckboxInput/CheckboxInput.jsx → Checkbox/Checkbox.jsx} +44 -33
  524. package/src/ui/f/fields/Checkbox/index.js +2 -0
  525. package/src/ui/f/fields/Checkbox/styles.scss +14 -0
  526. package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +10 -4
  527. package/src/ui/f/fields/ChoicesInput/common/Choice/Choice.jsx +11 -3
  528. package/src/ui/f/fields/ChoicesInput/styles.scss +19 -4
  529. package/src/ui/f/fields/QueryChoices/QueryChoices.jsx +153 -0
  530. package/src/ui/f/fields/QueryChoices/index.js +2 -0
  531. package/src/ui/f/fields/QueryCombobox/QueryCombobox.jsx +240 -0
  532. package/src/ui/f/fields/QueryCombobox/common/Combobox/Combobox.jsx +241 -0
  533. package/src/ui/f/fields/QueryCombobox/common/Combobox/index.js +2 -0
  534. package/src/ui/f/fields/QueryCombobox/common/Menu/Menu.jsx +103 -0
  535. package/src/ui/f/fields/QueryCombobox/common/Menu/index.js +2 -0
  536. package/src/ui/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.jsx +340 -0
  537. package/src/ui/f/fields/QueryCombobox/common/MultipleCombobox/index.js +2 -0
  538. package/src/ui/f/fields/QueryCombobox/common/index.js +3 -0
  539. package/src/ui/f/fields/QueryCombobox/index.js +2 -0
  540. package/src/ui/f/fields/QueryCombobox/styles.scss +91 -0
  541. package/src/ui/f/fields/QuerySelect/QuerySelect.jsx +213 -0
  542. package/src/ui/f/fields/QuerySelect/index.js +2 -0
  543. package/src/ui/f/fields/RatingsInput/RatingsInput.jsx +55 -20
  544. package/src/ui/f/fields/RatingsInput/common/Rating/Rating.jsx +9 -3
  545. package/src/ui/f/fields/RatingsInput/styles.scss +29 -20
  546. package/src/ui/f/fields/SelectInput/SelectInput.jsx +73 -9
  547. package/src/ui/f/fields/SelectInput/styles.scss +33 -13
  548. package/src/ui/f/fields/TextInput/TextInput.jsx +45 -11
  549. package/src/ui/f/fields/TextInput/styles.scss +16 -7
  550. package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +50 -22
  551. package/src/ui/f/fields/TextareaInput/styles.scss +19 -6
  552. package/src/ui/f/fields/index.js +4 -3
  553. package/src/ui/form-reset.scss +1 -1
  554. package/src/ui/form.scss +2 -2
  555. package/src/ui/index.js +2 -0
  556. package/src/ui/test/QueryLoader/QueryLoader.jsx +41 -0
  557. package/src/ui/test/QueryLoader/__generated__/QueryLoaderHelloQuery.graphql.js +68 -0
  558. package/src/ui/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.jsx +51 -0
  559. package/src/ui/test/QueryLoader/common/PreloadedTestData/index.js +2 -0
  560. package/src/ui/test/QueryLoader/common/index.js +1 -0
  561. package/src/ui/test/QueryLoader/index.js +2 -0
  562. package/src/ui/test/index.js +1 -0
  563. package/src/ui/utils/hooks/index.js +2 -0
  564. package/src/ui/utils/hooks/useDynamicPosition.js +104 -0
  565. package/src/ui/utils/hooks/useWindowSize.js +32 -0
  566. package/src/ui/utils/index.js +1 -0
  567. package/stylelint.config.js +1 -43
  568. package/.githooks/pre-commit +0 -5
  569. package/.github/workflows/push-main-branches.yaml +0 -89
  570. package/.github/workflows/push-pr.yaml +0 -83
  571. package/.github/workflows.old/push-production.yaml +0 -34
  572. package/.github/workflows.old/push-staging.yaml +0 -34
  573. package/.github/workflows.old/test-publish.no +0 -63
  574. package/.github/workflows.old/test-publish.yaml +0 -68
  575. package/dist/cjs/a/GradientBackground/GradientBackground.js +0 -140
  576. package/dist/cjs/a/GradientBackground/index.js +0 -15
  577. package/dist/cjs/a/GradientBackground/styles.scss +0 -191
  578. package/dist/cjs/a/OvalIllustration/OvalIllustration.js +0 -102
  579. package/dist/cjs/a/OvalIllustration/index.js +0 -15
  580. package/dist/cjs/a/OvalIllustration/styles.scss +0 -105
  581. package/dist/cjs/a/Shapes/Shapes.js +0 -163
  582. package/dist/cjs/a/Shapes/styles.scss +0 -221
  583. package/dist/cjs/c/AcceptCookies/index.js +0 -15
  584. package/dist/cjs/c/AcceptCookies/styles.scss +0 -49
  585. package/dist/cjs/c/BlogCategoryButton/index.js +0 -15
  586. package/dist/cjs/c/BlogContext/BlogContextProvider.js +0 -63
  587. package/dist/cjs/c/BlogContext/index.js +0 -31
  588. package/dist/cjs/c/BlogContext/useBlog.js +0 -16
  589. package/dist/cjs/c/BlogPost/BlogPost.js +0 -147
  590. package/dist/cjs/c/BlogPost/styles.scss +0 -33
  591. package/dist/cjs/c/BlogPostsList/common/Card/Card.js +0 -170
  592. package/dist/cjs/c/BlogPostsList/common/index.js +0 -13
  593. package/dist/cjs/c/BlogPostsList/index.js +0 -15
  594. package/dist/cjs/c/BlogPostsList/styles.scss +0 -72
  595. package/dist/cjs/c/SiteFooter/common/Section/Section.js +0 -95
  596. package/dist/cjs/c/SiteFooter/index.js +0 -15
  597. package/dist/cjs/c/SiteFooter/styles.scss +0 -34
  598. package/dist/cjs/c/SiteHeaderCTA/SiteHeaderCTA.js +0 -108
  599. package/dist/cjs/c/SiteHeaderCTA/index.js +0 -15
  600. package/dist/cjs/c/SiteHeaderCTA/styles.scss +0 -44
  601. package/dist/cjs/c/SiteMission/SiteMission.js +0 -113
  602. package/dist/cjs/c/SiteMission/styles.scss +0 -30
  603. package/dist/cjs/c/SiteNavigation/SiteNavigation.js +0 -130
  604. package/dist/cjs/c/SiteNavigation/index.js +0 -15
  605. package/dist/cjs/c/SiteNavigation/styles.scss +0 -118
  606. package/dist/cjs/c/SiteOnboardingStep/SiteOnboardingStep.js +0 -98
  607. package/dist/cjs/c/SiteOnboardingStep/index.js +0 -15
  608. package/dist/cjs/c/SiteOnboardingStep/styles.scss +0 -51
  609. package/dist/cjs/c/SitePricing/SitePricing.js +0 -108
  610. package/dist/cjs/c/SitePricing/styles.scss +0 -73
  611. package/dist/cjs/c/SiteServices/SiteServices.js +0 -211
  612. package/dist/cjs/c/SiteServices/styles.scss +0 -138
  613. package/dist/cjs/c/TeamGallery/common/PersonCard/index.js +0 -15
  614. package/dist/cjs/c/TeamGallery/styles.scss +0 -100
  615. package/dist/cjs/c/Testimonials/Testimonials.js +0 -119
  616. package/dist/cjs/c/Testimonials/index.js +0 -15
  617. package/dist/cjs/c/Testimonials/styles.scss +0 -112
  618. package/dist/cjs/experimental/GradientBackground/index.js +0 -15
  619. package/dist/cjs/experimental/GradientBackground/styles.scss +0 -64
  620. package/dist/cjs/experimental/index.js +0 -13
  621. package/dist/cjs/f/fields/CheckboxInput/index.js +0 -15
  622. package/dist/cjs/f/fields/CheckboxInput/styles.scss +0 -28
  623. package/dist/cjs/f/fields/RadioInput/index.js +0 -15
  624. package/dist/cjs/f/fields/RadioInput/styles.scss +0 -26
  625. package/dist/cjs/f/fields/TaskRecommendation/TaskRecommendation.js +0 -129
  626. package/dist/cjs/f/fields/TaskRecommendation/index.js +0 -15
  627. package/dist/cjs/f/fields/TaskRecommendation/styles.scss +0 -37
  628. package/dist/cjs/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +0 -131
  629. package/dist/cjs/f/fields/TaskRecommendationInput/index.js +0 -15
  630. package/dist/cjs/f/fields/TaskRecommendationInput/styles.scss +0 -41
  631. package/dist/cjs/f/fields/TextArea/TextArea.js +0 -141
  632. package/dist/cjs/f/fields/TextArea/index.js +0 -15
  633. package/dist/cjs/f/fields/TextArea/styles.scss +0 -19
  634. package/dist/es/a/GradientBackground/GradientBackground.js +0 -118
  635. package/dist/es/a/GradientBackground/index.js +0 -2
  636. package/dist/es/a/GradientBackground/styles.scss +0 -191
  637. package/dist/es/a/OvalIllustration/OvalIllustration.js +0 -86
  638. package/dist/es/a/OvalIllustration/index.js +0 -2
  639. package/dist/es/a/OvalIllustration/styles.scss +0 -105
  640. package/dist/es/a/Shapes/Shapes.js +0 -141
  641. package/dist/es/a/Shapes/styles.scss +0 -221
  642. package/dist/es/a/SiteContext/index.js +0 -5
  643. package/dist/es/c/AcceptCookies/AcceptCookies.js +0 -117
  644. package/dist/es/c/AcceptCookies/index.js +0 -2
  645. package/dist/es/c/AcceptCookies/styles.scss +0 -49
  646. package/dist/es/c/BlogCategoryButton/BlogCategoryButton.js +0 -68
  647. package/dist/es/c/BlogCategoryButton/index.js +0 -2
  648. package/dist/es/c/BlogContext/BlogContextProvider.js +0 -45
  649. package/dist/es/c/BlogContext/Context.js +0 -2
  650. package/dist/es/c/BlogContext/ContextProvider.js +0 -45
  651. package/dist/es/c/BlogContext/index.js +0 -4
  652. package/dist/es/c/BlogContext/useBlog.js +0 -3
  653. package/dist/es/c/BlogPost/BlogPost.js +0 -128
  654. package/dist/es/c/BlogPost/styles.scss +0 -33
  655. package/dist/es/c/BlogPostsList/common/Card/Card.js +0 -143
  656. package/dist/es/c/BlogPostsList/common/index.js +0 -1
  657. package/dist/es/c/BlogPostsList/index.js +0 -2
  658. package/dist/es/c/BlogPostsList/styles.scss +0 -72
  659. package/dist/es/c/SiteFooter/common/Section/Section.js +0 -73
  660. package/dist/es/c/SiteFooter/common/index.js +0 -1
  661. package/dist/es/c/SiteFooter/index.js +0 -2
  662. package/dist/es/c/SiteFooter/styles.scss +0 -34
  663. package/dist/es/c/SiteHeaderCTA/SiteHeaderCTA.js +0 -92
  664. package/dist/es/c/SiteHeaderCTA/index.js +0 -2
  665. package/dist/es/c/SiteHeaderCTA/styles.scss +0 -44
  666. package/dist/es/c/SiteMission/SiteMission.js +0 -96
  667. package/dist/es/c/SiteMission/index.js +0 -2
  668. package/dist/es/c/SiteMission/styles.scss +0 -30
  669. package/dist/es/c/SiteNavigation/SiteNavigation.js +0 -111
  670. package/dist/es/c/SiteNavigation/index.js +0 -2
  671. package/dist/es/c/SiteNavigation/styles.scss +0 -118
  672. package/dist/es/c/SiteOnboardingStep/SiteOnboardingStep.js +0 -81
  673. package/dist/es/c/SiteOnboardingStep/index.js +0 -2
  674. package/dist/es/c/SiteOnboardingStep/styles.scss +0 -51
  675. package/dist/es/c/SitePricing/SitePricing.js +0 -91
  676. package/dist/es/c/SitePricing/index.js +0 -2
  677. package/dist/es/c/SitePricing/styles.scss +0 -73
  678. package/dist/es/c/SiteServices/SiteServices.js +0 -195
  679. package/dist/es/c/SiteServices/index.js +0 -2
  680. package/dist/es/c/SiteServices/styles.scss +0 -138
  681. package/dist/es/c/TeamGallery/TeamGallery.js +0 -64
  682. package/dist/es/c/TeamGallery/common/PersonCard/PersonCard.js +0 -64
  683. package/dist/es/c/TeamGallery/common/PersonCard/index.js +0 -2
  684. package/dist/es/c/TeamGallery/common/index.js +0 -1
  685. package/dist/es/c/TeamGallery/index.js +0 -2
  686. package/dist/es/c/TeamGallery/styles.scss +0 -100
  687. package/dist/es/c/Testimonials/Testimonials.js +0 -99
  688. package/dist/es/c/Testimonials/index.js +0 -2
  689. package/dist/es/c/Testimonials/styles.scss +0 -112
  690. package/dist/es/experimental/GradientBackground/GradientBackground.js +0 -76
  691. package/dist/es/experimental/GradientBackground/index.js +0 -2
  692. package/dist/es/experimental/GradientBackground/styles.scss +0 -64
  693. package/dist/es/experimental/index.js +0 -1
  694. package/dist/es/f/fields/CheckboxInput/CheckboxInput.js +0 -85
  695. package/dist/es/f/fields/CheckboxInput/index.js +0 -2
  696. package/dist/es/f/fields/CheckboxInput/styles.scss +0 -28
  697. package/dist/es/f/fields/RadioInput/RadioInput.js +0 -90
  698. package/dist/es/f/fields/RadioInput/index.js +0 -2
  699. package/dist/es/f/fields/RadioInput/styles.scss +0 -26
  700. package/dist/es/f/fields/TaskRecommendation/TaskRecommendation.js +0 -111
  701. package/dist/es/f/fields/TaskRecommendation/index.js +0 -2
  702. package/dist/es/f/fields/TaskRecommendation/styles.scss +0 -37
  703. package/dist/es/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +0 -111
  704. package/dist/es/f/fields/TaskRecommendationInput/index.js +0 -2
  705. package/dist/es/f/fields/TaskRecommendationInput/styles.scss +0 -41
  706. package/dist/es/f/fields/TextArea/TextArea.js +0 -124
  707. package/dist/es/f/fields/TextArea/index.js +0 -2
  708. package/dist/es/f/fields/TextArea/styles.scss +0 -19
  709. package/scripts/postinstall.js +0 -1
  710. package/scripts/upgrade.sh +0 -10
  711. package/src/stories/a/ContentCard.stories.jsx +0 -158
  712. package/src/stories/a/CustomerLogos.stories.jsx +0 -35
  713. package/src/stories/a/CustomerStat.stories.jsx +0 -22
  714. package/src/stories/a/DashboardNavbar.stories.jsx +0 -57
  715. package/src/stories/a/FeaturedOn.stories.jsx +0 -33
  716. package/src/stories/a/OvalIllustration.stories.jsx +0 -36
  717. package/src/stories/a/Shapes.stories.jsx +0 -125
  718. package/src/stories/a/TeamInfo.stories.jsx +0 -31
  719. package/src/stories/b/Card.stories.jsx +0 -36
  720. package/src/stories/b/Metrics.stories.jsx +0 -62
  721. package/src/stories/b/QuestionDropdown.stories.jsx +0 -62
  722. package/src/stories/b/Segment.stories.jsx +0 -34
  723. package/src/stories/c/Hero.stories.jsx +0 -46
  724. package/src/stories/f/CheckboxInput.stories.jsx +0 -37
  725. package/src/stories/f/RadioInput.stories.jsx +0 -37
  726. package/src/stories/f/TaskRecommendationInput.stories.jsx +0 -38
  727. package/src/ui/a/ContentCard/common/Section/Section.jsx +0 -79
  728. package/src/ui/a/ContentCard/common/index.js +0 -1
  729. package/src/ui/a/ContentCard/index.js +0 -2
  730. package/src/ui/a/ContentCard/styles.scss +0 -78
  731. package/src/ui/a/CustomerLogos/CustomerLogos.jsx +0 -92
  732. package/src/ui/a/CustomerLogos/index.js +0 -2
  733. package/src/ui/a/CustomerLogos/styles.scss +0 -41
  734. package/src/ui/a/CustomerStat/index.js +0 -2
  735. package/src/ui/a/CustomerStat/styles.scss +0 -16
  736. package/src/ui/a/DashboardNavbar/DashboardNavbar.jsx +0 -74
  737. package/src/ui/a/DashboardNavbar/common/NavItem/NavItem.jsx +0 -64
  738. package/src/ui/a/DashboardNavbar/common/NavItem/index.js +0 -2
  739. package/src/ui/a/DashboardNavbar/common/NavItem/styles.scss +0 -9
  740. package/src/ui/a/DashboardNavbar/common/NavProfile/NavProfile.jsx +0 -64
  741. package/src/ui/a/DashboardNavbar/common/NavProfile/index.js +0 -2
  742. package/src/ui/a/DashboardNavbar/common/NavProfile/styles.scss +0 -9
  743. package/src/ui/a/DashboardNavbar/common/index.js +0 -2
  744. package/src/ui/a/DashboardNavbar/index.js +0 -2
  745. package/src/ui/a/DashboardNavbar/styles.scss +0 -14
  746. package/src/ui/a/FeaturedOn/FeaturedOn.jsx +0 -95
  747. package/src/ui/a/FeaturedOn/index.js +0 -2
  748. package/src/ui/a/FeaturedOn/styles.scss +0 -41
  749. package/src/ui/a/OvalIllustration/OvalIllustration.jsx +0 -108
  750. package/src/ui/a/OvalIllustration/index.js +0 -2
  751. package/src/ui/a/OvalIllustration/styles.scss +0 -105
  752. package/src/ui/a/Shapes/Shapes.jsx +0 -181
  753. package/src/ui/a/Shapes/styles.scss +0 -221
  754. package/src/ui/a/SiteContext/index.js +0 -5
  755. package/src/ui/a/TeamInfo/TeamInfo.jsx +0 -99
  756. package/src/ui/a/TeamInfo/index.js +0 -2
  757. package/src/ui/a/TeamInfo/styles.scss +0 -58
  758. package/src/ui/b/Card/Card.jsx +0 -63
  759. package/src/ui/b/Card/common/Group/Group.jsx +0 -70
  760. package/src/ui/b/Card/common/Group/index.js +0 -2
  761. package/src/ui/b/Card/common/Group/styles.scss +0 -61
  762. package/src/ui/b/Card/common/index.js +0 -1
  763. package/src/ui/b/Card/index.js +0 -2
  764. package/src/ui/b/Card/styles.scss +0 -12
  765. package/src/ui/b/Metrics/index.js +0 -2
  766. package/src/ui/b/Metrics/styles.scss +0 -91
  767. package/src/ui/b/QuestionDropdown/QuestionDropdown.jsx +0 -112
  768. package/src/ui/b/QuestionDropdown/index.js +0 -2
  769. package/src/ui/b/QuestionDropdown/styles.scss +0 -95
  770. package/src/ui/b/Segment/Segment.jsx +0 -78
  771. package/src/ui/b/Segment/index.js +0 -2
  772. package/src/ui/b/Segment/styles.scss +0 -26
  773. package/src/ui/c/Hero/index.js +0 -2
  774. package/src/ui/c/Hero/styles.scss +0 -41
  775. package/src/ui/f/fields/CheckboxInput/index.js +0 -2
  776. package/src/ui/f/fields/CheckboxInput/styles.scss +0 -28
  777. package/src/ui/f/fields/RadioInput/RadioInput.jsx +0 -112
  778. package/src/ui/f/fields/RadioInput/index.js +0 -2
  779. package/src/ui/f/fields/RadioInput/styles.scss +0 -26
  780. package/src/ui/f/fields/TaskRecommendationInput/TaskRecommendationInput.jsx +0 -130
  781. package/src/ui/f/fields/TaskRecommendationInput/index.js +0 -2
  782. package/src/ui/f/fields/TaskRecommendationInput/styles.scss +0 -41
  783. /package/dist/es/a/{SiteContext → AppContext}/Context.js +0 -0
  784. /package/dist/es/a/{SiteContext/useSite.js → AppContext/useApp.js} +0 -0
  785. /package/src/ui/a/{SiteContext → AppContext}/Context.js +0 -0
  786. /package/src/ui/a/{SiteContext/useSite.js → AppContext/useApp.js} +0 -0
  787. /package/src/ui/a/{SiteContext → AppContext}/useTheme.js +0 -0
@@ -4,32 +4,25 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var React = _interopRequireWildcard(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
- var _bem = _interopRequireDefault(require("@pareto-engineering/bem"));
13
-
9
+ var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
14
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
17
-
18
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
19
-
20
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
-
11
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
12
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
15
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
22
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
-
24
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
-
26
18
  // Local Definitions
27
- var baseClassName = _bem.default.base;
19
+
20
+ var baseClassName = _exports.default.base;
28
21
  var componentClassName = 'progress-bar';
22
+
29
23
  /**
30
24
  * This is the component description. This takes the color x = indigo.
31
25
  */
32
-
33
26
  var ProgressBar = _ref => {
34
27
  var {
35
28
  id,
@@ -38,21 +31,21 @@ var ProgressBar = _ref => {
38
31
  attached,
39
32
  color,
40
33
  progress,
41
- height // ...otherProps
42
-
34
+ height
35
+ // ...otherProps
43
36
  } = _ref;
44
37
  (0, React.useLayoutEffect)(() => {
45
38
  Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
46
39
  }, []);
47
40
  return /*#__PURE__*/React.createElement("div", {
48
41
  id: id,
49
- className: [baseClassName, componentClassName, attached && _bem.default.modifierAttached, color && "x-".concat(color), userClassName].filter(e => e).join(' '),
42
+ className: [baseClassName, componentClassName, attached && _exports.default.modifierAttached, color && "x-".concat(color), userClassName].filter(e => e).join(' '),
50
43
  style: _objectSpread({
51
44
  '--progress': progress,
52
45
  '--height': height
53
46
  }, style),
54
- "data-length": "50%" // {...otherProps}
55
-
47
+ "data-length": "50%"
48
+ // {...otherProps}
56
49
  });
57
50
  };
58
51
 
@@ -61,32 +54,26 @@ ProgressBar.propTypes = {
61
54
  * The HTML id for this element
62
55
  */
63
56
  id: _propTypes.default.string,
64
-
65
57
  /**
66
58
  * The HTML class names for this element
67
59
  */
68
60
  className: _propTypes.default.string,
69
-
70
61
  /**
71
62
  * The React-written, css properties for this element.
72
63
  */
73
64
  style: _propTypes.default.objectOf(_propTypes.default.string),
74
-
75
65
  /**
76
66
  * The color of the logo
77
67
  */
78
68
  color: _propTypes.default.string,
79
-
80
69
  /**
81
70
  * Whether the progress bar is attached to another element
82
71
  */
83
72
  attached: _propTypes.default.bool,
84
-
85
73
  /**
86
74
  * The current progress
87
75
  */
88
76
  progress: _propTypes.default.number.isRequired,
89
-
90
77
  /**
91
78
  * The height of the progress bar as a CSS value. 1em by default.
92
79
  */
@@ -9,7 +9,5 @@ Object.defineProperty(exports, "ProgressBar", {
9
9
  return _ProgressBar.default;
10
10
  }
11
11
  });
12
-
13
12
  var _ProgressBar = _interopRequireDefault(require("./ProgressBar"));
14
-
15
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -4,26 +4,20 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var React = _interopRequireWildcard(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
- var _bem = _interopRequireDefault(require("@pareto-engineering/bem"));
13
-
9
+ var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
14
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
11
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
-
18
12
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
-
20
13
  // Local Definitions
21
- var baseClassName = _bem.default.base;
14
+
15
+ var baseClassName = _exports.default.base;
22
16
  var componentClassName = 'quote';
17
+
23
18
  /**
24
19
  * This is the component description.
25
20
  */
26
-
27
21
  var Quote = _ref => {
28
22
  var {
29
23
  id,
@@ -32,8 +26,8 @@ var Quote = _ref => {
32
26
  children,
33
27
  source,
34
28
  author,
35
- color // ...otherProps
36
-
29
+ color
30
+ // ...otherProps
37
31
  } = _ref;
38
32
  (0, React.useLayoutEffect)(() => {
39
33
  Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
@@ -41,8 +35,8 @@ var Quote = _ref => {
41
35
  return /*#__PURE__*/React.createElement("figure", {
42
36
  id: id,
43
37
  className: [baseClassName, componentClassName, userClassName, "x-".concat(color)].filter(e => e).join(' '),
44
- style: style // {...otherProps}
45
-
38
+ style: style
39
+ // {...otherProps}
46
40
  }, /*#__PURE__*/React.createElement("blockquote", {
47
41
  cite: source,
48
42
  className: "blockquote uc"
@@ -52,38 +46,31 @@ var Quote = _ref => {
52
46
  className: "figcaption"
53
47
  }, /*#__PURE__*/React.createElement("cite", null, author)));
54
48
  };
55
-
56
49
  Quote.propTypes = {
57
50
  /**
58
51
  * The HTML id for this element
59
52
  */
60
53
  id: _propTypes.default.string,
61
-
62
54
  /**
63
55
  * The HTML class names for this element
64
56
  */
65
57
  className: _propTypes.default.string,
66
-
67
58
  /**
68
59
  * The React-written, css properties for this element.
69
60
  */
70
61
  style: _propTypes.default.objectOf(_propTypes.default.string),
71
-
72
62
  /**
73
63
  * The children jsx
74
64
  */
75
65
  children: _propTypes.default.node.isRequired,
76
-
77
66
  /**
78
67
  * A URL for the source of the quotation
79
68
  */
80
69
  source: _propTypes.default.string,
81
-
82
70
  /**
83
71
  * text representation of the source
84
72
  */
85
73
  author: _propTypes.default.string,
86
-
87
74
  /**
88
75
  * The color of the quotation text
89
76
  */
@@ -9,7 +9,5 @@ Object.defineProperty(exports, "Quote", {
9
9
  return _Quote.default;
10
10
  }
11
11
  });
12
-
13
12
  var _Quote = _interopRequireDefault(require("./Quote"));
14
-
15
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -1,7 +1,7 @@
1
1
  /* @pareto-engineering/generator-front 1.0.12 */
2
2
  @use "@pareto-engineering/bem";
3
- @use "@aztlan/stylebook/src/mixins";
4
- @use "@aztlan/stylebook/src/globals" as *;
3
+ @use "@pareto-engineering/styles/src/mixins";
4
+ @use "@pareto-engineering/styles/src/globals" as *;
5
5
 
6
6
 
7
7
  .#{bem.$base}.quote{
@@ -4,52 +4,39 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var React = _interopRequireWildcard(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
- var _bem = _interopRequireDefault(require("@pareto-engineering/bem"));
13
-
9
+ var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
14
10
  var _common = require("./common");
15
-
16
11
  var _excluded = ["id", "className", "style", "width", "height", "viewBox", "preserveAspectRatio", "useClassName", "sprite", "target", "targets", "source", "strokeWidth", "animated"];
17
-
18
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
-
20
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
-
13
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
14
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
-
24
15
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
-
26
16
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
27
-
28
17
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
29
-
30
18
  // Local Definitions
31
- var baseClassName = _bem.default.base;
32
- var componentClassName = 'svg';
33
19
 
20
+ var baseClassName = _exports.default.base;
21
+ var componentClassName = 'svg';
34
22
  var SVG = _ref => {
35
23
  var {
36
- id,
37
- className: userClassName,
38
- style,
39
- width,
40
- height,
41
- viewBox,
42
- preserveAspectRatio,
43
- useClassName,
44
- sprite,
45
- target,
46
- targets,
47
- source,
48
- strokeWidth,
49
- animated
50
- } = _ref,
51
- otherProps = _objectWithoutProperties(_ref, _excluded);
52
-
24
+ id,
25
+ className: userClassName,
26
+ style,
27
+ width,
28
+ height,
29
+ viewBox,
30
+ preserveAspectRatio,
31
+ useClassName,
32
+ sprite,
33
+ target,
34
+ targets,
35
+ source,
36
+ strokeWidth,
37
+ animated
38
+ } = _ref,
39
+ otherProps = _objectWithoutProperties(_ref, _excluded);
53
40
  (0, React.useLayoutEffect)(() => {
54
41
  Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
55
42
  });
@@ -61,7 +48,7 @@ var SVG = _ref => {
61
48
  strokeWidth
62
49
  }), [useClassName, source, target, strokeWidth, sprite]);
63
50
  return /*#__PURE__*/React.createElement("svg", _extends({
64
- className: [baseClassName, componentClassName, userClassName, animated && _bem.default.modifierAnimated].filter(e => e).join(' '),
51
+ className: [baseClassName, componentClassName, userClassName, animated && _exports.default.modifierAnimated].filter(e => e).join(' '),
65
52
  id: id,
66
53
  style: style,
67
54
  xmlns: "http://www.w3.org/2000/svg",
@@ -74,58 +61,47 @@ var SVG = _ref => {
74
61
  key: targetProps.target
75
62
  }))) : /*#__PURE__*/React.createElement(_common.UseSVG, useSVGProps));
76
63
  };
77
-
78
64
  SVG.propTypes = {
79
65
  /**
80
66
  * The HTML id for this element
81
67
  */
82
68
  id: _propTypes.default.string,
83
-
84
69
  /**
85
70
  * The HTML class names for this element
86
71
  */
87
72
  className: _propTypes.default.string,
88
-
89
73
  /**
90
74
  * The React-written, css properties for this element.
91
75
  */
92
76
  style: _propTypes.default.objectOf(_propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number])),
93
-
94
77
  /**
95
78
  * The height of the element
96
79
  */
97
80
  height: _propTypes.default.string,
98
-
99
81
  /**
100
82
  * The width of the element
101
83
  */
102
84
  width: _propTypes.default.string,
103
-
104
85
  /**
105
86
  * The viewBox property of the svg html container
106
87
  */
107
88
  viewBox: _propTypes.default.string,
108
-
109
89
  /**
110
90
  * The class to apply to the target's use tag
111
91
  */
112
92
  useClassName: _propTypes.default.string,
113
-
114
93
  /**
115
94
  * The preserverveAspectRatio property of the svg html container
116
95
  */
117
96
  preserveAspectRatio: _propTypes.default.string,
118
-
119
97
  /**
120
98
  * The url to the sprite
121
99
  */
122
100
  sprite: _propTypes.default.string,
123
-
124
101
  /**
125
102
  * The id of the target in the sprite
126
103
  */
127
104
  target: _propTypes.default.string,
128
-
129
105
  /**
130
106
  * In case this is not a sprite but a standalone svg.
131
107
  * Not recommended here, better use Figure.
@@ -135,7 +111,6 @@ SVG.propTypes = {
135
111
  * TODO remove and also from UseSVG
136
112
  */
137
113
  source: _propTypes.default.string,
138
-
139
114
  /**
140
115
  * An array of targets
141
116
  */
@@ -145,12 +120,10 @@ SVG.propTypes = {
145
120
  stroke: _propTypes.default.boolean,
146
121
  strokeWidth: _propTypes.default.number
147
122
  })),
148
-
149
123
  /**
150
124
  * The SVG property stroke-width to apply in case of a single target
151
125
  */
152
126
  strokeWidth: _propTypes.default.number,
153
-
154
127
  /**
155
128
  * Whether to apply an animation class (C.anim)
156
129
  */
@@ -4,23 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var React = _interopRequireWildcard(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
10
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
-
16
11
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
-
18
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
19
-
20
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
21
-
22
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
23
-
12
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
13
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
14
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
16
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
24
17
  /**
25
18
  * This component is used internally by the `SVG` component
26
19
  * to leverage the `use` tag and read svg sprites.
@@ -46,39 +39,32 @@ var UseSVG = _ref => {
46
39
  id: id
47
40
  });
48
41
  };
49
-
50
42
  UseSVG.propTypes = {
51
43
  /**
52
44
  * The HTML id for this element
53
45
  */
54
46
  id: _propTypes.default.string,
55
-
56
47
  /**
57
48
  * The HTML class names for this element
58
49
  */
59
50
  className: _propTypes.default.string,
60
-
61
51
  /**
62
52
  * The React-written, css properties for this element.
63
53
  */
64
54
  style: _propTypes.default.objectOf(_propTypes.default.string),
65
-
66
55
  /**
67
56
  * The url to the svg sprite, from the root of the site, for instance : `/myimage.svg`
68
57
  */
69
58
  sprite: _propTypes.default.string,
70
-
71
59
  /**
72
60
  * The target image id in the sprite
73
61
  */
74
62
  target: _propTypes.default.string,
75
-
76
63
  /**
77
64
  * The source image in case this is not a sprite
78
65
  */
79
66
  // TODO check if this works
80
67
  source: _propTypes.default.string,
81
-
82
68
  /**
83
69
  * The SVG property stroke-width
84
70
  */
@@ -9,7 +9,5 @@ Object.defineProperty(exports, "UseSVG", {
9
9
  return _UseSVG.default;
10
10
  }
11
11
  });
12
-
13
12
  var _UseSVG = _interopRequireDefault(require("./UseSVG"));
14
-
15
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -9,5 +9,4 @@ Object.defineProperty(exports, "UseSVG", {
9
9
  return _UseSVG.UseSVG;
10
10
  }
11
11
  });
12
-
13
12
  var _UseSVG = require("./UseSVG");
@@ -9,7 +9,5 @@ Object.defineProperty(exports, "SVG", {
9
9
  return _SVG.default;
10
10
  }
11
11
  });
12
-
13
12
  var _SVG = _interopRequireDefault(require("./SVG"));
14
-
15
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -4,70 +4,63 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var React = _interopRequireWildcard(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
- var _bem = _interopRequireDefault(require("@pareto-engineering/bem"));
13
-
14
- var _common = require("./common");
15
-
9
+ var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
16
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
11
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
-
20
12
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
-
22
13
  // Local Definitions
23
- var baseClassName = _bem.default.base;
24
- var componentClassName = 'blog-posts-list';
14
+
15
+ var baseClassName = _exports.default.base;
16
+ var componentClassName = 'snap-scroller';
17
+
25
18
  /**
26
19
  * This is the component description.
27
20
  */
28
-
29
- var BlogPostsList = _ref => {
21
+ var SnapScroller = _ref => {
30
22
  var {
31
23
  id,
32
24
  className: userClassName,
33
25
  style,
34
- children // ...otherProps
35
-
26
+ children,
27
+ noScrollOnDesktop
28
+ // ...otherProps
36
29
  } = _ref;
37
30
  (0, React.useLayoutEffect)(() => {
38
31
  Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
39
32
  }, []);
40
33
  return /*#__PURE__*/React.createElement("div", {
41
34
  id: id,
42
- className: [baseClassName, componentClassName, userClassName, 'u1'].filter(e => e).join(' '),
43
- style: style // {...otherProps}
44
-
35
+ className: [baseClassName, componentClassName, userClassName, noScrollOnDesktop && 'desktop-no-scroll'].filter(e => e).join(' '),
36
+ style: style
37
+ // {...otherProps}
45
38
  }, children);
46
39
  };
47
-
48
- BlogPostsList.propTypes = {
40
+ SnapScroller.propTypes = {
49
41
  /**
50
42
  * The HTML id for this element
51
43
  */
52
44
  id: _propTypes.default.string,
53
-
54
45
  /**
55
46
  * The HTML class names for this element
56
47
  */
57
48
  className: _propTypes.default.string,
58
-
59
49
  /**
60
50
  * The React-written, css properties for this element.
61
51
  */
62
52
  style: _propTypes.default.objectOf(_propTypes.default.string),
63
-
64
53
  /**
65
54
  * The children JSX
66
55
  */
67
- children: _propTypes.default.node
56
+ children: _propTypes.default.node,
57
+ /**
58
+ * Whether to snap scroll on desktop (false will enable a flexbox)
59
+ */
60
+ noScrollOnDesktop: _propTypes.default.bool
68
61
  };
69
- BlogPostsList.defaultProps = {// someProp:false
62
+ SnapScroller.defaultProps = {
63
+ noScrollOnDesktop: false
70
64
  };
71
- BlogPostsList.Card = _common.Card;
72
- var _default = BlogPostsList;
65
+ var _default = SnapScroller;
73
66
  exports.default = _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "SnapScroller", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _SnapScroller.default;
10
+ }
11
+ });
12
+ var _SnapScroller = _interopRequireDefault(require("./SnapScroller"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -0,0 +1,38 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+
3
+ @use "@pareto-engineering/bem";
4
+ @use "@pareto-engineering/styles/src/mixins";
5
+ @use "@pareto-engineering/styles/src/globals" as *;
6
+
7
+ $default-spacing:var(--spacing, var(--u));
8
+
9
+ .#{bem.$base}.snap-scroller {
10
+ display: flex;
11
+ -ms-overflow-style: none; /* for Internet Explorer, Edge */
12
+ overflow-x: auto;
13
+ scroll-padding: calc(#{$default-spacing} *2);
14
+ scroll-snap-type: x mandatory;
15
+ scrollbar-width: none;
16
+
17
+
18
+ > * {
19
+ &:first-child {
20
+ margin-left: $default-spacing;
21
+ }
22
+ display: inline-block;
23
+ margin-right: $default-spacing;
24
+ scroll-snap-align: start;
25
+ }
26
+
27
+
28
+ @include mixins.media($from:$sm-md) {
29
+ &.desktop-no-scroll {
30
+ overflow: auto;
31
+ -ms-overflow-style: unset; /* for Internet Explorer, Edge */
32
+ scroll-snap-type: none;
33
+ scrollbar-width: unset;
34
+ }
35
+ }
36
+ }
37
+
38
+