@pega/cosmos-react-demos 3.0.0-dev.2.1 → 3.0.0-dev.21.1

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 (1423) hide show
  1. package/jsx/build/AppHeader/AppHeader.stories.d.ts +1 -1
  2. package/jsx/build/AppHeader/AppHeader.stories.d.ts.map +1 -1
  3. package/jsx/build/AppHeader/AppHeader.stories.jsx +102 -75
  4. package/jsx/build/AppHeader/AppHeader.stories.jsx.map +1 -1
  5. package/jsx/build/AppShell/AppShell.mocks.d.ts +19 -0
  6. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  7. package/jsx/build/AppShell/{AppShell.mocks.js → AppShell.mocks.jsx} +33 -1
  8. package/jsx/build/AppShell/AppShell.mocks.jsx.map +1 -0
  9. package/jsx/build/AppShell/AppShell.stories.d.ts +2 -2
  10. package/jsx/build/AppShell/AppShell.stories.d.ts.map +1 -1
  11. package/jsx/build/AppShell/AppShell.stories.jsx +20 -45
  12. package/jsx/build/AppShell/AppShell.stories.jsx.map +1 -1
  13. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
  14. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
  15. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx +101 -0
  16. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -0
  17. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts +11 -0
  18. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
  19. package/jsx/build/DynamicContentEditor/FieldSelector.jsx +80 -0
  20. package/jsx/build/DynamicContentEditor/FieldSelector.jsx.map +1 -0
  21. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +11 -0
  22. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +1 -0
  23. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js +135 -0
  24. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +1 -0
  25. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +18 -0
  26. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -0
  27. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx +72 -0
  28. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx.map +1 -0
  29. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts +4 -4
  30. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +1 -1
  31. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js.map +1 -1
  32. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +21 -2
  33. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  34. package/jsx/build/FlowModeller/{FlowModeller.mocks.js → FlowModeller.mocks.jsx} +186 -34
  35. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +1 -0
  36. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +9 -10
  37. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  38. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +265 -150
  39. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +1 -1
  40. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
  41. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
  42. package/jsx/build/FlowModeller/FlowModeller.styles.js +8 -0
  43. package/jsx/build/FlowModeller/FlowModeller.styles.js.map +1 -0
  44. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts +1 -5
  45. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -1
  46. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js +5 -10
  47. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -1
  48. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -7
  49. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  50. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +1 -1
  51. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +3 -0
  52. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -1
  53. package/jsx/build/LifeCycle/LifeCycle.mocks.js +146 -18
  54. package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +1 -1
  55. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +6 -9
  56. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  57. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +111 -27
  58. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -1
  59. package/jsx/build/LifeCycle/utils.d.ts.map +1 -1
  60. package/jsx/build/LifeCycle/utils.js +5 -4
  61. package/jsx/build/LifeCycle/utils.js.map +1 -1
  62. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +63 -0
  63. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
  64. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +395 -0
  65. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +1 -0
  66. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +8 -0
  67. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
  68. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +245 -0
  69. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +1 -0
  70. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
  71. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
  72. package/jsx/build/ObjectSelect/ObjectSelect.styles.js +27 -0
  73. package/jsx/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
  74. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +46 -0
  75. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
  76. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +76 -0
  77. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +1 -0
  78. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  79. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +14 -92
  80. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +1 -1
  81. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +18 -0
  82. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  83. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +287 -0
  84. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +1 -0
  85. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +4 -9
  86. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  87. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +96 -270
  88. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  89. package/jsx/build/Workbench/Workbench.stories.d.ts +1 -0
  90. package/jsx/build/Workbench/Workbench.stories.d.ts.map +1 -1
  91. package/jsx/build/Workbench/Workbench.stories.jsx +204 -18
  92. package/jsx/build/Workbench/Workbench.stories.jsx.map +1 -1
  93. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
  94. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
  95. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +15 -0
  96. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
  97. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +17 -8
  98. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  99. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +99 -65
  100. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -1
  101. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
  102. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
  103. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
  104. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
  105. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  106. package/jsx/condition-builder/ConditionBuilder/props.mock.js +132 -31
  107. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  108. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts +10 -0
  109. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -0
  110. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx +40 -0
  111. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx.map +1 -0
  112. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +4 -0
  113. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -0
  114. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js +74 -0
  115. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -0
  116. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +8 -0
  117. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -0
  118. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx +31 -0
  119. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx.map +1 -0
  120. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +9 -0
  121. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +1 -0
  122. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js +35 -0
  123. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js.map +1 -0
  124. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +9 -0
  125. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -0
  126. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx +25 -0
  127. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +1 -0
  128. package/jsx/core/AppShell/AppShell.mocks.d.ts +1 -1
  129. package/jsx/core/AppShell/AppShell.mocks.jsx +5 -5
  130. package/jsx/core/AppShell/AppShell.mocks.jsx.map +1 -1
  131. package/jsx/core/AppShell/AppShell.stories.d.ts +2 -0
  132. package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -1
  133. package/jsx/core/AppShell/AppShell.stories.jsx +44 -7
  134. package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -1
  135. package/jsx/core/Badges/Keyboard.stories.d.ts +6 -0
  136. package/jsx/core/Badges/Keyboard.stories.d.ts.map +1 -0
  137. package/jsx/core/Badges/Keyboard.stories.jsx +17 -0
  138. package/jsx/core/Badges/Keyboard.stories.jsx.map +1 -0
  139. package/jsx/core/Badges/Selection.stories.d.ts +2 -3
  140. package/jsx/core/Badges/Selection.stories.d.ts.map +1 -1
  141. package/jsx/core/Badges/Selection.stories.jsx.map +1 -1
  142. package/jsx/core/Badges/Tag.stories.d.ts +2 -3
  143. package/jsx/core/Badges/Tag.stories.d.ts.map +1 -1
  144. package/jsx/core/Badges/Tag.stories.jsx.map +1 -1
  145. package/jsx/core/Banner/Banner.stories.d.ts +7 -18
  146. package/jsx/core/Banner/Banner.stories.d.ts.map +1 -1
  147. package/jsx/core/Banner/Banner.stories.jsx.map +1 -1
  148. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -4
  149. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  150. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
  151. package/jsx/core/Button/Button.stories.d.ts +2 -3
  152. package/jsx/core/Button/Button.stories.d.ts.map +1 -1
  153. package/jsx/core/Button/Button.stories.jsx +6 -6
  154. package/jsx/core/Button/Button.stories.jsx.map +1 -1
  155. package/jsx/core/Card/Card.stories.d.ts +1 -2
  156. package/jsx/core/Card/Card.stories.d.ts.map +1 -1
  157. package/jsx/core/Card/Card.stories.jsx +1 -1
  158. package/jsx/core/Card/Card.stories.jsx.map +1 -1
  159. package/jsx/core/Checkbox/Checkbox.stories.d.ts +6 -2
  160. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  161. package/jsx/core/Checkbox/Checkbox.stories.jsx +27 -8
  162. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
  163. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +7 -3
  164. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  165. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +46 -5
  166. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
  167. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +5 -3
  168. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  169. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +12 -13
  170. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
  171. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
  172. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
  173. package/jsx/core/ColorPicker/ColorPicker.styles.js +11 -0
  174. package/jsx/core/ColorPicker/ColorPicker.styles.js.map +1 -0
  175. package/jsx/core/ComboBox/ComboBox.stories.d.ts +1 -0
  176. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  177. package/jsx/core/ComboBox/ComboBox.stories.jsx +40 -8
  178. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -1
  179. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts +8 -0
  180. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -0
  181. package/jsx/core/CompositeInput/CompositeInput.mocks.jsx +8 -0
  182. package/jsx/core/CompositeInput/CompositeInput.mocks.jsx.map +1 -0
  183. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts +9 -0
  184. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -0
  185. package/jsx/core/CompositeInput/CompositeInput.stories.jsx +54 -0
  186. package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +1 -0
  187. package/jsx/core/Configuration/Configuration.mocks.d.ts +7 -0
  188. package/jsx/core/Configuration/Configuration.mocks.d.ts.map +1 -0
  189. package/jsx/core/Configuration/Configuration.mocks.jsx +9 -0
  190. package/jsx/core/Configuration/Configuration.mocks.jsx.map +1 -0
  191. package/jsx/core/Configuration/Configuration.stories.d.ts +2 -3
  192. package/jsx/core/Configuration/Configuration.stories.d.ts.map +1 -1
  193. package/jsx/core/Configuration/Configuration.stories.jsx +2 -18
  194. package/jsx/core/Configuration/Configuration.stories.jsx.map +1 -1
  195. package/jsx/core/Configuration/Configuration.styles.d.ts +6 -0
  196. package/jsx/core/Configuration/Configuration.styles.d.ts.map +1 -0
  197. package/jsx/core/Configuration/Configuration.styles.js +12 -0
  198. package/jsx/core/Configuration/Configuration.styles.js.map +1 -0
  199. package/jsx/core/CreditCard/CreditCard.stories.d.ts +14 -0
  200. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
  201. package/jsx/core/CreditCard/CreditCard.stories.jsx +52 -0
  202. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -0
  203. package/jsx/core/Currency/Currency.stories.d.ts +9 -3
  204. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
  205. package/jsx/core/Currency/Currency.stories.jsx +58 -19
  206. package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
  207. package/jsx/core/DateTime/DateTime.stories.d.ts +39 -9
  208. package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
  209. package/jsx/core/DateTime/DateTime.stories.jsx +152 -17
  210. package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
  211. package/jsx/core/Dialog/Dialog.stories.d.ts +6 -0
  212. package/jsx/core/Dialog/Dialog.stories.d.ts.map +1 -0
  213. package/jsx/core/Dialog/Dialog.stories.jsx +79 -0
  214. package/jsx/core/Dialog/Dialog.stories.jsx.map +1 -0
  215. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +6 -4
  216. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  217. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +8 -4
  218. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
  219. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
  220. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  221. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +70 -2
  222. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -1
  223. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
  224. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  225. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +51 -88
  226. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -1
  227. package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts +3 -0
  228. package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts.map +1 -0
  229. package/jsx/core/FieldValueList/FieldValueList.mocks.js +9 -0
  230. package/jsx/core/FieldValueList/FieldValueList.mocks.js.map +1 -0
  231. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +3 -2
  232. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  233. package/jsx/core/FieldValueList/FieldValueList.stories.jsx +34 -2
  234. package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +1 -1
  235. package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
  236. package/jsx/core/File/FileDisplay.stories.jsx +16 -38
  237. package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
  238. package/jsx/core/Flex/FlexContainer.stories.d.ts +1 -2
  239. package/jsx/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  240. package/jsx/core/Flex/FlexContainer.stories.jsx.map +1 -1
  241. package/jsx/core/Form/Form.mocks.d.ts.map +1 -1
  242. package/jsx/core/Form/Form.mocks.jsx +4 -3
  243. package/jsx/core/Form/Form.mocks.jsx.map +1 -1
  244. package/jsx/core/Form/Form.stories.jsx +2 -2
  245. package/jsx/core/Form/Form.stories.jsx.map +1 -1
  246. package/jsx/core/Grid/GridContainer.stories.d.ts +4 -5
  247. package/jsx/core/Grid/GridContainer.stories.d.ts.map +1 -1
  248. package/jsx/core/Grid/GridContainer.stories.jsx.map +1 -1
  249. package/jsx/core/Grid/GridItem.stories.d.ts +1 -2
  250. package/jsx/core/Grid/GridItem.stories.d.ts.map +1 -1
  251. package/jsx/core/Grid/GridItem.stories.jsx.map +1 -1
  252. package/jsx/core/HTML/HTML.stories.d.ts +6 -0
  253. package/jsx/core/HTML/HTML.stories.d.ts.map +1 -0
  254. package/jsx/core/HTML/HTML.stories.jsx +13 -0
  255. package/jsx/core/HTML/HTML.stories.jsx.map +1 -0
  256. package/jsx/core/Icon/Icon.stories.d.ts +5 -6
  257. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
  258. package/jsx/core/Icon/Icon.stories.jsx +5 -27
  259. package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
  260. package/jsx/core/Icon/Icon.styles.d.ts +4 -0
  261. package/jsx/core/Icon/Icon.styles.d.ts.map +1 -0
  262. package/jsx/core/Icon/Icon.styles.js +25 -0
  263. package/jsx/core/Icon/Icon.styles.js.map +1 -0
  264. package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
  265. package/jsx/core/IconPicker/IconPicker.stories.jsx +7 -10
  266. package/jsx/core/IconPicker/IconPicker.stories.jsx.map +1 -1
  267. package/jsx/core/Image/Image.stories.d.ts +2 -3
  268. package/jsx/core/Image/Image.stories.d.ts.map +1 -1
  269. package/jsx/core/Image/Image.stories.jsx.map +1 -1
  270. package/jsx/core/Input/Input.stories.d.ts +2 -0
  271. package/jsx/core/Input/Input.stories.d.ts.map +1 -1
  272. package/jsx/core/Input/Input.stories.jsx +78 -2
  273. package/jsx/core/Input/Input.stories.jsx.map +1 -1
  274. package/jsx/core/Lightbox/Lightbox.stories.jsx +1 -1
  275. package/jsx/core/Lightbox/Lightbox.stories.jsx.map +1 -1
  276. package/jsx/core/Link/Link.stories.d.ts +1 -11
  277. package/jsx/core/Link/Link.stories.d.ts.map +1 -1
  278. package/jsx/core/Link/Link.stories.jsx.map +1 -1
  279. package/jsx/core/List/CommaSeparatedList.stories.d.ts +2 -2
  280. package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  281. package/jsx/core/List/CommaSeparatedList.stories.jsx.map +1 -1
  282. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
  283. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
  284. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +71 -0
  285. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -0
  286. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +10 -0
  287. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
  288. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +93 -0
  289. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -0
  290. package/jsx/core/Location/Location.stories.d.ts +4 -1
  291. package/jsx/core/Location/Location.stories.d.ts.map +1 -1
  292. package/jsx/core/Location/Location.stories.jsx +10 -3
  293. package/jsx/core/Location/Location.stories.jsx.map +1 -1
  294. package/jsx/core/Menu/Menu.stories.d.ts.map +1 -1
  295. package/jsx/core/Menu/Menu.stories.jsx +4 -3
  296. package/jsx/core/Menu/Menu.stories.jsx.map +1 -1
  297. package/jsx/core/MenuButton/MenuButton.stories.d.ts +6 -6
  298. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  299. package/jsx/core/MenuButton/MenuButton.stories.jsx.map +1 -1
  300. package/jsx/core/Modal/Modal.stories.d.ts +10 -5
  301. package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
  302. package/jsx/core/Modal/Modal.stories.jsx +34 -43
  303. package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
  304. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +34 -0
  305. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -0
  306. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx +124 -0
  307. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +1 -0
  308. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +5 -0
  309. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -0
  310. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx +208 -0
  311. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +1 -0
  312. package/jsx/core/Number/Number.stories.d.ts +11 -6
  313. package/jsx/core/Number/Number.stories.d.ts.map +1 -1
  314. package/jsx/core/Number/Number.stories.jsx +136 -34
  315. package/jsx/core/Number/Number.stories.jsx.map +1 -1
  316. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
  317. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  318. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +5 -3
  319. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  320. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +81 -27
  321. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  322. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
  323. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
  324. package/jsx/core/PageTemplates/PageTemplates.styles.js +9 -0
  325. package/jsx/core/PageTemplates/PageTemplates.styles.js.map +1 -1
  326. package/jsx/core/Phone/Phone.stories.d.ts +4 -1
  327. package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
  328. package/jsx/core/Phone/Phone.stories.jsx +12 -3
  329. package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
  330. package/jsx/core/Popover/Popover.stories.d.ts +1 -1
  331. package/jsx/core/Popover/Popover.stories.d.ts.map +1 -1
  332. package/jsx/core/Popover/Popover.stories.jsx.map +1 -1
  333. package/jsx/core/RadioButton/RadioButton.stories.d.ts +6 -2
  334. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  335. package/jsx/core/RadioButton/RadioButton.stories.jsx +23 -6
  336. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
  337. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +7 -3
  338. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  339. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +46 -5
  340. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
  341. package/jsx/core/Rating/Rating.stories.jsx +1 -1
  342. package/jsx/core/Rating/Rating.stories.jsx.map +1 -1
  343. package/jsx/core/SearchInput/SearchInput.mocks.d.ts +12 -0
  344. package/jsx/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
  345. package/jsx/core/SearchInput/SearchInput.mocks.js +25 -0
  346. package/jsx/core/SearchInput/SearchInput.mocks.js.map +1 -0
  347. package/jsx/core/SearchInput/SearchInput.stories.d.ts +1 -4
  348. package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  349. package/jsx/core/SearchInput/SearchInput.stories.jsx +29 -17
  350. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +1 -1
  351. package/jsx/core/Select/Select.stories.d.ts +1 -0
  352. package/jsx/core/Select/Select.stories.d.ts.map +1 -1
  353. package/jsx/core/Select/Select.stories.jsx +10 -3
  354. package/jsx/core/Select/Select.stories.jsx.map +1 -1
  355. package/jsx/core/Sentiment/Sentiment.stories.jsx +4 -4
  356. package/jsx/core/Sentiment/Sentiment.stories.jsx.map +1 -1
  357. package/jsx/core/Slider/Slider.stories.d.ts +4 -3
  358. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
  359. package/jsx/core/Slider/Slider.stories.jsx +1 -1
  360. package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
  361. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  362. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  363. package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +1 -1
  364. package/jsx/core/SummaryList/SummaryList.stories.d.ts +2 -2
  365. package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  366. package/jsx/core/SummaryList/SummaryList.stories.jsx.map +1 -1
  367. package/jsx/core/Table/Table.mocks.d.ts +6 -0
  368. package/jsx/core/Table/Table.mocks.d.ts.map +1 -1
  369. package/jsx/core/Table/Table.mocks.jsx +134 -0
  370. package/jsx/core/Table/Table.mocks.jsx.map +1 -1
  371. package/jsx/core/Table/Table.stories.jsx +2 -2
  372. package/jsx/core/Table/Table.stories.jsx.map +1 -1
  373. package/jsx/core/Tabs/Tabs.stories.d.ts +5 -2
  374. package/jsx/core/Tabs/Tabs.stories.d.ts.map +1 -1
  375. package/jsx/core/Tabs/Tabs.stories.jsx.map +1 -1
  376. package/jsx/core/TextArea/TextArea.stories.d.ts +4 -1
  377. package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
  378. package/jsx/core/TextArea/TextArea.stories.jsx +10 -3
  379. package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
  380. package/jsx/core/Toaster/Toaster.stories.d.ts +2 -3
  381. package/jsx/core/Toaster/Toaster.stories.d.ts.map +1 -1
  382. package/jsx/core/Toaster/Toaster.stories.jsx.map +1 -1
  383. package/jsx/core/Tooltip/Tooltip.stories.d.ts +3 -7
  384. package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  385. package/jsx/core/Tooltip/Tooltip.stories.jsx.map +1 -1
  386. package/jsx/core/Tree/Tree.mocks.d.ts +1 -1
  387. package/jsx/core/Tree/Tree.mocks.d.ts.map +1 -1
  388. package/jsx/core/Tree/Tree.stories.d.ts +1 -2
  389. package/jsx/core/Tree/Tree.stories.d.ts.map +1 -1
  390. package/jsx/core/Tree/Tree.stories.jsx +2 -2
  391. package/jsx/core/Tree/Tree.stories.jsx.map +1 -1
  392. package/jsx/cs/Article/Article.stories.d.ts +4 -13
  393. package/jsx/cs/Article/Article.stories.d.ts.map +1 -1
  394. package/jsx/cs/Article/Article.stories.jsx.map +1 -1
  395. package/jsx/cs/ArticleList/ArticleList.stories.d.ts +4 -14
  396. package/jsx/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  397. package/jsx/cs/ArticleList/ArticleList.stories.jsx +3 -2
  398. package/jsx/cs/ArticleList/ArticleList.stories.jsx.map +1 -1
  399. package/jsx/cs/CSCaseView/{CSCaseView.mocks.d.ts → CSAppShell.mocks.d.ts} +17 -1
  400. package/jsx/cs/CSCaseView/CSAppShell.mocks.d.ts.map +1 -0
  401. package/jsx/cs/CSCaseView/{CSCaseView.mocks.js → CSAppShell.mocks.jsx} +76 -1
  402. package/jsx/cs/CSCaseView/CSAppShell.mocks.jsx.map +1 -0
  403. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts +4 -36
  404. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -1
  405. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx +21 -68
  406. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx.map +1 -1
  407. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts +6 -5
  408. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +1 -1
  409. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js +138 -10
  410. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js.map +1 -1
  411. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +6 -3
  412. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  413. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +142 -93
  414. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -1
  415. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -11
  416. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  417. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx +3 -3
  418. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  419. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +7 -6
  420. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  421. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx +13 -5
  422. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -1
  423. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
  424. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
  425. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
  426. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
  427. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +3 -7
  428. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  429. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +38 -43
  430. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +1 -1
  431. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +18 -0
  432. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
  433. package/jsx/cs/TaskManager/TaskManager.mocks.js +93 -0
  434. package/jsx/cs/TaskManager/TaskManager.mocks.js.map +1 -1
  435. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +8 -6
  436. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  437. package/jsx/cs/TaskManager/TaskManager.stories.jsx +115 -48
  438. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +1 -1
  439. package/jsx/cs/TaskManager/TaskManager.styles.d.ts +3 -0
  440. package/jsx/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
  441. package/jsx/cs/TaskManager/TaskManager.styles.js +9 -0
  442. package/jsx/cs/TaskManager/TaskManager.styles.js.map +1 -0
  443. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
  444. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
  445. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx +33 -0
  446. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +1 -0
  447. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
  448. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  449. package/jsx/dnd/DragDropList/DragDropList.stories.jsx +14 -78
  450. package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +1 -1
  451. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
  452. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
  453. package/jsx/dnd/DragDropList/DragDropList.styles.js +32 -0
  454. package/jsx/dnd/DragDropList/DragDropList.styles.js.map +1 -0
  455. package/jsx/dnd/StandardDragDropList/Demo.d.ts +7 -0
  456. package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +1 -0
  457. package/jsx/dnd/StandardDragDropList/Demo.jsx +158 -0
  458. package/jsx/dnd/StandardDragDropList/Demo.jsx.map +1 -0
  459. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts +10 -0
  460. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -0
  461. package/jsx/dnd/StandardDragDropList/GroupConfig.jsx +26 -0
  462. package/jsx/dnd/StandardDragDropList/GroupConfig.jsx.map +1 -0
  463. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts +12 -0
  464. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -0
  465. package/jsx/dnd/StandardDragDropList/ItemConfig.jsx +21 -0
  466. package/jsx/dnd/StandardDragDropList/ItemConfig.jsx.map +1 -0
  467. package/jsx/dnd/StandardDragDropList/Popover.d.ts +14 -0
  468. package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +1 -0
  469. package/jsx/dnd/StandardDragDropList/Popover.jsx +51 -0
  470. package/jsx/dnd/StandardDragDropList/Popover.jsx.map +1 -0
  471. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts +16 -0
  472. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -0
  473. package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx +104 -0
  474. package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx.map +1 -0
  475. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +5 -0
  476. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -0
  477. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx +15 -0
  478. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx.map +1 -0
  479. package/jsx/dnd/StandardDragDropList/mockData.d.ts +26 -0
  480. package/jsx/dnd/StandardDragDropList/mockData.d.ts.map +1 -0
  481. package/jsx/dnd/StandardDragDropList/mockData.js +77 -0
  482. package/jsx/dnd/StandardDragDropList/mockData.js.map +1 -0
  483. package/jsx/rte/Editor/Editor.mocks.d.ts +309 -0
  484. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -0
  485. package/jsx/rte/Editor/Editor.mocks.jsx +23 -0
  486. package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -0
  487. package/jsx/rte/Editor/Editor.stories.d.ts +7 -8
  488. package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
  489. package/jsx/rte/Editor/Editor.stories.jsx +3 -21
  490. package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
  491. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -1
  492. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +6 -4
  493. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  494. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx +11 -4
  495. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -1
  496. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +5 -5
  497. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  498. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +19 -2
  499. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +1 -1
  500. package/jsx/social/Chat/Chat.mocks.d.ts +1 -1
  501. package/jsx/social/Chat/Chat.mocks.js +0 -1
  502. package/jsx/social/Chat/Chat.mocks.js.map +1 -1
  503. package/jsx/social/Chat/Chat.stories.d.ts +6 -7
  504. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  505. package/jsx/social/Chat/Chat.stories.jsx +7 -5
  506. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  507. package/jsx/social/Chat/RepeatingView.mocks.d.ts +14 -0
  508. package/jsx/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
  509. package/jsx/social/Chat/RepeatingView.mocks.js +11 -0
  510. package/jsx/social/Chat/RepeatingView.mocks.js.map +1 -0
  511. package/jsx/social/Chat/RepeatingView.stories.d.ts +6 -17
  512. package/jsx/social/Chat/RepeatingView.stories.d.ts.map +1 -1
  513. package/jsx/social/Chat/RepeatingView.stories.jsx +16 -46
  514. package/jsx/social/Chat/RepeatingView.stories.jsx.map +1 -1
  515. package/jsx/social/Chat/RepeatingView.styles.d.ts +2 -0
  516. package/jsx/social/Chat/RepeatingView.styles.d.ts.map +1 -0
  517. package/jsx/social/Chat/RepeatingView.styles.js +22 -0
  518. package/jsx/social/Chat/RepeatingView.styles.js.map +1 -0
  519. package/jsx/social/Email/Email.mocks.d.ts +224 -3
  520. package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
  521. package/jsx/social/Email/Email.mocks.jsx +948 -0
  522. package/jsx/social/Email/Email.mocks.jsx.map +1 -0
  523. package/jsx/social/Email/Email.stories.d.ts +40 -26
  524. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  525. package/jsx/social/Email/Email.stories.jsx +670 -617
  526. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  527. package/jsx/social/Email/Email.styles.d.ts +3 -0
  528. package/jsx/social/Email/Email.styles.d.ts.map +1 -0
  529. package/jsx/social/Email/Email.styles.js +11 -0
  530. package/jsx/social/Email/Email.styles.js.map +1 -0
  531. package/jsx/social/Feed/Feed.mocks.d.ts +13 -18
  532. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
  533. package/jsx/social/Feed/Feed.mocks.jsx +10 -5
  534. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
  535. package/jsx/social/Feed/Feed.stories.d.ts +8 -12
  536. package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
  537. package/jsx/social/Feed/Feed.stories.jsx +28 -22
  538. package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
  539. package/jsx/social/Feed/FeedNewPost.stories.d.ts +7 -14
  540. package/jsx/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
  541. package/jsx/social/Feed/FeedNewPost.stories.jsx +3 -2
  542. package/jsx/social/Feed/FeedNewPost.stories.jsx.map +1 -1
  543. package/jsx/social/Feed/FeedPost.stories.d.ts +4 -5
  544. package/jsx/social/Feed/FeedPost.stories.d.ts.map +1 -1
  545. package/jsx/social/Feed/FeedPost.stories.jsx +40 -29
  546. package/jsx/social/Feed/FeedPost.stories.jsx.map +1 -1
  547. package/jsx/social/Feed/FeedReply.stories.d.ts +10 -10
  548. package/jsx/social/Feed/FeedReply.stories.d.ts.map +1 -1
  549. package/jsx/social/Feed/FeedReply.stories.jsx +27 -22
  550. package/jsx/social/Feed/FeedReply.stories.jsx.map +1 -1
  551. package/jsx/social/Feed/FeedReplyInput.stories.d.ts +7 -12
  552. package/jsx/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
  553. package/jsx/social/Feed/FeedReplyInput.stories.jsx +3 -2
  554. package/jsx/social/Feed/FeedReplyInput.stories.jsx.map +1 -1
  555. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts +6 -0
  556. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts.map +1 -0
  557. package/jsx/tools/Clipboard/Clipboard.mocks.jsx +82 -0
  558. package/jsx/tools/Clipboard/Clipboard.mocks.jsx.map +1 -0
  559. package/jsx/tools/Clipboard/Clipboard.stories.d.ts +6 -0
  560. package/jsx/tools/Clipboard/Clipboard.stories.d.ts.map +1 -0
  561. package/jsx/tools/Clipboard/Clipboard.stories.jsx +68 -0
  562. package/jsx/tools/Clipboard/Clipboard.stories.jsx.map +1 -0
  563. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts +9 -0
  564. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts.map +1 -0
  565. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx +58 -0
  566. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx.map +1 -0
  567. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts +15 -0
  568. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -0
  569. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx +107 -0
  570. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +1 -0
  571. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts +3 -0
  572. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts.map +1 -0
  573. package/jsx/tools/PreviewShell/PreviewShell.styles.js +7 -0
  574. package/jsx/tools/PreviewShell/PreviewShell.styles.js.map +1 -0
  575. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -1
  576. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx +3 -1
  577. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +1 -1
  578. package/jsx/work/CaseView/CaseView.stories.d.ts +4 -11
  579. package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
  580. package/jsx/work/CaseView/CaseView.stories.jsx +11 -3
  581. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
  582. package/jsx/work/CaseView/MobileCaseView.stories.d.ts +3 -9
  583. package/jsx/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
  584. package/jsx/work/CaseView/MobileCaseView.stories.jsx.map +1 -1
  585. package/jsx/work/CaseView/Pulse.mocks.d.ts +4 -3
  586. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  587. package/jsx/work/CaseView/Pulse.mocks.jsx +2 -2
  588. package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -1
  589. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
  590. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
  591. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx +166 -0
  592. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx.map +1 -0
  593. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -8
  594. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  595. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +3 -174
  596. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -1
  597. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
  598. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
  599. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
  600. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
  601. package/jsx/work/Confirmation/Confirmation.stories.d.ts +3 -0
  602. package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  603. package/jsx/work/Confirmation/Confirmation.stories.jsx +12 -8
  604. package/jsx/work/Confirmation/Confirmation.stories.jsx.map +1 -1
  605. package/jsx/work/Details/Details.stories.d.ts.map +1 -1
  606. package/jsx/work/Details/Details.stories.jsx +60 -64
  607. package/jsx/work/Details/Details.stories.jsx.map +1 -1
  608. package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  609. package/jsx/work/Glimpse/Glimpse.stories.jsx.map +1 -1
  610. package/jsx/work/SearchResults/SearchResults.stories.d.ts +1 -0
  611. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  612. package/jsx/work/SearchResults/SearchResults.stories.jsx +10 -8
  613. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -1
  614. package/jsx/work/Stages/Stages.mocks.d.ts +14 -0
  615. package/jsx/work/Stages/Stages.mocks.d.ts.map +1 -0
  616. package/jsx/work/Stages/Stages.mocks.jsx +40 -0
  617. package/jsx/work/Stages/Stages.mocks.jsx.map +1 -0
  618. package/jsx/work/Stages/Stages.stories.d.ts +1 -1
  619. package/jsx/work/Stages/Stages.stories.d.ts.map +1 -1
  620. package/jsx/work/Stages/Stages.stories.jsx +12 -46
  621. package/jsx/work/Stages/Stages.stories.jsx.map +1 -1
  622. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +1 -1
  623. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -1
  624. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +2 -3
  625. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  626. package/jsx/work/Stakeholders/Stakeholders.stories.jsx +1 -0
  627. package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +1 -1
  628. package/jsx/work/Tasks/TaskList.stories.d.ts.map +1 -1
  629. package/jsx/work/Tasks/TaskList.stories.jsx +3 -1
  630. package/jsx/work/Tasks/TaskList.stories.jsx.map +1 -1
  631. package/jsx/work/Tasks/Tasks.stories.d.ts +4 -0
  632. package/jsx/work/Tasks/Tasks.stories.d.ts.map +1 -1
  633. package/jsx/work/Tasks/Tasks.stories.jsx +21 -11
  634. package/jsx/work/Tasks/Tasks.stories.jsx.map +1 -1
  635. package/jsx/work/Timeline/Timeline.stories.d.ts +1 -0
  636. package/jsx/work/Timeline/Timeline.stories.d.ts.map +1 -1
  637. package/jsx/work/Timeline/Timeline.stories.jsx +29 -1
  638. package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -1
  639. package/jsx/wss/AppShell/AppShell.mocks.d.ts +24 -0
  640. package/jsx/wss/AppShell/AppShell.mocks.d.ts.map +1 -0
  641. package/jsx/wss/AppShell/AppShell.mocks.jsx +64 -0
  642. package/jsx/wss/AppShell/AppShell.mocks.jsx.map +1 -0
  643. package/jsx/wss/AppShell/AppShell.stories.d.ts +17 -0
  644. package/jsx/wss/AppShell/AppShell.stories.d.ts.map +1 -0
  645. package/jsx/wss/AppShell/AppShell.stories.jsx +76 -0
  646. package/jsx/wss/AppShell/AppShell.stories.jsx.map +1 -0
  647. package/jsx/wss/AppShell/AppShell.styles.d.ts +2 -0
  648. package/jsx/wss/AppShell/AppShell.styles.d.ts.map +1 -0
  649. package/jsx/wss/AppShell/AppShell.styles.js +5 -0
  650. package/jsx/wss/AppShell/AppShell.styles.js.map +1 -0
  651. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +10 -0
  652. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -0
  653. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx +37 -0
  654. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +1 -0
  655. package/lib/build/AppHeader/AppHeader.stories.d.ts +1 -1
  656. package/lib/build/AppHeader/AppHeader.stories.d.ts.map +1 -1
  657. package/lib/build/AppHeader/AppHeader.stories.js +100 -75
  658. package/lib/build/AppHeader/AppHeader.stories.js.map +1 -1
  659. package/lib/build/AppShell/AppShell.mocks.d.ts +19 -0
  660. package/lib/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  661. package/lib/build/AppShell/AppShell.mocks.js +32 -0
  662. package/lib/build/AppShell/AppShell.mocks.js.map +1 -1
  663. package/lib/build/AppShell/AppShell.stories.d.ts +2 -2
  664. package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -1
  665. package/lib/build/AppShell/AppShell.stories.js +22 -45
  666. package/lib/build/AppShell/AppShell.stories.js.map +1 -1
  667. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
  668. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
  669. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js +85 -0
  670. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -0
  671. package/lib/build/DynamicContentEditor/FieldSelector.d.ts +14 -0
  672. package/lib/build/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
  673. package/lib/build/DynamicContentEditor/FieldSelector.js +81 -0
  674. package/lib/build/DynamicContentEditor/FieldSelector.js.map +1 -0
  675. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +11 -0
  676. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +1 -0
  677. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js +136 -0
  678. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +1 -0
  679. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +18 -0
  680. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -0
  681. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js +66 -0
  682. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js.map +1 -0
  683. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts +4 -4
  684. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +1 -1
  685. package/lib/build/FlowModeller/AddNodeUtils.mocks.js.map +1 -1
  686. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +21 -2
  687. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  688. package/lib/build/FlowModeller/FlowModeller.mocks.js +158 -33
  689. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +1 -1
  690. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +9 -10
  691. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  692. package/lib/build/FlowModeller/FlowModeller.stories.js +254 -135
  693. package/lib/build/FlowModeller/FlowModeller.stories.js.map +1 -1
  694. package/lib/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
  695. package/lib/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
  696. package/lib/build/FlowModeller/FlowModeller.styles.js +8 -0
  697. package/lib/build/FlowModeller/FlowModeller.styles.js.map +1 -0
  698. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts +1 -5
  699. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -1
  700. package/lib/build/ItemLibrary/LibraryPicker.mocks.js +5 -10
  701. package/lib/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -1
  702. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -7
  703. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  704. package/lib/build/ItemLibrary/LibraryPicker.stories.js +1 -1
  705. package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +1 -1
  706. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +3 -0
  707. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -1
  708. package/lib/build/LifeCycle/LifeCycle.mocks.js +146 -18
  709. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +1 -1
  710. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +6 -9
  711. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  712. package/lib/build/LifeCycle/LifeCycle.stories.js +115 -31
  713. package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -1
  714. package/lib/build/LifeCycle/utils.d.ts.map +1 -1
  715. package/lib/build/LifeCycle/utils.js +5 -4
  716. package/lib/build/LifeCycle/utils.js.map +1 -1
  717. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +63 -0
  718. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
  719. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +368 -0
  720. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +1 -0
  721. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +8 -0
  722. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
  723. package/lib/build/ObjectSelect/ObjectSelect.stories.js +229 -0
  724. package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +1 -0
  725. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
  726. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
  727. package/lib/build/ObjectSelect/ObjectSelect.styles.js +27 -0
  728. package/lib/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
  729. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +46 -0
  730. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
  731. package/lib/build/PageTemplates/GalleryPage.mocks.js +77 -0
  732. package/lib/build/PageTemplates/GalleryPage.mocks.js.map +1 -0
  733. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  734. package/lib/build/PageTemplates/GalleryPage.stories.js +14 -92
  735. package/lib/build/PageTemplates/GalleryPage.stories.js.map +1 -1
  736. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +18 -0
  737. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  738. package/lib/build/PageTemplates/PageTemplates.mocks.js +248 -0
  739. package/lib/build/PageTemplates/PageTemplates.mocks.js.map +1 -0
  740. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +4 -9
  741. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  742. package/lib/build/PageTemplates/PageTemplates.stories.js +113 -251
  743. package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -1
  744. package/lib/build/Workbench/Workbench.stories.d.ts +1 -0
  745. package/lib/build/Workbench/Workbench.stories.d.ts.map +1 -1
  746. package/lib/build/Workbench/Workbench.stories.js +210 -29
  747. package/lib/build/Workbench/Workbench.stories.js.map +1 -1
  748. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
  749. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
  750. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +15 -0
  751. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
  752. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +17 -8
  753. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  754. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js +78 -62
  755. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +1 -1
  756. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
  757. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
  758. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
  759. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
  760. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  761. package/lib/condition-builder/ConditionBuilder/props.mock.js +132 -31
  762. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  763. package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts +10 -0
  764. package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -0
  765. package/lib/condition-builder/ConditionInput/ConditionInput.stories.js +41 -0
  766. package/lib/condition-builder/ConditionInput/ConditionInput.stories.js.map +1 -0
  767. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +4 -0
  768. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -0
  769. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js +74 -0
  770. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -0
  771. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +8 -0
  772. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -0
  773. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js +24 -0
  774. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js.map +1 -0
  775. package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +9 -0
  776. package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +1 -0
  777. package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.js +35 -0
  778. package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.js.map +1 -0
  779. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts +9 -0
  780. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -0
  781. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js +16 -0
  782. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js.map +1 -0
  783. package/lib/core/AppShell/AppShell.mocks.d.ts +1 -1
  784. package/lib/core/AppShell/AppShell.mocks.js +10 -10
  785. package/lib/core/AppShell/AppShell.mocks.js.map +1 -1
  786. package/lib/core/AppShell/AppShell.stories.d.ts +2 -0
  787. package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -1
  788. package/lib/core/AppShell/AppShell.stories.js +52 -15
  789. package/lib/core/AppShell/AppShell.stories.js.map +1 -1
  790. package/lib/core/Avatar/Avatar.stories.js +6 -6
  791. package/lib/core/Avatar/Avatar.stories.js.map +1 -1
  792. package/lib/core/Backdrop/Backdrop.stories.js +2 -2
  793. package/lib/core/Backdrop/Backdrop.stories.js.map +1 -1
  794. package/lib/core/Badges/Alert.stories.js +1 -1
  795. package/lib/core/Badges/Alert.stories.js.map +1 -1
  796. package/lib/core/Badges/Count.stories.js +1 -1
  797. package/lib/core/Badges/Count.stories.js.map +1 -1
  798. package/lib/core/Badges/Keyboard.stories.d.ts +6 -0
  799. package/lib/core/Badges/Keyboard.stories.d.ts.map +1 -0
  800. package/lib/core/Badges/Keyboard.stories.js +16 -0
  801. package/lib/core/Badges/Keyboard.stories.js.map +1 -0
  802. package/lib/core/Badges/Selection.stories.d.ts +2 -3
  803. package/lib/core/Badges/Selection.stories.d.ts.map +1 -1
  804. package/lib/core/Badges/Selection.stories.js +1 -1
  805. package/lib/core/Badges/Selection.stories.js.map +1 -1
  806. package/lib/core/Badges/Status.stories.js +2 -2
  807. package/lib/core/Badges/Status.stories.js.map +1 -1
  808. package/lib/core/Badges/Tag.stories.d.ts +2 -3
  809. package/lib/core/Badges/Tag.stories.d.ts.map +1 -1
  810. package/lib/core/Badges/Tag.stories.js +1 -1
  811. package/lib/core/Badges/Tag.stories.js.map +1 -1
  812. package/lib/core/Banner/Banner.mocks.js +1 -1
  813. package/lib/core/Banner/Banner.mocks.js.map +1 -1
  814. package/lib/core/Banner/Banner.stories.d.ts +7 -18
  815. package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
  816. package/lib/core/Banner/Banner.stories.js +11 -11
  817. package/lib/core/Banner/Banner.stories.js.map +1 -1
  818. package/lib/core/Boolean/BooleanDisplay.stories.js +1 -1
  819. package/lib/core/Boolean/BooleanDisplay.stories.js.map +1 -1
  820. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -4
  821. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  822. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +2 -2
  823. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
  824. package/lib/core/Button/Button.stories.d.ts +2 -3
  825. package/lib/core/Button/Button.stories.d.ts.map +1 -1
  826. package/lib/core/Button/Button.stories.js +8 -8
  827. package/lib/core/Button/Button.stories.js.map +1 -1
  828. package/lib/core/Card/Card.stories.d.ts +1 -2
  829. package/lib/core/Card/Card.stories.d.ts.map +1 -1
  830. package/lib/core/Card/Card.stories.js +5 -5
  831. package/lib/core/Card/Card.stories.js.map +1 -1
  832. package/lib/core/Checkbox/Checkbox.stories.d.ts +6 -2
  833. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  834. package/lib/core/Checkbox/Checkbox.stories.js +27 -8
  835. package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
  836. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +7 -3
  837. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  838. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +41 -5
  839. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
  840. package/lib/core/ColorPicker/ColorPicker.stories.d.ts +5 -3
  841. package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  842. package/lib/core/ColorPicker/ColorPicker.stories.js +17 -18
  843. package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
  844. package/lib/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
  845. package/lib/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
  846. package/lib/core/ColorPicker/ColorPicker.styles.js +11 -0
  847. package/lib/core/ColorPicker/ColorPicker.styles.js.map +1 -0
  848. package/lib/core/ComboBox/ComboBox.stories.d.ts +1 -0
  849. package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  850. package/lib/core/ComboBox/ComboBox.stories.js +46 -14
  851. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
  852. package/lib/core/CompositeInput/CompositeInput.mocks.d.ts +8 -0
  853. package/lib/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -0
  854. package/lib/core/CompositeInput/CompositeInput.mocks.js +6 -0
  855. package/lib/core/CompositeInput/CompositeInput.mocks.js.map +1 -0
  856. package/lib/core/CompositeInput/CompositeInput.stories.d.ts +9 -0
  857. package/lib/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -0
  858. package/lib/core/CompositeInput/CompositeInput.stories.js +55 -0
  859. package/lib/core/CompositeInput/CompositeInput.stories.js.map +1 -0
  860. package/lib/core/Configuration/Configuration.mocks.d.ts +7 -0
  861. package/lib/core/Configuration/Configuration.mocks.d.ts.map +1 -0
  862. package/lib/core/Configuration/Configuration.mocks.js +6 -0
  863. package/lib/core/Configuration/Configuration.mocks.js.map +1 -0
  864. package/lib/core/Configuration/Configuration.stories.d.ts +2 -3
  865. package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -1
  866. package/lib/core/Configuration/Configuration.stories.js +13 -25
  867. package/lib/core/Configuration/Configuration.stories.js.map +1 -1
  868. package/lib/core/Configuration/Configuration.styles.d.ts +6 -0
  869. package/lib/core/Configuration/Configuration.styles.d.ts.map +1 -0
  870. package/lib/core/Configuration/Configuration.styles.js +12 -0
  871. package/lib/core/Configuration/Configuration.styles.js.map +1 -0
  872. package/lib/core/CreditCard/CreditCard.stories.d.ts +14 -0
  873. package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
  874. package/lib/core/CreditCard/CreditCard.stories.js +53 -0
  875. package/lib/core/CreditCard/CreditCard.stories.js.map +1 -0
  876. package/lib/core/Currency/Currency.stories.d.ts +9 -3
  877. package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
  878. package/lib/core/Currency/Currency.stories.js +59 -20
  879. package/lib/core/Currency/Currency.stories.js.map +1 -1
  880. package/lib/core/DateTime/DateTime.stories.d.ts +39 -9
  881. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
  882. package/lib/core/DateTime/DateTime.stories.js +153 -17
  883. package/lib/core/DateTime/DateTime.stories.js.map +1 -1
  884. package/lib/core/DateTime/DateTimeDisplay.stories.js +2 -2
  885. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
  886. package/lib/core/DateTime/DateTimePicker.stories.js +2 -2
  887. package/lib/core/DateTime/DateTimePicker.stories.js.map +1 -1
  888. package/lib/core/Dialog/Dialog.stories.d.ts +6 -0
  889. package/lib/core/Dialog/Dialog.stories.d.ts.map +1 -0
  890. package/lib/core/Dialog/Dialog.stories.js +47 -0
  891. package/lib/core/Dialog/Dialog.stories.js.map +1 -0
  892. package/lib/core/Drawer/Drawer.stories.js +4 -4
  893. package/lib/core/Drawer/Drawer.stories.js.map +1 -1
  894. package/lib/core/Email/EmailDisplay.stories.js +1 -1
  895. package/lib/core/Email/EmailDisplay.stories.js.map +1 -1
  896. package/lib/core/EmojiPicker/EmojiPicker.stories.js +3 -3
  897. package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +1 -1
  898. package/lib/core/EmptyState/EmptyState.stories.js +1 -1
  899. package/lib/core/EmptyState/EmptyState.stories.js.map +1 -1
  900. package/lib/core/ErrorState/ErrorState.stories.js +1 -1
  901. package/lib/core/ErrorState/ErrorState.stories.js.map +1 -1
  902. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js +2 -2
  903. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +1 -1
  904. package/lib/core/FieldGroup/FieldGroup.stories.d.ts +6 -4
  905. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  906. package/lib/core/FieldGroup/FieldGroup.stories.js +7 -3
  907. package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
  908. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
  909. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  910. package/lib/core/FieldGroup/FieldGroupList.mocks.js +47 -3
  911. package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -1
  912. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
  913. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  914. package/lib/core/FieldGroup/FieldGroupList.stories.js +54 -67
  915. package/lib/core/FieldGroup/FieldGroupList.stories.js.map +1 -1
  916. package/lib/core/FieldValueList/FieldValueList.mocks.d.ts +3 -0
  917. package/lib/core/FieldValueList/FieldValueList.mocks.d.ts.map +1 -0
  918. package/lib/core/FieldValueList/FieldValueList.mocks.js +9 -0
  919. package/lib/core/FieldValueList/FieldValueList.mocks.js.map +1 -0
  920. package/lib/core/FieldValueList/FieldValueList.stories.d.ts +3 -2
  921. package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  922. package/lib/core/FieldValueList/FieldValueList.stories.js +35 -5
  923. package/lib/core/FieldValueList/FieldValueList.stories.js.map +1 -1
  924. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
  925. package/lib/core/File/FileDisplay.stories.js +25 -37
  926. package/lib/core/File/FileDisplay.stories.js.map +1 -1
  927. package/lib/core/File/FileInput.stories.js +2 -2
  928. package/lib/core/File/FileInput.stories.js.map +1 -1
  929. package/lib/core/Flex/FlexContainer.stories.d.ts +1 -2
  930. package/lib/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  931. package/lib/core/Flex/FlexContainer.stories.js +7 -7
  932. package/lib/core/Flex/FlexContainer.stories.js.map +1 -1
  933. package/lib/core/Flex/FlexItem.stories.js +3 -3
  934. package/lib/core/Flex/FlexItem.stories.js.map +1 -1
  935. package/lib/core/Form/Form.mocks.d.ts.map +1 -1
  936. package/lib/core/Form/Form.mocks.js +3 -3
  937. package/lib/core/Form/Form.mocks.js.map +1 -1
  938. package/lib/core/Form/Form.stories.js +10 -10
  939. package/lib/core/Form/Form.stories.js.map +1 -1
  940. package/lib/core/Grid/GridContainer.stories.d.ts +4 -5
  941. package/lib/core/Grid/GridContainer.stories.d.ts.map +1 -1
  942. package/lib/core/Grid/GridContainer.stories.js +9 -9
  943. package/lib/core/Grid/GridContainer.stories.js.map +1 -1
  944. package/lib/core/Grid/GridItem.stories.d.ts +1 -2
  945. package/lib/core/Grid/GridItem.stories.d.ts.map +1 -1
  946. package/lib/core/Grid/GridItem.stories.js +3 -3
  947. package/lib/core/Grid/GridItem.stories.js.map +1 -1
  948. package/lib/core/HTML/HTML.stories.d.ts +6 -0
  949. package/lib/core/HTML/HTML.stories.d.ts.map +1 -0
  950. package/lib/core/HTML/HTML.stories.js +14 -0
  951. package/lib/core/HTML/HTML.stories.js.map +1 -0
  952. package/lib/core/Icon/Icon.mocks.js +1 -1
  953. package/lib/core/Icon/Icon.mocks.js.map +1 -1
  954. package/lib/core/Icon/Icon.stories.d.ts +5 -6
  955. package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
  956. package/lib/core/Icon/Icon.stories.js +12 -35
  957. package/lib/core/Icon/Icon.stories.js.map +1 -1
  958. package/lib/core/Icon/Icon.styles.d.ts +4 -0
  959. package/lib/core/Icon/Icon.styles.d.ts.map +1 -0
  960. package/lib/core/Icon/Icon.styles.js +25 -0
  961. package/lib/core/Icon/Icon.styles.js.map +1 -0
  962. package/lib/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
  963. package/lib/core/IconPicker/IconPicker.stories.js +8 -11
  964. package/lib/core/IconPicker/IconPicker.stories.js.map +1 -1
  965. package/lib/core/Image/Image.stories.d.ts +2 -3
  966. package/lib/core/Image/Image.stories.d.ts.map +1 -1
  967. package/lib/core/Image/Image.stories.js +1 -1
  968. package/lib/core/Image/Image.stories.js.map +1 -1
  969. package/lib/core/Input/Input.stories.d.ts +2 -0
  970. package/lib/core/Input/Input.stories.d.ts.map +1 -1
  971. package/lib/core/Input/Input.stories.js +80 -4
  972. package/lib/core/Input/Input.stories.js.map +1 -1
  973. package/lib/core/Label/Label.stories.js +2 -2
  974. package/lib/core/Label/Label.stories.js.map +1 -1
  975. package/lib/core/Lightbox/Lightbox.stories.js +3 -3
  976. package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
  977. package/lib/core/Link/Link.stories.d.ts +1 -11
  978. package/lib/core/Link/Link.stories.d.ts.map +1 -1
  979. package/lib/core/Link/Link.stories.js +3 -3
  980. package/lib/core/Link/Link.stories.js.map +1 -1
  981. package/lib/core/List/CommaSeparatedList.stories.d.ts +2 -2
  982. package/lib/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  983. package/lib/core/List/CommaSeparatedList.stories.js +1 -1
  984. package/lib/core/List/CommaSeparatedList.stories.js.map +1 -1
  985. package/lib/core/List/OrderedList.stories.js +1 -1
  986. package/lib/core/List/OrderedList.stories.js.map +1 -1
  987. package/lib/core/List/UnorderedList.stories.js +1 -1
  988. package/lib/core/List/UnorderedList.stories.js.map +1 -1
  989. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
  990. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
  991. package/lib/core/ListToolbar/ListToolbar.mocks.js +50 -0
  992. package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -0
  993. package/lib/core/ListToolbar/ListToolbar.stories.d.ts +10 -0
  994. package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
  995. package/lib/core/ListToolbar/ListToolbar.stories.js +85 -0
  996. package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -0
  997. package/lib/core/Location/Location.stories.d.ts +4 -1
  998. package/lib/core/Location/Location.stories.d.ts.map +1 -1
  999. package/lib/core/Location/Location.stories.js +13 -6
  1000. package/lib/core/Location/Location.stories.js.map +1 -1
  1001. package/lib/core/Menu/Menu.stories.d.ts.map +1 -1
  1002. package/lib/core/Menu/Menu.stories.js +7 -6
  1003. package/lib/core/Menu/Menu.stories.js.map +1 -1
  1004. package/lib/core/MenuButton/MenuButton.stories.d.ts +6 -6
  1005. package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  1006. package/lib/core/MenuButton/MenuButton.stories.js +9 -9
  1007. package/lib/core/MenuButton/MenuButton.stories.js.map +1 -1
  1008. package/lib/core/MetaList/MetaList.stories.js +3 -3
  1009. package/lib/core/MetaList/MetaList.stories.js.map +1 -1
  1010. package/lib/core/Modal/Modal.mocks.js +8 -8
  1011. package/lib/core/Modal/Modal.mocks.js.map +1 -1
  1012. package/lib/core/Modal/Modal.stories.d.ts +10 -5
  1013. package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
  1014. package/lib/core/Modal/Modal.stories.js +40 -35
  1015. package/lib/core/Modal/Modal.stories.js.map +1 -1
  1016. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts +34 -0
  1017. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -0
  1018. package/lib/core/MultiStepForm/MultiStepForm.mocks.js +75 -0
  1019. package/lib/core/MultiStepForm/MultiStepForm.mocks.js.map +1 -0
  1020. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts +5 -0
  1021. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -0
  1022. package/lib/core/MultiStepForm/MultiStepForm.stories.js +187 -0
  1023. package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +1 -0
  1024. package/lib/core/Number/Number.stories.d.ts +11 -6
  1025. package/lib/core/Number/Number.stories.d.ts.map +1 -1
  1026. package/lib/core/Number/Number.stories.js +137 -35
  1027. package/lib/core/Number/Number.stories.js.map +1 -1
  1028. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
  1029. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  1030. package/lib/core/PageTemplates/PageTemplates.stories.d.ts +5 -3
  1031. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  1032. package/lib/core/PageTemplates/PageTemplates.stories.js +84 -38
  1033. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  1034. package/lib/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
  1035. package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
  1036. package/lib/core/PageTemplates/PageTemplates.styles.js +9 -0
  1037. package/lib/core/PageTemplates/PageTemplates.styles.js.map +1 -1
  1038. package/lib/core/Pagination/Pagination.stories.js +1 -1
  1039. package/lib/core/Pagination/Pagination.stories.js.map +1 -1
  1040. package/lib/core/Paragraph/ParagraphDisplay.stories.js +1 -1
  1041. package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +1 -1
  1042. package/lib/core/Phone/Phone.stories.d.ts +4 -1
  1043. package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
  1044. package/lib/core/Phone/Phone.stories.js +13 -4
  1045. package/lib/core/Phone/Phone.stories.js.map +1 -1
  1046. package/lib/core/Popover/Popover.stories.d.ts +1 -1
  1047. package/lib/core/Popover/Popover.stories.d.ts.map +1 -1
  1048. package/lib/core/Popover/Popover.stories.js +2 -2
  1049. package/lib/core/Popover/Popover.stories.js.map +1 -1
  1050. package/lib/core/Progress/Progress.stories.js +3 -3
  1051. package/lib/core/Progress/Progress.stories.js.map +1 -1
  1052. package/lib/core/RadioButton/RadioButton.stories.d.ts +6 -2
  1053. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  1054. package/lib/core/RadioButton/RadioButton.stories.js +23 -6
  1055. package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
  1056. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +7 -3
  1057. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  1058. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +41 -5
  1059. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
  1060. package/lib/core/Rating/Rating.stories.js +3 -3
  1061. package/lib/core/Rating/Rating.stories.js.map +1 -1
  1062. package/lib/core/SearchInput/SearchInput.mocks.d.ts +12 -0
  1063. package/lib/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
  1064. package/lib/core/SearchInput/SearchInput.mocks.js +25 -0
  1065. package/lib/core/SearchInput/SearchInput.mocks.js.map +1 -0
  1066. package/lib/core/SearchInput/SearchInput.stories.d.ts +1 -4
  1067. package/lib/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  1068. package/lib/core/SearchInput/SearchInput.stories.js +29 -15
  1069. package/lib/core/SearchInput/SearchInput.stories.js.map +1 -1
  1070. package/lib/core/Select/Select.stories.d.ts +1 -0
  1071. package/lib/core/Select/Select.stories.d.ts.map +1 -1
  1072. package/lib/core/Select/Select.stories.js +12 -5
  1073. package/lib/core/Select/Select.stories.js.map +1 -1
  1074. package/lib/core/Sentiment/Sentiment.stories.js +3 -3
  1075. package/lib/core/Sentiment/Sentiment.stories.js.map +1 -1
  1076. package/lib/core/Slider/Slider.stories.d.ts +4 -3
  1077. package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
  1078. package/lib/core/Slider/Slider.stories.js +2 -2
  1079. package/lib/core/Slider/Slider.stories.js.map +1 -1
  1080. package/lib/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  1081. package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  1082. package/lib/core/SummaryItem/SummaryItem.stories.js +4 -4
  1083. package/lib/core/SummaryItem/SummaryItem.stories.js.map +1 -1
  1084. package/lib/core/SummaryList/SummaryList.mocks.js +2 -2
  1085. package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -1
  1086. package/lib/core/SummaryList/SummaryList.stories.d.ts +2 -2
  1087. package/lib/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  1088. package/lib/core/SummaryList/SummaryList.stories.js +5 -5
  1089. package/lib/core/SummaryList/SummaryList.stories.js.map +1 -1
  1090. package/lib/core/Switch/Switch.stories.js +3 -3
  1091. package/lib/core/Switch/Switch.stories.js.map +1 -1
  1092. package/lib/core/Table/Table.mocks.d.ts +6 -0
  1093. package/lib/core/Table/Table.mocks.d.ts.map +1 -1
  1094. package/lib/core/Table/Table.mocks.js +135 -1
  1095. package/lib/core/Table/Table.mocks.js.map +1 -1
  1096. package/lib/core/Table/Table.stories.js +11 -11
  1097. package/lib/core/Table/Table.stories.js.map +1 -1
  1098. package/lib/core/Tabs/Tabs.stories.d.ts +5 -2
  1099. package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -1
  1100. package/lib/core/Tabs/Tabs.stories.js +3 -3
  1101. package/lib/core/Tabs/Tabs.stories.js.map +1 -1
  1102. package/lib/core/Text/Text.stories.js +2 -2
  1103. package/lib/core/Text/Text.stories.js.map +1 -1
  1104. package/lib/core/TextArea/TextArea.stories.d.ts +4 -1
  1105. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
  1106. package/lib/core/TextArea/TextArea.stories.js +11 -4
  1107. package/lib/core/TextArea/TextArea.stories.js.map +1 -1
  1108. package/lib/core/Toaster/Toaster.stories.d.ts +2 -3
  1109. package/lib/core/Toaster/Toaster.stories.d.ts.map +1 -1
  1110. package/lib/core/Toaster/Toaster.stories.js +2 -2
  1111. package/lib/core/Toaster/Toaster.stories.js.map +1 -1
  1112. package/lib/core/Tooltip/Tooltip.stories.d.ts +3 -7
  1113. package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  1114. package/lib/core/Tooltip/Tooltip.stories.js +2 -2
  1115. package/lib/core/Tooltip/Tooltip.stories.js.map +1 -1
  1116. package/lib/core/Tree/Tree.mocks.d.ts +1 -1
  1117. package/lib/core/Tree/Tree.mocks.d.ts.map +1 -1
  1118. package/lib/core/Tree/Tree.stories.d.ts +1 -2
  1119. package/lib/core/Tree/Tree.stories.d.ts.map +1 -1
  1120. package/lib/core/Tree/Tree.stories.js +5 -5
  1121. package/lib/core/Tree/Tree.stories.js.map +1 -1
  1122. package/lib/core/URL/URL.stories.js +1 -1
  1123. package/lib/core/URL/URL.stories.js.map +1 -1
  1124. package/lib/cs/Article/Article.stories.d.ts +4 -13
  1125. package/lib/cs/Article/Article.stories.d.ts.map +1 -1
  1126. package/lib/cs/Article/Article.stories.js +9 -9
  1127. package/lib/cs/Article/Article.stories.js.map +1 -1
  1128. package/lib/cs/ArticleList/ArticleList.stories.d.ts +4 -14
  1129. package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  1130. package/lib/cs/ArticleList/ArticleList.stories.js +12 -11
  1131. package/lib/cs/ArticleList/ArticleList.stories.js.map +1 -1
  1132. package/lib/cs/CSCaseView/{CSCaseView.mocks.d.ts → CSAppShell.mocks.d.ts} +17 -1
  1133. package/lib/cs/CSCaseView/CSAppShell.mocks.d.ts.map +1 -0
  1134. package/lib/cs/CSCaseView/{CSCaseView.mocks.js → CSAppShell.mocks.js} +57 -1
  1135. package/lib/cs/CSCaseView/CSAppShell.mocks.js.map +1 -0
  1136. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts +4 -36
  1137. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -1
  1138. package/lib/cs/CSCaseView/CSAppShell.stories.js +31 -61
  1139. package/lib/cs/CSCaseView/CSAppShell.stories.js.map +1 -1
  1140. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +6 -5
  1141. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +1 -1
  1142. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js +138 -10
  1143. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js.map +1 -1
  1144. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +6 -3
  1145. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  1146. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +143 -98
  1147. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +1 -1
  1148. package/lib/cs/DialPad/DialPad.stories.js +1 -1
  1149. package/lib/cs/DialPad/DialPad.stories.js.map +1 -1
  1150. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -11
  1151. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  1152. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js +18 -18
  1153. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  1154. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +7 -6
  1155. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  1156. package/lib/cs/InteractionNotification/InteractionNotification.stories.js +13 -5
  1157. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +1 -1
  1158. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
  1159. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
  1160. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
  1161. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
  1162. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +3 -7
  1163. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  1164. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +38 -43
  1165. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +1 -1
  1166. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +18 -0
  1167. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
  1168. package/lib/cs/TaskManager/TaskManager.mocks.js +93 -0
  1169. package/lib/cs/TaskManager/TaskManager.mocks.js.map +1 -1
  1170. package/lib/cs/TaskManager/TaskManager.stories.d.ts +8 -6
  1171. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  1172. package/lib/cs/TaskManager/TaskManager.stories.js +123 -56
  1173. package/lib/cs/TaskManager/TaskManager.stories.js.map +1 -1
  1174. package/lib/cs/TaskManager/TaskManager.styles.d.ts +3 -0
  1175. package/lib/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
  1176. package/lib/cs/TaskManager/TaskManager.styles.js +9 -0
  1177. package/lib/cs/TaskManager/TaskManager.styles.js.map +1 -0
  1178. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
  1179. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
  1180. package/lib/dnd/DragDropList/DragDropList.mocks.js +32 -0
  1181. package/lib/dnd/DragDropList/DragDropList.mocks.js.map +1 -0
  1182. package/lib/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
  1183. package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  1184. package/lib/dnd/DragDropList/DragDropList.stories.js +16 -87
  1185. package/lib/dnd/DragDropList/DragDropList.stories.js.map +1 -1
  1186. package/lib/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
  1187. package/lib/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
  1188. package/lib/dnd/DragDropList/DragDropList.styles.js +32 -0
  1189. package/lib/dnd/DragDropList/DragDropList.styles.js.map +1 -0
  1190. package/lib/dnd/StandardDragDropList/Demo.d.ts +7 -0
  1191. package/lib/dnd/StandardDragDropList/Demo.d.ts.map +1 -0
  1192. package/lib/dnd/StandardDragDropList/Demo.js +151 -0
  1193. package/lib/dnd/StandardDragDropList/Demo.js.map +1 -0
  1194. package/lib/dnd/StandardDragDropList/GroupConfig.d.ts +10 -0
  1195. package/lib/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -0
  1196. package/lib/dnd/StandardDragDropList/GroupConfig.js +18 -0
  1197. package/lib/dnd/StandardDragDropList/GroupConfig.js.map +1 -0
  1198. package/lib/dnd/StandardDragDropList/ItemConfig.d.ts +12 -0
  1199. package/lib/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -0
  1200. package/lib/dnd/StandardDragDropList/ItemConfig.js +20 -0
  1201. package/lib/dnd/StandardDragDropList/ItemConfig.js.map +1 -0
  1202. package/lib/dnd/StandardDragDropList/Popover.d.ts +14 -0
  1203. package/lib/dnd/StandardDragDropList/Popover.d.ts.map +1 -0
  1204. package/lib/dnd/StandardDragDropList/Popover.js +33 -0
  1205. package/lib/dnd/StandardDragDropList/Popover.js.map +1 -0
  1206. package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts +16 -0
  1207. package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -0
  1208. package/lib/dnd/StandardDragDropList/SelectionMenu.js +100 -0
  1209. package/lib/dnd/StandardDragDropList/SelectionMenu.js.map +1 -0
  1210. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +5 -0
  1211. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -0
  1212. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js +13 -0
  1213. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js.map +1 -0
  1214. package/lib/dnd/StandardDragDropList/mockData.d.ts +26 -0
  1215. package/lib/dnd/StandardDragDropList/mockData.d.ts.map +1 -0
  1216. package/lib/dnd/StandardDragDropList/mockData.js +78 -0
  1217. package/lib/dnd/StandardDragDropList/mockData.js.map +1 -0
  1218. package/lib/rte/Editor/Editor.mocks.d.ts +309 -0
  1219. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -0
  1220. package/lib/rte/Editor/Editor.mocks.js +26 -0
  1221. package/lib/rte/Editor/Editor.mocks.js.map +1 -0
  1222. package/lib/rte/Editor/Editor.stories.d.ts +7 -8
  1223. package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
  1224. package/lib/rte/Editor/Editor.stories.js +8 -28
  1225. package/lib/rte/Editor/Editor.stories.js.map +1 -1
  1226. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js +5 -5
  1227. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +1 -1
  1228. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +6 -4
  1229. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  1230. package/lib/rte/RichTextEditor/RichTextEditor.stories.js +14 -7
  1231. package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +1 -1
  1232. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +5 -5
  1233. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  1234. package/lib/rte/RichTextEditor/RichTextViewer.stories.js +19 -6
  1235. package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +1 -1
  1236. package/lib/social/Chat/Chat.mocks.d.ts +1 -1
  1237. package/lib/social/Chat/Chat.mocks.js +0 -1
  1238. package/lib/social/Chat/Chat.mocks.js.map +1 -1
  1239. package/lib/social/Chat/Chat.stories.d.ts +6 -7
  1240. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  1241. package/lib/social/Chat/Chat.stories.js +31 -31
  1242. package/lib/social/Chat/Chat.stories.js.map +1 -1
  1243. package/lib/social/Chat/RepeatingView.mocks.d.ts +14 -0
  1244. package/lib/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
  1245. package/lib/social/Chat/RepeatingView.mocks.js +11 -0
  1246. package/lib/social/Chat/RepeatingView.mocks.js.map +1 -0
  1247. package/lib/social/Chat/RepeatingView.stories.d.ts +6 -17
  1248. package/lib/social/Chat/RepeatingView.stories.d.ts.map +1 -1
  1249. package/lib/social/Chat/RepeatingView.stories.js +18 -48
  1250. package/lib/social/Chat/RepeatingView.stories.js.map +1 -1
  1251. package/lib/social/Chat/RepeatingView.styles.d.ts +2 -0
  1252. package/lib/social/Chat/RepeatingView.styles.d.ts.map +1 -0
  1253. package/lib/social/Chat/RepeatingView.styles.js +22 -0
  1254. package/lib/social/Chat/RepeatingView.styles.js.map +1 -0
  1255. package/lib/social/Email/Email.mocks.d.ts +224 -3
  1256. package/lib/social/Email/Email.mocks.d.ts.map +1 -1
  1257. package/lib/social/Email/Email.mocks.js +602 -1
  1258. package/lib/social/Email/Email.mocks.js.map +1 -1
  1259. package/lib/social/Email/Email.stories.d.ts +40 -26
  1260. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  1261. package/lib/social/Email/Email.stories.js +666 -683
  1262. package/lib/social/Email/Email.stories.js.map +1 -1
  1263. package/lib/social/Email/Email.styles.d.ts +3 -0
  1264. package/lib/social/Email/Email.styles.d.ts.map +1 -0
  1265. package/lib/social/Email/Email.styles.js +11 -0
  1266. package/lib/social/Email/Email.styles.js.map +1 -0
  1267. package/lib/social/Feed/Feed.mocks.d.ts +13 -18
  1268. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
  1269. package/lib/social/Feed/Feed.mocks.js +45 -40
  1270. package/lib/social/Feed/Feed.mocks.js.map +1 -1
  1271. package/lib/social/Feed/Feed.stories.d.ts +8 -12
  1272. package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
  1273. package/lib/social/Feed/Feed.stories.js +34 -28
  1274. package/lib/social/Feed/Feed.stories.js.map +1 -1
  1275. package/lib/social/Feed/FeedNewPost.stories.d.ts +7 -14
  1276. package/lib/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
  1277. package/lib/social/Feed/FeedNewPost.stories.js +5 -4
  1278. package/lib/social/Feed/FeedNewPost.stories.js.map +1 -1
  1279. package/lib/social/Feed/FeedPost.stories.d.ts +4 -5
  1280. package/lib/social/Feed/FeedPost.stories.d.ts.map +1 -1
  1281. package/lib/social/Feed/FeedPost.stories.js +47 -36
  1282. package/lib/social/Feed/FeedPost.stories.js.map +1 -1
  1283. package/lib/social/Feed/FeedReply.stories.d.ts +10 -10
  1284. package/lib/social/Feed/FeedReply.stories.d.ts.map +1 -1
  1285. package/lib/social/Feed/FeedReply.stories.js +31 -26
  1286. package/lib/social/Feed/FeedReply.stories.js.map +1 -1
  1287. package/lib/social/Feed/FeedReplyInput.stories.d.ts +7 -12
  1288. package/lib/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
  1289. package/lib/social/Feed/FeedReplyInput.stories.js +5 -4
  1290. package/lib/social/Feed/FeedReplyInput.stories.js.map +1 -1
  1291. package/lib/tools/Clipboard/Clipboard.mocks.d.ts +6 -0
  1292. package/lib/tools/Clipboard/Clipboard.mocks.d.ts.map +1 -0
  1293. package/lib/tools/Clipboard/Clipboard.mocks.js +80 -0
  1294. package/lib/tools/Clipboard/Clipboard.mocks.js.map +1 -0
  1295. package/lib/tools/Clipboard/Clipboard.stories.d.ts +6 -0
  1296. package/lib/tools/Clipboard/Clipboard.stories.d.ts.map +1 -0
  1297. package/lib/tools/Clipboard/Clipboard.stories.js +69 -0
  1298. package/lib/tools/Clipboard/Clipboard.stories.js.map +1 -0
  1299. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts +9 -0
  1300. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts.map +1 -0
  1301. package/lib/tools/PreviewShell/PreviewShell.mocks.js +57 -0
  1302. package/lib/tools/PreviewShell/PreviewShell.mocks.js.map +1 -0
  1303. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts +15 -0
  1304. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -0
  1305. package/lib/tools/PreviewShell/PreviewShell.stories.js +108 -0
  1306. package/lib/tools/PreviewShell/PreviewShell.stories.js.map +1 -0
  1307. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts +3 -0
  1308. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts.map +1 -0
  1309. package/lib/tools/PreviewShell/PreviewShell.styles.js +7 -0
  1310. package/lib/tools/PreviewShell/PreviewShell.styles.js.map +1 -0
  1311. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -1
  1312. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js +3 -1
  1313. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +1 -1
  1314. package/lib/work/CaseView/Attachments.mocks.js +15 -15
  1315. package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
  1316. package/lib/work/CaseView/CaseView.mocks.js +7 -7
  1317. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  1318. package/lib/work/CaseView/CaseView.stories.d.ts +4 -11
  1319. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
  1320. package/lib/work/CaseView/CaseView.stories.js +29 -21
  1321. package/lib/work/CaseView/CaseView.stories.js.map +1 -1
  1322. package/lib/work/CaseView/Details.mocks.js +1 -1
  1323. package/lib/work/CaseView/Details.mocks.js.map +1 -1
  1324. package/lib/work/CaseView/FileService.mock.js +1 -1
  1325. package/lib/work/CaseView/FileService.mock.js.map +1 -1
  1326. package/lib/work/CaseView/MobileCaseView.stories.d.ts +3 -9
  1327. package/lib/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
  1328. package/lib/work/CaseView/MobileCaseView.stories.js +1 -1
  1329. package/lib/work/CaseView/MobileCaseView.stories.js.map +1 -1
  1330. package/lib/work/CaseView/Pulse.mocks.d.ts +4 -3
  1331. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  1332. package/lib/work/CaseView/Pulse.mocks.js +3 -3
  1333. package/lib/work/CaseView/Pulse.mocks.js.map +1 -1
  1334. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
  1335. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
  1336. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js +165 -0
  1337. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js.map +1 -0
  1338. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -8
  1339. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  1340. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js +5 -174
  1341. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +1 -1
  1342. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
  1343. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
  1344. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
  1345. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
  1346. package/lib/work/Confirmation/Confirmation.stories.d.ts +3 -0
  1347. package/lib/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  1348. package/lib/work/Confirmation/Confirmation.stories.js +12 -8
  1349. package/lib/work/Confirmation/Confirmation.stories.js.map +1 -1
  1350. package/lib/work/Details/Details.stories.d.ts.map +1 -1
  1351. package/lib/work/Details/Details.stories.js +14 -59
  1352. package/lib/work/Details/Details.stories.js.map +1 -1
  1353. package/lib/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  1354. package/lib/work/Glimpse/Glimpse.stories.js +3 -3
  1355. package/lib/work/Glimpse/Glimpse.stories.js.map +1 -1
  1356. package/lib/work/SearchResults/SearchResults.mocks.js +4 -4
  1357. package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -1
  1358. package/lib/work/SearchResults/SearchResults.stories.d.ts +1 -0
  1359. package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  1360. package/lib/work/SearchResults/SearchResults.stories.js +19 -17
  1361. package/lib/work/SearchResults/SearchResults.stories.js.map +1 -1
  1362. package/lib/work/Stages/Stages.mocks.d.ts +14 -0
  1363. package/lib/work/Stages/Stages.mocks.d.ts.map +1 -0
  1364. package/lib/work/Stages/Stages.mocks.js +39 -0
  1365. package/lib/work/Stages/Stages.mocks.js.map +1 -0
  1366. package/lib/work/Stages/Stages.stories.d.ts +1 -1
  1367. package/lib/work/Stages/Stages.stories.d.ts.map +1 -1
  1368. package/lib/work/Stages/Stages.stories.js +12 -44
  1369. package/lib/work/Stages/Stages.stories.js.map +1 -1
  1370. package/lib/work/Stakeholders/Stakeholders.mocks.js +3 -3
  1371. package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -1
  1372. package/lib/work/Stakeholders/Stakeholders.stories.d.ts +2 -3
  1373. package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  1374. package/lib/work/Stakeholders/Stakeholders.stories.js +2 -1
  1375. package/lib/work/Stakeholders/Stakeholders.stories.js.map +1 -1
  1376. package/lib/work/Tags/Tags.stories.js +1 -1
  1377. package/lib/work/Tags/Tags.stories.js.map +1 -1
  1378. package/lib/work/Tasks/TaskList.stories.d.ts.map +1 -1
  1379. package/lib/work/Tasks/TaskList.stories.js +6 -4
  1380. package/lib/work/Tasks/TaskList.stories.js.map +1 -1
  1381. package/lib/work/Tasks/Tasks.stories.d.ts +4 -0
  1382. package/lib/work/Tasks/Tasks.stories.d.ts.map +1 -1
  1383. package/lib/work/Tasks/Tasks.stories.js +29 -17
  1384. package/lib/work/Tasks/Tasks.stories.js.map +1 -1
  1385. package/lib/work/Timeline/Timeline.mocks.js +8 -8
  1386. package/lib/work/Timeline/Timeline.mocks.js.map +1 -1
  1387. package/lib/work/Timeline/Timeline.stories.d.ts +1 -0
  1388. package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -1
  1389. package/lib/work/Timeline/Timeline.stories.js +24 -3
  1390. package/lib/work/Timeline/Timeline.stories.js.map +1 -1
  1391. package/lib/wss/AppShell/AppShell.mocks.d.ts +24 -0
  1392. package/lib/wss/AppShell/AppShell.mocks.d.ts.map +1 -0
  1393. package/lib/wss/AppShell/AppShell.mocks.js +59 -0
  1394. package/lib/wss/AppShell/AppShell.mocks.js.map +1 -0
  1395. package/lib/wss/AppShell/AppShell.stories.d.ts +17 -0
  1396. package/lib/wss/AppShell/AppShell.stories.d.ts.map +1 -0
  1397. package/lib/wss/AppShell/AppShell.stories.js +77 -0
  1398. package/lib/wss/AppShell/AppShell.stories.js.map +1 -0
  1399. package/lib/wss/AppShell/AppShell.styles.d.ts +2 -0
  1400. package/lib/wss/AppShell/AppShell.styles.d.ts.map +1 -0
  1401. package/lib/wss/AppShell/AppShell.styles.js +5 -0
  1402. package/lib/wss/AppShell/AppShell.styles.js.map +1 -0
  1403. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts +10 -0
  1404. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -0
  1405. package/lib/wss/QuickCreate/QuickCreate.stories.js +36 -0
  1406. package/lib/wss/QuickCreate/QuickCreate.stories.js.map +1 -0
  1407. package/package.json +22 -18
  1408. package/jsx/build/AppShell/AppShell.mocks.js.map +0 -1
  1409. package/jsx/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
  1410. package/jsx/core/MultiStep/MultiStep.stories.d.ts +0 -6
  1411. package/jsx/core/MultiStep/MultiStep.stories.d.ts.map +0 -1
  1412. package/jsx/core/MultiStep/MultiStep.stories.jsx +0 -56
  1413. package/jsx/core/MultiStep/MultiStep.stories.jsx.map +0 -1
  1414. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts.map +0 -1
  1415. package/jsx/cs/CSCaseView/CSCaseView.mocks.js.map +0 -1
  1416. package/jsx/social/Email/Email.mocks.js +0 -348
  1417. package/jsx/social/Email/Email.mocks.js.map +0 -1
  1418. package/lib/core/MultiStep/MultiStep.stories.d.ts +0 -6
  1419. package/lib/core/MultiStep/MultiStep.stories.d.ts.map +0 -1
  1420. package/lib/core/MultiStep/MultiStep.stories.js +0 -36
  1421. package/lib/core/MultiStep/MultiStep.stories.js.map +0 -1
  1422. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts.map +0 -1
  1423. package/lib/cs/CSCaseView/CSCaseView.mocks.js.map +0 -1
