@pareto-engineering/design-system 4.3.4 → 4.3.7-alpha.2

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 (263) hide show
  1. package/dist/cjs/a/AnimatedBlobs/AnimatedBlobs.js +1 -1
  2. package/dist/cjs/a/AnimatedBlobs/index.js +1 -1
  3. package/dist/cjs/a/AnimatedGradient/AnimatedGradient.js +1 -1
  4. package/dist/cjs/a/AnimatedGradient/index.js +1 -1
  5. package/dist/cjs/a/AnimatedGradient/webGIRenderer.js +1 -1
  6. package/dist/cjs/a/AppContext/ContextProvider.js +1 -1
  7. package/dist/cjs/a/AppContext/index.js +1 -1
  8. package/dist/cjs/a/AppContext/useApp.js +1 -1
  9. package/dist/cjs/a/BlurOverlay/BlurOverlay.js +1 -1
  10. package/dist/cjs/a/BlurOverlay/index.js +1 -1
  11. package/dist/cjs/a/ContentTree/ContentTree.js +1 -1
  12. package/dist/cjs/a/ContentTree/common/Tree/Tree.js +1 -1
  13. package/dist/cjs/a/ContentTree/common/Tree/index.js +1 -1
  14. package/dist/cjs/a/ContentTree/common/index.js +1 -1
  15. package/dist/cjs/a/ContentTree/common/useFirstVisibleNode.js +1 -1
  16. package/dist/cjs/a/ContentTree/index.js +1 -1
  17. package/dist/cjs/a/Conversation/Conversation.js +1 -1
  18. package/dist/cjs/a/Conversation/common/Message/Message.js +1 -1
  19. package/dist/cjs/a/Conversation/common/Message/index.js +1 -1
  20. package/dist/cjs/a/Conversation/index.js +1 -1
  21. package/dist/cjs/a/Conversation/useConversation.js +1 -1
  22. package/dist/cjs/a/DatePicker/DatePicker.js +2 -2
  23. package/dist/cjs/a/DatePicker/index.js +1 -1
  24. package/dist/cjs/a/DotInfo/DotInfo.js +1 -1
  25. package/dist/cjs/a/DotInfo/index.js +1 -1
  26. package/dist/cjs/a/Figure/Figure.js +1 -1
  27. package/dist/cjs/a/Figure/index.js +1 -1
  28. package/dist/cjs/a/HamburgerButton/HamburgerButton.js +2 -2
  29. package/dist/cjs/a/HamburgerButton/index.js +1 -1
  30. package/dist/cjs/a/IconList/IconList.js +2 -2
  31. package/dist/cjs/a/IconList/common/Item/Item.js +2 -2
  32. package/dist/cjs/a/IconList/common/Item/index.js +1 -1
  33. package/dist/cjs/a/IconList/index.js +1 -1
  34. package/dist/cjs/a/Label/Label.js +2 -2
  35. package/dist/cjs/a/Label/index.js +1 -1
  36. package/dist/cjs/a/LoadingCircle/LoadingCircle.js +1 -1
  37. package/dist/cjs/a/LoadingCircle/index.js +1 -1
  38. package/dist/cjs/a/MetaCard/MetaCard.js +1 -1
  39. package/dist/cjs/a/MetaCard/index.js +1 -1
  40. package/dist/cjs/a/Notification/Notification.js +113 -0
  41. package/dist/cjs/a/Notification/index.js +13 -0
  42. package/dist/cjs/a/Notification/styles.scss +57 -0
  43. package/dist/cjs/a/NotificationStack/NotificationStack.js +69 -0
  44. package/dist/cjs/a/NotificationStack/index.js +13 -0
  45. package/dist/cjs/a/NotificationStack/styles.scss +17 -0
  46. package/dist/cjs/a/People/People.js +1 -1
  47. package/dist/cjs/a/People/common/Person/Person.js +1 -1
  48. package/dist/cjs/a/People/common/Person/index.js +1 -1
  49. package/dist/cjs/a/People/index.js +1 -1
  50. package/dist/cjs/a/Popover/Popover.js +1 -1
  51. package/dist/cjs/a/Popover/index.js +1 -1
  52. package/dist/cjs/a/ProgressBar/ProgressBar.js +1 -1
  53. package/dist/cjs/a/ProgressBar/index.js +1 -1
  54. package/dist/cjs/a/Quote/Quote.js +1 -1
  55. package/dist/cjs/a/Quote/index.js +1 -1
  56. package/dist/cjs/a/Removable/Removable.js +1 -1
  57. package/dist/cjs/a/Removable/index.js +1 -1
  58. package/dist/cjs/a/SVG/SVG.js +2 -2
  59. package/dist/cjs/a/SVG/common/UseSVG/UseSVG.js +1 -1
  60. package/dist/cjs/a/SVG/common/UseSVG/index.js +1 -1
  61. package/dist/cjs/a/SVG/index.js +1 -1
  62. package/dist/cjs/a/SnapScroller/SnapScroller.js +1 -1
  63. package/dist/cjs/a/SnapScroller/index.js +1 -1
  64. package/dist/cjs/a/Spinner/Spinner.js +1 -1
  65. package/dist/cjs/a/Spinner/index.js +1 -1
  66. package/dist/cjs/a/TextSteps/TextSteps.js +1 -1
  67. package/dist/cjs/a/TextSteps/index.js +1 -1
  68. package/dist/cjs/a/Timestamp/Timestamp.js +1 -1
  69. package/dist/cjs/a/Timestamp/index.js +1 -1
  70. package/dist/cjs/a/Tip/Tip.js +1 -1
  71. package/dist/cjs/a/Tip/index.js +1 -1
  72. package/dist/cjs/a/ToggleSwitch/ToggleSwitch.js +1 -1
  73. package/dist/cjs/a/ToggleSwitch/index.js +1 -1
  74. package/dist/cjs/a/Tooltip/Tooltip.js +1 -1
  75. package/dist/cjs/a/Tooltip/index.js +1 -1
  76. package/dist/cjs/a/XMLEditor/XMLEditor.js +1 -1
  77. package/dist/cjs/a/XMLEditor/common/index.js +1 -1
  78. package/dist/cjs/a/XMLEditor/index.js +1 -1
  79. package/dist/cjs/a/index.js +14 -0
  80. package/dist/cjs/b/Button/Button.js +2 -2
  81. package/dist/cjs/b/Button/common/Group/Group.js +2 -2
  82. package/dist/cjs/b/Button/common/Group/index.js +1 -1
  83. package/dist/cjs/b/Button/index.js +1 -1
  84. package/dist/cjs/b/Card/Card.js +1 -1
  85. package/dist/cjs/b/Card/common/Group/Group.js +2 -2
  86. package/dist/cjs/b/Card/common/Group/index.js +1 -1
  87. package/dist/cjs/b/Card/common/Section/Section.js +2 -2
  88. package/dist/cjs/b/Card/common/Section/index.js +1 -1
  89. package/dist/cjs/b/Card/index.js +1 -1
  90. package/dist/cjs/b/Logo/Logo.js +1 -1
  91. package/dist/cjs/b/Logo/index.js +1 -1
  92. package/dist/cjs/b/Page/Page.js +2 -2
  93. package/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +2 -2
  94. package/dist/cjs/b/Page/common/PageHelmet/index.js +1 -1
  95. package/dist/cjs/b/Page/common/Section/Section.js +2 -2
  96. package/dist/cjs/b/Page/common/Section/index.js +1 -1
  97. package/dist/cjs/b/Page/index.js +1 -1
  98. package/dist/cjs/b/Page/usePage.js +1 -1
  99. package/dist/cjs/b/SocialMediaButton/SocialMediaButton.js +2 -2
  100. package/dist/cjs/b/SocialMediaButton/index.js +1 -1
  101. package/dist/cjs/b/ThemeSelector/ThemeSelector.js +1 -1
  102. package/dist/cjs/b/ThemeSelector/index.js +1 -1
  103. package/dist/cjs/b/Title/Title.js +2 -2
  104. package/dist/cjs/b/Title/index.js +1 -1
  105. package/dist/cjs/c/Modal/Modal.js +1 -1
  106. package/dist/cjs/c/Modal/common/ModalHeader/ModalHeader.js +1 -1
  107. package/dist/cjs/c/Modal/common/ModalHeader/index.js +1 -1
  108. package/dist/cjs/c/Modal/index.js +1 -1
  109. package/dist/cjs/c/Shortener/Shortener.js +1 -1
  110. package/dist/cjs/c/Shortener/index.js +1 -1
  111. package/dist/cjs/c/SocialMediaShareButton/SocialMediaShareButton.js +1 -1
  112. package/dist/cjs/c/SocialMediaShareButton/index.js +1 -1
  113. package/dist/cjs/f/FormInput/FormInput.js +2 -2
  114. package/dist/cjs/f/FormInput/index.js +1 -1
  115. package/dist/cjs/f/common/Debugger/Debugger.js +1 -1
  116. package/dist/cjs/f/common/Debugger/index.js +1 -1
  117. package/dist/cjs/f/common/Description/Description.js +1 -1
  118. package/dist/cjs/f/common/Description/index.js +1 -1
  119. package/dist/cjs/f/common/Label/Label.js +1 -1
  120. package/dist/cjs/f/common/Label/index.js +1 -1
  121. package/dist/cjs/f/common/utils/lookUpInputValueFromFetchedOptions.js +1 -1
  122. package/dist/cjs/f/fields/Checkbox/Checkbox.js +2 -2
  123. package/dist/cjs/f/fields/Checkbox/index.js +1 -1
  124. package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +2 -2
  125. package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +2 -2
  126. package/dist/cjs/f/fields/ChoicesInput/common/Choice/index.js +1 -1
  127. package/dist/cjs/f/fields/ChoicesInput/index.js +1 -1
  128. package/dist/cjs/f/fields/EditorInput/EditorInput.js +1 -1
  129. package/dist/cjs/f/fields/EditorInput/common/BlockFormatDropDown/BlockFormatDropDown.js +1 -1
  130. package/dist/cjs/f/fields/EditorInput/common/BlockFormatDropDown/index.js +1 -1
  131. package/dist/cjs/f/fields/EditorInput/common/ColorPicker/ColorPicker.js +1 -1
  132. package/dist/cjs/f/fields/EditorInput/common/ColorPicker/index.js +1 -1
  133. package/dist/cjs/f/fields/EditorInput/common/FontSizeDropDown/FontSizeDropDown.js +1 -1
  134. package/dist/cjs/f/fields/EditorInput/common/FontSizeDropDown/index.js +1 -1
  135. package/dist/cjs/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.js +1 -1
  136. package/dist/cjs/f/fields/EditorInput/common/ToolbarPlugin/index.js +1 -1
  137. package/dist/cjs/f/fields/EditorInput/common/TreeViewPlugin.js +1 -1
  138. package/dist/cjs/f/fields/EditorInput/common/index.js +1 -1
  139. package/dist/cjs/f/fields/EditorInput/index.js +1 -1
  140. package/dist/cjs/f/fields/FileUpload/FileUpload.js +1 -1
  141. package/dist/cjs/f/fields/FileUpload/common/Preview/Preview.js +1 -1
  142. package/dist/cjs/f/fields/FileUpload/common/Preview/index.js +1 -1
  143. package/dist/cjs/f/fields/FileUpload/index.js +1 -1
  144. package/dist/cjs/f/fields/LinkInput/LinkInput.js +2 -2
  145. package/dist/cjs/f/fields/LinkInput/index.js +1 -1
  146. package/dist/cjs/f/fields/QueryChoices/QueryChoices.js +2 -2
  147. package/dist/cjs/f/fields/QueryChoices/index.js +1 -1
  148. package/dist/cjs/f/fields/QueryCombobox/QueryCombobox.js +1 -1
  149. package/dist/cjs/f/fields/QueryCombobox/common/Combobox/Combobox.js +2 -2
  150. package/dist/cjs/f/fields/QueryCombobox/common/Combobox/index.js +1 -1
  151. package/dist/cjs/f/fields/QueryCombobox/common/Menu/Menu.js +2 -2
  152. package/dist/cjs/f/fields/QueryCombobox/common/Menu/index.js +1 -1
  153. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +2 -2
  154. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/index.js +1 -1
  155. package/dist/cjs/f/fields/QueryCombobox/index.js +1 -1
  156. package/dist/cjs/f/fields/QuerySelect/QuerySelect.js +1 -1
  157. package/dist/cjs/f/fields/QuerySelect/index.js +1 -1
  158. package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +1 -1
  159. package/dist/cjs/f/fields/RatingsInput/common/Rating/Rating.js +2 -2
  160. package/dist/cjs/f/fields/RatingsInput/common/Rating/index.js +1 -1
  161. package/dist/cjs/f/fields/RatingsInput/index.js +1 -1
  162. package/dist/cjs/f/fields/SelectInput/SelectInput.js +2 -2
  163. package/dist/cjs/f/fields/SelectInput/common/Menu/Menu.js +2 -2
  164. package/dist/cjs/f/fields/SelectInput/common/Menu/index.js +1 -1
  165. package/dist/cjs/f/fields/SelectInput/common/Multiple/Multiple.js +2 -2
  166. package/dist/cjs/f/fields/SelectInput/common/Multiple/index.js +1 -1
  167. package/dist/cjs/f/fields/SelectInput/common/Single/Single.js +2 -2
  168. package/dist/cjs/f/fields/SelectInput/common/Single/index.js +1 -1
  169. package/dist/cjs/f/fields/SelectInput/index.js +1 -1
  170. package/dist/cjs/f/fields/TextInput/TextInput.js +2 -2
  171. package/dist/cjs/f/fields/TextInput/index.js +1 -1
  172. package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +2 -2
  173. package/dist/cjs/f/fields/TextareaInput/index.js +1 -1
  174. package/dist/cjs/g/DragAndDrop/DragAndDrop.js +2 -2
  175. package/dist/cjs/g/DragAndDrop/common/DraggableItem/DraggableItem.js +2 -2
  176. package/dist/cjs/g/DragAndDrop/common/DraggableItem/index.js +1 -1
  177. package/dist/cjs/g/DragAndDrop/index.js +1 -1
  178. package/dist/cjs/g/ExpandableLexicalPreview/ExpandableLexicalPreview.js +1 -1
  179. package/dist/cjs/g/ExpandableLexicalPreview/common/NewWindowPortal/NewWindowPortal.js +1 -1
  180. package/dist/cjs/g/ExpandableLexicalPreview/common/NewWindowPortal/index.js +1 -1
  181. package/dist/cjs/g/ExpandableLexicalPreview/index.js +1 -1
  182. package/dist/cjs/g/FormBuilder/FormBuilder.js +1 -1
  183. package/dist/cjs/g/FormBuilder/common/Builder/Builder.js +1 -1
  184. package/dist/cjs/g/FormBuilder/common/Builder/common/ActionsContainer/ActionsContainer.js +1 -1
  185. package/dist/cjs/g/FormBuilder/common/Builder/common/ActionsContainer/index.js +1 -1
  186. package/dist/cjs/g/FormBuilder/common/Builder/common/InputBuilder/InputBuilder.js +1 -1
  187. package/dist/cjs/g/FormBuilder/common/Builder/common/InputBuilder/index.js +1 -1
  188. package/dist/cjs/g/FormBuilder/common/Builder/common/Section/Section.js +1 -1
  189. package/dist/cjs/g/FormBuilder/common/Builder/common/Section/index.js +1 -1
  190. package/dist/cjs/g/FormBuilder/common/Builder/index.js +1 -1
  191. package/dist/cjs/g/FormBuilder/common/Renderer/Renderer.js +18 -12
  192. package/dist/cjs/g/FormBuilder/common/Renderer/common/Section/Section.js +2 -2
  193. package/dist/cjs/g/FormBuilder/common/Renderer/common/Section/index.js +1 -1
  194. package/dist/cjs/g/FormBuilder/common/Renderer/index.js +1 -1
  195. package/dist/cjs/g/FormBuilder/index.js +1 -1
  196. package/dist/cjs/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js +1 -1
  197. package/dist/cjs/test/QueryLoader/common/PreloadedTestData/index.js +1 -1
  198. package/dist/cjs/test/QueryLoader/index.js +1 -1
  199. package/dist/cjs/utils/hooks/index.js +1 -1
  200. package/dist/cjs/utils/hooks/useDynamicPosition.js +1 -1
  201. package/dist/cjs/utils/hooks/useWindowSize.js +1 -1
  202. package/dist/es/a/AnimatedGradient/webGIRenderer.js +1 -1
  203. package/dist/es/a/AppContext/useApp.js +1 -1
  204. package/dist/es/a/AppContext/useTheme.js +2 -2
  205. package/dist/es/a/Conversation/useConversation.js +1 -1
  206. package/dist/es/a/DatePicker/DatePicker.js +1 -1
  207. package/dist/es/a/HamburgerButton/HamburgerButton.js +1 -1
  208. package/dist/es/a/IconList/IconList.js +1 -1
  209. package/dist/es/a/IconList/common/Item/Item.js +1 -1
  210. package/dist/es/a/Label/Label.js +1 -1
  211. package/dist/es/a/Notification/Notification.js +107 -0
  212. package/dist/es/a/Notification/index.js +1 -0
  213. package/dist/es/a/Notification/styles.scss +57 -0
  214. package/dist/es/a/NotificationStack/NotificationStack.js +63 -0
  215. package/dist/es/a/NotificationStack/index.js +1 -0
  216. package/dist/es/a/NotificationStack/styles.scss +17 -0
  217. package/dist/es/a/SVG/SVG.js +1 -1
  218. package/dist/es/a/index.js +2 -0
  219. package/dist/es/b/Button/Button.js +1 -1
  220. package/dist/es/b/Button/common/Group/Group.js +1 -1
  221. package/dist/es/b/Card/common/Group/Group.js +1 -1
  222. package/dist/es/b/Card/common/Section/Section.js +1 -1
  223. package/dist/es/b/Page/Page.js +1 -1
  224. package/dist/es/b/Page/common/PageHelmet/PageHelmet.js +1 -1
  225. package/dist/es/b/Page/common/Section/Section.js +1 -1
  226. package/dist/es/b/Page/usePage.js +1 -1
  227. package/dist/es/b/SocialMediaButton/SocialMediaButton.js +1 -1
  228. package/dist/es/b/Title/Title.js +1 -1
  229. package/dist/es/f/FormInput/FormInput.js +1 -1
  230. package/dist/es/f/fields/Checkbox/Checkbox.js +1 -1
  231. package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +1 -1
  232. package/dist/es/f/fields/ChoicesInput/common/Choice/Choice.js +1 -1
  233. package/dist/es/f/fields/LinkInput/LinkInput.js +1 -1
  234. package/dist/es/f/fields/QueryChoices/QueryChoices.js +1 -1
  235. package/dist/es/f/fields/QueryCombobox/common/Combobox/Combobox.js +1 -1
  236. package/dist/es/f/fields/QueryCombobox/common/Menu/Menu.js +1 -1
  237. package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +1 -1
  238. package/dist/es/f/fields/RatingsInput/common/Rating/Rating.js +1 -1
  239. package/dist/es/f/fields/SelectInput/SelectInput.js +1 -1
  240. package/dist/es/f/fields/SelectInput/common/Menu/Menu.js +1 -1
  241. package/dist/es/f/fields/SelectInput/common/Multiple/Multiple.js +1 -1
  242. package/dist/es/f/fields/SelectInput/common/Single/Single.js +1 -1
  243. package/dist/es/f/fields/TextInput/TextInput.js +1 -1
  244. package/dist/es/f/fields/TextareaInput/TextareaInput.js +1 -1
  245. package/dist/es/g/DragAndDrop/DragAndDrop.js +1 -1
  246. package/dist/es/g/DragAndDrop/common/DraggableItem/DraggableItem.js +1 -1
  247. package/dist/es/g/FormBuilder/common/Renderer/Renderer.js +17 -11
  248. package/dist/es/g/FormBuilder/common/Renderer/common/Section/Section.js +1 -1
  249. package/package.json +2 -2
  250. package/src/stories/a/Label.stories.jsx +1 -1
  251. package/src/stories/a/Notification.stories.jsx +86 -0
  252. package/src/stories/a/NotificationStack.stories.jsx +59 -0
  253. package/src/stories/b/Button/Button.stories.jsx +1 -1
  254. package/src/stories/c/Modal.stories.jsx +1 -1
  255. package/src/ui/a/Notification/Notification.jsx +142 -0
  256. package/src/ui/a/Notification/index.js +1 -0
  257. package/src/ui/a/Notification/styles.scss +57 -0
  258. package/src/ui/a/NotificationStack/NotificationStack.jsx +90 -0
  259. package/src/ui/a/NotificationStack/index.js +1 -0
  260. package/src/ui/a/NotificationStack/styles.scss +17 -0
  261. package/src/ui/a/index.js +2 -0
  262. package/src/ui/g/FormBuilder/common/Renderer/Renderer.jsx +16 -8
  263. package/tests/__snapshots__/Storyshots.test.js.snap +349 -0
