@pareto-engineering/design-system 3.0.0-alpha.29 → 4.0.0-alpha.11

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 (495) hide show
  1. package/.storybook/main.js +25 -63
  2. package/.storybook/preview.js +26 -9
  3. package/.storybook/webpackFinal.js +68 -0
  4. package/babel.config.js +25 -48
  5. package/dist/cjs/a/{AnimatedCounter/AnimatedCounter.js → AnimatedBlobs/AnimatedBlobs.js} +41 -56
  6. package/dist/cjs/a/AnimatedBlobs/index.js +13 -0
  7. package/dist/cjs/a/AnimatedBlobs/styles.scss +87 -0
  8. package/dist/cjs/a/AnimatedGradient/AnimatedGradient.js +56 -0
  9. package/dist/cjs/a/AnimatedGradient/index.js +13 -0
  10. package/dist/cjs/a/AnimatedGradient/styles.scss +14 -0
  11. package/dist/cjs/a/AnimatedGradient/webGIRenderer.js +528 -0
  12. package/dist/cjs/a/AppContext/Context.js +1 -1
  13. package/dist/cjs/a/AppContext/ContextProvider.js +19 -15
  14. package/dist/cjs/a/AppContext/index.js +4 -4
  15. package/dist/cjs/a/AppContext/useTheme.js +7 -7
  16. package/dist/cjs/a/ContentTree/ContentTree.js +8 -8
  17. package/dist/cjs/a/ContentTree/common/Tree/Tree.js +12 -12
  18. package/dist/cjs/a/ContentTree/common/Tree/index.js +1 -1
  19. package/dist/cjs/a/ContentTree/common/index.js +3 -3
  20. package/dist/cjs/a/ContentTree/common/useContentTree.js +14 -14
  21. package/dist/cjs/a/ContentTree/common/useFirstVisibleNode.js +10 -11
  22. package/dist/cjs/a/ContentTree/index.js +1 -1
  23. package/dist/cjs/a/ContentTree/styles.scss +20 -20
  24. package/dist/cjs/a/Conversation/Context.js +1 -1
  25. package/dist/cjs/a/Conversation/Conversation.js +7 -7
  26. package/dist/cjs/a/Conversation/common/Message/Message.js +8 -8
  27. package/dist/cjs/a/Conversation/common/Message/index.js +1 -1
  28. package/dist/cjs/a/Conversation/common/index.js +1 -1
  29. package/dist/cjs/a/Conversation/index.js +3 -3
  30. package/dist/cjs/a/Conversation/styles.scss +1 -0
  31. package/dist/cjs/a/DotInfo/DotInfo.js +11 -15
  32. package/dist/cjs/a/DotInfo/index.js +1 -1
  33. package/dist/cjs/a/Figure/Figure.js +6 -6
  34. package/dist/cjs/a/Figure/index.js +1 -1
  35. package/dist/cjs/a/HamburgerButton/HamburgerButton.js +17 -20
  36. package/dist/cjs/a/HamburgerButton/index.js +1 -1
  37. package/dist/cjs/a/IconList/IconList.js +19 -26
  38. package/dist/cjs/a/IconList/common/Item/Item.js +17 -24
  39. package/dist/cjs/a/IconList/common/Item/index.js +1 -1
  40. package/dist/cjs/a/IconList/common/index.js +1 -1
  41. package/dist/cjs/a/IconList/index.js +1 -1
  42. package/dist/cjs/a/Label/Label.js +19 -11
  43. package/dist/cjs/a/Label/index.js +1 -1
  44. package/dist/cjs/a/Label/styles.scss +22 -21
  45. package/dist/cjs/a/LoadingCircle/LoadingCircle.js +11 -15
  46. package/dist/cjs/a/LoadingCircle/index.js +1 -1
  47. package/dist/cjs/a/LoadingCircle/styles.scss +35 -37
  48. package/dist/cjs/a/MetaCard/MetaCard.js +60 -0
  49. package/dist/cjs/a/MetaCard/index.js +13 -0
  50. package/dist/cjs/a/MetaCard/styles.scss +30 -0
  51. package/dist/cjs/a/People/People.js +9 -13
  52. package/dist/cjs/a/People/common/Person/Person.js +7 -7
  53. package/dist/cjs/a/People/common/Person/index.js +1 -1
  54. package/dist/cjs/a/People/common/index.js +1 -1
  55. package/dist/cjs/a/People/index.js +1 -1
  56. package/dist/cjs/a/People/styles.scss +4 -4
  57. package/dist/cjs/a/Popover/Popover.js +10 -10
  58. package/dist/cjs/a/Popover/index.js +1 -1
  59. package/dist/cjs/a/Popover/styles.scss +4 -3
  60. package/dist/cjs/a/ProgressBar/ProgressBar.js +11 -15
  61. package/dist/cjs/a/ProgressBar/index.js +1 -1
  62. package/dist/cjs/a/Quote/Quote.js +7 -7
  63. package/dist/cjs/a/Quote/index.js +1 -1
  64. package/dist/cjs/a/Quote/styles.scss +41 -38
  65. package/dist/cjs/a/SVG/SVG.js +23 -26
  66. package/dist/cjs/a/SVG/common/UseSVG/UseSVG.js +9 -11
  67. package/dist/cjs/a/SVG/common/UseSVG/index.js +1 -1
  68. package/dist/cjs/a/SVG/common/index.js +1 -1
  69. package/dist/cjs/a/SVG/index.js +1 -1
  70. package/dist/cjs/a/SnapScroller/SnapScroller.js +6 -6
  71. package/dist/cjs/a/SnapScroller/index.js +1 -1
  72. package/dist/cjs/a/SnapScroller/styles.scss +22 -12
  73. package/dist/cjs/a/Spinner/Spinner.js +7 -7
  74. package/dist/cjs/a/Spinner/index.js +1 -1
  75. package/dist/cjs/a/TextSteps/TextSteps.js +70 -0
  76. package/dist/cjs/a/TextSteps/index.js +13 -0
  77. package/dist/cjs/a/TextSteps/styles.scss +29 -0
  78. package/dist/cjs/a/Timestamp/Timestamp.js +12 -12
  79. package/dist/cjs/a/Timestamp/index.js +1 -1
  80. package/dist/cjs/a/Tip/Tip.js +72 -0
  81. package/dist/cjs/a/Tip/index.js +13 -0
  82. package/dist/cjs/a/Tip/styles.scss +22 -0
  83. package/dist/cjs/a/index.js +53 -25
  84. package/dist/cjs/b/Button/Button.js +28 -26
  85. package/dist/cjs/b/Button/common/Group/Group.js +57 -0
  86. package/dist/cjs/b/Button/common/Group/index.js +13 -0
  87. package/dist/cjs/b/Button/common/Group/styles.scss +11 -0
  88. package/dist/cjs/b/Button/common/index.js +12 -0
  89. package/dist/cjs/b/Button/index.js +1 -1
  90. package/dist/cjs/b/Button/styles.scss +9 -2
  91. package/dist/cjs/b/Card/Card.js +74 -0
  92. package/dist/cjs/b/Card/common/Group/Group.js +73 -0
  93. package/dist/cjs/b/Card/common/Group/index.js +13 -0
  94. package/dist/cjs/b/Card/common/Group/styles.scss +42 -0
  95. package/dist/cjs/b/Card/common/Section/Section.js +59 -0
  96. package/dist/cjs/b/Card/common/Section/index.js +13 -0
  97. package/dist/cjs/b/Card/common/index.js +19 -0
  98. package/dist/cjs/b/Card/index.js +13 -0
  99. package/dist/cjs/b/Card/styles.scss +46 -0
  100. package/dist/cjs/b/Logo/Logo.js +13 -13
  101. package/dist/cjs/b/Logo/index.js +1 -1
  102. package/dist/cjs/b/Logo/styles.scss +4 -2
  103. package/dist/cjs/b/Page/Context.js +1 -1
  104. package/dist/cjs/b/Page/Page.js +25 -21
  105. package/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +41 -45
  106. package/dist/cjs/b/Page/common/PageHelmet/index.js +1 -1
  107. package/dist/cjs/b/Page/common/Section/Section.js +25 -18
  108. package/dist/cjs/b/Page/common/Section/index.js +1 -1
  109. package/dist/cjs/b/Page/common/index.js +2 -2
  110. package/dist/cjs/b/Page/index.js +3 -3
  111. package/dist/cjs/b/Page/styles.scss +29 -7
  112. package/dist/cjs/b/SocialMediaButton/SocialMediaButton.js +21 -25
  113. package/dist/cjs/b/SocialMediaButton/index.js +1 -1
  114. package/dist/cjs/b/SocialMediaButton/styles.scss +2 -16
  115. package/dist/cjs/b/ThemeSelector/ThemeSelector.js +9 -9
  116. package/dist/cjs/b/ThemeSelector/index.js +1 -1
  117. package/dist/cjs/b/Title/Title.js +9 -6
  118. package/dist/cjs/b/Title/index.js +1 -1
  119. package/dist/cjs/b/index.js +14 -7
  120. package/dist/cjs/c/ContentSlides/ContentSlides.js +33 -30
  121. package/dist/cjs/c/ContentSlides/Context.js +1 -1
  122. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +8 -8
  123. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/index.js +1 -1
  124. package/dist/cjs/c/ContentSlides/common/Navigator/Navigator.js +7 -7
  125. package/dist/cjs/c/ContentSlides/common/Navigator/index.js +1 -1
  126. package/dist/cjs/c/ContentSlides/common/Sidebar/Sidebar.js +5 -5
  127. package/dist/cjs/c/ContentSlides/common/Sidebar/index.js +1 -1
  128. package/dist/cjs/c/ContentSlides/common/Slide/Slide.js +6 -6
  129. package/dist/cjs/c/ContentSlides/common/Slide/index.js +1 -1
  130. package/dist/cjs/c/ContentSlides/common/index.js +4 -4
  131. package/dist/cjs/c/ContentSlides/index.js +3 -3
  132. package/dist/cjs/c/ContentSlides/styles.scss +2 -4
  133. package/dist/cjs/c/Modal/Modal.js +6 -6
  134. package/dist/cjs/c/Modal/common/ModalHeader/ModalHeader.js +5 -5
  135. package/dist/cjs/c/Modal/common/ModalHeader/index.js +1 -1
  136. package/dist/cjs/c/Modal/common/index.js +1 -1
  137. package/dist/cjs/c/Modal/index.js +1 -1
  138. package/dist/cjs/c/Modal/styles.scss +9 -6
  139. package/dist/cjs/c/Shortener/Shortener.js +10 -10
  140. package/dist/cjs/c/Shortener/index.js +1 -1
  141. package/dist/cjs/c/SocialMediaShareButton/SocialMediaShareButton.js +12 -12
  142. package/dist/cjs/c/SocialMediaShareButton/index.js +1 -1
  143. package/dist/cjs/c/SocialMediaShareButton/styles.scss +3 -3
  144. package/dist/cjs/c/index.js +5 -5
  145. package/dist/cjs/f/FormInput/FormInput.js +14 -17
  146. package/dist/cjs/f/FormInput/index.js +1 -1
  147. package/dist/cjs/f/FormInput/styles.scss +4 -4
  148. package/dist/cjs/f/common/Debugger/Debugger.js +8 -8
  149. package/dist/cjs/f/common/Debugger/index.js +1 -1
  150. package/dist/cjs/f/common/Description/Description.js +8 -8
  151. package/dist/cjs/f/common/Description/index.js +1 -1
  152. package/dist/cjs/f/common/Label/Label.js +7 -7
  153. package/dist/cjs/f/common/Label/index.js +1 -1
  154. package/dist/cjs/f/common/Label/styles.scss +1 -1
  155. package/dist/cjs/f/common/index.js +3 -3
  156. package/dist/cjs/f/fields/Checkbox/Checkbox.js +7 -7
  157. package/dist/cjs/f/fields/Checkbox/index.js +1 -1
  158. package/dist/cjs/f/fields/Checkbox/styles.scss +9 -8
  159. package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +26 -22
  160. package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +7 -7
  161. package/dist/cjs/f/fields/ChoicesInput/common/Choice/index.js +1 -1
  162. package/dist/cjs/f/fields/ChoicesInput/common/index.js +1 -1
  163. package/dist/cjs/f/fields/ChoicesInput/index.js +1 -1
  164. package/dist/cjs/f/fields/ChoicesInput/styles.scss +23 -35
  165. package/dist/cjs/f/fields/QueryChoices/QueryChoices.js +25 -30
  166. package/dist/cjs/f/fields/QueryChoices/index.js +1 -1
  167. package/dist/cjs/f/fields/QueryCombobox/QueryCombobox.js +20 -22
  168. package/dist/cjs/f/fields/QueryCombobox/common/Combobox/Combobox.js +12 -12
  169. package/dist/cjs/f/fields/QueryCombobox/common/Combobox/index.js +1 -1
  170. package/dist/cjs/f/fields/QueryCombobox/common/Menu/Menu.js +14 -17
  171. package/dist/cjs/f/fields/QueryCombobox/common/Menu/index.js +1 -1
  172. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +22 -26
  173. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/index.js +1 -1
  174. package/dist/cjs/f/fields/QueryCombobox/common/index.js +3 -3
  175. package/dist/cjs/f/fields/QueryCombobox/index.js +1 -1
  176. package/dist/cjs/f/fields/QueryCombobox/styles.scss +60 -59
  177. package/dist/cjs/f/fields/QuerySelect/QuerySelect.js +11 -11
  178. package/dist/cjs/f/fields/QuerySelect/index.js +1 -1
  179. package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +9 -9
  180. package/dist/cjs/f/fields/RatingsInput/common/Rating/Rating.js +7 -7
  181. package/dist/cjs/f/fields/RatingsInput/common/Rating/index.js +1 -1
  182. package/dist/cjs/f/fields/RatingsInput/common/index.js +1 -1
  183. package/dist/cjs/f/fields/RatingsInput/index.js +1 -1
  184. package/dist/cjs/f/fields/RatingsInput/styles.scss +8 -9
  185. package/dist/cjs/f/fields/SelectInput/SelectInput.js +12 -12
  186. package/dist/cjs/f/fields/SelectInput/index.js +1 -1
  187. package/dist/cjs/f/fields/SelectInput/styles.scss +33 -23
  188. package/dist/cjs/f/fields/TextInput/TextInput.js +12 -10
  189. package/dist/cjs/f/fields/TextInput/index.js +1 -1
  190. package/dist/cjs/f/fields/TextInput/styles.scss +27 -18
  191. package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +8 -8
  192. package/dist/cjs/f/fields/TextareaInput/index.js +1 -1
  193. package/dist/cjs/f/fields/TextareaInput/styles.scss +7 -6
  194. package/dist/cjs/f/fields/index.js +9 -9
  195. package/dist/cjs/f/index.js +3 -3
  196. package/dist/cjs/index.js +8 -8
  197. package/dist/cjs/r/SwitchRouteMap/SwitchRouteMap.js +7 -10
  198. package/dist/cjs/r/SwitchRouteMap/index.js +1 -1
  199. package/dist/cjs/r/common/PrivateRoute/PrivateRoute.js +13 -16
  200. package/dist/cjs/r/common/PrivateRoute/index.js +1 -1
  201. package/dist/cjs/r/common/index.js +1 -1
  202. package/dist/cjs/r/index.js +2 -2
  203. package/dist/cjs/test/QueryLoader/QueryLoader.js +4 -4
  204. package/dist/cjs/test/QueryLoader/__generated__/QueryLoaderHelloQuery.graphql.js +1 -1
  205. package/dist/cjs/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js +4 -4
  206. package/dist/cjs/test/QueryLoader/common/PreloadedTestData/index.js +1 -1
  207. package/dist/cjs/test/QueryLoader/common/index.js +1 -1
  208. package/dist/cjs/test/QueryLoader/index.js +1 -1
  209. package/dist/cjs/test/index.js +1 -1
  210. package/dist/cjs/utils/hooks/index.js +2 -2
  211. package/dist/cjs/utils/hooks/useDynamicPosition.js +24 -24
  212. package/dist/cjs/utils/hooks/useWindowSize.js +6 -6
  213. package/dist/cjs/utils/index.js +2 -2
  214. package/dist/es/a/AnimatedBlobs/AnimatedBlobs.js +82 -0
  215. package/dist/es/a/AnimatedBlobs/index.js +1 -0
  216. package/dist/es/a/AnimatedBlobs/styles.scss +87 -0
  217. package/dist/es/a/AnimatedGradient/AnimatedGradient.js +48 -0
  218. package/dist/es/a/AnimatedGradient/index.js +1 -0
  219. package/dist/es/a/AnimatedGradient/styles.scss +14 -0
  220. package/dist/es/a/AnimatedGradient/webGIRenderer.js +492 -0
  221. package/dist/es/a/AppContext/ContextProvider.js +7 -8
  222. package/dist/es/a/AppContext/useTheme.js +1 -2
  223. package/dist/es/a/ContentTree/ContentTree.js +11 -12
  224. package/dist/es/a/ContentTree/common/Tree/Tree.js +8 -9
  225. package/dist/es/a/ContentTree/styles.scss +20 -20
  226. package/dist/es/a/Conversation/Conversation.js +13 -14
  227. package/dist/es/a/Conversation/common/Message/Message.js +12 -13
  228. package/dist/es/a/Conversation/styles.scss +1 -0
  229. package/dist/es/a/DotInfo/DotInfo.js +13 -14
  230. package/dist/es/a/Figure/Figure.js +10 -11
  231. package/dist/es/a/HamburgerButton/HamburgerButton.js +12 -13
  232. package/dist/es/a/IconList/IconList.js +11 -12
  233. package/dist/es/a/IconList/common/Item/Item.js +17 -20
  234. package/dist/es/a/Label/Label.js +22 -15
  235. package/dist/es/a/Label/styles.scss +22 -21
  236. package/dist/es/a/LoadingCircle/LoadingCircle.js +12 -13
  237. package/dist/es/a/LoadingCircle/styles.scss +35 -37
  238. package/dist/es/a/MetaCard/MetaCard.js +52 -0
  239. package/dist/es/a/MetaCard/index.js +1 -0
  240. package/dist/es/a/MetaCard/styles.scss +30 -0
  241. package/dist/es/a/People/People.js +11 -12
  242. package/dist/es/a/People/common/Person/Person.js +24 -27
  243. package/dist/es/a/People/styles.scss +4 -4
  244. package/dist/es/a/Popover/Popover.js +17 -18
  245. package/dist/es/a/Popover/styles.scss +4 -3
  246. package/dist/es/a/ProgressBar/ProgressBar.js +12 -13
  247. package/dist/es/a/Quote/Quote.js +12 -13
  248. package/dist/es/a/Quote/styles.scss +41 -38
  249. package/dist/es/a/SVG/SVG.js +19 -20
  250. package/dist/es/a/SVG/common/UseSVG/UseSVG.js +19 -22
  251. package/dist/es/a/SnapScroller/SnapScroller.js +10 -11
  252. package/dist/es/a/SnapScroller/styles.scss +22 -12
  253. package/dist/es/a/Spinner/Spinner.js +9 -10
  254. package/dist/es/a/TextSteps/TextSteps.js +61 -0
  255. package/dist/es/a/TextSteps/index.js +1 -0
  256. package/dist/es/a/TextSteps/styles.scss +29 -0
  257. package/dist/es/a/Timestamp/Timestamp.js +16 -17
  258. package/dist/es/a/Tip/Tip.js +64 -0
  259. package/dist/es/a/Tip/index.js +2 -0
  260. package/dist/es/a/Tip/styles.scss +22 -0
  261. package/dist/es/a/index.js +6 -2
  262. package/dist/es/b/Button/Button.js +25 -20
  263. package/dist/es/b/Button/common/Group/Group.js +49 -0
  264. package/dist/es/b/Button/common/Group/index.js +1 -0
  265. package/dist/es/b/Button/common/Group/styles.scss +11 -0
  266. package/dist/es/b/Button/common/index.js +1 -0
  267. package/dist/es/b/Button/styles.scss +9 -2
  268. package/dist/es/b/Card/Card.js +66 -0
  269. package/dist/es/b/Card/common/Group/Group.js +65 -0
  270. package/dist/es/b/Card/common/Group/index.js +1 -0
  271. package/dist/es/b/Card/common/Group/styles.scss +42 -0
  272. package/dist/es/b/Card/common/Section/Section.js +48 -0
  273. package/dist/es/b/Card/common/Section/index.js +1 -0
  274. package/dist/es/b/Card/common/index.js +2 -0
  275. package/dist/es/b/Card/index.js +1 -0
  276. package/dist/es/b/Card/styles.scss +46 -0
  277. package/dist/es/b/Logo/Logo.js +14 -15
  278. package/dist/es/b/Logo/styles.scss +4 -2
  279. package/dist/es/b/Page/Page.js +21 -15
  280. package/dist/es/b/Page/common/PageHelmet/PageHelmet.js +9 -11
  281. package/dist/es/b/Page/common/Section/Section.js +19 -10
  282. package/dist/es/b/Page/styles.scss +29 -7
  283. package/dist/es/b/SocialMediaButton/SocialMediaButton.js +13 -14
  284. package/dist/es/b/SocialMediaButton/styles.scss +2 -16
  285. package/dist/es/b/ThemeSelector/ThemeSelector.js +10 -11
  286. package/dist/es/b/Title/Title.js +22 -19
  287. package/dist/es/b/index.js +2 -1
  288. package/dist/es/c/ContentSlides/ContentSlides.js +15 -18
  289. package/dist/es/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +11 -12
  290. package/dist/es/c/ContentSlides/common/Navigator/Navigator.js +14 -15
  291. package/dist/es/c/ContentSlides/common/Sidebar/Sidebar.js +8 -9
  292. package/dist/es/c/ContentSlides/common/Slide/Slide.js +8 -9
  293. package/dist/es/c/ContentSlides/styles.scss +2 -4
  294. package/dist/es/c/Modal/Modal.js +12 -13
  295. package/dist/es/c/Modal/common/ModalHeader/ModalHeader.js +20 -23
  296. package/dist/es/c/Modal/styles.scss +9 -6
  297. package/dist/es/c/Shortener/Shortener.js +13 -14
  298. package/dist/es/c/SocialMediaShareButton/SocialMediaShareButton.js +11 -12
  299. package/dist/es/c/SocialMediaShareButton/styles.scss +3 -3
  300. package/dist/es/f/FormInput/FormInput.js +9 -10
  301. package/dist/es/f/FormInput/styles.scss +4 -4
  302. package/dist/es/f/common/Debugger/Debugger.js +9 -10
  303. package/dist/es/f/common/Description/Description.js +11 -12
  304. package/dist/es/f/common/Label/Label.js +13 -14
  305. package/dist/es/f/common/Label/styles.scss +1 -1
  306. package/dist/es/f/fields/Checkbox/Checkbox.js +13 -14
  307. package/dist/es/f/fields/Checkbox/styles.scss +9 -8
  308. package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +33 -26
  309. package/dist/es/f/fields/ChoicesInput/common/Choice/Choice.js +13 -14
  310. package/dist/es/f/fields/ChoicesInput/styles.scss +23 -35
  311. package/dist/es/f/fields/QueryChoices/QueryChoices.js +16 -20
  312. package/dist/es/f/fields/QueryCombobox/QueryCombobox.js +29 -33
  313. package/dist/es/f/fields/QueryCombobox/common/Combobox/Combobox.js +22 -24
  314. package/dist/es/f/fields/QueryCombobox/common/Menu/Menu.js +22 -25
  315. package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +24 -26
  316. package/dist/es/f/fields/QueryCombobox/styles.scss +60 -59
  317. package/dist/es/f/fields/QuerySelect/QuerySelect.js +24 -28
  318. package/dist/es/f/fields/RatingsInput/RatingsInput.js +18 -19
  319. package/dist/es/f/fields/RatingsInput/common/Rating/Rating.js +15 -16
  320. package/dist/es/f/fields/RatingsInput/styles.scss +8 -9
  321. package/dist/es/f/fields/SelectInput/SelectInput.js +20 -21
  322. package/dist/es/f/fields/SelectInput/styles.scss +33 -23
  323. package/dist/es/f/fields/TextInput/TextInput.js +24 -23
  324. package/dist/es/f/fields/TextInput/styles.scss +27 -18
  325. package/dist/es/f/fields/TextareaInput/TextareaInput.js +22 -23
  326. package/dist/es/f/fields/TextareaInput/styles.scss +7 -6
  327. package/dist/es/r/SwitchRouteMap/SwitchRouteMap.js +15 -21
  328. package/dist/es/r/common/PrivateRoute/PrivateRoute.js +6 -7
  329. package/dist/es/test/QueryLoader/QueryLoader.js +1 -1
  330. package/dist/es/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js +5 -6
  331. package/dist/es/utils/hooks/useDynamicPosition.js +9 -10
  332. package/dist/es/utils/hooks/useWindowSize.js +1 -2
  333. package/jest.config.js +5 -5
  334. package/package.json +44 -82
  335. package/src/stories/a/MetaCard.stories.jsx +35 -0
  336. package/src/stories/a/TextSteps.stories.jsx +19 -0
  337. package/src/stories/a/Tip.stories.jsx +28 -0
  338. package/src/stories/b/{Button.stories.jsx → Button/Button.stories.jsx} +15 -0
  339. package/src/stories/b/Button/Group.stories.jsx +35 -0
  340. package/src/stories/b/Card/Card.stories.jsx +59 -0
  341. package/src/stories/b/Card/Group.stories.jsx +59 -0
  342. package/src/stories/b/Page.stories.jsx +21 -4
  343. package/src/stories/colors.js +6 -6
  344. package/src/stories/f/SelectInput.stories.jsx +7 -0
  345. package/src/stories/f/TextInput.stories.jsx +4 -4
  346. package/src/stories/original/Button.jsx +55 -0
  347. package/src/stories/original/Button.stories.js +39 -0
  348. package/src/stories/original/Header.jsx +64 -0
  349. package/src/stories/original/Header.stories.js +22 -0
  350. package/src/stories/original/Introduction.mdx +211 -0
  351. package/src/stories/original/Page.jsx +76 -0
  352. package/src/stories/original/Page.stories.js +26 -0
  353. package/src/stories/original/assets/code-brackets.svg +1 -0
  354. package/src/stories/original/assets/colors.svg +1 -0
  355. package/src/stories/original/assets/comments.svg +1 -0
  356. package/src/stories/original/assets/direction.svg +1 -0
  357. package/src/stories/original/assets/flow.svg +1 -0
  358. package/src/stories/original/assets/plugin.svg +1 -0
  359. package/src/stories/original/assets/repo.svg +1 -0
  360. package/src/stories/original/assets/stackalt.svg +1 -0
  361. package/src/stories/original/button.css +30 -0
  362. package/src/stories/original/header.css +32 -0
  363. package/src/stories/original/page.css +69 -0
  364. package/src/ui/a/AnimatedBlobs/AnimatedBlobs.jsx +102 -0
  365. package/src/ui/a/AnimatedBlobs/index.js +1 -0
  366. package/src/ui/a/AnimatedBlobs/styles.scss +87 -0
  367. package/src/ui/a/AnimatedGradient/AnimatedGradient.jsx +69 -0
  368. package/src/ui/a/AnimatedGradient/index.js +1 -0
  369. package/src/ui/a/AnimatedGradient/styles.scss +14 -0
  370. package/src/ui/a/AnimatedGradient/webGIRenderer.js +541 -0
  371. package/src/ui/a/ContentTree/ContentTree.jsx +3 -3
  372. package/src/ui/a/ContentTree/styles.scss +20 -20
  373. package/src/ui/a/Conversation/Conversation.jsx +2 -2
  374. package/src/ui/a/Conversation/styles.scss +1 -0
  375. package/src/ui/a/DotInfo/DotInfo.jsx +2 -2
  376. package/src/ui/a/Figure/Figure.jsx +2 -2
  377. package/src/ui/a/HamburgerButton/HamburgerButton.jsx +2 -2
  378. package/src/ui/a/IconList/IconList.jsx +2 -2
  379. package/src/ui/a/Label/Label.jsx +13 -4
  380. package/src/ui/a/Label/styles.scss +22 -21
  381. package/src/ui/a/LoadingCircle/LoadingCircle.jsx +2 -2
  382. package/src/ui/a/LoadingCircle/styles.scss +35 -37
  383. package/src/ui/a/MetaCard/MetaCard.jsx +74 -0
  384. package/src/ui/a/MetaCard/index.js +1 -0
  385. package/src/ui/a/MetaCard/styles.scss +30 -0
  386. package/src/ui/a/People/People.jsx +2 -2
  387. package/src/ui/a/People/styles.scss +4 -4
  388. package/src/ui/a/Popover/Popover.jsx +3 -3
  389. package/src/ui/a/Popover/styles.scss +4 -3
  390. package/src/ui/a/ProgressBar/ProgressBar.jsx +2 -2
  391. package/src/ui/a/Quote/Quote.jsx +2 -2
  392. package/src/ui/a/Quote/styles.scss +41 -38
  393. package/src/ui/a/SVG/SVG.jsx +2 -2
  394. package/src/ui/a/SnapScroller/SnapScroller.jsx +2 -2
  395. package/src/ui/a/SnapScroller/styles.scss +22 -12
  396. package/src/ui/a/Spinner/Spinner.jsx +2 -2
  397. package/src/ui/a/TextSteps/TextSteps.jsx +87 -0
  398. package/src/ui/a/TextSteps/index.js +1 -0
  399. package/src/ui/a/TextSteps/styles.scss +29 -0
  400. package/src/ui/a/Timestamp/Timestamp.jsx +2 -2
  401. package/src/ui/a/Tip/Tip.jsx +88 -0
  402. package/src/ui/a/Tip/index.js +2 -0
  403. package/src/ui/a/Tip/styles.scss +22 -0
  404. package/src/ui/a/index.js +5 -1
  405. package/src/ui/b/Button/Button.jsx +14 -5
  406. package/src/ui/b/Button/common/Group/Group.jsx +71 -0
  407. package/src/ui/b/Button/common/Group/index.js +1 -0
  408. package/src/ui/b/Button/common/Group/styles.scss +11 -0
  409. package/src/ui/b/Button/common/index.js +1 -0
  410. package/src/ui/b/Button/styles.scss +9 -2
  411. package/src/ui/b/Card/Card.jsx +94 -0
  412. package/src/ui/b/Card/common/Group/Group.jsx +91 -0
  413. package/src/ui/b/Card/common/Group/index.js +1 -0
  414. package/src/ui/b/Card/common/Group/styles.scss +42 -0
  415. package/src/ui/b/Card/common/Section/Section.jsx +70 -0
  416. package/src/ui/b/Card/common/Section/index.js +1 -0
  417. package/src/ui/b/Card/common/index.js +2 -0
  418. package/src/ui/b/Card/index.js +1 -0
  419. package/src/ui/b/Card/styles.scss +46 -0
  420. package/src/ui/b/Logo/Logo.jsx +2 -2
  421. package/src/ui/b/Logo/styles.scss +4 -2
  422. package/src/ui/b/Page/Page.jsx +9 -3
  423. package/src/ui/b/Page/common/PageHelmet/PageHelmet.jsx +1 -1
  424. package/src/ui/b/Page/common/Section/Section.jsx +16 -1
  425. package/src/ui/b/Page/styles.scss +29 -7
  426. package/src/ui/b/SocialMediaButton/SocialMediaButton.jsx +2 -2
  427. package/src/ui/b/SocialMediaButton/styles.scss +2 -16
  428. package/src/ui/b/ThemeSelector/ThemeSelector.jsx +2 -2
  429. package/src/ui/b/Title/Title.jsx +30 -23
  430. package/src/ui/b/index.js +1 -0
  431. package/src/ui/c/ContentSlides/ContentSlides.jsx +3 -3
  432. package/src/ui/c/ContentSlides/styles.scss +2 -4
  433. package/src/ui/c/Modal/Modal.jsx +2 -2
  434. package/src/ui/c/Modal/styles.scss +9 -6
  435. package/src/ui/c/Shortener/Shortener.jsx +2 -2
  436. package/src/ui/c/SocialMediaShareButton/SocialMediaShareButton.jsx +2 -2
  437. package/src/ui/c/SocialMediaShareButton/styles.scss +3 -3
  438. package/src/ui/f/FormInput/FormInput.jsx +2 -2
  439. package/src/ui/f/FormInput/styles.scss +4 -4
  440. package/src/ui/f/common/Debugger/Debugger.jsx +2 -2
  441. package/src/ui/f/common/Description/Description.jsx +2 -2
  442. package/src/ui/f/common/Label/Label.jsx +2 -2
  443. package/src/ui/f/common/Label/styles.scss +1 -1
  444. package/src/ui/f/fields/Checkbox/Checkbox.jsx +2 -2
  445. package/src/ui/f/fields/Checkbox/styles.scss +9 -8
  446. package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +12 -7
  447. package/src/ui/f/fields/ChoicesInput/styles.scss +23 -35
  448. package/src/ui/f/fields/QueryCombobox/QueryCombobox.jsx +2 -2
  449. package/src/ui/f/fields/QueryCombobox/styles.scss +60 -59
  450. package/src/ui/f/fields/RatingsInput/RatingsInput.jsx +2 -2
  451. package/src/ui/f/fields/RatingsInput/styles.scss +8 -9
  452. package/src/ui/f/fields/SelectInput/SelectInput.jsx +4 -4
  453. package/src/ui/f/fields/SelectInput/styles.scss +33 -23
  454. package/src/ui/f/fields/TextInput/TextInput.jsx +13 -11
  455. package/src/ui/f/fields/TextInput/styles.scss +27 -18
  456. package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +2 -2
  457. package/src/ui/f/fields/TextareaInput/styles.scss +7 -6
  458. package/src/ui/test/QueryLoader/QueryLoader.jsx +1 -1
  459. package/{src → tests}/__snapshots__/Storyshots.test.js.snap +3426 -1617
  460. package/tests/staticStub.js +1 -0
  461. package/.storybook/manager-head.html +0 -6
  462. package/.storybook/preview-head.html +0 -5
  463. package/README.md +0 -1
  464. package/build-storybook.log +0 -2978
  465. package/config/CSSStub.js +0 -1
  466. package/dist/cjs/a/AnimatedCounter/index.js +0 -13
  467. package/dist/cjs/a/AnimatedCounter/styles.scss +0 -16
  468. package/dist/es/a/AnimatedCounter/AnimatedCounter.js +0 -98
  469. package/dist/es/a/AnimatedCounter/index.js +0 -2
  470. package/dist/es/a/AnimatedCounter/styles.scss +0 -16
  471. package/postcss.config.js +0 -13
  472. package/relay.config.js +0 -12
  473. package/src/assets/images/Ellipse1.png +0 -0
  474. package/src/assets/images/Ellipse2.png +0 -0
  475. package/src/assets/images/Fundraising.svg +0 -40
  476. package/src/assets/images/ParetoSupport.svg +0 -190
  477. package/src/assets/images/ParetoWorld.svg +0 -207
  478. package/src/assets/images/Vector.png +0 -0
  479. package/src/assets/images/email-attach.svg +0 -1
  480. package/src/assets/images/email-delete.svg +0 -1
  481. package/src/assets/images/favicon.png +0 -0
  482. package/src/assets/images/onboarding/focus-on-strategic-work.webp +0 -0
  483. package/src/assets/images/onboarding/launch-project.webp +0 -0
  484. package/src/assets/images/onboarding/meet-pareto-partner.webp +0 -0
  485. package/src/assets/images/quality.png +0 -0
  486. package/src/assets/images/sprite.svg +0 -253
  487. package/src/assets/images/test +0 -1
  488. package/src/local.scss +0 -16
  489. package/src/stories/a/AnimatedCounter.stories.jsx +0 -34
  490. package/src/ui/a/AnimatedCounter/AnimatedCounter.jsx +0 -118
  491. package/src/ui/a/AnimatedCounter/index.js +0 -2
  492. package/src/ui/a/AnimatedCounter/styles.scss +0 -16
  493. /package/{src → tests}/Storyshots.test.js +0 -0
  494. /package/{config → tests}/global-setup.js +0 -0
  495. /package/{config → tests}/test-setup.js +0 -0