@@ -1,168 +1,46 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useState, useRef, useContext, createRef } from 'react';
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ // cSpell:words calibri Trichy Nagercoil
3
+ import { useState, useRef, useCallback, useEffect, createRef, useContext } from 'react';
3
4
  import { action } from '@storybook/addon-actions';
4
- import { array, boolean } from '@storybook/addon-knobs';
5
- import styled, { css } from 'styled-components';
6
- import { Card, CardContent, createUID, MenuButton, Icon, registerIcon, hasProp, Flex, Button, ModalManagerContext, Modal, menuHelpers, defaultThemeProp } from '@pega/cosmos-react-core';
5
+ import { useMemo } from '@storybook/addons';
6
+ import { Card, CardContent, createUID, MenuButton, Icon, registerIcon, Flex, Button, menuHelpers, CardHeader, Text, SummaryList, Grid, FieldValueList, StyledLabel, EmptyState, Modal, ModalManagerContext, ToasterContext } from '@pega/cosmos-react-core';
7
7
  import * as filterIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/filter.icon';
8
- import { Email, EmailConversation, EmailComposer, EmailShell, EmailSummaryItem, EmailSummaryList, ViewAnalysis } from '@pega/cosmos-react-social';
9
- import { bccParticipants, ccParticipants, emailBodyContent, participants, toParticipants, emailAttachments, ViewAnalysisMockData, EmailMockData } from './Email.mocks';
8
+ import { Email as EmailComponent, EmailConversation, EmailComposer, EmailShell, EmailSummaryItem, EmailSummaryList, EntityList, EmailManager } from '@pega/cosmos-react-social';
9
+ import { AppShellDemo } from '../../core/AppShell/AppShell.stories';
10
+ import { bccParticipants, ccParticipants, emailBodyContent, participants, toParticipants, emailAttachments, EntityListMockData, viewAnalysisEmailHeaderMock, topicListMock, emailActions, generateEmailConversationParticipants, templates, handleExternalEntry, emailDemoActions, LaunchAction, baseComposerProps, sentiment, emailSummaryItems, mockEmails, mockSuggestedReplies, mockEmailBodyTemplates, forwardedContent, getCompositeId, emptyFieldErrorMessage, fieldValidation, emailWorklistItemsMock, contextMenuItemsMock, highlightedEntitiesMock, mockUploadImage } from './Email.mocks';
11
+ import { StyledEmailCardContent } from './Email.styles';
10
12
  registerIcon(filterIcon);