@@ -9,10 +9,10 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _f = require("../../../../../../f");
10
10
  var _ = require("../../../../..");
11
11
  var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
14
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
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); } /* eslint-disable no-alert */ /* @pareto-engineering/generator-front 1.1.1-alpha.2 */ // Local Definitions
15
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } /* eslint-disable no-alert */ /* @pareto-engineering/generator-front 1.1.1-alpha.2 */ // Local Definitions
16
16
  const baseClassName = _exports.default.base;
17
17
  const componentClassName = 'section';
18
18
 
@@ -10,4 +10,4 @@ Object.defineProperty(exports, "Section", {
10
10
  }
11
11
  });
12
12
  var _Section = _interopRequireDefault(require("./Section"));
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -10,4 +10,4 @@ Object.defineProperty(exports, "Renderer", {
10
10
  }
11
11
  });
12
12
  var _Renderer = _interopRequireDefault(require("./Renderer"));
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -10,4 +10,4 @@ Object.defineProperty(exports, "FormBuilder", {
10
10
  }
11
11
  });
12
12
  var _FormBuilder = _interopRequireDefault(require("./FormBuilder"));
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _reactRelay = require("react-relay");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
11
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
12
12
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
13
  /* @pareto-engineering/generator-front 1.0.12 */
@@ -10,4 +10,4 @@ Object.defineProperty(exports, "PreloadedTestData", {
10
10
  }
11
11
  });
