@pareto-engineering/design-system 2.0.0-alpha.9 → 3.0.0-alpha.22

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 (799) hide show
  1. package/.eslintrc.js +1 -39
  2. package/.storybook/main.js +12 -1
  3. package/babel.config.js +2 -0
  4. package/dist/cjs/a/AnimatedCounter/AnimatedCounter.js +8 -24
  5. package/dist/cjs/a/AnimatedCounter/index.js +0 -2
  6. package/dist/cjs/a/AnimatedCounter/styles.scss +2 -2
  7. package/dist/cjs/{c/BlogContext → a/AppContext}/Context.js +0 -5
  8. package/dist/cjs/a/{SiteContext → AppContext}/ContextProvider.js +18 -30
  9. package/dist/cjs/a/{SiteContext → AppContext}/index.js +5 -10
  10. package/dist/cjs/a/{SiteContext/useSite.js → AppContext/useApp.js} +0 -5
  11. package/dist/cjs/a/{SiteContext → AppContext}/useTheme.js +6 -8
  12. package/dist/cjs/{c/Hero/Hero.js → a/ContentTree/ContentTree.js} +24 -42
  13. package/dist/cjs/a/ContentTree/common/Tree/Tree.js +104 -0
  14. package/dist/cjs/{b/Card → a/ContentTree/common/Tree}/index.js +3 -5
  15. package/dist/cjs/a/ContentTree/common/index.js +27 -0
  16. package/dist/cjs/a/ContentTree/common/useContentTree.js +80 -0
  17. package/dist/cjs/a/ContentTree/common/useFirstVisibleNode.js +63 -0
  18. package/dist/cjs/{c/SiteMission → a/ContentTree}/index.js +3 -5
  19. package/dist/cjs/a/ContentTree/styles.scss +33 -0
  20. package/dist/cjs/a/Conversation/Context.js +0 -5
  21. package/dist/cjs/a/Conversation/Conversation.js +17 -28
  22. package/dist/cjs/a/Conversation/common/Message/Message.js +36 -25
  23. package/dist/cjs/a/Conversation/common/Message/index.js +0 -2
  24. package/dist/cjs/a/Conversation/common/index.js +0 -1
  25. package/dist/cjs/a/Conversation/index.js +0 -4
  26. package/dist/cjs/a/Conversation/styles.scss +134 -35
  27. package/dist/cjs/a/Conversation/useConversation.js +0 -5
  28. package/dist/cjs/a/DotInfo/DotInfo.js +13 -28
  29. package/dist/cjs/a/DotInfo/index.js +0 -2
  30. package/dist/cjs/a/Figure/Figure.js +8 -19
  31. package/dist/cjs/a/Figure/index.js +0 -2
  32. package/dist/cjs/a/HamburgerButton/HamburgerButton.js +13 -32
  33. package/dist/cjs/a/HamburgerButton/index.js +0 -2
  34. package/dist/cjs/a/IconList/IconList.js +20 -38
  35. package/dist/cjs/a/IconList/common/Item/Item.js +19 -37
  36. package/dist/cjs/a/IconList/common/Item/index.js +0 -2
  37. package/dist/cjs/a/IconList/common/index.js +0 -1
  38. package/dist/cjs/a/IconList/index.js +0 -2
  39. package/dist/cjs/a/IconList/styles.scss +1 -1
  40. package/dist/cjs/{c/BlogPostsList/BlogPostsList.js → a/Label/Label.js} +28 -27
  41. package/dist/cjs/{c/Hero → a/Label}/index.js +3 -5
  42. package/dist/cjs/a/Label/styles.scss +34 -0
  43. package/dist/cjs/a/LoadingCircle/LoadingCircle.js +13 -27
  44. package/dist/cjs/a/LoadingCircle/index.js +0 -2
  45. package/dist/cjs/a/People/People.js +12 -27
  46. package/dist/cjs/a/People/common/Person/Person.js +9 -21
  47. package/dist/cjs/a/People/common/Person/index.js +0 -2
  48. package/dist/cjs/a/People/common/index.js +0 -1
  49. package/dist/cjs/a/People/index.js +0 -2
  50. package/dist/cjs/a/People/styles.scss +8 -6
  51. package/dist/cjs/{c/AcceptCookies/AcceptCookies.js → a/Popover/Popover.js} +58 -77
  52. package/dist/cjs/a/{Shapes → Popover}/index.js +3 -5
  53. package/dist/cjs/a/Popover/styles.scss +33 -0
  54. package/dist/cjs/a/ProgressBar/ProgressBar.js +14 -27
  55. package/dist/cjs/a/ProgressBar/index.js +0 -2
  56. package/dist/cjs/a/Quote/Quote.js +8 -21
  57. package/dist/cjs/a/Quote/index.js +0 -2
  58. package/dist/cjs/a/Quote/styles.scss +2 -2
  59. package/dist/cjs/a/SVG/SVG.js +21 -48
  60. package/dist/cjs/a/SVG/common/UseSVG/UseSVG.js +5 -19
  61. package/dist/cjs/a/SVG/common/UseSVG/index.js +0 -2
  62. package/dist/cjs/a/SVG/common/index.js +0 -1
  63. package/dist/cjs/a/SVG/index.js +0 -2
  64. package/dist/cjs/a/{ContentCard/ContentCard.js → SnapScroller/SnapScroller.js} +19 -32
  65. package/dist/cjs/a/{DashboardNavbar/common/NavProfile → SnapScroller}/index.js +3 -5
  66. package/dist/cjs/a/SnapScroller/styles.scss +38 -0
  67. package/dist/cjs/a/Spinner/Spinner.js +8 -18
  68. package/dist/cjs/a/Spinner/index.js +0 -2
  69. package/dist/cjs/a/Timestamp/Timestamp.js +8 -25
  70. package/dist/cjs/a/Timestamp/index.js +0 -2
  71. package/dist/cjs/a/index.js +49 -99
  72. package/dist/cjs/b/Button/Button.js +24 -41
  73. package/dist/cjs/b/Button/index.js +0 -2
  74. package/dist/cjs/b/Button/styles.scss +65 -19
  75. package/dist/cjs/b/Logo/Logo.js +46 -61
  76. package/dist/cjs/b/Logo/index.js +0 -2
  77. package/dist/cjs/b/Logo/styles.scss +0 -138
  78. package/dist/cjs/b/Page/Context.js +0 -5
  79. package/dist/cjs/b/Page/Page.js +14 -34
  80. package/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +9 -28
  81. package/dist/cjs/b/Page/common/PageHelmet/index.js +0 -2
  82. package/dist/cjs/b/Page/common/Section/Section.js +14 -69
  83. package/dist/cjs/b/Page/common/Section/index.js +0 -2
  84. package/dist/cjs/b/Page/common/index.js +0 -2
  85. package/dist/cjs/b/Page/index.js +4 -8
  86. package/dist/cjs/b/Page/usePage.js +0 -5
  87. package/dist/cjs/b/SocialMediaButton/SocialMediaButton.js +22 -43
  88. package/dist/cjs/b/SocialMediaButton/index.js +0 -2
  89. package/dist/cjs/b/SocialMediaButton/styles.scss +4 -4
  90. package/dist/cjs/b/ThemeSelector/ThemeSelector.js +6 -18
  91. package/dist/cjs/b/ThemeSelector/index.js +0 -2
  92. package/dist/cjs/b/Title/Title.js +10 -33
  93. package/dist/cjs/b/Title/index.js +0 -2
  94. package/dist/cjs/b/index.js +9 -47
  95. package/dist/cjs/c/ContentSlides/ContentSlides.js +11 -42
  96. package/dist/cjs/c/ContentSlides/Context.js +0 -5
  97. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +28 -36
  98. package/dist/cjs/c/ContentSlides/common/HorizontalMenu/index.js +0 -2
  99. package/dist/cjs/c/ContentSlides/common/Navigator/Navigator.js +11 -27
  100. package/dist/cjs/c/ContentSlides/common/Navigator/index.js +0 -2
  101. package/dist/cjs/c/ContentSlides/common/Sidebar/Sidebar.js +14 -25
  102. package/dist/cjs/c/ContentSlides/common/Sidebar/index.js +0 -2
  103. package/dist/cjs/c/ContentSlides/common/Slide/Slide.js +12 -20
  104. package/dist/cjs/c/ContentSlides/common/Slide/index.js +0 -2
  105. package/dist/cjs/c/ContentSlides/common/index.js +8 -12
  106. package/dist/cjs/c/ContentSlides/index.js +4 -8
  107. package/dist/cjs/c/ContentSlides/styles.scss +12 -6
  108. package/dist/cjs/c/ContentSlides/useContentSlides.js +0 -5
  109. package/dist/cjs/c/{TeamGallery/TeamGallery.js → Modal/Modal.js} +34 -31
  110. package/dist/cjs/{a/ContentCard/common/Section/Section.js → c/Modal/common/ModalHeader/ModalHeader.js} +38 -41
  111. package/dist/cjs/c/{SitePricing → Modal/common/ModalHeader}/index.js +3 -5
  112. package/dist/cjs/c/{BlogPostsList → Modal}/common/index.js +3 -4
  113. package/dist/cjs/{b/Card/common/Group → c/Modal}/index.js +3 -5
  114. package/dist/cjs/c/Modal/styles.scss +46 -0
  115. package/dist/cjs/c/Shortener/Shortener.js +6 -20
  116. package/dist/cjs/c/Shortener/index.js +0 -2
  117. package/dist/cjs/c/{SiteHeaderCTA/SiteHeaderCTA.js → SocialMediaShareButton/SocialMediaShareButton.js} +56 -59
  118. package/dist/cjs/c/SocialMediaShareButton/index.js +13 -0
  119. package/dist/cjs/c/SocialMediaShareButton/styles.scss +39 -0
  120. package/dist/cjs/c/index.js +17 -13
  121. package/dist/cjs/f/FormInput/FormInput.js +44 -32
  122. package/dist/cjs/f/FormInput/index.js +0 -2
  123. package/dist/cjs/f/FormInput/styles.scss +11 -0
  124. package/dist/cjs/f/common/Debugger/Debugger.js +5 -18
  125. package/dist/cjs/f/common/Debugger/index.js +0 -2
  126. package/dist/cjs/f/common/Description/Description.js +24 -33
  127. package/dist/cjs/f/common/Description/index.js +0 -2
  128. package/dist/cjs/f/common/Label/Label.js +18 -26
  129. package/dist/cjs/f/common/Label/index.js +0 -2
  130. package/dist/cjs/f/common/Label/styles.scss +2 -5
  131. package/dist/cjs/f/common/index.js +4 -7
  132. package/dist/cjs/f/fields/{CheckboxInput/CheckboxInput.js → Checkbox/Checkbox.js} +49 -54
  133. package/dist/cjs/{a/ContentCard/common/Section → f/fields/Checkbox}/index.js +3 -5
  134. package/dist/cjs/f/fields/Checkbox/styles.scss +14 -0
  135. package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +23 -43
  136. package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +9 -26
  137. package/dist/cjs/f/fields/ChoicesInput/common/Choice/index.js +0 -2
  138. package/dist/cjs/f/fields/ChoicesInput/common/index.js +0 -1
  139. package/dist/cjs/f/fields/ChoicesInput/index.js +0 -2
  140. package/dist/cjs/f/fields/ChoicesInput/styles.scss +19 -4
  141. package/dist/cjs/f/fields/QueryChoices/QueryChoices.js +142 -0
  142. package/dist/cjs/{c/SiteServices → f/fields/QueryChoices}/index.js +3 -5
  143. package/dist/cjs/f/fields/QueryCombobox/QueryCombobox.js +214 -0
  144. package/dist/cjs/f/fields/QueryCombobox/common/Combobox/Combobox.js +200 -0
  145. package/dist/cjs/{a/DashboardNavbar/common/NavItem → f/fields/QueryCombobox/common/Combobox}/index.js +3 -5
  146. package/dist/cjs/{c/BlogCategoryButton/BlogCategoryButton.js → f/fields/QueryCombobox/common/Menu/Menu.js} +48 -56
  147. package/dist/cjs/{c/BlogPostsList/common/Card → f/fields/QueryCombobox/common/Menu}/index.js +3 -5
  148. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +284 -0
  149. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/index.js +13 -0
  150. package/dist/cjs/f/fields/QueryCombobox/common/index.js +26 -0
  151. package/dist/cjs/{a/CustomerStat → f/fields/QueryCombobox}/index.js +3 -5
  152. package/dist/cjs/f/fields/QueryCombobox/styles.scss +91 -0
  153. package/dist/cjs/f/fields/QuerySelect/QuerySelect.js +192 -0
  154. package/dist/cjs/{a/ContentCard → f/fields/QuerySelect}/index.js +3 -5
  155. package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +38 -29
  156. package/dist/cjs/f/fields/RatingsInput/common/Rating/Rating.js +18 -29
  157. package/dist/cjs/f/fields/RatingsInput/common/Rating/index.js +0 -2
  158. package/dist/cjs/f/fields/RatingsInput/common/index.js +0 -1
  159. package/dist/cjs/f/fields/RatingsInput/index.js +0 -2
  160. package/dist/cjs/f/fields/RatingsInput/styles.scss +29 -20
  161. package/dist/cjs/f/fields/SelectInput/SelectInput.js +68 -41
  162. package/dist/cjs/f/fields/SelectInput/index.js +0 -2
  163. package/dist/cjs/f/fields/SelectInput/styles.scss +33 -13
  164. package/dist/cjs/f/fields/TextInput/TextInput.js +53 -42
  165. package/dist/cjs/f/fields/TextInput/index.js +0 -2
  166. package/dist/cjs/f/fields/TextInput/styles.scss +16 -7
  167. package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +51 -47
  168. package/dist/cjs/f/fields/TextareaInput/index.js +0 -2
  169. package/dist/cjs/f/fields/TextareaInput/styles.scss +19 -6
  170. package/dist/cjs/f/fields/index.js +27 -28
  171. package/dist/cjs/f/index.js +0 -5
  172. package/dist/cjs/form-reset.scss +1 -1
  173. package/dist/cjs/form.scss +2 -2
  174. package/dist/cjs/index.js +22 -12
  175. package/dist/cjs/r/SwitchRouteMap/SwitchRouteMap.js +6 -22
  176. package/dist/cjs/r/SwitchRouteMap/index.js +0 -2
  177. package/dist/cjs/r/common/PrivateRoute/PrivateRoute.js +12 -24
  178. package/dist/cjs/r/common/PrivateRoute/index.js +0 -2
  179. package/dist/cjs/r/common/index.js +0 -1
  180. package/dist/cjs/r/index.js +0 -3
  181. package/dist/cjs/{a/SiteContext/Context.js → test/QueryLoader/QueryLoader.js} +23 -5
  182. package/dist/cjs/test/QueryLoader/__generated__/QueryLoaderHelloQuery.graphql.js +64 -0
  183. package/dist/cjs/{c/BlogContext/BlogContextProvider.js → test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js} +15 -37
  184. package/dist/cjs/test/QueryLoader/common/PreloadedTestData/index.js +13 -0
  185. package/dist/cjs/test/QueryLoader/common/index.js +12 -0
  186. package/dist/cjs/{c/TeamGallery → test/QueryLoader}/index.js +3 -5
  187. package/dist/cjs/{a/ContentCard/common → test}/index.js +3 -4
  188. package/dist/cjs/utils/hooks/index.js +20 -0
  189. package/dist/cjs/utils/hooks/useDynamicPosition.js +92 -0
  190. package/dist/cjs/utils/hooks/useWindowSize.js +31 -0
  191. package/dist/cjs/utils/index.js +18 -0
  192. package/dist/es/a/AnimatedCounter/AnimatedCounter.js +30 -32
  193. package/dist/es/a/AnimatedCounter/styles.scss +2 -2
  194. package/dist/es/a/{SiteContext → AppContext}/ContextProvider.js +24 -23
  195. package/dist/es/a/AppContext/index.js +5 -0
  196. package/dist/es/a/{SiteContext → AppContext}/useTheme.js +8 -6
  197. package/dist/es/a/ContentTree/ContentTree.js +64 -0
  198. package/dist/es/a/ContentTree/common/Tree/Tree.js +95 -0
  199. package/dist/es/{c/BlogPostsList/common/Card → a/ContentTree/common/Tree}/index.js +1 -1
  200. package/dist/es/a/ContentTree/common/index.js +3 -0
  201. package/dist/es/a/ContentTree/common/useContentTree.js +73 -0
  202. package/dist/es/a/ContentTree/common/useFirstVisibleNode.js +54 -0
  203. package/dist/es/a/ContentTree/index.js +2 -0
  204. package/dist/es/a/ContentTree/styles.scss +33 -0
  205. package/dist/es/a/Conversation/Conversation.js +27 -26
  206. package/dist/es/a/Conversation/common/Message/Message.js +42 -22
  207. package/dist/es/a/Conversation/styles.scss +134 -35
  208. package/dist/es/a/DotInfo/DotInfo.js +19 -23
  209. package/dist/es/a/Figure/Figure.js +17 -19
  210. package/dist/es/a/HamburgerButton/HamburgerButton.js +15 -21
  211. package/dist/es/a/IconList/IconList.js +20 -22
  212. package/dist/es/a/IconList/common/Item/Item.js +26 -26
  213. package/dist/es/a/IconList/styles.scss +1 -1
  214. package/dist/es/{c/BlogPostsList/BlogPostsList.js → a/Label/Label.js} +33 -22
  215. package/{src/ui/a/Shapes → dist/es/a/Label}/index.js +1 -1
  216. package/dist/es/a/Label/styles.scss +34 -0
  217. package/dist/es/a/LoadingCircle/LoadingCircle.js +17 -21
  218. package/dist/es/a/People/People.js +18 -20
  219. package/dist/es/a/People/common/Person/Person.js +31 -33
  220. package/dist/es/a/People/styles.scss +8 -6
  221. package/dist/es/a/Popover/Popover.js +109 -0
  222. package/dist/es/a/{ContentCard/common/Section → Popover}/index.js +1 -1
  223. package/dist/es/a/Popover/styles.scss +33 -0
  224. package/dist/es/a/ProgressBar/ProgressBar.js +17 -20
  225. package/dist/es/a/Quote/Quote.js +17 -21
  226. package/dist/es/a/Quote/styles.scss +2 -2
  227. package/dist/es/a/SVG/SVG.js +23 -36
  228. package/dist/es/a/SVG/common/UseSVG/UseSVG.js +23 -26
  229. package/dist/es/a/{ContentCard/ContentCard.js → SnapScroller/SnapScroller.js} +25 -29
  230. package/dist/es/a/SnapScroller/index.js +2 -0
  231. package/dist/es/a/SnapScroller/styles.scss +38 -0
  232. package/dist/es/a/Spinner/Spinner.js +14 -15
  233. package/dist/es/a/Timestamp/Timestamp.js +24 -31
  234. package/dist/es/a/index.js +13 -17
  235. package/dist/es/b/Button/Button.js +28 -31
  236. package/dist/es/b/Button/styles.scss +65 -19
  237. package/dist/es/b/Logo/Logo.js +56 -61
  238. package/dist/es/b/Logo/styles.scss +0 -138
  239. package/dist/es/b/Page/Page.js +20 -24
  240. package/dist/es/b/Page/common/PageHelmet/PageHelmet.js +40 -55
  241. package/dist/es/b/Page/common/Section/Section.js +15 -55
  242. package/dist/es/b/SocialMediaButton/SocialMediaButton.js +23 -31
  243. package/dist/es/b/SocialMediaButton/styles.scss +4 -4
  244. package/dist/es/b/ThemeSelector/ThemeSelector.js +16 -17
  245. package/dist/es/b/Title/Title.js +38 -49
  246. package/dist/es/b/index.js +3 -7
  247. package/dist/es/c/ContentSlides/ContentSlides.js +26 -37
  248. package/dist/es/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +39 -36
  249. package/dist/es/c/ContentSlides/common/Navigator/Navigator.js +25 -32
  250. package/dist/es/c/ContentSlides/common/Sidebar/Sidebar.js +21 -21
  251. package/dist/es/c/ContentSlides/common/Slide/Slide.js +19 -18
  252. package/dist/es/c/ContentSlides/styles.scss +12 -6
  253. package/dist/es/c/Modal/Modal.js +76 -0
  254. package/dist/es/c/Modal/common/ModalHeader/ModalHeader.js +67 -0
  255. package/dist/es/c/Modal/common/ModalHeader/index.js +1 -0
  256. package/dist/es/c/Modal/common/index.js +1 -0
  257. package/dist/es/{a/Shapes → c/Modal}/index.js +1 -1
  258. package/dist/es/c/Modal/styles.scss +46 -0
  259. package/dist/es/c/Shortener/Shortener.js +17 -21
  260. package/dist/es/c/SocialMediaShareButton/SocialMediaShareButton.js +98 -0
  261. package/dist/es/c/SocialMediaShareButton/index.js +2 -0
  262. package/dist/es/c/SocialMediaShareButton/styles.scss +39 -0
  263. package/dist/es/c/index.js +3 -2
  264. package/dist/es/f/FormInput/FormInput.js +50 -23
  265. package/dist/es/f/FormInput/styles.scss +11 -0
  266. package/dist/es/f/common/Debugger/Debugger.js +13 -16
  267. package/dist/es/f/common/Description/Description.js +30 -30
  268. package/dist/es/f/common/Label/Label.js +27 -26
  269. package/dist/es/f/common/Label/styles.scss +2 -5
  270. package/dist/es/f/fields/Checkbox/Checkbox.js +93 -0
  271. package/dist/es/{a/TeamInfo → f/fields/Checkbox}/index.js +1 -1
  272. package/dist/es/f/fields/Checkbox/styles.scss +14 -0
  273. package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +34 -39
  274. package/dist/es/f/fields/ChoicesInput/common/Choice/Choice.js +24 -31
  275. package/dist/es/f/fields/ChoicesInput/styles.scss +19 -4
  276. package/dist/es/f/fields/QueryChoices/QueryChoices.js +130 -0
  277. package/dist/es/f/fields/QueryChoices/index.js +2 -0
  278. package/dist/es/f/fields/QueryCombobox/QueryCombobox.js +208 -0
  279. package/dist/es/f/fields/QueryCombobox/common/Combobox/Combobox.js +195 -0
  280. package/dist/es/f/fields/QueryCombobox/common/Combobox/index.js +2 -0
  281. package/dist/es/f/fields/QueryCombobox/common/Menu/Menu.js +76 -0
  282. package/dist/es/{b/Metrics → f/fields/QueryCombobox/common/Menu}/index.js +1 -1
  283. package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +275 -0
  284. package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/index.js +2 -0
  285. package/dist/es/f/fields/QueryCombobox/common/index.js +3 -0
  286. package/dist/es/f/fields/QueryCombobox/index.js +2 -0
  287. package/dist/es/f/fields/QueryCombobox/styles.scss +91 -0
  288. package/dist/es/f/fields/QuerySelect/QuerySelect.js +184 -0
  289. package/dist/es/f/fields/QuerySelect/index.js +2 -0
  290. package/dist/es/f/fields/RatingsInput/RatingsInput.js +50 -28
  291. package/dist/es/f/fields/RatingsInput/common/Rating/Rating.js +31 -32
  292. package/dist/es/f/fields/RatingsInput/styles.scss +29 -20
  293. package/dist/es/f/fields/SelectInput/SelectInput.js +78 -38
  294. package/dist/es/f/fields/SelectInput/styles.scss +33 -13
  295. package/dist/es/f/fields/TextInput/TextInput.js +66 -42
  296. package/dist/es/f/fields/TextInput/styles.scss +16 -7
  297. package/dist/es/f/fields/TextareaInput/TextareaInput.js +68 -50
  298. package/dist/es/f/fields/TextareaInput/styles.scss +19 -6
  299. package/dist/es/f/fields/index.js +5 -4
  300. package/dist/es/form-reset.scss +1 -1
  301. package/dist/es/form.scss +2 -2
  302. package/dist/es/index.js +3 -2
  303. package/dist/es/r/SwitchRouteMap/SwitchRouteMap.js +25 -23
  304. package/dist/es/r/common/PrivateRoute/PrivateRoute.js +17 -16
  305. package/dist/es/test/QueryLoader/QueryLoader.js +30 -0
  306. package/dist/es/test/QueryLoader/__generated__/QueryLoaderHelloQuery.graphql.js +64 -0
  307. package/dist/es/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js +31 -0
  308. package/dist/es/test/QueryLoader/common/PreloadedTestData/index.js +2 -0
  309. package/dist/es/test/QueryLoader/common/index.js +1 -0
  310. package/dist/es/test/QueryLoader/index.js +2 -0
  311. package/dist/es/test/index.js +1 -0
  312. package/dist/es/utils/hooks/index.js +2 -0
  313. package/dist/es/utils/hooks/useDynamicPosition.js +84 -0
  314. package/dist/es/utils/hooks/useWindowSize.js +23 -0
  315. package/dist/es/utils/index.js +1 -0
  316. package/jest.config.js +1 -0
  317. package/package.json +31 -21
  318. package/relay.config.js +12 -0
  319. package/src/__snapshots__/Storyshots.test.js.snap +11558 -7291
  320. package/src/local.scss +4 -2
  321. package/src/stories/Introduction.stories.mdx +0 -14
  322. package/src/stories/StyleGuide/Sprites.stories.mdx +25 -0
  323. package/src/stories/StyleGuide/helpers.js +18 -2
  324. package/src/stories/StyleGuide/typography.stories.mdx +0 -1
  325. package/src/stories/a/{SiteContext.stories.jsx → AppContext.stories.jsx} +8 -8
  326. package/src/stories/a/ContentTree.stories.jsx +662 -0
  327. package/src/stories/a/Conversation.stories.jsx +78 -1
  328. package/src/stories/a/DotInfo.stories.jsx +14 -13
  329. package/src/stories/a/Label.stories.jsx +49 -0
  330. package/src/stories/a/Popover.stories.jsx +106 -0
  331. package/src/stories/a/ProgressBar.stories.jsx +16 -7
  332. package/src/stories/a/SnapScroller.stories.jsx +98 -0
  333. package/src/stories/a/Timestamp.stories.jsx +35 -39
  334. package/src/stories/b/Button.stories.jsx +27 -4
  335. package/src/stories/b/Logo.stories.jsx +23 -14
  336. package/src/stories/b/Page.stories.jsx +1 -27
  337. package/src/stories/b/SocialMediaButton.stories.jsx +36 -53
  338. package/src/stories/b/ThemeSelector.stories.jsx +5 -5
  339. package/src/stories/b/Title.stories.jsx +14 -16
  340. package/src/stories/c/ContentSlides.stories.jsx +18 -152
  341. package/src/stories/c/Modal.stories.jsx +49 -0
  342. package/src/stories/c/Shortener.stories.jsx +9 -3
  343. package/src/stories/c/SocialMediaShareButton.stories.jsx +33 -0
  344. package/src/stories/f/Checkbox.stories.jsx +95 -0
  345. package/src/stories/f/ChoicesInput.stories.jsx +100 -128
  346. package/src/stories/f/Description.stories.jsx +22 -4
  347. package/src/stories/f/FormInput.stories.jsx +264 -0
  348. package/src/stories/f/Label.stories.jsx +8 -3
  349. package/src/stories/f/QueryChoices.stories.jsx +135 -0
  350. package/src/stories/f/QueryCombobox.stories.jsx +279 -0
  351. package/src/stories/f/QuerySelect.stories.jsx +142 -0
  352. package/src/stories/f/RatingsInput.stories.jsx +36 -22
  353. package/src/stories/f/SelectInput.stories.jsx +48 -49
  354. package/src/stories/f/TextInput.stories.jsx +70 -43
  355. package/src/stories/f/TextareaInput.stories.jsx +70 -19
  356. package/src/stories/f/__generated__/FormInputAllTaskStatusesQuery.graphql.js +122 -0
  357. package/src/stories/f/__generated__/FormInputAllTeamsQuery.graphql.js +139 -0
  358. package/src/stories/f/__generated__/QueryChoicesAllTaskStatusesQuery.graphql.js +122 -0
  359. package/src/stories/f/__generated__/QueryComboboxAllTeamsQuery.graphql.js +139 -0
  360. package/src/stories/f/__generated__/QuerySelectAllTaskStatusesQuery.graphql.js +122 -0
  361. package/src/stories/r/PrivateRoute.stories.jsx +1 -1
  362. package/src/stories/test/QueryLoader.stories.jsx +36 -0
  363. package/src/stories/utils/generateNodeId.js +12 -0
  364. package/src/stories/utils/lorem.js +15 -0
  365. package/src/stories/utils/relay/EnvironmentProvider.jsx +14 -0
  366. package/src/stories/utils/relay/environment.js +5 -0
  367. package/src/stories/utils/relay/index.js +4 -0
  368. package/src/stories/utils/relay/mockRelayOperation.js +14 -0
  369. package/src/stories/utils/relay/mockResolvers.js +299 -0
  370. package/src/stories/utils/testData.js +63 -0
  371. package/src/ui/a/AnimatedCounter/AnimatedCounter.jsx +1 -1
  372. package/src/ui/a/AnimatedCounter/styles.scss +2 -2
  373. package/src/ui/a/{SiteContext → AppContext}/ContextProvider.jsx +8 -7
  374. package/src/ui/a/AppContext/index.js +5 -0
  375. package/src/ui/{b/Metrics/Metrics.jsx → a/ContentTree/ContentTree.jsx} +23 -28
  376. package/src/ui/a/ContentTree/common/Tree/Tree.jsx +138 -0
  377. package/src/ui/a/ContentTree/common/Tree/index.js +2 -0
  378. package/src/ui/a/ContentTree/common/index.js +3 -0
  379. package/src/ui/a/ContentTree/common/useContentTree.js +83 -0
  380. package/src/ui/a/ContentTree/common/useFirstVisibleNode.js +59 -0
  381. package/src/ui/a/ContentTree/index.js +2 -0
  382. package/src/ui/a/ContentTree/styles.scss +33 -0
  383. package/src/ui/a/Conversation/Conversation.jsx +16 -8
  384. package/src/ui/a/Conversation/common/Message/Message.jsx +39 -7
  385. package/src/ui/a/Conversation/styles.scss +134 -35
  386. package/src/ui/a/DotInfo/DotInfo.jsx +1 -1
  387. package/src/ui/a/Figure/Figure.jsx +1 -1
  388. package/src/ui/a/HamburgerButton/HamburgerButton.jsx +1 -1
  389. package/src/ui/a/IconList/IconList.jsx +1 -1
  390. package/src/ui/a/IconList/common/Item/Item.jsx +1 -1
  391. package/src/ui/a/IconList/styles.scss +1 -1
  392. package/src/ui/a/{CustomerStat/CustomerStat.jsx → Label/Label.jsx} +25 -20
  393. package/src/ui/a/Label/index.js +2 -0
  394. package/src/ui/a/Label/styles.scss +34 -0
  395. package/src/ui/a/LoadingCircle/LoadingCircle.jsx +1 -1
  396. package/src/ui/a/People/People.jsx +1 -1
  397. package/src/ui/a/People/common/Person/Person.jsx +3 -3
  398. package/src/ui/a/People/styles.scss +8 -6
  399. package/src/ui/a/Popover/Popover.jsx +157 -0
  400. package/src/ui/a/Popover/index.js +2 -0
  401. package/src/ui/a/Popover/styles.scss +33 -0
  402. package/src/ui/a/ProgressBar/ProgressBar.jsx +1 -1
  403. package/src/ui/a/Quote/Quote.jsx +1 -1
  404. package/src/ui/a/Quote/styles.scss +2 -2
  405. package/src/ui/a/SVG/SVG.jsx +1 -1
  406. package/src/ui/a/{ContentCard/ContentCard.jsx → SnapScroller/SnapScroller.jsx} +20 -21
  407. package/src/ui/a/SnapScroller/index.js +2 -0
  408. package/src/ui/a/SnapScroller/styles.scss +38 -0
  409. package/src/ui/a/Spinner/Spinner.jsx +1 -1
  410. package/src/ui/a/Timestamp/Timestamp.jsx +1 -1
  411. package/src/ui/a/index.js +14 -21
  412. package/src/ui/b/Button/Button.jsx +10 -2
  413. package/src/ui/b/Button/styles.scss +65 -19
  414. package/src/ui/b/Logo/Logo.jsx +42 -42
  415. package/src/ui/b/Logo/styles.scss +0 -138
  416. package/src/ui/b/Page/Page.jsx +1 -1
  417. package/src/ui/b/Page/common/PageHelmet/PageHelmet.jsx +2 -2
  418. package/src/ui/b/Page/common/Section/Section.jsx +1 -51
  419. package/src/ui/b/SocialMediaButton/SocialMediaButton.jsx +5 -5
  420. package/src/ui/b/SocialMediaButton/styles.scss +4 -4
  421. package/src/ui/b/ThemeSelector/ThemeSelector.jsx +3 -3
  422. package/src/ui/b/Title/Title.jsx +1 -1
  423. package/src/ui/b/index.js +3 -7
  424. package/src/ui/c/ContentSlides/ContentSlides.jsx +1 -1
  425. package/src/ui/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.jsx +13 -6
  426. package/src/ui/c/ContentSlides/common/Navigator/Navigator.jsx +3 -2
  427. package/src/ui/c/ContentSlides/common/Sidebar/Sidebar.jsx +2 -2
  428. package/src/ui/c/ContentSlides/common/Slide/Slide.jsx +1 -1
  429. package/src/ui/c/ContentSlides/styles.scss +12 -6
  430. package/src/ui/c/{Hero/Hero.jsx → Modal/Modal.jsx} +31 -26
  431. package/src/ui/c/Modal/common/ModalHeader/ModalHeader.jsx +89 -0
  432. package/src/ui/c/Modal/common/ModalHeader/index.js +1 -0
  433. package/src/ui/c/Modal/common/index.js +1 -0
  434. package/src/ui/c/Modal/index.js +2 -0
  435. package/src/ui/c/Modal/styles.scss +46 -0
  436. package/src/ui/c/Shortener/Shortener.jsx +1 -1
  437. package/src/ui/c/SocialMediaShareButton/SocialMediaShareButton.jsx +121 -0
  438. package/src/ui/c/SocialMediaShareButton/index.js +2 -0
  439. package/src/ui/c/SocialMediaShareButton/styles.scss +39 -0
  440. package/src/ui/c/index.js +2 -1
  441. package/src/ui/f/FormInput/FormInput.jsx +63 -1
  442. package/src/ui/f/FormInput/styles.scss +11 -0
  443. package/src/ui/f/common/Debugger/Debugger.jsx +1 -1
  444. package/src/ui/f/common/Description/Description.jsx +35 -30
  445. package/src/ui/f/common/Label/Label.jsx +11 -5
  446. package/src/ui/f/common/Label/styles.scss +2 -5
  447. package/src/ui/f/fields/{CheckboxInput/CheckboxInput.jsx → Checkbox/Checkbox.jsx} +44 -33
  448. package/src/ui/f/fields/Checkbox/index.js +2 -0
  449. package/src/ui/f/fields/Checkbox/styles.scss +14 -0
  450. package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +10 -4
  451. package/src/ui/f/fields/ChoicesInput/common/Choice/Choice.jsx +11 -3
  452. package/src/ui/f/fields/ChoicesInput/styles.scss +19 -4
  453. package/src/ui/f/fields/QueryChoices/QueryChoices.jsx +153 -0
  454. package/src/ui/f/fields/QueryChoices/index.js +2 -0
  455. package/src/ui/f/fields/QueryCombobox/QueryCombobox.jsx +235 -0
  456. package/src/ui/f/fields/QueryCombobox/common/Combobox/Combobox.jsx +241 -0
  457. package/src/ui/f/fields/QueryCombobox/common/Combobox/index.js +2 -0
  458. package/src/ui/f/fields/QueryCombobox/common/Menu/Menu.jsx +103 -0
  459. package/src/ui/f/fields/QueryCombobox/common/Menu/index.js +2 -0
  460. package/src/ui/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.jsx +340 -0
  461. package/src/ui/f/fields/QueryCombobox/common/MultipleCombobox/index.js +2 -0
  462. package/src/ui/f/fields/QueryCombobox/common/index.js +3 -0
  463. package/src/ui/f/fields/QueryCombobox/index.js +2 -0
  464. package/src/ui/f/fields/QueryCombobox/styles.scss +91 -0
  465. package/src/ui/f/fields/QuerySelect/QuerySelect.jsx +213 -0
  466. package/src/ui/f/fields/QuerySelect/index.js +2 -0
  467. package/src/ui/f/fields/RatingsInput/RatingsInput.jsx +55 -20
  468. package/src/ui/f/fields/RatingsInput/common/Rating/Rating.jsx +9 -3
  469. package/src/ui/f/fields/RatingsInput/styles.scss +29 -20
  470. package/src/ui/f/fields/SelectInput/SelectInput.jsx +73 -9
  471. package/src/ui/f/fields/SelectInput/styles.scss +33 -13
  472. package/src/ui/f/fields/TextInput/TextInput.jsx +45 -11
  473. package/src/ui/f/fields/TextInput/styles.scss +16 -7
  474. package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +50 -22
  475. package/src/ui/f/fields/TextareaInput/styles.scss +19 -6
  476. package/src/ui/f/fields/index.js +4 -3
  477. package/src/ui/form-reset.scss +1 -1
  478. package/src/ui/form.scss +2 -2
  479. package/src/ui/index.js +2 -0
  480. package/src/ui/test/QueryLoader/QueryLoader.jsx +41 -0
  481. package/src/ui/test/QueryLoader/__generated__/QueryLoaderHelloQuery.graphql.js +68 -0
  482. package/src/ui/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.jsx +51 -0
  483. package/src/ui/test/QueryLoader/common/PreloadedTestData/index.js +2 -0
  484. package/src/ui/test/QueryLoader/common/index.js +1 -0
  485. package/src/ui/test/QueryLoader/index.js +2 -0
  486. package/src/ui/test/index.js +1 -0
  487. package/src/ui/utils/hooks/index.js +2 -0
  488. package/src/ui/utils/hooks/useDynamicPosition.js +104 -0
  489. package/src/ui/utils/hooks/useWindowSize.js +32 -0
  490. package/src/ui/utils/index.js +1 -0
  491. package/stylelint.config.js +1 -43
  492. package/.githooks/pre-commit +0 -5
  493. package/.github/workflows/push-main-branches.yaml +0 -89
  494. package/.github/workflows/push-pr.yaml +0 -83
  495. package/.github/workflows.old/push-production.yaml +0 -34
  496. package/.github/workflows.old/push-staging.yaml +0 -34
  497. package/.github/workflows.old/test-publish.no +0 -63
  498. package/.github/workflows.old/test-publish.yaml +0 -68
  499. package/dist/cjs/a/ContentCard/styles.scss +0 -78
  500. package/dist/cjs/a/CustomerLogos/CustomerLogos.js +0 -86
  501. package/dist/cjs/a/CustomerLogos/index.js +0 -15
  502. package/dist/cjs/a/CustomerLogos/styles.scss +0 -41
  503. package/dist/cjs/a/CustomerStat/CustomerStat.js +0 -87
  504. package/dist/cjs/a/CustomerStat/styles.scss +0 -16
  505. package/dist/cjs/a/DashboardNavbar/DashboardNavbar.js +0 -70
  506. package/dist/cjs/a/DashboardNavbar/common/NavItem/NavItem.js +0 -66
  507. package/dist/cjs/a/DashboardNavbar/common/NavItem/styles.scss +0 -9
  508. package/dist/cjs/a/DashboardNavbar/common/NavProfile/NavProfile.js +0 -66
  509. package/dist/cjs/a/DashboardNavbar/common/NavProfile/styles.scss +0 -9
  510. package/dist/cjs/a/DashboardNavbar/common/index.js +0 -21
  511. package/dist/cjs/a/DashboardNavbar/index.js +0 -15
  512. package/dist/cjs/a/DashboardNavbar/styles.scss +0 -14
  513. package/dist/cjs/a/FeaturedOn/FeaturedOn.js +0 -88
  514. package/dist/cjs/a/FeaturedOn/index.js +0 -15
  515. package/dist/cjs/a/FeaturedOn/styles.scss +0 -41
  516. package/dist/cjs/a/GradientBackground/GradientBackground.js +0 -140
  517. package/dist/cjs/a/GradientBackground/index.js +0 -15
  518. package/dist/cjs/a/GradientBackground/styles.scss +0 -191
  519. package/dist/cjs/a/OvalIllustration/OvalIllustration.js +0 -102
  520. package/dist/cjs/a/OvalIllustration/index.js +0 -15
  521. package/dist/cjs/a/OvalIllustration/styles.scss +0 -105
  522. package/dist/cjs/a/Shapes/Shapes.js +0 -163
  523. package/dist/cjs/a/Shapes/styles.scss +0 -221
  524. package/dist/cjs/a/TeamInfo/TeamInfo.js +0 -102
  525. package/dist/cjs/a/TeamInfo/index.js +0 -15
  526. package/dist/cjs/a/TeamInfo/styles.scss +0 -58
  527. package/dist/cjs/b/Card/Card.js +0 -67
  528. package/dist/cjs/b/Card/common/Group/Group.js +0 -71
  529. package/dist/cjs/b/Card/common/Group/styles.scss +0 -61
  530. package/dist/cjs/b/Card/common/index.js +0 -13
  531. package/dist/cjs/b/Card/styles.scss +0 -12
  532. package/dist/cjs/b/Metrics/Metrics.js +0 -89
  533. package/dist/cjs/b/Metrics/index.js +0 -15
  534. package/dist/cjs/b/Metrics/styles.scss +0 -91
  535. package/dist/cjs/b/QuestionDropdown/QuestionDropdown.js +0 -119
  536. package/dist/cjs/b/QuestionDropdown/index.js +0 -15
  537. package/dist/cjs/b/QuestionDropdown/styles.scss +0 -95
  538. package/dist/cjs/b/Segment/Segment.js +0 -79
  539. package/dist/cjs/b/Segment/index.js +0 -15
  540. package/dist/cjs/b/Segment/styles.scss +0 -26
  541. package/dist/cjs/c/AcceptCookies/index.js +0 -15
  542. package/dist/cjs/c/AcceptCookies/styles.scss +0 -49
  543. package/dist/cjs/c/BlogCategoryButton/index.js +0 -15
  544. package/dist/cjs/c/BlogContext/ContextProvider.js +0 -63
  545. package/dist/cjs/c/BlogContext/index.js +0 -31
  546. package/dist/cjs/c/BlogContext/useBlog.js +0 -16
  547. package/dist/cjs/c/BlogPost/BlogPost.js +0 -147
  548. package/dist/cjs/c/BlogPost/index.js +0 -15
  549. package/dist/cjs/c/BlogPost/styles.scss +0 -33
  550. package/dist/cjs/c/BlogPostsList/common/Card/Card.js +0 -170
  551. package/dist/cjs/c/BlogPostsList/index.js +0 -15
  552. package/dist/cjs/c/BlogPostsList/styles.scss +0 -72
  553. package/dist/cjs/c/Hero/styles.scss +0 -41
  554. package/dist/cjs/c/SiteFooter/SiteFooter.js +0 -73
  555. package/dist/cjs/c/SiteFooter/common/Section/Section.js +0 -95
  556. package/dist/cjs/c/SiteFooter/common/Section/index.js +0 -15
  557. package/dist/cjs/c/SiteFooter/common/index.js +0 -13
  558. package/dist/cjs/c/SiteFooter/index.js +0 -15
  559. package/dist/cjs/c/SiteFooter/styles.scss +0 -34
  560. package/dist/cjs/c/SiteHeaderCTA/index.js +0 -15
  561. package/dist/cjs/c/SiteHeaderCTA/styles.scss +0 -44
  562. package/dist/cjs/c/SiteMission/SiteMission.js +0 -113
  563. package/dist/cjs/c/SiteMission/styles.scss +0 -30
  564. package/dist/cjs/c/SiteNavigation/SiteNavigation.js +0 -130
  565. package/dist/cjs/c/SiteNavigation/index.js +0 -15
  566. package/dist/cjs/c/SiteNavigation/styles.scss +0 -118
  567. package/dist/cjs/c/SiteOnboardingStep/SiteOnboardingStep.js +0 -98
  568. package/dist/cjs/c/SiteOnboardingStep/index.js +0 -15
  569. package/dist/cjs/c/SiteOnboardingStep/styles.scss +0 -51
  570. package/dist/cjs/c/SitePricing/SitePricing.js +0 -108
  571. package/dist/cjs/c/SitePricing/styles.scss +0 -73
  572. package/dist/cjs/c/SiteServices/SiteServices.js +0 -211
  573. package/dist/cjs/c/SiteServices/styles.scss +0 -138
  574. package/dist/cjs/c/TeamGallery/common/PersonCard/PersonCard.js +0 -84
  575. package/dist/cjs/c/TeamGallery/common/PersonCard/index.js +0 -15
  576. package/dist/cjs/c/TeamGallery/common/index.js +0 -13
  577. package/dist/cjs/c/TeamGallery/styles.scss +0 -100
  578. package/dist/cjs/c/Testimonials/Testimonials.js +0 -119
  579. package/dist/cjs/c/Testimonials/index.js +0 -15
  580. package/dist/cjs/c/Testimonials/styles.scss +0 -112
  581. package/dist/cjs/experimental/GradientBackground/GradientBackground.js +0 -98
  582. package/dist/cjs/experimental/GradientBackground/index.js +0 -15
  583. package/dist/cjs/experimental/GradientBackground/styles.scss +0 -64
  584. package/dist/cjs/experimental/index.js +0 -13
  585. package/dist/cjs/f/fields/CheckboxInput/index.js +0 -15
  586. package/dist/cjs/f/fields/CheckboxInput/styles.scss +0 -28
  587. package/dist/cjs/f/fields/RadioInput/RadioInput.js +0 -110
  588. package/dist/cjs/f/fields/RadioInput/index.js +0 -15
  589. package/dist/cjs/f/fields/RadioInput/styles.scss +0 -26
  590. package/dist/cjs/f/fields/TaskRecommendation/TaskRecommendation.js +0 -129
  591. package/dist/cjs/f/fields/TaskRecommendation/index.js +0 -15
  592. package/dist/cjs/f/fields/TaskRecommendation/styles.scss +0 -37
  593. package/dist/cjs/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +0 -131
  594. package/dist/cjs/f/fields/TaskRecommendationInput/index.js +0 -15
  595. package/dist/cjs/f/fields/TaskRecommendationInput/styles.scss +0 -41
  596. package/dist/cjs/f/fields/TextArea/TextArea.js +0 -141
  597. package/dist/cjs/f/fields/TextArea/index.js +0 -15
  598. package/dist/cjs/f/fields/TextArea/styles.scss +0 -19
  599. package/dist/es/a/ContentCard/common/Section/Section.js +0 -60
  600. package/dist/es/a/ContentCard/common/index.js +0 -1
  601. package/dist/es/a/ContentCard/index.js +0 -2
  602. package/dist/es/a/ContentCard/styles.scss +0 -78
  603. package/dist/es/a/CustomerLogos/CustomerLogos.js +0 -70
  604. package/dist/es/a/CustomerLogos/index.js +0 -2
  605. package/dist/es/a/CustomerLogos/styles.scss +0 -41
  606. package/dist/es/a/CustomerStat/CustomerStat.js +0 -71
  607. package/dist/es/a/CustomerStat/index.js +0 -2
  608. package/dist/es/a/CustomerStat/styles.scss +0 -16
  609. package/dist/es/a/DashboardNavbar/DashboardNavbar.js +0 -53
  610. package/dist/es/a/DashboardNavbar/common/NavItem/NavItem.js +0 -48
  611. package/dist/es/a/DashboardNavbar/common/NavItem/index.js +0 -2
  612. package/dist/es/a/DashboardNavbar/common/NavItem/styles.scss +0 -9
  613. package/dist/es/a/DashboardNavbar/common/NavProfile/NavProfile.js +0 -48
  614. package/dist/es/a/DashboardNavbar/common/NavProfile/index.js +0 -2
  615. package/dist/es/a/DashboardNavbar/common/NavProfile/styles.scss +0 -9
  616. package/dist/es/a/DashboardNavbar/common/index.js +0 -2
  617. package/dist/es/a/DashboardNavbar/index.js +0 -2
  618. package/dist/es/a/DashboardNavbar/styles.scss +0 -14
  619. package/dist/es/a/FeaturedOn/FeaturedOn.js +0 -72
  620. package/dist/es/a/FeaturedOn/index.js +0 -2
  621. package/dist/es/a/FeaturedOn/styles.scss +0 -41
  622. package/dist/es/a/GradientBackground/GradientBackground.js +0 -118
  623. package/dist/es/a/GradientBackground/index.js +0 -2
  624. package/dist/es/a/GradientBackground/styles.scss +0 -191
  625. package/dist/es/a/OvalIllustration/OvalIllustration.js +0 -86
  626. package/dist/es/a/OvalIllustration/index.js +0 -2
  627. package/dist/es/a/OvalIllustration/styles.scss +0 -105
  628. package/dist/es/a/Shapes/Shapes.js +0 -141
  629. package/dist/es/a/Shapes/styles.scss +0 -221
  630. package/dist/es/a/SiteContext/index.js +0 -5
  631. package/dist/es/a/TeamInfo/TeamInfo.js +0 -86
  632. package/dist/es/a/TeamInfo/styles.scss +0 -58
  633. package/dist/es/b/Card/Card.js +0 -49
  634. package/dist/es/b/Card/common/Group/Group.js +0 -53
  635. package/dist/es/b/Card/common/Group/index.js +0 -2
  636. package/dist/es/b/Card/common/Group/styles.scss +0 -61
  637. package/dist/es/b/Card/common/index.js +0 -1
  638. package/dist/es/b/Card/index.js +0 -2
  639. package/dist/es/b/Card/styles.scss +0 -12
  640. package/dist/es/b/Metrics/Metrics.js +0 -72
  641. package/dist/es/b/Metrics/styles.scss +0 -91
  642. package/dist/es/b/QuestionDropdown/QuestionDropdown.js +0 -104
  643. package/dist/es/b/QuestionDropdown/index.js +0 -2
  644. package/dist/es/b/QuestionDropdown/styles.scss +0 -95
  645. package/dist/es/b/Segment/Segment.js +0 -61
  646. package/dist/es/b/Segment/index.js +0 -2
  647. package/dist/es/b/Segment/styles.scss +0 -26
  648. package/dist/es/c/AcceptCookies/AcceptCookies.js +0 -117
  649. package/dist/es/c/AcceptCookies/index.js +0 -2
  650. package/dist/es/c/AcceptCookies/styles.scss +0 -49
  651. package/dist/es/c/BlogCategoryButton/BlogCategoryButton.js +0 -68
  652. package/dist/es/c/BlogCategoryButton/index.js +0 -2
  653. package/dist/es/c/BlogContext/BlogContextProvider.js +0 -45
  654. package/dist/es/c/BlogContext/Context.js +0 -2
  655. package/dist/es/c/BlogContext/ContextProvider.js +0 -45
  656. package/dist/es/c/BlogContext/index.js +0 -4
  657. package/dist/es/c/BlogContext/useBlog.js +0 -3
  658. package/dist/es/c/BlogPost/BlogPost.js +0 -128
  659. package/dist/es/c/BlogPost/index.js +0 -2
  660. package/dist/es/c/BlogPost/styles.scss +0 -33
  661. package/dist/es/c/BlogPostsList/common/Card/Card.js +0 -143
  662. package/dist/es/c/BlogPostsList/common/index.js +0 -1
  663. package/dist/es/c/BlogPostsList/index.js +0 -2
  664. package/dist/es/c/BlogPostsList/styles.scss +0 -72
  665. package/dist/es/c/Hero/Hero.js +0 -72
  666. package/dist/es/c/Hero/index.js +0 -2
  667. package/dist/es/c/Hero/styles.scss +0 -41
  668. package/dist/es/c/SiteFooter/SiteFooter.js +0 -56
  669. package/dist/es/c/SiteFooter/common/Section/Section.js +0 -73
  670. package/dist/es/c/SiteFooter/common/Section/index.js +0 -2
  671. package/dist/es/c/SiteFooter/common/index.js +0 -1
  672. package/dist/es/c/SiteFooter/index.js +0 -2
  673. package/dist/es/c/SiteFooter/styles.scss +0 -34
  674. package/dist/es/c/SiteHeaderCTA/SiteHeaderCTA.js +0 -92
  675. package/dist/es/c/SiteHeaderCTA/index.js +0 -2
  676. package/dist/es/c/SiteHeaderCTA/styles.scss +0 -44
  677. package/dist/es/c/SiteMission/SiteMission.js +0 -96
  678. package/dist/es/c/SiteMission/index.js +0 -2
  679. package/dist/es/c/SiteMission/styles.scss +0 -30
  680. package/dist/es/c/SiteNavigation/SiteNavigation.js +0 -111
  681. package/dist/es/c/SiteNavigation/index.js +0 -2
  682. package/dist/es/c/SiteNavigation/styles.scss +0 -118
  683. package/dist/es/c/SiteOnboardingStep/SiteOnboardingStep.js +0 -81
  684. package/dist/es/c/SiteOnboardingStep/index.js +0 -2
  685. package/dist/es/c/SiteOnboardingStep/styles.scss +0 -51
  686. package/dist/es/c/SitePricing/SitePricing.js +0 -91
  687. package/dist/es/c/SitePricing/index.js +0 -2
  688. package/dist/es/c/SitePricing/styles.scss +0 -73
  689. package/dist/es/c/SiteServices/SiteServices.js +0 -195
  690. package/dist/es/c/SiteServices/index.js +0 -2
  691. package/dist/es/c/SiteServices/styles.scss +0 -138
  692. package/dist/es/c/TeamGallery/TeamGallery.js +0 -64
  693. package/dist/es/c/TeamGallery/common/PersonCard/PersonCard.js +0 -64
  694. package/dist/es/c/TeamGallery/common/PersonCard/index.js +0 -2
  695. package/dist/es/c/TeamGallery/common/index.js +0 -1
  696. package/dist/es/c/TeamGallery/index.js +0 -2
  697. package/dist/es/c/TeamGallery/styles.scss +0 -100
  698. package/dist/es/c/Testimonials/Testimonials.js +0 -99
  699. package/dist/es/c/Testimonials/index.js +0 -2
  700. package/dist/es/c/Testimonials/styles.scss +0 -112
  701. package/dist/es/experimental/GradientBackground/GradientBackground.js +0 -76
  702. package/dist/es/experimental/GradientBackground/index.js +0 -2
  703. package/dist/es/experimental/GradientBackground/styles.scss +0 -64
  704. package/dist/es/experimental/index.js +0 -1
  705. package/dist/es/f/fields/CheckboxInput/CheckboxInput.js +0 -85
  706. package/dist/es/f/fields/CheckboxInput/index.js +0 -2
  707. package/dist/es/f/fields/CheckboxInput/styles.scss +0 -28
  708. package/dist/es/f/fields/RadioInput/RadioInput.js +0 -90
  709. package/dist/es/f/fields/RadioInput/index.js +0 -2
  710. package/dist/es/f/fields/RadioInput/styles.scss +0 -26
  711. package/dist/es/f/fields/TaskRecommendation/TaskRecommendation.js +0 -111
  712. package/dist/es/f/fields/TaskRecommendation/index.js +0 -2
  713. package/dist/es/f/fields/TaskRecommendation/styles.scss +0 -37
  714. package/dist/es/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +0 -111
  715. package/dist/es/f/fields/TaskRecommendationInput/index.js +0 -2
  716. package/dist/es/f/fields/TaskRecommendationInput/styles.scss +0 -41
  717. package/dist/es/f/fields/TextArea/TextArea.js +0 -124
  718. package/dist/es/f/fields/TextArea/index.js +0 -2
  719. package/dist/es/f/fields/TextArea/styles.scss +0 -19
  720. package/scripts/postinstall.js +0 -1
  721. package/scripts/upgrade.sh +0 -10
  722. package/src/stories/a/ContentCard.stories.jsx +0 -158
  723. package/src/stories/a/CustomerLogos.stories.jsx +0 -35
  724. package/src/stories/a/CustomerStat.stories.jsx +0 -22
  725. package/src/stories/a/DashboardNavbar.stories.jsx +0 -57
  726. package/src/stories/a/FeaturedOn.stories.jsx +0 -33
  727. package/src/stories/a/OvalIllustration.stories.jsx +0 -36
  728. package/src/stories/a/Shapes.stories.jsx +0 -125
  729. package/src/stories/a/TeamInfo.stories.jsx +0 -31
  730. package/src/stories/b/Card.stories.jsx +0 -36
  731. package/src/stories/b/Metrics.stories.jsx +0 -62
  732. package/src/stories/b/QuestionDropdown.stories.jsx +0 -62
  733. package/src/stories/b/Segment.stories.jsx +0 -34
  734. package/src/stories/c/Hero.stories.jsx +0 -46
  735. package/src/stories/f/CheckboxInput.stories.jsx +0 -37
  736. package/src/stories/f/RadioInput.stories.jsx +0 -37
  737. package/src/stories/f/TaskRecommendationInput.stories.jsx +0 -38
  738. package/src/ui/a/ContentCard/common/Section/Section.jsx +0 -79
  739. package/src/ui/a/ContentCard/common/Section/index.js +0 -2
  740. package/src/ui/a/ContentCard/common/index.js +0 -1
  741. package/src/ui/a/ContentCard/index.js +0 -2
  742. package/src/ui/a/ContentCard/styles.scss +0 -78
  743. package/src/ui/a/CustomerLogos/CustomerLogos.jsx +0 -92
  744. package/src/ui/a/CustomerLogos/index.js +0 -2
  745. package/src/ui/a/CustomerLogos/styles.scss +0 -41
  746. package/src/ui/a/CustomerStat/index.js +0 -2
  747. package/src/ui/a/CustomerStat/styles.scss +0 -16
  748. package/src/ui/a/DashboardNavbar/DashboardNavbar.jsx +0 -74
  749. package/src/ui/a/DashboardNavbar/common/NavItem/NavItem.jsx +0 -64
  750. package/src/ui/a/DashboardNavbar/common/NavItem/index.js +0 -2
  751. package/src/ui/a/DashboardNavbar/common/NavItem/styles.scss +0 -9
  752. package/src/ui/a/DashboardNavbar/common/NavProfile/NavProfile.jsx +0 -64
  753. package/src/ui/a/DashboardNavbar/common/NavProfile/index.js +0 -2
  754. package/src/ui/a/DashboardNavbar/common/NavProfile/styles.scss +0 -9
  755. package/src/ui/a/DashboardNavbar/common/index.js +0 -2
  756. package/src/ui/a/DashboardNavbar/index.js +0 -2
  757. package/src/ui/a/DashboardNavbar/styles.scss +0 -14
  758. package/src/ui/a/FeaturedOn/FeaturedOn.jsx +0 -95
  759. package/src/ui/a/FeaturedOn/index.js +0 -2
  760. package/src/ui/a/FeaturedOn/styles.scss +0 -41
  761. package/src/ui/a/OvalIllustration/OvalIllustration.jsx +0 -108
  762. package/src/ui/a/OvalIllustration/index.js +0 -2
  763. package/src/ui/a/OvalIllustration/styles.scss +0 -105
  764. package/src/ui/a/Shapes/Shapes.jsx +0 -181
  765. package/src/ui/a/Shapes/styles.scss +0 -221
  766. package/src/ui/a/SiteContext/index.js +0 -5
  767. package/src/ui/a/TeamInfo/TeamInfo.jsx +0 -99
  768. package/src/ui/a/TeamInfo/index.js +0 -2
  769. package/src/ui/a/TeamInfo/styles.scss +0 -58
  770. package/src/ui/b/Card/Card.jsx +0 -63
  771. package/src/ui/b/Card/common/Group/Group.jsx +0 -70
  772. package/src/ui/b/Card/common/Group/index.js +0 -2
  773. package/src/ui/b/Card/common/Group/styles.scss +0 -61
  774. package/src/ui/b/Card/common/index.js +0 -1
  775. package/src/ui/b/Card/index.js +0 -2
  776. package/src/ui/b/Card/styles.scss +0 -12
  777. package/src/ui/b/Metrics/index.js +0 -2
  778. package/src/ui/b/Metrics/styles.scss +0 -91
  779. package/src/ui/b/QuestionDropdown/QuestionDropdown.jsx +0 -112
  780. package/src/ui/b/QuestionDropdown/index.js +0 -2
  781. package/src/ui/b/QuestionDropdown/styles.scss +0 -95
  782. package/src/ui/b/Segment/Segment.jsx +0 -78
  783. package/src/ui/b/Segment/index.js +0 -2
  784. package/src/ui/b/Segment/styles.scss +0 -26
  785. package/src/ui/c/Hero/index.js +0 -2
  786. package/src/ui/c/Hero/styles.scss +0 -41
  787. package/src/ui/f/fields/CheckboxInput/index.js +0 -2
  788. package/src/ui/f/fields/CheckboxInput/styles.scss +0 -28
  789. package/src/ui/f/fields/RadioInput/RadioInput.jsx +0 -112
  790. package/src/ui/f/fields/RadioInput/index.js +0 -2
  791. package/src/ui/f/fields/RadioInput/styles.scss +0 -26
  792. package/src/ui/f/fields/TaskRecommendationInput/TaskRecommendationInput.jsx +0 -130
  793. package/src/ui/f/fields/TaskRecommendationInput/index.js +0 -2
  794. package/src/ui/f/fields/TaskRecommendationInput/styles.scss +0 -41
  795. /package/dist/es/a/{SiteContext → AppContext}/Context.js +0 -0
  796. /package/dist/es/a/{SiteContext/useSite.js → AppContext/useApp.js} +0 -0
  797. /package/src/ui/a/{SiteContext → AppContext}/Context.js +0 -0
  798. /package/src/ui/a/{SiteContext/useSite.js → AppContext/useApp.js} +0 -0
  799. /package/src/ui/a/{SiteContext → AppContext}/useTheme.js +0 -0
