@pega/cosmos-react-demos 2.0.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 (678) hide show
  1. package/LICENSE +185 -0
  2. package/lib/build/AppHeader/AppHeader.stories.d.ts +8 -0
  3. package/lib/build/AppHeader/AppHeader.stories.d.ts.map +1 -0
  4. package/lib/build/AppHeader/AppHeader.stories.jsx +65 -0
  5. package/lib/build/AppHeader/AppHeader.stories.jsx.map +1 -0
  6. package/lib/build/AppShell/AppShell.mocks.d.ts +50 -0
  7. package/lib/build/AppShell/AppShell.mocks.d.ts.map +1 -0
  8. package/lib/build/AppShell/AppShell.mocks.js +503 -0
  9. package/lib/build/AppShell/AppShell.mocks.js.map +1 -0
  10. package/lib/build/AppShell/AppShell.stories.d.ts +12 -0
  11. package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -0
  12. package/lib/build/AppShell/AppShell.stories.jsx +194 -0
  13. package/lib/build/AppShell/AppShell.stories.jsx.map +1 -0
  14. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts +45 -0
  15. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +1 -0
  16. package/lib/build/FlowModeller/AddNodeUtils.mocks.js +291 -0
  17. package/lib/build/FlowModeller/AddNodeUtils.mocks.js.map +1 -0
  18. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +9 -0
  19. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -0
  20. package/lib/build/FlowModeller/FlowModeller.mocks.js +411 -0
  21. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +1 -0
  22. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +12 -0
  23. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -0
  24. package/lib/build/FlowModeller/FlowModeller.stories.jsx +214 -0
  25. package/lib/build/FlowModeller/FlowModeller.stories.jsx.map +1 -0
  26. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +201 -0
  27. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -0
  28. package/lib/build/LifeCycle/LifeCycle.mocks.js +1128 -0
  29. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +1 -0
  30. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +11 -0
  31. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -0
  32. package/lib/build/LifeCycle/LifeCycle.stories.jsx +491 -0
  33. package/lib/build/LifeCycle/LifeCycle.stories.jsx.map +1 -0
  34. package/lib/build/LifeCycle/utils.d.ts +65 -0
  35. package/lib/build/LifeCycle/utils.d.ts.map +1 -0
  36. package/lib/build/LifeCycle/utils.js +218 -0
  37. package/lib/build/LifeCycle/utils.js.map +1 -0
  38. package/lib/build/PageTemplates/GalleryPage.stories.d.ts +12 -0
  39. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -0
  40. package/lib/build/PageTemplates/GalleryPage.stories.jsx +126 -0
  41. package/lib/build/PageTemplates/GalleryPage.stories.jsx.map +1 -0
  42. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +26 -0
  43. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
  44. package/lib/build/PageTemplates/PageTemplates.stories.jsx +434 -0
  45. package/lib/build/PageTemplates/PageTemplates.stories.jsx.map +1 -0
  46. package/lib/build/Workbench/Workbench.mocks.d.ts +9 -0
  47. package/lib/build/Workbench/Workbench.mocks.d.ts.map +1 -0
  48. package/lib/build/Workbench/Workbench.mocks.js +67 -0
  49. package/lib/build/Workbench/Workbench.mocks.js.map +1 -0
  50. package/lib/build/Workbench/Workbench.stories.d.ts +10 -0
  51. package/lib/build/Workbench/Workbench.stories.d.ts.map +1 -0
  52. package/lib/build/Workbench/Workbench.stories.jsx +124 -0
  53. package/lib/build/Workbench/Workbench.stories.jsx.map +1 -0
  54. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +10 -0
  55. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -0
  56. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +263 -0
  57. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -0
  58. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts +6 -0
  59. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -0
  60. package/lib/condition-builder/ConditionBuilder/props.mock.js +113 -0
  61. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -0
  62. package/lib/core/AppShell/AppShell.mocks.d.ts +15 -0
  63. package/lib/core/AppShell/AppShell.mocks.d.ts.map +1 -0
  64. package/lib/core/AppShell/AppShell.mocks.jsx +147 -0
  65. package/lib/core/AppShell/AppShell.mocks.jsx.map +1 -0
  66. package/lib/core/AppShell/AppShell.stories.d.ts +31 -0
  67. package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -0
  68. package/lib/core/AppShell/AppShell.stories.jsx +222 -0
  69. package/lib/core/AppShell/AppShell.stories.jsx.map +1 -0
  70. package/lib/core/AppShell/AppShell.styles.d.ts +2 -0
  71. package/lib/core/AppShell/AppShell.styles.d.ts.map +1 -0
  72. package/lib/core/AppShell/AppShell.styles.js +5 -0
  73. package/lib/core/AppShell/AppShell.styles.js.map +1 -0
  74. package/lib/core/Avatar/Avatar.stories.d.ts +10 -0
  75. package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -0
  76. package/lib/core/Avatar/Avatar.stories.jsx +50 -0
  77. package/lib/core/Avatar/Avatar.stories.jsx.map +1 -0
  78. package/lib/core/Backdrop/Backdrop.stories.d.ts +7 -0
  79. package/lib/core/Backdrop/Backdrop.stories.d.ts.map +1 -0
  80. package/lib/core/Backdrop/Backdrop.stories.jsx +43 -0
  81. package/lib/core/Backdrop/Backdrop.stories.jsx.map +1 -0
  82. package/lib/core/Badges/Alert.stories.d.ts +6 -0
  83. package/lib/core/Badges/Alert.stories.d.ts.map +1 -0
  84. package/lib/core/Badges/Alert.stories.jsx +15 -0
  85. package/lib/core/Badges/Alert.stories.jsx.map +1 -0
  86. package/lib/core/Badges/Count.stories.d.ts +6 -0
  87. package/lib/core/Badges/Count.stories.d.ts.map +1 -0
  88. package/lib/core/Badges/Count.stories.jsx +20 -0
  89. package/lib/core/Badges/Count.stories.jsx.map +1 -0
  90. package/lib/core/Badges/Selection.stories.d.ts +6 -0
  91. package/lib/core/Badges/Selection.stories.d.ts.map +1 -0
  92. package/lib/core/Badges/Selection.stories.jsx +9 -0
  93. package/lib/core/Badges/Selection.stories.jsx.map +1 -0
  94. package/lib/core/Badges/Status.stories.d.ts +6 -0
  95. package/lib/core/Badges/Status.stories.d.ts.map +1 -0
  96. package/lib/core/Badges/Status.stories.jsx +18 -0
  97. package/lib/core/Badges/Status.stories.jsx.map +1 -0
  98. package/lib/core/Badges/Tag.stories.d.ts +6 -0
  99. package/lib/core/Badges/Tag.stories.d.ts.map +1 -0
  100. package/lib/core/Badges/Tag.stories.jsx +9 -0
  101. package/lib/core/Badges/Tag.stories.jsx.map +1 -0
  102. package/lib/core/Banner/Banner.stories.d.ts +22 -0
  103. package/lib/core/Banner/Banner.stories.d.ts.map +1 -0
  104. package/lib/core/Banner/Banner.stories.jsx +125 -0
  105. package/lib/core/Banner/Banner.stories.jsx.map +1 -0
  106. package/lib/core/Boolean/BooleanDisplay.stories.d.ts +6 -0
  107. package/lib/core/Boolean/BooleanDisplay.stories.d.ts.map +1 -0
  108. package/lib/core/Boolean/BooleanDisplay.stories.jsx +19 -0
  109. package/lib/core/Boolean/BooleanDisplay.stories.jsx.map +1 -0
  110. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +7 -0
  111. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
  112. package/lib/core/Breadcrumbs/Breadcrumbs.stories.jsx +29 -0
  113. package/lib/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -0
  114. package/lib/core/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -0
  115. package/lib/core/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -0
  116. package/lib/core/Breadcrumbs/Breadcrumbs.styles.js +12 -0
  117. package/lib/core/Breadcrumbs/Breadcrumbs.styles.js.map +1 -0
  118. package/lib/core/Button/Button.stories.d.ts +12 -0
  119. package/lib/core/Button/Button.stories.d.ts.map +1 -0
  120. package/lib/core/Button/Button.stories.jsx +103 -0
  121. package/lib/core/Button/Button.stories.jsx.map +1 -0
  122. package/lib/core/Card/Card.stories.d.ts +8 -0
  123. package/lib/core/Card/Card.stories.d.ts.map +1 -0
  124. package/lib/core/Card/Card.stories.jsx +55 -0
  125. package/lib/core/Card/Card.stories.jsx.map +1 -0
  126. package/lib/core/Card/Card.styles.d.ts +2 -0
  127. package/lib/core/Card/Card.styles.d.ts.map +1 -0
  128. package/lib/core/Card/Card.styles.js +5 -0
  129. package/lib/core/Card/Card.styles.js.map +1 -0
  130. package/lib/core/Checkbox/Checkbox.stories.d.ts +7 -0
  131. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -0
  132. package/lib/core/Checkbox/Checkbox.stories.jsx +28 -0
  133. package/lib/core/Checkbox/Checkbox.stories.jsx.map +1 -0
  134. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +7 -0
  135. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -0
  136. package/lib/core/CheckboxGroup/CheckboxGroup.stories.jsx +60 -0
  137. package/lib/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -0
  138. package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts +4 -0
  139. package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +1 -0
  140. package/lib/core/CheckboxGroup/CheckboxGroup.styles.js +9 -0
  141. package/lib/core/CheckboxGroup/CheckboxGroup.styles.js.map +1 -0
  142. package/lib/core/ColorPicker/ColorPicker.stories.d.ts +8 -0
  143. package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -0
  144. package/lib/core/ColorPicker/ColorPicker.stories.jsx +91 -0
  145. package/lib/core/ColorPicker/ColorPicker.stories.jsx.map +1 -0
  146. package/lib/core/ComboBox/ComboBox.mocks.d.ts +24 -0
  147. package/lib/core/ComboBox/ComboBox.mocks.d.ts.map +1 -0
  148. package/lib/core/ComboBox/ComboBox.mocks.js +54 -0
  149. package/lib/core/ComboBox/ComboBox.mocks.js.map +1 -0
  150. package/lib/core/ComboBox/ComboBox.stories.d.ts +21 -0
  151. package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -0
  152. package/lib/core/ComboBox/ComboBox.stories.jsx +323 -0
  153. package/lib/core/ComboBox/ComboBox.stories.jsx.map +1 -0
  154. package/lib/core/Configuration/Configuration.stories.d.ts +10 -0
  155. package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -0
  156. package/lib/core/Configuration/Configuration.stories.jsx +125 -0
  157. package/lib/core/Configuration/Configuration.stories.jsx.map +1 -0
  158. package/lib/core/Currency/Currency.stories.d.ts +11 -0
  159. package/lib/core/Currency/Currency.stories.d.ts.map +1 -0
  160. package/lib/core/Currency/Currency.stories.jsx +65 -0
  161. package/lib/core/Currency/Currency.stories.jsx.map +1 -0
  162. package/lib/core/DateTime/DateTime.stories.d.ts +20 -0
  163. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -0
  164. package/lib/core/DateTime/DateTime.stories.jsx +127 -0
  165. package/lib/core/DateTime/DateTime.stories.jsx.map +1 -0
  166. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts +7 -0
  167. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -0
  168. package/lib/core/DateTime/DateTimeDisplay.stories.jsx +46 -0
  169. package/lib/core/DateTime/DateTimeDisplay.stories.jsx.map +1 -0
  170. package/lib/core/DateTime/DateTimePicker.stories.d.ts +7 -0
  171. package/lib/core/DateTime/DateTimePicker.stories.d.ts.map +1 -0
  172. package/lib/core/DateTime/DateTimePicker.stories.jsx +34 -0
  173. package/lib/core/DateTime/DateTimePicker.stories.jsx.map +1 -0
  174. package/lib/core/Drawer/Drawer.stories.d.ts +7 -0
  175. package/lib/core/Drawer/Drawer.stories.d.ts.map +1 -0
  176. package/lib/core/Drawer/Drawer.stories.jsx +98 -0
  177. package/lib/core/Drawer/Drawer.stories.jsx.map +1 -0
  178. package/lib/core/Drawer/Drawer.styles.d.ts +2 -0
  179. package/lib/core/Drawer/Drawer.styles.d.ts.map +1 -0
  180. package/lib/core/Drawer/Drawer.styles.js +11 -0
  181. package/lib/core/Drawer/Drawer.styles.js.map +1 -0
  182. package/lib/core/Email/EmailDisplay.stories.d.ts +6 -0
  183. package/lib/core/Email/EmailDisplay.stories.d.ts.map +1 -0
  184. package/lib/core/Email/EmailDisplay.stories.jsx +19 -0
  185. package/lib/core/Email/EmailDisplay.stories.jsx.map +1 -0
  186. package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts +8 -0
  187. package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -0
  188. package/lib/core/EmojiPicker/EmojiPicker.stories.jsx +52 -0
  189. package/lib/core/EmojiPicker/EmojiPicker.stories.jsx.map +1 -0
  190. package/lib/core/EmptyState/EmptyState.stories.d.ts +6 -0
  191. package/lib/core/EmptyState/EmptyState.stories.d.ts.map +1 -0
  192. package/lib/core/EmptyState/EmptyState.stories.jsx +18 -0
  193. package/lib/core/EmptyState/EmptyState.stories.jsx.map +1 -0
  194. package/lib/core/ErrorState/ErrorState.stories.d.ts +9 -0
  195. package/lib/core/ErrorState/ErrorState.stories.d.ts.map +1 -0
  196. package/lib/core/ErrorState/ErrorState.stories.jsx +20 -0
  197. package/lib/core/ErrorState/ErrorState.stories.jsx.map +1 -0
  198. package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts +7 -0
  199. package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +1 -0
  200. package/lib/core/ExpandCollapse/ExpandCollapse.stories.jsx +73 -0
  201. package/lib/core/ExpandCollapse/ExpandCollapse.stories.jsx.map +1 -0
  202. package/lib/core/ExpandCollapse/ExpandCollapse.styles.d.ts +4 -0
  203. package/lib/core/ExpandCollapse/ExpandCollapse.styles.d.ts.map +1 -0
  204. package/lib/core/ExpandCollapse/ExpandCollapse.styles.js +12 -0
  205. package/lib/core/ExpandCollapse/ExpandCollapse.styles.js.map +1 -0
  206. package/lib/core/FieldGroup/FieldGroup.stories.d.ts +11 -0
  207. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -0
  208. package/lib/core/FieldGroup/FieldGroup.stories.jsx +52 -0
  209. package/lib/core/FieldGroup/FieldGroup.stories.jsx.map +1 -0
  210. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +10 -0
  211. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -0
  212. package/lib/core/FieldGroup/FieldGroupList.stories.jsx +183 -0
  213. package/lib/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -0
  214. package/lib/core/FieldValueList/FieldValueList.stories.d.ts +10 -0
  215. package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -0
  216. package/lib/core/FieldValueList/FieldValueList.stories.jsx +54 -0
  217. package/lib/core/FieldValueList/FieldValueList.stories.jsx.map +1 -0
  218. package/lib/core/File/FileDisplay.stories.d.ts +13 -0
  219. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -0
  220. package/lib/core/File/FileDisplay.stories.jsx +100 -0
  221. package/lib/core/File/FileDisplay.stories.jsx.map +1 -0
  222. package/lib/core/File/FileInput.stories.d.ts +9 -0
  223. package/lib/core/File/FileInput.stories.d.ts.map +1 -0
  224. package/lib/core/File/FileInput.stories.jsx +76 -0
  225. package/lib/core/File/FileInput.stories.jsx.map +1 -0
  226. package/lib/core/Flex/Flex.styles.d.ts +10 -0
  227. package/lib/core/Flex/Flex.styles.d.ts.map +1 -0
  228. package/lib/core/Flex/Flex.styles.js +41 -0
  229. package/lib/core/Flex/Flex.styles.js.map +1 -0
  230. package/lib/core/Flex/FlexContainer.stories.d.ts +20 -0
  231. package/lib/core/Flex/FlexContainer.stories.d.ts.map +1 -0
  232. package/lib/core/Flex/FlexContainer.stories.jsx +151 -0
  233. package/lib/core/Flex/FlexContainer.stories.jsx.map +1 -0
  234. package/lib/core/Flex/FlexItem.stories.d.ts +13 -0
  235. package/lib/core/Flex/FlexItem.stories.d.ts.map +1 -0
  236. package/lib/core/Flex/FlexItem.stories.jsx +71 -0
  237. package/lib/core/Flex/FlexItem.stories.jsx.map +1 -0
  238. package/lib/core/Form/Form.stories.d.ts +21 -0
  239. package/lib/core/Form/Form.stories.d.ts.map +1 -0
  240. package/lib/core/Form/Form.stories.jsx +196 -0
  241. package/lib/core/Form/Form.stories.jsx.map +1 -0
  242. package/lib/core/Grid/Grid.styles.d.ts +6 -0
  243. package/lib/core/Grid/Grid.styles.d.ts.map +1 -0
  244. package/lib/core/Grid/Grid.styles.js +36 -0
  245. package/lib/core/Grid/Grid.styles.js.map +1 -0
  246. package/lib/core/Grid/GridContainer.stories.d.ts +23 -0
  247. package/lib/core/Grid/GridContainer.stories.d.ts.map +1 -0
  248. package/lib/core/Grid/GridContainer.stories.jsx +161 -0
  249. package/lib/core/Grid/GridContainer.stories.jsx.map +1 -0
  250. package/lib/core/Grid/GridItem.stories.d.ts +13 -0
  251. package/lib/core/Grid/GridItem.stories.d.ts.map +1 -0
  252. package/lib/core/Grid/GridItem.stories.jsx +74 -0
  253. package/lib/core/Grid/GridItem.stories.jsx.map +1 -0
  254. package/lib/core/Icon/Icon.stories.d.ts +8 -0
  255. package/lib/core/Icon/Icon.stories.d.ts.map +1 -0
  256. package/lib/core/Icon/Icon.stories.jsx +84 -0
  257. package/lib/core/Icon/Icon.stories.jsx.map +1 -0
  258. package/lib/core/IconPicker/IconPicker.stories.d.ts +6 -0
  259. package/lib/core/IconPicker/IconPicker.stories.d.ts.map +1 -0
  260. package/lib/core/IconPicker/IconPicker.stories.jsx +39 -0
  261. package/lib/core/IconPicker/IconPicker.stories.jsx.map +1 -0
  262. package/lib/core/Image/Image.stories.d.ts +6 -0
  263. package/lib/core/Image/Image.stories.d.ts.map +1 -0
  264. package/lib/core/Image/Image.stories.jsx +9 -0
  265. package/lib/core/Image/Image.stories.jsx.map +1 -0
  266. package/lib/core/Input/Input.stories.d.ts +9 -0
  267. package/lib/core/Input/Input.stories.d.ts.map +1 -0
  268. package/lib/core/Input/Input.stories.jsx +44 -0
  269. package/lib/core/Input/Input.stories.jsx.map +1 -0
  270. package/lib/core/Label/Label.stories.d.ts +6 -0
  271. package/lib/core/Label/Label.stories.d.ts.map +1 -0
  272. package/lib/core/Label/Label.stories.jsx +15 -0
  273. package/lib/core/Label/Label.stories.jsx.map +1 -0
  274. package/lib/core/Lightbox/Lightbox.stories.d.ts +9 -0
  275. package/lib/core/Lightbox/Lightbox.stories.d.ts.map +1 -0
  276. package/lib/core/Lightbox/Lightbox.stories.jsx +106 -0
  277. package/lib/core/Lightbox/Lightbox.stories.jsx.map +1 -0
  278. package/lib/core/Link/Link.stories.d.ts +8 -0
  279. package/lib/core/Link/Link.stories.d.ts.map +1 -0
  280. package/lib/core/Link/Link.stories.jsx +32 -0
  281. package/lib/core/Link/Link.stories.jsx.map +1 -0
  282. package/lib/core/List/CommaSeparatedList.stories.d.ts +6 -0
  283. package/lib/core/List/CommaSeparatedList.stories.d.ts.map +1 -0
  284. package/lib/core/List/CommaSeparatedList.stories.jsx +33 -0
  285. package/lib/core/List/CommaSeparatedList.stories.jsx.map +1 -0
  286. package/lib/core/List/OrderedList.stories.d.ts +10 -0
  287. package/lib/core/List/OrderedList.stories.d.ts.map +1 -0
  288. package/lib/core/List/OrderedList.stories.jsx +38 -0
  289. package/lib/core/List/OrderedList.stories.jsx.map +1 -0
  290. package/lib/core/List/UnorderedList.stories.d.ts +10 -0
  291. package/lib/core/List/UnorderedList.stories.d.ts.map +1 -0
  292. package/lib/core/List/UnorderedList.stories.jsx +38 -0
  293. package/lib/core/List/UnorderedList.stories.jsx.map +1 -0
  294. package/lib/core/Location/Location.stories.d.ts +12 -0
  295. package/lib/core/Location/Location.stories.d.ts.map +1 -0
  296. package/lib/core/Location/Location.stories.jsx +130 -0
  297. package/lib/core/Location/Location.stories.jsx.map +1 -0
  298. package/lib/core/Menu/Menu.mocks.d.ts +4 -0
  299. package/lib/core/Menu/Menu.mocks.d.ts.map +1 -0
  300. package/lib/core/Menu/Menu.mocks.js +179 -0
  301. package/lib/core/Menu/Menu.mocks.js.map +1 -0
  302. package/lib/core/Menu/Menu.stories.d.ts +17 -0
  303. package/lib/core/Menu/Menu.stories.d.ts.map +1 -0
  304. package/lib/core/Menu/Menu.stories.jsx +166 -0
  305. package/lib/core/Menu/Menu.stories.jsx.map +1 -0
  306. package/lib/core/Menu/Menu.styles.d.ts +2 -0
  307. package/lib/core/Menu/Menu.styles.d.ts.map +1 -0
  308. package/lib/core/Menu/Menu.styles.js +6 -0
  309. package/lib/core/Menu/Menu.styles.js.map +1 -0
  310. package/lib/core/MenuButton/MenuButton.stories.d.ts +15 -0
  311. package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -0
  312. package/lib/core/MenuButton/MenuButton.stories.jsx +188 -0
  313. package/lib/core/MenuButton/MenuButton.stories.jsx.map +1 -0
  314. package/lib/core/MetaList/MetaList.stories.d.ts +9 -0
  315. package/lib/core/MetaList/MetaList.stories.d.ts.map +1 -0
  316. package/lib/core/MetaList/MetaList.stories.jsx +24 -0
  317. package/lib/core/MetaList/MetaList.stories.jsx.map +1 -0
  318. package/lib/core/Modal/Modal.mocks.d.ts +4 -0
  319. package/lib/core/Modal/Modal.mocks.d.ts.map +1 -0
  320. package/lib/core/Modal/Modal.mocks.jsx +44 -0
  321. package/lib/core/Modal/Modal.mocks.jsx.map +1 -0
  322. package/lib/core/Modal/Modal.stories.d.ts +20 -0
  323. package/lib/core/Modal/Modal.stories.d.ts.map +1 -0
  324. package/lib/core/Modal/Modal.stories.jsx +305 -0
  325. package/lib/core/Modal/Modal.stories.jsx.map +1 -0
  326. package/lib/core/MultiStep/MultiStep.stories.d.ts +6 -0
  327. package/lib/core/MultiStep/MultiStep.stories.d.ts.map +1 -0
  328. package/lib/core/MultiStep/MultiStep.stories.jsx +56 -0
  329. package/lib/core/MultiStep/MultiStep.stories.jsx.map +1 -0
  330. package/lib/core/Number/Number.stories.d.ts +13 -0
  331. package/lib/core/Number/Number.stories.d.ts.map +1 -0
  332. package/lib/core/Number/Number.stories.jsx +110 -0
  333. package/lib/core/Number/Number.stories.jsx.map +1 -0
  334. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts +3 -0
  335. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  336. package/lib/core/PageTemplates/PageTemplates.mocks.js +10 -0
  337. package/lib/core/PageTemplates/PageTemplates.mocks.js.map +1 -0
  338. package/lib/core/PageTemplates/PageTemplates.stories.d.ts +28 -0
  339. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
  340. package/lib/core/PageTemplates/PageTemplates.stories.jsx +233 -0
  341. package/lib/core/PageTemplates/PageTemplates.stories.jsx.map +1 -0
  342. package/lib/core/PageTemplates/PageTemplates.styles.d.ts +4 -0
  343. package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -0
  344. package/lib/core/PageTemplates/PageTemplates.styles.js +31 -0
  345. package/lib/core/PageTemplates/PageTemplates.styles.js.map +1 -0
  346. package/lib/core/Pagination/Pagination.stories.d.ts +6 -0
  347. package/lib/core/Pagination/Pagination.stories.d.ts.map +1 -0
  348. package/lib/core/Pagination/Pagination.stories.jsx +19 -0
  349. package/lib/core/Pagination/Pagination.stories.jsx.map +1 -0
  350. package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts +6 -0
  351. package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts.map +1 -0
  352. package/lib/core/Paragraph/ParagraphDisplay.stories.jsx +12 -0
  353. package/lib/core/Paragraph/ParagraphDisplay.stories.jsx.map +1 -0
  354. package/lib/core/Phone/Phone.stories.d.ts +7 -0
  355. package/lib/core/Phone/Phone.stories.d.ts.map +1 -0
  356. package/lib/core/Phone/Phone.stories.jsx +42 -0
  357. package/lib/core/Phone/Phone.stories.jsx.map +1 -0
  358. package/lib/core/Popover/Popover.stories.d.ts +8 -0
  359. package/lib/core/Popover/Popover.stories.d.ts.map +1 -0
  360. package/lib/core/Popover/Popover.stories.jsx +184 -0
  361. package/lib/core/Popover/Popover.stories.jsx.map +1 -0
  362. package/lib/core/Progress/Progress.stories.d.ts +7 -0
  363. package/lib/core/Progress/Progress.stories.d.ts.map +1 -0
  364. package/lib/core/Progress/Progress.stories.jsx +71 -0
  365. package/lib/core/Progress/Progress.stories.jsx.map +1 -0
  366. package/lib/core/Progress/Progress.styles.d.ts +2 -0
  367. package/lib/core/Progress/Progress.styles.d.ts.map +1 -0
  368. package/lib/core/Progress/Progress.styles.js +13 -0
  369. package/lib/core/Progress/Progress.styles.js.map +1 -0
  370. package/lib/core/RadioButton/RadioButton.stories.d.ts +7 -0
  371. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -0
  372. package/lib/core/RadioButton/RadioButton.stories.jsx +26 -0
  373. package/lib/core/RadioButton/RadioButton.stories.jsx.map +1 -0
  374. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +7 -0
  375. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -0
  376. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +62 -0
  377. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -0
  378. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +4 -0
  379. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +1 -0
  380. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.js +9 -0
  381. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.js.map +1 -0
  382. package/lib/core/Rating/Rating.stories.d.ts +6 -0
  383. package/lib/core/Rating/Rating.stories.d.ts.map +1 -0
  384. package/lib/core/Rating/Rating.stories.jsx +21 -0
  385. package/lib/core/Rating/Rating.stories.jsx.map +1 -0
  386. package/lib/core/SearchInput/SearchInput.stories.d.ts +6 -0
  387. package/lib/core/SearchInput/SearchInput.stories.d.ts.map +1 -0
  388. package/lib/core/SearchInput/SearchInput.stories.jsx +15 -0
  389. package/lib/core/SearchInput/SearchInput.stories.jsx.map +1 -0
  390. package/lib/core/Select/Select.stories.d.ts +9 -0
  391. package/lib/core/Select/Select.stories.d.ts.map +1 -0
  392. package/lib/core/Select/Select.stories.jsx +42 -0
  393. package/lib/core/Select/Select.stories.jsx.map +1 -0
  394. package/lib/core/Sentiment/Sentiment.stories.d.ts +14 -0
  395. package/lib/core/Sentiment/Sentiment.stories.d.ts.map +1 -0
  396. package/lib/core/Sentiment/Sentiment.stories.jsx +39 -0
  397. package/lib/core/Sentiment/Sentiment.stories.jsx.map +1 -0
  398. package/lib/core/Slider/Slider.stories.d.ts +11 -0
  399. package/lib/core/Slider/Slider.stories.d.ts.map +1 -0
  400. package/lib/core/Slider/Slider.stories.jsx +58 -0
  401. package/lib/core/Slider/Slider.stories.jsx.map +1 -0
  402. package/lib/core/SummaryItem/SummaryItem.stories.d.ts +11 -0
  403. package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -0
  404. package/lib/core/SummaryItem/SummaryItem.stories.jsx +36 -0
  405. package/lib/core/SummaryItem/SummaryItem.stories.jsx.map +1 -0
  406. package/lib/core/SummaryList/SummaryList.mocks.d.ts +32 -0
  407. package/lib/core/SummaryList/SummaryList.mocks.d.ts.map +1 -0
  408. package/lib/core/SummaryList/SummaryList.mocks.jsx +35 -0
  409. package/lib/core/SummaryList/SummaryList.mocks.jsx.map +1 -0
  410. package/lib/core/SummaryList/SummaryList.stories.d.ts +13 -0
  411. package/lib/core/SummaryList/SummaryList.stories.d.ts.map +1 -0
  412. package/lib/core/SummaryList/SummaryList.stories.jsx +131 -0
  413. package/lib/core/SummaryList/SummaryList.stories.jsx.map +1 -0
  414. package/lib/core/Switch/Switch.stories.d.ts +7 -0
  415. package/lib/core/Switch/Switch.stories.d.ts.map +1 -0
  416. package/lib/core/Switch/Switch.stories.jsx +26 -0
  417. package/lib/core/Switch/Switch.stories.jsx.map +1 -0
  418. package/lib/core/Switch/Switch.styles.d.ts +2 -0
  419. package/lib/core/Switch/Switch.styles.d.ts.map +1 -0
  420. package/lib/core/Switch/Switch.styles.js +13 -0
  421. package/lib/core/Switch/Switch.styles.js.map +1 -0
  422. package/lib/core/Table/Table.mocks.d.ts +19 -0
  423. package/lib/core/Table/Table.mocks.d.ts.map +1 -0
  424. package/lib/core/Table/Table.mocks.jsx +32 -0
  425. package/lib/core/Table/Table.mocks.jsx.map +1 -0
  426. package/lib/core/Table/Table.stories.d.ts +14 -0
  427. package/lib/core/Table/Table.stories.d.ts.map +1 -0
  428. package/lib/core/Table/Table.stories.jsx +58 -0
  429. package/lib/core/Table/Table.stories.jsx.map +1 -0
  430. package/lib/core/Table/Table.styles.d.ts +4 -0
  431. package/lib/core/Table/Table.styles.d.ts.map +1 -0
  432. package/lib/core/Table/Table.styles.js +9 -0
  433. package/lib/core/Table/Table.styles.js.map +1 -0
  434. package/lib/core/Tabs/Tabs.stories.d.ts +7 -0
  435. package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -0
  436. package/lib/core/Tabs/Tabs.stories.jsx +59 -0
  437. package/lib/core/Tabs/Tabs.stories.jsx.map +1 -0
  438. package/lib/core/Text/Text.stories.d.ts +6 -0
  439. package/lib/core/Text/Text.stories.d.ts.map +1 -0
  440. package/lib/core/Text/Text.stories.jsx +22 -0
  441. package/lib/core/Text/Text.stories.jsx.map +1 -0
  442. package/lib/core/TextArea/TextArea.stories.d.ts +6 -0
  443. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -0
  444. package/lib/core/TextArea/TextArea.stories.jsx +43 -0
  445. package/lib/core/TextArea/TextArea.stories.jsx.map +1 -0
  446. package/lib/core/Toaster/Toaster.stories.d.ts +6 -0
  447. package/lib/core/Toaster/Toaster.stories.d.ts.map +1 -0
  448. package/lib/core/Toaster/Toaster.stories.jsx +17 -0
  449. package/lib/core/Toaster/Toaster.stories.jsx.map +1 -0
  450. package/lib/core/Tooltip/Tooltip.stories.d.ts +8 -0
  451. package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -0
  452. package/lib/core/Tooltip/Tooltip.stories.jsx +18 -0
  453. package/lib/core/Tooltip/Tooltip.stories.jsx.map +1 -0
  454. package/lib/core/Tree/Tree.mocks.d.ts +2 -0
  455. package/lib/core/Tree/Tree.mocks.d.ts.map +1 -0
  456. package/lib/core/Tree/Tree.mocks.js +20 -0
  457. package/lib/core/Tree/Tree.mocks.js.map +1 -0
  458. package/lib/core/Tree/Tree.stories.d.ts +8 -0
  459. package/lib/core/Tree/Tree.stories.d.ts.map +1 -0
  460. package/lib/core/Tree/Tree.stories.jsx +89 -0
  461. package/lib/core/Tree/Tree.stories.jsx.map +1 -0
  462. package/lib/core/Tree/Tree.styles.d.ts +3 -0
  463. package/lib/core/Tree/Tree.styles.d.ts.map +1 -0
  464. package/lib/core/Tree/Tree.styles.js +10 -0
  465. package/lib/core/Tree/Tree.styles.js.map +1 -0
  466. package/lib/core/URL/URL.stories.d.ts +6 -0
  467. package/lib/core/URL/URL.stories.d.ts.map +1 -0
  468. package/lib/core/URL/URL.stories.jsx +17 -0
  469. package/lib/core/URL/URL.stories.jsx.map +1 -0
  470. package/lib/cs/Article/Article.mocks.d.ts +14 -0
  471. package/lib/cs/Article/Article.mocks.d.ts.map +1 -0
  472. package/lib/cs/Article/Article.mocks.js +14 -0
  473. package/lib/cs/Article/Article.mocks.js.map +1 -0
  474. package/lib/cs/Article/Article.stories.d.ts +15 -0
  475. package/lib/cs/Article/Article.stories.d.ts.map +1 -0
  476. package/lib/cs/Article/Article.stories.jsx +126 -0
  477. package/lib/cs/Article/Article.stories.jsx.map +1 -0
  478. package/lib/cs/ArticleList/ArticleList.mocks.d.ts +21 -0
  479. package/lib/cs/ArticleList/ArticleList.mocks.d.ts.map +1 -0
  480. package/lib/cs/ArticleList/ArticleList.mocks.js +102 -0
  481. package/lib/cs/ArticleList/ArticleList.mocks.js.map +1 -0
  482. package/lib/cs/ArticleList/ArticleList.stories.d.ts +16 -0
  483. package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +1 -0
  484. package/lib/cs/ArticleList/ArticleList.stories.jsx +110 -0
  485. package/lib/cs/ArticleList/ArticleList.stories.jsx.map +1 -0
  486. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts +45 -0
  487. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -0
  488. package/lib/cs/CSCaseView/CSAppShell.stories.jsx +275 -0
  489. package/lib/cs/CSCaseView/CSAppShell.stories.jsx.map +1 -0
  490. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts +57 -0
  491. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts.map +1 -0
  492. package/lib/cs/CSCaseView/CSCaseView.mocks.js +224 -0
  493. package/lib/cs/CSCaseView/CSCaseView.mocks.js.map +1 -0
  494. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +16 -0
  495. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +1 -0
  496. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js +110 -0
  497. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js.map +1 -0
  498. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +13 -0
  499. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -0
  500. package/lib/cs/CallControlPanel/CallControlPanel.stories.jsx +188 -0
  501. package/lib/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -0
  502. package/lib/cs/DialPad/DialPad.stories.d.ts +9 -0
  503. package/lib/cs/DialPad/DialPad.stories.d.ts.map +1 -0
  504. package/lib/cs/DialPad/DialPad.stories.jsx +18 -0
  505. package/lib/cs/DialPad/DialPad.stories.jsx.map +1 -0
  506. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts +11 -0
  507. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +1 -0
  508. package/lib/cs/DialPad/DialPadKeyboardData.mock.js +20 -0
  509. package/lib/cs/DialPad/DialPadKeyboardData.mock.js.map +1 -0
  510. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +13 -0
  511. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -0
  512. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx +356 -0
  513. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -0
  514. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +8 -0
  515. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -0
  516. package/lib/cs/InteractionNotification/InteractionNotification.stories.jsx +32 -0
  517. package/lib/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -0
  518. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +14 -0
  519. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -0
  520. package/lib/cs/InteractionTimer/InteractionTimer.stories.jsx +85 -0
  521. package/lib/cs/InteractionTimer/InteractionTimer.stories.jsx.map +1 -0
  522. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +13 -0
  523. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -0
  524. package/lib/cs/TaskManager/TaskManager.mocks.js +140 -0
  525. package/lib/cs/TaskManager/TaskManager.mocks.js.map +1 -0
  526. package/lib/cs/TaskManager/TaskManager.stories.d.ts +8 -0
  527. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -0
  528. package/lib/cs/TaskManager/TaskManager.stories.jsx +314 -0
  529. package/lib/cs/TaskManager/TaskManager.stories.jsx.map +1 -0
  530. package/lib/dnd/DragDropList/DragDropList.stories.d.ts +11 -0
  531. package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -0
  532. package/lib/dnd/DragDropList/DragDropList.stories.jsx +119 -0
  533. package/lib/dnd/DragDropList/DragDropList.stories.jsx.map +1 -0
  534. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts +3 -0
  535. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -0
  536. package/lib/rte/RichTextEditor/RichTextEditor.mocks.jsx +34 -0
  537. package/lib/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -0
  538. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +10 -0
  539. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -0
  540. package/lib/rte/RichTextEditor/RichTextEditor.stories.jsx +145 -0
  541. package/lib/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -0
  542. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +7 -0
  543. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -0
  544. package/lib/rte/RichTextEditor/RichTextViewer.stories.jsx +62 -0
  545. package/lib/rte/RichTextEditor/RichTextViewer.stories.jsx.map +1 -0
  546. package/lib/social/Chat/Chat.mocks.d.ts +385 -0
  547. package/lib/social/Chat/Chat.mocks.d.ts.map +1 -0
  548. package/lib/social/Chat/Chat.mocks.js +648 -0
  549. package/lib/social/Chat/Chat.mocks.js.map +1 -0
  550. package/lib/social/Chat/Chat.stories.d.ts +25 -0
  551. package/lib/social/Chat/Chat.stories.d.ts.map +1 -0
  552. package/lib/social/Chat/Chat.stories.jsx +537 -0
  553. package/lib/social/Chat/Chat.stories.jsx.map +1 -0
  554. package/lib/social/Chat/RepeatingView.stories.d.ts +20 -0
  555. package/lib/social/Chat/RepeatingView.stories.d.ts.map +1 -0
  556. package/lib/social/Chat/RepeatingView.stories.jsx +90 -0
  557. package/lib/social/Chat/RepeatingView.stories.jsx.map +1 -0
  558. package/lib/social/Email/Email.mocks.d.ts +87 -0
  559. package/lib/social/Email/Email.mocks.d.ts.map +1 -0
  560. package/lib/social/Email/Email.mocks.jsx +349 -0
  561. package/lib/social/Email/Email.mocks.jsx.map +1 -0
  562. package/lib/social/Email/Email.stories.d.ts +28 -0
  563. package/lib/social/Email/Email.stories.d.ts.map +1 -0
  564. package/lib/social/Email/Email.stories.jsx +798 -0
  565. package/lib/social/Email/Email.stories.jsx.map +1 -0
  566. package/lib/social/Feed/Feed.mocks.d.ts +52 -0
  567. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -0
  568. package/lib/social/Feed/Feed.mocks.jsx +315 -0
  569. package/lib/social/Feed/Feed.mocks.jsx.map +1 -0
  570. package/lib/social/Feed/Feed.stories.d.ts +15 -0
  571. package/lib/social/Feed/Feed.stories.d.ts.map +1 -0
  572. package/lib/social/Feed/Feed.stories.jsx +146 -0
  573. package/lib/social/Feed/Feed.stories.jsx.map +1 -0
  574. package/lib/social/Feed/FeedNewPost.stories.d.ts +17 -0
  575. package/lib/social/Feed/FeedNewPost.stories.d.ts.map +1 -0
  576. package/lib/social/Feed/FeedNewPost.stories.jsx +80 -0
  577. package/lib/social/Feed/FeedNewPost.stories.jsx.map +1 -0
  578. package/lib/social/Feed/FeedPost.stories.d.ts +9 -0
  579. package/lib/social/Feed/FeedPost.stories.d.ts.map +1 -0
  580. package/lib/social/Feed/FeedPost.stories.jsx +248 -0
  581. package/lib/social/Feed/FeedPost.stories.jsx.map +1 -0
  582. package/lib/social/Feed/FeedReply.stories.d.ts +16 -0
  583. package/lib/social/Feed/FeedReply.stories.d.ts.map +1 -0
  584. package/lib/social/Feed/FeedReply.stories.jsx +99 -0
  585. package/lib/social/Feed/FeedReply.stories.jsx.map +1 -0
  586. package/lib/social/Feed/FeedReplyInput.stories.d.ts +15 -0
  587. package/lib/social/Feed/FeedReplyInput.stories.d.ts.map +1 -0
  588. package/lib/social/Feed/FeedReplyInput.stories.jsx +59 -0
  589. package/lib/social/Feed/FeedReplyInput.stories.jsx.map +1 -0
  590. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts +6 -0
  591. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -0
  592. package/lib/work/AppAnnouncement/AppAnnouncement.stories.jsx +30 -0
  593. package/lib/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +1 -0
  594. package/lib/work/CaseView/Attachments.mocks.d.ts +3 -0
  595. package/lib/work/CaseView/Attachments.mocks.d.ts.map +1 -0
  596. package/lib/work/CaseView/Attachments.mocks.jsx +388 -0
  597. package/lib/work/CaseView/Attachments.mocks.jsx.map +1 -0
  598. package/lib/work/CaseView/CaseView.mocks.d.ts +11 -0
  599. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -0
  600. package/lib/work/CaseView/CaseView.mocks.jsx +126 -0
  601. package/lib/work/CaseView/CaseView.mocks.jsx.map +1 -0
  602. package/lib/work/CaseView/CaseView.stories.d.ts +34 -0
  603. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -0
  604. package/lib/work/CaseView/CaseView.stories.jsx +264 -0
  605. package/lib/work/CaseView/CaseView.stories.jsx.map +1 -0
  606. package/lib/work/CaseView/Details.mocks.d.ts +3 -0
  607. package/lib/work/CaseView/Details.mocks.d.ts.map +1 -0
  608. package/lib/work/CaseView/Details.mocks.jsx +21 -0
  609. package/lib/work/CaseView/Details.mocks.jsx.map +1 -0
  610. package/lib/work/CaseView/FileService.mock.d.ts +28 -0
  611. package/lib/work/CaseView/FileService.mock.d.ts.map +1 -0
  612. package/lib/work/CaseView/FileService.mock.jsx +139 -0
  613. package/lib/work/CaseView/FileService.mock.jsx.map +1 -0
  614. package/lib/work/CaseView/MobileCaseView.stories.d.ts +11 -0
  615. package/lib/work/CaseView/MobileCaseView.stories.d.ts.map +1 -0
  616. package/lib/work/CaseView/MobileCaseView.stories.jsx +27 -0
  617. package/lib/work/CaseView/MobileCaseView.stories.jsx.map +1 -0
  618. package/lib/work/CaseView/Pulse.mocks.d.ts +6 -0
  619. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -0
  620. package/lib/work/CaseView/Pulse.mocks.jsx +35 -0
  621. package/lib/work/CaseView/Pulse.mocks.jsx.map +1 -0
  622. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +10 -0
  623. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -0
  624. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +195 -0
  625. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -0
  626. package/lib/work/Confirmation/Confirmation.stories.d.ts +9 -0
  627. package/lib/work/Confirmation/Confirmation.stories.d.ts.map +1 -0
  628. package/lib/work/Confirmation/Confirmation.stories.jsx +17 -0
  629. package/lib/work/Confirmation/Confirmation.stories.jsx.map +1 -0
  630. package/lib/work/Details/Details.stories.d.ts +5 -0
  631. package/lib/work/Details/Details.stories.d.ts.map +1 -0
  632. package/lib/work/Details/Details.stories.jsx +65 -0
  633. package/lib/work/Details/Details.stories.jsx.map +1 -0
  634. package/lib/work/Glimpse/Glimpse.stories.d.ts +10 -0
  635. package/lib/work/Glimpse/Glimpse.stories.d.ts.map +1 -0
  636. package/lib/work/Glimpse/Glimpse.stories.jsx +39 -0
  637. package/lib/work/Glimpse/Glimpse.stories.jsx.map +1 -0
  638. package/lib/work/SearchResults/SearchResults.mocks.d.ts +8 -0
  639. package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +1 -0
  640. package/lib/work/SearchResults/SearchResults.mocks.jsx +96 -0
  641. package/lib/work/SearchResults/SearchResults.mocks.jsx.map +1 -0
  642. package/lib/work/SearchResults/SearchResults.stories.d.ts +8 -0
  643. package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -0
  644. package/lib/work/SearchResults/SearchResults.stories.jsx +205 -0
  645. package/lib/work/SearchResults/SearchResults.stories.jsx.map +1 -0
  646. package/lib/work/Stages/Stages.stories.d.ts +11 -0
  647. package/lib/work/Stages/Stages.stories.d.ts.map +1 -0
  648. package/lib/work/Stages/Stages.stories.jsx +65 -0
  649. package/lib/work/Stages/Stages.stories.jsx.map +1 -0
  650. package/lib/work/Stakeholders/Stakeholders.stories.d.ts +9 -0
  651. package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -0
  652. package/lib/work/Stakeholders/Stakeholders.stories.jsx +118 -0
  653. package/lib/work/Stakeholders/Stakeholders.stories.jsx.map +1 -0
  654. package/lib/work/Tags/Tags.mocks.d.ts +3 -0
  655. package/lib/work/Tags/Tags.mocks.d.ts.map +1 -0
  656. package/lib/work/Tags/Tags.mocks.js +76 -0
  657. package/lib/work/Tags/Tags.mocks.js.map +1 -0
  658. package/lib/work/Tags/Tags.stories.d.ts +10 -0
  659. package/lib/work/Tags/Tags.stories.d.ts.map +1 -0
  660. package/lib/work/Tags/Tags.stories.jsx +61 -0
  661. package/lib/work/Tags/Tags.stories.jsx.map +1 -0
  662. package/lib/work/Tasks/TaskList.stories.d.ts +5 -0
  663. package/lib/work/Tasks/TaskList.stories.d.ts.map +1 -0
  664. package/lib/work/Tasks/TaskList.stories.jsx +17 -0
  665. package/lib/work/Tasks/TaskList.stories.jsx.map +1 -0
  666. package/lib/work/Tasks/Tasks.stories.d.ts +9 -0
  667. package/lib/work/Tasks/Tasks.stories.d.ts.map +1 -0
  668. package/lib/work/Tasks/Tasks.stories.jsx +101 -0
  669. package/lib/work/Tasks/Tasks.stories.jsx.map +1 -0
  670. package/lib/work/Timeline/Timeline.mocks.d.ts +3 -0
  671. package/lib/work/Timeline/Timeline.mocks.d.ts.map +1 -0
  672. package/lib/work/Timeline/Timeline.mocks.jsx +129 -0
  673. package/lib/work/Timeline/Timeline.mocks.jsx.map +1 -0
  674. package/lib/work/Timeline/Timeline.stories.d.ts +7 -0
  675. package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -0
  676. package/lib/work/Timeline/Timeline.stories.jsx +43 -0
  677. package/lib/work/Timeline/Timeline.stories.jsx.map +1 -0
  678. package/package.json +47 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LifeCycle.mocks.js","sourceRoot":"","sources":["../../../src/build/LifeCycle/LifeCycle.mocks.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F;SACF;KACF;IACD,eAAe,EAAE;QACf;YACE,EAAE,EAAE,IAAI;YACR,KAAK,EAAE,gBAAgB;YACvB,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,EAAE;YACT,UAAU,EAAE;gBACV;oBACE,EAAE,EAAE,IAAI;oBACR,UAAU,EAAE,EAAE;oBACd,KAAK,EAAE;wBACL;4BACE;gCACE,EAAE,EAAE,IAAI;gCACR,KAAK,EAAE,mBAAmB;gCAC1B,MAAM,EAAE;oCACN,MAAM,EAAE,EAAE;iCACX;gCACD,KAAK,EAAE,EAAE;gCACT,KAAK,EAAE;oCACL;wCACE,EAAE,EAAE,IAAI;wCACR,KAAK,EAAE,YAAY;wCACnB,MAAM,EAAE;4CACN,MAAM,EAAE,EAAE;4CACV,IAAI,EAAE,MAAM;4CACZ,KAAK,EAAE,YAAY;4CACnB,KAAK,EAAE,SAAS;yCACjB;wCACD,KAAK,EAAE,EAAE;wCACT,MAAM,EAAE;4CACN,KAAK,EAAE,EAAE;4CACT,IAAI,EAAE,EAAE;yCACT;qCACF;oCACD;wCACE,EAAE,EAAE,IAAI;wCACR,KAAK,EAAE,aAAa;wCACpB,MAAM,EAAE;4CACN,MAAM,EAAE,EAAE;4CACV,IAAI,EAAE,OAAO;4CACb,KAAK,EAAE,SAAS;4CAChB,KAAK,EAAE,OAAO;yCACf;wCACD,KAAK,EAAE,EAAE;wCACT,MAAM,EAAE;4CACN,KAAK,EAAE,EAAE;4CACT,IAAI,EAAE,EAAE;yCACT;qCACF;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF;QACD;YACE,EAAE,EAAE,IAAI;YACR,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,EAAE;YACT,UAAU,EAAE;gBACV;oBACE,EAAE,EAAE,IAAI;oBACR,UAAU,EAAE,EAAE;oBACd,KAAK,EAAE,EAAE;iBACV;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["export const LifeCycleEmptyData = {\n id: '100',\n categories: [],\n stages: [\n {\n id: '1',\n label: 'Create',\n type: 'start',\n error: '',\n categories: [\n {\n id: '2',\n categoryId: '',\n tasks: [\n [\n {\n id: '3',\n label: 'Process',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '4',\n label: 'Form',\n visual: {\n imgurl: '',\n icon: 'clipboard-data',\n color: 'Japaneselaurel',\n label: 'pega data'\n },\n status: {\n type: '',\n label: ''\n },\n error: ''\n }\n ]\n }\n ]\n ]\n }\n ]\n }\n ],\n alternateStages: []\n};\n\nexport const LifeCycleEmptyPlanViewData = {\n id: '100',\n categories: [\n {\n label: 'Personas and Channels',\n id: 'Category1'\n },\n {\n label: 'Data and system',\n id: 'Category2'\n }\n ],\n stages: [\n {\n id: '1',\n label: 'create',\n type: 'start',\n error: '',\n categories: [\n {\n id: '2',\n categoryId: 'Category2',\n tasks: []\n },\n {\n id: '9',\n categoryId: 'Category1',\n tasks: []\n }\n ]\n }\n ],\n alternateStages: []\n};\n\nexport const LifeCyclePlanViewData = {\n id: '100',\n categories: [\n {\n label: 'Personas and Channels',\n id: 'Category1'\n },\n {\n label: 'Data and system',\n id: 'Category2'\n }\n ],\n stages: [\n {\n id: '1',\n label: 'Apply for job',\n type: 'start',\n error: '',\n categories: [\n {\n id: '2',\n categoryId: 'Category2',\n tasks: [\n {\n id: '3',\n label: 'Pega Attachments',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '4',\n label: 'Pega',\n visual: {\n imgurl: '',\n icon: 'pegasus',\n color: 'studio',\n label: 'pega data'\n },\n status: {\n label: 'MLP 1',\n type: 'success'\n },\n error: ''\n },\n {\n id: '5',\n label: 'Customer Data',\n visual: {\n imgurl: '',\n icon: 'document-pdf',\n color: 'yellow',\n label: 'data'\n },\n status: {\n label: 'MLP 2',\n type: 'success'\n },\n error: ''\n }\n ]\n },\n {\n id: '6',\n label: 'User Attachments',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '7',\n label: 'User Data',\n visual: {\n imgurl: '',\n icon: 'documents',\n color: 'violet',\n label: 'data'\n },\n status: {\n label: 'MLP 1',\n type: 'warn'\n },\n error: ''\n },\n {\n id: '8',\n label: 'Uploads',\n visual: {\n imgurl: '',\n icon: 'document-upload',\n color: 'orange',\n label: 'data upload'\n },\n status: {\n label: 'MLP 2',\n type: 'pending'\n },\n error: ''\n }\n ]\n }\n ]\n },\n {\n id: '9',\n categoryId: 'Category1',\n tasks: [\n {\n id: '10',\n label: 'Manager',\n visual: {\n imgurl:\n 'https://pbs.twimg.com/profile_images/824369446798106628/_biA5GRt_400x400.jpg'\n },\n error: '',\n steps: [\n {\n id: '11',\n label: 'Manager portal',\n visual: {\n imgurl: '',\n icon: 'desktop',\n color: 'orange',\n label: 'portal'\n },\n status: {\n label: 'MLP 1',\n type: 'success'\n },\n error: ''\n },\n {\n id: '12',\n label: 'Send email',\n visual: {\n imgurl: '',\n icon: 'mail',\n color: 'darkyellow',\n label: 'email'\n },\n status: {\n label: 'MLP 2',\n type: 'info'\n },\n error: ''\n }\n ]\n },\n {\n id: '13',\n label: 'User',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '14',\n label: 'User portal',\n visual: {\n imgurl: '',\n icon: 'laptop',\n color: 'magenta',\n label: 'portal'\n },\n status: {\n label: 'MLP 1',\n type: 'success'\n },\n error: ''\n },\n {\n id: '15',\n label: 'Mobile Application',\n visual: {\n imgurl: '',\n icon: 'mobile-phone',\n color: 'Japaneselaurel',\n label: 'phone'\n },\n status: {\n label: 'MLP 3',\n type: 'urgent'\n },\n error: ''\n }\n ]\n },\n {\n id: '16',\n label: 'Back Office Users',\n visual: {\n imgurl:\n 'https://pbs.twimg.com/profile_images/824369446798106628/_biA5GRt_400x400.jpg'\n },\n error: '',\n steps: [\n {\n id: '17',\n label: 'Web services',\n visual: {\n imgurl: '',\n icon: 'server',\n color: 'congressBlue',\n label: 'web server'\n },\n status: {\n label: '',\n type: ''\n },\n error: ''\n }\n ]\n }\n ]\n }\n ]\n },\n {\n id: '18',\n label: 'Review',\n type: 'default',\n error: '',\n categories: [\n {\n id: '19',\n categoryId: 'Category1',\n tasks: [\n {\n id: '20',\n label: 'Back Office Users',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '21',\n label: 'Web services',\n visual: {\n imgurl: '',\n icon: 'server',\n color: 'congressBlue',\n label: 'web server'\n },\n status: {\n label: '',\n type: ''\n },\n error: ''\n },\n {\n id: '22',\n label: 'Mobile services',\n visual: {\n imgurl: '',\n icon: 'mobile-phone',\n color: 'Japaneselaurel',\n label: 'web server'\n },\n status: {\n label: '',\n type: ''\n },\n error: ''\n }\n ]\n }\n ]\n },\n {\n id: '23',\n categoryId: 'Category2',\n tasks: [\n {\n id: '24',\n label: 'Case Data',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '25',\n label: 'Documents submission',\n visual: {\n imgurl: '',\n icon: 'documents-data',\n color: 'studio',\n label: 'documents'\n },\n status: {\n label: 'MLP 1',\n type: 'success'\n },\n error: ''\n },\n {\n id: '26',\n label: 'Verify Documents',\n visual: {\n imgurl: '',\n icon: 'clipboard-check',\n color: 'orange',\n label: 'verify'\n },\n status: {\n label: 'MLP 4',\n type: 'pending'\n },\n error: ''\n }\n ]\n }\n ]\n }\n ]\n },\n {\n id: '27',\n label: 'Interview',\n error: '',\n type: 'default',\n categories: [\n {\n id: '28',\n categoryId: 'Category1',\n tasks: [\n {\n id: '29',\n label: 'HR Hub',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '30',\n label: 'HR portal',\n visual: {\n imgurl: '',\n icon: 'desktop',\n color: 'congressBlue',\n label: 'HR'\n },\n status: {\n label: 'MLP 1',\n type: 'pending'\n },\n error: ''\n },\n {\n id: '31',\n label: 'Send feedback',\n visual: {\n imgurl: '',\n icon: 'docusign',\n color: 'yellow',\n label: 'Channel'\n },\n status: {\n label: '',\n type: ''\n },\n error: ''\n }\n ]\n }\n ]\n },\n {\n id: '32',\n categoryId: 'Category2',\n tasks: [\n {\n id: '33',\n label: 'HR',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '34',\n label: 'Candidate Info',\n visual: {\n imgurl: '',\n icon: 'information',\n color: 'congressBlue',\n label: 'Info'\n },\n status: {\n label: 'MLP 1',\n type: 'info'\n },\n error: ''\n }\n ]\n }\n ]\n }\n ]\n },\n {\n id: '35',\n label: 'Release offer',\n error: '',\n type: 'resolution',\n categories: [\n {\n id: 'uniqueId',\n categoryId: 'Category1',\n tasks: []\n },\n {\n id: '36',\n categoryId: 'Category2',\n tasks: []\n }\n ]\n }\n ],\n alternateStages: [\n {\n id: '37',\n label: 'Rejected Offer',\n error: '',\n type: 'alternate',\n categories: [\n {\n id: '38',\n categoryId: 'Category1',\n tasks: [\n {\n id: '39',\n label: 'HR',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '40',\n label: 'HR portal',\n visual: {\n imgurl: '',\n icon: 'desktop',\n color: 'congressBlue',\n label: 'HR'\n },\n status: {\n label: 'MLP 1',\n type: 'pending'\n },\n error: ''\n },\n {\n id: '41',\n label: 'get feedback',\n visual: {\n imgurl: '',\n icon: 'docusign',\n color: 'yellow',\n label: 'Channel'\n },\n status: {\n label: '',\n type: ''\n },\n error: ''\n }\n ]\n }\n ]\n },\n {\n id: '42',\n categoryId: 'Category2',\n tasks: [\n {\n id: '43',\n label: 'Interview Data',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '44',\n label: 'Interviewers',\n visual: {\n imgurl: '',\n icon: 'information',\n color: 'congressBlue',\n label: 'Info'\n },\n status: {\n label: 'MLP 1',\n type: 'info'\n },\n error: ''\n }\n ]\n }\n ]\n }\n ]\n },\n {\n id: '45',\n label: 'Release offer',\n error: '',\n type: 'alternate',\n categories: [\n {\n id: '46',\n categoryId: 'Category1',\n tasks: []\n },\n {\n id: '47',\n categoryId: 'Category2',\n tasks: []\n }\n ]\n }\n ]\n};\n\nexport const LifeCycleWorkFlowData = {\n id: 'unique01',\n categories: [],\n stages: [\n {\n id: '1',\n label: 'Apply for job',\n type: 'start',\n error: '',\n categories: [\n {\n id: '2',\n categoryId: '',\n tasks: [\n [\n {\n id: '3',\n label: 'Collect Information',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '4',\n label: 'Personal details',\n visual: {\n imgurl: '',\n icon: 'clipboard-data',\n color: 'Japaneselaurel',\n label: 'details'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '5',\n label: 'Work history',\n visual: {\n imgurl: '',\n icon: 'clipboard-data',\n color: 'Japaneselaurel',\n label: 'history'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '6',\n label: 'Technical skills',\n visual: {\n imgurl: '',\n icon: 'clipboard-data',\n color: 'Japaneselaurel',\n label: 'technical'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '7',\n label: 'Address',\n visual: {\n imgurl: '',\n icon: 'clipboard-data',\n color: 'Japaneselaurel',\n label: 'location'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '8',\n label: 'Availability ',\n visual: {\n imgurl: '',\n icon: 'clipboard-data',\n color: 'Japaneselaurel',\n label: 'date'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n }\n ]\n },\n {\n id: '9',\n label: 'Submit application',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '10',\n label: 'Register',\n visual: {\n imgurl: '',\n icon: 'clipboard-data',\n color: 'Japaneselaurel',\n label: 'register'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '11',\n label: 'Upload resume',\n visual: {\n imgurl: '',\n icon: 'document-upload',\n color: 'yellow',\n label: 'upload'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '12',\n label: 'Apply',\n visual: {\n imgurl: '',\n icon: 'clipboard-check',\n color: 'Japaneselaurel',\n label: 'apply'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n }\n ]\n }\n ]\n ]\n }\n ]\n },\n {\n id: '13',\n label: 'Review',\n type: 'default',\n error: '',\n categories: [\n {\n id: '14',\n categoryId: '',\n tasks: [\n [\n {\n id: '15',\n label: 'Review application',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '16',\n label: 'Review candidates',\n visual: {\n imgurl: '',\n icon: 'user-list',\n color: 'magenta',\n label: 'review'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '17',\n label: 'Contact applicants',\n visual: {\n imgurl: '',\n icon: 'phone-out',\n color: 'studio',\n label: 'Channel'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '18',\n label: 'Screening',\n visual: {\n imgurl: '',\n icon: 'list',\n color: 'violet',\n label: 'screening'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '19',\n label: 'Approve candidate',\n visual: {\n imgurl: '',\n icon: 'check',\n color: 'congressBlue',\n label: 'approve'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n }\n ]\n }\n ],\n [\n {\n id: '20',\n label: 'Schedule Interview 1',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '21',\n label: 'Get Panel',\n visual: {\n imgurl: '',\n icon: 'dataviz-datetime-field',\n color: 'congressBlue',\n label: 'get panel'\n },\n status: {\n label: 'MLP 1',\n type: 'info'\n },\n error: ''\n },\n {\n id: '22',\n label: 'Send Email',\n visual: {\n imgurl: '',\n icon: 'mail',\n color: 'darkyellow',\n label: 'Channel'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n }\n ]\n }\n ],\n [\n {\n id: '23',\n label: 'Schedule Manager Round',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '24',\n label: 'Get Panel',\n visual: {\n imgurl: '',\n icon: 'dataviz-datetime-field',\n color: 'congressBlue',\n label: 'get panel'\n },\n status: {\n label: 'MLP 1',\n type: 'info'\n },\n error: ''\n },\n {\n id: '25',\n label: 'Send Email',\n visual: {\n imgurl: '',\n icon: 'mail',\n color: 'darkyellow',\n label: 'Channel'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n }\n ]\n }\n ]\n ]\n }\n ]\n },\n {\n id: '26',\n label: 'Interview',\n type: 'default',\n error: '',\n categories: [\n {\n id: '27',\n categoryId: '',\n tasks: [\n [\n {\n id: '28',\n label: 'Conduct Interview',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '29',\n label: 'Hackerearth Test',\n visual: {\n imgurl: '',\n icon: 'code',\n color: 'congressBlue',\n label: 'coding test'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '30',\n label: 'Technical 1',\n visual: {\n imgurl: '',\n icon: 'stoplight',\n color: 'Japaneselaurel',\n label: 'technical'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '31',\n label: 'Technical 2',\n visual: {\n imgurl: '',\n icon: 'stoplight',\n color: 'Japaneselaurel',\n label: 'technical'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '32',\n label: 'Technical 3',\n visual: {\n imgurl: '',\n icon: 'stoplight',\n color: 'Japaneselaurel',\n label: 'technical'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '33',\n label: 'Send Email',\n visual: {\n imgurl: '',\n icon: 'mail',\n color: 'darkyellow',\n label: 'email'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n }\n ]\n }\n ]\n ]\n }\n ]\n },\n {\n id: '34',\n label: 'Release Offer',\n type: 'resolution',\n error: '',\n categories: [\n {\n id: '35',\n categoryId: '',\n tasks: []\n }\n ]\n }\n ],\n alternateStages: [\n {\n id: '36',\n label: 'Rejected Offer',\n type: 'alternate',\n error: '',\n categories: [\n {\n id: '37',\n categoryId: '',\n tasks: [\n [\n {\n id: '38',\n label: 'Contact candidate',\n visual: {\n imgurl: ''\n },\n error: '',\n steps: [\n {\n id: '39',\n label: 'Send Email',\n visual: {\n imgurl: '',\n icon: 'mail',\n color: 'darkyellow',\n label: 'details'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n },\n {\n id: '40',\n label: 'Make a call',\n visual: {\n imgurl: '',\n icon: 'phone',\n color: 'magenta',\n label: 'phone'\n },\n error: '',\n status: {\n label: '',\n type: ''\n }\n }\n ]\n }\n ]\n ]\n }\n ]\n },\n {\n id: '41',\n label: 'Candidate unavailable',\n type: 'alternate',\n error: '',\n categories: [\n {\n id: '42',\n categoryId: '',\n tasks: []\n }\n ]\n }\n ]\n};\n"]}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ component: import("react").FunctionComponent<import("@pega/cosmos-react-build").LifeCycleProps & import("@pega/cosmos-react-core").ForwardProps>;