11
13
  export default {
12
14
  title: 'Social/Email',
13
- component: Email
15
+ component: EmailComponent
14
16
  };
15
- const { emails: mockEmails, suggestedReplies: mockSuggestedReplies, emailBodyTemplates: mockEmailBodyTemplates } = EmailMockData;
16
- const handleExternalEntry = (filterValue) => {
17
- const pattern = /^[\w.\-_]+@[a-zA-Z]+(\.[a-zA-Z]{2,3}){1,2}$/;
18
- const matched = filterValue.match(pattern);
19
- return !!matched?.input;
20
- };
21
- const baseComposerProps = {
22
- participants,
23
- externalValidator: handleExternalEntry,
24
- to: {
25
- reply: toParticipants.slice(0, 1),
26
- replyAll: toParticipants
27
- },
28
- cc: ccParticipants,
29
- subject: '',
30
- bodyContent: '',
31
- onSend: action('On Send'),
32
- onCancel: () => {
33
- action('cancelled email composing');
34
- },
35
- templates: mockEmailBodyTemplates
36
- };
37
- var LaunchAction;
38
- (function (LaunchAction) {
39
- LaunchAction[LaunchAction["REPLY"] = 0] = "REPLY";
40
- LaunchAction[LaunchAction["REPLYALL"] = 1] = "REPLYALL";
41
- LaunchAction[LaunchAction["SUGGESTION"] = 2] = "SUGGESTION";
42
- LaunchAction[LaunchAction["FORWARD"] = 3] = "FORWARD";
43
- })(LaunchAction || (LaunchAction = {}));
44
- const composerModals = {};
45
- const getCompositeId = (id, launchAction) => {
46
- return `${id}-${launchAction}`;
47
- };
48
- const handleComposerCancel = (compositeID) => {
49
- composerModals[compositeID]?.dismissModal();
50
- composerModals[compositeID]?.unMountModal();
51
- delete composerModals[compositeID];
52
- };
53
- const launchEmailComposer = (id, launchAction, composerProps, create) => {
54
- const compositeId = getCompositeId(id, launchAction);
55
- const composerRef = createRef();
56
- const modalControls = create(() => {
57
- return (_jsx(Modal, { heading: composerProps.subject, options: { id: { compositeId } }, children: _jsx(EmailComposer, { ...composerProps, ref: composerRef, onCancel: () => handleComposerCancel(compositeId) }, void 0) }, void 0));
58
- }, { center: true }, { minimizable: true, maximizable: true, dockable: true });
59
- composerModals[compositeId] = {
60
- dismissModal: modalControls.dismiss,
61
- unMountModal: modalControls.unmount,
62
- composerRef
17
+ export const Email = (args) => {
18
+ const emailImperativeHandle = useRef(null);
19
+ const timeout = useRef(null);
20
+ const handleRightClick = () => {
21
+ if (timeout.current) {
22
+ clearTimeout(timeout.current);
23
+ }
24
+ timeout.current = window.setTimeout(() => {
25
+ emailImperativeHandle.current?.setContextMenuItems(contextMenuItemsMock);
26
+ }, 1000);
63
27
  };
64
- };
65
- const emailActions = (_jsx(MenuButton, { text: 'Email actions', variant: 'simple', icon: 'more', iconOnly: true, menu: {
66
- items: [
67
- {
68
- id: createUID(),
69
- primary: 'Reply',
70
- onClick: action('On reply')
71
- },
72
- {
73
- id: createUID(),
74
- primary: 'Reply all',
75
- onClick: action('On reply all')
76
- },
77
- {
78
- id: createUID(),
79
- primary: 'Forward',
80
- onClick: action('Forward')
81
- }
82
- ]
83
- } }, void 0));
84
- const emailDemoActions = (create, subject) => {
85
- const id = createUID();
86
- return (_jsx(MenuButton, { text: 'Email actions', variant: 'simple', icon: 'more', iconOnly: true, menu: {
87
- items: [
88
- {
89
- id,
90
- primary: 'Reply',
91
- onClick: () => launchEmailComposer(id, LaunchAction.REPLY, {
92
- ...baseComposerProps,
93
- responseType: 'reply',
94
- subject: `Re-${subject}` || ''
95
- }, create)
96
- },
97
- {
98
- id,
99
- primary: 'Reply all',
100
- onClick: () => launchEmailComposer(id, LaunchAction.REPLYALL, {
101
- ...baseComposerProps,
102
- responseType: 'replyAll',
103
- cc: [],
104
- subject: `Re-${subject}` || ''
105
- }, create)
106
- },
107
- {
108
- id,
109
- primary: 'Forward',
110
- onClick: () => launchEmailComposer(id, LaunchAction.FORWARD, {
111
- ...baseComposerProps,
112
- responseType: 'forward',
113
- subject: `Fw-${subject}` || ''
114
- }, create)
115
- }
116
- ]
117
- } }, void 0));
118
- };
119
- const generateEmailConversationParticipants = (emails, fields) => {
120
- let l;
121
- if (fields) {
122
- l = [...fields];
123
- }
124
- else {
125
- l = ['from', 'to', 'cc', 'bcc'];
126
- }
127
- const emailUsers = emails.map(emailItem => {
128
- return l.map(n => {
129
- if (hasProp(emailItem, n)) {
130
- return emailItem[n];
131
- }
132
- return [];
133
- });
134
- });
135
- return [...new Set(Array.from(emailUsers).flat(2))];
136
- };
137
- const StyledEmailCardContent = styled(CardContent)(({ theme }) => {
138
- return css `
139
- &&&& {
140
- padding: calc(2 * ${theme.base.spacing}) 0;
141
- }
142
- `;
143
- });
144
- StyledEmailCardContent.defaultProps = defaultThemeProp;
145
- /*
146
-
147
- _____ _ _
148
- | ____|_ __ ___ __ _(_) |
149
- | _| | '_ ` _ \ / _` | | |
150
- | |___| | | | | | (_| | | |
151
- |_____|_| |_| |_|\__,_|_|_|
152
-
153
-
154
- */
155
- export const email = () => {
156
- return (_jsx(Card, { children: _jsx(StyledEmailCardContent, { children: _jsx(Email, { id: createUID(), timeStamp: '2021-01-05T09:12', from: mockEmails['Laura Stevens'], cc: [mockEmails['Adam Gillchrist'], mockEmails['John Paul']], bcc: [mockEmails['Anton, Randy'], mockEmails['Hugh Phillips']], to: [mockEmails['Sara Davis'], mockEmails['John Brown'], mockEmails['Joe Stevens']], body: '<div> Hi, <br /> <br /> <div>Sure.. Here is your E-Ticket(H-765437) !! </div> <br /><br /> Regards, <br /> Laura Stevens </div>', subject: 'I have a quick question on travel', onReply: action('On reply'), onReplyAll: action('On reply all'), onForward: action('On forward'), onSuggestionClick: action('On Suggested reply clicked'), sentiment: {
157
- variant: 'positive'
158
- }, actions: emailActions, suggestions: mockSuggestedReplies, attachments: [
28
+ return (_jsx(Card, { children: _jsx(StyledEmailCardContent, { children: _jsx(EmailComponent, { id: createUID(), timeStamp: '2021-01-05T09:12', from: mockEmails['Laura Stevens'], cc: [mockEmails['Adam Gillchrist'], mockEmails['John Paul']], bcc: [mockEmails['Anton, Randy'], mockEmails['Hugh Phillips']], to: [mockEmails['Sara Davis'], mockEmails['John Brown'], mockEmails['Joe Stevens']], body: '<div>Hi,<br/><p>I am one of the customer of Indian Overseas Bank, <b><i>Nagercoil</i></b> branch, with code <b><a href="www.google.com"><i>3967</i></a></b>. I have a saving bank account here. My account number is <i>6785420965476</i>.</p><br/><p>I have been given a debit cum ATM card from this bank and the same has been lost when I was traveling from Nagercoil to Trichy by Bus on Jan 04, 2021. I remember that my ATM card number was 1920 6746 8653 1256.</p><br/>I hereby request you to block my debit card immediately to prevent misuse of the same by some others. Also I request you to give me an new debit card as early as possible.<br/><br/>Regards,<br/>Laura Stevens</div>', forwardedContent: args.forwardedContent, entityHighlightMapping: args.enableEntityHighlighting ? highlightedEntitiesMock : undefined, subject: 'I lost my debit card', onReply: action('On reply'), onReplyAll: action('On reply all'), onForward: action('On forward'), onSuggestionClick: action('On Suggested reply clicked'), sentiment: {
29
+ variant: 'neutral'
30
+ }, actions: emailActions, suggestions: mockSuggestedReplies, contextMenu: args.enableContextMenu
31
+ ? {
32
+ onItemClick: action('onItemClick'),
33
+ onContextMenu: handleRightClick,
34
+ handle: emailImperativeHandle
35
+ }
36
+ : undefined, attachments: [
159
37
  {
160
- id: createUID(),
38
+ id: 'attachment_0',
161
39
  value: 'https://pega.com/media/document.doc',
162
40
  displayText: 'Policy document'
163
41
  },
164
42
  {
165
- id: createUID(),
43
+ id: 'attachment_1',
166
44
  value: 'https://pbs.twimg.com/media/ENNN5PAXkAE-hag.jpg',
167
45
  displayText: 'E-Ticket'
168
46
  }
@@ -172,107 +50,170 @@ export const email = () => {
172
50
  onDownload: action('On attachment download'),
173
51
  onPreview: action('On attachment preview')
174
52
  };
175
- }) }, void 0) }, void 0) }, void 0));
53
+ }) }) }) }));
176
54
  };