@@ -4,31 +4,21 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var React = _interopRequireWildcard(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
- var _bem = _interopRequireDefault(require("@pareto-engineering/bem"));
13
-
9
+ var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
14
10
  var _formik = require("formik");
15
-
16
11
  var _common = require("../../common");
17
-
18
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
-
20
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
-
13
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
14
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
-
24
15
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
-
26
- var baseClassName = _bem.default.base;
16
+ var baseClassName = _exports.default.base;
27
17
  var componentClassName = 'text-area-input';
18
+
28
19
  /**
29
20
  * This is the component description.
30
21
  */
31
-
32
22
  var TextareaInput = _ref => {
33
23
  var {
34
24
  id,
@@ -40,112 +30,126 @@ var TextareaInput = _ref => {
40
30
  labelAsDescription,
41
31
  textAreaId,
42
32
  rows,
33
+ optional,
43
34
  textAreaColor,
44
35
  labelColor,
45
36
  description,
46
- disabled // ...otherProps
47
-
37
+ disabled,
38
+ placeholder,
39
+ autoComplete,
40
+ resize
41
+ // ...otherProps
48
42
  } = _ref;
49
43
  (0, React.useLayoutEffect)(() => {
50
44
  Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
51
45
  }, []);
52
- var [field, meta] = (0, _formik.useField)({
46
+ var [field] = (0, _formik.useField)({
53
47
  name,
54
48
  validate
55
49
  });
56
50
  return /*#__PURE__*/React.createElement("div", {
57
51
  id: id,
58
- className: [baseClassName, componentClassName, userClassName, "x-".concat(textAreaColor), "y-".concat(labelColor)].filter(e => e).join(' '),
59
- style: style // {...otherProps}
60
-
52
+ className: [baseClassName, componentClassName, userClassName, "y-".concat(textAreaColor)].filter(e => e).join(' '),
53
+ style: style
54
+ // {...otherProps}
61
55
  }, /*#__PURE__*/React.createElement(_common.FormLabel, {
62
- className: ['c-y', labelAsDescription ? 'md-s2 s0 v1 mb-v' : 'v50 mb-v'].filter(e => e).join(' '),
63
- name: name
56
+ className: [labelAsDescription ? 'md-s2 s0 v1 mb-v' : 'v50 mb-v'].filter(e => e).join(' '),
57
+ name: name,
58
+ color: labelColor,
59
+ optional: optional
64
60
  }, label), /*#__PURE__*/React.createElement("textarea", _extends({
65
61
  id: textAreaId,
66
- className: "textarea v50 pv-v ".concat(meta.touched && meta.error ? 'input-border-error' : 'input-border')
62
+ className: "textarea"
67
63
  }, field, {
64
+ style: {
65
+ resize
66
+ },
67
+ placeholder: placeholder,
68
68
  rows: rows,
69
- disabled: disabled
70
- })), (description || meta.touched && meta.error) && /*#__PURE__*/React.createElement(_common.FormDescription, {
71
- isError: !!meta.error,
72
- className: "v50 mt-v s-1"
73
- }, meta.error || description), ' ');
69
+ disabled: disabled,
70
+ autoComplete: autoComplete
71
+ })), /*#__PURE__*/React.createElement(_common.FormDescription, {
72
+ className: "v50 mt-v s-1",
73
+ description: description,
74
+ name: name
75
+ }));
74
76
  };
