@pega/cosmos-react-demos 4.1.1 → 5.0.0-dev.10.0

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 (984) hide show
  1. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +1 -1
  2. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -1
  3. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -1
  4. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts +1 -1
  5. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  6. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  7. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +1 -1
  8. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -1
  9. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -1
  10. package/jsx/core/AIButton/AIButton.mocks.d.ts +1 -1
  11. package/jsx/core/AIButton/AIButton.mocks.d.ts.map +1 -1
  12. package/jsx/core/AIButton/AIButton.mocks.js.map +1 -1
  13. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +2 -2
  14. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
  15. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx +1 -1
  16. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +1 -1
  17. package/jsx/core/AppShell/AppShell.mocks.d.ts +1 -1
  18. package/jsx/core/AppShell/AppShell.mocks.d.ts.map +1 -1
  19. package/jsx/core/AppShell/AppShell.mocks.jsx.map +1 -1
  20. package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -1
  21. package/jsx/core/Avatar/Avatar.stories.jsx +1 -2
  22. package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -1
  23. package/jsx/core/Badges/Status.stories.jsx +2 -2
  24. package/jsx/core/Badges/Status.stories.jsx.map +1 -1
  25. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
  26. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
  27. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
  28. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
  29. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -1
  30. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  31. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +39 -11
  32. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
  33. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  34. package/jsx/core/Checkbox/Checkbox.stories.jsx +0 -3
  35. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
  36. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  37. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +4 -10
  38. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
  39. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +1 -2
  40. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
  41. package/jsx/core/ComboBox/ComboBox.mocks.d.ts +3 -1
  42. package/jsx/core/ComboBox/ComboBox.mocks.d.ts.map +1 -1
  43. package/jsx/core/ComboBox/{ComboBox.mocks.js → ComboBox.mocks.jsx} +5 -1
  44. package/jsx/core/ComboBox/ComboBox.mocks.jsx.map +1 -0
  45. package/jsx/core/ComboBox/ComboBox.stories.d.ts +1 -0
  46. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  47. package/jsx/core/ComboBox/ComboBox.stories.jsx +15 -13
  48. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -1
  49. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts +1 -1
  50. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -1
  51. package/jsx/core/CompositeInput/CompositeInput.mocks.jsx.map +1 -1
  52. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
  53. package/jsx/core/CompositeInput/CompositeInput.stories.jsx +1 -3
  54. package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +1 -1
  55. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
  56. package/jsx/core/CreditCard/CreditCard.stories.jsx +0 -1
  57. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -1
  58. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
  59. package/jsx/core/Currency/Currency.stories.jsx +0 -1
  60. package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
  61. package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
  62. package/jsx/core/DateTime/DateTime.stories.jsx +0 -10
  63. package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
  64. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
  65. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +10 -5
  66. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +1 -1
  67. package/jsx/core/Dialog/FormDialog.mocks.d.ts +1 -1
  68. package/jsx/core/Dialog/FormDialog.mocks.d.ts.map +1 -1
  69. package/jsx/core/Dialog/FormDialog.mocks.jsx.map +1 -1
  70. package/jsx/core/Dialog/InfoDialog.mocks.d.ts.map +1 -1
  71. package/jsx/core/Dialog/InfoDialog.mocks.jsx.map +1 -1
  72. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  73. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +6 -2
  74. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
  75. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +1 -1
  76. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  77. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -1
  78. package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
  79. package/jsx/core/File/FileDisplay.stories.jsx +3 -1
  80. package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
  81. package/jsx/core/File/FileInput.stories.d.ts +1 -0
  82. package/jsx/core/File/FileInput.stories.d.ts.map +1 -1
  83. package/jsx/core/File/FileInput.stories.jsx +33 -6
  84. package/jsx/core/File/FileInput.stories.jsx.map +1 -1
  85. package/jsx/{work/CaseView → core/File}/FileService.mock.d.ts +2 -2
  86. package/jsx/core/File/FileService.mock.d.ts.map +1 -0
  87. package/jsx/core/File/FileService.mock.jsx.map +1 -0
  88. package/jsx/core/File/MockFileInput.d.ts +6 -0
  89. package/jsx/core/File/MockFileInput.d.ts.map +1 -0
  90. package/jsx/core/File/MockFileInput.jsx +24 -0
  91. package/jsx/core/File/MockFileInput.jsx.map +1 -0
  92. package/jsx/core/Form/Form.mocks.d.ts.map +1 -1
  93. package/jsx/core/Form/Form.mocks.jsx +64 -14
  94. package/jsx/core/Form/Form.mocks.jsx.map +1 -1
  95. package/jsx/core/Icon/Icon.mocks.d.ts +24 -1
  96. package/jsx/core/Icon/Icon.mocks.d.ts.map +1 -1
  97. package/jsx/core/Icon/Icon.mocks.jsx +23 -0
  98. package/jsx/core/Icon/Icon.mocks.jsx.map +1 -1
  99. package/jsx/core/Icon/Icon.stories.d.ts +11 -1
  100. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
  101. package/jsx/core/Icon/Icon.stories.jsx +41 -7
  102. package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
  103. package/jsx/core/Input/Input.stories.d.ts.map +1 -1
  104. package/jsx/core/Input/Input.stories.jsx +0 -1
  105. package/jsx/core/Input/Input.stories.jsx.map +1 -1
  106. package/jsx/core/Lightbox/Lightbox.stories.jsx.map +1 -1
  107. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +3 -3
  108. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
  109. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -1
  110. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +1 -0
  111. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  112. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +27 -4
  113. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -1
  114. package/jsx/core/LiveLog/LiveLog.mocks.d.ts.map +1 -1
  115. package/jsx/core/LiveLog/LiveLog.mocks.jsx.map +1 -1
  116. package/jsx/core/Location/Location.stories.d.ts.map +1 -1
  117. package/jsx/core/Location/Location.stories.jsx +0 -1
  118. package/jsx/core/Location/Location.stories.jsx.map +1 -1
  119. package/jsx/core/Menu/Menu.mocks.d.ts +1 -1
  120. package/jsx/core/Menu/Menu.mocks.d.ts.map +1 -1
  121. package/jsx/core/Menu/Menu.mocks.js.map +1 -1
  122. package/jsx/core/Modal/Modal.stories.d.ts +1 -0
  123. package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
  124. package/jsx/core/Modal/Modal.stories.jsx +20 -3
  125. package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
  126. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +2 -2
  127. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
  128. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +1 -1
  129. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +1 -1
  130. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  131. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +1 -1
  132. package/jsx/core/Number/Number.stories.d.ts.map +1 -1
  133. package/jsx/core/Number/Number.stories.jsx +6 -2
  134. package/jsx/core/Number/Number.stories.jsx.map +1 -1
  135. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
  136. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  137. package/jsx/core/PageTemplates/PageTemplates.mocks.js.map +1 -1
  138. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  139. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +1 -1
  140. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  141. package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
  142. package/jsx/core/Phone/Phone.stories.jsx +0 -1
  143. package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
  144. package/jsx/core/Popover/Popover.mocks.d.ts +1 -1
  145. package/jsx/core/Popover/Popover.mocks.d.ts.map +1 -1
  146. package/jsx/core/Popover/Popover.mocks.jsx.map +1 -1
  147. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  148. package/jsx/core/RadioButton/RadioButton.stories.jsx +0 -3
  149. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
  150. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  151. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +4 -10
  152. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
  153. package/jsx/core/Select/Select.stories.d.ts.map +1 -1
  154. package/jsx/core/Select/Select.stories.jsx +0 -1
  155. package/jsx/core/Select/Select.stories.jsx.map +1 -1
  156. package/jsx/core/Slider/Slider.stories.d.ts +1 -0
  157. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
  158. package/jsx/core/Slider/Slider.stories.jsx +24 -4
  159. package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
  160. package/jsx/core/SummaryList/SummaryList.mocks.d.ts +2 -2
  161. package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
  162. package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +1 -1
  163. package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
  164. package/jsx/core/TextArea/TextArea.stories.jsx +0 -1
  165. package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
  166. package/jsx/core/Tree/Tree.mocks.js.map +1 -1
  167. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +1 -1
  168. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -1
  169. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +1 -1
  170. package/jsx/dnd/StandardDragDropList/Demo.d.ts +1 -1
  171. package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
  172. package/jsx/dnd/StandardDragDropList/Demo.jsx.map +1 -1
  173. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts +1 -1
  174. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -1
  175. package/jsx/dnd/StandardDragDropList/GroupConfig.jsx.map +1 -1
  176. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts +2 -2
  177. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -1
  178. package/jsx/dnd/StandardDragDropList/ItemConfig.jsx.map +1 -1
  179. package/jsx/dnd/StandardDragDropList/Popover.d.ts +2 -2
  180. package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
  181. package/jsx/dnd/StandardDragDropList/Popover.jsx.map +1 -1
  182. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts +3 -3
  183. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -1
  184. package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx.map +1 -1
  185. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +2 -2
  186. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  187. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -1
  188. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts +3 -3
  189. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -1
  190. package/jsx/rte/DynamicContentEditor/FieldSelector.jsx.map +1 -1
  191. package/jsx/rte/Editor/Editor.mocks.d.ts +7 -1
  192. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -1
  193. package/jsx/rte/Editor/Editor.mocks.jsx +0 -1
  194. package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -1
  195. package/jsx/rte/Editor/Editor.stories.d.ts +5 -1
  196. package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
  197. package/jsx/rte/Editor/Editor.stories.jsx +54 -9
  198. package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
  199. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts +1 -1
  200. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -1
  201. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -1
  202. package/jsx/social/Chat/Chat.mocks.d.ts +5 -17
  203. package/jsx/social/Chat/Chat.mocks.d.ts.map +1 -1
  204. package/jsx/social/Chat/Chat.mocks.js +1 -21
  205. package/jsx/social/Chat/Chat.mocks.js.map +1 -1
  206. package/jsx/social/Chat/Chat.stories.d.ts +4 -0
  207. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  208. package/jsx/social/Chat/Chat.stories.jsx +100 -42
  209. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  210. package/jsx/social/Email/Email.mocks.d.ts +5 -5
  211. package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
  212. package/jsx/social/Email/Email.mocks.jsx.map +1 -1
  213. package/jsx/social/Email/Email.stories.d.ts +4 -0
  214. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  215. package/jsx/social/Email/Email.stories.jsx +48 -21
  216. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  217. package/jsx/social/Feed/Feed.mocks.d.ts +4 -4
  218. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
  219. package/jsx/social/Feed/Feed.mocks.jsx +24 -0
  220. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
  221. package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
  222. package/jsx/social/Feed/Feed.stories.jsx +70 -16
  223. package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
  224. package/jsx/social/Feed/FeedNewPost.mocks.d.ts +1 -1
  225. package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +1 -1
  226. package/jsx/social/Feed/FeedNewPost.mocks.jsx.map +1 -1
  227. package/jsx/social/Feed/FeedPost.mocks.d.ts.map +1 -1
  228. package/jsx/social/Feed/FeedPost.mocks.jsx +32 -17
  229. package/jsx/social/Feed/FeedPost.mocks.jsx.map +1 -1
  230. package/jsx/social/Feed/FeedReply.mocks.d.ts.map +1 -1
  231. package/jsx/social/Feed/FeedReply.mocks.jsx +24 -17
  232. package/jsx/social/Feed/FeedReply.mocks.jsx.map +1 -1
  233. package/jsx/work/Article/Article.mocks.d.ts +4 -0
  234. package/jsx/work/Article/Article.mocks.d.ts.map +1 -1
  235. package/jsx/work/Article/Article.mocks.js +7 -3
  236. package/jsx/work/Article/Article.mocks.js.map +1 -1
  237. package/jsx/work/Article/Article.stories.d.ts +1 -0
  238. package/jsx/work/Article/Article.stories.d.ts.map +1 -1
  239. package/jsx/work/Article/Article.stories.jsx +77 -34
  240. package/jsx/work/Article/Article.stories.jsx.map +1 -1
  241. package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts +11 -0
  242. package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts.map +1 -0
  243. package/jsx/work/ArticleList/ArticleBuddy.stories.jsx +62 -0
  244. package/jsx/work/ArticleList/ArticleBuddy.stories.jsx.map +1 -0
  245. package/jsx/work/ArticleList/ArticleList.mocks.d.ts +39 -20
  246. package/jsx/work/ArticleList/ArticleList.mocks.d.ts.map +1 -1
  247. package/jsx/work/ArticleList/ArticleList.mocks.js +164 -78
  248. package/jsx/work/ArticleList/ArticleList.mocks.js.map +1 -1
  249. package/jsx/work/ArticleList/ArticleList.stories.d.ts +1 -0
  250. package/jsx/work/ArticleList/ArticleList.stories.d.ts.map +1 -1
  251. package/jsx/work/ArticleList/ArticleList.stories.jsx +219 -32
  252. package/jsx/work/ArticleList/ArticleList.stories.jsx.map +1 -1
  253. package/jsx/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  254. package/jsx/work/CaseView/Attachments.mocks.jsx +1 -1
  255. package/jsx/work/CaseView/Attachments.mocks.jsx.map +1 -1
  256. package/jsx/work/CaseView/CaseView.mocks.d.ts +16 -6
  257. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  258. package/jsx/work/CaseView/CaseView.mocks.jsx +69 -14
  259. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  260. package/jsx/work/CaseView/CaseView.stories.d.ts +1 -1
  261. package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
  262. package/jsx/work/CaseView/CaseView.stories.jsx +0 -9
  263. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
  264. package/jsx/work/CaseView/Pulse.mocks.d.ts +1 -1
  265. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  266. package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -1
  267. package/jsx/work/Details/Details.stories.d.ts +2 -0
  268. package/jsx/work/Details/Details.stories.d.ts.map +1 -1
  269. package/jsx/work/Details/Details.stories.jsx +29 -5
  270. package/jsx/work/Details/Details.stories.jsx.map +1 -1
  271. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -1
  272. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  273. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx +2 -252
  274. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  275. package/jsx/{cs → work}/InteractionNotification/InteractionNotification.stories.d.ts +1 -0
  276. package/jsx/work/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -0
  277. package/jsx/{cs → work}/InteractionNotification/InteractionNotification.stories.jsx +6 -4
  278. package/jsx/work/InteractionNotification/InteractionNotification.stories.jsx.map +1 -0
  279. package/jsx/work/SearchResults/SearchResults.mocks.d.ts +3 -3
  280. package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  281. package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +1 -1
  282. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +2 -2
  283. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  284. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -1
  285. package/jsx/work/Timeline/Timeline.mocks.d.ts +1 -1
  286. package/jsx/work/Timeline/Timeline.mocks.d.ts.map +1 -1
  287. package/jsx/work/Timeline/Timeline.mocks.jsx.map +1 -1
  288. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  289. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx +4 -11
  290. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  291. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +4 -3
  292. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
  293. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx +11 -20
  294. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +1 -1
  295. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +1 -1
  296. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -1
  297. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -1
  298. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts +1 -1
  299. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  300. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  301. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +1 -1
  302. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -1
  303. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -1
  304. package/lib/core/AIButton/AIButton.mocks.d.ts +1 -1
  305. package/lib/core/AIButton/AIButton.mocks.d.ts.map +1 -1
  306. package/lib/core/AIButton/AIButton.mocks.js.map +1 -1
  307. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts +2 -2
  308. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
  309. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js +1 -1
  310. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js.map +1 -1
  311. package/lib/core/AppShell/AppShell.mocks.d.ts +1 -1
  312. package/lib/core/AppShell/AppShell.mocks.d.ts.map +1 -1
  313. package/lib/core/AppShell/AppShell.mocks.js.map +1 -1
  314. package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -1
  315. package/lib/core/Avatar/Avatar.stories.js +1 -2
  316. package/lib/core/Avatar/Avatar.stories.js.map +1 -1
  317. package/lib/core/Badges/Status.stories.js +2 -2
  318. package/lib/core/Badges/Status.stories.js.map +1 -1
  319. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
  320. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
  321. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
  322. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
  323. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -1
  324. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  325. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +39 -11
  326. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
  327. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  328. package/lib/core/Checkbox/Checkbox.stories.js +0 -3
  329. package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
  330. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  331. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +4 -10
  332. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
  333. package/lib/core/ColorPicker/ColorPicker.stories.js +1 -2
  334. package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
  335. package/lib/core/ComboBox/ComboBox.mocks.d.ts +3 -1
  336. package/lib/core/ComboBox/ComboBox.mocks.d.ts.map +1 -1
  337. package/lib/core/ComboBox/ComboBox.mocks.js +3 -0
  338. package/lib/core/ComboBox/ComboBox.mocks.js.map +1 -1
  339. package/lib/core/ComboBox/ComboBox.stories.d.ts +1 -0
  340. package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  341. package/lib/core/ComboBox/ComboBox.stories.js +15 -13
  342. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
  343. package/lib/core/CompositeInput/CompositeInput.mocks.d.ts +1 -1
  344. package/lib/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -1
  345. package/lib/core/CompositeInput/CompositeInput.mocks.js.map +1 -1
  346. package/lib/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
  347. package/lib/core/CompositeInput/CompositeInput.stories.js +1 -3
  348. package/lib/core/CompositeInput/CompositeInput.stories.js.map +1 -1
  349. package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
  350. package/lib/core/CreditCard/CreditCard.stories.js +0 -1
  351. package/lib/core/CreditCard/CreditCard.stories.js.map +1 -1
  352. package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
  353. package/lib/core/Currency/Currency.stories.js +0 -1
  354. package/lib/core/Currency/Currency.stories.js.map +1 -1
  355. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
  356. package/lib/core/DateTime/DateTime.stories.js +0 -10
  357. package/lib/core/DateTime/DateTime.stories.js.map +1 -1
  358. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
  359. package/lib/core/DateTime/DateTimeDisplay.stories.js +10 -5
  360. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
  361. package/lib/core/Dialog/FormDialog.mocks.d.ts +1 -1
  362. package/lib/core/Dialog/FormDialog.mocks.d.ts.map +1 -1
  363. package/lib/core/Dialog/FormDialog.mocks.js.map +1 -1
  364. package/lib/core/Dialog/InfoDialog.mocks.d.ts.map +1 -1
  365. package/lib/core/Dialog/InfoDialog.mocks.js.map +1 -1
  366. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  367. package/lib/core/FieldGroup/FieldGroup.stories.js +6 -2
  368. package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
  369. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +1 -1
  370. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  371. package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -1
  372. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
  373. package/lib/core/File/FileDisplay.stories.js +3 -1
  374. package/lib/core/File/FileDisplay.stories.js.map +1 -1
  375. package/lib/core/File/FileInput.stories.d.ts +1 -0
  376. package/lib/core/File/FileInput.stories.d.ts.map +1 -1
  377. package/lib/core/File/FileInput.stories.js +20 -7
  378. package/lib/core/File/FileInput.stories.js.map +1 -1
  379. package/lib/{work/CaseView → core/File}/FileService.mock.d.ts +2 -2
  380. package/lib/core/File/FileService.mock.d.ts.map +1 -0
  381. package/lib/core/File/FileService.mock.js.map +1 -0
  382. package/lib/core/File/MockFileInput.d.ts +6 -0
  383. package/lib/core/File/MockFileInput.d.ts.map +1 -0
  384. package/lib/core/File/MockFileInput.js +25 -0
  385. package/lib/core/File/MockFileInput.js.map +1 -0
  386. package/lib/core/Form/Form.mocks.d.ts.map +1 -1
  387. package/lib/core/Form/Form.mocks.js +48 -3
  388. package/lib/core/Form/Form.mocks.js.map +1 -1
  389. package/lib/core/Icon/Icon.mocks.d.ts +24 -1
  390. package/lib/core/Icon/Icon.mocks.d.ts.map +1 -1
  391. package/lib/core/Icon/Icon.mocks.js +23 -0
  392. package/lib/core/Icon/Icon.mocks.js.map +1 -1
  393. package/lib/core/Icon/Icon.stories.d.ts +11 -1
  394. package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
  395. package/lib/core/Icon/Icon.stories.js +41 -7
  396. package/lib/core/Icon/Icon.stories.js.map +1 -1
  397. package/lib/core/Input/Input.stories.d.ts.map +1 -1
  398. package/lib/core/Input/Input.stories.js +0 -1
  399. package/lib/core/Input/Input.stories.js.map +1 -1
  400. package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
  401. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +3 -3
  402. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
  403. package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -1
  404. package/lib/core/ListToolbar/ListToolbar.stories.d.ts +1 -0
  405. package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  406. package/lib/core/ListToolbar/ListToolbar.stories.js +14 -5
  407. package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -1
  408. package/lib/core/LiveLog/LiveLog.mocks.d.ts.map +1 -1
  409. package/lib/core/LiveLog/LiveLog.mocks.js.map +1 -1
  410. package/lib/core/Location/Location.stories.d.ts.map +1 -1
  411. package/lib/core/Location/Location.stories.js +0 -1
  412. package/lib/core/Location/Location.stories.js.map +1 -1
  413. package/lib/core/Menu/Menu.mocks.d.ts +1 -1
  414. package/lib/core/Menu/Menu.mocks.d.ts.map +1 -1
  415. package/lib/core/Menu/Menu.mocks.js.map +1 -1
  416. package/lib/core/Modal/Modal.stories.d.ts +1 -0
  417. package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
  418. package/lib/core/Modal/Modal.stories.js +14 -3
  419. package/lib/core/Modal/Modal.stories.js.map +1 -1
  420. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts +2 -2
  421. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
  422. package/lib/core/MultiStepForm/MultiStepForm.mocks.js.map +1 -1
  423. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts +1 -1
  424. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  425. package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +1 -1
  426. package/lib/core/Number/Number.stories.d.ts.map +1 -1
  427. package/lib/core/Number/Number.stories.js +6 -2
  428. package/lib/core/Number/Number.stories.js.map +1 -1
  429. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
  430. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  431. package/lib/core/PageTemplates/PageTemplates.mocks.js.map +1 -1
  432. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  433. package/lib/core/PageTemplates/PageTemplates.stories.js +1 -1
  434. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  435. package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
  436. package/lib/core/Phone/Phone.stories.js +0 -1
  437. package/lib/core/Phone/Phone.stories.js.map +1 -1
  438. package/lib/core/Popover/Popover.mocks.d.ts +1 -1
  439. package/lib/core/Popover/Popover.mocks.d.ts.map +1 -1
  440. package/lib/core/Popover/Popover.mocks.js.map +1 -1
  441. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  442. package/lib/core/RadioButton/RadioButton.stories.js +0 -3
  443. package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
  444. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  445. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +4 -10
  446. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
  447. package/lib/core/Select/Select.stories.d.ts.map +1 -1
  448. package/lib/core/Select/Select.stories.js +0 -1
  449. package/lib/core/Select/Select.stories.js.map +1 -1
  450. package/lib/core/Slider/Slider.stories.d.ts +1 -0
  451. package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
  452. package/lib/core/Slider/Slider.stories.js +11 -5
  453. package/lib/core/Slider/Slider.stories.js.map +1 -1
  454. package/lib/core/SummaryList/SummaryList.mocks.d.ts +2 -2
  455. package/lib/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
  456. package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -1
  457. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
  458. package/lib/core/TextArea/TextArea.stories.js +0 -1
  459. package/lib/core/TextArea/TextArea.stories.js.map +1 -1
  460. package/lib/core/Tree/Tree.mocks.js.map +1 -1
  461. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +1 -1
  462. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -1
  463. package/lib/dnd/DragDropList/DragDropList.mocks.js.map +1 -1
  464. package/lib/dnd/StandardDragDropList/Demo.d.ts +1 -1
  465. package/lib/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
  466. package/lib/dnd/StandardDragDropList/Demo.js.map +1 -1
  467. package/lib/dnd/StandardDragDropList/GroupConfig.d.ts +1 -1
  468. package/lib/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -1
  469. package/lib/dnd/StandardDragDropList/GroupConfig.js.map +1 -1
  470. package/lib/dnd/StandardDragDropList/ItemConfig.d.ts +2 -2
  471. package/lib/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -1
  472. package/lib/dnd/StandardDragDropList/ItemConfig.js.map +1 -1
  473. package/lib/dnd/StandardDragDropList/Popover.d.ts +2 -2
  474. package/lib/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
  475. package/lib/dnd/StandardDragDropList/Popover.js.map +1 -1
  476. package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts +3 -3
  477. package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -1
  478. package/lib/dnd/StandardDragDropList/SelectionMenu.js.map +1 -1
  479. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +2 -2
  480. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  481. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -1
  482. package/lib/rte/DynamicContentEditor/FieldSelector.d.ts +3 -3
  483. package/lib/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -1
  484. package/lib/rte/DynamicContentEditor/FieldSelector.js.map +1 -1
  485. package/lib/rte/Editor/Editor.mocks.d.ts +7 -1
  486. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -1
  487. package/lib/rte/Editor/Editor.mocks.js +0 -1
  488. package/lib/rte/Editor/Editor.mocks.js.map +1 -1
  489. package/lib/rte/Editor/Editor.stories.d.ts +5 -1
  490. package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
  491. package/lib/rte/Editor/Editor.stories.js +40 -9
  492. package/lib/rte/Editor/Editor.stories.js.map +1 -1
  493. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts +1 -1
  494. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -1
  495. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +1 -1
  496. package/lib/social/Chat/Chat.mocks.d.ts +5 -17
  497. package/lib/social/Chat/Chat.mocks.d.ts.map +1 -1
  498. package/lib/social/Chat/Chat.mocks.js +1 -21
  499. package/lib/social/Chat/Chat.mocks.js.map +1 -1
  500. package/lib/social/Chat/Chat.stories.d.ts +4 -0
  501. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  502. package/lib/social/Chat/Chat.stories.js +101 -38
  503. package/lib/social/Chat/Chat.stories.js.map +1 -1
  504. package/lib/social/Email/Email.mocks.d.ts +5 -5
  505. package/lib/social/Email/Email.mocks.d.ts.map +1 -1
  506. package/lib/social/Email/Email.mocks.js.map +1 -1
  507. package/lib/social/Email/Email.stories.d.ts +4 -0
  508. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  509. package/lib/social/Email/Email.stories.js +48 -26
  510. package/lib/social/Email/Email.stories.js.map +1 -1
  511. package/lib/social/Feed/Feed.mocks.d.ts +4 -4
  512. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
  513. package/lib/social/Feed/Feed.mocks.js +24 -0
  514. package/lib/social/Feed/Feed.mocks.js.map +1 -1
  515. package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
  516. package/lib/social/Feed/Feed.stories.js +70 -16
  517. package/lib/social/Feed/Feed.stories.js.map +1 -1
  518. package/lib/social/Feed/FeedNewPost.mocks.d.ts +1 -1
  519. package/lib/social/Feed/FeedNewPost.mocks.d.ts.map +1 -1
  520. package/lib/social/Feed/FeedNewPost.mocks.js.map +1 -1
  521. package/lib/social/Feed/FeedPost.mocks.d.ts.map +1 -1
  522. package/lib/social/Feed/FeedPost.mocks.js +32 -17
  523. package/lib/social/Feed/FeedPost.mocks.js.map +1 -1
  524. package/lib/social/Feed/FeedReply.mocks.d.ts.map +1 -1
  525. package/lib/social/Feed/FeedReply.mocks.js +23 -16
  526. package/lib/social/Feed/FeedReply.mocks.js.map +1 -1
  527. package/lib/work/Article/Article.mocks.d.ts +4 -0
  528. package/lib/work/Article/Article.mocks.d.ts.map +1 -1
  529. package/lib/work/Article/Article.mocks.js +7 -3
  530. package/lib/work/Article/Article.mocks.js.map +1 -1
  531. package/lib/work/Article/Article.stories.d.ts +1 -0
  532. package/lib/work/Article/Article.stories.d.ts.map +1 -1
  533. package/lib/work/Article/Article.stories.js +78 -34
  534. package/lib/work/Article/Article.stories.js.map +1 -1
  535. package/lib/work/ArticleList/ArticleBuddy.stories.d.ts +11 -0
  536. package/lib/work/ArticleList/ArticleBuddy.stories.d.ts.map +1 -0
  537. package/lib/work/ArticleList/ArticleBuddy.stories.js +63 -0
  538. package/lib/work/ArticleList/ArticleBuddy.stories.js.map +1 -0
  539. package/lib/work/ArticleList/ArticleList.mocks.d.ts +39 -20
  540. package/lib/work/ArticleList/ArticleList.mocks.d.ts.map +1 -1
  541. package/lib/work/ArticleList/ArticleList.mocks.js +164 -78
  542. package/lib/work/ArticleList/ArticleList.mocks.js.map +1 -1
  543. package/lib/work/ArticleList/ArticleList.stories.d.ts +1 -0
  544. package/lib/work/ArticleList/ArticleList.stories.d.ts.map +1 -1
  545. package/lib/work/ArticleList/ArticleList.stories.js +219 -32
  546. package/lib/work/ArticleList/ArticleList.stories.js.map +1 -1
  547. package/lib/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  548. package/lib/work/CaseView/Attachments.mocks.js +1 -1
  549. package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
  550. package/lib/work/CaseView/CaseView.mocks.d.ts +16 -6
  551. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  552. package/lib/work/CaseView/CaseView.mocks.js +67 -14
  553. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  554. package/lib/work/CaseView/CaseView.stories.d.ts +1 -1
  555. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
  556. package/lib/work/CaseView/CaseView.stories.js +0 -11
  557. package/lib/work/CaseView/CaseView.stories.js.map +1 -1
  558. package/lib/work/CaseView/Pulse.mocks.d.ts +1 -1
  559. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  560. package/lib/work/CaseView/Pulse.mocks.js.map +1 -1
  561. package/lib/work/Details/Details.stories.d.ts +2 -0
  562. package/lib/work/Details/Details.stories.d.ts.map +1 -1
  563. package/lib/work/Details/Details.stories.js +13 -5
  564. package/lib/work/Details/Details.stories.js.map +1 -1
  565. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -1
  566. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  567. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js +3 -235
  568. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  569. package/lib/{cs → work}/InteractionNotification/InteractionNotification.stories.d.ts +1 -0
  570. package/lib/work/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -0
  571. package/lib/{cs → work}/InteractionNotification/InteractionNotification.stories.js +6 -4
  572. package/lib/work/InteractionNotification/InteractionNotification.stories.js.map +1 -0
  573. package/lib/work/SearchResults/SearchResults.mocks.d.ts +3 -3
  574. package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  575. package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -1
  576. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts +2 -2
  577. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  578. package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -1
  579. package/lib/work/Timeline/Timeline.mocks.d.ts +1 -1
  580. package/lib/work/Timeline/Timeline.mocks.d.ts.map +1 -1
  581. package/lib/work/Timeline/Timeline.mocks.js.map +1 -1
  582. package/lib/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  583. package/lib/wss/PageTemplates/PageTemplates.stories.js +4 -3
  584. package/lib/wss/PageTemplates/PageTemplates.stories.js.map +1 -1
  585. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts +4 -3
  586. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
  587. package/lib/wss/QuickCreate/QuickCreate.stories.js +11 -18
  588. package/lib/wss/QuickCreate/QuickCreate.stories.js.map +1 -1
  589. package/package.json +16 -25
  590. package/jsx/build/AppShell/AppShell.mocks.d.ts +0 -44
  591. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +0 -1
  592. package/jsx/build/AppShell/AppShell.mocks.jsx +0 -419
  593. package/jsx/build/AppShell/AppShell.mocks.jsx.map +0 -1
  594. package/jsx/build/AppShell/AppShell.stories.d.ts +0 -20
  595. package/jsx/build/AppShell/AppShell.stories.d.ts.map +0 -1
  596. package/jsx/build/AppShell/AppShell.stories.jsx +0 -201
  597. package/jsx/build/AppShell/AppShell.stories.jsx.map +0 -1
  598. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
  599. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
  600. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx +0 -101
  601. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +0 -1
  602. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts +0 -11
  603. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
  604. package/jsx/build/DynamicContentEditor/FieldSelector.jsx +0 -80
  605. package/jsx/build/DynamicContentEditor/FieldSelector.jsx.map +0 -1
  606. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +0 -64
  607. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +0 -1
  608. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js +0 -599
  609. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +0 -1
  610. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +0 -29
  611. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +0 -1
  612. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx +0 -344
  613. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx.map +0 -1
  614. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
  615. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
  616. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
  617. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
  618. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +0 -28
  619. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
  620. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx +0 -559
  621. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +0 -1
  622. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +0 -11
  623. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
  624. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +0 -501
  625. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +0 -1
  626. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts +0 -2
  627. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts.map +0 -1
  628. package/jsx/build/FlowModeller/FlowModeller.styles.js +0 -8
  629. package/jsx/build/FlowModeller/FlowModeller.styles.js.map +0 -1
  630. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts +0 -3
  631. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +0 -1
  632. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js +0 -45
  633. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js.map +0 -1
  634. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +0 -5
  635. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +0 -1
  636. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx +0 -44
  637. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +0 -1
  638. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +0 -204
  639. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
  640. package/jsx/build/LifeCycle/LifeCycle.mocks.js +0 -1256
  641. package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
  642. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
  643. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
  644. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +0 -873
  645. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +0 -1
  646. package/jsx/build/LifeCycle/utils.d.ts +0 -123
  647. package/jsx/build/LifeCycle/utils.d.ts.map +0 -1
  648. package/jsx/build/LifeCycle/utils.js +0 -302
  649. package/jsx/build/LifeCycle/utils.js.map +0 -1
  650. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +0 -10
  651. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +0 -1
  652. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js +0 -20
  653. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +0 -1
  654. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +0 -8
  655. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +0 -1
  656. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx +0 -38
  657. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx.map +0 -1
  658. package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts +0 -7
  659. package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +0 -1
  660. package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx +0 -78
  661. package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx.map +0 -1
  662. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +0 -64
  663. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +0 -1
  664. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +0 -397
  665. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +0 -1
  666. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +0 -8
  667. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +0 -1
  668. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +0 -258
  669. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +0 -1
  670. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts +0 -4
  671. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts.map +0 -1
  672. package/jsx/build/ObjectSelect/ObjectSelect.styles.js +0 -27
  673. package/jsx/build/ObjectSelect/ObjectSelect.styles.js.map +0 -1
  674. package/jsx/build/PageBanner/PageBanner.stories.d.ts +0 -15
  675. package/jsx/build/PageBanner/PageBanner.stories.d.ts.map +0 -1
  676. package/jsx/build/PageBanner/PageBanner.stories.jsx +0 -41
  677. package/jsx/build/PageBanner/PageBanner.stories.jsx.map +0 -1
  678. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +0 -21
  679. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +0 -1
  680. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +0 -24
  681. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +0 -1
  682. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +0 -16
  683. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
  684. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +0 -49
  685. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +0 -1
  686. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +0 -17
  687. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  688. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +0 -144
  689. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +0 -1
  690. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +0 -21
  691. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  692. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +0 -255
  693. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +0 -1
  694. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts +0 -17
  695. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts.map +0 -1
  696. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx +0 -42
  697. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx.map +0 -1
  698. package/jsx/build/Workbench/Workbench.mocks.d.ts +0 -9
  699. package/jsx/build/Workbench/Workbench.mocks.d.ts.map +0 -1
  700. package/jsx/build/Workbench/Workbench.mocks.js +0 -67
  701. package/jsx/build/Workbench/Workbench.mocks.js.map +0 -1
  702. package/jsx/build/Workbench/Workbench.stories.d.ts +0 -11
  703. package/jsx/build/Workbench/Workbench.stories.d.ts.map +0 -1
  704. package/jsx/build/Workbench/Workbench.stories.jsx +0 -288
  705. package/jsx/build/Workbench/Workbench.stories.jsx.map +0 -1
  706. package/jsx/core/ComboBox/ComboBox.mocks.js.map +0 -1
  707. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts +0 -90
  708. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts.map +0 -1
  709. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx +0 -432
  710. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx.map +0 -1
  711. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts +0 -13
  712. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts.map +0 -1
  713. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx +0 -173
  714. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx.map +0 -1
  715. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -21
  716. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
  717. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js +0 -252
  718. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
  719. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -17
  720. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
  721. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +0 -330
  722. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +0 -1
  723. package/jsx/cs/DialPad/DialPad.stories.d.ts +0 -9
  724. package/jsx/cs/DialPad/DialPad.stories.d.ts.map +0 -1
  725. package/jsx/cs/DialPad/DialPad.stories.jsx +0 -20
  726. package/jsx/cs/DialPad/DialPad.stories.jsx.map +0 -1
  727. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
  728. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
  729. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
  730. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
  731. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  732. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +0 -1
  733. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts +0 -11
  734. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +0 -1
  735. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js +0 -29
  736. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js.map +0 -1
  737. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -11
  738. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
  739. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +0 -87
  740. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +0 -1
  741. package/jsx/cs/Picker/Picker.stories.d.ts +0 -11
  742. package/jsx/cs/Picker/Picker.stories.d.ts.map +0 -1
  743. package/jsx/cs/Picker/Picker.stories.jsx +0 -64
  744. package/jsx/cs/Picker/Picker.stories.jsx.map +0 -1
  745. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +0 -30
  746. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
  747. package/jsx/cs/TaskManager/TaskManager.mocks.js +0 -228
  748. package/jsx/cs/TaskManager/TaskManager.mocks.js.map +0 -1
  749. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +0 -15
  750. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
  751. package/jsx/cs/TaskManager/TaskManager.stories.jsx +0 -420
  752. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +0 -1
  753. package/jsx/cs/TaskManager/TaskManager.styles.d.ts +0 -3
  754. package/jsx/cs/TaskManager/TaskManager.styles.d.ts.map +0 -1
  755. package/jsx/cs/TaskManager/TaskManager.styles.js +0 -9
  756. package/jsx/cs/TaskManager/TaskManager.styles.js.map +0 -1
  757. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts +0 -6
  758. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts.map +0 -1
  759. package/jsx/tools/Clipboard/Clipboard.mocks.jsx +0 -81
  760. package/jsx/tools/Clipboard/Clipboard.mocks.jsx.map +0 -1
  761. package/jsx/tools/Clipboard/Clipboard.stories.d.ts +0 -6
  762. package/jsx/tools/Clipboard/Clipboard.stories.d.ts.map +0 -1
  763. package/jsx/tools/Clipboard/Clipboard.stories.jsx +0 -67
  764. package/jsx/tools/Clipboard/Clipboard.stories.jsx.map +0 -1
  765. package/jsx/tools/DevTools/DevTools.mocks.d.ts +0 -3
  766. package/jsx/tools/DevTools/DevTools.mocks.d.ts.map +0 -1
  767. package/jsx/tools/DevTools/DevTools.mocks.js +0 -3
  768. package/jsx/tools/DevTools/DevTools.mocks.js.map +0 -1
  769. package/jsx/tools/DevTools/DevTools.stories.d.ts +0 -10
  770. package/jsx/tools/DevTools/DevTools.stories.d.ts.map +0 -1
  771. package/jsx/tools/DevTools/DevTools.stories.jsx +0 -33
  772. package/jsx/tools/DevTools/DevTools.stories.jsx.map +0 -1
  773. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -20
  774. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts.map +0 -1
  775. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx +0 -80
  776. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx.map +0 -1
  777. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts +0 -20
  778. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +0 -1
  779. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx +0 -184
  780. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +0 -1
  781. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts +0 -2
  782. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts.map +0 -1
  783. package/jsx/tools/PreviewShell/PreviewShell.styles.js +0 -6
  784. package/jsx/tools/PreviewShell/PreviewShell.styles.js.map +0 -1
  785. package/jsx/work/CaseView/FileService.mock.d.ts.map +0 -1
  786. package/jsx/work/CaseView/FileService.mock.jsx.map +0 -1
  787. package/lib/build/AppShell/AppShell.mocks.d.ts +0 -44
  788. package/lib/build/AppShell/AppShell.mocks.d.ts.map +0 -1
  789. package/lib/build/AppShell/AppShell.mocks.js +0 -419
  790. package/lib/build/AppShell/AppShell.mocks.js.map +0 -1
  791. package/lib/build/AppShell/AppShell.stories.d.ts +0 -20
  792. package/lib/build/AppShell/AppShell.stories.d.ts.map +0 -1
  793. package/lib/build/AppShell/AppShell.stories.js +0 -200
  794. package/lib/build/AppShell/AppShell.stories.js.map +0 -1
  795. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
  796. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
  797. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js +0 -85
  798. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +0 -1
  799. package/lib/build/DynamicContentEditor/FieldSelector.d.ts +0 -14
  800. package/lib/build/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
  801. package/lib/build/DynamicContentEditor/FieldSelector.js +0 -81
  802. package/lib/build/DynamicContentEditor/FieldSelector.js.map +0 -1
  803. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +0 -64
  804. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +0 -1
  805. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js +0 -599
  806. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +0 -1
  807. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +0 -29
  808. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +0 -1
  809. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js +0 -339
  810. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js.map +0 -1
  811. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
  812. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
  813. package/lib/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
  814. package/lib/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
  815. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +0 -28
  816. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
  817. package/lib/build/FlowModeller/FlowModeller.mocks.js +0 -536
  818. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
  819. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +0 -11
  820. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
  821. package/lib/build/FlowModeller/FlowModeller.stories.js +0 -481
  822. package/lib/build/FlowModeller/FlowModeller.stories.js.map +0 -1
  823. package/lib/build/FlowModeller/FlowModeller.styles.d.ts +0 -2
  824. package/lib/build/FlowModeller/FlowModeller.styles.d.ts.map +0 -1
  825. package/lib/build/FlowModeller/FlowModeller.styles.js +0 -8
  826. package/lib/build/FlowModeller/FlowModeller.styles.js.map +0 -1
  827. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts +0 -3
  828. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +0 -1
  829. package/lib/build/ItemLibrary/LibraryPicker.mocks.js +0 -45
  830. package/lib/build/ItemLibrary/LibraryPicker.mocks.js.map +0 -1
  831. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +0 -5
  832. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +0 -1
  833. package/lib/build/ItemLibrary/LibraryPicker.stories.js +0 -39
  834. package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +0 -1
  835. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +0 -204
  836. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
  837. package/lib/build/LifeCycle/LifeCycle.mocks.js +0 -1256
  838. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
  839. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
  840. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
  841. package/lib/build/LifeCycle/LifeCycle.stories.js +0 -870
  842. package/lib/build/LifeCycle/LifeCycle.stories.js.map +0 -1
  843. package/lib/build/LifeCycle/utils.d.ts +0 -123
  844. package/lib/build/LifeCycle/utils.d.ts.map +0 -1
  845. package/lib/build/LifeCycle/utils.js +0 -302
  846. package/lib/build/LifeCycle/utils.js.map +0 -1
  847. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +0 -10
  848. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +0 -1
  849. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js +0 -20
  850. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +0 -1
  851. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +0 -8
  852. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +0 -1
  853. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js +0 -39
  854. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js.map +0 -1
  855. package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts +0 -7
  856. package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +0 -1
  857. package/lib/build/ObjectPreview/ObjectPreview.mocks.js +0 -74
  858. package/lib/build/ObjectPreview/ObjectPreview.mocks.js.map +0 -1
  859. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +0 -64
  860. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +0 -1
  861. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +0 -370
  862. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +0 -1
  863. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +0 -8
  864. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +0 -1
  865. package/lib/build/ObjectSelect/ObjectSelect.stories.js +0 -240
  866. package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +0 -1
  867. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts +0 -4
  868. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts.map +0 -1
  869. package/lib/build/ObjectSelect/ObjectSelect.styles.js +0 -27
  870. package/lib/build/ObjectSelect/ObjectSelect.styles.js.map +0 -1
  871. package/lib/build/PageBanner/PageBanner.stories.d.ts +0 -15
  872. package/lib/build/PageBanner/PageBanner.stories.d.ts.map +0 -1
  873. package/lib/build/PageBanner/PageBanner.stories.js +0 -42
  874. package/lib/build/PageBanner/PageBanner.stories.js.map +0 -1
  875. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +0 -21
  876. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +0 -1
  877. package/lib/build/PageTemplates/GalleryPage.mocks.js +0 -25
  878. package/lib/build/PageTemplates/GalleryPage.mocks.js.map +0 -1
  879. package/lib/build/PageTemplates/GalleryPage.stories.d.ts +0 -16
  880. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
  881. package/lib/build/PageTemplates/GalleryPage.stories.js +0 -50
  882. package/lib/build/PageTemplates/GalleryPage.stories.js.map +0 -1
  883. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +0 -17
  884. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  885. package/lib/build/PageTemplates/PageTemplates.mocks.js +0 -107
  886. package/lib/build/PageTemplates/PageTemplates.mocks.js.map +0 -1
  887. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +0 -21
  888. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  889. package/lib/build/PageTemplates/PageTemplates.stories.js +0 -246
  890. package/lib/build/PageTemplates/PageTemplates.stories.js.map +0 -1
  891. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts +0 -17
  892. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts.map +0 -1
  893. package/lib/build/PageTemplates/ShowcasePage.stories.js +0 -43
  894. package/lib/build/PageTemplates/ShowcasePage.stories.js.map +0 -1
  895. package/lib/build/Workbench/Workbench.mocks.d.ts +0 -9
  896. package/lib/build/Workbench/Workbench.mocks.d.ts.map +0 -1
  897. package/lib/build/Workbench/Workbench.mocks.js +0 -67
  898. package/lib/build/Workbench/Workbench.mocks.js.map +0 -1
  899. package/lib/build/Workbench/Workbench.stories.d.ts +0 -11
  900. package/lib/build/Workbench/Workbench.stories.d.ts.map +0 -1
  901. package/lib/build/Workbench/Workbench.stories.js +0 -273
  902. package/lib/build/Workbench/Workbench.stories.js.map +0 -1
  903. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts +0 -90
  904. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts.map +0 -1
  905. package/lib/cs/CSAppShell/CSAppShell.mocks.js +0 -385
  906. package/lib/cs/CSAppShell/CSAppShell.mocks.js.map +0 -1
  907. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts +0 -13
  908. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts.map +0 -1
  909. package/lib/cs/CSAppShell/CSAppShell.stories.js +0 -172
  910. package/lib/cs/CSAppShell/CSAppShell.stories.js.map +0 -1
  911. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -21
  912. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
  913. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js +0 -252
  914. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
  915. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -17
  916. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
  917. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +0 -331
  918. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +0 -1
  919. package/lib/cs/DialPad/DialPad.stories.d.ts +0 -9
  920. package/lib/cs/DialPad/DialPad.stories.d.ts.map +0 -1
  921. package/lib/cs/DialPad/DialPad.stories.js +0 -19
  922. package/lib/cs/DialPad/DialPad.stories.js.map +0 -1
  923. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
  924. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
  925. package/lib/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
  926. package/lib/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
  927. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  928. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +0 -1
  929. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts +0 -11
  930. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +0 -1
  931. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js +0 -29
  932. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js.map +0 -1
  933. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -11
  934. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
  935. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +0 -88
  936. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +0 -1
  937. package/lib/cs/Picker/Picker.stories.d.ts +0 -11
  938. package/lib/cs/Picker/Picker.stories.d.ts.map +0 -1
  939. package/lib/cs/Picker/Picker.stories.js +0 -56
  940. package/lib/cs/Picker/Picker.stories.js.map +0 -1
  941. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +0 -30
  942. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
  943. package/lib/cs/TaskManager/TaskManager.mocks.js +0 -228
  944. package/lib/cs/TaskManager/TaskManager.mocks.js.map +0 -1
  945. package/lib/cs/TaskManager/TaskManager.stories.d.ts +0 -15
  946. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
  947. package/lib/cs/TaskManager/TaskManager.stories.js +0 -396
  948. package/lib/cs/TaskManager/TaskManager.stories.js.map +0 -1
  949. package/lib/cs/TaskManager/TaskManager.styles.d.ts +0 -3
  950. package/lib/cs/TaskManager/TaskManager.styles.d.ts.map +0 -1
  951. package/lib/cs/TaskManager/TaskManager.styles.js +0 -9
  952. package/lib/cs/TaskManager/TaskManager.styles.js.map +0 -1
  953. package/lib/tools/Clipboard/Clipboard.mocks.d.ts +0 -6
  954. package/lib/tools/Clipboard/Clipboard.mocks.d.ts.map +0 -1
  955. package/lib/tools/Clipboard/Clipboard.mocks.js +0 -74
  956. package/lib/tools/Clipboard/Clipboard.mocks.js.map +0 -1
  957. package/lib/tools/Clipboard/Clipboard.stories.d.ts +0 -6
  958. package/lib/tools/Clipboard/Clipboard.stories.d.ts.map +0 -1
  959. package/lib/tools/Clipboard/Clipboard.stories.js +0 -74
  960. package/lib/tools/Clipboard/Clipboard.stories.js.map +0 -1
  961. package/lib/tools/DevTools/DevTools.mocks.d.ts +0 -3
  962. package/lib/tools/DevTools/DevTools.mocks.d.ts.map +0 -1
  963. package/lib/tools/DevTools/DevTools.mocks.js +0 -3
  964. package/lib/tools/DevTools/DevTools.mocks.js.map +0 -1
  965. package/lib/tools/DevTools/DevTools.stories.d.ts +0 -10
  966. package/lib/tools/DevTools/DevTools.stories.d.ts.map +0 -1
  967. package/lib/tools/DevTools/DevTools.stories.js +0 -29
  968. package/lib/tools/DevTools/DevTools.stories.js.map +0 -1
  969. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -20
  970. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts.map +0 -1
  971. package/lib/tools/PreviewShell/PreviewShell.mocks.js +0 -77
  972. package/lib/tools/PreviewShell/PreviewShell.mocks.js.map +0 -1
  973. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts +0 -20
  974. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +0 -1
  975. package/lib/tools/PreviewShell/PreviewShell.stories.js +0 -181
  976. package/lib/tools/PreviewShell/PreviewShell.stories.js.map +0 -1
  977. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts +0 -2
  978. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts.map +0 -1
  979. package/lib/tools/PreviewShell/PreviewShell.styles.js +0 -6
  980. package/lib/tools/PreviewShell/PreviewShell.styles.js.map +0 -1
  981. package/lib/work/CaseView/FileService.mock.d.ts.map +0 -1
  982. package/lib/work/CaseView/FileService.mock.js.map +0 -1
  983. /package/jsx/{work/CaseView → core/File}/FileService.mock.jsx +0 -0
  984. /package/lib/{work/CaseView → core/File}/FileService.mock.js +0 -0