177
- const StyledViewAnalysis = styled.div `
178
- width: 18rem;
179
- `;
180
- export const viewAnalysis = () => {
181
- const content = ViewAnalysisMockData;
182
- const headerProps = {
183
- icon: 'list-number',
184
- text: 'Entities'
185
- };
186
- return (_jsx(StyledViewAnalysis, { children: _jsx(ViewAnalysis, { header: headerProps, content: content }, void 0) }, void 0));
55
+ Email.args = {
56
+ enableEntityHighlighting: false,
57
+ enableContextMenu: false,
58
+ // eslint-disable-next-line demo-patterns/literal-args
59
+ forwardedContent
187
60
  };
188
- /*
189
- ______ _ _ ______ _ _ _ _
190
- | ____| (_) | | ____| | | (_) | (_)
191
- | |__ _ __ ___ __ _ _| | | |__ _ __ | |_ _| |_ _ ___ ___
192
- | __| | '_ ` _ \ / _` | | | | __| | '_ \| __| | __| |/ _ \/ __|
193
- | |____| | | | | | (_| | | | | |____| | | | |_| | |_| | __/\__ \
194
- |______|_| |_| |_|\__,_|_|_| |______|_| |_|\__|_|\__|_|\___||___/
195
-
196
- */
197
- export const emailEntities = () => {
198
- const nestedEntities = ['Place: Nagercoil, Hyderabad', 'Location: Nagercoil'];
199
- return (_jsx(Card, { children: _jsx(StyledEmailCardContent, { children: _jsx(Email, { id: createUID(), timeStamp: '2021-01-05T09:12', from: mockEmails['Laura Stevens'], cc: [mockEmails['Adam Gillchrist'], mockEmails['John Paul']], bcc: [mockEmails['Anton, Randy'], mockEmails['Hugh Phillips']], to: [mockEmails['Sara Davis'], mockEmails['John Brown'], mockEmails['Joe Stevens']], body: '<div>Hi,<br/><p>I am one of the customer of Indian Overseas Bank, Nagercoil branch, with code 3967. I have a saving bank account here. My account number is 6785420965476.</p><br/><p>I have been given a debit cum ATM card from this bank and the same has been lost when I was traveling from Nagercoil to Trichy by Bus on Jan 04, 2021. I remember that my ATM card number was 1920 6746 8653 1256.</p><br/>I hereby request you to block my debit card immediately to prevent misuse of the same by some others. Also I request you to give me an new debit card as early as possible.<br/><br/>Regards,<br/>Laura Stevens</div>', entityHighlightMapping: boolean('Entity Highlighting', true)
200
- ? [
201
- {
202
- value: '3967',
203
- type: 'system',
204
- name: 'BranchCode',
205
- variant: 0,
206
- description: 'Branch Code'
207
- },
208
- {
209
- value: 'Laura Stevens',
210
- type: 'system',
211
- name: 'Name',
212
- variant: 1,
213
- description: 'Name'
214
- },
215
- {
216
- value: 'Nagercoil',
217
- type: 'system',
218
- name: 'Location',
219
- variant: 2,
220
- description: nestedEntities
221
- },
222
- {
223
- value: 'Trichy',
224
- type: 'system',
225
- name: 'Location',
226
- variant: 2,
227
- description: 'Location'
228
- },
229
- {
230
- value: '6785420965476',
231
- type: 'system',
232
- name: 'AccountNumber',
233
- variant: 3,
234
- description: 'Account Number'
235
- },
236
- {
237
- value: '1920 6746 8653 1256',
238
- type: 'system',
239
- name: 'CardNumber',
240
- variant: 4,
241
- description: 'Card Number'
242
- },
243
- {
244
- value: 'Debit Card',
245
- type: 'system',
246
- name: 'CardType',
247
- variant: 5,
248
- description: 'Card Type'
249
- },
250
- {
251
- value: 'Jan 04, 2021',
252
- type: 'system',
253
- name: 'Date',
254
- variant: 6,
255
- description: 'Date'
256
- }
257
- ]
258
- : undefined, subject: 'I lost my debit card', onReply: action('On reply'), onReplyAll: action('On reply all'), onForward: action('On forward'), onSuggestionClick: action('On Suggested reply clicked'), sentiment: {
259
- variant: 'neutral'
260
- }, actions: emailActions, suggestions: mockSuggestedReplies }, void 0) }, void 0) }, void 0));
61
+ Email.argTypes = {
62
+ enableEntityHighlighting: { control: { type: 'boolean' } },
63
+ enableContextMenu: { control: { type: 'boolean' } },
64
+ forwardedContent: { control: { type: 'text' } }
261
65
  };
262
- /*
263
-
264
- _____ _ _ ____ _ _
265
- | ____|_ __ ___ __ _(_) | / ___|___ _ ____ _____ _ __ ___ __ _| |_(_) ___ _ __
266
- | _| | '_ ` _ \ / _` | | | | | / _ \| '_ \ \ / / _ \ '__/ __|/ _` | __| |/ _ \| '_ \
267
- | |___| | | | | | (_| | | | | |__| (_) | | | \ V / __/ | \__ \ (_| | |_| | (_) | | | |
268
- |_____|_| |_| |_|\__,_|_|_| \____\___/|_| |_|\_/ \___|_| |___/\__,_|\__|_|\___/|_| |_|
269
-
270
-
271
- */
272
- export const emailConversation = () => {
66
+ // ______ ______ .___ ___. .______ ______ _______. _______ .______
67
+ // / | / __ \ | \/ | | _ \ / __ \ / || ____|| _ \
68
+ // | ,----'| | | | | \ / | | |_) | | | | | | (----`| |__ | |_) |
69
+ // | | | | | | | |\/| | | ___/ | | | | \ \ | __| | /
70
+ // | `----.| `--' | | | | | | | | `--' | .----) | | |____ | |\ \----.
71
+ // \______| \______/ |__| |__| | _| \______/ |_______/ |_______|| _| `._____|
72
+ export const Composer = () => {
73
+ const [composerProgress, setComposerProgress] = useState(false);
74
+ const composerHandle = useRef(null);
75
+ const [data, setData] = useState({
76
+ to: { value: toParticipants },
77
+ cc: { value: [] },
78
+ bcc: { value: [] },
79
+ subject: { value: 'Request: Pause service' },
80
+ bodyContent: {
81
+ defaultValue: 'Hi, Hope you are doing well'
82
+ },
83
+ responseType: 'reply',
84
+ selectedTemplateId: '',
85
+ attachments: emailAttachments,
86
+ bodyContentCurrentValue: ''
87
+ });
88
+ const handleOnChange = (field, value) => {
89
+ if (field === 'bodyContent') {
90
+ setData(prev => ({
91
+ ...prev,
92
+ bodyContentCurrentValue: value
93
+ }));
94
+ }
95
+ else if (['responseType', 'attachments', 'selectedTemplateId'].includes(field)) {
96
+ setData(prev => ({
97
+ ...prev,
98
+ [field]: value
99
+ }));
100
+ }
101
+ else {
102
+ // Clearing error message as soon as value changes
103
+ setData(prev => {
104
+ return {
105
+ ...prev,
106
+ [field]: { error: undefined, value }
107
+ };
108
+ });
109
+ }
110
+ action('onChange')(field, value);
111
+ };
112
+ useEffect(() => {
113
+ if (data.responseType === 'reply') {
114
+ setData(prev => {
115
+ return {
116
+ ...prev,
117
+ to: {
118
+ ...prev.to,
119
+ value: [toParticipants[0]]
120
+ },
121
+ cc: {
122
+ ...prev.cc,
123
+ value: []
124
+ },
125
+ bcc: {
126
+ ...prev.bcc,
127
+ value: []
128
+ }
129
+ };
130
+ });
131
+ }
132
+ else if (data.responseType === 'replyAll') {
133
+ setData(prev => {
134
+ return {
135
+ ...prev,
136
+ to: {
137
+ ...prev.to,
138
+ value: toParticipants
139
+ },
140
+ cc: {
141
+ ...prev.cc,
142
+ value: ccParticipants
143
+ },
144
+ bcc: {
145
+ ...prev.bcc,
146
+ value: bccParticipants
147
+ }
148
+ };
149
+ });
150
+ }
151
+ }, [data.responseType]);
152
+ const onTemplateChange = (id) => {
153
+ const selectedTemplate = mockEmailBodyTemplates.find(template => template.id === id);
154
+ // Simulating api call
155
+ setComposerProgress({ message: 'Loading template...' });
156
+ setTimeout(() => {
157
+ setComposerProgress(false);
158
+ composerHandle.current?.replaceBodyContent(selectedTemplate?.content || '');
159
+ }, 1000);
160
+ };
161
+ useEffect(() => {
162
+ if (data.selectedTemplateId)
163
+ onTemplateChange(data.selectedTemplateId);
164
+ }, [data.selectedTemplateId]);
165
+ const handleOnSend = () => {
166
+ setData(prev => {
167
+ return {
168
+ ...prev,
169
+ to: {
170
+ value: prev.to?.value || [],
171
+ error: data?.to?.value.length === 0 ? emptyFieldErrorMessage : fieldValidation(data?.to?.value)
172
+ },
173
+ cc: {
174
+ value: prev.cc?.value || [],
175
+ error: data.cc === undefined ? undefined : fieldValidation(data.cc.value)
176
+ },
177
+ bcc: {
178
+ value: prev.bcc?.value || [],
179
+ error: data.bcc === undefined ? undefined : fieldValidation(data.bcc.value)
180
+ },
181
+ subject: {
182
+ ...prev.subject,
183
+ error: data.subject?.value === '' ? emptyFieldErrorMessage : undefined
184
+ },
185
+ bodyContent: {
186
+ ...prev.bodyContent,
187
+ error: data.bodyContentCurrentValue === '' ? emptyFieldErrorMessage : undefined
188
+ }
189
+ };
190
+ });
191
+ };
192
+ const onImageAdded = (image, id) => {
193
+ action('On Image added');
194
+ setComposerProgress({ message: 'Uploading image' });
195
+ // Simulate image upload
196
+ mockUploadImage(image)
197
+ .then(({ src, alt }) => {
198
+ composerHandle.current?.updateImage({ src, alt }, id);
199
+ setComposerProgress(false);
200
+ })
201
+ .catch(() => {
202
+ setComposerProgress(false);
203
+ });
204
+ };
205
+ return (_jsx(EmailComposer, { handle: composerHandle, progress: composerProgress, onSave: action('On save'), onSend: handleOnSend, onCancel: action('On cancel'), externalValidator: handleExternalEntry, participants: participants, onChange: handleOnChange, data: data, templates: templates, onImageAdded: onImageAdded }));
206
+ };
207
+ // ______ ______ .__ __. ____ ____ _______ .______ _______. ___ .___________. __ ______ .__ __.
208
+ // / | / __ \ | \ | | \ \ / / | ____|| _ \ / | / \ | || | / __ \ | \ | |
209
+ // | ,----'| | | | | \| | \ \/ / | |__ | |_) | | (----` / ^ \ `---| |----`| | | | | | | \| |
210
+ // | | | | | | | . ` | \ / | __| | / \ \ / /_\ \ | | | | | | | | | . ` |
211
+ // | `----.| `--' | | |\ | \ / | |____ | |\ \----.----) | / _____ \ | | | | | `--' | | |\ |
212
+ // \______| \______/ |__| \__| \__/ |_______|| _| `._____|_______/ /__/ \__\ |__| |__| \______/ |__| \__|
213
+ export const Conversation = () => {
273
214
  const emailArr = [
274
215
  {
275
- id: createUID(),
216
+ id: 'item_0',
276
217
  timeStamp: '2021-01-05T09:12',
277
218
  from: mockEmails['Laura Stevens'],
278
219
  cc: [mockEmails['Adam Gillchrist'], mockEmails['John Paul']],
@@ -287,7 +228,7 @@ export const emailConversation = () => {
287
228
  suggestions: mockSuggestedReplies
288
229
  },
289
230
  {
290
- id: createUID(),
231
+ id: 'item_1',
291
232
  timeStamp: '2021-01-02T03:12',
292
233
  from: mockEmails['Sara Davis'],
293
234
  cc: [mockEmails['Adam Gillchrist'], mockEmails['John Paul']],
@@ -300,92 +241,255 @@ export const emailConversation = () => {
300
241
  actions: emailActions
301
242
  }
302
243
  ];
303
- return (_jsx(EmailConversation, { participants: generateEmailConversationParticipants(emailArr), from: generateEmailConversationParticipants(emailArr, ['from'])[0], to: generateEmailConversationParticipants(emailArr, ['to']), id: createUID(), timeStamp: emailArr[0].timeStamp, unReadEmailCount: emailArr.filter(item => item.unRead).length, emails: emailArr }, void 0));
304
- };
305
- /*
306
-
307
- _____ _ _ ____
308
- | ____|_ __ ___ __ _(_) | / ___|___ _ __ ___ _ __ ___ ___ ___ _ __
309
- | _| | '_ ` _ \ / _` | | | | | / _ \| '_ ` _ \| '_ \ / _ \/ __|/ _ \ '__|
310
- | |___| | | | | | (_| | | | | |__| (_) | | | | | | |_) | (_) \__ \ __/ |
311
- |_____|_| |_| |_|\__,_|_|_| \____\___/|_| |_| |_| .__/ \___/|___/\___|_|
312
- |_|
313
-
314
- */
315
- export const EmailComposerDemo = () => {
316
- const fileUploadInputRef = useRef(null);
317
- const [attachments, setAttachments] = useState(emailAttachments);
318
- return (_jsx(Card, { style: { width: '30rem' }, children: _jsxs(CardContent, { children: [_jsx(EmailComposer, { onSend: action('On Send'), onCancel: action('On cancel'), externalValidator: handleExternalEntry, participants: participants, to: {
319
- reply: [participants[7].emailAddress],
320
- replyAll: toParticipants,
321
- forward: []
322
- }, cc: ccParticipants, bcc: bccParticipants, responseType: 'reply', subject: 'Request: Pause service', templates: mockEmailBodyTemplates, bodyContent: 'Hi, Hope you are doing well', onImageAdded: action('On Image added'), attachments: attachments.map(attachment => {
323
- return {
324
- ...attachment,
325
- onDelete: name => {
326
- setAttachments(prevAttachments => prevAttachments.filter(item => item.name !== name));
327
- }
328
- };
329
- }), footerMoreActions: _jsx(MenuButton, { text: 'Phrases', placement: 'top', menu: {
330
- items: [
331
- {
332
- primary: 'Thanks',
333
- id: 'Thanks',
334
- onClick: action('Thanks!')
335
- },
336
- {
337
- primary: 'Sorry, please give us some time',
338
- id: 'Sorry',
339
- onClick: action('Sorry, please give us some time!')
340
- }
341
- ]
342
- } }, void 0) }, void 0), _jsx("input", { ref: fileUploadInputRef, type: 'file', style: { display: 'none' }, onChange: (e) => {
343
- if (e.target.files) {
344
- setAttachments(prevAttachments => [
345
- ...prevAttachments,
346
- ...Array.from(e.target.files).map(file => {
347
- return {
348
- name: file.name
349
- };
350
- })
351
- ]);
352
- }
353
- } }, void 0)] }, void 0) }, void 0));
244
+ return (_jsx(EmailConversation, { participants: generateEmailConversationParticipants(emailArr), from: generateEmailConversationParticipants(emailArr, ['from'])[0], to: generateEmailConversationParticipants(emailArr, ['to']), id: createUID(), timeStamp: emailArr[0].timeStamp, unReadEmailCount: emailArr.filter(item => item.unRead).length, emails: emailArr }));
354
245
  };
355
- /*
356
-
357
- _____ _ _ _ _ _
358
- | ____|_ __ ___ __ _(_) | ___| |__ ___| | |
359
- | _| | '_ ` _ \ / _` | | | / __| '_ \ / _ \ | |
360
- | |___| | | | | | (_| | | | \__ \ | | | __/ | |
361
- |_____|_| |_| |_|\__,_|_|_| |___/_| |_|\___|_|_|
362
-
363
- */
364
- export const EmailDemo = ({ hideSuggestions }) => {
365
- const actions = array('Actions', ['Transfer', 'End conversation']).map(name => ({
246
+ export const EmailShellDemo = (args) => {
247
+ const { create } = useContext(ModalManagerContext);
248
+ const { push } = useContext(ToasterContext);
249
+ const actions = ['Transfer', 'End conversation'].map(name => ({
366
250
  primary: name,
367
251
  id: name,
368
252
  onClick: action(`Clicked ${name}`)
369
253
  }));
370
- const { create } = useContext(ModalManagerContext);
254
+ const [composersData, setComposersData] = useState({});
255
+ const [conversationEmails, setConversationEmails] = useState([]);
256
+ const handleResponseTypeChange = (uid, responseType) => {
257
+ if (responseType === 'reply') {
258
+ setComposersData(prev => {
259
+ return {
260
+ ...prev,
261
+ [uid]: {
262
+ ...prev[uid],
263
+ data: {
264
+ ...prev[uid].data,
265
+ to: {
266
+ ...prev[uid].data.to,
267
+ value: [toParticipants[0]]
268
+ },
269
+ cc: {
270
+ ...prev[uid].data.cc,
271
+ value: []
272
+ },
273
+ bcc: {
274
+ ...prev[uid].data.bcc,
275
+ value: []
276
+ }
277
+ }
278
+ }
279
+ };
280
+ });
281
+ }
282
+ else if (responseType === 'replyAll') {
283
+ setComposersData(prev => {
284
+ return {
285
+ ...prev,
286
+ [uid]: {
287
+ ...prev[uid],
288
+ data: {
289
+ ...prev[uid].data,
290
+ to: {
291
+ ...prev[uid].data.to,
292
+ value: toParticipants
293
+ },
294
+ cc: {
295
+ ...prev[uid].data.cc,
296
+ value: ccParticipants
297
+ },
298
+ bcc: {
299
+ ...prev[uid].data.bcc,
300
+ value: bccParticipants
301
+ }
302
+ }
303
+ }
304
+ };
305
+ });
306
+ }
307
+ };
308
+ const handleTemplateIdChange = (uid, templateId) => {
309
+ const selectedTemplate = mockEmailBodyTemplates.find(template => template.id === templateId);
310
+ setComposersData(prev => {
311
+ return {
312
+ ...prev,
313
+ [uid]: {
314
+ ...prev[uid],
315
+ progress: { message: 'Loading template...' }
316
+ }
317
+ };
318
+ });
319
+ // Simulating api call
320
+ setTimeout(() => {
321
+ setComposersData(prev => {
322
+ return {
323
+ ...prev,
324
+ [uid]: {
325
+ ...prev[uid],
326
+ progress: false
327
+ }
328
+ };
329
+ });
330
+ let currentData = {};
331
+ setComposersData(prev => {
332
+ currentData = prev;
333
+ return prev;
334
+ });
335
+ if (currentData) {
336
+ currentData[uid]?.handle?.current?.replaceBodyContent(selectedTemplate?.content || '');
337
+ }
338
+ }, 1000);
339
+ };
340
+ const handleChange = (uid, field, value) => {
341
+ setComposersData(prevData => {
342
+ if (field === 'bodyContent') {
343
+ return {
344
+ ...prevData,
345
+ [uid]: {
346
+ ...prevData[uid],
347
+ bodyContentCurrentValue: value
348
+ }
349
+ };
350
+ }
351
+ return {
352
+ ...prevData,
353
+ [uid]: {
354
+ ...prevData[uid],
355
+ data: {
356
+ ...prevData[uid].data,
357
+ [field]: ['responseType', 'attachments', 'selectedTemplateId'].includes(field)
358
+ ? value
359
+ : {
360
+ error: undefined,
361
+ value
362
+ }
363
+ }
364
+ }
365
+ };
366
+ });
367
+ if (field === 'responseType') {
368
+ handleResponseTypeChange(uid, value);
369
+ }
370
+ else if (field === 'selectedTemplateId') {
371
+ handleTemplateIdChange(uid, value);
372
+ }
373
+ };
374
+ const MyModal = ({ currentID }) => {
375
+ const { ModalContext } = useContext(ModalManagerContext);
376
+ const { dismiss } = useContext(ModalContext);
377
+ return (_jsx(Modal, { heading: 'Discard unsaved changes?', actions: _jsxs(_Fragment, { children: [_jsxs(Flex, { children: [_jsx(Button, { onClick: () => {
378
+ dismiss();
379
+ setComposersData(prev => {
380
+ return {
381
+ ...prev,
382
+ [currentID]: {
383
+ ...prev[currentID],
384
+ progress: true
385
+ }
386
+ };
387
+ });
388
+ setTimeout(() => {
389
+ setComposersData(prev => {
390
+ const newComposersData = { ...prev };
391
+ delete newComposersData[currentID];
392
+ return newComposersData;
393
+ });
394
+ push({ content: 'Draft Saved' });
395
+ }, 1000);
396
+ }, children: "Save as draft" }), _jsx(Button, { onClick: () => {
397
+ dismiss();
398
+ setComposersData(prev => {
399
+ const newComposersData = { ...prev };
400
+ delete newComposersData[currentID];
401
+ return newComposersData;
402
+ });
403
+ }, children: "Discard" })] }), _jsx(Button, { variant: 'primary', onClick: () => {
404
+ dismiss();
405
+ }, children: "Cancel" })] }), center: true, children: _jsx(Text, { variant: 'primary', children: "You have unsaved changes. You can discard them or go back to keep working." }) }));
406
+ };
407
+ const handleCancel = (uid) => {
408
+ create(MyModal, { currentID: uid }, { alert: true });
409
+ };
410
+ const handleSend = (uid) => {
411
+ action('Send')();
412
+ setComposersData(prev => {
413
+ return {
414
+ ...prev,
415
+ [uid]: {
416
+ ...prev[uid],
417
+ progress: true
418
+ }
419
+ };
420
+ });
421
+ setTimeout(() => {
422
+ setComposersData(prev => {
423
+ const newComposersData = { ...prev };
424
+ delete newComposersData[uid];
425
+ return newComposersData;
426
+ });
427
+ push({ content: 'Email Send' });
428
+ }, 1000);
429
+ };
430
+ const handleSave = (uid) => {
431
+ action('Save')();
432
+ setComposersData(prev => {
433
+ return {
434
+ ...prev,
435
+ [uid]: {
436
+ ...prev[uid],
437
+ progress: true
438
+ }
439
+ };
440
+ });
441
+ setTimeout(() => {
442
+ setComposersData(prev => {
443
+ const newComposersData = { ...prev };
444
+ delete newComposersData[uid];
445
+ return newComposersData;
446
+ });
447
+ push({ content: 'Draft Saved' });
448
+ }, 1000);
449
+ };
450
+ const createOrActivateComposer = (id, launchAction, composerProps) => {
451
+ const uid = getCompositeId(id, launchAction);
452
+ if (composersData[uid]) {
453
+ // Activate the existing composer
454
+ composersData[uid].handle?.current?.activate();
455
+ }
456
+ else {
457
+ // Create new composer
458
+ setComposersData(prev => {
459
+ const composerHandle = createRef();
460
+ return {
461
+ ...prev,
462
+ [uid]: {
463
+ ...composerProps,
464
+ bodyContentCurrentValue: composerProps.data.bodyContent.defaultValue,
465
+ handle: composerHandle,
466
+ onChange: (field, value) => handleChange(uid, field, value),
467
+ onCancel: () => handleCancel(uid),
468
+ onSend: () => handleSend(uid),
469
+ onSave: () => handleSave(uid)
470
+ }
471
+ };
472
+ });
473
+ }
474
+ };
371
475
  const emailsData = [
372
476
  {
373
- id: createUID(),
477
+ id: 'item0',
374
478
  timeStamp: '2021-01-05T09:12',
375
479
  from: participants[0],
376
480
  to: participants.slice(0, 2),
377
481
  body: '<div>Hi, <br /> <br /><div>Your address change request is approved.</div> <br /> <br />Regards, <br />Laura Stevens </div>',
378
482
  unRead: true,
379
483
  subject: 'Pause service',
380
- suggestions: hideSuggestions ? undefined : mockSuggestedReplies,
484
+ suggestions: args.hideSuggestions ? undefined : mockSuggestedReplies,
381
485
  attachments: [
382
486
  {
383
- id: createUID(),
487
+ id: 'item_1_0',
384
488
  value: 'https://pega.com/media/document.doc',
385
489
  displayText: 'Policy document'
386
490
  },
387
491
  {
388
- id: createUID(),
492
+ id: 'item_1_1',
389
493
  value: 'https://pbs.twimg.com/media/ENNN5PAXkAE-hag.jpg',
390
494
  displayText: 'E-Ticket'
391
495
  }
@@ -398,7 +502,7 @@ export const EmailDemo = ({ hideSuggestions }) => {
398
502
  })
399
503
  },
400
504
  {
401
- id: createUID(),
505
+ id: 'item1',
402
506
  timeStamp: '2021-01-02T03:12',
403
507
  from: participants[3],
404
508
  to: participants.slice(2, 4),
@@ -407,38 +511,47 @@ export const EmailDemo = ({ hideSuggestions }) => {
407
511
  subject: 'Pause service'
408
512
  }
409
513
  ].map(emailData => {
410
- const emailActionItems = emailDemoActions(create, emailData.subject);
514
+ const emailActionItems = emailDemoActions(emailData.id, emailData.subject, createOrActivateComposer, false, emailData.body);
411
515
  return {
412
516
  ...emailData,
413
- onReply: id => {
414
- launchEmailComposer(id, LaunchAction.REPLY, {
517
+ onReply: (id) => {
518
+ createOrActivateComposer(id, LaunchAction.REPLY, {
415
519
  ...baseComposerProps,
416
- externalValidator: handleExternalEntry,
417
- responseType: 'reply',
418
- subject: `Re-${emailData.subject}` || ''
419
- }, create);
520
+ data: {
521
+ ...baseComposerProps.data,
522
+ responseType: 'reply',
523
+ subject: { value: `Re-${emailData.subject}` || '' }
524
+ },
525
+ externalValidator: handleExternalEntry
526
+ });
420
527
  },
421
528
  onForward: id => {
422
- launchEmailComposer(id, LaunchAction.FORWARD, {
529
+ createOrActivateComposer(id, LaunchAction.FORWARD, {
423
530
  ...baseComposerProps,
424
- externalValidator: handleExternalEntry,
425
- responseType: 'forward',
426
- subject: `Fw-${emailData.subject}` || ''
427
- }, create);
531
+ data: {
532
+ ...baseComposerProps.data,
533
+ responseType: 'forward',
534
+ subject: { value: `Fw-${emailData.subject}` || '' }
535
+ },
536
+ externalValidator: handleExternalEntry
537
+ });
428
538
  },
429
539
  onSuggestionClick: (id, suggestionId) => {
430
540
  const suggestion = emailData.suggestions?.find(item => item.id === suggestionId);
431
- launchEmailComposer(id, LaunchAction.SUGGESTION, {
541
+ createOrActivateComposer(id, LaunchAction.SUGGESTION, {
432
542
  ...baseComposerProps,
433
- externalValidator: handleExternalEntry,
434
- responseType: 'reply',
435
- subject: suggestion?.title || '',
436
- bodyContent: suggestion ? suggestion.content : '',
437
- defaultTemplate: suggestion?.title
438
- }, create);
543
+ data: {
544
+ ...baseComposerProps.data,
545
+ responseType: 'reply',
546
+ subject: { value: suggestion?.title || '' },
547
+ bodyContent: { defaultValue: suggestion ? suggestion.content : '' },
548
+ selectedTemplateId: suggestion?.id
549
+ },
550
+ externalValidator: handleExternalEntry
551
+ });
439
552
  },
440
553
  actions: emailActionItems,
441
- tags: hideSuggestions
554
+ tags: args.hideSuggestions
442
555
  ? undefined
443
556
  : {
444
557
  items: ['Pause service', 'Lost or stolen'],
@@ -448,103 +561,149 @@ export const EmailDemo = ({ hideSuggestions }) => {
448
561
  }
449
562
  };
450
563
  });
451
- const emailConversations = [
452
- [...emailsData],
453
- [
454
- {
455
- ...emailsData[0],
456
- timeStamp: '2021-01-03T17:15',
457
- from: mockEmails['Hugh Phillips'],
458
- to: [mockEmails['Mystery Rey'], ...emailsData[0].to],
459
- cc: [mockEmails['Adam Gillchrist']],
460
- bcc: [mockEmails['Anton, Randy'], mockEmails['Hugh Phillips']],
461
- body: '<div>Hi, <br /> <br /><div>Sure, Our executive will come and check your connection in 24hrs. </div> <br />Regards, <br />Hugh Phillips </div>'
462
- },
463
- {
464
- ...emailsData[1],
465
- unRead: false,
466
- timeStamp: '2021-01-02T14:16',
467
- from: mockEmails['Mystery Rey'],
468
- to: [mockEmails['Hugh Phillips']],
469
- body: '<div>Hi, <br /> <br /><div>Can you fix my internet connection. </div> <br /> <br />Regards, <br />Rey Mystery </div>'
470
- }
471
- ],
472
- [
473
- {
474
- ...emailsData[0],
475
- unRead: false,
476
- timeStamp: '2020-12-05T18:18',
477
- from: mockEmails['Laura Stevens'],
478
- to: [mockEmails['Sara Davis']],
479
- body: '<div>Hi, <br /> <br /><div>Sure, Our executive will call you shortly. </div> <br /> <br />Regards, <br />Laura Stevens </div>',
480
- sentiment: {
481
- variant: 'positive'
564
+ const deleteEmail = (id) => {
565
+ setConversationEmails(prev => {
566
+ const newEmailConversation = [];
567
+ prev.forEach(arr => {
568
+ const newArr = arr.filter(index => index.id !== id);
569
+ if (newArr.length !== 0)
570
+ newEmailConversation.push(newArr);
571
+ });
572
+ return newEmailConversation;
573
+ });
574
+ };
575
+ useEffect(() => {
576
+ setConversationEmails([
577
+ [{ ...emailsData[0] }, { ...emailsData[1], status: 'undelivered' }],
578
+ [
579
+ {
580
+ ...emailsData[0],
581
+ id: 'item2',
582
+ status: 'draft',
583
+ unRead: false,
584
+ actions: emailDemoActions('item2', emailsData[0].subject, createOrActivateComposer, true, '<div>Hi, <br /> <br /><div>Sure, Our executive will come and check your connection in 24hrs. </div> <br />Regards, <br />Hugh Phillips </div>', deleteEmail),
585
+ timeStamp: '2021-01-03T17:15',
586
+ from: mockEmails['Hugh Phillips'],
587
+ to: [mockEmails['Mystery Rey'], ...emailsData[0].to],
588
+ cc: [mockEmails['Adam Gillchrist']],
589
+ bcc: [mockEmails['Anton, Randy'], mockEmails['Hugh Phillips']],
590
+ body: '<div>Hi, <br /> <br /><div>Sure, Our executive will come and check your connection in 24hrs. </div> <br />Regards, <br />Hugh Phillips </div>'
591
+ },
592
+ {
593
+ ...emailsData[1],
594
+ id: 'item3',
595
+ status: 'draft',
596
+ actions: emailDemoActions('item3', emailsData[0].subject, createOrActivateComposer, true, '<div>Hi, <br /> <br /><div>Can you fix my internet connection. </div> <br /> <br />Regards, <br />Rey Mystery </div>', deleteEmail),
597
+ unRead: false,
598
+ timeStamp: '2021-01-02T14:16',
599
+ from: mockEmails['Mystery Rey'],
600
+ to: [mockEmails['Hugh Phillips']],
601
+ body: '<div>Hi, <br /> <br /><div>Can you fix my internet connection. </div> <br /> <br />Regards, <br />Rey Mystery </div>'
482
602
  }
483
- },
484
- {
485
- ...emailsData[1],
486
- unRead: false,
487
- timeStamp: '2021-01-04T08:30',
488
- from: mockEmails['Sara Davis'],
489
- to: [mockEmails['Laura Stevens']],
490
- body: '<div>Hi, <br /> <br /><div>Can you show please explain your new mobile plans. </div> <br /> <br />Regards, <br />Sara Davis </div>'
491
- }
492
- ]
493
- ].map((emails, i) => {
603
+ ],
604
+ [
605
+ {
606
+ ...emailsData[0],
607
+ id: 'item4',
608
+ unRead: true,
609
+ timeStamp: '2020-12-05T18:18',
610
+ from: mockEmails['Laura Stevens'],
611
+ to: [mockEmails['Sara Davis']],
612
+ body: '<div>Hi, <br /> <br /><div>Sure, Our executive will call you shortly. </div> <br /> <br />Regards, <br />Laura Stevens </div>',
613
+ sentiment: {
614
+ variant: 'positive'
615
+ }
616
+ },
617
+ {
618
+ ...emailsData[1],
619
+ id: 'item5',
620
+ unRead: true,
621
+ timeStamp: '2021-01-04T08:30',
622
+ from: mockEmails['Sara Davis'],
623
+ to: [mockEmails['Laura Stevens']],
624
+ body: '<div>Hi, <br /> <br /><div>Can you show please explain your new mobile plans. </div> <br /> <br />Regards, <br />Sara Davis </div>'
625
+ }
626
+ ]
627
+ ]);
628
+ }, []);
629
+ const emailConversations = conversationEmails.map((emails, i) => {
494
630
  return {
495
631
  from: generateEmailConversationParticipants(emails, ['from'])[0],
496
632
  to: emails[0].to,
497
- id: createUID(),
633
+ id: `item_${i}`,
498
634
  timeStamp: emails[0].timeStamp,
499
635
  unReadEmailCount: emails.filter(item => item.unRead).length,
500
636
  emails,
501
637
  sentiment: emails[0].sentiment,
502
638
  isForwarded: i !== 2,
503
- isCollapsed: i !== 0
639
+ isCollapsed: i !== 0,
640
+ drafts: i === 1,
641
+ undelivered: i === 0
504
642
  };
505
643
  });
506
644
  const singleEmailConversation = [
507
645
  {
508
646
  from: generateEmailConversationParticipants(emailsData, ['from'])[0],
509
647
  to: generateEmailConversationParticipants(emailsData, ['to']),
510
- id: createUID(),
648
+ id: 'item_0',
511
649
  timeStamp: new Date(emailsData[0].timeStamp),
512
650
  unReadEmailCount: emailsData.filter(item => item.unRead).length,
513
- emails: emailsData
651
+ emails: [{ ...emailsData[0], status: 'undelivered' }, { ...emailsData[1] }]
514
652
  }
515
653
  ];
516
- return (_jsx(EmailShell, { style: {
517
- height: 'calc(100vh)',
518
- width: '30rem',
519
- margin: 'auto'
520
- }, headerProps: {
521
- actions: (_jsxs(Flex, { container: {
522
- alignItems: 'center',
523
- gap: 0
524
- }, children: [_jsx(Button, { variant: 'simple', icon: true, children: _jsx(Icon, { name: 'filter' }, void 0) }, void 0), _jsx(MenuButton, { variant: 'simple', text: 'More actions', icon: 'more', iconOnly: true, portal: true, menu: { items: actions } }, void 0)] }, void 0)),
525
- subject: 'Pause service'
526
- }, autoCollapse: boolean('Auto collapse', true), conversations: boolean('Single conversation', true) ? singleEmailConversation : emailConversations }, void 0));
654
+ return (_jsxs(_Fragment, { children: [_jsx(EmailShell, { headerProps: {
655
+ actions: (_jsxs(Flex, { container: {
656
+ alignItems: 'center',
657
+ gap: 0
658
+ }, children: [_jsx(Button, { variant: 'simple', icon: true, children: _jsx(Icon, { name: 'filter' }) }), _jsx(MenuButton, { variant: 'simple', text: 'More actions', icon: 'more', iconOnly: true, portal: true, menu: { items: actions } })] })),
659
+ subject: 'Pause service'
660
+ }, autoCollapse: args.autoCollapse, conversations: args.singleConversation ? singleEmailConversation : emailConversations }), _jsx(_Fragment, { children: Object.keys(composersData).map(guid => {
661
+ return _jsx(EmailComposer, { ...composersData[guid] }, guid);
662
+ }) })] }));
527
663
  };
528
- EmailDemo.parameters = {
529
- layout: 'fullscreen'
664
+ EmailShellDemo.args = {
665
+ autoCollapse: true,
666
+ hideSuggestions: false,
667
+ singleConversation: true
530
668
  };
531
- const sentiment = {
532
- variant: 'negative',
533
- labelHidden: true
669
+ EmailShellDemo.argTypes = {
670
+ autoCollapse: { control: { type: 'boolean' } },
671
+ hideSuggestions: { control: { type: 'boolean' } },
672
+ singleConversation: { control: { type: 'boolean' } }
534
673
  };
535
- /*
536
- ______ _ _ _____ _____ _
537
- | ____| (_) | / ____| |_ _| |
538
- | |__ _ __ ___ __ _ _| | | (___ _ _ _ __ ___ _ __ ___ __ _ _ __ _ _ | | | |_ ___ _ __ ___
539
- | __| | '_ ` _ \ / _` | | | \___ \| | | | '_ ` _ \| '_ ` _ \ / _` | '__| | | | | | | __/ _ \ '_ ` _ \
540
- | |____| | | | | | (_| | | | ____) | |_| | | | | | | | | | | | (_| | | | |_| | _| |_| || __/ | | | | |
541
- |______|_| |_| |_|\__,_|_|_| |_____/ \__,_|_| |_| |_|_| |_| |_|\__,_|_| \__, | |_____|\__\___|_| |_| |_|
542
- __/ |
543
- |___/
544
- */
545
- export const EmailSummaryItemDemo = () => {
546
- const [active, setActive] = useState(false);
547
- return (_jsx(EmailSummaryItem, { style: { width: '25rem' }, id: createUID(), activeParticipants: [
674
+ export const EntityListDemo = (args) => {
675
+ const itemCounter = useRef(3);
676
+ const timeout = useRef(null);
677
+ const imperativeHandle = useRef(null);
678
+ const headerProps = {
679
+ icon: 'list-number',
680
+ text: 'Entities'
681
+ };
682
+ const handleRightClick = () => {
683
+ itemCounter.current += 1;
684
+ if (timeout.current) {
685
+ clearTimeout(timeout.current);
686
+ }
687
+ timeout.current = window.setTimeout(() => {
688
+ imperativeHandle.current?.setContextMenuItems(contextMenuItemsMock);
689
+ }, 1000);
690
+ };
691
+ return (_jsx(EntityList, { header: headerProps, content: EntityListMockData, contextMenu: args.enableContextMenu
692
+ ? {
693
+ onItemClick: action('onItemClick'),
694
+ onContextMenu: args.onContextMenu || handleRightClick,
695
+ handle: imperativeHandle
696
+ }
697
+ : undefined }));
698
+ };
699
+ EntityListDemo.args = {
700
+ enableContextMenu: true
701
+ };
702
+ EntityListDemo.argTypes = {
703
+ enableContextMenu: { control: { type: 'boolean' } }
704
+ };
705
+ export const EmailSummaryItemDemo = (args) => {
706
+ return (_jsx(EmailSummaryItem, { id: createUID(), activeParticipants: [
548
707
  {
549
708
  shortName: 'Robert',
550
709
  fullName: 'Robert Downer',
@@ -555,276 +714,24 @@ export const EmailSummaryItemDemo = () => {
555
714
  fullName: 'Nathan Swanson',
556
715
  emailAddress: 'nathan.swanson@example.com'
557
716
  }
558
- ], message: 'I have a quick question on traveling to India. How do I reach Hyderabad?', timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)), topic: 'Missing Luggage', sentiment: sentiment, urgency: 10, unreadEmailCount: active ? 0 : 8, active: active, onClick: () => {
559
- setActive(true);
560
- } }, void 0));
717
+ ], message: 'I have a quick question on traveling to India. How do I reach Hyderabad?', timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)), topic: 'Missing Luggage', sentiment: sentiment, urgency: 10, unreadEmailCount: args.unreadEmailCount, active: args.isActive, onSelect: (id) => {
718
+ action('onSelect')(id);
719
+ } }));
561
720
  };
562
- /*
563
- ______ _ _ _____ _ _ _
564
- | ____| (_) | / ____| | | (_) | |
565
- | |__ _ __ ___ __ _ _| | | (___ _ _ _ __ ___ _ __ ___ __ _ _ __ _ _ | | _ ___| |_
566
- | __| | '_ ` _ \ / _` | | | \___ \| | | | '_ ` _ \| '_ ` _ \ / _` | '__| | | | | | | / __| __|
567
- | |____| | | | | | (_| | | | ____) | |_| | | | | | | | | | | | (_| | | | |_| | | |____| \__ \ |_
568
- |______|_| |_| |_|\__,_|_|_| |_____/ \__,_|_| |_| |_|_| |_| |_|\__,_|_| \__, | |______|_|___/\__|
569
- __/ |
570
- |___/
571
- */
572
- const emailSummaryItems = [
573
- {
574
- id: createUID(),
575
- activeParticipants: [
576
- { shortName: 'Robert', fullName: 'Robert Downer', emailAddress: 'robert.downey@example.com' },
577
- { shortName: 'Support', fullName: 'Support', emailAddress: 'support@example.com' }
578
- ],
579
- message: 'I have a quick question on travel',
580
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
581
- topic: 'Travel request',
582
- sentiment,
583
- active: true,
584
- urgency: 85,
585
- unreadEmailCount: 4
586
- },
587
- {
588
- id: createUID(),
589
- activeParticipants: [
590
- {
591
- shortName: 'Nathan',
592
- fullName: 'Nathan Swanson',
593
- emailAddress: 'nathan.swanson@example.com'
594
- }
595
- ],
596
- message: 'My luggage did not drive!',
597
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
598
- topic: 'Missing Luggage',
599
- sentiment,
600
- urgency: 10,
601
- unreadEmailCount: 2
602
- },
603
- {
604
- id: createUID(),
605
- activeParticipants: [
606
- { shortName: 'Simpson', fullName: 'Glenn Simpson', emailAddress: 'glenn.simpson@example.com' }
607
- ],
608
- message: 'Re: How much is a flight to Florida. Is there a discount going on?',
609
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
610
- topic: 'Travel request',
611
- sentiment,
612
- urgency: 65,
613
- unreadEmailCount: 1
614
- },
615
- {
616
- id: createUID(),
617
- activeParticipants: [
618
- { shortName: 'Green', fullName: 'Ralph Green', emailAddress: 'ralph.green@example.com' }
619
- ],
620
- message: 'Re: Should I purchase travel insurance? How often do we need it?',
621
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
622
- topic: 'Travel request',
623
- sentiment,
624
- urgency: 85,
625
- unreadEmailCount: 6
626
- },
627
- {
628
- id: createUID(),
629
- activeParticipants: [
630
- { shortName: 'Greene', fullName: 'Fred Greene', emailAddress: 'Fred.greene@example.com' }
631
- ],
632
- message: 'My next vacation',
633
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
634
- topic: 'Travel request',
635
- sentiment,
636
- urgency: 45
637
- },
638
- {
639
- id: createUID(),
640
- activeParticipants: [
641
- { shortName: 'Smith', fullName: 'Aya Smith', emailAddress: 'aya.smith@example.com' },
642
- { shortName: 'Support', fullName: 'Support', emailAddress: 'support@example.com' },
643
- { shortName: 'Downer', fullName: 'Robert Downer', emailAddress: 'robert.downer@example.com' }
644
- ],
645
- message: 'Airport questions',
646
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
647
- topic: 'Travel request',
648
- sentiment,
649
- urgency: 35
650
- },
651
- {
652
- id: createUID(),
653
- activeParticipants: [
654
- { shortName: 'Robert', fullName: 'Robert Downer', emailAddress: 'robert.downey@example.com' },
655
- { shortName: 'Robert', fullName: 'Robert ', emailAddress: 'robert.downey@example.com' }
656
- ],
657
- message: 'I have a quick question on travel',
658
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
659
- topic: 'Travel request',
660
- sentiment,
661
- urgency: 85
662
- },
663
- {
664
- id: createUID(),
665
- activeParticipants: [
666
- {
667
- shortName: 'Nathan',
668
- fullName: 'Nathan Swanson',
669
- emailAddress: 'nathan.swanson@example.com'
670
- }
671
- ],
672
- message: 'My luggage did not drive!',
673
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
674
- topic: 'Missing Luggage',
675
- sentiment,
676
- urgency: 10
677
- },
678
- {
679
- id: createUID(),
680
- activeParticipants: [
681
- { shortName: 'Simpson', fullName: 'Glenn Simpson', emailAddress: 'glenn.simpson@example.com' }
682
- ],
683
- message: 'Re: How much is a flight to Florida',
684
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
685
- topic: 'Travel request',
686
- sentiment,
687
- urgency: 65
688
- },
689
- {
690
- id: createUID(),
691
- activeParticipants: [
692
- { shortName: 'Green', fullName: 'Ralph Green', emailAddress: 'ralph.green@example.com' }
693
- ],
694
- message: 'Re: Should I purchase travel insurance',
695
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
696
- topic: 'Travel request',
697
- sentiment,
698
- urgency: 85
699
- },
700
- {
701
- id: createUID(),
702
- activeParticipants: [
703
- { shortName: 'Greene', fullName: 'Fred Greene', emailAddress: 'Fred.greene@example.com' }
704
- ],
705
- message: 'My next vacation',
706
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
707
- topic: 'Travel request',
708
- sentiment,
709
- urgency: 45
710
- },
711
- {
712
- id: createUID(),
713
- activeParticipants: [
714
- { shortName: 'Smith', fullName: 'Aya Smith', emailAddress: 'aya.smith@example.com' },
715
- { shortName: 'Support', fullName: 'Support', emailAddress: 'support@example.com' },
716
- { shortName: 'Downer', fullName: 'Robert Downer', emailAddress: 'robert.downer@example.com' }
717
- ],
718
- message: 'Airport questions',
719
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
720
- topic: 'Travel request',
721
- sentiment,
722
- urgency: 35
723
- },
724
- {
725
- id: createUID(),
726
- activeParticipants: [
727
- { shortName: 'Robert', fullName: 'Robert Downer', emailAddress: 'robert.downey@example.com' },
728
- { shortName: 'Robert', fullName: 'Robert ', emailAddress: 'robert.downey@example.com' }
729
- ],
730
- message: 'I have a quick question on travel',
731
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
732
- topic: 'Travel request',
733
- sentiment,
734
- urgency: 85
735
- },
736
- {
737
- id: createUID(),
738
- activeParticipants: [
739
- {
740
- shortName: 'Nathan',
741
- fullName: 'Nathan Swanson',
742
- emailAddress: 'nathan.swanson@example.com'
743
- }
744
- ],
745
- message: 'My luggage did not drive!',
746
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
747
- topic: 'Missing Luggage',
748
- sentiment,
749
- urgency: 10
750
- },
751
- {
752
- id: createUID(),
753
- activeParticipants: [
754
- { shortName: 'Simpson', fullName: 'Glenn Simpson', emailAddress: 'glenn.simpson@example.com' }
755
- ],
756
- message: 'Re: How much is a flight to Florida',
757
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
758
- topic: 'Travel request',
759
- sentiment,
760
- urgency: 65
761
- },
762
- {
763
- id: createUID(),
764
- activeParticipants: [
765
- { shortName: 'Green', fullName: 'Ralph Green', emailAddress: 'ralph.green@example.com' }
766
- ],
767
- message: 'Re: Should I purchase travel insurance',
768
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
769
- topic: 'Travel request',
770
- sentiment,
771
- urgency: 85
772
- },
773
- {
774
- id: createUID(),
775
- activeParticipants: [
776
- { shortName: 'Greene', fullName: 'Fred Greene', emailAddress: 'Fred.greene@example.com' }
777
- ],
778
- message: 'My next vacation',
779
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
780
- topic: 'Travel request',
781
- sentiment,
782
- urgency: 45
783
- },
784
- {
785
- id: createUID(),
786
- activeParticipants: [
787
- { shortName: 'Smith', fullName: 'Aya Smith', emailAddress: 'aya.smith@example.com' },
788
- { shortName: 'Support', fullName: 'Support', emailAddress: 'support@example.com' },
789
- { shortName: 'Downer', fullName: 'Robert Downer', emailAddress: 'robert.downer@example.com' }
790
- ],
791
- message: 'Airport questions',
792
- timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
793
- topic: 'Travel request',
794
- sentiment,
795
- urgency: 35
796
- }
797
- ];
798
- export const EmailSummaryListDemo = () => {
721
+ EmailSummaryItemDemo.args = {
722
+ unreadEmailCount: 0,
723
+ isActive: false
724
+ };
725
+ EmailSummaryItemDemo.argTypes = {
726
+ unreadEmailCount: { control: { type: 'number' } },
727
+ isActive: { control: { type: 'boolean' } }
728
+ };
729
+ export const EmailSummaryListDemo = (args) => {
730
+ const INITIAL_CHUNK_SIZE = 9;
731
+ const APPEND_CHUNK_SIZE = 1;
799
732
  const emailSummaryListRef = useRef(null);
800
- const [allEmailItems, setAllEmailItems] = useState(emailSummaryItems);
801
- const [categories, setCategories] = useState([
802
- {
803
- id: createUID(),
804
- primary: 'Default worklist',
805
- selected: false
806
- },
807
- {
808
- id: createUID(),
809
- primary: 'Authors',
810
- selected: false
811
- },
812
- {
813
- id: createUID(),
814
- primary: 'Administrators',
815
- selected: false
816
- },
817
- {
818
- id: createUID(),
819
- primary: 'Managers',
820
- selected: false
821
- },
822
- {
823
- id: createUID(),
824
- primary: 'Users',
825
- selected: false
826
- }
827
- ]);
733
+ const [allEmailItems, setAllEmailItems] = useState(emailSummaryItems.slice(0, INITIAL_CHUNK_SIZE));
734
+ const [categories, setCategories] = useState(emailWorklistItemsMock);
828
735
  const handleItemClick = (id) => {
829
736
  const index = allEmailItems.findIndex(emailItem => {
830
737
  return emailItem.id === id;
@@ -836,9 +743,85 @@ export const EmailSummaryListDemo = () => {
836
743
  const onCategoryClick = (id) => {
837
744
  setCategories(cur => menuHelpers.toggleSelected(cur, id, 'single-select'));
838
745
  };
839
- return (_jsx(EmailSummaryList, { style: { height: 'calc(100vh)', width: '25rem', margin: 'auto' }, ref: emailSummaryListRef, unreadEmailCount: 99, categories: categories, items: allEmailItems, onItemClick: handleItemClick, onCategoryClick: onCategoryClick }, void 0));
746
+ const [loading, setLoading] = useState(false);
747
+ const [hasMore, setHasMore] = useState(true);
748
+ const loadMore = useCallback(() => {
749
+ if (!loading) {
750
+ setLoading(true);
751
+ setTimeout(() => {
752
+ setLoading(false);
753
+ setAllEmailItems(prevItems => {
754
+ const previousItemsLength = prevItems.length;
755
+ const newItems = emailSummaryItems.slice(previousItemsLength, previousItemsLength + APPEND_CHUNK_SIZE);
756
+ if (newItems.length === 0) {
757
+ setHasMore(false);
758
+ }
759
+ return [...prevItems, ...newItems];
760
+ });
761
+ }, 1500);
762
+ }
763
+ }, [loading]);
764
+ return (_jsx(EmailSummaryList, { ref: emailSummaryListRef, unreadEmailCount: 99, categories: categories, items: args.items || allEmailItems, onItemClick: args.onItemClick || handleItemClick, onCategoryClick: onCategoryClick, onLoadMore: args.onLoadMore || (hasMore ? loadMore : undefined), loading: args.loading || loading, emptyMessage: 'No emails.' }));
765
+ };
766
+ export const EmailManagerAppShell = (args) => {
767
+ const INITIAL_CHUNK_SIZE = 9;
768
+ const APPEND_CHUNK_SIZE = 1;
769
+ const [activeItemId, setActiveItemId] = useState();
770
+ const [emailList, setEmailList] = useState(emailSummaryItems.slice(0, INITIAL_CHUNK_SIZE));
771
+ const [loading, setLoading] = useState(false);
772
+ const [hasMore, setHasMore] = useState(true);
773
+ const handleEmailItemClick = (id) => {
774
+ setActiveItemId(id);
775
+ const index = emailList.findIndex(emailItem => {
776
+ return emailItem.id === id;
777
+ });
778
+ const newEmailList = [...emailList];
779
+ newEmailList.splice(index, 1, { ...emailList[index], unreadEmailCount: 0 });
780
+ setEmailList(newEmailList);
781
+ };
782
+ const onLoadMore = useCallback(() => {
783
+ if (!loading) {
784
+ setLoading(true);
785
+ setTimeout(() => {
786
+ setLoading(false);
787
+ setEmailList(prevItems => {
788
+ const previousItemsLength = prevItems.length;
789
+ const newItems = emailSummaryItems.slice(previousItemsLength, previousItemsLength + APPEND_CHUNK_SIZE);
790
+ if (newItems.length === 0) {
791
+ setHasMore(false);
792
+ }
793
+ return [...prevItems, ...newItems];
794
+ });
795
+ }, 1500);
796
+ }
797
+ }, [loading]);
798
+ const activeItemIndex = useMemo(() => emailList.findIndex(emailItem => emailItem.id === activeItemId), [activeItemId, emailList]);
799
+ const content = activeItemId === undefined ? (_jsx(EmptyState, { message: 'No item selected!' })) : (_jsx(EmailShellDemo, { singleConversation: activeItemIndex % 2 !== 0 }));
800
+ const utilities = activeItemId === undefined ? null : (
801
+ // View analysis utility
802
+ _jsxs(Grid, { container: { rowGap: 2 }, children: [_jsx(EntityListDemo, { onContextMenu: args.onContextMenu, enableContextMenu: args.enableContextMenu }), _jsxs(Card, { children: [_jsxs(CardHeader, { container: { alignItems: 'center', gap: 1 }, children: [_jsx(Icon, { name: 'document-doc' }), _jsx(Text, { variant: 'h3', children: "Email header" })] }), _jsx(CardContent, { children: _jsx(FieldValueList, { fields: viewAnalysisEmailHeaderMock, variant: 'stacked' }) })] }), _jsx(SummaryList, { name: 'Topics', icon: 'headline', items: topicListMock.map(items => ({
803
+ ...items,
804
+ primary: _jsx(StyledLabel, { children: items.primary }),
805
+ secondary: (_jsxs(Flex, { container: { direction: 'row', justify: 'between' }, children: [_jsx(Text, { variant: 'primary', children: items.secondary.indicator }), _jsx(StyledLabel, { children: items.secondary.value })] }))
806
+ })), noItemsText: 'No items' })] }));
807
+ return (_jsx(AppShellDemo, { appHeader: true, main: _jsx(EmailManager, { header: {
808
+ icon: 'mail',
809
+ title: 'Inbox'
810
+ }, list: _jsx(EmailSummaryListDemo, { onItemClick: handleEmailItemClick, items: emailList, onLoadMore: hasMore ? onLoadMore : undefined, loading: loading }), content: content, utilities: utilities, utilitiesSummaryItems: utilities
811
+ ? [
812
+ { iconName: 'list-number', count: 7 },
813
+ { iconName: 'document-doc', count: 1 },
814
+ { iconName: 'headline', count: 4 }
815
+ ]
816
+ : undefined, defaultCollapsedUtilities: !!utilities }) }));
817
+ };
818
+ EmailManagerAppShell.args = {
819
+ enableContextMenu: true
820
+ };
821
+ EmailManagerAppShell.argTypes = {
822
+ enableContextMenu: { control: { type: 'boolean' } }
840
823
  };
841
- EmailSummaryListDemo.parameters = {
824
+ EmailManagerAppShell.parameters = {
842
825
  layout: 'fullscreen'
843
826
  };
844
827
  //# sourceMappingURL=Email.stories.js.map