75
-
76
77
  TextareaInput.propTypes = {
77
78
  /**
78
79
  * The HTML id for this element
79
80
  */
80
81
  id: _propTypes.default.string,
81
-
82
82
  /**
83
83
  * The HTML class names for this element
84
84
  */
85
85
  className: _propTypes.default.string,
86
-
87
86
  /**
88
87
  * The React-written, css properties for this element.
89
88
  */
90
89
  style: _propTypes.default.objectOf(_propTypes.default.string),
91
-
92
90
  /**
93
91
  * The input name (html - and Formik state)
94
92
  */
95
93
  name: _propTypes.default.string.isRequired,
96
-
97
94
  /**
98
95
  * The input label
99
96
  */
100
97
  label: _propTypes.default.string.isRequired,
101
-
102
98
  /**
103
99
  * The input value validator function
104
100
  */
105
101
  validate: _propTypes.default.func,
106
-
107
102
  /**
108
103
  * If the text area depends on it's label's text as the default description
109
104
  */
110
105
  labelAsDescription: _propTypes.default.bool,
111
-
112
106
  /**
113
107
  * The textarea id
114
108
  */
115
109
  textAreaId: _propTypes.default.string,
116
-
117
110
  /**
118
111
  * The number of rows int the text area
119
112
  */
120
113
  rows: _propTypes.default.number,
121
-
122
114
  /**
123
115
  * Text area base color
124
116
  */
125
117
  textAreaColor: _propTypes.default.string,
126
-
127
118
  /**
128
119
  * Label base color
129
120
  */
130
121
  labelColor: _propTypes.default.string,
131
-
132
122
  /**
133
123
  * Text area description
134
124
  */
135
125
  description: _propTypes.default.string,
136
-
137
126
  /**
138
127
  * Whether the text area should be disabled
139
128
  */
140
- disabled: _propTypes.default.bool
129
+ disabled: _propTypes.default.bool,
130
+ /**
131
+ * The textarea placeholder text
132
+ */
133
+ placeholder: _propTypes.default.string,
134
+ /**
135
+ * The autoComplete value that the browser should watch for the input
136
+ */
137
+ autoComplete: _propTypes.default.string,
138
+ /**
139
+ * Whether to disable or allow only a certain method of resizing the area
140
+ * Textarea docs - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
141
+ */
142
+ resize: _propTypes.default.string,
143
+ /**
144
+ * Whether the input is optional or not
145
+ */
146
+ optional: _propTypes.default.bool
141
147
  };
