@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
@@ -22,16 +22,25 @@ const baseClassName = styleNames.base
22
22
  const componentClassName = 'renderer'
23
23
 
24
24
  const reconstructFormDataWithValues = (formData, values) => {
25
- const newData = { ...formData }
25
+ const valuesMap = {}
26
26
  Object.keys(values).forEach(async (key) => {
27
- const [sectionIdx, inputIdx] = key.match(/\d+/g).map(Number)
28
27
  if (key.includes('files')) {
29
28
  const files = values[key].map((file) => URL.createObjectURL(file))
30
- newData.sections[sectionIdx].inputs[inputIdx].files = files
29
+ valuesMap[key] = files
31
30
  } else {
32
- newData.sections[sectionIdx].inputs[inputIdx].value = values[key]
31
+ valuesMap[key] = values[key]
33
32
  }
34
33
  })
34
+ const newData = {
35
+ ...formData,
36
+ sections:formData.sections.map((section) => ({
37
+ ...section,
38
+ inputs:section.inputs.map((input) => ({
39
+ ...input,
40
+ value:valuesMap[input.name] || input.value,
41
+ })),
42
+ })),
43
+ }
35
44
  return newData
36
45
  }
37
46
 
@@ -74,10 +83,9 @@ const Renderer = ({
74
83
  setUpdatedFormData(formData)
75
84
  }, [formData])
76
85
 