5
+ };
6
+ export default _default;
7
+ export declare const PlanView: () => JSX.Element;
8
+ export declare const EmptyPlanView: () => JSX.Element;
9
+ export declare const WorkFlowView: () => JSX.Element;
10
+ export declare const EmptyWorkFlowView: () => JSX.Element;
11
+ //# sourceMappingURL=LifeCycle.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LifeCycle.stories.d.ts","sourceRoot":"","sources":["../../../src/build/LifeCycle/LifeCycle.stories.tsx"],"names":[],"mappings":";;;;;AA0BA,wBAGE;AAEF,eAAO,MAAM,QAAQ,mBAoKpB,CAAC;AAEF,eAAO,MAAM,aAAa,mBAkKzB,CAAC;AAEF,eAAO,MAAM,YAAY,mBA6IxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,mBA6I7B,CAAC"}
@@ -0,0 +1,491 @@
1
+ import { useEffect, useState } from 'react';
2
+ import { LifeCycle } from '@pega/cosmos-react-build';
3
+ import { LifeCycleEmptyData, LifeCycleEmptyPlanViewData, LifeCyclePlanViewData, LifeCycleWorkFlowData } from './LifeCycle.mocks';
4
+ import { addStepCallback, deleteStepCallback, addTaskCallback, deleteTaskCallback, addStageCallback, deleteStageCallback } from './utils';
5
+ export default {
6
+ title: 'Build/LifeCycle',
7
+ component: LifeCycle
8
+ };
9
+ export const PlanView = () => {
10
+ const workFlowState = {
11
+ activeElementId: '',
12
+ data: LifeCyclePlanViewData
13
+ };
14
+ const [planViewData, setPlanViewData] = useState(workFlowState);
15
+ const addStep = (stepData) => {
16
+ const changedData = addStepCallback(stepData, planViewData);
17
+ setPlanViewData(changedData);
18
+ };
19
+ const deleteStep = (stepData) => {
20
+ const changedData = deleteStepCallback(stepData, planViewData);
21
+ setPlanViewData(changedData);
22
+ };
23
+ const addTask = (taskData) => {
24
+ const changedData = addTaskCallback(taskData, planViewData);
25
+ setPlanViewData(changedData);
26
+ };
27
+ const deleteTask = (taskData) => {
28
+ const changedData = deleteTaskCallback(taskData, planViewData);
29
+ setPlanViewData(changedData);
30
+ };
31
+ const onAddStage = () => {
32
+ const changedData = addStageCallback(planViewData, 'stages');
33
+ setPlanViewData(changedData);
34
+ };
35
+ const onAddAlternateStage = () => {
36
+ const changedData = addStageCallback(planViewData, 'alternateStages');
37
+ setPlanViewData(changedData);
38
+ };
39
+ const onDeleteStage = param => {
40
+ const changedData = deleteStageCallback(param, planViewData);
41
+ if (changedData === 'firstStage') {
42
+ alert("you can't delete the create stage");
43
+ }
44
+ else {
45
+ setPlanViewData(changedData);
46
+ }
47
+ };
48
+ const onStepInputChange = () => {
49
+ };
50
+ const onTaskInputChange = () => {
51
+ };
52
+ const onStageInputChange = () => {
53
+ };
54
+ const onAlternateStageInputChange = () => {
55
+ };
56
+ useEffect(() => {
57
+ if (planViewData.activeElementId) {
58
+ const elementId = document.getElementById(`${planViewData.activeElementId}`);
59
+ if (elementId) {
60
+ elementId.focus();
61
+ }
62
+ }
63
+ });
64
+ const stages = planViewData.data.stages;
65
+ const alternateStages = planViewData.data.alternateStages;
66
+ const categories = planViewData.data.categories;
67
+ return (<LifeCycle items={stages} alternateItems={alternateStages} categories={categories} task={[
68
+ {
69
+ actions: [
70
+ { text: 'Add step', id: 'delete1', icon: 'plus', onClick: addStep },
71
+ {
72
+ text: 'Delete task',
73
+ id: 'delete2',
74
+ icon: 'trash',
75
+ onClick: deleteTask
76
+ }
77
+ ],
78
+ addStepTitle: 'channels',
79
+ addTask: {
80
+ title: 'Persona',
81
+ showOnce: false,
82
+ onAddTask: addTask
83
+ },
84
+ onAddStep: addStep,
85
+ onChange: onTaskInputChange
86
+ },
87
+ {
88
+ actions: [
89
+ { text: 'Add step', id: 'delete3', icon: 'plus', onClick: addStep },
90
+ {
91
+ text: 'Delete task',
92
+ id: 'delete4',
93
+ icon: 'trash',
94
+ onClick: deleteTask
95
+ }
96
+ ],
97
+ addStepTitle: 'Data and Systems',
98
+ addTask: {
99
+ title: 'Data',
100
+ showOnce: false,
101
+ onAddTask: addTask
102
+ },
103
+ onAddStep: addStep,
104
+ onChange: onTaskInputChange
105
+ }
106
+ ]} step={[
107
+ {
108
+ actions: [
109
+ {
110
+ text: 'Delete Step',
111
+ id: 'delete5',
112
+ icon: 'trash',
113
+ onClick: deleteStep
114
+ }
115
+ ],
116
+ onChange: onStepInputChange
117
+ },
118
+ {
119
+ actions: [
120
+ {
121
+ text: 'Delete Step',
122
+ id: 'delete6',
123
+ icon: 'trash',
124
+ onClick: deleteStep
125
+ }
126
+ ],
127
+ onChange: onStepInputChange
128
+ }
129
+ ]} stage={{
130
+ actions: [
131
+ { text: 'Add Alternate Stage', id: 'add2', onClick: onAddAlternateStage },
132
+ { text: 'Delete Stage', id: 'delete11', onClick: onDeleteStage }
133
+ ],
134
+ onChange: onStageInputChange
135
+ }} alternateStage={{
136
+ actions: [{ text: 'Delete Stage', id: 'delete11', icon: 'trash', onClick: onDeleteStage }],
137
+ onChange: onAlternateStageInputChange
138
+ }} onAddStage={onAddStage} onAddAlternateStage={onAddAlternateStage}/>);
139
+ };
140
+ export const EmptyPlanView = () => {
141
+ const emptyPlanView = {
142
+ activeElementId: '',
143
+ data: LifeCycleEmptyPlanViewData
144
+ };
145
+ const [emptyplanViewData, setPlanViewData] = useState(emptyPlanView);
146
+ const addStep = (stepData) => {
147
+ const changedData = addStepCallback(stepData, emptyplanViewData);
148
+ setPlanViewData(changedData);
149
+ };
150
+ const deleteStep = (stepData) => {
151
+ const changedData = deleteStepCallback(stepData, emptyplanViewData);
152
+ setPlanViewData(changedData);
153
+ };
154
+ const addTask = (taskData) => {
155
+ const changedData = addTaskCallback(taskData, emptyplanViewData);
156
+ setPlanViewData(changedData);
157
+ };
158
+ const deleteTask = (taskData) => {
159
+ const changedData = deleteTaskCallback(taskData, emptyplanViewData);
160
+ setPlanViewData(changedData);
161
+ };
162
+ const onAddStage = () => {
163
+ const changedData = addStageCallback(emptyplanViewData, 'stages');
164
+ setPlanViewData(changedData);
165
+ };
166
+ const onAddAlternateStage = () => {
167
+ const changedData = addStageCallback(emptyplanViewData, 'alternateStages');
168
+ setPlanViewData(changedData);
169
+ };
170
+ const onDeleteStage = param => {
171
+ const changedData = deleteStageCallback(param, emptyplanViewData);
172
+ if (changedData === 'firstStage') {
173
+ alert("you can't delete the create stage");
174
+ }
175
+ else {
176
+ setPlanViewData(changedData);
177
+ }
178
+ };
179
+ const personaStepInputChange = () => {
180
+ };
181
+ const personaTaskInputChange = () => {
182
+ };
183
+ const onStageInputChange = () => {
184
+ };
185
+ const onAlternateStageInputChange = () => {
186
+ };
187
+ useEffect(() => {
188
+ if (emptyplanViewData.activeElementId) {
189
+ const elementId = document.getElementById(`${emptyplanViewData.activeElementId}`);
190
+ if (elementId) {
191
+ elementId.focus();
192
+ }
193
+ }
194
+ });
195
+ const stages = emptyplanViewData.data.stages;
196
+ const alternateStages = emptyplanViewData.data.alternateStages;
197
+ const categories = emptyplanViewData.data.categories;
198
+ return (<LifeCycle items={stages} alternateItems={alternateStages} categories={categories} task={[
199
+ {
200
+ actions: [
201
+ { text: 'Add step', id: 'delete1', icon: 'plus', onClick: addStep },
202
+ {
203
+ text: 'Delete task',
204
+ id: 'delete2',
205
+ icon: 'trash',
206
+ onClick: deleteTask
207
+ }
208
+ ],
209
+ addStepTitle: 'channels',
210
+ addTask: {
211
+ title: 'Persona',
212
+ showOnce: false,
213
+ onAddTask: addTask
214
+ },
215
+ onAddStep: addStep,
216
+ onChange: personaTaskInputChange
217
+ },
218
+ {
219
+ actions: [
220
+ { text: 'Add step', id: 'delete3', icon: 'plus', onClick: addStep },
221
+ {
222
+ text: 'Delete task',
223
+ id: 'delete4',
224
+ icon: 'trash',
225
+ onClick: deleteTask
226
+ }
227
+ ],
228
+ addStepTitle: 'Data and Systems',
229
+ addTask: {
230
+ title: 'Data',
231
+ showOnce: false,
232
+ onAddTask: addTask
233
+ },
234
+ onAddStep: addStep,
235
+ onChange: personaTaskInputChange
236
+ }
237
+ ]} step={[
238
+ {
239
+ actions: [
240
+ {
241
+ text: 'Delete Step',
242
+ id: 'delete5',
243
+ icon: 'trash',
244
+ onClick: deleteStep
245
+ }
246
+ ],
247
+ onChange: personaStepInputChange
248
+ },
249
+ {
250
+ actions: [
251
+ {
252
+ text: 'Delete Step',
253
+ id: 'delete6',
254
+ icon: 'trash',
255
+ onClick: deleteStep
256
+ }
257
+ ],
258
+ onChange: personaStepInputChange
259
+ }
260
+ ]} stage={{
261
+ actions: [
262
+ { text: 'Add Alternate Stage', id: 'add2', onClick: onAddAlternateStage },
263
+ { text: 'Delete Stage', id: 'delete11', onClick: onDeleteStage }
264
+ ],
265
+ onChange: onStageInputChange
266
+ }} alternateStage={{
267
+ actions: [{ text: 'Delete Stage', id: 'delete11', icon: 'trash', onClick: onDeleteStage }],
268
+ onChange: onAlternateStageInputChange
269
+ }} onAddStage={onAddStage} onAddAlternateStage={onAddAlternateStage}/>);
270
+ };
271
+ export const WorkFlowView = () => {
272
+ const workFlowState = {
273
+ activeElementId: '',
274
+ data: LifeCycleWorkFlowData
275
+ };
276
+ const [workFlowData, setWorkFlowData] = useState(workFlowState);
277
+ const addProcessStep = (stepData) => {
278
+ const changedData = addStepCallback(stepData, workFlowData);
279
+ setWorkFlowData(changedData);
280
+ };
281
+ const deleteProcessStep = (stepData) => {
282
+ const changedData = deleteStepCallback(stepData, workFlowData);
283
+ setWorkFlowData(changedData);
284
+ };
285
+ const addProcess = (taskData) => {
286
+ const changedData = addTaskCallback(taskData, workFlowData);
287
+ setWorkFlowData(changedData);
288
+ };
289
+ const addParallelProcess = (taskData) => {
290
+ const changedData = addTaskCallback(taskData, workFlowData, true);
291
+ setWorkFlowData(changedData);
292
+ };
293
+ const deleteProcess = (taskData) => {
294
+ const changedData = deleteTaskCallback(taskData, workFlowData);
295
+ setWorkFlowData(changedData);
296
+ };
297
+ const onAddStage = () => {
298
+ const changedData = addStageCallback(workFlowData, 'stages');
299
+ setWorkFlowData(changedData);
300
+ };
301
+ const onAddAlternateStage = () => {
302
+ const changedData = addStageCallback(workFlowData, 'alternateStages');
303
+ setWorkFlowData(changedData);
304
+ };
305
+ const onDeleteStage = param => {
306
+ const changedData = deleteStageCallback(param, workFlowData);
307
+ if (changedData === 'firstStage') {
308
+ alert("you can't delete the create stage");
309
+ }
310
+ else {
311
+ setWorkFlowData(changedData);
312
+ }
313
+ };
314
+ const stepInputChange = () => {
315
+ };
316
+ const taskInputChange = () => {
317
+ };
318
+ const onStageInputChange = () => {
319
+ };
320
+ const onAlternateStageInputChange = () => { };
321
+ useEffect(() => {
322
+ if (workFlowData.activeElementId) {
323
+ const elementId = document.getElementById(`${workFlowData.activeElementId}`);
324
+ if (elementId) {
325
+ elementId.focus();
326
+ }
327
+ }
328
+ });
329
+ const stages = workFlowData.data.stages;
330
+ const alternateStages = workFlowData.data.alternateStages;
331
+ const categories = LifeCycleWorkFlowData.categories;
332
+ return (<LifeCycle items={stages} alternateItems={alternateStages} categories={categories} task={[
333
+ {
334
+ actions: [
335
+ { text: 'Add step', id: 'delete8', icon: 'plus', onClick: addProcessStep },
336
+ {
337
+ text: 'Delete Process',
338
+ id: 'delete9',
339
+ icon: 'trash',
340
+ onClick: deleteProcess
341
+ }
342
+ ],
343
+ addStepTitle: 'step',
344
+ addTask: {
345
+ title: 'Process',
346
+ showOnce: true,
347
+ onAddTask: addProcess
348
+ },
349
+ onChange: taskInputChange,
350
+ onAddStep: addProcessStep
351
+ }
352
+ ]} step={[
353
+ {
354
+ actions: [
355
+ {
356
+ text: 'Delete Step',
357
+ id: 'delete10',
358
+ icon: 'trash',
359
+ onClick: deleteProcessStep
360
+ }
361
+ ],
362
+ onChange: stepInputChange
363
+ }
364
+ ]} stage={{
365
+ actions: [
366
+ { text: 'Add Process', id: 'add1', onClick: addProcess },
367
+ { text: 'Add Parallel Process', id: 'add3', onClick: addParallelProcess },
368
+ { text: 'Add Alternate Stage', id: 'add2', onClick: onAddAlternateStage },
369
+ { text: 'Delete Stage', id: 'delete11', onClick: onDeleteStage }
370
+ ],
371
+ onChange: onStageInputChange
372
+ }} alternateStage={{
373
+ actions: [
374
+ { text: 'Add Process', id: 'add1', onClick: addProcess },
375
+ { text: 'Add Parallel Process', id: 'add3', onClick: addParallelProcess },
376
+ { text: 'Delete Stage', id: 'delete11', onClick: onDeleteStage }
377
+ ],
378
+ onChange: onAlternateStageInputChange
379
+ }} onAddStage={onAddStage} onAddAlternateStage={onAddAlternateStage}/>);
380
+ };
381
+ export const EmptyWorkFlowView = () => {
382
+ const emptyState = {
383
+ activeElementId: '',
384
+ data: LifeCycleEmptyData
385
+ };
386
+ const [emptyStateData, setEmptyStateData] = useState(emptyState);
387
+ const addProcessStep = (stepData) => {
388
+ const changedData = addStepCallback(stepData, emptyStateData);
389
+ setEmptyStateData(changedData);
390
+ };
391
+ const deleteProcessStep = (stepData) => {
392
+ const changedData = deleteStepCallback(stepData, emptyStateData);
393
+ setEmptyStateData(changedData);
394
+ };
395
+ const addProcess = (taskData) => {
396
+ const changedData = addTaskCallback(taskData, emptyStateData);
397
+ setEmptyStateData(changedData);
398
+ };
399
+ const addParallelProcess = (taskData) => {
400
+ const changedData = addTaskCallback(taskData, emptyStateData, true);
401
+ setEmptyStateData(changedData);
402
+ };
403
+ const deleteProcess = (taskData) => {
404
+ const changedData = deleteTaskCallback(taskData, emptyStateData);
405
+ setEmptyStateData(changedData);
406
+ };
407
+ const onAddStage = () => {
408
+ const changedData = addStageCallback(emptyStateData, 'stages');
409
+ setEmptyStateData(changedData);
410
+ };
411
+ const onAddAlternateStage = () => {
412
+ const changedData = addStageCallback(emptyStateData, 'alternateStages');
413
+ setEmptyStateData(changedData);
414
+ };
415
+ const stepInputChange = () => {
416
+ };
417
+ const taskInputChange = () => {
418
+ };
419
+ const onStageInputChange = () => {
420
+ };
421
+ const onAlternateStageInputChange = () => { };
422
+ const onDeleteStage = param => {
423
+ const changedData = deleteStageCallback(param, emptyStateData);
424
+ if (changedData === 'firstStage') {
425
+ alert("you can't delete the create stage");
426
+ }
427
+ else {
428
+ setEmptyStateData(changedData);
429
+ }
430
+ };
431
+ useEffect(() => {
432
+ if (emptyStateData.activeElementId) {
433
+ const elementId = document.getElementById(`${emptyStateData.activeElementId}`);
434
+ if (elementId) {
435
+ elementId.focus();
436
+ }
437
+ }
438
+ });
439
+ const stages = emptyStateData.data.stages;
440
+ const alternateStages = emptyStateData.data.alternateStages;
441
+ const categories = LifeCycleEmptyData.categories;
442
+ return (<LifeCycle items={stages} alternateItems={alternateStages} categories={categories} task={[
443
+ {
444
+ actions: [
445
+ { text: 'Add step', id: 'delete8', icon: 'plus', onClick: addProcessStep },
446
+ {
447
+ text: 'Delete Process',
448
+ id: 'delete9',
449
+ icon: 'trash',
450
+ onClick: deleteProcess
451
+ }
452
+ ],
453
+ addStepTitle: 'step',
454
+ addTask: {
455
+ title: 'Process',
456
+ showOnce: true,
457
+ onAddTask: addProcess
458
+ },
459
+ onChange: taskInputChange,
460
+ onAddStep: addProcessStep
461
+ }
462
+ ]} step={[
463
+ {
464
+ actions: [
465
+ {
466
+ text: 'Delete Step',
467
+ id: 'delete10',
468
+ icon: 'trash',
469
+ onClick: deleteProcessStep
470
+ }
471
+ ],
472
+ onChange: stepInputChange
473
+ }
474
+ ]} stage={{
475
+ actions: [
476
+ { text: 'Add Process', id: 'add1', onClick: addProcess },
477
+ { text: 'Add Parallel Process', id: 'add3', onClick: addParallelProcess },
478
+ { text: 'Add Alternate Stage', id: 'add2', onClick: onAddAlternateStage },
479
+ { text: 'Delete Stage', id: 'delete11', onClick: onDeleteStage }
480
+ ],
481
+ onChange: onStageInputChange
482
+ }} alternateStage={{
483
+ actions: [
484
+ { text: 'Add Process', id: 'add1', onClick: addProcess },
485
+ { text: 'Add Parallel Process', id: 'add3', onClick: addParallelProcess },
486
+ { text: 'Delete Stage', id: 'delete11', onClick: onDeleteStage }
487
+ ],
488
+ onChange: onAlternateStageInputChange
489
+ }} onAddStage={onAddStage} onAddAlternateStage={onAddAlternateStage}/>);
490
+ };
491
+ //# sourceMappingURL=LifeCycle.stories.jsx.map