142
148
  TextareaInput.defaultProps = {
143
149
  rows: 3,
144
- textAreaColor: 'background1',
145
- labelColor: 'main1',
146
- disabled: false
150
+ textAreaColor: 'background2',
151
+ disabled: false,
152
+ resize: 'vertical'
147
153
  };
148
-
149
154
  var _default = /*#__PURE__*/(0, React.memo)(TextareaInput);
150
-
151
155
  exports.default = _default;
@@ -9,7 +9,5 @@ Object.defineProperty(exports, "TextareaInput", {
9
9
  return _TextareaInput.default;
10
10
  }
11
11
  });
12
-
13
12
  var _TextareaInput = _interopRequireDefault(require("./TextareaInput"));
14
-
15
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -1,19 +1,32 @@
1
1
  /* @pareto-engineering/generator-front 1.0.12 */
2
2
  @use "@pareto-engineering/bem";
3
3
 
4
+ $default-padding: .5em;
5
+
4
6
  .#{bem.$base}.text-area-input{
5
7
  display: flex;
6
8
  flex-direction: column;
7
9
 
8
10
  .textarea {
9
- background: var(--light-x);
10
- color: var(--on-x);
11
+ border: var(--theme-border-style) var(--hard-y);
12
+ background: var(--soft-y);
13
+ color: var(--on-y);
14
+ padding: $default-padding;
11
15
 
12
- &:focus {
13
- background: var(--dark-x);
16
+ &::placeholder{
17
+ color: var(--metadata);
14
18
  }
15
- }
16
- }
17
19
 
