@pareto-engineering/design-system 4.0.0-alpha.3 → 4.0.0-alpha.33

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 (431) hide show
  1. package/babel.config.js +24 -16
  2. package/dist/cjs/a/AnimatedBlobs/AnimatedBlobs.js +90 -0
  3. package/dist/cjs/a/AnimatedBlobs/index.js +13 -0
  4. package/dist/cjs/a/AnimatedBlobs/styles.scss +87 -0
  5. package/dist/cjs/a/AnimatedGradient/AnimatedGradient.js +60 -0
  6. package/dist/cjs/a/AnimatedGradient/index.js +13 -0
  7. package/dist/cjs/a/AnimatedGradient/styles.scss +14 -0
  8. package/dist/cjs/a/AnimatedGradient/webGIRenderer.js +528 -0
  9. package/dist/cjs/a/AppContext/Context.js +1 -1
  10. package/dist/cjs/a/AppContext/ContextProvider.js +19 -17
  11. package/dist/cjs/a/AppContext/index.js +4 -4
  12. package/dist/cjs/a/AppContext/useTheme.js +7 -11
  13. package/dist/cjs/a/BlurOverlay/BlurOverlay.js +59 -0
  14. package/dist/cjs/a/BlurOverlay/index.js +13 -0
  15. package/dist/cjs/a/BlurOverlay/styles.scss +31 -0
  16. package/dist/cjs/a/ContentTree/ContentTree.js +17 -11
  17. package/dist/cjs/a/ContentTree/common/Tree/Tree.js +24 -17
  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 +34 -11
  24. package/dist/cjs/a/Conversation/Context.js +1 -1
  25. package/dist/cjs/a/Conversation/Conversation.js +17 -22
  26. package/dist/cjs/a/Conversation/common/Message/Message.js +22 -19
  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 +56 -124
  31. package/dist/cjs/a/DotInfo/DotInfo.js +12 -16
  32. package/dist/cjs/a/DotInfo/index.js +1 -1
  33. package/dist/cjs/a/Figure/Figure.js +7 -7
  34. package/dist/cjs/a/Figure/index.js +1 -1
  35. package/dist/cjs/a/HamburgerButton/HamburgerButton.js +18 -21
  36. package/dist/cjs/a/HamburgerButton/index.js +1 -1
  37. package/dist/cjs/a/IconList/IconList.js +20 -27
  38. package/dist/cjs/a/IconList/common/Item/Item.js +18 -25
  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 +20 -12
  43. package/dist/cjs/a/Label/index.js +1 -1
  44. package/dist/cjs/a/Label/styles.scss +4 -4
  45. package/dist/cjs/a/LoadingCircle/LoadingCircle.js +12 -16
  46. package/dist/cjs/a/LoadingCircle/index.js +1 -1
  47. package/dist/cjs/a/MetaCard/MetaCard.js +65 -0
  48. package/dist/cjs/a/MetaCard/index.js +13 -0
  49. package/dist/cjs/a/MetaCard/styles.scss +45 -0
  50. package/dist/cjs/a/People/People.js +10 -14
  51. package/dist/cjs/a/People/common/Person/Person.js +8 -8
  52. package/dist/cjs/a/People/common/Person/index.js +1 -1
  53. package/dist/cjs/a/People/common/index.js +1 -1
  54. package/dist/cjs/a/People/index.js +1 -1
  55. package/dist/cjs/a/Popover/Popover.js +12 -12
  56. package/dist/cjs/a/Popover/index.js +1 -1
  57. package/dist/cjs/a/Popover/styles.scss +1 -1
  58. package/dist/cjs/a/ProgressBar/ProgressBar.js +12 -16
  59. package/dist/cjs/a/ProgressBar/index.js +1 -1
  60. package/dist/cjs/a/Quote/Quote.js +8 -8
  61. package/dist/cjs/a/Quote/index.js +1 -1
  62. package/dist/cjs/a/SVG/SVG.js +24 -27
  63. package/dist/cjs/a/SVG/common/UseSVG/UseSVG.js +9 -11
  64. package/dist/cjs/a/SVG/common/UseSVG/index.js +1 -1
  65. package/dist/cjs/a/SVG/common/index.js +1 -1
  66. package/dist/cjs/a/SVG/index.js +1 -1
  67. package/dist/cjs/a/SnapScroller/SnapScroller.js +7 -7
  68. package/dist/cjs/a/SnapScroller/index.js +1 -1
  69. package/dist/cjs/a/SnapScroller/styles.scss +30 -9
  70. package/dist/cjs/a/Spinner/Spinner.js +8 -8
  71. package/dist/cjs/a/Spinner/index.js +1 -1
  72. package/dist/cjs/a/TextSteps/TextSteps.js +70 -0
  73. package/dist/cjs/a/TextSteps/index.js +13 -0
  74. package/dist/cjs/a/TextSteps/styles.scss +29 -0
  75. package/dist/cjs/a/Timestamp/Timestamp.js +13 -13
  76. package/dist/cjs/a/Timestamp/index.js +1 -1
  77. package/dist/cjs/a/Tip/Tip.js +72 -0
  78. package/dist/cjs/a/Tip/index.js +13 -0
  79. package/dist/cjs/a/Tip/styles.scss +22 -0
  80. package/dist/cjs/a/index.js +63 -21
  81. package/dist/cjs/b/Button/Button.js +38 -28
  82. package/dist/cjs/b/Button/common/Group/Group.js +57 -0
  83. package/dist/cjs/b/Button/common/Group/index.js +13 -0
  84. package/dist/cjs/b/Button/common/Group/styles.scss +11 -0
  85. package/dist/cjs/b/Button/common/index.js +12 -0
  86. package/dist/cjs/b/Button/index.js +1 -1
  87. package/dist/cjs/b/Button/styles.scss +38 -8
  88. package/dist/cjs/b/Card/Card.js +74 -0
  89. package/dist/cjs/b/Card/common/Group/Group.js +73 -0
  90. package/dist/cjs/b/Card/common/Group/index.js +13 -0
  91. package/dist/cjs/b/Card/common/Group/styles.scss +38 -0
  92. package/dist/cjs/b/Card/common/Section/Section.js +59 -0
  93. package/dist/cjs/b/Card/common/Section/index.js +13 -0
  94. package/dist/cjs/b/Card/common/index.js +19 -0
  95. package/dist/cjs/b/Card/index.js +13 -0
  96. package/dist/cjs/b/Card/styles.scss +57 -0
  97. package/dist/cjs/b/Logo/Logo.js +14 -14
  98. package/dist/cjs/b/Logo/index.js +1 -1
  99. package/dist/cjs/b/Page/Context.js +1 -1
  100. package/dist/cjs/b/Page/Page.js +31 -24
  101. package/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +42 -44
  102. package/dist/cjs/b/Page/common/PageHelmet/index.js +1 -1
  103. package/dist/cjs/b/Page/common/Section/Section.js +26 -19
  104. package/dist/cjs/b/Page/common/Section/index.js +1 -1
  105. package/dist/cjs/b/Page/common/index.js +2 -2
  106. package/dist/cjs/b/Page/index.js +3 -3
  107. package/dist/cjs/b/Page/styles.scss +25 -4
  108. package/dist/cjs/b/SocialMediaButton/SocialMediaButton.js +22 -26
  109. package/dist/cjs/b/SocialMediaButton/index.js +1 -1
  110. package/dist/cjs/b/SocialMediaButton/styles.scss +1 -15
  111. package/dist/cjs/b/ThemeSelector/ThemeSelector.js +27 -39
  112. package/dist/cjs/b/ThemeSelector/index.js +1 -1
  113. package/dist/cjs/b/ThemeSelector/styles.scss +2 -7
  114. package/dist/cjs/b/Title/Title.js +10 -8
  115. package/dist/cjs/b/Title/index.js +1 -1
  116. package/dist/cjs/b/index.js +14 -7
  117. package/dist/cjs/c/ContentSlides/ContentSlides.js +34 -31
  118. package/dist/cjs/c/ContentSlides/Context.js +1 -1
  119. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +9 -11
  120. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/index.js +1 -1
  121. package/dist/cjs/c/ContentSlides/common/Navigator/Navigator.js +7 -7
  122. package/dist/cjs/c/ContentSlides/common/Navigator/index.js +1 -1
  123. package/dist/cjs/c/ContentSlides/common/Sidebar/Sidebar.js +5 -7
  124. package/dist/cjs/c/ContentSlides/common/Sidebar/index.js +1 -1
  125. package/dist/cjs/c/ContentSlides/common/Slide/Slide.js +6 -6
  126. package/dist/cjs/c/ContentSlides/common/Slide/index.js +1 -1
  127. package/dist/cjs/c/ContentSlides/common/index.js +4 -4
  128. package/dist/cjs/c/ContentSlides/index.js +3 -3
  129. package/dist/cjs/c/ContentSlides/styles.scss +2 -2
  130. package/dist/cjs/c/Modal/Modal.js +8 -8
  131. package/dist/cjs/c/Modal/common/ModalHeader/ModalHeader.js +6 -6
  132. package/dist/cjs/c/Modal/common/ModalHeader/index.js +1 -1
  133. package/dist/cjs/c/Modal/common/index.js +1 -1
  134. package/dist/cjs/c/Modal/index.js +1 -1
  135. package/dist/cjs/c/Modal/styles.scss +7 -2
  136. package/dist/cjs/c/Shortener/Shortener.js +11 -11
  137. package/dist/cjs/c/Shortener/index.js +1 -1
  138. package/dist/cjs/c/SocialMediaShareButton/SocialMediaShareButton.js +13 -13
  139. package/dist/cjs/c/SocialMediaShareButton/index.js +1 -1
  140. package/dist/cjs/c/index.js +5 -5
  141. package/dist/cjs/f/FormInput/FormInput.js +15 -20
  142. package/dist/cjs/f/FormInput/index.js +1 -1
  143. package/dist/cjs/f/common/Debugger/Debugger.js +9 -9
  144. package/dist/cjs/f/common/Debugger/index.js +1 -1
  145. package/dist/cjs/f/common/Description/Description.js +9 -9
  146. package/dist/cjs/f/common/Description/index.js +1 -1
  147. package/dist/cjs/f/common/Label/Label.js +8 -8
  148. package/dist/cjs/f/common/Label/index.js +1 -1
  149. package/dist/cjs/f/common/Label/styles.scss +1 -1
  150. package/dist/cjs/f/common/index.js +3 -3
  151. package/dist/cjs/f/fields/Checkbox/Checkbox.js +8 -8
  152. package/dist/cjs/f/fields/Checkbox/index.js +1 -1
  153. package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +30 -25
  154. package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +8 -8
  155. package/dist/cjs/f/fields/ChoicesInput/common/Choice/index.js +1 -1
  156. package/dist/cjs/f/fields/ChoicesInput/common/index.js +1 -1
  157. package/dist/cjs/f/fields/ChoicesInput/index.js +1 -1
  158. package/dist/cjs/f/fields/ChoicesInput/styles.scss +26 -32
  159. package/dist/cjs/f/fields/QueryChoices/QueryChoices.js +26 -31
  160. package/dist/cjs/f/fields/QueryChoices/index.js +1 -1
  161. package/dist/cjs/f/fields/QueryCombobox/QueryCombobox.js +22 -24
  162. package/dist/cjs/f/fields/QueryCombobox/common/Combobox/Combobox.js +16 -16
  163. package/dist/cjs/f/fields/QueryCombobox/common/Combobox/index.js +1 -1
  164. package/dist/cjs/f/fields/QueryCombobox/common/Menu/Menu.js +15 -18
  165. package/dist/cjs/f/fields/QueryCombobox/common/Menu/index.js +1 -1
  166. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +25 -29
  167. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/index.js +1 -1
  168. package/dist/cjs/f/fields/QueryCombobox/common/index.js +3 -3
  169. package/dist/cjs/f/fields/QueryCombobox/index.js +1 -1
  170. package/dist/cjs/f/fields/QueryCombobox/styles.scss +13 -11
  171. package/dist/cjs/f/fields/QuerySelect/QuerySelect.js +12 -12
  172. package/dist/cjs/f/fields/QuerySelect/index.js +1 -1
  173. package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +10 -10
  174. package/dist/cjs/f/fields/RatingsInput/common/Rating/Rating.js +11 -11
  175. package/dist/cjs/f/fields/RatingsInput/common/Rating/index.js +1 -1
  176. package/dist/cjs/f/fields/RatingsInput/common/index.js +1 -1
  177. package/dist/cjs/f/fields/RatingsInput/index.js +1 -1
  178. package/dist/cjs/f/fields/SelectInput/SelectInput.js +13 -13
  179. package/dist/cjs/f/fields/SelectInput/index.js +1 -1
  180. package/dist/cjs/f/fields/SelectInput/styles.scss +33 -22
  181. package/dist/cjs/f/fields/TextInput/TextInput.js +25 -14
  182. package/dist/cjs/f/fields/TextInput/index.js +1 -1
  183. package/dist/cjs/f/fields/TextInput/styles.scss +44 -14
  184. package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +14 -14
  185. package/dist/cjs/f/fields/TextareaInput/index.js +1 -1
  186. package/dist/cjs/f/fields/TextareaInput/styles.scss +7 -5
  187. package/dist/cjs/f/fields/index.js +9 -9
  188. package/dist/cjs/f/index.js +3 -3
  189. package/dist/cjs/form.scss +1 -1
  190. package/dist/cjs/index.js +8 -8
  191. package/dist/cjs/r/SwitchRouteMap/SwitchRouteMap.js +8 -11
  192. package/dist/cjs/r/SwitchRouteMap/index.js +1 -1
  193. package/dist/cjs/r/common/PrivateRoute/PrivateRoute.js +14 -17
  194. package/dist/cjs/r/common/PrivateRoute/index.js +1 -1
  195. package/dist/cjs/r/common/index.js +1 -1
  196. package/dist/cjs/r/index.js +2 -2
  197. package/dist/cjs/test/QueryLoader/QueryLoader.js +6 -4
  198. package/dist/cjs/test/QueryLoader/__generated__/QueryLoaderHelloQuery.graphql.js +1 -1
  199. package/dist/cjs/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js +4 -4
  200. package/dist/cjs/test/QueryLoader/common/PreloadedTestData/index.js +1 -1
  201. package/dist/cjs/test/QueryLoader/common/index.js +1 -1
  202. package/dist/cjs/test/QueryLoader/index.js +1 -1
  203. package/dist/cjs/test/index.js +1 -1
  204. package/dist/cjs/utils/hooks/index.js +2 -2
  205. package/dist/cjs/utils/hooks/useDynamicPosition.js +24 -24
  206. package/dist/cjs/utils/hooks/useWindowSize.js +6 -6
  207. package/dist/cjs/utils/index.js +2 -2
  208. package/dist/es/a/AnimatedBlobs/AnimatedBlobs.js +82 -0
  209. package/dist/es/a/AnimatedBlobs/index.js +1 -0
  210. package/dist/es/a/AnimatedBlobs/styles.scss +87 -0
  211. package/dist/es/a/AnimatedGradient/AnimatedGradient.js +52 -0
  212. package/dist/es/a/AnimatedGradient/index.js +1 -0
  213. package/dist/es/a/AnimatedGradient/styles.scss +14 -0
  214. package/dist/es/a/AnimatedGradient/webGIRenderer.js +492 -0
  215. package/dist/es/a/AppContext/useTheme.js +0 -4
  216. package/dist/es/a/BlurOverlay/BlurOverlay.js +51 -0
  217. package/dist/es/a/BlurOverlay/index.js +2 -0
  218. package/dist/es/a/BlurOverlay/styles.scss +31 -0
  219. package/dist/es/a/ContentTree/ContentTree.js +11 -5
  220. package/dist/es/a/ContentTree/common/Tree/Tree.js +12 -5
  221. package/dist/es/a/ContentTree/styles.scss +34 -11
  222. package/dist/es/a/Conversation/Conversation.js +12 -17
  223. package/dist/es/a/Conversation/common/Message/Message.js +15 -12
  224. package/dist/es/a/Conversation/styles.scss +56 -124
  225. package/dist/es/a/DotInfo/DotInfo.js +2 -2
  226. package/dist/es/a/Figure/Figure.js +2 -2
  227. package/dist/es/a/HamburgerButton/HamburgerButton.js +2 -2
  228. package/dist/es/a/IconList/IconList.js +2 -2
  229. package/dist/es/a/Label/Label.js +14 -6
  230. package/dist/es/a/Label/styles.scss +4 -4
  231. package/dist/es/a/LoadingCircle/LoadingCircle.js +2 -2
  232. package/dist/es/a/MetaCard/MetaCard.js +57 -0
  233. package/dist/es/a/MetaCard/index.js +1 -0
  234. package/dist/es/a/MetaCard/styles.scss +45 -0
  235. package/dist/es/a/People/People.js +2 -2
  236. package/dist/es/a/People/common/Person/Person.js +1 -1
  237. package/dist/es/a/Popover/Popover.js +4 -4
  238. package/dist/es/a/Popover/styles.scss +1 -1
  239. package/dist/es/a/ProgressBar/ProgressBar.js +2 -2
  240. package/dist/es/a/Quote/Quote.js +2 -2
  241. package/dist/es/a/SVG/SVG.js +2 -2
  242. package/dist/es/a/SnapScroller/SnapScroller.js +2 -2
  243. package/dist/es/a/SnapScroller/styles.scss +30 -9
  244. package/dist/es/a/Spinner/Spinner.js +2 -2
  245. package/dist/es/a/TextSteps/TextSteps.js +61 -0
  246. package/dist/es/a/TextSteps/index.js +1 -0
  247. package/dist/es/a/TextSteps/styles.scss +29 -0
  248. package/dist/es/a/Timestamp/Timestamp.js +2 -2
  249. package/dist/es/a/Tip/Tip.js +64 -0
  250. package/dist/es/a/Tip/index.js +2 -0
  251. package/dist/es/a/Tip/styles.scss +22 -0
  252. package/dist/es/a/index.js +7 -1
  253. package/dist/es/b/Button/Button.js +21 -7
  254. package/dist/es/b/Button/common/Group/Group.js +49 -0
  255. package/dist/es/b/Button/common/Group/index.js +1 -0
  256. package/dist/es/b/Button/common/Group/styles.scss +11 -0
  257. package/dist/es/b/Button/common/index.js +1 -0
  258. package/dist/es/b/Button/styles.scss +38 -8
  259. package/dist/es/b/Card/Card.js +66 -0
  260. package/dist/es/b/Card/common/Group/Group.js +65 -0
  261. package/dist/es/b/Card/common/Group/index.js +1 -0
  262. package/dist/es/b/Card/common/Group/styles.scss +38 -0
  263. package/dist/es/b/Card/common/Section/Section.js +48 -0
  264. package/dist/es/b/Card/common/Section/index.js +1 -0
  265. package/dist/es/b/Card/common/index.js +2 -0
  266. package/dist/es/b/Card/index.js +1 -0
  267. package/dist/es/b/Card/styles.scss +57 -0
  268. package/dist/es/b/Logo/Logo.js +2 -2
  269. package/dist/es/b/Page/Page.js +16 -5
  270. package/dist/es/b/Page/common/PageHelmet/PageHelmet.js +4 -2
  271. package/dist/es/b/Page/common/Section/Section.js +12 -2
  272. package/dist/es/b/Page/styles.scss +25 -4
  273. package/dist/es/b/SocialMediaButton/SocialMediaButton.js +2 -2
  274. package/dist/es/b/SocialMediaButton/styles.scss +1 -15
  275. package/dist/es/b/ThemeSelector/ThemeSelector.js +19 -32
  276. package/dist/es/b/ThemeSelector/styles.scss +2 -7
  277. package/dist/es/b/Title/Title.js +18 -12
  278. package/dist/es/b/index.js +2 -1
  279. package/dist/es/c/ContentSlides/ContentSlides.js +3 -3
  280. package/dist/es/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +1 -1
  281. package/dist/es/c/ContentSlides/styles.scss +2 -2
  282. package/dist/es/c/Modal/Modal.js +3 -3
  283. package/dist/es/c/Modal/common/ModalHeader/ModalHeader.js +1 -1
  284. package/dist/es/c/Modal/styles.scss +7 -2
  285. package/dist/es/c/Shortener/Shortener.js +2 -2
  286. package/dist/es/c/SocialMediaShareButton/SocialMediaShareButton.js +2 -2
  287. package/dist/es/f/FormInput/FormInput.js +2 -2
  288. package/dist/es/f/common/Debugger/Debugger.js +2 -2
  289. package/dist/es/f/common/Description/Description.js +2 -2
  290. package/dist/es/f/common/Label/Label.js +2 -2
  291. package/dist/es/f/common/Label/styles.scss +1 -1
  292. package/dist/es/f/fields/Checkbox/Checkbox.js +2 -2
  293. package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +21 -12
  294. package/dist/es/f/fields/ChoicesInput/styles.scss +26 -32
  295. package/dist/es/f/fields/QueryCombobox/QueryCombobox.js +3 -3
  296. package/dist/es/f/fields/QueryCombobox/common/Combobox/Combobox.js +3 -3
  297. package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +2 -2
  298. package/dist/es/f/fields/QueryCombobox/styles.scss +13 -11
  299. package/dist/es/f/fields/QuerySelect/QuerySelect.js +1 -1
  300. package/dist/es/f/fields/RatingsInput/RatingsInput.js +2 -2
  301. package/dist/es/f/fields/RatingsInput/common/Rating/Rating.js +3 -3
  302. package/dist/es/f/fields/SelectInput/SelectInput.js +4 -4
  303. package/dist/es/f/fields/SelectInput/styles.scss +33 -22
  304. package/dist/es/f/fields/TextInput/TextInput.js +18 -7
  305. package/dist/es/f/fields/TextInput/styles.scss +44 -14
  306. package/dist/es/f/fields/TextareaInput/TextareaInput.js +8 -8
  307. package/dist/es/f/fields/TextareaInput/styles.scss +7 -5
  308. package/dist/es/form.scss +1 -1
  309. package/package.json +17 -16
  310. package/src/stories/a/BlurOverlay.stories.jsx +39 -0
  311. package/src/stories/a/Conversation.stories.jsx +11 -42
  312. package/src/stories/a/MetaCard.stories.jsx +35 -0
  313. package/src/stories/a/People.stories.jsx +2 -2
  314. package/src/stories/a/Quote.stories.jsx +1 -1
  315. package/src/stories/a/SnapScroller.stories.jsx +2 -2
  316. package/src/stories/a/Spinner.stories.jsx +1 -1
  317. package/src/stories/a/TextSteps.stories.jsx +19 -0
  318. package/src/stories/a/Tip.stories.jsx +28 -0
  319. package/src/stories/b/{Button.stories.jsx → Button/Button.stories.jsx} +18 -0
  320. package/src/stories/b/Button/Group.stories.jsx +35 -0
  321. package/src/stories/b/Card/Card.stories.jsx +59 -0
  322. package/src/stories/b/Card/Group.stories.jsx +59 -0
  323. package/src/stories/b/Page.stories.jsx +19 -3
  324. package/src/stories/b/ThemeSelector.stories.jsx +1 -1
  325. package/src/stories/b/Title.stories.jsx +1 -1
  326. package/src/stories/c/ContentSlides.stories.jsx +1 -1
  327. package/src/stories/colors.js +22 -10
  328. package/src/stories/f/SelectInput.stories.jsx +7 -0
  329. package/src/stories/f/TextInput.stories.jsx +11 -4
  330. package/src/ui/a/AnimatedBlobs/AnimatedBlobs.jsx +102 -0
  331. package/src/ui/a/AnimatedBlobs/index.js +1 -0
  332. package/src/ui/a/AnimatedBlobs/styles.scss +87 -0
  333. package/src/ui/a/AnimatedGradient/AnimatedGradient.jsx +73 -0
  334. package/src/ui/a/AnimatedGradient/index.js +1 -0
  335. package/src/ui/a/AnimatedGradient/styles.scss +14 -0
  336. package/src/ui/a/AnimatedGradient/webGIRenderer.js +541 -0
  337. package/src/ui/a/AppContext/useTheme.js +0 -4
  338. package/src/ui/a/BlurOverlay/BlurOverlay.jsx +75 -0
  339. package/src/ui/a/BlurOverlay/index.js +2 -0
  340. package/src/ui/a/BlurOverlay/styles.scss +31 -0
  341. package/src/ui/a/ContentTree/ContentTree.jsx +10 -6
  342. package/src/ui/a/ContentTree/common/Tree/Tree.jsx +19 -7
  343. package/src/ui/a/ContentTree/styles.scss +34 -11
  344. package/src/ui/a/Conversation/Conversation.jsx +16 -20
  345. package/src/ui/a/Conversation/common/Message/Message.jsx +18 -11
  346. package/src/ui/a/Conversation/styles.scss +56 -124
  347. package/src/ui/a/DotInfo/DotInfo.jsx +2 -2
  348. package/src/ui/a/Figure/Figure.jsx +2 -2
  349. package/src/ui/a/HamburgerButton/HamburgerButton.jsx +2 -2
  350. package/src/ui/a/IconList/IconList.jsx +2 -2
  351. package/src/ui/a/Label/Label.jsx +13 -4
  352. package/src/ui/a/Label/styles.scss +4 -4
  353. package/src/ui/a/LoadingCircle/LoadingCircle.jsx +2 -2
  354. package/src/ui/a/MetaCard/MetaCard.jsx +81 -0
  355. package/src/ui/a/MetaCard/index.js +1 -0
  356. package/src/ui/a/MetaCard/styles.scss +45 -0
  357. package/src/ui/a/People/People.jsx +2 -2
  358. package/src/ui/a/People/common/Person/Person.jsx +1 -1
  359. package/src/ui/a/Popover/Popover.jsx +4 -4
  360. package/src/ui/a/Popover/styles.scss +1 -1
  361. package/src/ui/a/ProgressBar/ProgressBar.jsx +2 -2
  362. package/src/ui/a/Quote/Quote.jsx +2 -2
  363. package/src/ui/a/SVG/SVG.jsx +2 -2
  364. package/src/ui/a/SnapScroller/SnapScroller.jsx +2 -2
  365. package/src/ui/a/SnapScroller/styles.scss +30 -9
  366. package/src/ui/a/Spinner/Spinner.jsx +2 -2
  367. package/src/ui/a/TextSteps/TextSteps.jsx +87 -0
  368. package/src/ui/a/TextSteps/index.js +1 -0
  369. package/src/ui/a/TextSteps/styles.scss +29 -0
  370. package/src/ui/a/Timestamp/Timestamp.jsx +2 -2
  371. package/src/ui/a/Tip/Tip.jsx +88 -0
  372. package/src/ui/a/Tip/index.js +2 -0
  373. package/src/ui/a/Tip/styles.scss +22 -0
  374. package/src/ui/a/index.js +6 -0
  375. package/src/ui/b/Button/Button.jsx +26 -7
  376. package/src/ui/b/Button/common/Group/Group.jsx +71 -0
  377. package/src/ui/b/Button/common/Group/index.js +1 -0
  378. package/src/ui/b/Button/common/Group/styles.scss +11 -0
  379. package/src/ui/b/Button/common/index.js +1 -0
  380. package/src/ui/b/Button/styles.scss +38 -8
  381. package/src/ui/b/Card/Card.jsx +94 -0
  382. package/src/ui/b/Card/common/Group/Group.jsx +91 -0
  383. package/src/ui/b/Card/common/Group/index.js +1 -0
  384. package/src/ui/b/Card/common/Group/styles.scss +38 -0
  385. package/src/ui/b/Card/common/Section/Section.jsx +70 -0
  386. package/src/ui/b/Card/common/Section/index.js +1 -0
  387. package/src/ui/b/Card/common/index.js +2 -0
  388. package/src/ui/b/Card/index.js +1 -0
  389. package/src/ui/b/Card/styles.scss +57 -0
  390. package/src/ui/b/Logo/Logo.jsx +2 -2
  391. package/src/ui/b/Page/Page.jsx +13 -3
  392. package/src/ui/b/Page/common/PageHelmet/PageHelmet.jsx +2 -3
  393. package/src/ui/b/Page/common/Section/Section.jsx +16 -1
  394. package/src/ui/b/Page/styles.scss +25 -4
  395. package/src/ui/b/SocialMediaButton/SocialMediaButton.jsx +2 -2
  396. package/src/ui/b/SocialMediaButton/styles.scss +1 -15
  397. package/src/ui/b/ThemeSelector/ThemeSelector.jsx +12 -30
  398. package/src/ui/b/ThemeSelector/styles.scss +2 -7
  399. package/src/ui/b/Title/Title.jsx +30 -23
  400. package/src/ui/b/index.js +1 -0
  401. package/src/ui/c/ContentSlides/ContentSlides.jsx +3 -3
  402. package/src/ui/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.jsx +1 -1
  403. package/src/ui/c/ContentSlides/styles.scss +2 -2
  404. package/src/ui/c/Modal/Modal.jsx +3 -3
  405. package/src/ui/c/Modal/common/ModalHeader/ModalHeader.jsx +1 -1
  406. package/src/ui/c/Modal/styles.scss +7 -2
  407. package/src/ui/c/Shortener/Shortener.jsx +2 -2
  408. package/src/ui/c/SocialMediaShareButton/SocialMediaShareButton.jsx +2 -2
  409. package/src/ui/f/FormInput/FormInput.jsx +2 -2
  410. package/src/ui/f/common/Debugger/Debugger.jsx +2 -2
  411. package/src/ui/f/common/Description/Description.jsx +2 -2
  412. package/src/ui/f/common/Label/Label.jsx +2 -2
  413. package/src/ui/f/common/Label/styles.scss +1 -1
  414. package/src/ui/f/fields/Checkbox/Checkbox.jsx +2 -2
  415. package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +16 -9
  416. package/src/ui/f/fields/ChoicesInput/styles.scss +26 -32
  417. package/src/ui/f/fields/QueryCombobox/QueryCombobox.jsx +3 -3
  418. package/src/ui/f/fields/QueryCombobox/common/Combobox/Combobox.jsx +3 -3
  419. package/src/ui/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.jsx +2 -2
  420. package/src/ui/f/fields/QueryCombobox/styles.scss +13 -11
  421. package/src/ui/f/fields/QuerySelect/QuerySelect.jsx +1 -1
  422. package/src/ui/f/fields/RatingsInput/RatingsInput.jsx +2 -2
  423. package/src/ui/f/fields/RatingsInput/common/Rating/Rating.jsx +3 -3
  424. package/src/ui/f/fields/SelectInput/SelectInput.jsx +4 -4
  425. package/src/ui/f/fields/SelectInput/styles.scss +33 -22
  426. package/src/ui/f/fields/TextInput/TextInput.jsx +25 -12
  427. package/src/ui/f/fields/TextInput/styles.scss +44 -14
  428. package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +10 -10
  429. package/src/ui/f/fields/TextareaInput/styles.scss +7 -5
  430. package/src/ui/form.scss +1 -1
  431. package/tests/__snapshots__/Storyshots.test.js.snap +8572 -2878