@@ -1,38 +1,48 @@
1
1
  /* @pareto-engineering/generator-front 1.0.12 */
2
+ /* stylelint-disable selector-max-universal -- exception */
2
3
 
3
4
  @use "@pareto-engineering/bem";
4
5
  @use "@pareto-engineering/styles/src/mixins";
5
6
  @use "@pareto-engineering/styles/src/globals" as *;
6
7
 
7
- $default-spacing:var(--spacing, var(--u));
8
+ $default-spacing: var(--gap, 1em);
8
9
 
9
10
  .#{bem.$base}.snap-scroller {
10
11
  display: flex;
11
- -ms-overflow-style: none; /* for Internet Explorer, Edge */
12
+ gap: $default-spacing;
13
+ -ms-overflow-style: none;
12
14
  overflow-x: auto;
13
- scroll-padding: calc(#{$default-spacing} *2);
15
+ scroll-padding: calc($default-spacing * 2);
14
16
  scroll-snap-type: x mandatory;
15
17
  scrollbar-width: none;
16
18
 
19
+ &::-webkit-scrollbar {
20
+ display: none;
21
+ }
22
+
23
+ >* {
24
+ display: inline-block;
25
+ scroll-snap-align: start;
17
26
 
18
- > * {
19
27
  &:first-child {
20
28
  margin-left: $default-spacing;
21
29
  }
22
- display: inline-block;
23
- margin-right: $default-spacing;
24
- scroll-snap-align: start;
25
30
  }
26
31
 
27
-
28
- @include mixins.media($from:$sm-md) {
32
+ @include mixins.media($from: $sm-md) {
29
33
  &.desktop-no-scroll {
30
34
  overflow: auto;
31
- -ms-overflow-style: unset; /* for Internet Explorer, Edge */
35
+ -ms-overflow-style: unset;
32
36
  scroll-snap-type: none;
33
37
  scrollbar-width: unset;
38
+
39
+ >* {
40
+ min-width: unset;
41
+
42
+ &:first-child {
43
+ margin-left: unset;
44
+ }
45
+ }
34
46
  }
35
47
  }
36
48
  }
37
-
38
-
@@ -8,30 +8,30 @@ var React = _interopRequireWildcard(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
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); }
11
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
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; }
13
13
  // Local Definitions