@@ -1,6 +1,6 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- import { OmitStrict } from '@pega/cosmos-react-core';
3
- import { SearchResultProps, SearchResultsProps } from '@pega/cosmos-react-work';
1
+ import type { Dispatch, SetStateAction } from 'react';
2
+ import type { OmitStrict } from '@pega/cosmos-react-core';
3
+ import type { SearchResultProps, SearchResultsProps } from '@pega/cosmos-react-work';
4
4
  type ResultMeta = OmitStrict<SearchResultProps, 'link'>;
5
5
  export declare const searchResults: {
6
6
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SearchResults.mocks.d.ts","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAU,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAKhF,KAAK,UAAU,GAAG,UAAU,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;AAiBxD,eAAO,MAAM,aAAa;;;;;GAqCzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,eAChB,SAAS,eAAe,UAAU,GAAG,SAAS,CAAC,CAAC,mBAC3C,SAAS,eAAe,MAAM,GAAG,SAAS,CAAC,CAAC,KAC5D,iBAAiB,EAOnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAAkB,CAAC,SAAS,CAqCxD,CAAC"}
1
+ {"version":3,"file":"SearchResults.mocks.d.ts","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAKrF,KAAK,UAAU,GAAG,UAAU,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;AAiBxD,eAAO,MAAM,aAAa;;;;;GAqCzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,eAChB,SAAS,eAAe,UAAU,GAAG,SAAS,CAAC,CAAC,mBAC3C,SAAS,eAAe,MAAM,GAAG,SAAS,CAAC,CAAC,KAC5D,iBAAiB,EAOnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAAkB,CAAC,SAAS,CAqCxD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchResults.mocks.js","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.mocks.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAc,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAG7D,MAAM,WAAW,GACf,kXAAkX,CAAC;AAIrX,MAAM,aAAa,GAAG,CACpB,MAAkB,EAClB,UAA4D,EAC5D,eAA6D,EAC7D,EAAE;IACF,OAAO;QACL,IAAI,EAAE,YAAY,MAAM,CAAC,EAAE,EAAE;QAC7B,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,GAAG,EAAE;YACd,UAAU,CAAC,MAAM,CAAC,CAAC;YACnB,eAAe,CAAC,WAAW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aAAa,EAAE;YAC3E,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE;SAC/E;KACF;CACF,CAAC","sourcesContent":["import { Dispatch, SetStateAction } from 'react';\n\nimport { OmitStrict, Status } from '@pega/cosmos-react-core';\nimport { SearchResultProps, SearchResultsProps } from '@pega/cosmos-react-work';\n\nconst description =\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec semper, arcu eu sodales accumsan, ante purus fermentum dolor, ac convallis urna nisl eget lectus. Vivamus ut neque et turpis posuere pharetra imperdiet id augue. Nullam porta venenatis pharetra. Donec hendrerit, dolor eleifend vulputate tristique, dui dolor consequat ante, a vestibulum mi neque in purus.';\n\ntype ResultMeta = OmitStrict<SearchResultProps, 'link'>;\n\nconst getResultLink = (\n result: ResultMeta,\n setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>,\n setPreviewTabId: Dispatch<SetStateAction<string | undefined>>\n) => {\n return {\n href: `projects/${result.id}`,\n previewable: true,\n onPreview: () => {\n setPreview(result);\n setPreviewTabId(`summary-${result.id}`);\n }\n };\n};\n\nexport const searchResults = [\n {\n id: 'PROJ-300',\n title: 'The Art of Building Beautiful Demos',\n description,\n meta: ['Completed', 'Low priority', new Date('01/01/21')]\n },\n {\n id: 'PROJ-123',\n title: 'Be Single Minded',\n description,\n meta: ['Blocked', 'Medium priority', new Date('12/31/20')]\n },\n {\n id: 'PROJ-456',\n title: 'Differentiate Yourself and Attract More Attention Sales and Profits',\n description,\n meta: ['Pending', 'High priority', new Date('12/01/20')]\n },\n {\n id: 'PROJ-789',\n title: 'Importance of the Custom Test',\n description,\n meta: ['Completed', 'Medium priority', new Date('01/01/21 08:00:00')]\n },\n {\n id: 'PROJ-100',\n title: 'Improve Your Business Cards and Enhance Your Sales',\n description,\n meta: ['Ready', 'High priority', new Date('12/31/20')]\n },\n {\n id: 'PROJ-200',\n title: 'How to Write Better Advertising',\n description,\n meta: ['Ready', 'Low priority', new Date('12/25/20')]\n }\n];\n\nexport const getInitialResults = (\n setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>,\n setPreviewTabId: Dispatch<SetStateAction<string | undefined>>\n): SearchResultProps[] => {\n return searchResults.map(result => {\n return {\n ...result,\n link: getResultLink(result, setPreview, setPreviewTabId)\n };\n });\n};\n\nexport const initialFilters: SearchResultsProps['filters'] = [\n {\n type: 'select',\n name: 'Status',\n items: [\n {\n id: 'blocked',\n label: <Status variant='urgent'>Blocked</Status>,\n checked: false,\n name: 'Blocked'\n },\n {\n id: 'pending',\n label: <Status variant='pending'>Pending</Status>,\n checked: false,\n name: 'Pending'\n },\n { id: 'ready', label: <Status variant='info'>Ready</Status>, checked: false, name: 'Ready' },\n {\n id: 'completed',\n label: <Status variant='success'>Completed</Status>,\n checked: false,\n name: 'Completed'\n }\n ]\n },\n {\n type: 'select',\n selectType: 'single-select',\n name: 'Last updated',\n items: [\n { id: 'today', label: 'Today', checked: false, name: 'Today' },\n { id: 'yesterday', label: 'Yesterday', checked: false, name: 'Yesterday' },\n { id: '7-days', label: 'Last 7 days', checked: false, name: 'Last 7 days' },\n { id: '30-days', label: 'Last 30 days', checked: false, name: 'Last 30 days' }\n ]\n }\n];\n"]}
1
+ {"version":3,"file":"SearchResults.mocks.js","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.mocks.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAIjD,MAAM,WAAW,GACf,kXAAkX,CAAC;AAIrX,MAAM,aAAa,GAAG,CACpB,MAAkB,EAClB,UAA4D,EAC5D,eAA6D,EAC7D,EAAE;IACF,OAAO;QACL,IAAI,EAAE,YAAY,MAAM,CAAC,EAAE,EAAE;QAC7B,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,GAAG,EAAE;YACd,UAAU,CAAC,MAAM,CAAC,CAAC;YACnB,eAAe,CAAC,WAAW,MAAM,C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AE;YAC3E,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE;SAC/E;KACF;CACF,CAAC","sourcesContent":["import type { Dispatch, SetStateAction } from 'react';\n\nimport { Status } from '@pega/cosmos-react-core';\nimport type { OmitStrict } from '@pega/cosmos-react-core';\nimport type { SearchResultProps, SearchResultsProps } from '@pega/cosmos-react-work';\n\nconst description =\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec semper, arcu eu sodales accumsan, ante purus fermentum dolor, ac convallis urna nisl eget lectus. Vivamus ut neque et turpis posuere pharetra imperdiet id augue. Nullam porta venenatis pharetra. Donec hendrerit, dolor eleifend vulputate tristique, dui dolor consequat ante, a vestibulum mi neque in purus.';\n\ntype ResultMeta = OmitStrict<SearchResultProps, 'link'>;\n\nconst getResultLink = (\n result: ResultMeta,\n setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>,\n setPreviewTabId: Dispatch<SetStateAction<string | undefined>>\n) => {\n return {\n href: `projects/${result.id}`,\n previewable: true,\n onPreview: () => {\n setPreview(result);\n setPreviewTabId(`summary-${result.id}`);\n }\n };\n};\n\nexport const searchResults = [\n {\n id: 'PROJ-300',\n title: 'The Art of Building Beautiful Demos',\n description,\n meta: ['Completed', 'Low priority', new Date('01/01/21')]\n },\n {\n id: 'PROJ-123',\n title: 'Be Single Minded',\n description,\n meta: ['Blocked', 'Medium priority', new Date('12/31/20')]\n },\n {\n id: 'PROJ-456',\n title: 'Differentiate Yourself and Attract More Attention Sales and Profits',\n description,\n meta: ['Pending', 'High priority', new Date('12/01/20')]\n },\n {\n id: 'PROJ-789',\n title: 'Importance of the Custom Test',\n description,\n meta: ['Completed', 'Medium priority', new Date('01/01/21 08:00:00')]\n },\n {\n id: 'PROJ-100',\n title: 'Improve Your Business Cards and Enhance Your Sales',\n description,\n meta: ['Ready', 'High priority', new Date('12/31/20')]\n },\n {\n id: 'PROJ-200',\n title: 'How to Write Better Advertising',\n description,\n meta: ['Ready', 'Low priority', new Date('12/25/20')]\n }\n];\n\nexport const getInitialResults = (\n setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>,\n setPreviewTabId: Dispatch<SetStateAction<string | undefined>>\n): SearchResultProps[] => {\n return searchResults.map(result => {\n return {\n ...result,\n link: getResultLink(result, setPreview, setPreviewTabId)\n };\n });\n};\n\nexport const initialFilters: SearchResultsProps['filters'] = [\n {\n type: 'select',\n name: 'Status',\n items: [\n {\n id: 'blocked',\n label: <Status variant='urgent'>Blocked</Status>,\n checked: false,\n name: 'Blocked'\n },\n {\n id: 'pending',\n label: <Status variant='pending'>Pending</Status>,\n checked: false,\n name: 'Pending'\n },\n { id: 'ready', label: <Status variant='info'>Ready</Status>, checked: false, name: 'Ready' },\n {\n id: 'completed',\n label: <Status variant='success'>Completed</Status>,\n checked: false,\n name: 'Completed'\n }\n ]\n },\n {\n type: 'select',\n selectType: 'single-select',\n name: 'Last updated',\n items: [\n { id: 'today', label: 'Today', checked: false, name: 'Today' },\n { id: 'yesterday', label: 'Yesterday', checked: false, name: 'Yesterday' },\n { id: '7-days', label: 'Last 7 days', checked: false, name: 'Last 7 days' },\n { id: '30-days', label: 'Last 30 days', checked: false, name: 'Last 30 days' }\n ]\n }\n];\n"]}
@@ -1,5 +1,5 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- import { Role, StakeholdersProps, Stakeholder } from '@pega/cosmos-react-work';
1
+ import type { Dispatch, SetStateAction } from 'react';
2
+ import type { Role, StakeholdersProps, Stakeholder } from '@pega/cosmos-react-work';
3
3
  interface MockStakeholderObject extends Stakeholder {
4
4
  role?: Role;
5
5
  data?: StakeholdersProps['form']['rendererProps'];
@@ -1 +1 @@
1
- {"version":3,"file":"Stakeholders.mocks.d.ts","sourceRoot":"","sources":["../../../src/work/Stakeholders/Stakeholders.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAY,MAAM,O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,QAAC,YAAY,EAAE,QAAQ,GAAI,EAC5D,KAAC,KAAK,IAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,EAAC,QAAQ,QAAC,YAAY,EAAE,KAAK,GAAI,EAClE,KAAC,KAAK,IAAC,KAAK,EAAC,WAAW,EAAC,YAAY,EAAE,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,GAAI,IAC9E,CACR,CAAC;IAEF,OAAO,gBAAgB,CAAC,CAAC,CAAC,CACxB,KAAC,UAAU,IAAC,IAAI,EAAE,eAAe,gBAAgB,EAAE,EAAE,UAAU,EAAC,IAAI,YACjE,MAAM,GACI,CACd,CAAC,CAAC,CAAC,CACF,MAAM,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,EAAc,EACgE,EAAE;IAChF,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAA0B,EAAE,CAAC,CAAC;IACtF,yBAAyB;IACzB,MAAM,CAAC,YAAY,CAAC,GAAG,eAAe,CACpC,GAAG,EAAE;QACH,mBAAmB,CAAC,YAAY,CAAC,CAAC;QAClC,EAAE,EAAE,CAAC;IACP,CAAC,EACD,EAAE,KAAK,EAAE,CACV,CAAC;IAEF,OAAO;QACL,gBAAgB,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE;YACjC,OAAO,EAAE,GAAG,WAAW,EAAE,IAAI,EAAE,WAAW,CAAC,IAAI,IAAI,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;QACpE,CAAC,CAAC;QACF,mBAAmB;KACpB,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Dispatch, SetStateAction, useState } from 'react';\n\nimport { Input, Grid, FieldGroup } from '@pega/cosmos-react-core';\nimport { Role, StakeholdersProps, Stakeholder } from '@pega/cosmos-react-work';\n\nimport { useMockListData } from '../../core/SummaryList/SummaryList.mocks';\n\ninterface MockStakeholderObject extends Stakeholder {\n role?: Role;\n data?: StakeholdersProps['form']['rendererProps'];\n}\n\nexport const mockNetworkReq = () =>\n new Promise(resolve => {\n setTimeout(resolve, 2000);\n });\n\n// Mock total count of Stakeholder resource.\nconst count = 20;\n\n// Mock stakeholder roles.\nexport const mockRoles: NonNullable<StakeholdersProps['form']>['roles'] = Array.from(\n { length: 3 },\n (_, i) => ({\n name: `Role-${i + 1}`,\n description: `This is a description of Role-${\n i + 1\n }. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sit amet dolor a mauris imperdiet convallis.`\n })\n);\n\n/**\n * A component that will be rendered internally by Stakeholders when adding or editing.\n * If roles exists, the component will be passed the selected role as a prop.\n * The return content of this will likely be a dynamically rendered view.\n */\nexport const AddAndEditForm = ({\n selectedRoleName,\n firstName,\n lastName,\n email\n}: {\n // Cosmos will pass the selectedRoleName\n selectedRoleName?: Role['name'];\n // Any prop passed to rendererProps will be forwarded here\n firstName?: string;\n lastName?: string;\n email?: string;\n}) => {\n const inputs = (\n <Grid container={{ cols: '1fr', gap: 2 }}>\n <Input label='First name' required defaultValue={firstName} />\n <Input label='Last name' required defaultValue={lastName} />\n <Input type='email' label='Email' required defaultValue={email} />\n <Input label='Job title' defaultValue={firstName ? 'Vice president' : undefined} />\n </Grid>\n );\n\n return selectedRoleName ? (\n <FieldGroup name={`Fields for: ${selectedRoleName}`} headingTag='h3'>\n {inputs}\n </FieldGroup>\n ) : (\n inputs\n );\n};\n\nexport const useMockStakeholders = (\n cb: () => void\n): [MockStakeholderObject[], Dispatch<SetStateAction<MockStakeholderObject[]>>] => {\n const [mockStakeholders, setMockStakeholders] = useState<MockStakeholderObject[]>([]);\n // Grab some mock data...\n const [mockListData] = useMockListData(\n () => {\n setMockStakeholders(mockListData);\n cb();\n },\n { count }\n );\n\n return [\n mockStakeholders.map(stakeholder => {\n return { ...stakeholder, role: stakeholder.role ?? mockRoles[0] };\n }),\n setMockStakeholders\n ];\n};\n"]}
1
+ {"version":3,"file":"Stake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AC,QAAQ,QAAC,YAAY,EAAE,KAAK,GAAI,EAClE,KAAC,KAAK,IAAC,KAAK,EAAC,WAAW,EAAC,YAAY,EAAE,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,GAAI,IAC9E,CACR,CAAC;IAEF,OAAO,gBAAgB,CAAC,CAAC,CAAC,CACxB,KAAC,UAAU,IAAC,IAAI,EAAE,eAAe,gBAAgB,EAAE,EAAE,UAAU,EAAC,IAAI,YACjE,MAAM,GACI,CACd,CAAC,CAAC,CAAC,CACF,MAAM,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,EAAc,EACgE,EAAE;IAChF,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAA0B,EAAE,CAAC,CAAC;IACtF,yBAAyB;IACzB,MAAM,CAAC,YAAY,CAAC,GAAG,eAAe,CACpC,GAAG,EAAE;QACH,mBAAmB,CAAC,YAAY,CAAC,CAAC;QAClC,EAAE,EAAE,CAAC;IACP,CAAC,EACD,EAAE,KAAK,EAAE,CACV,CAAC;IAEF,OAAO;QACL,gBAAgB,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE;YACjC,OAAO,EAAE,GAAG,WAAW,EAAE,IAAI,EAAE,WAAW,CAAC,IAAI,IAAI,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;QACpE,CAAC,CAAC;QACF,mBAAmB;KACpB,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useState } from 'react';\nimport type { Dispatch, SetStateAction } from 'react';\n\nimport { Input, Grid, FieldGroup } from '@pega/cosmos-react-core';\nimport type { Role, StakeholdersProps, Stakeholder } from '@pega/cosmos-react-work';\n\nimport { useMockListData } from '../../core/SummaryList/SummaryList.mocks';\n\ninterface MockStakeholderObject extends Stakeholder {\n role?: Role;\n data?: StakeholdersProps['form']['rendererProps'];\n}\n\nexport const mockNetworkReq = () =>\n new Promise(resolve => {\n setTimeout(resolve, 2000);\n });\n\n// Mock total count of Stakeholder resource.\nconst count = 20;\n\n// Mock stakeholder roles.\nexport const mockRoles: NonNullable<StakeholdersProps['form']>['roles'] = Array.from(\n { length: 3 },\n (_, i) => ({\n name: `Role-${i + 1}`,\n description: `This is a description of Role-${\n i + 1\n }. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sit amet dolor a mauris imperdiet convallis.`\n })\n);\n\n/**\n * A component that will be rendered internally by Stakeholders when adding or editing.\n * If roles exists, the component will be passed the selected role as a prop.\n * The return content of this will likely be a dynamically rendered view.\n */\nexport const AddAndEditForm = ({\n selectedRoleName,\n firstName,\n lastName,\n email\n}: {\n // Cosmos will pass the selectedRoleName\n selectedRoleName?: Role['name'];\n // Any prop passed to rendererProps will be forwarded here\n firstName?: string;\n lastName?: string;\n email?: string;\n}) => {\n const inputs = (\n <Grid container={{ cols: '1fr', gap: 2 }}>\n <Input label='First name' required defaultValue={firstName} />\n <Input label='Last name' required defaultValue={lastName} />\n <Input type='email' label='Email' required defaultValue={email} />\n <Input label='Job title' defaultValue={firstName ? 'Vice president' : undefined} />\n </Grid>\n );\n\n return selectedRoleName ? (\n <FieldGroup name={`Fields for: ${selectedRoleName}`} headingTag='h3'>\n {inputs}\n </FieldGroup>\n ) : (\n inputs\n );\n};\n\nexport const useMockStakeholders = (\n cb: () => void\n): [MockStakeholderObject[], Dispatch<SetStateAction<MockStakeholderObject[]>>] => {\n const [mockStakeholders, setMockStakeholders] = useState<MockStakeholderObject[]>([]);\n // Grab some mock data...\n const [mockListData] = useMockListData(\n () => {\n setMockStakeholders(mockListData);\n cb();\n },\n { count }\n );\n\n return [\n mockStakeholders.map(stakeholder => {\n return { ...stakeholder, role: stakeholder.role ?? mockRoles[0] };\n }),\n setMockStakeholders\n ];\n};\n"]}
@@ -1,3 +1,3 @@
1
- import { TimelineProps } from '@pega/cosmos-react-work';
1
+ import type { TimelineProps } from '@pega/cosmos-react-work';
2
2
  export declare const activity: TimelineProps['activity'];
3
3
  //# sourceMappingURL=Timeline.mocks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Timeline.mocks.d.ts","sourceRoot":"","sources":["../../../src/work/Timeline/Timeline.mocks.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,eAAO,MAAM,QAAQ,EAAE,aAAa,CAAC,UAAU,CAuJ9C,CAAC"}
1
+ {"version":3,"file":"Timeline.mocks.d.ts","sourceRoot":"","sources":["../../../src/work/Timeline/Timeline.mocks.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,QAAQ,EAAE,aAAa,CAAC,UAAU,CAuJ9C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Timeline.mocks.js","sourceRoot":"","sources":["../../../src/work/Timeline/Timeline.mocks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAGtE,MAAM,CAAC,MAAM,QAAQ,GAA8B;IACjD;QACE,EAAE,EAAE,GAAG;QACP,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;QACvC,KAAK,EAAE,0BAA0B;QACjC,IAAI,EAAE,gBAAgB;KACvB;IACD;QACE,EAAE,EAAE,GAAG;QACP,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,KAAK,EAAE,qBAAqB;QAC5B,IAAI,EAAE,sBAAsB;KAC7B;IACD;QACE,EAAE,EAAE,GAAG;QACP,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,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,EAAE,2BAA2B;QAClC,IAAI,EAAE,gBAAgB;KACvB;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;QACvC,KAAK,EAAE,uBAAuB;QAC9B,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE;KACjD;CACF,CAAC","sourcesContent":["import { Link, CurrencyDisplay, Text } from '@pega/cosmos-react-core';\nimport { TimelineProps } from '@pega/cosmos-react-work';\n\nexport const activity: TimelineProps['activity'] = [\n {\n id: '1',\n date: Date.UTC(2025, 2, 20, 19, 28, 22),\n title: 'Email blast: \"Buy today\"',\n icon: 'bell-off-solid'\n },\n {\n id: '2',\n date: Date.UTC(2025, 2, 20, 18, 6, 22),\n title: 'Confirm eligibility',\n icon: 'circle-stacked-mixed'\n },\n {\n id: '3',\n date: Date.UTC(2023, 2, 10, 9, 26, 22),\n title: 'Review customer bill',\n status: { variant: 'pending', children: 'Wait' }\n },\n {\n id: '4',\n date: Date.UTC(2022, 7, 10, 18, 6, 22),\n title: 'Confirm eligibility',\n icon: 'circle-stacked-mixed'\n },\n {\n id: '5',\n date: Date.UTC(2022, 6, 18, 0, 1, 22),\n title: (\n <Link href='https://www.pega.com' target='_blank'>\n Visit Pega\n </Link>\n )\n },\n {\n id: '6',\n date: Date.UTC(2021, 6, 10, 13, 20, 22),\n title: 'Update plat',\n icon: 'bulb-solid',\n status: { variant: 'success', children: 'Good' }\n },\n {\n id: '7',\n date: Date.UTC(2021, 1, 20, 13, 20, 22),\n title: 'Sent over request',\n icon: 'bulb-solid',\n status: { variant: 'success', children: 'Good' },\n content: [\n { id: '31', name: 'Date range', value: <Text>Jan 1, 2021 - May 3, 2021</Text> },\n {\n id: '32',\n name: \"What's next\",\n value: (\n <Text>\n We will fulfill your request within 3 business days. You will receive your statement\n copy via mail at 23 Main St. Boston, MA.\n </Text>\n )\n },\n {\n id: '33',\n name: 'Current due amount',\n value: <CurrencyDisplay value={1343.45} currencyISOCode='USD' />\n }\n ]\n },\n {\n id: '8',\n date: Date.UTC(2021, 1, 20, 13, 19, 22),\n title: 'Fulfill customer request for last month’s billing statement',\n icon: 'layers',\n status: { variant: 'pending', children: 'Wait' },\n content: [\n { id: '41', name: 'Date range', value: <Text>Jan 1, 2021 - May 3, 2021</Text> },\n {\n id: '42',\n name: \"What's next\",\n value: (\n <Text>\n We will fulfill your request within 3 business days. You will receive your statement\n copy via mail at 23 Main St. Boston, MA.\n </Text>\n )\n },\n {\n id: '43',\n name: 'Current due amount',\n value: <CurrencyDisplay value={121} currencyISOCode='USD' />\n }\n ]\n },\n {\n id: '9',\n date: Date.UTC(2021, 1, 20, 0, 1, 22),\n title: (\n <Link href='https://community.pega.com/support' target='_blank'>\n Visit Pega support for assistance\n </Link>\n )\n },\n {\n id: '10',\n date: Date.UTC(2021, 1, 19, 13, 20, 22),\n title: 'Sent over request',\n icon: 'bulb-solid',\n status: { variant: 'success', children: 'Good' },\n content: [\n { id: '61', name: 'Date range', value: <Text>Jan 1, 2021 - May 3, 2021</Text> },\n {\n id: '62',\n name: \"What's next\",\n value: (\n <Text>\n We will fulfill your request within 3 business days. You will receive your statement\n copy via mail at 23 Main St. Boston, MA.\n </Text>\n )\n },\n {\n id: '64',\n name: 'Current due amount long label',\n value: <CurrencyDisplay value={248.87} currencyISOCode='USD' />\n }\n ]\n },\n {\n id: '11',\n date: Date.UTC(2021, 1, 17, 36, 20, 22),\n title: 'Initial claim received',\n status: { variant: 'pending', children: 'Wait' }\n },\n {\n id: '12',\n date: Date.UTC(2020, 12, 15, 13, 19, 22),\n title: 'Balance inquiry',\n icon: 'phone-solid',\n status: { variant: 'pending', children: 'Wait' }\n },\n {\n id: '13',\n date: Date.UTC(2020, 2, 20, 19, 28, 22),\n title: 'Email blast: \"Best Offer\"',\n icon: 'bell-off-solid'\n },\n {\n id: '14',\n date: Date.UTC(2020, 1, 12, 10, 25, 48),\n title: 'Receive customer bill',\n icon: 'layers',\n status: { variant: 'success', children: 'Good' }\n }\n];\n"]}
1
+ {"version":3,"file":"Timeline.mocks.js","sourceRoot":"","sources":["../../../src/work/Timeline/Timeline.mocks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAGtE,MAAM,CAAC,MAAM,QAAQ,GAA8B;IACjD;QACE,EAAE,EAAE,GAAG;QACP,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;QACvC,KAAK,EAAE,0BAA0B;QACjC,IAAI,EAAE,gBAAgB;KACvB;IACD;QACE,EAAE,EAAE,GAAG;QACP,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,KAAK,EAAE,qBAAqB;QAC5B,IAAI,EAAE,sBAAsB;KAC7B;IACD;QACE,EAAE,EAAE,GAAG;QACP,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC;QACtC,KAAK,EAAE,sBAAsB;QAC7B,MAAM,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE;KACjD;IACD;QACE,EAAE,EAAE,GAAG;QACP,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,KAAK,EAAE,qBAAqB;QAC5B,IAAI,EAAE,sBAAsB;KAC7B;IACD;QACE,EAAE,EAAE,GAAG;QACP,IAAI,EAAE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osmos-react-core';\nimport type { TimelineProps } from '@pega/cosmos-react-work';\n\nexport const activity: TimelineProps['activity'] = [\n {\n id: '1',\n date: Date.UTC(2025, 2, 20, 19, 28, 22),\n title: 'Email blast: \"Buy today\"',\n icon: 'bell-off-solid'\n },\n {\n id: '2',\n date: Date.UTC(2025, 2, 20, 18, 6, 22),\n title: 'Confirm eligibility',\n icon: 'circle-stacked-mixed'\n },\n {\n id: '3',\n date: Date.UTC(2023, 2, 10, 9, 26, 22),\n title: 'Review customer bill',\n status: { variant: 'pending', children: 'Wait' }\n },\n {\n id: '4',\n date: Date.UTC(2022, 7, 10, 18, 6, 22),\n title: 'Confirm eligibility',\n icon: 'circle-stacked-mixed'\n },\n {\n id: '5',\n date: Date.UTC(2022, 6, 18, 0, 1, 22),\n title: (\n <Link href='https://www.pega.com' target='_blank'>\n Visit Pega\n </Link>\n )\n },\n {\n id: '6',\n date: Date.UTC(2021, 6, 10, 13, 20, 22),\n title: 'Update plat',\n icon: 'bulb-solid',\n status: { variant: 'success', children: 'Good' }\n },\n {\n id: '7',\n date: Date.UTC(2021, 1, 20, 13, 20, 22),\n title: 'Sent over request',\n icon: 'bulb-solid',\n status: { variant: 'success', children: 'Good' },\n content: [\n { id: '31', name: 'Date range', value: <Text>Jan 1, 2021 - May 3, 2021</Text> },\n {\n id: '32',\n name: \"What's next\",\n value: (\n <Text>\n We will fulfill your request within 3 business days. You will receive your statement\n copy via mail at 23 Main St. Boston, MA.\n </Text>\n )\n },\n {\n id: '33',\n name: 'Current due amount',\n value: <CurrencyDisplay value={1343.45} currencyISOCode='USD' />\n }\n ]\n },\n {\n id: '8',\n date: Date.UTC(2021, 1, 20, 13, 19, 22),\n title: 'Fulfill customer request for last month’s billing statement',\n icon: 'layers',\n status: { variant: 'pending', children: 'Wait' },\n content: [\n { id: '41', name: 'Date range', value: <Text>Jan 1, 2021 - May 3, 2021</Text> },\n {\n id: '42',\n name: \"What's next\",\n value: (\n <Text>\n We will fulfill your request within 3 business days. You will receive your statement\n copy via mail at 23 Main St. Boston, MA.\n </Text>\n )\n },\n {\n id: '43',\n name: 'Current due amount',\n value: <CurrencyDisplay value={121} currencyISOCode='USD' />\n }\n ]\n },\n {\n id: '9',\n date: Date.UTC(2021, 1, 20, 0, 1, 22),\n title: (\n <Link href='https://community.pega.com/support' target='_blank'>\n Visit Pega support for assistance\n </Link>\n )\n },\n {\n id: '10',\n date: Date.UTC(2021, 1, 19, 13, 20, 22),\n title: 'Sent over request',\n icon: 'bulb-solid',\n status: { variant: 'success', children: 'Good' },\n content: [\n { id: '61', name: 'Date range', value: <Text>Jan 1, 2021 - May 3, 2021</Text> },\n {\n id: '62',\n name: \"What's next\",\n value: (\n <Text>\n We will fulfill your request within 3 business days. You will receive your statement\n copy via mail at 23 Main St. Boston, MA.\n </Text>\n )\n },\n {\n id: '64',\n name: 'Current due amount long label',\n value: <CurrencyDisplay value={248.87} currencyISOCode='USD' />\n }\n ]\n },\n {\n id: '11',\n date: Date.UTC(2021, 1, 17, 36, 20, 22),\n title: 'Initial claim received',\n status: { variant: 'pending', children: 'Wait' }\n },\n {\n id: '12',\n date: Date.UTC(2020, 12, 15, 13, 19, 22),\n title: 'Balance inquiry',\n icon: 'phone-solid',\n status: { variant: 'pending', children: 'Wait' }\n },\n {\n id: '13',\n date: Date.UTC(2020, 2, 20, 19, 28, 22),\n title: 'Email blast: \"Best Offer\"',\n icon: 'bell-off-solid'\n },\n {\n id: '14',\n date: Date.UTC(2020, 1, 12, 10, 25, 48),\n title: 'Receive customer bill',\n icon: 'layers',\n status: { variant: 'success', children: 'Good' }\n }\n];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"PageTemplates.stories.d.ts","sourceRoot":"","sources":["../../../src/wss/PageTemplates/PageTemplates.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;;AAOtD,wBAKU;AAEV,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,YAAY,GAAG,aAAa,GAAG,aAAa,CAAC;CACxD;AAED,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,oBAAoB,CAkCxD,CAAC"}
1
+ {"version":3,"file":"PageTemplates.stories.d.ts","sourceRoot":"","sources":["../../../src/wss/PageTemplates/PageTemplates.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;;AAQtD,wBAKU;AAEV,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,YAAY,GAAG,aAAa,GAAG,aAAa,CAAC;CACxD;AAED,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,oBAAoB,CAsBxD,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { BannerPage } from '@pega/cosmos-react-wss';
3
- import { Text } from '@pega/cosmos-react-core';
3
+ import { FeedDemo } from '../../social/Feed/Feed.stories';
4
4
  import { AppShellDemo } from '../AppShell/AppShell.stories';
5
+ import { QuickCreateDemo } from '../QuickCreate/QuickCreate.stories';
5
6
  export default {
6
7
  title: 'Web Self Service/Page Templates',
7
8
  parameters: {
@@ -9,14 +10,14 @@ export default {
9
10
  }
10
11
  };
11
12
  export const BannerPageDemo = (args) => {
12
- return (_jsx(AppShellDemo, { mainContent: _jsx(BannerPage, { variant: args.variant ? args.variant : undefined, a: _jsx("div", { children: _jsx(Text, { variant: 'h2', as: 'h2', children: "Section A" }) }), b: !args.oneColumn ? (_jsx("div", { children: _jsx(Text, { variant: 'h2', as: 'h2', children: "Section B" }) })) : undefined, banner: {
13
+ return (_jsx(AppShellDemo, { mainContent: _jsx(BannerPage, { variant: args.variant ? args.variant : undefined, a: [_jsx(QuickCreateDemo, {}), _jsx(QuickCreateDemo, { showIcons: true })], b: !args.oneColumn ? [_jsx(FeedDemo, {})] : undefined, banner: {
13
14
  variant: args.bannerVariant,
14
15
  backgroundColor: args.backgroundColor,
15
16
  title: args.title,
16
17
  message: args.message,
17
18
  backgroundImage: args.backgroundImage,
18
19
  tintImage: args.tintImage
19
- } }) }));
20
+ } }), appName: 'Service Desk', imageSrc: 'https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg' }));
20
21
  };
21
22
  BannerPageDemo.args = {
22
23
  title: 'Banner page demo',
@@ -1 +1 @@
1
- {"version":3,"file":"PageTemplates.stories.js","sourceRoot":"","sources":["../../../src/wss/PageTemplates/PageTemplates.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,eAAe;IACb,KAAK,EAAE,iCAAiC;IACxC,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACM,CAAC;AAaV,MAAM,CAAC,MAAM,cAAc,GAAkC,CAAC,IAA0B,EAAE,EAAE;IAC1F,OAAO,CACL,KAAC,YAAY,IACX,WAAW,EACT,KAAC,UAAU,IACT,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC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E,IAAI,EAAE,MAAM,EAAE,EAAE;IAC9C,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC3C,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC3C,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CAChG,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { BannerPage } from '@pega/cosmos-react-wss';\nimport { Text } from '@pega/cosmos-react-core';\n\nimport { AppShellDemo } from '../AppShell/AppShell.stories';\n\nexport default {\n title: 'Web Self Service/Page Templates',\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ninterface BannerPageStoryProps {\n title: string;\n message: string;\n bannerVariant: 'light' | 'dark';\n backgroundColor?: string;\n backgroundImage?: string;\n tintImage?: boolean;\n oneColumn?: boolean;\n variant?: 'two-column' | 'narrow-wide' | 'wide-narrow';\n}\n\nexport const BannerPageDemo: StoryFn<BannerPageStoryProps> = (args: BannerPageStoryProps) => {\n return (\n <AppShellDemo\n mainContent={\n <BannerPage\n variant={args.variant ? args.variant : undefined}\n a={\n <div>\n <Text variant='h2' as='h2'>\n Section A\n </Text>\n </div>\n }\n b={\n !args.oneColumn ? (\n <div>\n <Text variant='h2' as='h2'>\n Section B\n </Text>\n </div>\n ) : undefined\n }\n banner={{\n variant: args.bannerVariant,\n backgroundColor: args.backgroundColor,\n title: args.title,\n message: args.message,\n backgroundImage: args.backgroundImage,\n tintImage: args.tintImage\n }}\n />\n }\n />\n );\n};\n\nBannerPageDemo.args = {\n title: 'Banner page demo',\n message: 'Welcome to the banner page demo, nice to see you. Did you get your haircut?',\n bannerVariant: 'light',\n backgroundColor: '#3eb489',\n backgroundImage:\n 'https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/moraine-lake-and-the-valley-of-the-ten-peaks-in-the-royalty-free-image-1571062944.jpg',\n tintImage: true,\n oneColumn: false,\n variant: undefined\n};\n\nBannerPageDemo.argTypes = {\n title: { control: { type: 'text' } },\n message: { control: { type: 'text' } },\n bannerVariant: { options: ['light', 'dark'], control: { type: 'select' } },\n backgroundColor: { control: { type: 'color' } },\n backgroundImage: { control: { type: 'text' } },\n tintImage: { control: { type: 'boolean' } },\n oneColumn: { control: { type: 'boolean' } },\n variant: { options: ['two-column', 'narrow-wide', 'wide-narrow'], control: { type: 'select' } }\n};\n"]}
1
+ {"version":3,"file":"PageTemplates.stories.js","sourceRoot":"","sources":["../../../src/wss/PageTemplates/PageTemplates.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE,eAAe;IACb,KAAK,EAAE,iCAAiC;IACxC,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACM,CAAC;AAaV,MAAM,CAAC,MAAM,cAAc,GAAkC,CAAC,IAA0B,EAAE,EAAE;IAC1F,OAAO,CACL,KAAC,YAAY,IACX,WAAW,EACT,KAAC,UAAU,IACT,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,EAChD,CAAC,EAAE,CAAC,KAAC,eAAe,KAAG,EAAE,KAAC,eAAe,IAAC,SAAS,SAAG,CAAC,EACvD,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAC,QAAQ,KAAG,CAAC,CAAC,CAAC,CAAC,SAAS,EAC/C,MAAM,EAAE;gBACN,OAAO,EAAE,IAAI,CAAC,aAAa;g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AE,QAAQ,EAAE,EAAE;CAChG,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { BannerPage } from '@pega/cosmos-react-wss';\n\nimport { FeedDemo } from '../../social/Feed/Feed.stories';\nimport { AppShellDemo } from '../AppShell/AppShell.stories';\nimport { QuickCreateDemo } from '../QuickCreate/QuickCreate.stories';\n\nexport default {\n title: 'Web Self Service/Page Templates',\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ninterface BannerPageStoryProps {\n title: string;\n message: string;\n bannerVariant: 'light' | 'dark';\n backgroundColor?: string;\n backgroundImage?: string;\n tintImage?: boolean;\n oneColumn?: boolean;\n variant?: 'two-column' | 'narrow-wide' | 'wide-narrow';\n}\n\nexport const BannerPageDemo: StoryFn<BannerPageStoryProps> = (args: BannerPageStoryProps) => {\n return (\n <AppShellDemo\n mainContent={\n <BannerPage\n variant={args.variant ? args.variant : undefined}\n a={[<QuickCreateDemo />, <QuickCreateDemo showIcons />]}\n b={!args.oneColumn ? [<FeedDemo />] : undefined}\n banner={{\n variant: args.bannerVariant,\n backgroundColor: args.backgroundColor,\n title: args.title,\n message: args.message,\n backgroundImage: args.backgroundImage,\n tintImage: args.tintImage\n }}\n />\n }\n appName='Service Desk'\n imageSrc='https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg'\n />\n );\n};\n\nBannerPageDemo.args = {\n title: 'Banner page demo',\n message: 'Welcome to the banner page demo, nice to see you. Did you get your haircut?',\n bannerVariant: 'light',\n backgroundColor: '#3eb489',\n backgroundImage:\n 'https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/moraine-lake-and-the-valley-of-the-ten-peaks-in-the-royalty-free-image-1571062944.jpg',\n tintImage: true,\n oneColumn: false,\n variant: undefined\n};\n\nBannerPageDemo.argTypes = {\n title: { control: { type: 'text' } },\n message: { control: { type: 'text' } },\n bannerVariant: { options: ['light', 'dark'], control: { type: 'select' } },\n backgroundColor: { control: { type: 'color' } },\n backgroundImage: { control: { type: 'text' } },\n tintImage: { control: { type: 'boolean' } },\n oneColumn: { control: { type: 'boolean' } },\n variant: { options: ['two-column', 'narrow-wide', 'wide-narrow'], control: { type: 'select' } }\n};\n"]}
@@ -1,10 +1,11 @@
1
1
  import type { StoryFn } from '@storybook/react';
2
+ import { type QuickCreateProps } from '@pega/cosmos-react-wss';
2
3
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
3
4
  export default _default;
4
5
  interface QuickCreateDemoArgs {
5
- borderRadius: number;
6
- color: string;
7
- count: number;
6
+ heading?: QuickCreateProps['heading'];
7
+ count?: number;
8
+ showIcons?: boolean;
8
9
  }
9
10
  export declare const QuickCreateDemo: StoryFn<QuickCreateDemoArgs>;
10
11
  //# sourceMappingURL=QuickCreate.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuickCreate.stories.d.ts","sourceRoot":"","sources":["../../../src/wss/QuickCreate/QuickCreate.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;;AAKtD,wBAGU;AAEV,UAAU,mBAAmB;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,mBAAmB,CAyBxD,CAAC"}
1
+ {"version":3,"file":"QuickCreate.stories.d.ts","sourceRoot":"","sources":["../../../src/wss/QuickCreate/QuickCreate.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;;AAE5E,wBAGU;AAEV,UAAU,mBAAmB;IAC3B,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,mBAAmB,CAcxD,CAAC"}
@@ -1,36 +1,29 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { QuickCreate } from '@pega/cosmos-react-wss';
3
- import { Configuration } from '@pega/cosmos-react-core';
4
3
  export default {
5
4
  title: 'Web Self Service/QuickCreate',
6
5
  component: QuickCreate
7
6
  };
8
7
  export const QuickCreateDemo = (args) => {
8
+ const count = args.count || 4;
9
9
  const lorem = 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Ut nesciunt excepturi sit alias, mollitia voluptate nobis, aliquam corrupti delectus ea molestiae, illum provident necessitatibus? Atque temporibus officiis voluptas nam nihil!';
10
- const actions = Array.from({ length: args.count }, (_, i) => {
10
+ const actions = Array.from({ length: count }, (_, i) => {
11
11
  return {
12
- label: i === args.count - 1 ? `${lorem}` : `Case type ${i + 1}`,
12
+ label: i === count - 1 ? `${lorem}` : `Case type ${i + 1}`,
13
13
  onClick: () => { },
14
- icon: 'plus'
14
+ icon: args.showIcons ? 'case' : undefined
15
15
  };
16
16
  });
17
- return (_jsx(Configuration, { theme: {
18
- components: {
19
- button: {
20
- 'border-radius': args.borderRadius,
21
- color: args.color
22
- }
23
- }
24
- }, children: _jsx(QuickCreate, { heading: 'How can we help you?', actions: actions }) }));
17
+ return _jsx(QuickCreate, { heading: args.heading || 'Quick actions', actions: actions });
25
18
  };
26
19
  QuickCreateDemo.args = {
27
- borderRadius: 1,
28
- color: '#076bc9',
29
- count: 4
20
+ heading: 'Quick actions',
21
+ count: 4,
22
+ showIcons: true
30
23
  };
31
24
  QuickCreateDemo.argTypes = {
32
- borderRadius: { control: { type: 'number' } },
33
- color: { control: { type: 'color' } },
34
- count: { control: { type: 'number' } }
25
+ heading: { control: { type: 'text' } },
26
+ count: { control: { type: 'number' } },
27
+ showIcons: { control: { type: 'boolean' } }
35
28
  };
36
29
  //# sourceMappingURL=QuickCreate.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuickCreate.stories.js","sourceRoot":"","sources":["../../../src/wss/QuickCreate/QuickCreate.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,eAAe;IACb,KAAK,EAAE,8BAA8B;IACrC,SAAS,EAAE,WAAW;CACf,CAAC;AAQV,MAAM,CAAC,MAAM,eAAe,GAAiC,CAAC,IAAyB,EAAE,EAAE;IACzF,MAAM,KAAK,GACT,2OAA2O,CAAC;IAE9O,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QAC1D,OAAO;YACL,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE;YAC/D,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;YACjB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC,CAAC,CAAC;IACH,OAAO,CACL,KAAC,aAAa,IACZ,KAAK,EAAE;YACL,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,eAAe,EAAE,IAAI,CAAC,YAAY;oBAClC,KAAK,EAAE,IAAI,CAAC,KAAK;iBAClB;aACF;SACF,YAED,KAAC,WAAW,IAAC,OAAO,EAAC,sBAAsB,EAAC,OAAO,EAAE,OAAO,GAAI,GAClD,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,CAAC,IAAI,GAAG;IACrB,YAAY,EAAE,CAAC;IACf,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,CAAC;CACT,CAAC;AAEF,eAAe,CAAC,QAAQ,GAAG;IACzB,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC7C,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACrC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CACvC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { QuickCreate } from '@pega/cosmos-react-wss';\nimport { Configuration } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Web Self Service/QuickCreate',\n component: QuickCreate\n} as Meta;\n\ninterface QuickCreateDemoArgs {\n borderRadius: number;\n color: string;\n count: number;\n}\n\nexport const QuickCreateDemo: StoryFn<QuickCreateDemoArgs> = (args: QuickCreateDemoArgs) => {\n const lorem =\n 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Ut nesciunt excepturi sit alias, mollitia voluptate nobis, aliquam corrupti delectus ea molestiae, illum provident necessitatibus? Atque temporibus officiis voluptas nam nihil!';\n\n const actions = Array.from({ length: args.count }, (_, i) => {\n return {\n label: i === args.count - 1 ? `${lorem}` : `Case type ${i + 1}`,\n onClick: () => {},\n icon: 'plus'\n };\n });\n return (\n <Configuration\n theme={{\n components: {\n button: {\n 'border-radius': args.borderRadius,\n color: args.color\n }\n }\n }}\n >\n <QuickCreate heading='How can we help you?' actions={actions} />\n </Configuration>\n );\n};\n\nQuickCreateDemo.args = {\n borderRadius: 1,\n color: '#076bc9',\n count: 4\n};\n\nQuickCreateDemo.argTypes = {\n borderRadius: { control: { type: 'number' } },\n color: { control: { type: 'color' } },\n count: { control: { type: 'number' } }\n};\n"]}
1
+ {"version":3,"file":"QuickCreate.stories.js","sourceRoot":"","sources":["../../../src/wss/QuickCreate/QuickCreate.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAyB,MAAM,wBAAwB,CAAC;AAE5E,eAAe;IACb,KAAK,EAAE,8BAA8B;IACrC,SAAS,EAAE,WAAW;CACf,CAAC;AAQV,MAAM,CAAC,MAAM,eAAe,GAAiC,CAAC,IAAyB,EAAE,EAAE;IACzF,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC;IAE9B,MAAM,KAAK,GACT,2OAA2O,CAAC;IAE9O,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACrD,OAAO;YACL,KAAK,EAAE,CAAC,KAAK,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE;YAC1D,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;YACjB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;SAC1C,CAAC;IACJ,CAAC,CAAC,CAAC;IACH,OAAO,KAAC,WAAW,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,eAAe,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC;AACrF,CAAC,CAAC;AAEF,eAAe,CAAC,IAAI,GAAG;IACrB,OAAO,EAAE,eAAe;IACxB,KAAK,EAAE,CAAC;IACR,SAAS,EAAE,IAAI;CAChB,CAAC;AAEF,eAAe,CAAC,QAAQ,GAAG;IACzB,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACtC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACtC,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC5C,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { QuickCreate, type QuickCreateProps } from '@pega/cosmos-react-wss';\n\nexport default {\n title: 'Web Self Service/QuickCreate',\n component: QuickCreate\n} as Meta;\n\ninterface QuickCreateDemoArgs {\n heading?: QuickCreateProps['heading'];\n count?: number;\n showIcons?: boolean;\n}\n\nexport const QuickCreateDemo: StoryFn<QuickCreateDemoArgs> = (args: QuickCreateDemoArgs) => {\n const count = args.count || 4;\n\n const lorem =\n 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Ut nesciunt excepturi sit alias, mollitia voluptate nobis, aliquam corrupti delectus ea molestiae, illum provident necessitatibus? Atque temporibus officiis voluptas nam nihil!';\n\n const actions = Array.from({ length: count }, (_, i) => {\n return {\n label: i === count - 1 ? `${lorem}` : `Case type ${i + 1}`,\n onClick: () => {},\n icon: args.showIcons ? 'case' : undefined\n };\n });\n return <QuickCreate heading={args.heading || 'Quick actions'} actions={actions} />;\n};\n\nQuickCreateDemo.args = {\n heading: 'Quick actions',\n count: 4,\n showIcons: true\n};\n\nQuickCreateDemo.argTypes = {\n heading: { control: { type: 'text' } },\n count: { control: { type: 'number' } },\n showIcons: { control: { type: 'boolean' } }\n};\n"]}
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@pega/cosmos-react-demos",
3
- "version": "4.1.1",
3
+ "version": "5.0.0-dev.10.0",
4
4
  "repository": {
5
5
  "type": "git",
6
- "url": "https://github.com/pegasystems/cosmos-react.git",
6
+ "url": "git+https://github.com/pegasystems/cosmos-react.git",
7
7
  "directory": "packages/cosmos-demos"
8
8
  },
9
9
  "license": "SEE LICENSE IN LICENSE",
@@ -12,44 +12,35 @@
12
12
  "main": "lib/index.js",
13
13
  "types": "lib/index.d.ts",
14
14
  "files": [
15
- "LICENSE",
16
15
  "lib",
17
16
  "jsx"
18
17
  ],
19
18
  "scripts": {
20
- "build": "tsc -b"
19
+ "build": "tsc -b tsconfig.build.json && tsc -b tsconfig.build-preserve.json"
21
20
  },
22
21
  "dependencies": {
23
- "@pega/cosmos-react-build": "4.1.1",
24
- "@pega/cosmos-react-condition-builder": "4.1.1",
25
- "@pega/cosmos-react-core": "4.1.1",
26
- "@pega/cosmos-react-cs": "4.1.1",
27
- "@pega/cosmos-react-dnd": "4.1.1",
28
- "@pega/cosmos-react-rte": "4.1.1",
29
- "@pega/cosmos-react-social": "4.1.1",
30
- "@pega/cosmos-react-work": "4.1.1",
31
- "@storybook/addon-a11y": "^7.0.24",
32
- "@storybook/addon-actions": "^7.0.24",
33
- "@storybook/addon-links": "^7.0.24",
34
- "@storybook/addon-storysource": "^7.0.24",
35
- "@storybook/addon-toolbars": "^7.0.24",
36
- "@storybook/manager-api": "^7.0.24",
37
- "@storybook/react": "^7.0.24",
38
- "@storybook/theming": "^7.0.24",
22
+ "@pega/cosmos-react-condition-builder": "5.0.0-dev.10.0",
23
+ "@pega/cosmos-react-core": "5.0.0-dev.10.0",
24
+ "@pega/cosmos-react-dnd": "5.0.0-dev.10.0",
25
+ "@pega/cosmos-react-rte": "5.0.0-dev.10.0",
26
+ "@pega/cosmos-react-social": "5.0.0-dev.10.0",
27
+ "@pega/cosmos-react-work": "5.0.0-dev.10.0",
28
+ "@storybook/addon-actions": "~7.5.3",
29
+ "@storybook/react": "~7.5.3",
39
30
  "@types/dompurify": "^3.0.2",
40
31
  "@types/emoji-mart": "^3.0.4",
41
- "@types/react": "^16.14.43 || ^17.0.62",
42
- "@types/react-dom": "^16.9.19 || ^17.0.20",
32
+ "@types/react": "^17.0.62",
33
+ "@types/react-dom": "^17.0.20",
43
34
  "@types/styled-components": "^5.1.26",
44
35
  "dompurify": "^3.0.5",
45
36
  "emoji-mart": "^3.0.1",
46
37
  "polished": "^4.1.0",
47
- "react": "^16.14.0 || ^17.0.0",
48
- "react-dom": "^16.14.0 || ^17.0.0",
38
+ "react": "^17.0.0",
39
+ "react-dom": "^17.0.0",
49
40
  "styled-components": "^5.2.0",
50
41
  "tinymce": "^6.3.1"
51
42
  },
52
43
  "devDependencies": {
53
- "typescript": "~5.0.2"
44
+ "typescript": "~5.2.2"
54
45
  }
55
46
  }
@@ -1,44 +0,0 @@
1
- import { FC } from 'react';
2
- import { NavProps } from '@pega/cosmos-react-build';
3
- export interface TabbedPageStoryProps {
4
- pageContent: {
5
- title: string;
6
- breadcrumbsPath: string;
7
- tabs: string[];
8
- };
9
- showBreadcrumbs: boolean;
10
- }
11
- export interface ShowcasePageStoryProps {
12
- title: string;
13
- description: string;
14
- actionLabel: string;
15
- imageSrc: string;
16
- }
17
- export interface PageContentProps {
18
- id: string;
19
- data: (TabbedPageStoryProps['pageContent'] & {
20
- template: 'tabbed';
21
- }) | (ShowcasePageStoryProps & {
22
- template: 'showcase';
23
- });
24
- }
25
- export declare const getPath: (args: TabbedPageStoryProps) => {
26
- id: string;
27
- primary: string;
28
- href: string | undefined;
29
- }[] | undefined;
30
- export declare const defaultNavItems: NavProps['items'];
31
- export declare const contents: PageContentProps[];
32
- export declare const TabbedPageComp: FC<TabbedPageStoryProps>;
33
- export declare const ShowcasePageComp: FC<ShowcasePageStoryProps>;
34
- export declare const operatorData: {
35
- avatar: {
36
- name: string;
37
- };
38
- actions: {
39
- primary: string;
40
- id: string;
41
- }[];
42
- name: string;
43
- };
44
- //# sourceMappingURL=AppShell.mocks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppShell.mocks.d.ts","sourceRoot":"","sources":["../../../src/build/AppShell/AppShell.mocks.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,OAAO,EAAE,QAAQ,EAAgB,MAAM,0BAA0B,CAAC;AAIlE,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;QACd,eAAe,EAAE,MAAM,CAAC;QACxB,IAAI,EAAE,MAAM,EAAE,CAAC;KAChB,CAAC;IACF,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EACA,CAAC,oBAAoB,CAAC,aAAa,CAAC,GAAG;QAAE,QAAQ,EAAE,QAAQ,CAAA;KAAE,CAAC,GAC9D,CAAC,sBAAsB,GAAG;QAAE,QAAQ,EAAE,UAAU,CAAA;KAAE,CAAC,CAAC;CACzD;AAED,eAAO,MAAM,OAAO,SAAU,oBAAoB;;;;eAmBjD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,OAAO,CAiH7C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,gBAAgB,EA6PtC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,oBAAoB,CAyBnD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,sBAAsB,CAwBvD,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;CAUxB,CAAC"}