12
12
  var _PreloadedTestData = _interopRequireDefault(require("./PreloadedTestData"));
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -10,4 +10,4 @@ Object.defineProperty(exports, "QueryLoader", {
10
10
  }
11
11
  });
12
12
  var _QueryLoader = _interopRequireDefault(require("./QueryLoader"));
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -24,4 +24,4 @@ Object.defineProperty(exports, "useWindowSize", {
24
24
  var _useWindowSize = _interopRequireDefault(require("./useWindowSize"));
25
25
  var _useDynamicPosition = _interopRequireDefault(require("./useDynamicPosition"));
26
26
  var _useOutsideClick = _interopRequireDefault(require("./useOutsideClick"));
27
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
  var _react = require("react");
8
8
  var _throttle = _interopRequireDefault(require("lodash/throttle"));
9
9
  var _useWindowSize = _interopRequireDefault(require("./useWindowSize"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
11
  const verticalPositions = ['top', 'bottom'];
12
12
  const horizontalPositions = ['left', 'right'];
13
13
  const findCompatiblePositions = (primary, secondaryArray) => {
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = require("react");
8
8
  var _debounce = _interopRequireDefault(require("lodash/debounce"));
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
10
  const useWindowSize = function () {
11
11
  let debounceMs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 700;
12
12
  const isClient = typeof window === 'object';
@@ -278,7 +278,7 @@ class Gradient {
278
278
  this.mesh.material.uniforms.u_time.value = this.t, this.minigl.render();
279
279
  }
280
280
  if (this.last !== 0 && this.isStatic) return this.minigl.render(), void this.disconnect();
281
- ( /* this.isIntersecting && */this.conf.playing || this.isMouseDown) && requestAnimationFrame(this.animate);
281
+ (/* this.isIntersecting && */this.conf.playing || this.isMouseDown) && requestAnimationFrame(this.animate);
282
282
  }), e(this, 'addIsLoadedClass', () => {
283
283
  /* this.isIntersecting && */!this.isLoadedClass && (this.isLoadedClass = !0, this.el.classList.add('isLoaded'), setTimeout(() => {
284
284
  this.el.parentElement.classList.add('isLoaded');
@@ -1,3 +1,3 @@
1
1
  import { useContext } from 'react';
2
2
  import Context from "./Context";
3
- export default (() => useContext(Context));
3
+ export default () => useContext(Context);
@@ -1,5 +1,5 @@
1
1
  import { useCallback, useState, useEffect } from 'react';
2
- export default ((initialTheme, storageKey = 'theme') => {
2
+ export default (initialTheme, storageKey = 'theme') => {
3
3
  const isClient = typeof window === 'object';
4
4
  const [preferredTheme, setPreferredTheme] = useState(initialTheme);
5
5
  const [userTheme, setUserTheme] = useState();
@@ -28,4 +28,4 @@ export default ((initialTheme, storageKey = 'theme') => {
28
28
  setPreferredTheme,
29
29
  isTheme
30
30
  };
31
- });
31
+ };
@@ -1,3 +1,3 @@
1
1
  import { useContext } from 'react';
2
2
  import Context from "./Context";
3
- export default (() => useContext(Context));
3
+ export default () => useContext(Context);
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import { DayPicker } from 'react-day-picker';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -0,0 +1,107 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ /* @pareto-engineering/generator-front 1.0.12 */
3
+ import * as React from 'react';
4
+ import { useState } from 'react';
5
+ import PropTypes from 'prop-types';
6
+ import styleNames from '@pareto-engineering/bem/exports';
7
+ import { Button } from "../..";
8
+
9
+ // Local Definitions
10
+
11
+ import "./styles.scss";
12
+ const baseClassName = styleNames.base;
13
+ const componentClassName = 'notification';
14
+ const iconsMap = {
15
+ success: 'I',
16
+ error: 'g',
17
+ warning: 'x',
18
+ info: 'h'
19
+ };
20
+ const COLORS_MAP = {
21
+ success: 'success',
22
+ error: 'error',
23
+ warning: 'blocked',
24
+ info: 'in-progress'
25
+ };
26
+ const Notification = ({
27
+ id,
28
+ className: userClassName,
29
+ style,
30
+ color,
31
+ message,
32
+ type,
33
+ isVisible,
34
+ overrideIsVisible,
35
+ closeNotification,
36
+ ...otherProps
37
+ }) => {
38
+ const [isVisibleState, setIsVisibleState] = useState(isVisible);
39
+ if (!isVisibleState && !overrideIsVisible) {
40
+ return null;
41
+ }
42
+ return /*#__PURE__*/React.createElement("div", _extends({
43
+ id: id,
44
+ className: [baseClassName, componentClassName, userClassName, `x-${color || COLORS_MAP[type]}`].filter(e => e).join(' '),
45
+ style: style
46
+ }, otherProps), /*#__PURE__*/React.createElement("div", {
47
+ className: "message-container"
48
+ }, /*#__PURE__*/React.createElement("span", {
49
+ className: "icon"
50
+ }, iconsMap[type]), /*#__PURE__*/React.createElement("span", {
51
+ className: "message"
52
+ }, message)), /*#__PURE__*/React.createElement(Button, {
53
+ className: "close",
54
+ isCompact: true,
55
+ color: color || COLORS_MAP[type],
56
+ onClick: () => {
57
+ if (closeNotification) closeNotification();
58
+ setIsVisibleState(false);
59
+ }
60
+ }, /*#__PURE__*/React.createElement("span", {
61
+ className: "icon"
62
+ }, "Y")));
63
+ };
64
+ Notification.propTypes = {
65
+ /**
66
+ * The HTML id for this element
67
+ */
68
+ id: PropTypes.string,
69
+ /**
70
+ * The HTML class names for this element
71
+ */
72
+ className: PropTypes.string,
73
+ /**
74
+ * The React-written, css properties for this element.
75
+ */
76
+ style: PropTypes.objectOf(PropTypes.string),
77
+ /**
78
+ * The color of the notification
79
+ */
80
+ color: PropTypes.string,
81
+ /**
82
+ * The message of the notification
83
+ */
84
+ message: PropTypes.string,
85
+ /**
86
+ * The type of the notification
87
+ */
88
+ type: PropTypes.oneOf(['success', 'error', 'warning', 'info']),
89
+ /**
90
+ * The visibility of the notification
91
+ */
92
+ isVisible: PropTypes.bool,
93
+ /**
94
+ * Override the visibility of the notification
95
+ */
96
+ overrideIsVisible: PropTypes.bool,
97
+ /**
98
+ * The action to close the notification
99
+ */
100
+ closeNotification: PropTypes.func
101
+ };
102
+ Notification.defaultProps = {
103
+ isVisible: true,
104
+ overrideIsVisible: false,
105
+ type: 'error'
106
+ };
107
+ export default Notification;
@@ -0,0 +1 @@
1
+ export { default as Notification } from "./Notification";
@@ -0,0 +1,57 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+
3
+ @use "@pareto-engineering/bem";
4
+ @use "@pareto-engineering/styles/src/mixins";
5
+ @use "@pareto-engineering/styles/src/globals" as *;
6
+
7
+ $default-padding: 1em;
8
+ $default-margin: 1em;
9
+ $default-border-radius: 1.5em;
10
+ $default-width: clamp(var(--min-width, 30em), var(--width, 50%), var(--max-width, 100%));
11
+ $default-height: clamp(var(--min-height, 3em), var(--height, 5em), var(--max-height, 10em));
12
+
13
+ .#{bem.$base}.notification {
14
+ align-items: center;
15
+ background-color: var(--x);
16
+ border-radius: $default-border-radius $default-border-radius 0 0;
17
+ bottom: 0;
18
+ color: var(--on-x);
19
+ display: flex;
20
+ height: $default-height;
21
+ justify-content: space-between;
22
+ overflow: hidden;
23
+ padding: $default-padding calc($default-padding * 2);
24
+ position: absolute;
25
+ right: 0;
26
+ width: $default-width;
27
+ z-index: 9999;
28
+
29
+ &.stacked {
30
+ position: relative;
31
+ }
32
+
33
+ > .message-container {
34
+ align-items: center;
35
+ display: flex;
36
+ overflow: auto;
37
+
38
+ > .message {
39
+ font-size: calc(var(--s0) * 1em);
40
+ margin-left: calc($default-margin / 2);
41
+ }
42
+
43
+ > span {
44
+ font-size: calc(var(--s2) * 1em);
45
+ }
46
+ }
47
+
48
+ .#{bem.$base}.button {
49
+ padding: calc($default-padding / 2);
50
+
51
+ &:focus {
52
+ background-color: transparent;
53
+ }
54
+ }
55
+ }
56
+
57
+
@@ -0,0 +1,63 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ /* @pareto-engineering/generator-front 1.0.12 */
3
+ import * as React from 'react';
4
+ import PropTypes from 'prop-types';
5
+ import styleNames from '@pareto-engineering/bem/exports';
6
+ import { Notification } from "../Notification";
7
+
8
+ // Local Definitions
9
+
10
+ import "./styles.scss";
11
+ const baseClassName = styleNames.base;
12
+ const componentClassName = 'notification-stack';
13
+ const NotificationStack = ({
14
+ id,
15
+ className: userClassName,
16
+ style,
17
+ notifications,
18
+ maxNotifications,
19
+ ...otherProps
20
+ }) => {
21
+ const notificationsToDisplay = notifications.slice(0, maxNotifications);
22
+ return /*#__PURE__*/React.createElement("div", _extends({
23
+ id: id,
24
+ className: [baseClassName, componentClassName, userClassName].filter(e => e).join(' '),
25
+ style: style
26
+ }, otherProps), notificationsToDisplay.map(notification => /*#__PURE__*/React.createElement(Notification, _extends({
27
+ className: "stacked",
28
+ key: notification?.id || notification.message
29
+ }, notification))));
30
+ };
31
+ NotificationStack.propTypes = {
32
+ /**
33
+ * The HTML id for this element
34
+ */
35
+ id: PropTypes.string,
36
+ /**
37
+ * The HTML class names for this element
38
+ */
39
+ className: PropTypes.string,
40
+ /**
41
+ * The React-written, css properties for this element.
42
+ */
43
+ style: PropTypes.objectOf(PropTypes.string),
44
+ /**
45
+ * The list of notifications to display
46
+ */
47
+ notifications: PropTypes.arrayOf(PropTypes.shape({
48
+ id: PropTypes.string,
49
+ color: PropTypes.string,
50
+ message: PropTypes.string,
51
+ type: PropTypes.string,
52
+ isVisible: PropTypes.bool,
53
+ closeNotification: PropTypes.func
54
+ })),
55
+ /**
56
+ * The maximum number of notifications to display
57
+ */
58
+ maxNotifications: PropTypes.number
59
+ };
60
+ NotificationStack.defaultProps = {
61
+ maxNotifications: 5
62
+ };
63
+ export default NotificationStack;
@@ -0,0 +1 @@
1
+ export { default as NotificationStack } from "./NotificationStack";
@@ -0,0 +1,17 @@
1
+ @use "@pareto-engineering/bem";
2
+ @use "@pareto-engineering/styles/src/mixins";
3
+ @use "@pareto-engineering/styles/src/globals" as *;
4
+
5
+ $default-padding: 1em;
6
+
7
+ .#{bem.$base}.notification-stack {
8
+ align-items: center;
9
+ bottom: 0;
10
+ display: flex;
11
+ flex-direction: column;
12
+ padding: $default-padding calc($default-padding * 2);
13
+ position: fixed;
14
+ right: 0;
15
+ row-gap: $default-padding;
16
+ z-index: 9999;
17
+ }
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.3 */
3
3
  import * as React from 'react';
4
4
  import { useMemo } from 'react';
@@ -8,6 +8,8 @@ export { HamburgerButton } from "./HamburgerButton";
8
8
  export { IconList } from "./IconList";
9
9
  export { Label } from "./Label";
10
10
  export { LoadingCircle } from "./LoadingCircle";
11
+ export { Notification } from "./Notification";
12
+ export { NotificationStack } from "./NotificationStack";
11
13
  export { People } from "./People";
12
14
  export { Popover } from "./Popover";
13
15
  export { ProgressBar } from "./ProgressBar";
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 0.2.4 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.0 */
3
3
  import * as React from 'react';
4
4
  import { useEffect } from 'react';
@@ -115,7 +115,7 @@ const PageHelmet = ({
115
115
  }) => {
116
116
  // const intl = useIntl()
117
117
  const context = useApp();
118
- const HelmetContent = useMemo(() => helmetMap.reduce( /* eslint-disable no-unused-vars -- TODO add test or ssr mode */
118
+ const HelmetContent = useMemo(() => helmetMap.reduce(/* eslint-disable no-unused-vars -- TODO add test or ssr mode */
119
119
  (a, {
120
120
  variables,
121
121
  render,
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.0 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,3 +1,3 @@
1
1
  import { useContext } from 'react';
2
2
  import Context from "./Context";
3
- export default (() => useContext(Context));
3
+ export default () => useContext(Context);
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 0.3.1 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import { memo } from 'react';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import { memo } from 'react';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import { memo } from 'react';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import { useEffect, useState } from 'react';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import { useEffect, useRef } from 'react';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  /* @pareto-engineering/generator-front 1.0.12 */
3
3
  import * as React from 'react';
4
4
  import { useState, useEffect, useRef } from 'react';