77
- const initialValues = formData.sections.reduce((acc, section, sectionIndex) => {
78
- section.inputs.forEach((input, inputIndex) => {
79
- const inputName = `section_${sectionIndex}_input_${inputIndex}`
80
- acc[inputName] = input.value || ''
86
+ const initialValues = formData.sections.reduce((acc, section) => {
87
+ section.inputs.forEach((input) => {
88
+ acc[input.name] = input.value || ''
81
89
  })
82
90
  return acc
83
91
  }, {})
@@ -10466,6 +10466,355 @@ exports[`Storyshots a/MetaCard With Blur 1`] = `
10466
10466
  </div>
10467
10467
  `;
10468
10468
 
10469
+ exports[`Storyshots a/Notification Base 1`] = `
10470
+ <div
10471
+ style={
10472
+ {
10473
+ "alignItems": "center",
10474
+ "display": "flex",
10475
+ "height": "100px",
10476
+ "justifyContent": "center",
10477
+ }
10478
+ }
10479
+ >
10480
+ <div
10481
+ className="base notification x-deepblue"
10482
+ >
10483
+ <div
10484
+ className="message-container"
10485
+ >
10486
+ <span
10487
+ className="icon"
10488
+ >
10489
+ g
10490
+ </span>
10491
+ <span
10492
+ className="message"
10493
+ >
10494
+ This is a notification with a custom color
10495
+ </span>
10496
+ </div>
10497
+ <button
10498
+ className="base button close x-deepblue modifierCompact"
10499
+ onClick={[Function]}
10500
+ type="button"
10501
+ >
10502
+ <span
10503
+ className="icon"
10504
+ >
10505
+ Y
10506
+ </span>
10507
+ </button>
10508
+ </div>
10509
+ </div>
10510
+ `;
10511
+
10512
+ exports[`Storyshots a/Notification Error 1`] = `
10513
+ <div
10514
+ style={
10515
+ {
10516
+ "alignItems": "center",
10517
+ "display": "flex",
10518
+ "height": "100px",
10519
+ "justifyContent": "center",
10520
+ }
10521
+ }
10522
+ >
10523
+ <div
10524
+ className="base notification x-error"
10525
+ >
10526
+ <div
10527
+ className="message-container"
10528
+ >
10529
+ <span
10530
+ className="icon"
10531
+ >
10532
+ g
10533
+ </span>
10534
+ <span
10535
+ className="message"
10536
+ >
10537
+ This is an error notification
10538
+ </span>
10539
+ </div>
10540
+ <button
10541
+ className="base button close x-error modifierCompact"
10542
+ onClick={[Function]}
10543
+ type="button"
10544
+ >
10545
+ <span
10546
+ className="icon"
10547
+ >
10548
+ Y
10549
+ </span>
10550
+ </button>
10551
+ </div>
10552
+ </div>
10553
+ `;
10554
+
10555
+ exports[`Storyshots a/Notification Info 1`] = `
10556
+ <div
10557
+ style={
10558
+ {
10559
+ "alignItems": "center",
10560
+ "display": "flex",
10561
+ "height": "100px",
10562
+ "justifyContent": "center",
10563
+ }
10564
+ }
10565
+ >
10566
+ <div
10567
+ className="base notification x-in-progress"
10568
+ >
10569
+ <div
10570
+ className="message-container"
10571
+ >
10572
+ <span
10573
+ className="icon"
10574
+ >
10575
+ h
10576
+ </span>
10577
+ <span
10578
+ className="message"
10579
+ >
10580
+ This is an info notification
10581
+ </span>
10582
+ </div>
10583
+ <button
10584
+ className="base button close x-in-progress modifierCompact"
10585
+ onClick={[Function]}
10586
+ type="button"
10587
+ >
10588
+ <span
10589
+ className="icon"
10590
+ >
10591
+ Y
10592
+ </span>
10593
+ </button>
10594
+ </div>
10595
+ </div>
10596
+ `;
10597
+
10598
+ exports[`Storyshots a/Notification Success 1`] = `
10599
+ <div
10600
+ style={
10601
+ {
10602
+ "alignItems": "center",
10603
+ "display": "flex",
10604
+ "height": "100px",
10605
+ "justifyContent": "center",
10606
+ }
10607
+ }
10608
+ >
10609
+ <div
10610
+ className="base notification x-success"
10611
+ >
10612
+ <div
10613
+ className="message-container"
10614
+ >
10615
+ <span
10616
+ className="icon"
10617
+ >
10618
+ I
10619
+ </span>
10620
+ <span
10621
+ className="message"
10622
+ >
10623
+ This is a success notification
10624
+ </span>
10625
+ </div>
10626
+ <button
10627
+ className="base button close x-success modifierCompact"
10628
+ onClick={[Function]}
10629
+ type="button"
10630
+ >
10631
+ <span
10632
+ className="icon"
10633
+ >
10634
+ Y
10635
+ </span>
10636
+ </button>
10637
+ </div>
10638
+ </div>
10639
+ `;
10640
+
10641
+ exports[`Storyshots a/Notification Warning 1`] = `
10642
+ <div
10643
+ style={
10644
+ {
10645
+ "alignItems": "center",
10646
+ "display": "flex",
10647
+ "height": "100px",
10648
+ "justifyContent": "center",
10649
+ }
10650
+ }
10651
+ >
10652
+ <div
10653
+ className="base notification x-blocked"
10654
+ >
10655
+ <div
10656
+ className="message-container"
10657
+ >
10658
+ <span
10659
+ className="icon"
10660
+ >
10661
+ x
10662
+ </span>
10663
+ <span
10664
+ className="message"
10665
+ >
10666
+ This is a warning notification
10667
+ </span>
10668
+ </div>
10669
+ <button
10670
+ className="base button close x-blocked modifierCompact"
10671
+ onClick={[Function]}
10672
+ type="button"
10673
+ >
10674
+ <span
10675
+ className="icon"
10676
+ >
10677
+ Y
10678
+ </span>
10679
+ </button>
10680
+ </div>
10681
+ </div>
10682
+ `;
10683
+
10684
+ exports[`Storyshots a/NotificationStack Base 1`] = `
10685
+ <div
10686
+ style={
10687
+ {
10688
+ "alignItems": "center",
10689
+ "display": "flex",
10690
+ "height": "500px",
10691
+ "justifyContent": "center",
10692
+ }
10693
+ }
10694
+ >
10695
+ <div
10696
+ className="base notification-stack"
10697
+ >
10698
+ <div
10699
+ className="base notification stacked x-error"
10700
+ >
10701
+ <div
10702
+ className="message-container"
10703
+ >
10704
+ <span
10705
+ className="icon"
10706
+ >
10707
+ g
10708
+ </span>
10709
+ <span
10710
+ className="message"
10711
+ >
10712
+ This is an error notification
10713
+ </span>
10714
+ </div>
10715
+ <button
10716
+ className="base button close x-error modifierCompact"
10717
+ onClick={[Function]}
10718
+ type="button"
10719
+ >
10720
+ <span
10721
+ className="icon"
10722
+ >
10723
+ Y
10724
+ </span>
10725
+ </button>
10726
+ </div>
10727
+ <div
10728
+ className="base notification stacked x-blocked"
10729
+ >
10730
+ <div
10731
+ className="message-container"
10732
+ >
10733
+ <span
10734
+ className="icon"
10735
+ >
10736
+ x
10737
+ </span>
10738
+ <span
10739
+ className="message"
10740
+ >
10741
+ This is a warning notification
10742
+ </span>
10743
+ </div>
10744
+ <button
10745
+ className="base button close x-blocked modifierCompact"
10746
+ onClick={[Function]}
10747
+ type="button"
10748
+ >
10749
+ <span
10750
+ className="icon"
10751
+ >
10752
+ Y
10753
+ </span>
10754
+ </button>
10755
+ </div>
10756
+ <div
10757
+ className="base notification stacked x-in-progress"
10758
+ >
10759
+ <div
10760
+ className="message-container"
10761
+ >
10762
+ <span
10763
+ className="icon"
10764
+ >
10765
+ h
10766
+ </span>
10767
+ <span
10768
+ className="message"
10769
+ >
10770
+ This is an info notification
10771
+ </span>
10772
+ </div>
10773
+ <button
10774
+ className="base button close x-in-progress modifierCompact"
10775
+ onClick={[Function]}
10776
+ type="button"
10777
+ >
10778
+ <span
10779
+ className="icon"
10780
+ >
10781
+ Y
10782
+ </span>
10783
+ </button>
10784
+ </div>
10785
+ <div
10786
+ className="base notification stacked x-success"
10787
+ >
10788
+ <div
10789
+ className="message-container"
10790
+ >
10791
+ <span
10792
+ className="icon"
10793
+ >
10794
+ I
10795
+ </span>
10796
+ <span
10797
+ className="message"
10798
+ >
10799
+ This is a success notification
10800
+ </span>
10801
+ </div>
10802
+ <button
10803
+ className="base button close x-success modifierCompact"
10804
+ onClick={[Function]}
10805
+ type="button"
10806
+ >
10807
+ <span
10808
+ className="icon"
10809
+ >
10810
+ Y
10811
+ </span>
10812
+ </button>
10813
+ </div>
10814
+ </div>
10815
+ </div>
10816
+ `;
10817
+
10469
10818
  exports[`Storyshots a/People Base 1`] = `
10470
10819
  <div
10471
10820
  className="x-background-far b-x v1 p-v"