20
+ &:not(:disabled):hover{
21
+ border: var(--theme-border-style) var(--soft-background4);
22
+ }
18
23
 
24
+ &:disabled {
25
+ background-color: var(--hard-y);
26
+ }
19
27
 
28
+ &:focus {
29
+ background: var(--soft-background4);
30
+ }
31
+ }
32
+ }
@@ -3,67 +3,66 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- Object.defineProperty(exports, "TextInput", {
6
+ Object.defineProperty(exports, "Checkbox", {
7
7
  enumerable: true,
8
8
  get: function get() {
9
- return _TextInput.TextInput;
9
+ return _Checkbox.Checkbox;
10
10
  }
11
11
  });
12
- Object.defineProperty(exports, "SelectInput", {
12
+ Object.defineProperty(exports, "ChoicesInput", {
13
13
  enumerable: true,
14
14
  get: function get() {
15
- return _SelectInput.SelectInput;
15
+ return _ChoicesInput.ChoicesInput;
16
16
  }
17
17
  });
18
- Object.defineProperty(exports, "RadioInput", {
18
+ Object.defineProperty(exports, "QueryChoices", {
19
19
  enumerable: true,
20
20
  get: function get() {
21
- return _RadioInput.RadioInput;
21
+ return _QueryChoices.QueryChoices;
22
22
  }
23
23
  });
24
- Object.defineProperty(exports, "CheckboxInput", {
24
+ Object.defineProperty(exports, "QueryCombobox", {
25
25
  enumerable: true,
26
26
  get: function get() {
27
- return _CheckboxInput.CheckboxInput;
27
+ return _QueryCombobox.QueryCombobox;
28
28
  }
29
29
  });
30
- Object.defineProperty(exports, "TaskRecommendationInput", {
30
+ Object.defineProperty(exports, "QuerySelect", {
31
31
  enumerable: true,
32
32
  get: function get() {
33
- return _TaskRecommendationInput.TaskRecommendationInput;
33
+ return _QuerySelect.QuerySelect;
34
34
  }
35
35
  });
36
- Object.defineProperty(exports, "ChoicesInput", {
36
+ Object.defineProperty(exports, "RatingsInput", {
37
37
  enumerable: true,
38
38
  get: function get() {
39
- return _ChoicesInput.ChoicesInput;
39
+ return _RatingsInput.RatingsInput;
40
40
  }
41
41
  });
42
- Object.defineProperty(exports, "TextareaInput", {
42
+ Object.defineProperty(exports, "SelectInput", {
43
43
  enumerable: true,
44
44
  get: function get() {
45
- return _TextareaInput.TextareaInput;
45
+ return _SelectInput.SelectInput;
46
46
  }
47
47
  });
48
- Object.defineProperty(exports, "RatingsInput", {
48
+ Object.defineProperty(exports, "TextInput", {
49
49
  enumerable: true,
50
50
  get: function get() {
51
- return _RatingsInput.RatingsInput;
51
+ return _TextInput.TextInput;
52
+ }
53
+ });
54
+ Object.defineProperty(exports, "TextareaInput", {
55
+ enumerable: true,
56
+ get: function get() {
57
+ return _TextareaInput.TextareaInput;
52
58
  }
53
59
  });
54
-
55
60
  var _TextInput = require("./TextInput");
56
-
57
61
  var _SelectInput = require("./SelectInput");
58
-
59
- var _RadioInput = require("./RadioInput");
60
-
61
- var _CheckboxInput = require("./CheckboxInput");
62
-
63
- var _TaskRecommendationInput = require("./TaskRecommendationInput");
64
-
65
62
  var _ChoicesInput = require("./ChoicesInput");
66
-
67
63
  var _TextareaInput = require("./TextareaInput");
68
-
69
- var _RatingsInput = require("./RatingsInput");
64
+ var _RatingsInput = require("./RatingsInput");
65
+ var _QueryCombobox = require("./QueryCombobox");
66
+ var _QuerySelect = require("./QuerySelect");
67
+ var _Checkbox = require("./Checkbox");
68
+ var _QueryChoices = require("./QueryChoices");
@@ -12,9 +12,7 @@ Object.defineProperty(exports, "FormInput", {
12
12
  return _FormInput.FormInput;
13
13
  }
14
14
  });
15
-
16
15
  var _common = require("./common");
17
-
18
16
  Object.keys(_common).forEach(function (key) {
19
17
  if (key === "default" || key === "__esModule") return;
20
18
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -26,9 +24,7 @@ Object.keys(_common).forEach(function (key) {
26
24
  }
27
25
  });
28
26
  });
29
-
30
27
  var _fields = require("./fields");
31
-
32
28
  Object.keys(_fields).forEach(function (key) {
33
29
  if (key === "default" || key === "__esModule") return;
34
30
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -40,5 +36,4 @@ Object.keys(_fields).forEach(function (key) {
40
36
  }
41
37
  });
42
38
  });
43
-
44
39
  var _FormInput = require("./FormInput");
@@ -19,7 +19,7 @@ button,
19
19
  textarea,
20
20
  label,
21
21
  select {
22
- background-color: inherit;
22
+ // background-color: inherit;
23
23
  border: 0;
24
24
  display: inline-block;
25
25
  font: inherit;
@@ -1,7 +1,7 @@
1
1
  @use "form-reset.scss";
2
2
 
3
- $form-input-border-bottom: 1px solid var(--dark-background1);
4
- $form-input-on-focus-border-bottom: 1px solid var(--light-main1);
3
+ $form-input-border-bottom: 1px solid var(--hard-background1);
4
+ $form-input-on-focus-border-bottom: 1px solid var(--soft-main1);
5
5
  $form-input-on-error-border-bottom: 1px solid var(--error);
6
6
  $label-input-heigth-width: 100%;
7
7
 
package/dist/cjs/index.js CHANGED
@@ -3,9 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
-
7
6
  var _r = require("./r");
8
-
9
7
  Object.keys(_r).forEach(function (key) {
10
8
  if (key === "default" || key === "__esModule") return;
11
9
  if (key in exports && exports[key] === _r[key]) return;
@@ -16,9 +14,7 @@ Object.keys(_r).forEach(function (key) {
16
14
  }
17
15
  });
18
16
  });
19
-
20
17
  var _a = require("./a");
21
-
22
18
  Object.keys(_a).forEach(function (key) {
23
19
  if (key === "default" || key === "__esModule") return;
24
20
  if (key in exports && exports[key] === _a[key]) return;
@@ -29,9 +25,7 @@ Object.keys(_a).forEach(function (key) {
29
25
  }
30
26
  });
31
27
  });
32
-
33
28
  var _b = require("./b");
34
-
35
29
  Object.keys(_b).forEach(function (key) {
36
30
  if (key === "default" || key === "__esModule") return;
37
31
  if (key in exports && exports[key] === _b[key]) return;
@@ -42,9 +36,7 @@ Object.keys(_b).forEach(function (key) {
42
36
  }
43
37
  });
44
38
  });
45
-
46
39
  var _c = require("./c");
47
-
48
40
  Object.keys(_c).forEach(function (key) {
49
41
  if (key === "default" || key === "__esModule") return;
50
42
  if (key in exports && exports[key] === _c[key]) return;
@@ -55,9 +47,7 @@ Object.keys(_c).forEach(function (key) {
55
47
  }
56
48
  });
57
49
  });
58
-
59
50
  var _d = require("./d");
60
-
61
51
  Object.keys(_d).forEach(function (key) {
62
52
  if (key === "default" || key === "__esModule") return;
63
53
  if (key in exports && exports[key] === _d[key]) return;
@@ -68,9 +58,7 @@ Object.keys(_d).forEach(function (key) {
68
58
  }
69
59
  });
70
60
  });
71
-
72
61
  var _f = require("./f");
73
-
74
62
  Object.keys(_f).forEach(function (key) {
75
63
  if (key === "default" || key === "__esModule") return;
76
64
  if (key in exports && exports[key] === _f[key]) return;
@@ -80,4 +68,26 @@ Object.keys(_f).forEach(function (key) {
80
68
  return _f[key];
81
69
  }
82
70
  });
71
+ });
72
+ var _utils = require("./utils");
73
+ Object.keys(_utils).forEach(function (key) {
74
+ if (key === "default" || key === "__esModule") return;
75
+ if (key in exports && exports[key] === _utils[key]) return;
76
+ Object.defineProperty(exports, key, {
77
+ enumerable: true,
78
+ get: function get() {
79
+ return _utils[key];
80
+ }
81
+ });
82
+ });
83
+ var _test = require("./test");
84
+ Object.keys(_test).forEach(function (key) {
85
+ if (key === "default" || key === "__esModule") return;
86
+ if (key in exports && exports[key] === _test[key]) return;
87
+ Object.defineProperty(exports, key, {
88
+ enumerable: true,
89
+ get: function get() {
90
+ return _test[key];
91
+ }
92
+ });
83
93
  });
@@ -4,31 +4,18 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var React = _interopRequireWildcard(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
9
  var _reactRouterDom = require("react-router-dom");
13
-
14
10
  var _common = require("../common");
15
-
16
11
  var _excluded = ["isPrivate"];
17
-
18
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
-
20
13
  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); }
21
-
22
14
  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; }
23
-
24
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
-
15
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
26
16
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
27
-
28
17
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
29
-
30
18
  /* eslint-disable react/no-children-prop */
31
-
32
19
  /**
33
20
  * **Dependencies : `react-router-dom.Router`,**
34
21
  * **`SessionContextProvider` in case you're using PrivateRoutes. **
@@ -42,10 +29,9 @@ var SwitchRouteMap = _ref => {
42
29
  return /*#__PURE__*/React.createElement(_reactRouterDom.Switch, {
43
30
  children: [...routes.map(_ref2 => {
44
31
  var {
45
- isPrivate
46
- } = _ref2,
47
- routeProps = _objectWithoutProperties(_ref2, _excluded);
48
-
32
+ isPrivate
33
+ } = _ref2,
34
+ routeProps = _objectWithoutProperties(_ref2, _excluded);
49
35
  return isPrivate ? /*#__PURE__*/React.createElement(_common.PrivateRoute, _extends({
50
36
  key: routeProps.path
51
37
  }, routeProps)) : /*#__PURE__*/React.createElement(_reactRouterDom.Route, _extends({
@@ -56,17 +42,15 @@ var SwitchRouteMap = _ref => {
56
42
  })] : [])]
57
43
  });
58
44
  };
59
-
60
45
  SwitchRouteMap.propTypes = {
61
46
  /**
62
47
  * The routes to render
63
48
  */
64
49
  routes: _propTypes.default.arrayOf(_propTypes.default.shape({
65
- path: _propTypes.default.string.isRequired // title:PropTypes.string.isRequired,
50
+ path: _propTypes.default.string.isRequired
51
+ // title:PropTypes.string.isRequired,
66
52
  // state:PropTypes.string.isRequired,
67
-
68
53
  })).isRequired,
69
-
70
54
  /**
71
55
  * A component to display in case no route was found.
72
56
  * In case you're doing SSR, you might want to use
@@ -9,7 +9,5 @@ Object.defineProperty(exports, "SwitchRouteMap", {
9
9
  return _SwitchRouteMap.default;
10
10
  }
11
11
  });
12
-
13
12
  var _SwitchRouteMap = _interopRequireDefault(require("./SwitchRouteMap"));
14
-
15
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -4,30 +4,22 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var React = _interopRequireWildcard(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
9
  var _reactRouterDom = require("react-router-dom");
13
-
14
10
  var _excluded = ["component", "render", "test"];
15
-
16
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
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); }
19
-
20
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; }
21
-
22
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
-
14
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
24
15
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
25
-
26
16
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
27
-
28
17
  // import { SessionContext } from '..'
29
- var SessionContext = /*#__PURE__*/React.createContext({}); // Package-level Imports
18
+ var SessionContext = /*#__PURE__*/React.createContext({});
19
+
20
+ // Package-level Imports
30
21
  // import styleNames from 'style_names.scss'
22
+
31
23
  // Component-level imports
32
24
 
33
25
  /**
@@ -38,20 +30,19 @@ var SessionContext = /*#__PURE__*/React.createContext({}); // Package-level Impo
38
30
  * Please remember this is a front-end test, and is not equivalent to back-end permission checks.
39
31
  * This component is meant to be used alongside back-end checks.
40
32
  */
41
-
42
33
  var PrivateRoute = _ref => {
43
34
  var {
44
- component: Component,
45
- render: _render,
46
- test
47
- } = _ref,
48
- rest = _objectWithoutProperties(_ref, _excluded);
49
-
35
+ component: Component,
36
+ render: _render,
37
+ test
38
+ } = _ref,
39
+ rest = _objectWithoutProperties(_ref, _excluded);
50
40
  var {
51
41
  currentUserData: currentUser,
52
42
  loginPath
53
43
  } = (0, React.useContext)(SessionContext);
54
- var location = (0, _reactRouterDom.useLocation)(); // console.log(me)
44
+ var location = (0, _reactRouterDom.useLocation)();
45
+ // console.log(me)
55
46
 
56
47
  var isUserAllowed = currentUser && test(currentUser);
57
48
  return /*#__PURE__*/React.createElement(_reactRouterDom.Route, _extends({}, rest, {
@@ -61,7 +52,6 @@ var PrivateRoute = _ref => {
61
52
  state: {
62
53
  from: location
63
54
  } // TODO to implement
64
-
65
55
  }
66
56
  })
67
57
  }));
@@ -72,12 +62,10 @@ PrivateRoute.propTypes = {
72
62
  * A function that takes the user and returns a boolean.
73
63
  */
74
64
  test: _propTypes.default.func,
75
-
76
65
  /**
77
66
  * Provide a custom rendering function in the "Render Props" pattern
78
67
  */
79
68
  render: _propTypes.default.func,
80
-
81
69
  /**
82
70
  * Which javascript component to render
83
71
  */
@@ -9,7 +9,5 @@ Object.defineProperty(exports, "PrivateRoute", {
9
9
  return _PrivateRoute.default;
10
10
  }
11
11
  });
12
-
13
12
  var _PrivateRoute = _interopRequireDefault(require("./PrivateRoute"));
14
-
15
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -9,5 +9,4 @@ Object.defineProperty(exports, "PrivateRoute", {
9
9
  return _PrivateRoute.PrivateRoute;
10
10
  }
11
11
  });
12
-
13
12
  var _PrivateRoute = require("./PrivateRoute");
@@ -12,9 +12,7 @@ Object.defineProperty(exports, "SwitchRouteMap", {
12
12
  return _SwitchRouteMap.SwitchRouteMap;
13
13
  }
14
14
  });
15
-
16
15
  var _common = require("./common");
17
-
18
16
  Object.keys(_common).forEach(function (key) {
19
17
  if (key === "default" || key === "__esModule") return;
20
18
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -26,5 +24,4 @@ Object.keys(_common).forEach(function (key) {
26
24
  }
27
25
  });
28
26
  });
29
-
30
27
  var _SwitchRouteMap = require("./SwitchRouteMap");