14
14
 
15
- var baseClassName = _exports.default.base;
16
- var componentClassName = 'spinner';
15
+ const baseClassName = _exports.default.base;
16
+ const componentClassName = 'spinner';
17
17
 
18
18
  /**
19
19
  * This is the component description.
20
20
  */
21
- var Spinner = _ref => {
22
- var {
21
+ const Spinner = _ref => {
22
+ let {
23
23
  id,
24
24
  className: userClassName,
25
25
  style,
26
26
  color
27
27
  // ...otherProps
28
28
  } = _ref;
29
- (0, React.useLayoutEffect)(() => {
29
+ (0, React.useInsertionEffect)(() => {
30
30
  Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
31
31
  }, []);
32
32
  return /*#__PURE__*/React.createElement("div", {
33
33
  id: id,
34
- className: [baseClassName, componentClassName, userClassName, "x-".concat(color)].filter(e => e).join(' '),
34
+ className: [baseClassName, componentClassName, userClassName, `x-${color}`].filter(e => e).join(' '),
35
35
  style: style
36
36
  // {...otherProps}
37
37
  }, /*#__PURE__*/React.createElement("div", {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  Object.defineProperty(exports, "Spinner", {
7
7
  enumerable: true,
8
- get: function get() {
8
+ get: function () {
9
9
  return _Spinner.default;
10
10
  }
11
11
  });
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+ var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
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; }
13
+ // Local Definitions
14
+
15
+ const baseClassName = _exports.default.base;
16
+ const componentClassName = 'steps';
17
+
18
+ /**
19
+ * This is the component description.
20
+ */
21
+ const Steps = _ref => {
22
+ let {
23
+ id,
24
+ className: userClassName,
25
+ style,
26
+ items,
27
+ title
28
+ } = _ref;
29
+ (0, React.useLayoutEffect)(() => {
30
+ Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
31
+ }, []);
32
+ return /*#__PURE__*/React.createElement("div", {
33
+ id: id,
34
+ className: [baseClassName, componentClassName, userClassName, 'grid'].filter(e => e).join(' '),
35
+ style: style
36
+ }, title && /*#__PURE__*/React.createElement("p", {
37
+ className: "title h4"
38
+ }, title), items.map((item, i) => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
39
+ className: " number h3 start-1 span-2 md-start-1 md-span-2"
40
+ }, /*#__PURE__*/React.createElement("p", null, i + 1)), /*#__PURE__*/React.createElement("div", {
41
+ className: " description"
42
+ }, /*#__PURE__*/React.createElement("p", null, item)))));
43
+ };
44
+ Steps.propTypes = {
45
+ /**
46
+ * The HTML id for this element
47
+ */
48
+ id: _propTypes.default.string,
49
+ /**
50
+ * The HTML class names for this element
51
+ */
52
+ className: _propTypes.default.string,
53
+ /**
54
+ * The React-written, css properties for this element.
55
+ */
56
+ style: _propTypes.default.objectOf(_propTypes.default.string),
57
+ /**
58
+ * The steps to iterate
59
+ */
60
+ items: _propTypes.default.arrayOf(_propTypes.default.shape({
61
+ title: _propTypes.default.string,
62
+ description: _propTypes.default.node
63
+ })).isRequired,
64
+ /**
65
+ * The title to pass to the component
66
+ */
67
+ title: _propTypes.default.string
68
+ };
69
+ var _default = Steps;
70
+ exports.default = _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "TextSteps", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _TextSteps.default;
10
+ }
11
+ });
12
+ var _TextSteps = _interopRequireDefault(require("./TextSteps"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -0,0 +1,29 @@
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-padding: 1em;
8
+
9
+ .#{bem.$base}.steps {
10
+ grid-column: 1 / -1;
11
+ grid-template-columns: repeat(var(--columns), 1fr);
12
+ padding: $default-padding 0;
13
+
14
+ .description {
15
+ grid-column: 2 / -1;
16
+
17
+ > p {
18
+ color: var(--metadata);
19
+ }
20
+ }
21
+
22
+ .number {
23
+ grid-column: 1 / span 1;
24
+ }
25
+
26
+ .title {
27
+ grid-column: 1 / -1;
28
+ }
29
+ }
@@ -9,18 +9,18 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
10
10
  var _dateFns = require("date-fns");
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- 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); }
12
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
13
  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; }