@@ -21,63 +21,32 @@ export const Base = () => {
21
21
  const conversations = [
22
22
  {
23
23
  message:'Hi Camille, please compile an assesment of top 5 firms/brand providers for the listed fields in the US.',
24
- sender :'HUMBL',
24
+ sender :'Humbl',
25
25
  from :'theirs',
26
26
  },
27
27
  {
28
28
  message:'Hi Morgan! Here is the database we prepared for you.',
29
- sender :'CAMILLE',
29
+ sender :'Camille',
30
30
  from :'ours',
31
31
  },
32
32
  {
33
- message:'Hi Camille, please compile an assesment of top 6 firms/brand providers for the listed fields in the US.',
34
- sender :'HUMBL',
33
+ message:'That looks amazing',
34
+ sender :'Humbl',
35
35
  from :'theirs',
36
36
  },
37
37
  {
38
- message:'Hi Morgan! Here is the spreadsheet we prepared for you.',
39
- sender :'CAMILLE',
40
- from :'ours',
41
- },
42
- ]
43
-
44
- return (
45
- <Conversation>
46
- {conversations.map((conversation) => (
47
- <Conversation.Message key={conversation.message} {...conversation} />
48
- ))}
49
- </Conversation>
50
- )
51
- }
52
-
53
- export const WithTriangle = () => {
54
- const conversations = [
55
- {
56
- message:'Hi Camille, please compile an assesment of top 5 firms/brand providers for the listed fields in the US.',
57
- sender :'HUMBL',
58
- from :'theirs',
59
- },
60
- {
61
- message:'Hi Morgan! Here is the database we prepared for you.',
62
- sender :'CAMILLE',
63
- from :'ours',
64
- },
65
- {
66
- message:'Hi Camille, please compile an assesment of top 6 firms/brand providers for the listed fields in the US.',
67
- sender :'HUMBL',
38
+ message:'Thank you for the great work, can we also get this information in a spreadsheet?',
68
39
  from :'theirs',
69
40
  },
70
41
  {
71
42
  message:'Hi Morgan! Here is the spreadsheet we prepared for you.',
72
- sender :'CAMILLE',
43
+ sender :'Camille',
73
44
  from :'ours',
74
45
  },
75
46
  ]
76
47
 
77
48
  return (
78
- <Conversation
79
- hasTriangle
80
- >
49
+ <Conversation>
81
50
  {conversations.map((conversation) => (
82
51
  <Conversation.Message key={conversation.message} {...conversation} />
83
52
  ))}
@@ -89,24 +58,24 @@ export const WithAttachment = () => {
89
58
  const conversations = [
90
59
  {
91
60
  message:'Hi Camille, please compile an assesment of top 5 firms/brand providers for the listed fields in the US.',
92
- sender :'HUMBL',
61
+ sender :'Humbl',
93
62
  from :'theirs',
94
63
  },
95
64
  {
96
65
  message :'Hi Morgan! Here is the database we prepared for you.',
97
- sender :'CAMILLE',
66
+ sender :'Camille',
98
67
  from :'ours',
99
68
  attachment :'spreadsheet.xlsx',
100
69
  attachmentColor:'main4',
101
70
  },
102
71
  {
103
72
  message:'Hi Camille, please compile an assesment of top 6 firms/brand providers for the listed fields in the US.',
104
- sender :'HUMBL',
73
+ sender :'Humbl',
105
74
  from :'theirs',
106
75
  },
107
76
  {
108
77
  message :'Hi Morgan! Here is the spreadsheet we prepared for you.',
109
- sender :'CAMILLE',
78
+ sender :'Camille',
110
79
  from :'ours',
111
80
  attachment :'spreadsheet.xlsx',
112
81
  attachmentColor:'main4',
@@ -0,0 +1,35 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { MetaCard } from 'ui'
5
+
6
+ export default {
7
+ title :'a/MetaCard',
8
+ component :MetaCard,
9
+ subcomponents:{},
10
+ decorators :[],
11
+ controls :{
12
+ hasBackgroundBlur:{ type: 'boolean' },
13
+ },
14
+ }
15
+
16
+ const Template = (args) => (
17
+ <div style={{ backgroundImage: 'linear-gradient(purple, white)', padding: '1em' }}>
18
+ <MetaCard {...args}>
19
+ <h3 style={{ gridColumn: '2/-1' }}>
20
+ Column 2
21
+ </h3>
22
+ <p style={{ gridColumn: '3/-1' }}>
23
+ Column 3
24
+ </p>
25
+ </MetaCard>
26
+ </div>
27
+ )
28
+
29
+ export const Base = Template.bind({})
30
+ Base.args = {}
31
+
32
+ export const WithBlur = Template.bind({})
33
+ WithBlur.args = {
34
+ hasBackgroundBlur:true,
35
+ }
@@ -40,7 +40,7 @@ export const Base = () => {
40
40
  ]
41
41
 
42
42
  return (
43
- <div className="x-background1 b-x v1 p-v">
43
+ <div className="x-background-far b-x v1 p-v">
44
44
  <People>
45
45
  {peopleMap.map((person) => (
46
46
  <People.Person key={person.name} {...person} />
@@ -61,7 +61,7 @@ export const OnePerson = () => {
61
61
  ]
62
62
 
63
63
  return (
64
- <div className="x-background1 b-x v1 p-v">
64
+ <div className="x-background-far b-x v1 p-v">
65
65
  <People>
66
66
  {peopleMap.map((person) => (
67
67
  <People.Person key={person.name} {...person} />
@@ -18,7 +18,7 @@ export default {
18
18
  }
19
19
 
20
20
  export const Base = () => (
21
- <div className="y-background1 b-y u1 p-u">
21
+ <div className="y-background-far b-y u1 p-u">
22
22
  <Quote
23
23
  author="Austen Spoonts"
24
24
  >
@@ -23,7 +23,7 @@ export const Base = () => {
23
23
  <div
24
24
  className="card"
25
25
  style={{
26
- background:'var(--background1)', minWidth:'330px', height:'400px', padding:'var(--u)',
26
+ background:'var(--background-far)', minWidth:'330px', height:'400px', padding:'var(--u)',
27
27
  }}
28
28
  >
29
29
  { children }
@@ -63,7 +63,7 @@ export const NoScrollOnDesktop = () => {
63
63
  <div
64
64
  className="card"
65
65
  style={{
66
- background:'var(--background1)', width:'330px', height:'400px', padding:'var(--u)',
66
+ background:'var(--background-far)', width:'330px', height:'400px', padding:'var(--u)',
67
67
  }}
68
68
  >
69
69
  { children }
@@ -18,7 +18,7 @@ export default {
18
18
  }
19
19
 
20
20
  export const Base = () => (
21
- <div className="y-background1 b-y">
21
+ <div className="y-background-far b-y">
22
22
 
23
23
  <Spinner />
24
24
  </div>
@@ -0,0 +1,19 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { TextSteps } from 'ui'
5
+
6
+ export default {
7
+ title :'a/TextSteps',
8
+ component:TextSteps,
9
+ }
10
+
11
+ const items = [
12
+ 'Join Pareto in minutes. Share your business goals to match with a Project Partner.',
13
+ 'Receive initial output in 24 hours. Give feedback to fine-tune results and level up your Pareto team.',
14
+ 'Tap into economies of scale with tried and true playbooks: Benefit from strategic project recommendations. Enjoy continuous workflow improvement and documented learnings.',
15
+ ]
16
+
17
+ export const Base = () => (
18
+ <div className="grid span-8 md-span-14"><TextSteps items={items} /></div>
19
+ )
@@ -0,0 +1,28 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { Tip } from 'ui'
5
+
6
+ export default {
7
+ title :'a/Tip',
8
+ component :Tip,
9
+ subcomponents:{
10
+ // Item:Quote.Item
11
+ },
12
+ decorators:[
13
+ // storyfn => <div className="">{ storyfn() }</div>,
14
+ ],
15
+ argTypes:{
16
+ color:{ control: 'color' },
17
+ },
18
+ }
19
+
20
+ const Template = (args) => (
21
+ <Tip {...args} />
22
+ )
23
+
24
+ export const Base = Template.bind({})
25
+ Base.args = {
26
+ children:'Remember to wash your vegetables before eating them.',
27
+ color :'main',
28
+ }
@@ -19,6 +19,7 @@ export default {
19
19
  isGhost :{ control: { type: 'boolean' } },
20
20
  isSimple :{ control: { type: 'boolean' } },
21
21
  isAnimated:{ control: { type: 'boolean' } },
22
+ isGradient:{ control: { type: 'boolean' } },
22
23
  },
23
24
  }
24
25
 
@@ -57,6 +58,11 @@ Simple.args = {
57
58
  isSimple:true,
58
59
  }
59
60
 
61
+ export const Gradient = MultipleTemplate.bind({})
62
+ Gradient.args = {
63
+ isGradient:true,
64
+ }
65
+
60
66
  export const Compact = MultipleTemplate.bind({})
61
67
  Compact.args = {
62
68
  isCompact:true,
@@ -105,3 +111,15 @@ ArrowRightSimple.args = {
105
111
  arrowDirection:'right',
106
112
  isSimple :true,
107
113
  }
114
+
115
+ export const DisabledArrowLeft = MultipleTemplate.bind({})
116
+ DisabledArrowLeft.args = {
117
+ arrowDirection:'left',
118
+ disabled :true,
119
+ }
120
+
121
+ export const DisabledArrowRight = MultipleTemplate.bind({})
122
+ DisabledArrowRight.args = {
123
+ arrowDirection:'right',
124
+ disabled :true,
125
+ }
@@ -0,0 +1,35 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { Button } from 'ui'
5
+
6
+ import { ALL_COLORS } from 'stories/colors'
7
+
8
+ export default {
9
+ title :'b/Button/Group',
10
+ component :Button.Group,
11
+ decorators:[
12
+ // (storyfn) => <Router>{storyfn()}</Router>,
13
+ ],
14
+ argTypes:{
15
+ },
16
+ }
17
+
18
+ const Template = (args) => (
19
+ <Button.Group {...args}>
20
+ {
21
+ ALL_COLORS.map((colorName) => (
22
+ <Button {...args} color={colorName} key={colorName}>
23
+ This is a
24
+ {' '}
25
+ {colorName}
26
+ {' '}
27
+ button
28
+ </Button>
29
+ ))
30
+ }
31
+ </Button.Group>
32
+ )
33
+
34
+ export const Base = Template.bind({})
35
+ Base.args = {}
@@ -0,0 +1,59 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { Card } from 'ui'
5
+
6
+ export default {
7
+ title :'b/Card',
8
+ component :Card,
9
+ subcomponents:{
10
+ 'Card.Section':Card.Section,
11
+ 'Card.Group' :Card.Group,
12
+ },
13
+ decorators:[
14
+ // (storyfn) => <Router>{storyfn()}</Router>,
15
+ ],
16
+ argTypes:{
17
+ progress:{ control: 'number' },
18
+ },
19
+ }
20
+
21
+ const Template = ({ isImage, ...args }) => (
22
+ <Card
23
+ {...args}
24
+ >
25
+ { isImage && (
26
+ <Card.Section isImage>
27
+ <img src="https://miro.medium.com/max/1124/1*v9We8Bevk2FFA5YadZNwcQ.jpeg" alt="test" />
28
+ </Card.Section>
29
+ )}
30
+ <Card.Section>
31
+ <h1>
32
+ Section One
33
+ </h1>
34
+ </Card.Section>
35
+ <Card.Section>
36
+ <h2>
37
+ Section Two
38
+ </h2>
39
+ </Card.Section>
40
+ <Card.Section>
41
+ <h3>
42
+ Section Three
43
+ </h3>
44
+ </Card.Section>
45
+ </Card>
46
+ )
47
+
48
+ export const Base = Template.bind({})
49
+ Base.args = {}
50
+
51
+ export const CardWithProgress = Template.bind({})
52
+ CardWithProgress.args = {
53
+ progress:50,
54
+ }
55
+
56
+ export const CardWithImageSection = Template.bind({})
57
+ CardWithImageSection.args = {
58
+ isImage:true,
59
+ }
@@ -0,0 +1,59 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { Card } from 'ui'
5
+
6
+ export default {
7
+ title :'b/Card/Group',
8
+ component :Card.Group,
9
+ decorators:[
10
+ // (storyfn) => <Router>{storyfn()}</Router>,
11
+ ],
12
+ argTypes:{
13
+ type :{ control: 'select', options: ['vertical-flexbox', 'grid', 'snap-scroller'] },
14
+ desktopType:{ control: 'select', options: ['vertical-flexbox', 'grid'] },
15
+ },
16
+ }
17
+
18
+ const Template = ({ ...args }) => (
19
+ <Card.Group
20
+ className="span-8"
21
+ {...args}
22
+ >
23
+ <Card className="span-2">
24
+ <Card.Section>
25
+ <h1>
26
+ Span Two on Grid
27
+ </h1>
28
+ </Card.Section>
29
+ </Card>
30
+ <Card>
31
+ <Card.Section>
32
+ <h1>
33
+ Card Two
34
+ </h1>
35
+ </Card.Section>
36
+ </Card>
37
+ <Card>
38
+ <Card.Section>
39
+ <h1>
40
+ Card Three
41
+ </h1>
42
+ </Card.Section>
43
+ </Card>
44
+ </Card.Group>
45
+ )
46
+
47
+ export const Base = Template.bind({})
48
+ Base.args = {}
49
+
50
+ export const CardGroupGridOnDesktop = Template.bind({})
51
+ CardGroupGridOnDesktop.args = {
52
+ desktopType:'grid',
53
+ }
54
+
55
+ export const CardGroupNotSnapScroller = Template.bind({})
56
+ CardGroupNotSnapScroller.args = {
57
+ type :'vertical-flexbox',
58
+ desktopType:'vertical-flexbox',
59
+ }
@@ -1,7 +1,11 @@
1
1
  /* @pareto-engineering/generator-front 1.0.0 */
2
2
  import * as React from 'react'
3
3
 
4
- import { Page } from 'ui'
4
+ import {
5
+ Page,
6
+ // AnimatedGradient,
7
+ // AnimatedBlobs,
8
+ } from 'ui'
5
9
  import { HelmetProvider } from 'react-helmet-async'
6
10
 
7
11
  export default {
@@ -52,9 +56,21 @@ export const WithSections = () => (
52
56
  <Page.Section id="s1">
53
57
  Section 1
54
58
  </Page.Section>
55
- <Page.Section id="s2">
59
+ <Page.Section id="s2" spaced className="x-main b-x">
56
60
  Section 2.
57
- Inspect source for details.
61
+ This section is spaced
58
62
  </Page.Section>
59
63
  </Page>
60
64
  )
65
+
66
+ // Story is commented out due to snapshots and animations
67
+ // export const WithAnimatedBlobsBackground = () => (
68
+ // <Page
69
+ // id="with-sections"
70
+ // Background={AnimatedBlobs}
71
+ // >
72
+ // <Page.Section id="s1">
73
+ // Section 1
74
+ // </Page.Section>
75
+ // </Page>
76
+ // )
@@ -35,7 +35,7 @@ export const Base = () => {
35
35
  className={
36
36
  [
37
37
  `ui-${userTheme}`,
38
- 'y-background1 b-y',
38
+ 'y-background-far b-y',
39
39
  ].filter((e) => e).join(' ')
40
40
  }
41
41
  >
@@ -34,7 +34,7 @@ WithSubtitle.args = {
34
34
  export const Sizes = (props) => (
35
35
  ['h1', 'h2', 'h3', 'h4', 'h5'].map((size) => (
36
36
  <div className="u2 pv-u" key={size}>
37
- <div className="y-background2 b-hard-y">
37
+ <div className="y-background-far b-hard-y">
38
38
  <Title
39
39
  heading={`This is a title in ${size}`}
40
40
  headingAs={size}
@@ -76,7 +76,7 @@ const Template = (args) => {
76
76
 
77
77
  return (
78
78
  <div className={`ui-${userTheme}`} style={{ height: '100%' }}>
79
- <ContentSlides className="y-background1 b-dark-y" steps={steps} simple={isSimple}>
79
+ <ContentSlides className="y-background-far b-dark-y" steps={steps} simple={isSimple}>
80
80
  {!isSimple && (
81
81
  <ContentSlides.Sidebar
82
82
  header={(
@@ -1,8 +1,11 @@
1
1
  const THEME = [
2
- 'main1',
2
+ 'main',
3
+ 'main-80',
4
+ 'main-50',
3
5
  'main2',
4
- 'main3',
5
- 'main4',
6
+ 'interactive',
7
+ 'interactive-icons',
8
+ 'shadow',
6
9
  ]
7
10
 
8
11
  /*
@@ -24,21 +27,30 @@ const MODALS = [
24
27
  'success',
25
28
  'warning',
26
29
  'error',
30
+ 'blocked',
31
+ 'backlog',
32
+ 'in-progress',
33
+ 'in-review',
34
+ 'requested',
35
+ 'completed',
27
36
  ]
28
37
 
29
38
  const UI = [
30
- 'background1',
31
- 'background2',
32
- 'background3',
33
- 'background4',
34
- 'background5',
35
- 'background6',
39
+ 'background-far',
40
+ 'background-near',
41
+ 'background-cards',
42
+ 'background-cards-80',
43
+ 'background-cards-50',
44
+ 'background-inputs',
45
+ 'background-mesh',
36
46
  'heading',
37
47
  'paragraph',
38
48
  'subtitle',
39
49
  'metadata',
40
50
  'link',
41
- 'navlink',
51
+ 'transparent',
52
+ 'highlighted',
53
+ 'disabled',
42
54
  ]
43
55
 
44
56
  const SM = [
@@ -78,3 +78,10 @@ DisabledSelectInput.args = {
78
78
  ...Base.args,
79
79
  disabled:true,
80
80
  }
81
+
82
+ export const DisabledWithDescriptionSelectInput = Template.bind({})
83
+ DisabledWithDescriptionSelectInput.args = {
84
+ ...Base.args,
85
+ disabled :true,
86
+ description:'This is a description',
87
+ }
@@ -16,7 +16,7 @@ export default {
16
16
  decorators:[
17
17
  (storyfn) => (
18
18
  <Formik
19
- initialValues={{ firstName: '', date: '', time: '' }}
19
+ initialValues={{ email: '', name: '', company: '' }}
20
20
  >
21
21
  <Form>
22
22
 
@@ -34,6 +34,7 @@ export default {
34
34
  name :{ control: 'text' },
35
35
  label :{ control: 'text' },
36
36
  optional :{ control: 'boolean' },
37
+ symbol :{ control: 'text' },
37
38
  },
38
39
  }
39
40
 
@@ -47,8 +48,8 @@ const Template = (args) => (
47
48
 
48
49
  export const Base = Template.bind({})
49
50
  Base.args = {
50
- name :'firstName',
51
- label:"What's your first name ?",
51
+ name :'email',
52
+ label:'How can we reach you ?',
52
53
  }
53
54
 
54
55
  export const Optional = Template.bind({})
@@ -76,7 +77,7 @@ WithValidation.args = {
76
77
  export const WithPlaceholder = Template.bind({})
77
78
  WithPlaceholder.args = {
78
79
  ...Base.args,
79
- placeholder:'First Name',
80
+ placeholder:'Email address',
80
81
  }
81
82
 
82
83
  export const WithAutoCompleteOff = Template.bind({})
@@ -104,3 +105,9 @@ Time.args = {
104
105
  name :'time',
105
106
  label:'Select time',
106
107
  }
108
+
109
+ export const HasSymbol = Template.bind({})
110
+ HasSymbol.args = {
111
+ ...Base.args,
112
+ symbol:"'$'",
113
+ }