14
14
  // Local Definitions
15
15
 
16
- var baseClassName = _exports.default.base;
17
- var componentClassName = 'timestamp';
16
+ const baseClassName = _exports.default.base;
17
+ const componentClassName = 'timestamp';
18
18
 
19
19
  /**
20
20
  * This is the component description.
21
21
  */
22
- var Timestamp = _ref => {
23
- var {
22
+ const Timestamp = _ref => {
23
+ let {
24
24
  id,
25
25
  className: userClassName,
26
26
  style,
@@ -34,12 +34,12 @@ var Timestamp = _ref => {
34
34
  // ...otherProps
35
35
  as: Element
36
36
  } = _ref;
37
- (0, React.useLayoutEffect)(() => {
37
+ (0, React.useInsertionEffect)(() => {
38
38
  Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
39
39
  }, []);
40
- var [currentDisplay, setCurrentDisplay] = (0, React.useState)(enabledFormats[0]);
41
- var formatMap = (0, React.useMemo)(() => ({
42
- unix: _unix => Number(_unix),
40
+ const [currentDisplay, setCurrentDisplay] = (0, React.useState)(enabledFormats[0]);
41
+ const formatMap = (0, React.useMemo)(() => ({
42
+ unix: unix => Number(unix),
43
43
  date: unix => (0, _dateFns.format)(new Date(unix), dateFormat),
44
44
  distance: unix => !distanceMaxDays || (0, _dateFns.differenceInDays)(Date.now(), new Date(unix)) < distanceMaxDays ? (0, _dateFns.formatDistance)(new Date(unix), new Date(), {
45
45
  addSuffix: true,
@@ -49,11 +49,11 @@ var Timestamp = _ref => {
49
49
  locale
50
50
  }) : (0, _dateFns.format)(new Date(unix), dateFormat)
51
51
  }), []);
52
- var onClick = (0, React.useCallback)(e => {
52
+ const onClick = (0, React.useCallback)(e => {
53
53
  e.persist();
54
54
  // eslint-disable-next-line no-shadow
55
- var currentIndex = enabledFormats.findIndex(e => e === currentDisplay);
56
- var nextIndex = (currentIndex + 1) % enabledFormats.length;
55
+ const currentIndex = enabledFormats.findIndex(e => e === currentDisplay);
56
+ const nextIndex = (currentIndex + 1) % enabledFormats.length;
57
57
  setCurrentDisplay(enabledFormats[nextIndex]);
58
58
  }, [currentDisplay]);
59
59
  if (!Number(time)) return null;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  Object.defineProperty(exports, "Timestamp", {
7
7
  enumerable: true,
8
- get: function get() {
8
+ get: function () {
9
9
  return _Timestamp.default;
10
10
  }
11
11
  });
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+ var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
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; }
13
+ // Local Definitions
14
+
15
+ const baseClassName = _exports.default.base;
16
+ const componentClassName = 'tip';
17
+
18
+ /**
19
+ * This is the component description.
20
+ */
21
+ const Tip = _ref => {
22
+ let {
23
+ id,
24
+ className: userClassName,
25
+ style,
26
+ children,
27
+ as: Wrapper,
28
+ color
29
+ // ...otherProps
30
+ } = _ref;
31
+ (0, React.useInsertionEffect)(() => {
32
+ Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
33
+ }, []);
34
+ return /*#__PURE__*/React.createElement(Wrapper, {
35
+ id: id,
36
+ className: [baseClassName, componentClassName, userClassName, `x-${color}`].filter(e => e).join(' '),
37
+ style: style
38
+ // {...otherProps}
39
+ }, children);
40
+ };
41
+ Tip.propTypes = {
42
+ /**
43
+ * The HTML id for this element
44
+ */
45
+ id: _propTypes.default.string,
46
+ /**
47
+ * The HTML class names for this element
48
+ */
49
+ className: _propTypes.default.string,
50
+ /**
51
+ * The React-written, css properties for this element.
52
+ */
53
+ style: _propTypes.default.objectOf(_propTypes.default.string),
54
+ /**
55
+ * The children jsx
56
+ */
57
+ children: _propTypes.default.node.isRequired,
58
+ /**
59
+ * The color of the bar
60
+ */
61
+ color: _propTypes.default.string,
62
+ /**
63
+ * The wrapper html type
64
+ */
65
+ as: _propTypes.default.string
66
+ };
67
+ Tip.defaultProps = {
68
+ as: 'p',
69
+ color: 'main'
70
+ };
71
+ var _default = Tip;
72
+ exports.default = _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Tip", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Tip.default;
10
+ }
11
+ });
12
+ var _Tip = _interopRequireDefault(require("./Tip"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -0,0 +1,22 @@
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-bar-width: 2px;
8
+ $default-padding: 1em;
9
+
10
+ .#{bem.$base}.tip {
11
+ padding-left: $default-padding;
12
+ position: relative;
13
+
14
+ &::before {
15
+ background: var(--x);
16
+ content: "";
17
+ height: 100%;
18
+ left: 0;
19
+ position: absolute;
20
+ width: $default-bar-width;
21
+ }
22
+ }
@@ -3,133 +3,156 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- Object.defineProperty(exports, "AnimatedCounter", {
6
+ Object.defineProperty(exports, "AnimatedBlobs", {
7
7
  enumerable: true,
8
- get: function get() {
9
- return _AnimatedCounter.AnimatedCounter;
8
+ get: function () {
9
+ return _AnimatedBlobs.AnimatedBlobs;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "AnimatedGradient", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _AnimatedGradient.AnimatedGradient;
10
16
  }
11
17
  });
12
18
  Object.defineProperty(exports, "AppContext", {
13
19
  enumerable: true,
14
- get: function get() {
20
+ get: function () {
15
21
  return _AppContext.AppContext;
16
22
  }
17
23
  });
18
24
  Object.defineProperty(exports, "AppContextProvider", {
19
25
  enumerable: true,
20
- get: function get() {
26
+ get: function () {
21
27
  return _AppContext.AppContextProvider;
22
28
  }
23
29
  });
24
30
  Object.defineProperty(exports, "ContentTree", {
25
31
  enumerable: true,
26
- get: function get() {
32
+ get: function () {
27
33
  return _ContentTree.ContentTree;
28
34
  }
29
35
  });
30
36
  Object.defineProperty(exports, "Conversation", {
31
37
  enumerable: true,
32
- get: function get() {
38
+ get: function () {
33
39
  return _Conversation.Conversation;
34
40
  }
35
41
  });
36
42
  Object.defineProperty(exports, "DotInfo", {
37
43
  enumerable: true,
38
- get: function get() {
44
+ get: function () {
39
45
  return _DotInfo.DotInfo;
40
46
  }
41
47
  });
42
48
  Object.defineProperty(exports, "Figure", {
43
49
  enumerable: true,
44
- get: function get() {
50
+ get: function () {
45
51
  return _Figure.Figure;
46
52
  }
47
53
  });
48
54
  Object.defineProperty(exports, "HamburgerButton", {
49
55
  enumerable: true,
50
- get: function get() {
56
+ get: function () {
51
57
  return _HamburgerButton.HamburgerButton;
52
58
  }
53
59
  });
54
60
  Object.defineProperty(exports, "IconList", {
55
61
  enumerable: true,
56
- get: function get() {
62
+ get: function () {
57
63
  return _IconList.IconList;
58
64
  }
59
65
  });
60
66
  Object.defineProperty(exports, "Label", {
61
67
  enumerable: true,
62
- get: function get() {
68
+ get: function () {
63
69
  return _Label.Label;
64
70
  }
65
71
  });
66
72
  Object.defineProperty(exports, "LoadingCircle", {
67
73
  enumerable: true,
68
- get: function get() {
74
+ get: function () {
69
75
  return _LoadingCircle.LoadingCircle;
70
76
  }
71
77
  });
78
+ Object.defineProperty(exports, "MetaCard", {
79
+ enumerable: true,
80
+ get: function () {
81
+ return _MetaCard.MetaCard;
82
+ }
83
+ });
72
84
  Object.defineProperty(exports, "People", {
73
85
  enumerable: true,
74
- get: function get() {
86
+ get: function () {
75
87
  return _People.People;
76
88
  }
77
89
  });
78
90
  Object.defineProperty(exports, "Popover", {
79
91
  enumerable: true,
80
- get: function get() {
92
+ get: function () {
81
93
  return _Popover.Popover;
82
94
  }
83
95
  });
84
96
  Object.defineProperty(exports, "ProgressBar", {
85
97
  enumerable: true,
86
- get: function get() {
98
+ get: function () {
87
99
  return _ProgressBar.ProgressBar;
88
100
  }
89
101
  });
90
102
  Object.defineProperty(exports, "Quote", {
91
103
  enumerable: true,
92
- get: function get() {
104
+ get: function () {
93
105
  return _Quote.Quote;
94
106
  }
95
107
  });
96
108
  Object.defineProperty(exports, "SVG", {
97
109
  enumerable: true,
98
- get: function get() {
110
+ get: function () {
99
111
  return _SVG.SVG;
100
112
  }
101
113
  });
102
114
  Object.defineProperty(exports, "SnapScroller", {
103
115
  enumerable: true,
104
- get: function get() {
116
+ get: function () {
105
117
  return _SnapScroller.SnapScroller;
106
118
  }
107
119
  });
108
120
  Object.defineProperty(exports, "Spinner", {
109
121
  enumerable: true,
110
- get: function get() {
122
+ get: function () {
111
123
  return _Spinner.Spinner;
112
124
  }
113
125
  });
126
+ Object.defineProperty(exports, "TextSteps", {
127
+ enumerable: true,
128
+ get: function () {
129
+ return _TextSteps.TextSteps;
130
+ }
131
+ });
114
132
  Object.defineProperty(exports, "Timestamp", {
115
133
  enumerable: true,
116
- get: function get() {
134
+ get: function () {
117
135
  return _Timestamp.Timestamp;
118
136
  }
119
137
  });
138
+ Object.defineProperty(exports, "Tip", {
139
+ enumerable: true,
140
+ get: function () {
141
+ return _Tip.Tip;
142
+ }
143
+ });
120
144
  Object.defineProperty(exports, "useApp", {
121
145
  enumerable: true,
122
- get: function get() {
146
+ get: function () {
123
147
  return _AppContext.useApp;
124
148
  }
125
149
  });
126
150
  Object.defineProperty(exports, "useTheme", {
127
151
  enumerable: true,
128
- get: function get() {
152
+ get: function () {
129
153
  return _AppContext.useTheme;
130
154
  }
131
155
  });
132
- var _AnimatedCounter = require("./AnimatedCounter");
133
156
  var _AppContext = require("./AppContext");
134
157
  var _ContentTree = require("./ContentTree");
135
158
  var _Conversation = require("./Conversation");
@@ -146,4 +169,9 @@ var _Quote = require("./Quote");
146
169
  var _SVG = require("./SVG");
147
170
  var _SnapScroller = require("./SnapScroller");
148
171
  var _Spinner = require("./Spinner");
149
- var _Timestamp = require("./Timestamp");
172
+ var _Timestamp = require("./Timestamp");
173
+ var _MetaCard = require("./MetaCard");
174
+ var _AnimatedBlobs = require("./AnimatedBlobs");
175
+ var _Tip = require("./Tip");
176
+ var _AnimatedGradient = require("./AnimatedGradient");
177
+ var _TextSteps = require("./TextSteps");