@pega/cosmos-react-demos 2.1.6 → 2.1.7

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 (1433) hide show
  1. package/jsx/build/AppHeader/AppHeader.stories.d.ts +8 -0
  2. package/jsx/build/AppHeader/AppHeader.stories.d.ts.map +1 -0
  3. package/jsx/build/AppHeader/AppHeader.stories.jsx +65 -0
  4. package/jsx/build/AppHeader/AppHeader.stories.jsx.map +1 -0
  5. package/jsx/build/AppShell/AppShell.mocks.d.ts +50 -0
  6. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +1 -0
  7. package/jsx/build/AppShell/AppShell.mocks.js +503 -0
  8. package/jsx/build/AppShell/AppShell.mocks.js.map +1 -0
  9. package/jsx/build/AppShell/AppShell.stories.d.ts +12 -0
  10. package/jsx/build/AppShell/AppShell.stories.d.ts.map +1 -0
  11. package/jsx/build/AppShell/AppShell.stories.jsx +194 -0
  12. package/jsx/build/AppShell/AppShell.stories.jsx.map +1 -0
  13. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts +45 -0
  14. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +1 -0
  15. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js +291 -0
  16. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js.map +1 -0
  17. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +9 -0
  18. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -0
  19. package/jsx/build/FlowModeller/FlowModeller.mocks.js +411 -0
  20. package/jsx/build/FlowModeller/FlowModeller.mocks.js.map +1 -0
  21. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +12 -0
  22. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -0
  23. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +214 -0
  24. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +1 -0
  25. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +201 -0
  26. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -0
  27. package/jsx/build/LifeCycle/LifeCycle.mocks.js +1128 -0
  28. package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +1 -0
  29. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +11 -0
  30. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -0
  31. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +491 -0
  32. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -0
  33. package/jsx/build/LifeCycle/utils.d.ts +65 -0
  34. package/jsx/build/LifeCycle/utils.d.ts.map +1 -0
  35. package/jsx/build/LifeCycle/utils.js +218 -0
  36. package/jsx/build/LifeCycle/utils.js.map +1 -0
  37. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +12 -0
  38. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -0
  39. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +126 -0
  40. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +1 -0
  41. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +26 -0
  42. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
  43. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +434 -0
  44. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -0
  45. package/jsx/build/Workbench/Workbench.mocks.d.ts +9 -0
  46. package/jsx/build/Workbench/Workbench.mocks.d.ts.map +1 -0
  47. package/jsx/build/Workbench/Workbench.mocks.js +67 -0
  48. package/jsx/build/Workbench/Workbench.mocks.js.map +1 -0
  49. package/jsx/build/Workbench/Workbench.stories.d.ts +10 -0
  50. package/jsx/build/Workbench/Workbench.stories.d.ts.map +1 -0
  51. package/jsx/build/Workbench/Workbench.stories.jsx +124 -0
  52. package/jsx/build/Workbench/Workbench.stories.jsx.map +1 -0
  53. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +10 -0
  54. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -0
  55. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +263 -0
  56. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -0
  57. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts +6 -0
  58. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -0
  59. package/jsx/condition-builder/ConditionBuilder/props.mock.js +113 -0
  60. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -0
  61. package/jsx/core/AppShell/AppShell.mocks.d.ts +15 -0
  62. package/jsx/core/AppShell/AppShell.mocks.d.ts.map +1 -0
  63. package/jsx/core/AppShell/AppShell.mocks.jsx +147 -0
  64. package/jsx/core/AppShell/AppShell.mocks.jsx.map +1 -0
  65. package/jsx/core/AppShell/AppShell.stories.d.ts +31 -0
  66. package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -0
  67. package/jsx/core/AppShell/AppShell.stories.jsx +222 -0
  68. package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -0
  69. package/jsx/core/AppShell/AppShell.styles.d.ts +2 -0
  70. package/jsx/core/AppShell/AppShell.styles.d.ts.map +1 -0
  71. package/jsx/core/AppShell/AppShell.styles.js +5 -0
  72. package/jsx/core/AppShell/AppShell.styles.js.map +1 -0
  73. package/jsx/core/Avatar/Avatar.stories.d.ts +10 -0
  74. package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -0
  75. package/jsx/core/Avatar/Avatar.stories.jsx +50 -0
  76. package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -0
  77. package/jsx/core/Backdrop/Backdrop.stories.d.ts +7 -0
  78. package/jsx/core/Backdrop/Backdrop.stories.d.ts.map +1 -0
  79. package/jsx/core/Backdrop/Backdrop.stories.jsx +43 -0
  80. package/jsx/core/Backdrop/Backdrop.stories.jsx.map +1 -0
  81. package/jsx/core/Badges/Alert.stories.d.ts +6 -0
  82. package/jsx/core/Badges/Alert.stories.d.ts.map +1 -0
  83. package/jsx/core/Badges/Alert.stories.jsx +15 -0
  84. package/jsx/core/Badges/Alert.stories.jsx.map +1 -0
  85. package/jsx/core/Badges/Count.stories.d.ts +6 -0
  86. package/jsx/core/Badges/Count.stories.d.ts.map +1 -0
  87. package/jsx/core/Badges/Count.stories.jsx +20 -0
  88. package/jsx/core/Badges/Count.stories.jsx.map +1 -0
  89. package/jsx/core/Badges/Selection.stories.d.ts +6 -0
  90. package/jsx/core/Badges/Selection.stories.d.ts.map +1 -0
  91. package/jsx/core/Badges/Selection.stories.jsx +9 -0
  92. package/jsx/core/Badges/Selection.stories.jsx.map +1 -0
  93. package/jsx/core/Badges/Status.stories.d.ts +6 -0
  94. package/jsx/core/Badges/Status.stories.d.ts.map +1 -0
  95. package/jsx/core/Badges/Status.stories.jsx +18 -0
  96. package/jsx/core/Badges/Status.stories.jsx.map +1 -0
  97. package/jsx/core/Badges/Tag.stories.d.ts +6 -0
  98. package/jsx/core/Badges/Tag.stories.d.ts.map +1 -0
  99. package/jsx/core/Badges/Tag.stories.jsx +9 -0
  100. package/jsx/core/Badges/Tag.stories.jsx.map +1 -0
  101. package/jsx/core/Banner/Banner.mocks.d.ts +18 -0
  102. package/jsx/core/Banner/Banner.mocks.d.ts.map +1 -0
  103. package/jsx/core/Banner/Banner.mocks.jsx +41 -0
  104. package/jsx/core/Banner/Banner.mocks.jsx.map +1 -0
  105. package/jsx/core/Banner/Banner.stories.d.ts +22 -0
  106. package/jsx/core/Banner/Banner.stories.d.ts.map +1 -0
  107. package/jsx/core/Banner/Banner.stories.jsx +87 -0
  108. package/jsx/core/Banner/Banner.stories.jsx.map +1 -0
  109. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts +6 -0
  110. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts.map +1 -0
  111. package/jsx/core/Boolean/BooleanDisplay.stories.jsx +19 -0
  112. package/jsx/core/Boolean/BooleanDisplay.stories.jsx.map +1 -0
  113. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +7 -0
  114. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
  115. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +29 -0
  116. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -0
  117. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -0
  118. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -0
  119. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js +12 -0
  120. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js.map +1 -0
  121. package/jsx/core/Button/Button.stories.d.ts +12 -0
  122. package/jsx/core/Button/Button.stories.d.ts.map +1 -0
  123. package/jsx/core/Button/Button.stories.jsx +103 -0
  124. package/jsx/core/Button/Button.stories.jsx.map +1 -0
  125. package/jsx/core/Card/Card.stories.d.ts +8 -0
  126. package/jsx/core/Card/Card.stories.d.ts.map +1 -0
  127. package/jsx/core/Card/Card.stories.jsx +55 -0
  128. package/jsx/core/Card/Card.stories.jsx.map +1 -0
  129. package/jsx/core/Card/Card.styles.d.ts +2 -0
  130. package/jsx/core/Card/Card.styles.d.ts.map +1 -0
  131. package/jsx/core/Card/Card.styles.js +5 -0
  132. package/jsx/core/Card/Card.styles.js.map +1 -0
  133. package/jsx/core/Checkbox/Checkbox.stories.d.ts +7 -0
  134. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -0
  135. package/jsx/core/Checkbox/Checkbox.stories.jsx +28 -0
  136. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -0
  137. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +7 -0
  138. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -0
  139. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +60 -0
  140. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -0
  141. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts +4 -0
  142. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +1 -0
  143. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js +9 -0
  144. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js.map +1 -0
  145. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +8 -0
  146. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -0
  147. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +91 -0
  148. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -0
  149. package/jsx/core/ComboBox/ComboBox.mocks.d.ts +24 -0
  150. package/jsx/core/ComboBox/ComboBox.mocks.d.ts.map +1 -0
  151. package/jsx/core/ComboBox/ComboBox.mocks.js +54 -0
  152. package/jsx/core/ComboBox/ComboBox.mocks.js.map +1 -0
  153. package/jsx/core/ComboBox/ComboBox.stories.d.ts +21 -0
  154. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -0
  155. package/jsx/core/ComboBox/ComboBox.stories.jsx +323 -0
  156. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -0
  157. package/jsx/core/Configuration/Configuration.stories.d.ts +10 -0
  158. package/jsx/core/Configuration/Configuration.stories.d.ts.map +1 -0
  159. package/jsx/core/Configuration/Configuration.stories.jsx +125 -0
  160. package/jsx/core/Configuration/Configuration.stories.jsx.map +1 -0
  161. package/jsx/core/Currency/Currency.stories.d.ts +11 -0
  162. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -0
  163. package/jsx/core/Currency/Currency.stories.jsx +65 -0
  164. package/jsx/core/Currency/Currency.stories.jsx.map +1 -0
  165. package/jsx/core/DateTime/DateTime.stories.d.ts +20 -0
  166. package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -0
  167. package/jsx/core/DateTime/DateTime.stories.jsx +127 -0
  168. package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -0
  169. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts +7 -0
  170. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -0
  171. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +47 -0
  172. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +1 -0
  173. package/jsx/core/DateTime/DateTimePicker.stories.d.ts +7 -0
  174. package/jsx/core/DateTime/DateTimePicker.stories.d.ts.map +1 -0
  175. package/jsx/core/DateTime/DateTimePicker.stories.jsx +34 -0
  176. package/jsx/core/DateTime/DateTimePicker.stories.jsx.map +1 -0
  177. package/jsx/core/Drawer/Drawer.stories.d.ts +7 -0
  178. package/jsx/core/Drawer/Drawer.stories.d.ts.map +1 -0
  179. package/jsx/core/Drawer/Drawer.stories.jsx +98 -0
  180. package/jsx/core/Drawer/Drawer.stories.jsx.map +1 -0
  181. package/jsx/core/Drawer/Drawer.styles.d.ts +2 -0
  182. package/jsx/core/Drawer/Drawer.styles.d.ts.map +1 -0
  183. package/jsx/core/Drawer/Drawer.styles.js +11 -0
  184. package/jsx/core/Drawer/Drawer.styles.js.map +1 -0
  185. package/jsx/core/Email/EmailDisplay.stories.d.ts +6 -0
  186. package/jsx/core/Email/EmailDisplay.stories.d.ts.map +1 -0
  187. package/jsx/core/Email/EmailDisplay.stories.jsx +19 -0
  188. package/jsx/core/Email/EmailDisplay.stories.jsx.map +1 -0
  189. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts +8 -0
  190. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -0
  191. package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx +52 -0
  192. package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx.map +1 -0
  193. package/jsx/core/EmptyState/EmptyState.stories.d.ts +6 -0
  194. package/jsx/core/EmptyState/EmptyState.stories.d.ts.map +1 -0
  195. package/jsx/core/EmptyState/EmptyState.stories.jsx +18 -0
  196. package/jsx/core/EmptyState/EmptyState.stories.jsx.map +1 -0
  197. package/jsx/core/ErrorState/ErrorState.stories.d.ts +9 -0
  198. package/jsx/core/ErrorState/ErrorState.stories.d.ts.map +1 -0
  199. package/jsx/core/ErrorState/ErrorState.stories.jsx +20 -0
  200. package/jsx/core/ErrorState/ErrorState.stories.jsx.map +1 -0
  201. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts +7 -0
  202. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +1 -0
  203. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx +73 -0
  204. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx.map +1 -0
  205. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts +4 -0
  206. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts.map +1 -0
  207. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js +17 -0
  208. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js.map +1 -0
  209. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +11 -0
  210. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -0
  211. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +52 -0
  212. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -0
  213. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +21 -0
  214. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -0
  215. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +36 -0
  216. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -0
  217. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +10 -0
  218. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -0
  219. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +150 -0
  220. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -0
  221. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +10 -0
  222. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -0
  223. package/jsx/core/FieldValueList/FieldValueList.stories.jsx +54 -0
  224. package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +1 -0
  225. package/jsx/core/File/FileDisplay.stories.d.ts +20 -0
  226. package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -0
  227. package/jsx/core/File/FileDisplay.stories.jsx +135 -0
  228. package/jsx/core/File/FileDisplay.stories.jsx.map +1 -0
  229. package/jsx/core/File/FileInput.stories.d.ts +9 -0
  230. package/jsx/core/File/FileInput.stories.d.ts.map +1 -0
  231. package/jsx/core/File/FileInput.stories.jsx +76 -0
  232. package/jsx/core/File/FileInput.stories.jsx.map +1 -0
  233. package/jsx/core/Flex/Flex.styles.d.ts +10 -0
  234. package/jsx/core/Flex/Flex.styles.d.ts.map +1 -0
  235. package/jsx/core/Flex/Flex.styles.js +41 -0
  236. package/jsx/core/Flex/Flex.styles.js.map +1 -0
  237. package/jsx/core/Flex/FlexContainer.stories.d.ts +22 -0
  238. package/jsx/core/Flex/FlexContainer.stories.d.ts.map +1 -0
  239. package/jsx/core/Flex/FlexContainer.stories.jsx +164 -0
  240. package/jsx/core/Flex/FlexContainer.stories.jsx.map +1 -0
  241. package/jsx/core/Flex/FlexItem.stories.d.ts +13 -0
  242. package/jsx/core/Flex/FlexItem.stories.d.ts.map +1 -0
  243. package/jsx/core/Flex/FlexItem.stories.jsx +71 -0
  244. package/jsx/core/Flex/FlexItem.stories.jsx.map +1 -0
  245. package/jsx/core/Form/Form.mocks.d.ts +8 -0
  246. package/jsx/core/Form/Form.mocks.d.ts.map +1 -0
  247. package/jsx/core/Form/Form.mocks.jsx +138 -0
  248. package/jsx/core/Form/Form.mocks.jsx.map +1 -0
  249. package/jsx/core/Form/Form.stories.d.ts +14 -0
  250. package/jsx/core/Form/Form.stories.d.ts.map +1 -0
  251. package/jsx/core/Form/Form.stories.jsx +62 -0
  252. package/jsx/core/Form/Form.stories.jsx.map +1 -0
  253. package/jsx/core/Grid/Grid.styles.d.ts +6 -0
  254. package/jsx/core/Grid/Grid.styles.d.ts.map +1 -0
  255. package/jsx/core/Grid/Grid.styles.js +36 -0
  256. package/jsx/core/Grid/Grid.styles.js.map +1 -0
  257. package/jsx/core/Grid/GridContainer.stories.d.ts +24 -0
  258. package/jsx/core/Grid/GridContainer.stories.d.ts.map +1 -0
  259. package/jsx/core/Grid/GridContainer.stories.jsx +168 -0
  260. package/jsx/core/Grid/GridContainer.stories.jsx.map +1 -0
  261. package/jsx/core/Grid/GridItem.stories.d.ts +13 -0
  262. package/jsx/core/Grid/GridItem.stories.d.ts.map +1 -0
  263. package/jsx/core/Grid/GridItem.stories.jsx +74 -0
  264. package/jsx/core/Grid/GridItem.stories.jsx.map +1 -0
  265. package/jsx/core/Icon/Icon.mocks.d.ts +3 -0
  266. package/jsx/core/Icon/Icon.mocks.d.ts.map +1 -0
  267. package/jsx/core/Icon/Icon.mocks.jsx +9 -0
  268. package/jsx/core/Icon/Icon.mocks.jsx.map +1 -0
  269. package/jsx/core/Icon/Icon.stories.d.ts +9 -0
  270. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -0
  271. package/jsx/core/Icon/Icon.stories.jsx +90 -0
  272. package/jsx/core/Icon/Icon.stories.jsx.map +1 -0
  273. package/jsx/core/IconPicker/IconPicker.stories.d.ts +6 -0
  274. package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +1 -0
  275. package/jsx/core/IconPicker/IconPicker.stories.jsx +38 -0
  276. package/jsx/core/IconPicker/IconPicker.stories.jsx.map +1 -0
  277. package/jsx/core/Image/Image.stories.d.ts +6 -0
  278. package/jsx/core/Image/Image.stories.d.ts.map +1 -0
  279. package/jsx/core/Image/Image.stories.jsx +9 -0
  280. package/jsx/core/Image/Image.stories.jsx.map +1 -0
  281. package/jsx/core/Input/Input.stories.d.ts +9 -0
  282. package/jsx/core/Input/Input.stories.d.ts.map +1 -0
  283. package/jsx/core/Input/Input.stories.jsx +44 -0
  284. package/jsx/core/Input/Input.stories.jsx.map +1 -0
  285. package/jsx/core/Label/Label.stories.d.ts +6 -0
  286. package/jsx/core/Label/Label.stories.d.ts.map +1 -0
  287. package/jsx/core/Label/Label.stories.jsx +15 -0
  288. package/jsx/core/Label/Label.stories.jsx.map +1 -0
  289. package/jsx/core/Lightbox/Lightbox.mocks.d.ts +15 -0
  290. package/jsx/core/Lightbox/Lightbox.mocks.d.ts.map +1 -0
  291. package/jsx/core/Lightbox/Lightbox.mocks.js +59 -0
  292. package/jsx/core/Lightbox/Lightbox.mocks.js.map +1 -0
  293. package/jsx/core/Lightbox/Lightbox.stories.d.ts +10 -0
  294. package/jsx/core/Lightbox/Lightbox.stories.d.ts.map +1 -0
  295. package/jsx/core/Lightbox/Lightbox.stories.jsx +55 -0
  296. package/jsx/core/Lightbox/Lightbox.stories.jsx.map +1 -0
  297. package/jsx/core/Link/Link.stories.d.ts +18 -0
  298. package/jsx/core/Link/Link.stories.d.ts.map +1 -0
  299. package/jsx/core/Link/Link.stories.jsx +49 -0
  300. package/jsx/core/Link/Link.stories.jsx.map +1 -0
  301. package/jsx/core/List/CommaSeparatedList.stories.d.ts +6 -0
  302. package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +1 -0
  303. package/jsx/core/List/CommaSeparatedList.stories.jsx +31 -0
  304. package/jsx/core/List/CommaSeparatedList.stories.jsx.map +1 -0
  305. package/jsx/core/List/OrderedList.stories.d.ts +10 -0
  306. package/jsx/core/List/OrderedList.stories.d.ts.map +1 -0
  307. package/jsx/core/List/OrderedList.stories.jsx +38 -0
  308. package/jsx/core/List/OrderedList.stories.jsx.map +1 -0
  309. package/jsx/core/List/UnorderedList.stories.d.ts +10 -0
  310. package/jsx/core/List/UnorderedList.stories.d.ts.map +1 -0
  311. package/jsx/core/List/UnorderedList.stories.jsx +38 -0
  312. package/jsx/core/List/UnorderedList.stories.jsx.map +1 -0
  313. package/jsx/core/Location/Location.stories.d.ts +12 -0
  314. package/jsx/core/Location/Location.stories.d.ts.map +1 -0
  315. package/jsx/core/Location/Location.stories.jsx +130 -0
  316. package/jsx/core/Location/Location.stories.jsx.map +1 -0
  317. package/jsx/core/Menu/Menu.mocks.d.ts +4 -0
  318. package/jsx/core/Menu/Menu.mocks.d.ts.map +1 -0
  319. package/jsx/core/Menu/Menu.mocks.js +179 -0
  320. package/jsx/core/Menu/Menu.mocks.js.map +1 -0
  321. package/jsx/core/Menu/Menu.stories.d.ts +17 -0
  322. package/jsx/core/Menu/Menu.stories.d.ts.map +1 -0
  323. package/jsx/core/Menu/Menu.stories.jsx +162 -0
  324. package/jsx/core/Menu/Menu.stories.jsx.map +1 -0
  325. package/jsx/core/Menu/Menu.styles.d.ts +2 -0
  326. package/jsx/core/Menu/Menu.styles.d.ts.map +1 -0
  327. package/jsx/core/Menu/Menu.styles.js +6 -0
  328. package/jsx/core/Menu/Menu.styles.js.map +1 -0
  329. package/jsx/core/MenuButton/MenuButton.stories.d.ts +15 -0
  330. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +1 -0
  331. package/jsx/core/MenuButton/MenuButton.stories.jsx +188 -0
  332. package/jsx/core/MenuButton/MenuButton.stories.jsx.map +1 -0
  333. package/jsx/core/MetaList/MetaList.stories.d.ts +9 -0
  334. package/jsx/core/MetaList/MetaList.stories.d.ts.map +1 -0
  335. package/jsx/core/MetaList/MetaList.stories.jsx +24 -0
  336. package/jsx/core/MetaList/MetaList.stories.jsx.map +1 -0
  337. package/jsx/core/Modal/Modal.mocks.d.ts +4 -0
  338. package/jsx/core/Modal/Modal.mocks.d.ts.map +1 -0
  339. package/jsx/core/Modal/Modal.mocks.jsx +44 -0
  340. package/jsx/core/Modal/Modal.mocks.jsx.map +1 -0
  341. package/jsx/core/Modal/Modal.stories.d.ts +20 -0
  342. package/jsx/core/Modal/Modal.stories.d.ts.map +1 -0
  343. package/jsx/core/Modal/Modal.stories.jsx +305 -0
  344. package/jsx/core/Modal/Modal.stories.jsx.map +1 -0
  345. package/jsx/core/MultiStep/MultiStep.stories.d.ts +6 -0
  346. package/jsx/core/MultiStep/MultiStep.stories.d.ts.map +1 -0
  347. package/jsx/core/MultiStep/MultiStep.stories.jsx +56 -0
  348. package/jsx/core/MultiStep/MultiStep.stories.jsx.map +1 -0
  349. package/jsx/core/Number/Number.stories.d.ts +13 -0
  350. package/jsx/core/Number/Number.stories.d.ts.map +1 -0
  351. package/jsx/core/Number/Number.stories.jsx +110 -0
  352. package/jsx/core/Number/Number.stories.jsx.map +1 -0
  353. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +3 -0
  354. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  355. package/jsx/core/PageTemplates/PageTemplates.mocks.js +10 -0
  356. package/jsx/core/PageTemplates/PageTemplates.mocks.js.map +1 -0
  357. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +31 -0
  358. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
  359. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +233 -0
  360. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -0
  361. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +4 -0
  362. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -0
  363. package/jsx/core/PageTemplates/PageTemplates.styles.js +31 -0
  364. package/jsx/core/PageTemplates/PageTemplates.styles.js.map +1 -0
  365. package/jsx/core/Pagination/Pagination.stories.d.ts +6 -0
  366. package/jsx/core/Pagination/Pagination.stories.d.ts.map +1 -0
  367. package/jsx/core/Pagination/Pagination.stories.jsx +19 -0
  368. package/jsx/core/Pagination/Pagination.stories.jsx.map +1 -0
  369. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts +6 -0
  370. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts.map +1 -0
  371. package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx +15 -0
  372. package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx.map +1 -0
  373. package/jsx/core/Phone/Phone.stories.d.ts +7 -0
  374. package/jsx/core/Phone/Phone.stories.d.ts.map +1 -0
  375. package/jsx/core/Phone/Phone.stories.jsx +42 -0
  376. package/jsx/core/Phone/Phone.stories.jsx.map +1 -0
  377. package/jsx/core/Popover/Popover.stories.d.ts +7 -0
  378. package/jsx/core/Popover/Popover.stories.d.ts.map +1 -0
  379. package/jsx/core/Popover/Popover.stories.jsx +182 -0
  380. package/jsx/core/Popover/Popover.stories.jsx.map +1 -0
  381. package/jsx/core/Progress/Progress.stories.d.ts +7 -0
  382. package/jsx/core/Progress/Progress.stories.d.ts.map +1 -0
  383. package/jsx/core/Progress/Progress.stories.jsx +71 -0
  384. package/jsx/core/Progress/Progress.stories.jsx.map +1 -0
  385. package/jsx/core/Progress/Progress.styles.d.ts +2 -0
  386. package/jsx/core/Progress/Progress.styles.d.ts.map +1 -0
  387. package/jsx/core/Progress/Progress.styles.js +13 -0
  388. package/jsx/core/Progress/Progress.styles.js.map +1 -0
  389. package/jsx/core/RadioButton/RadioButton.stories.d.ts +7 -0
  390. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -0
  391. package/jsx/core/RadioButton/RadioButton.stories.jsx +26 -0
  392. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -0
  393. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +7 -0
  394. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -0
  395. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +62 -0
  396. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -0
  397. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +4 -0
  398. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +1 -0
  399. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js +9 -0
  400. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js.map +1 -0
  401. package/jsx/core/Rating/Rating.stories.d.ts +9 -0
  402. package/jsx/core/Rating/Rating.stories.d.ts.map +1 -0
  403. package/jsx/core/Rating/Rating.stories.jsx +21 -0
  404. package/jsx/core/Rating/Rating.stories.jsx.map +1 -0
  405. package/jsx/core/SearchInput/SearchInput.stories.d.ts +6 -0
  406. package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +1 -0
  407. package/jsx/core/SearchInput/SearchInput.stories.jsx +15 -0
  408. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +1 -0
  409. package/jsx/core/Select/Select.stories.d.ts +9 -0
  410. package/jsx/core/Select/Select.stories.d.ts.map +1 -0
  411. package/jsx/core/Select/Select.stories.jsx +42 -0
  412. package/jsx/core/Select/Select.stories.jsx.map +1 -0
  413. package/jsx/core/Sentiment/Sentiment.stories.d.ts +14 -0
  414. package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +1 -0
  415. package/jsx/core/Sentiment/Sentiment.stories.jsx +39 -0
  416. package/jsx/core/Sentiment/Sentiment.stories.jsx.map +1 -0
  417. package/jsx/core/Slider/Slider.stories.d.ts +11 -0
  418. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -0
  419. package/jsx/core/Slider/Slider.stories.jsx +58 -0
  420. package/jsx/core/Slider/Slider.stories.jsx.map +1 -0
  421. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +11 -0
  422. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -0
  423. package/jsx/core/SummaryItem/SummaryItem.stories.jsx +36 -0
  424. package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +1 -0
  425. package/jsx/core/SummaryList/SummaryList.mocks.d.ts +32 -0
  426. package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +1 -0
  427. package/jsx/core/SummaryList/SummaryList.mocks.jsx +35 -0
  428. package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +1 -0
  429. package/jsx/core/SummaryList/SummaryList.stories.d.ts +13 -0
  430. package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +1 -0
  431. package/jsx/core/SummaryList/SummaryList.stories.jsx +131 -0
  432. package/jsx/core/SummaryList/SummaryList.stories.jsx.map +1 -0
  433. package/jsx/core/Switch/Switch.stories.d.ts +7 -0
  434. package/jsx/core/Switch/Switch.stories.d.ts.map +1 -0
  435. package/jsx/core/Switch/Switch.stories.jsx +26 -0
  436. package/jsx/core/Switch/Switch.stories.jsx.map +1 -0
  437. package/jsx/core/Switch/Switch.styles.d.ts +2 -0
  438. package/jsx/core/Switch/Switch.styles.d.ts.map +1 -0
  439. package/jsx/core/Switch/Switch.styles.js +13 -0
  440. package/jsx/core/Switch/Switch.styles.js.map +1 -0
  441. package/jsx/core/Table/Table.mocks.d.ts +19 -0
  442. package/jsx/core/Table/Table.mocks.d.ts.map +1 -0
  443. package/jsx/core/Table/Table.mocks.jsx +32 -0
  444. package/jsx/core/Table/Table.mocks.jsx.map +1 -0
  445. package/jsx/core/Table/Table.stories.d.ts +14 -0
  446. package/jsx/core/Table/Table.stories.d.ts.map +1 -0
  447. package/jsx/core/Table/Table.stories.jsx +58 -0
  448. package/jsx/core/Table/Table.stories.jsx.map +1 -0
  449. package/jsx/core/Table/Table.styles.d.ts +4 -0
  450. package/jsx/core/Table/Table.styles.d.ts.map +1 -0
  451. package/jsx/core/Table/Table.styles.js +9 -0
  452. package/jsx/core/Table/Table.styles.js.map +1 -0
  453. package/jsx/core/Tabs/Tabs.stories.d.ts +7 -0
  454. package/jsx/core/Tabs/Tabs.stories.d.ts.map +1 -0
  455. package/jsx/core/Tabs/Tabs.stories.jsx +59 -0
  456. package/jsx/core/Tabs/Tabs.stories.jsx.map +1 -0
  457. package/jsx/core/Text/Text.stories.d.ts +6 -0
  458. package/jsx/core/Text/Text.stories.d.ts.map +1 -0
  459. package/jsx/core/Text/Text.stories.jsx +22 -0
  460. package/jsx/core/Text/Text.stories.jsx.map +1 -0
  461. package/jsx/core/TextArea/TextArea.stories.d.ts +6 -0
  462. package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -0
  463. package/jsx/core/TextArea/TextArea.stories.jsx +43 -0
  464. package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -0
  465. package/jsx/core/Toaster/Toaster.stories.d.ts +6 -0
  466. package/jsx/core/Toaster/Toaster.stories.d.ts.map +1 -0
  467. package/jsx/core/Toaster/Toaster.stories.jsx +22 -0
  468. package/jsx/core/Toaster/Toaster.stories.jsx.map +1 -0
  469. package/jsx/core/Tooltip/Tooltip.stories.d.ts +8 -0
  470. package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +1 -0
  471. package/jsx/core/Tooltip/Tooltip.stories.jsx +18 -0
  472. package/jsx/core/Tooltip/Tooltip.stories.jsx.map +1 -0
  473. package/jsx/core/Tree/Tree.mocks.d.ts +2 -0
  474. package/jsx/core/Tree/Tree.mocks.d.ts.map +1 -0
  475. package/jsx/core/Tree/Tree.mocks.js +20 -0
  476. package/jsx/core/Tree/Tree.mocks.js.map +1 -0
  477. package/jsx/core/Tree/Tree.stories.d.ts +8 -0
  478. package/jsx/core/Tree/Tree.stories.d.ts.map +1 -0
  479. package/jsx/core/Tree/Tree.stories.jsx +89 -0
  480. package/jsx/core/Tree/Tree.stories.jsx.map +1 -0
  481. package/jsx/core/Tree/Tree.styles.d.ts +3 -0
  482. package/jsx/core/Tree/Tree.styles.d.ts.map +1 -0
  483. package/jsx/core/Tree/Tree.styles.js +10 -0
  484. package/jsx/core/Tree/Tree.styles.js.map +1 -0
  485. package/jsx/core/URL/URL.stories.d.ts +6 -0
  486. package/jsx/core/URL/URL.stories.d.ts.map +1 -0
  487. package/jsx/core/URL/URL.stories.jsx +17 -0
  488. package/jsx/core/URL/URL.stories.jsx.map +1 -0
  489. package/jsx/cs/Article/Article.mocks.d.ts +14 -0
  490. package/jsx/cs/Article/Article.mocks.d.ts.map +1 -0
  491. package/jsx/cs/Article/Article.mocks.js +14 -0
  492. package/jsx/cs/Article/Article.mocks.js.map +1 -0
  493. package/jsx/cs/Article/Article.stories.d.ts +15 -0
  494. package/jsx/cs/Article/Article.stories.d.ts.map +1 -0
  495. package/jsx/cs/Article/Article.stories.jsx +126 -0
  496. package/jsx/cs/Article/Article.stories.jsx.map +1 -0
  497. package/jsx/cs/ArticleList/ArticleList.mocks.d.ts +21 -0
  498. package/jsx/cs/ArticleList/ArticleList.mocks.d.ts.map +1 -0
  499. package/jsx/cs/ArticleList/ArticleList.mocks.js +102 -0
  500. package/jsx/cs/ArticleList/ArticleList.mocks.js.map +1 -0
  501. package/jsx/cs/ArticleList/ArticleList.stories.d.ts +16 -0
  502. package/jsx/cs/ArticleList/ArticleList.stories.d.ts.map +1 -0
  503. package/jsx/cs/ArticleList/ArticleList.stories.jsx +110 -0
  504. package/jsx/cs/ArticleList/ArticleList.stories.jsx.map +1 -0
  505. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts +45 -0
  506. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -0
  507. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx +275 -0
  508. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx.map +1 -0
  509. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts +57 -0
  510. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts.map +1 -0
  511. package/jsx/cs/CSCaseView/CSCaseView.mocks.js +224 -0
  512. package/jsx/cs/CSCaseView/CSCaseView.mocks.js.map +1 -0
  513. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts +16 -0
  514. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +1 -0
  515. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js +110 -0
  516. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js.map +1 -0
  517. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +13 -0
  518. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -0
  519. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +188 -0
  520. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -0
  521. package/jsx/cs/DialPad/DialPad.stories.d.ts +9 -0
  522. package/jsx/cs/DialPad/DialPad.stories.d.ts.map +1 -0
  523. package/jsx/cs/DialPad/DialPad.stories.jsx +18 -0
  524. package/jsx/cs/DialPad/DialPad.stories.jsx.map +1 -0
  525. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts +11 -0
  526. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +1 -0
  527. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js +20 -0
  528. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js.map +1 -0
  529. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +13 -0
  530. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -0
  531. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx +356 -0
  532. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -0
  533. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +8 -0
  534. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -0
  535. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx +32 -0
  536. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -0
  537. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +14 -0
  538. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -0
  539. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +85 -0
  540. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +1 -0
  541. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +13 -0
  542. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -0
  543. package/jsx/cs/TaskManager/TaskManager.mocks.js +140 -0
  544. package/jsx/cs/TaskManager/TaskManager.mocks.js.map +1 -0
  545. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +8 -0
  546. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +1 -0
  547. package/jsx/cs/TaskManager/TaskManager.stories.jsx +314 -0
  548. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +1 -0
  549. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +11 -0
  550. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -0
  551. package/jsx/dnd/DragDropList/DragDropList.stories.jsx +119 -0
  552. package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +1 -0
  553. package/jsx/rte/Editor/Editor.mocks.d.ts +307 -0
  554. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -0
  555. package/jsx/rte/Editor/Editor.mocks.jsx +23 -0
  556. package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -0
  557. package/jsx/rte/Editor/Editor.stories.d.ts +11 -0
  558. package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -0
  559. package/jsx/rte/Editor/Editor.stories.jsx +119 -0
  560. package/jsx/rte/Editor/Editor.stories.jsx.map +1 -0
  561. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts +3 -0
  562. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -0
  563. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx +34 -0
  564. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -0
  565. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +10 -0
  566. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -0
  567. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx +145 -0
  568. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -0
  569. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +8 -0
  570. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -0
  571. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +79 -0
  572. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +1 -0
  573. package/jsx/social/Chat/Chat.mocks.d.ts +385 -0
  574. package/jsx/social/Chat/Chat.mocks.d.ts.map +1 -0
  575. package/jsx/social/Chat/Chat.mocks.js +648 -0
  576. package/jsx/social/Chat/Chat.mocks.js.map +1 -0
  577. package/jsx/social/Chat/Chat.stories.d.ts +34 -0
  578. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -0
  579. package/jsx/social/Chat/Chat.stories.jsx +490 -0
  580. package/jsx/social/Chat/Chat.stories.jsx.map +1 -0
  581. package/jsx/social/Chat/RepeatingView.stories.d.ts +20 -0
  582. package/jsx/social/Chat/RepeatingView.stories.d.ts.map +1 -0
  583. package/jsx/social/Chat/RepeatingView.stories.jsx +90 -0
  584. package/jsx/social/Chat/RepeatingView.stories.jsx.map +1 -0
  585. package/jsx/social/Email/Email.mocks.d.ts +87 -0
  586. package/jsx/social/Email/Email.mocks.d.ts.map +1 -0
  587. package/jsx/social/Email/Email.mocks.jsx +349 -0
  588. package/jsx/social/Email/Email.mocks.jsx.map +1 -0
  589. package/jsx/social/Email/Email.stories.d.ts +28 -0
  590. package/jsx/social/Email/Email.stories.d.ts.map +1 -0
  591. package/jsx/social/Email/Email.stories.jsx +798 -0
  592. package/jsx/social/Email/Email.stories.jsx.map +1 -0
  593. package/jsx/social/Feed/Feed.mocks.d.ts +52 -0
  594. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -0
  595. package/jsx/social/Feed/Feed.mocks.jsx +315 -0
  596. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -0
  597. package/jsx/social/Feed/Feed.stories.d.ts +15 -0
  598. package/jsx/social/Feed/Feed.stories.d.ts.map +1 -0
  599. package/jsx/social/Feed/Feed.stories.jsx +146 -0
  600. package/jsx/social/Feed/Feed.stories.jsx.map +1 -0
  601. package/jsx/social/Feed/FeedNewPost.stories.d.ts +17 -0
  602. package/jsx/social/Feed/FeedNewPost.stories.d.ts.map +1 -0
  603. package/jsx/social/Feed/FeedNewPost.stories.jsx +80 -0
  604. package/jsx/social/Feed/FeedNewPost.stories.jsx.map +1 -0
  605. package/jsx/social/Feed/FeedPost.stories.d.ts +9 -0
  606. package/jsx/social/Feed/FeedPost.stories.d.ts.map +1 -0
  607. package/jsx/social/Feed/FeedPost.stories.jsx +248 -0
  608. package/jsx/social/Feed/FeedPost.stories.jsx.map +1 -0
  609. package/jsx/social/Feed/FeedReply.stories.d.ts +16 -0
  610. package/jsx/social/Feed/FeedReply.stories.d.ts.map +1 -0
  611. package/jsx/social/Feed/FeedReply.stories.jsx +99 -0
  612. package/jsx/social/Feed/FeedReply.stories.jsx.map +1 -0
  613. package/jsx/social/Feed/FeedReplyInput.stories.d.ts +15 -0
  614. package/jsx/social/Feed/FeedReplyInput.stories.d.ts.map +1 -0
  615. package/jsx/social/Feed/FeedReplyInput.stories.jsx +59 -0
  616. package/jsx/social/Feed/FeedReplyInput.stories.jsx.map +1 -0
  617. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts +6 -0
  618. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -0
  619. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx +29 -0
  620. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +1 -0
  621. package/jsx/work/CaseView/Attachments.mocks.d.ts +3 -0
  622. package/jsx/work/CaseView/Attachments.mocks.d.ts.map +1 -0
  623. package/jsx/work/CaseView/Attachments.mocks.jsx +388 -0
  624. package/jsx/work/CaseView/Attachments.mocks.jsx.map +1 -0
  625. package/jsx/work/CaseView/CaseView.mocks.d.ts +11 -0
  626. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -0
  627. package/jsx/work/CaseView/CaseView.mocks.jsx +126 -0
  628. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -0
  629. package/jsx/work/CaseView/CaseView.stories.d.ts +34 -0
  630. package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -0
  631. package/jsx/work/CaseView/CaseView.stories.jsx +264 -0
  632. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -0
  633. package/jsx/work/CaseView/Details.mocks.d.ts +3 -0
  634. package/jsx/work/CaseView/Details.mocks.d.ts.map +1 -0
  635. package/jsx/work/CaseView/Details.mocks.jsx +21 -0
  636. package/jsx/work/CaseView/Details.mocks.jsx.map +1 -0
  637. package/jsx/work/CaseView/FileService.mock.d.ts +28 -0
  638. package/jsx/work/CaseView/FileService.mock.d.ts.map +1 -0
  639. package/jsx/work/CaseView/FileService.mock.jsx +143 -0
  640. package/jsx/work/CaseView/FileService.mock.jsx.map +1 -0
  641. package/jsx/work/CaseView/MobileCaseView.stories.d.ts +11 -0
  642. package/jsx/work/CaseView/MobileCaseView.stories.d.ts.map +1 -0
  643. package/jsx/work/CaseView/MobileCaseView.stories.jsx +27 -0
  644. package/jsx/work/CaseView/MobileCaseView.stories.jsx.map +1 -0
  645. package/jsx/work/CaseView/Pulse.mocks.d.ts +6 -0
  646. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -0
  647. package/jsx/work/CaseView/Pulse.mocks.jsx +35 -0
  648. package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -0
  649. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +10 -0
  650. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -0
  651. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +195 -0
  652. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -0
  653. package/jsx/work/Confirmation/Confirmation.stories.d.ts +9 -0
  654. package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +1 -0
  655. package/jsx/work/Confirmation/Confirmation.stories.jsx +28 -0
  656. package/jsx/work/Confirmation/Confirmation.stories.jsx.map +1 -0
  657. package/jsx/work/Confirmation/Confirmation.styles.d.ts +2 -0
  658. package/jsx/work/Confirmation/Confirmation.styles.d.ts.map +1 -0
  659. package/jsx/work/Confirmation/Confirmation.styles.js +7 -0
  660. package/jsx/work/Confirmation/Confirmation.styles.js.map +1 -0
  661. package/jsx/work/Details/Details.stories.d.ts +5 -0
  662. package/jsx/work/Details/Details.stories.d.ts.map +1 -0
  663. package/jsx/work/Details/Details.stories.jsx +65 -0
  664. package/jsx/work/Details/Details.stories.jsx.map +1 -0
  665. package/jsx/work/Glimpse/Glimpse.stories.d.ts +10 -0
  666. package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +1 -0
  667. package/jsx/work/Glimpse/Glimpse.stories.jsx +39 -0
  668. package/jsx/work/Glimpse/Glimpse.stories.jsx.map +1 -0
  669. package/jsx/work/SearchResults/SearchResults.mocks.d.ts +8 -0
  670. package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +1 -0
  671. package/jsx/work/SearchResults/SearchResults.mocks.jsx +96 -0
  672. package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +1 -0
  673. package/jsx/work/SearchResults/SearchResults.stories.d.ts +8 -0
  674. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -0
  675. package/jsx/work/SearchResults/SearchResults.stories.jsx +199 -0
  676. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -0
  677. package/jsx/work/SearchResults/SearchResults.styles.d.ts +5 -0
  678. package/jsx/work/SearchResults/SearchResults.styles.d.ts.map +1 -0
  679. package/jsx/work/SearchResults/SearchResults.styles.js +12 -0
  680. package/jsx/work/SearchResults/SearchResults.styles.js.map +1 -0
  681. package/jsx/work/Stages/Stages.stories.d.ts +11 -0
  682. package/jsx/work/Stages/Stages.stories.d.ts.map +1 -0
  683. package/jsx/work/Stages/Stages.stories.jsx +65 -0
  684. package/jsx/work/Stages/Stages.stories.jsx.map +1 -0
  685. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +17 -0
  686. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -0
  687. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +32 -0
  688. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -0
  689. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +6 -0
  690. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -0
  691. package/jsx/work/Stakeholders/Stakeholders.stories.jsx +90 -0
  692. package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +1 -0
  693. package/jsx/work/Tags/Tags.mocks.d.ts +3 -0
  694. package/jsx/work/Tags/Tags.mocks.d.ts.map +1 -0
  695. package/jsx/work/Tags/Tags.mocks.js +76 -0
  696. package/jsx/work/Tags/Tags.mocks.js.map +1 -0
  697. package/jsx/work/Tags/Tags.stories.d.ts +10 -0
  698. package/jsx/work/Tags/Tags.stories.d.ts.map +1 -0
  699. package/jsx/work/Tags/Tags.stories.jsx +61 -0
  700. package/jsx/work/Tags/Tags.stories.jsx.map +1 -0
  701. package/jsx/work/Tasks/TaskList.stories.d.ts +5 -0
  702. package/jsx/work/Tasks/TaskList.stories.d.ts.map +1 -0
  703. package/jsx/work/Tasks/TaskList.stories.jsx +17 -0
  704. package/jsx/work/Tasks/TaskList.stories.jsx.map +1 -0
  705. package/jsx/work/Tasks/Tasks.stories.d.ts +9 -0
  706. package/jsx/work/Tasks/Tasks.stories.d.ts.map +1 -0
  707. package/jsx/work/Tasks/Tasks.stories.jsx +101 -0
  708. package/jsx/work/Tasks/Tasks.stories.jsx.map +1 -0
  709. package/jsx/work/Timeline/Timeline.mocks.d.ts +3 -0
  710. package/jsx/work/Timeline/Timeline.mocks.d.ts.map +1 -0
  711. package/jsx/work/Timeline/Timeline.mocks.jsx +129 -0
  712. package/jsx/work/Timeline/Timeline.mocks.jsx.map +1 -0
  713. package/jsx/work/Timeline/Timeline.stories.d.ts +7 -0
  714. package/jsx/work/Timeline/Timeline.stories.d.ts.map +1 -0
  715. package/jsx/work/Timeline/Timeline.stories.jsx +43 -0
  716. package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -0
  717. package/lib/build/AppHeader/AppHeader.stories.d.ts +8 -0
  718. package/lib/build/AppHeader/AppHeader.stories.d.ts.map +1 -0
  719. package/lib/build/AppHeader/AppHeader.stories.js +66 -0
  720. package/lib/build/AppHeader/AppHeader.stories.js.map +1 -0
  721. package/lib/build/AppShell/AppShell.mocks.d.ts +50 -0
  722. package/lib/build/AppShell/AppShell.mocks.d.ts.map +1 -0
  723. package/lib/build/AppShell/AppShell.mocks.js +503 -0
  724. package/lib/build/AppShell/AppShell.mocks.js.map +1 -0
  725. package/lib/build/AppShell/AppShell.stories.d.ts +12 -0
  726. package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -0
  727. package/lib/build/AppShell/AppShell.stories.js +192 -0
  728. package/lib/build/AppShell/AppShell.stories.js.map +1 -0
  729. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts +45 -0
  730. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +1 -0
  731. package/lib/build/FlowModeller/AddNodeUtils.mocks.js +291 -0
  732. package/lib/build/FlowModeller/AddNodeUtils.mocks.js.map +1 -0
  733. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +9 -0
  734. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -0
  735. package/lib/build/FlowModeller/FlowModeller.mocks.js +411 -0
  736. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +1 -0
  737. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +12 -0
  738. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -0
  739. package/lib/build/FlowModeller/FlowModeller.stories.js +197 -0
  740. package/lib/build/FlowModeller/FlowModeller.stories.js.map +1 -0
  741. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +201 -0
  742. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -0
  743. package/lib/build/LifeCycle/LifeCycle.mocks.js +1128 -0
  744. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +1 -0
  745. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +11 -0
  746. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -0
  747. package/lib/build/LifeCycle/LifeCycle.stories.js +511 -0
  748. package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -0
  749. package/lib/build/LifeCycle/utils.d.ts +65 -0
  750. package/lib/build/LifeCycle/utils.d.ts.map +1 -0
  751. package/lib/build/LifeCycle/utils.js +218 -0
  752. package/lib/build/LifeCycle/utils.js.map +1 -0
  753. package/lib/build/PageTemplates/GalleryPage.stories.d.ts +12 -0
  754. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -0
  755. package/lib/build/PageTemplates/GalleryPage.stories.js +127 -0
  756. package/lib/build/PageTemplates/GalleryPage.stories.js.map +1 -0
  757. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +26 -0
  758. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
  759. package/lib/build/PageTemplates/PageTemplates.stories.js +388 -0
  760. package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -0
  761. package/lib/build/Workbench/Workbench.mocks.d.ts +9 -0
  762. package/lib/build/Workbench/Workbench.mocks.d.ts.map +1 -0
  763. package/lib/build/Workbench/Workbench.mocks.js +67 -0
  764. package/lib/build/Workbench/Workbench.mocks.js.map +1 -0
  765. package/lib/build/Workbench/Workbench.stories.d.ts +10 -0
  766. package/lib/build/Workbench/Workbench.stories.d.ts.map +1 -0
  767. package/lib/build/Workbench/Workbench.stories.js +114 -0
  768. package/lib/build/Workbench/Workbench.stories.js.map +1 -0
  769. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +10 -0
  770. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -0
  771. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js +166 -0
  772. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +1 -0
  773. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts +6 -0
  774. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -0
  775. package/lib/condition-builder/ConditionBuilder/props.mock.js +113 -0
  776. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -0
  777. package/lib/core/AppShell/AppShell.mocks.d.ts +15 -0
  778. package/lib/core/AppShell/AppShell.mocks.d.ts.map +1 -0
  779. package/lib/core/AppShell/AppShell.mocks.js +142 -0
  780. package/lib/core/AppShell/AppShell.mocks.js.map +1 -0
  781. package/lib/core/AppShell/AppShell.stories.d.ts +33 -0
  782. package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -0
  783. package/lib/core/AppShell/AppShell.stories.js +191 -0
  784. package/lib/core/AppShell/AppShell.stories.js.map +1 -0
  785. package/lib/core/AppShell/AppShell.styles.d.ts +2 -0
  786. package/lib/core/AppShell/AppShell.styles.d.ts.map +1 -0
  787. package/lib/core/AppShell/AppShell.styles.js +5 -0
  788. package/lib/core/AppShell/AppShell.styles.js.map +1 -0
  789. package/lib/core/Avatar/Avatar.stories.d.ts +10 -0
  790. package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -0
  791. package/lib/core/Avatar/Avatar.stories.js +51 -0
  792. package/lib/core/Avatar/Avatar.stories.js.map +1 -0
  793. package/lib/core/Backdrop/Backdrop.stories.d.ts +7 -0
  794. package/lib/core/Backdrop/Backdrop.stories.d.ts.map +1 -0
  795. package/lib/core/Backdrop/Backdrop.stories.js +26 -0
  796. package/lib/core/Backdrop/Backdrop.stories.js.map +1 -0
  797. package/lib/core/Badges/Alert.stories.d.ts +6 -0
  798. package/lib/core/Badges/Alert.stories.d.ts.map +1 -0
  799. package/lib/core/Badges/Alert.stories.js +16 -0
  800. package/lib/core/Badges/Alert.stories.js.map +1 -0
  801. package/lib/core/Badges/Count.stories.d.ts +6 -0
  802. package/lib/core/Badges/Count.stories.d.ts.map +1 -0
  803. package/lib/core/Badges/Count.stories.js +21 -0
  804. package/lib/core/Badges/Count.stories.js.map +1 -0
  805. package/lib/core/Badges/Selection.stories.d.ts +6 -0
  806. package/lib/core/Badges/Selection.stories.d.ts.map +1 -0
  807. package/lib/core/Badges/Selection.stories.js +10 -0
  808. package/lib/core/Badges/Selection.stories.js.map +1 -0
  809. package/lib/core/Badges/Status.stories.d.ts +6 -0
  810. package/lib/core/Badges/Status.stories.d.ts.map +1 -0
  811. package/lib/core/Badges/Status.stories.js +19 -0
  812. package/lib/core/Badges/Status.stories.js.map +1 -0
  813. package/lib/core/Badges/Tag.stories.d.ts +6 -0
  814. package/lib/core/Badges/Tag.stories.d.ts.map +1 -0
  815. package/lib/core/Badges/Tag.stories.js +10 -0
  816. package/lib/core/Badges/Tag.stories.js.map +1 -0
  817. package/lib/core/Banner/Banner.mocks.d.ts +18 -0
  818. package/lib/core/Banner/Banner.mocks.d.ts.map +1 -0
  819. package/lib/core/Banner/Banner.mocks.js +36 -0
  820. package/lib/core/Banner/Banner.mocks.js.map +1 -0
  821. package/lib/core/Banner/Banner.stories.d.ts +22 -0
  822. package/lib/core/Banner/Banner.stories.d.ts.map +1 -0
  823. package/lib/core/Banner/Banner.stories.js +81 -0
  824. package/lib/core/Banner/Banner.stories.js.map +1 -0
  825. package/lib/core/Boolean/BooleanDisplay.stories.d.ts +6 -0
  826. package/lib/core/Boolean/BooleanDisplay.stories.d.ts.map +1 -0
  827. package/lib/core/Boolean/BooleanDisplay.stories.js +20 -0
  828. package/lib/core/Boolean/BooleanDisplay.stories.js.map +1 -0
  829. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +7 -0
  830. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
  831. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +28 -0
  832. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -0
  833. package/lib/core/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -0
  834. package/lib/core/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -0
  835. package/lib/core/Breadcrumbs/Breadcrumbs.styles.js +12 -0
  836. package/lib/core/Breadcrumbs/Breadcrumbs.styles.js.map +1 -0
  837. package/lib/core/Button/Button.stories.d.ts +12 -0
  838. package/lib/core/Button/Button.stories.d.ts.map +1 -0
  839. package/lib/core/Button/Button.stories.js +64 -0
  840. package/lib/core/Button/Button.stories.js.map +1 -0
  841. package/lib/core/Card/Card.stories.d.ts +8 -0
  842. package/lib/core/Card/Card.stories.d.ts.map +1 -0
  843. package/lib/core/Card/Card.stories.js +32 -0
  844. package/lib/core/Card/Card.stories.js.map +1 -0
  845. package/lib/core/Card/Card.styles.d.ts +2 -0
  846. package/lib/core/Card/Card.styles.d.ts.map +1 -0
  847. package/lib/core/Card/Card.styles.js +5 -0
  848. package/lib/core/Card/Card.styles.js.map +1 -0
  849. package/lib/core/Checkbox/Checkbox.stories.d.ts +7 -0
  850. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -0
  851. package/lib/core/Checkbox/Checkbox.stories.js +29 -0
  852. package/lib/core/Checkbox/Checkbox.stories.js.map +1 -0
  853. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +7 -0
  854. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -0
  855. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +32 -0
  856. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -0
  857. package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts +4 -0
  858. package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +1 -0
  859. package/lib/core/CheckboxGroup/CheckboxGroup.styles.js +9 -0
  860. package/lib/core/CheckboxGroup/CheckboxGroup.styles.js.map +1 -0
  861. package/lib/core/ColorPicker/ColorPicker.stories.d.ts +8 -0
  862. package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -0
  863. package/lib/core/ColorPicker/ColorPicker.stories.js +76 -0
  864. package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -0
  865. package/lib/core/ComboBox/ComboBox.mocks.d.ts +24 -0
  866. package/lib/core/ComboBox/ComboBox.mocks.d.ts.map +1 -0
  867. package/lib/core/ComboBox/ComboBox.mocks.js +54 -0
  868. package/lib/core/ComboBox/ComboBox.mocks.js.map +1 -0
  869. package/lib/core/ComboBox/ComboBox.stories.d.ts +31 -0
  870. package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -0
  871. package/lib/core/ComboBox/ComboBox.stories.js +376 -0
  872. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -0
  873. package/lib/core/Configuration/Configuration.stories.d.ts +10 -0
  874. package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -0
  875. package/lib/core/Configuration/Configuration.stories.js +75 -0
  876. package/lib/core/Configuration/Configuration.stories.js.map +1 -0
  877. package/lib/core/Currency/Currency.stories.d.ts +11 -0
  878. package/lib/core/Currency/Currency.stories.d.ts.map +1 -0
  879. package/lib/core/Currency/Currency.stories.js +66 -0
  880. package/lib/core/Currency/Currency.stories.js.map +1 -0
  881. package/lib/core/DateTime/DateTime.stories.d.ts +20 -0
  882. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -0
  883. package/lib/core/DateTime/DateTime.stories.js +128 -0
  884. package/lib/core/DateTime/DateTime.stories.js.map +1 -0
  885. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts +7 -0
  886. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -0
  887. package/lib/core/DateTime/DateTimeDisplay.stories.js +48 -0
  888. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -0
  889. package/lib/core/DateTime/DateTimePicker.stories.d.ts +7 -0
  890. package/lib/core/DateTime/DateTimePicker.stories.d.ts.map +1 -0
  891. package/lib/core/DateTime/DateTimePicker.stories.js +35 -0
  892. package/lib/core/DateTime/DateTimePicker.stories.js.map +1 -0
  893. package/lib/core/Drawer/Drawer.stories.d.ts +7 -0
  894. package/lib/core/Drawer/Drawer.stories.d.ts.map +1 -0
  895. package/lib/core/Drawer/Drawer.stories.js +71 -0
  896. package/lib/core/Drawer/Drawer.stories.js.map +1 -0
  897. package/lib/core/Drawer/Drawer.styles.d.ts +2 -0
  898. package/lib/core/Drawer/Drawer.styles.d.ts.map +1 -0
  899. package/lib/core/Drawer/Drawer.styles.js +11 -0
  900. package/lib/core/Drawer/Drawer.styles.js.map +1 -0
  901. package/lib/core/Email/EmailDisplay.stories.d.ts +6 -0
  902. package/lib/core/Email/EmailDisplay.stories.d.ts.map +1 -0
  903. package/lib/core/Email/EmailDisplay.stories.js +20 -0
  904. package/lib/core/Email/EmailDisplay.stories.js.map +1 -0
  905. package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts +8 -0
  906. package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -0
  907. package/lib/core/EmojiPicker/EmojiPicker.stories.js +42 -0
  908. package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +1 -0
  909. package/lib/core/EmptyState/EmptyState.stories.d.ts +6 -0
  910. package/lib/core/EmptyState/EmptyState.stories.d.ts.map +1 -0
  911. package/lib/core/EmptyState/EmptyState.stories.js +19 -0
  912. package/lib/core/EmptyState/EmptyState.stories.js.map +1 -0
  913. package/lib/core/ErrorState/ErrorState.stories.d.ts +9 -0
  914. package/lib/core/ErrorState/ErrorState.stories.d.ts.map +1 -0
  915. package/lib/core/ErrorState/ErrorState.stories.js +21 -0
  916. package/lib/core/ErrorState/ErrorState.stories.js.map +1 -0
  917. package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts +7 -0
  918. package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +1 -0
  919. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js +28 -0
  920. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +1 -0
  921. package/lib/core/ExpandCollapse/ExpandCollapse.styles.d.ts +4 -0
  922. package/lib/core/ExpandCollapse/ExpandCollapse.styles.d.ts.map +1 -0
  923. package/lib/core/ExpandCollapse/ExpandCollapse.styles.js +17 -0
  924. package/lib/core/ExpandCollapse/ExpandCollapse.styles.js.map +1 -0
  925. package/lib/core/FieldGroup/FieldGroup.stories.d.ts +11 -0
  926. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -0
  927. package/lib/core/FieldGroup/FieldGroup.stories.js +22 -0
  928. package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -0
  929. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +21 -0
  930. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -0
  931. package/lib/core/FieldGroup/FieldGroupList.mocks.js +38 -0
  932. package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -0
  933. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +10 -0
  934. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -0
  935. package/lib/core/FieldGroup/FieldGroupList.stories.js +106 -0
  936. package/lib/core/FieldGroup/FieldGroupList.stories.js.map +1 -0
  937. package/lib/core/FieldValueList/FieldValueList.stories.d.ts +10 -0
  938. package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -0
  939. package/lib/core/FieldValueList/FieldValueList.stories.js +51 -0
  940. package/lib/core/FieldValueList/FieldValueList.stories.js.map +1 -0
  941. package/lib/core/File/FileDisplay.stories.d.ts +20 -0
  942. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -0
  943. package/lib/core/File/FileDisplay.stories.js +126 -0
  944. package/lib/core/File/FileDisplay.stories.js.map +1 -0
  945. package/lib/core/File/FileInput.stories.d.ts +9 -0
  946. package/lib/core/File/FileInput.stories.d.ts.map +1 -0
  947. package/lib/core/File/FileInput.stories.js +78 -0
  948. package/lib/core/File/FileInput.stories.js.map +1 -0
  949. package/lib/core/Flex/Flex.styles.d.ts +10 -0
  950. package/lib/core/Flex/Flex.styles.d.ts.map +1 -0
  951. package/lib/core/Flex/Flex.styles.js +41 -0
  952. package/lib/core/Flex/Flex.styles.js.map +1 -0
  953. package/lib/core/Flex/FlexContainer.stories.d.ts +22 -0
  954. package/lib/core/Flex/FlexContainer.stories.d.ts.map +1 -0
  955. package/lib/core/Flex/FlexContainer.stories.js +82 -0
  956. package/lib/core/Flex/FlexContainer.stories.js.map +1 -0
  957. package/lib/core/Flex/FlexItem.stories.d.ts +13 -0
  958. package/lib/core/Flex/FlexItem.stories.d.ts.map +1 -0
  959. package/lib/core/Flex/FlexItem.stories.js +41 -0
  960. package/lib/core/Flex/FlexItem.stories.js.map +1 -0
  961. package/lib/core/Form/Form.mocks.d.ts +8 -0
  962. package/lib/core/Form/Form.mocks.d.ts.map +1 -0
  963. package/lib/core/Form/Form.mocks.js +97 -0
  964. package/lib/core/Form/Form.mocks.js.map +1 -0
  965. package/lib/core/Form/Form.stories.d.ts +14 -0
  966. package/lib/core/Form/Form.stories.d.ts.map +1 -0
  967. package/lib/core/Form/Form.stories.js +52 -0
  968. package/lib/core/Form/Form.stories.js.map +1 -0
  969. package/lib/core/Grid/Grid.styles.d.ts +6 -0
  970. package/lib/core/Grid/Grid.styles.d.ts.map +1 -0
  971. package/lib/core/Grid/Grid.styles.js +36 -0
  972. package/lib/core/Grid/Grid.styles.js.map +1 -0
  973. package/lib/core/Grid/GridContainer.stories.d.ts +24 -0
  974. package/lib/core/Grid/GridContainer.stories.d.ts.map +1 -0
  975. package/lib/core/Grid/GridContainer.stories.js +115 -0
  976. package/lib/core/Grid/GridContainer.stories.js.map +1 -0
  977. package/lib/core/Grid/GridItem.stories.d.ts +13 -0
  978. package/lib/core/Grid/GridItem.stories.d.ts.map +1 -0
  979. package/lib/core/Grid/GridItem.stories.js +36 -0
  980. package/lib/core/Grid/GridItem.stories.js.map +1 -0
  981. package/lib/core/Icon/Icon.mocks.d.ts +3 -0
  982. package/lib/core/Icon/Icon.mocks.d.ts.map +1 -0
  983. package/lib/core/Icon/Icon.mocks.js +10 -0
  984. package/lib/core/Icon/Icon.mocks.js.map +1 -0
  985. package/lib/core/Icon/Icon.stories.d.ts +9 -0
  986. package/lib/core/Icon/Icon.stories.d.ts.map +1 -0
  987. package/lib/core/Icon/Icon.stories.js +82 -0
  988. package/lib/core/Icon/Icon.stories.js.map +1 -0
  989. package/lib/core/IconPicker/IconPicker.stories.d.ts +6 -0
  990. package/lib/core/IconPicker/IconPicker.stories.d.ts.map +1 -0
  991. package/lib/core/IconPicker/IconPicker.stories.js +39 -0
  992. package/lib/core/IconPicker/IconPicker.stories.js.map +1 -0
  993. package/lib/core/Image/Image.stories.d.ts +6 -0
  994. package/lib/core/Image/Image.stories.d.ts.map +1 -0
  995. package/lib/core/Image/Image.stories.js +10 -0
  996. package/lib/core/Image/Image.stories.js.map +1 -0
  997. package/lib/core/Input/Input.stories.d.ts +9 -0
  998. package/lib/core/Input/Input.stories.d.ts.map +1 -0
  999. package/lib/core/Input/Input.stories.js +45 -0
  1000. package/lib/core/Input/Input.stories.js.map +1 -0
  1001. package/lib/core/Label/Label.stories.d.ts +6 -0
  1002. package/lib/core/Label/Label.stories.d.ts.map +1 -0
  1003. package/lib/core/Label/Label.stories.js +16 -0
  1004. package/lib/core/Label/Label.stories.js.map +1 -0
  1005. package/lib/core/Lightbox/Lightbox.mocks.d.ts +15 -0
  1006. package/lib/core/Lightbox/Lightbox.mocks.d.ts.map +1 -0
  1007. package/lib/core/Lightbox/Lightbox.mocks.js +67 -0
  1008. package/lib/core/Lightbox/Lightbox.mocks.js.map +1 -0
  1009. package/lib/core/Lightbox/Lightbox.stories.d.ts +10 -0
  1010. package/lib/core/Lightbox/Lightbox.stories.d.ts.map +1 -0
  1011. package/lib/core/Lightbox/Lightbox.stories.js +51 -0
  1012. package/lib/core/Lightbox/Lightbox.stories.js.map +1 -0
  1013. package/lib/core/Link/Link.stories.d.ts +18 -0
  1014. package/lib/core/Link/Link.stories.d.ts.map +1 -0
  1015. package/lib/core/Link/Link.stories.js +30 -0
  1016. package/lib/core/Link/Link.stories.js.map +1 -0
  1017. package/lib/core/List/CommaSeparatedList.stories.d.ts +6 -0
  1018. package/lib/core/List/CommaSeparatedList.stories.d.ts.map +1 -0
  1019. package/lib/core/List/CommaSeparatedList.stories.js +32 -0
  1020. package/lib/core/List/CommaSeparatedList.stories.js.map +1 -0
  1021. package/lib/core/List/OrderedList.stories.d.ts +10 -0
  1022. package/lib/core/List/OrderedList.stories.d.ts.map +1 -0
  1023. package/lib/core/List/OrderedList.stories.js +39 -0
  1024. package/lib/core/List/OrderedList.stories.js.map +1 -0
  1025. package/lib/core/List/UnorderedList.stories.d.ts +10 -0
  1026. package/lib/core/List/UnorderedList.stories.d.ts.map +1 -0
  1027. package/lib/core/List/UnorderedList.stories.js +39 -0
  1028. package/lib/core/List/UnorderedList.stories.js.map +1 -0
  1029. package/lib/core/Location/Location.stories.d.ts +12 -0
  1030. package/lib/core/Location/Location.stories.d.ts.map +1 -0
  1031. package/lib/core/Location/Location.stories.js +123 -0
  1032. package/lib/core/Location/Location.stories.js.map +1 -0
  1033. package/lib/core/Menu/Menu.mocks.d.ts +4 -0
  1034. package/lib/core/Menu/Menu.mocks.d.ts.map +1 -0
  1035. package/lib/core/Menu/Menu.mocks.js +179 -0
  1036. package/lib/core/Menu/Menu.mocks.js.map +1 -0
  1037. package/lib/core/Menu/Menu.stories.d.ts +17 -0
  1038. package/lib/core/Menu/Menu.stories.d.ts.map +1 -0
  1039. package/lib/core/Menu/Menu.stories.js +146 -0
  1040. package/lib/core/Menu/Menu.stories.js.map +1 -0
  1041. package/lib/core/Menu/Menu.styles.d.ts +2 -0
  1042. package/lib/core/Menu/Menu.styles.d.ts.map +1 -0
  1043. package/lib/core/Menu/Menu.styles.js +6 -0
  1044. package/lib/core/Menu/Menu.styles.js.map +1 -0
  1045. package/lib/core/MenuButton/MenuButton.stories.d.ts +15 -0
  1046. package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -0
  1047. package/lib/core/MenuButton/MenuButton.stories.js +185 -0
  1048. package/lib/core/MenuButton/MenuButton.stories.js.map +1 -0
  1049. package/lib/core/MetaList/MetaList.stories.d.ts +9 -0
  1050. package/lib/core/MetaList/MetaList.stories.d.ts.map +1 -0
  1051. package/lib/core/MetaList/MetaList.stories.js +20 -0
  1052. package/lib/core/MetaList/MetaList.stories.js.map +1 -0
  1053. package/lib/core/Modal/Modal.mocks.d.ts +4 -0
  1054. package/lib/core/Modal/Modal.mocks.d.ts.map +1 -0
  1055. package/lib/core/Modal/Modal.mocks.js +36 -0
  1056. package/lib/core/Modal/Modal.mocks.js.map +1 -0
  1057. package/lib/core/Modal/Modal.stories.d.ts +20 -0
  1058. package/lib/core/Modal/Modal.stories.d.ts.map +1 -0
  1059. package/lib/core/Modal/Modal.stories.js +232 -0
  1060. package/lib/core/Modal/Modal.stories.js.map +1 -0
  1061. package/lib/core/MultiStep/MultiStep.stories.d.ts +6 -0
  1062. package/lib/core/MultiStep/MultiStep.stories.d.ts.map +1 -0
  1063. package/lib/core/MultiStep/MultiStep.stories.js +36 -0
  1064. package/lib/core/MultiStep/MultiStep.stories.js.map +1 -0
  1065. package/lib/core/Number/Number.stories.d.ts +13 -0
  1066. package/lib/core/Number/Number.stories.d.ts.map +1 -0
  1067. package/lib/core/Number/Number.stories.js +111 -0
  1068. package/lib/core/Number/Number.stories.js.map +1 -0
  1069. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts +3 -0
  1070. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  1071. package/lib/core/PageTemplates/PageTemplates.mocks.js +10 -0
  1072. package/lib/core/PageTemplates/PageTemplates.mocks.js.map +1 -0
  1073. package/lib/core/PageTemplates/PageTemplates.stories.d.ts +31 -0
  1074. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
  1075. package/lib/core/PageTemplates/PageTemplates.stories.js +226 -0
  1076. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -0
  1077. package/lib/core/PageTemplates/PageTemplates.styles.d.ts +4 -0
  1078. package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -0
  1079. package/lib/core/PageTemplates/PageTemplates.styles.js +31 -0
  1080. package/lib/core/PageTemplates/PageTemplates.styles.js.map +1 -0
  1081. package/lib/core/Pagination/Pagination.stories.d.ts +6 -0
  1082. package/lib/core/Pagination/Pagination.stories.d.ts.map +1 -0
  1083. package/lib/core/Pagination/Pagination.stories.js +20 -0
  1084. package/lib/core/Pagination/Pagination.stories.js.map +1 -0
  1085. package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts +6 -0
  1086. package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts.map +1 -0
  1087. package/lib/core/Paragraph/ParagraphDisplay.stories.js +16 -0
  1088. package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +1 -0
  1089. package/lib/core/Phone/Phone.stories.d.ts +7 -0
  1090. package/lib/core/Phone/Phone.stories.d.ts.map +1 -0
  1091. package/lib/core/Phone/Phone.stories.js +43 -0
  1092. package/lib/core/Phone/Phone.stories.js.map +1 -0
  1093. package/lib/core/Popover/Popover.stories.d.ts +7 -0
  1094. package/lib/core/Popover/Popover.stories.d.ts.map +1 -0
  1095. package/lib/core/Popover/Popover.stories.js +95 -0
  1096. package/lib/core/Popover/Popover.stories.js.map +1 -0
  1097. package/lib/core/Progress/Progress.stories.d.ts +7 -0
  1098. package/lib/core/Progress/Progress.stories.d.ts.map +1 -0
  1099. package/lib/core/Progress/Progress.stories.js +64 -0
  1100. package/lib/core/Progress/Progress.stories.js.map +1 -0
  1101. package/lib/core/Progress/Progress.styles.d.ts +2 -0
  1102. package/lib/core/Progress/Progress.styles.d.ts.map +1 -0
  1103. package/lib/core/Progress/Progress.styles.js +13 -0
  1104. package/lib/core/Progress/Progress.styles.js.map +1 -0
  1105. package/lib/core/RadioButton/RadioButton.stories.d.ts +7 -0
  1106. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -0
  1107. package/lib/core/RadioButton/RadioButton.stories.js +27 -0
  1108. package/lib/core/RadioButton/RadioButton.stories.js.map +1 -0
  1109. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +7 -0
  1110. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -0
  1111. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +34 -0
  1112. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -0
  1113. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +4 -0
  1114. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +1 -0
  1115. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.js +9 -0
  1116. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.js.map +1 -0
  1117. package/lib/core/Rating/Rating.stories.d.ts +9 -0
  1118. package/lib/core/Rating/Rating.stories.d.ts.map +1 -0
  1119. package/lib/core/Rating/Rating.stories.js +22 -0
  1120. package/lib/core/Rating/Rating.stories.js.map +1 -0
  1121. package/lib/core/SearchInput/SearchInput.stories.d.ts +6 -0
  1122. package/lib/core/SearchInput/SearchInput.stories.d.ts.map +1 -0
  1123. package/lib/core/SearchInput/SearchInput.stories.js +16 -0
  1124. package/lib/core/SearchInput/SearchInput.stories.js.map +1 -0
  1125. package/lib/core/Select/Select.stories.d.ts +9 -0
  1126. package/lib/core/Select/Select.stories.d.ts.map +1 -0
  1127. package/lib/core/Select/Select.stories.js +38 -0
  1128. package/lib/core/Select/Select.stories.js.map +1 -0
  1129. package/lib/core/Sentiment/Sentiment.stories.d.ts +14 -0
  1130. package/lib/core/Sentiment/Sentiment.stories.d.ts.map +1 -0
  1131. package/lib/core/Sentiment/Sentiment.stories.js +40 -0
  1132. package/lib/core/Sentiment/Sentiment.stories.js.map +1 -0
  1133. package/lib/core/Slider/Slider.stories.d.ts +11 -0
  1134. package/lib/core/Slider/Slider.stories.d.ts.map +1 -0
  1135. package/lib/core/Slider/Slider.stories.js +59 -0
  1136. package/lib/core/Slider/Slider.stories.js.map +1 -0
  1137. package/lib/core/SummaryItem/SummaryItem.stories.d.ts +11 -0
  1138. package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -0
  1139. package/lib/core/SummaryItem/SummaryItem.stories.js +32 -0
  1140. package/lib/core/SummaryItem/SummaryItem.stories.js.map +1 -0
  1141. package/lib/core/SummaryList/SummaryList.mocks.d.ts +32 -0
  1142. package/lib/core/SummaryList/SummaryList.mocks.d.ts.map +1 -0
  1143. package/lib/core/SummaryList/SummaryList.mocks.js +34 -0
  1144. package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -0
  1145. package/lib/core/SummaryList/SummaryList.stories.d.ts +13 -0
  1146. package/lib/core/SummaryList/SummaryList.stories.d.ts.map +1 -0
  1147. package/lib/core/SummaryList/SummaryList.stories.js +126 -0
  1148. package/lib/core/SummaryList/SummaryList.stories.js.map +1 -0
  1149. package/lib/core/Switch/Switch.stories.d.ts +7 -0
  1150. package/lib/core/Switch/Switch.stories.d.ts.map +1 -0
  1151. package/lib/core/Switch/Switch.stories.js +25 -0
  1152. package/lib/core/Switch/Switch.stories.js.map +1 -0
  1153. package/lib/core/Switch/Switch.styles.d.ts +2 -0
  1154. package/lib/core/Switch/Switch.styles.d.ts.map +1 -0
  1155. package/lib/core/Switch/Switch.styles.js +13 -0
  1156. package/lib/core/Switch/Switch.styles.js.map +1 -0
  1157. package/lib/core/Table/Table.mocks.d.ts +19 -0
  1158. package/lib/core/Table/Table.mocks.d.ts.map +1 -0
  1159. package/lib/core/Table/Table.mocks.js +30 -0
  1160. package/lib/core/Table/Table.mocks.js.map +1 -0
  1161. package/lib/core/Table/Table.stories.d.ts +14 -0
  1162. package/lib/core/Table/Table.stories.d.ts.map +1 -0
  1163. package/lib/core/Table/Table.stories.js +54 -0
  1164. package/lib/core/Table/Table.stories.js.map +1 -0
  1165. package/lib/core/Table/Table.styles.d.ts +4 -0
  1166. package/lib/core/Table/Table.styles.d.ts.map +1 -0
  1167. package/lib/core/Table/Table.styles.js +9 -0
  1168. package/lib/core/Table/Table.styles.js.map +1 -0
  1169. package/lib/core/Tabs/Tabs.stories.d.ts +7 -0
  1170. package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -0
  1171. package/lib/core/Tabs/Tabs.stories.js +42 -0
  1172. package/lib/core/Tabs/Tabs.stories.js.map +1 -0
  1173. package/lib/core/Text/Text.stories.d.ts +6 -0
  1174. package/lib/core/Text/Text.stories.d.ts.map +1 -0
  1175. package/lib/core/Text/Text.stories.js +21 -0
  1176. package/lib/core/Text/Text.stories.js.map +1 -0
  1177. package/lib/core/TextArea/TextArea.stories.d.ts +6 -0
  1178. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -0
  1179. package/lib/core/TextArea/TextArea.stories.js +44 -0
  1180. package/lib/core/TextArea/TextArea.stories.js.map +1 -0
  1181. package/lib/core/Toaster/Toaster.stories.d.ts +6 -0
  1182. package/lib/core/Toaster/Toaster.stories.d.ts.map +1 -0
  1183. package/lib/core/Toaster/Toaster.stories.js +30 -0
  1184. package/lib/core/Toaster/Toaster.stories.js.map +1 -0
  1185. package/lib/core/Tooltip/Tooltip.stories.d.ts +8 -0
  1186. package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -0
  1187. package/lib/core/Tooltip/Tooltip.stories.js +11 -0
  1188. package/lib/core/Tooltip/Tooltip.stories.js.map +1 -0
  1189. package/lib/core/Tree/Tree.mocks.d.ts +2 -0
  1190. package/lib/core/Tree/Tree.mocks.d.ts.map +1 -0
  1191. package/lib/core/Tree/Tree.mocks.js +22 -0
  1192. package/lib/core/Tree/Tree.mocks.js.map +1 -0
  1193. package/lib/core/Tree/Tree.stories.d.ts +8 -0
  1194. package/lib/core/Tree/Tree.stories.d.ts.map +1 -0
  1195. package/lib/core/Tree/Tree.stories.js +85 -0
  1196. package/lib/core/Tree/Tree.stories.js.map +1 -0
  1197. package/lib/core/Tree/Tree.styles.d.ts +3 -0
  1198. package/lib/core/Tree/Tree.styles.d.ts.map +1 -0
  1199. package/lib/core/Tree/Tree.styles.js +10 -0
  1200. package/lib/core/Tree/Tree.styles.js.map +1 -0
  1201. package/lib/core/URL/URL.stories.d.ts +6 -0
  1202. package/lib/core/URL/URL.stories.d.ts.map +1 -0
  1203. package/lib/core/URL/URL.stories.js +18 -0
  1204. package/lib/core/URL/URL.stories.js.map +1 -0
  1205. package/lib/cs/Article/Article.mocks.d.ts +14 -0
  1206. package/lib/cs/Article/Article.mocks.d.ts.map +1 -0
  1207. package/lib/cs/Article/Article.mocks.js +14 -0
  1208. package/lib/cs/Article/Article.mocks.js.map +1 -0
  1209. package/lib/cs/Article/Article.stories.d.ts +15 -0
  1210. package/lib/cs/Article/Article.stories.d.ts.map +1 -0
  1211. package/lib/cs/Article/Article.stories.js +85 -0
  1212. package/lib/cs/Article/Article.stories.js.map +1 -0
  1213. package/lib/cs/ArticleList/ArticleList.mocks.d.ts +21 -0
  1214. package/lib/cs/ArticleList/ArticleList.mocks.d.ts.map +1 -0
  1215. package/lib/cs/ArticleList/ArticleList.mocks.js +102 -0
  1216. package/lib/cs/ArticleList/ArticleList.mocks.js.map +1 -0
  1217. package/lib/cs/ArticleList/ArticleList.stories.d.ts +16 -0
  1218. package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +1 -0
  1219. package/lib/cs/ArticleList/ArticleList.stories.js +83 -0
  1220. package/lib/cs/ArticleList/ArticleList.stories.js.map +1 -0
  1221. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts +45 -0
  1222. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -0
  1223. package/lib/cs/CSCaseView/CSAppShell.stories.js +240 -0
  1224. package/lib/cs/CSCaseView/CSAppShell.stories.js.map +1 -0
  1225. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts +57 -0
  1226. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts.map +1 -0
  1227. package/lib/cs/CSCaseView/CSCaseView.mocks.js +224 -0
  1228. package/lib/cs/CSCaseView/CSCaseView.mocks.js.map +1 -0
  1229. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +16 -0
  1230. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +1 -0
  1231. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js +110 -0
  1232. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js.map +1 -0
  1233. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +13 -0
  1234. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -0
  1235. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +193 -0
  1236. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +1 -0
  1237. package/lib/cs/DialPad/DialPad.stories.d.ts +9 -0
  1238. package/lib/cs/DialPad/DialPad.stories.d.ts.map +1 -0
  1239. package/lib/cs/DialPad/DialPad.stories.js +17 -0
  1240. package/lib/cs/DialPad/DialPad.stories.js.map +1 -0
  1241. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts +11 -0
  1242. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +1 -0
  1243. package/lib/cs/DialPad/DialPadKeyboardData.mock.js +20 -0
  1244. package/lib/cs/DialPad/DialPadKeyboardData.mock.js.map +1 -0
  1245. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +13 -0
  1246. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -0
  1247. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js +335 -0
  1248. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -0
  1249. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +8 -0
  1250. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -0
  1251. package/lib/cs/InteractionNotification/InteractionNotification.stories.js +31 -0
  1252. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +1 -0
  1253. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +14 -0
  1254. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -0
  1255. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +86 -0
  1256. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +1 -0
  1257. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +13 -0
  1258. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -0
  1259. package/lib/cs/TaskManager/TaskManager.mocks.js +140 -0
  1260. package/lib/cs/TaskManager/TaskManager.mocks.js.map +1 -0
  1261. package/lib/cs/TaskManager/TaskManager.stories.d.ts +8 -0
  1262. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -0
  1263. package/lib/cs/TaskManager/TaskManager.stories.js +299 -0
  1264. package/lib/cs/TaskManager/TaskManager.stories.js.map +1 -0
  1265. package/lib/dnd/DragDropList/DragDropList.stories.d.ts +11 -0
  1266. package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -0
  1267. package/lib/dnd/DragDropList/DragDropList.stories.js +113 -0
  1268. package/lib/dnd/DragDropList/DragDropList.stories.js.map +1 -0
  1269. package/lib/rte/Editor/Editor.mocks.d.ts +307 -0
  1270. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -0
  1271. package/lib/rte/Editor/Editor.mocks.js +26 -0
  1272. package/lib/rte/Editor/Editor.mocks.js.map +1 -0
  1273. package/lib/rte/Editor/Editor.stories.d.ts +11 -0
  1274. package/lib/rte/Editor/Editor.stories.d.ts.map +1 -0
  1275. package/lib/rte/Editor/Editor.stories.js +100 -0
  1276. package/lib/rte/Editor/Editor.stories.js.map +1 -0
  1277. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts +3 -0
  1278. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -0
  1279. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js +36 -0
  1280. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +1 -0
  1281. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +10 -0
  1282. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -0
  1283. package/lib/rte/RichTextEditor/RichTextEditor.stories.js +114 -0
  1284. package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +1 -0
  1285. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +8 -0
  1286. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -0
  1287. package/lib/rte/RichTextEditor/RichTextViewer.stories.js +66 -0
  1288. package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +1 -0
  1289. package/lib/social/Chat/Chat.mocks.d.ts +385 -0
  1290. package/lib/social/Chat/Chat.mocks.d.ts.map +1 -0
  1291. package/lib/social/Chat/Chat.mocks.js +648 -0
  1292. package/lib/social/Chat/Chat.mocks.js.map +1 -0
  1293. package/lib/social/Chat/Chat.stories.d.ts +54 -0
  1294. package/lib/social/Chat/Chat.stories.d.ts.map +1 -0
  1295. package/lib/social/Chat/Chat.stories.js +435 -0
  1296. package/lib/social/Chat/Chat.stories.js.map +1 -0
  1297. package/lib/social/Chat/RepeatingView.stories.d.ts +20 -0
  1298. package/lib/social/Chat/RepeatingView.stories.d.ts.map +1 -0
  1299. package/lib/social/Chat/RepeatingView.stories.js +89 -0
  1300. package/lib/social/Chat/RepeatingView.stories.js.map +1 -0
  1301. package/lib/social/Email/Email.mocks.d.ts +87 -0
  1302. package/lib/social/Email/Email.mocks.d.ts.map +1 -0
  1303. package/lib/social/Email/Email.mocks.js +350 -0
  1304. package/lib/social/Email/Email.mocks.js.map +1 -0
  1305. package/lib/social/Email/Email.stories.d.ts +28 -0
  1306. package/lib/social/Email/Email.stories.d.ts.map +1 -0
  1307. package/lib/social/Email/Email.stories.js +845 -0
  1308. package/lib/social/Email/Email.stories.js.map +1 -0
  1309. package/lib/social/Feed/Feed.mocks.d.ts +52 -0
  1310. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -0
  1311. package/lib/social/Feed/Feed.mocks.js +307 -0
  1312. package/lib/social/Feed/Feed.mocks.js.map +1 -0
  1313. package/lib/social/Feed/Feed.stories.d.ts +15 -0
  1314. package/lib/social/Feed/Feed.stories.d.ts.map +1 -0
  1315. package/lib/social/Feed/Feed.stories.js +145 -0
  1316. package/lib/social/Feed/Feed.stories.js.map +1 -0
  1317. package/lib/social/Feed/FeedNewPost.stories.d.ts +17 -0
  1318. package/lib/social/Feed/FeedNewPost.stories.d.ts.map +1 -0
  1319. package/lib/social/Feed/FeedNewPost.stories.js +82 -0
  1320. package/lib/social/Feed/FeedNewPost.stories.js.map +1 -0
  1321. package/lib/social/Feed/FeedPost.stories.d.ts +9 -0
  1322. package/lib/social/Feed/FeedPost.stories.d.ts.map +1 -0
  1323. package/lib/social/Feed/FeedPost.stories.js +239 -0
  1324. package/lib/social/Feed/FeedPost.stories.js.map +1 -0
  1325. package/lib/social/Feed/FeedReply.stories.d.ts +16 -0
  1326. package/lib/social/Feed/FeedReply.stories.d.ts.map +1 -0
  1327. package/lib/social/Feed/FeedReply.stories.js +95 -0
  1328. package/lib/social/Feed/FeedReply.stories.js.map +1 -0
  1329. package/lib/social/Feed/FeedReplyInput.stories.d.ts +15 -0
  1330. package/lib/social/Feed/FeedReplyInput.stories.d.ts.map +1 -0
  1331. package/lib/social/Feed/FeedReplyInput.stories.js +60 -0
  1332. package/lib/social/Feed/FeedReplyInput.stories.js.map +1 -0
  1333. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts +6 -0
  1334. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -0
  1335. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js +30 -0
  1336. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +1 -0
  1337. package/lib/work/CaseView/Attachments.mocks.d.ts +3 -0
  1338. package/lib/work/CaseView/Attachments.mocks.d.ts.map +1 -0
  1339. package/lib/work/CaseView/Attachments.mocks.js +373 -0
  1340. package/lib/work/CaseView/Attachments.mocks.js.map +1 -0
  1341. package/lib/work/CaseView/CaseView.mocks.d.ts +11 -0
  1342. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -0
  1343. package/lib/work/CaseView/CaseView.mocks.js +116 -0
  1344. package/lib/work/CaseView/CaseView.mocks.js.map +1 -0
  1345. package/lib/work/CaseView/CaseView.stories.d.ts +34 -0
  1346. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -0
  1347. package/lib/work/CaseView/CaseView.stories.js +276 -0
  1348. package/lib/work/CaseView/CaseView.stories.js.map +1 -0
  1349. package/lib/work/CaseView/Details.mocks.d.ts +3 -0
  1350. package/lib/work/CaseView/Details.mocks.d.ts.map +1 -0
  1351. package/lib/work/CaseView/Details.mocks.js +7 -0
  1352. package/lib/work/CaseView/Details.mocks.js.map +1 -0
  1353. package/lib/work/CaseView/FileService.mock.d.ts +28 -0
  1354. package/lib/work/CaseView/FileService.mock.d.ts.map +1 -0
  1355. package/lib/work/CaseView/FileService.mock.js +162 -0
  1356. package/lib/work/CaseView/FileService.mock.js.map +1 -0
  1357. package/lib/work/CaseView/MobileCaseView.stories.d.ts +11 -0
  1358. package/lib/work/CaseView/MobileCaseView.stories.d.ts.map +1 -0
  1359. package/lib/work/CaseView/MobileCaseView.stories.js +28 -0
  1360. package/lib/work/CaseView/MobileCaseView.stories.js.map +1 -0
  1361. package/lib/work/CaseView/Pulse.mocks.d.ts +6 -0
  1362. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -0
  1363. package/lib/work/CaseView/Pulse.mocks.js +25 -0
  1364. package/lib/work/CaseView/Pulse.mocks.js.map +1 -0
  1365. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +10 -0
  1366. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -0
  1367. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js +194 -0
  1368. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +1 -0
  1369. package/lib/work/Confirmation/Confirmation.stories.d.ts +9 -0
  1370. package/lib/work/Confirmation/Confirmation.stories.d.ts.map +1 -0
  1371. package/lib/work/Confirmation/Confirmation.stories.js +26 -0
  1372. package/lib/work/Confirmation/Confirmation.stories.js.map +1 -0
  1373. package/lib/work/Confirmation/Confirmation.styles.d.ts +2 -0
  1374. package/lib/work/Confirmation/Confirmation.styles.d.ts.map +1 -0
  1375. package/lib/work/Confirmation/Confirmation.styles.js +7 -0
  1376. package/lib/work/Confirmation/Confirmation.styles.js.map +1 -0
  1377. package/lib/work/Details/Details.stories.d.ts +5 -0
  1378. package/lib/work/Details/Details.stories.d.ts.map +1 -0
  1379. package/lib/work/Details/Details.stories.js +62 -0
  1380. package/lib/work/Details/Details.stories.js.map +1 -0
  1381. package/lib/work/Glimpse/Glimpse.stories.d.ts +10 -0
  1382. package/lib/work/Glimpse/Glimpse.stories.d.ts.map +1 -0
  1383. package/lib/work/Glimpse/Glimpse.stories.js +40 -0
  1384. package/lib/work/Glimpse/Glimpse.stories.js.map +1 -0
  1385. package/lib/work/SearchResults/SearchResults.mocks.d.ts +8 -0
  1386. package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +1 -0
  1387. package/lib/work/SearchResults/SearchResults.mocks.js +97 -0
  1388. package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -0
  1389. package/lib/work/SearchResults/SearchResults.stories.d.ts +8 -0
  1390. package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -0
  1391. package/lib/work/SearchResults/SearchResults.stories.js +192 -0
  1392. package/lib/work/SearchResults/SearchResults.stories.js.map +1 -0
  1393. package/lib/work/SearchResults/SearchResults.styles.d.ts +5 -0
  1394. package/lib/work/SearchResults/SearchResults.styles.d.ts.map +1 -0
  1395. package/lib/work/SearchResults/SearchResults.styles.js +12 -0
  1396. package/lib/work/SearchResults/SearchResults.styles.js.map +1 -0
  1397. package/lib/work/Stages/Stages.stories.d.ts +11 -0
  1398. package/lib/work/Stages/Stages.stories.d.ts.map +1 -0
  1399. package/lib/work/Stages/Stages.stories.js +64 -0
  1400. package/lib/work/Stages/Stages.stories.js.map +1 -0
  1401. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts +22 -0
  1402. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -0
  1403. package/lib/work/Stakeholders/Stakeholders.mocks.js +36 -0
  1404. package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -0
  1405. package/lib/work/Stakeholders/Stakeholders.stories.d.ts +6 -0
  1406. package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -0
  1407. package/lib/work/Stakeholders/Stakeholders.stories.js +111 -0
  1408. package/lib/work/Stakeholders/Stakeholders.stories.js.map +1 -0
  1409. package/lib/work/Tags/Tags.mocks.d.ts +3 -0
  1410. package/lib/work/Tags/Tags.mocks.d.ts.map +1 -0
  1411. package/lib/work/Tags/Tags.mocks.js +76 -0
  1412. package/lib/work/Tags/Tags.mocks.js.map +1 -0
  1413. package/lib/work/Tags/Tags.stories.d.ts +10 -0
  1414. package/lib/work/Tags/Tags.stories.d.ts.map +1 -0
  1415. package/lib/work/Tags/Tags.stories.js +62 -0
  1416. package/lib/work/Tags/Tags.stories.js.map +1 -0
  1417. package/lib/work/Tasks/TaskList.stories.d.ts +5 -0
  1418. package/lib/work/Tasks/TaskList.stories.d.ts.map +1 -0
  1419. package/lib/work/Tasks/TaskList.stories.js +18 -0
  1420. package/lib/work/Tasks/TaskList.stories.js.map +1 -0
  1421. package/lib/work/Tasks/Tasks.stories.d.ts +9 -0
  1422. package/lib/work/Tasks/Tasks.stories.d.ts.map +1 -0
  1423. package/lib/work/Tasks/Tasks.stories.js +80 -0
  1424. package/lib/work/Tasks/Tasks.stories.js.map +1 -0
  1425. package/lib/work/Timeline/Timeline.mocks.d.ts +3 -0
  1426. package/lib/work/Timeline/Timeline.mocks.d.ts.map +1 -0
  1427. package/lib/work/Timeline/Timeline.mocks.js +117 -0
  1428. package/lib/work/Timeline/Timeline.mocks.js.map +1 -0
  1429. package/lib/work/Timeline/Timeline.stories.d.ts +7 -0
  1430. package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -0
  1431. package/lib/work/Timeline/Timeline.stories.js +44 -0
  1432. package/lib/work/Timeline/Timeline.stories.js.map +1 -0
  1433. package/package.json +9 -9
@@ -0,0 +1,5 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const DetailsDemo: Story;
5
+ //# sourceMappingURL=Details.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Details.stories.d.ts","sourceRoot":"","sources":["../../../src/work/Details/Details.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAa/C,wBAGU;AAEV,eAAO,MAAM,WAAW,EAAE,KAwEzB,CAAC"}
@@ -0,0 +1,62 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { CurrencyDisplay, DateTimeDisplay, URLDisplay, BooleanDisplay, FieldGroup, FieldValueList, Link } from '@pega/cosmos-react-core';
3
+ import { Details } from '@pega/cosmos-react-work';
4
+ export default {
5
+ title: 'Work/Details',
6
+ component: Details
7
+ };
8
+ export const DetailsDemo = () => {
9
+ return (_jsx(Details, { highlightedFields: [
10
+ {
11
+ id: '1',
12
+ name: 'Statement balance',
13
+ value: _jsx(CurrencyDisplay, { value: '1,289.00', currencyISOCode: 'USD' }, void 0)
14
+ },
15
+ {
16
+ id: '2',
17
+ name: 'Total balance',
18
+ value: _jsx(CurrencyDisplay, { value: '35,667.00', currencyISOCode: 'USD' }, void 0)
19
+ },
20
+ {
21
+ id: '3',
22
+ name: 'Available credit',
23
+ value: _jsx(CurrencyDisplay, { value: '5,813.00', currencyISOCode: 'USD' }, void 0)
24
+ },
25
+ {
26
+ id: '4',
27
+ name: 'Payment due date',
28
+ value: _jsx(DateTimeDisplay, { value: Date.now(), variant: 'datetime', format: 'long' }, void 0)
29
+ },
30
+ {
31
+ id: '5',
32
+ name: 'Available benefits',
33
+ value: (_jsx(URLDisplay, { value: 'https://www.google.com/', displayText: 'View benefits', variant: 'link' }, void 0))
34
+ },
35
+ {
36
+ id: '6',
37
+ name: 'Platinum member',
38
+ value: _jsx(BooleanDisplay, { value: true }, void 0)
39
+ }
40
+ ], regions: [
41
+ _jsx(FieldGroup, { name: 'Personal', children: _jsx(FieldValueList, { fields: [
42
+ { name: 'Home address', value: '12 Higgins Bottom Way, Carnell, NH, 02133' },
43
+ { name: 'Primary phone', value: '(617) 374-9637' },
44
+ {
45
+ name: 'Primary email',
46
+ value: _jsx(Link, { href: 'mailto:joe.smith@example.com', children: "joe.smith@example.com" }, void 0)
47
+ }
48
+ ] }, void 0) }, void 0),
49
+ _jsx(FieldGroup, { name: 'Work', children: _jsx(FieldValueList, { fields: [
50
+ {
51
+ name: 'Work address',
52
+ value: '1 Monolith Business Parkway, Milltown, NH, 02333'
53
+ },
54
+ { name: 'Work phone', value: '(800) 374-2200' },
55
+ {
56
+ name: 'Work email',
57
+ value: _jsx(Link, { href: 'mailto:jane.smith@example.com', children: "jane.smith@example.com" }, void 0)
58
+ }
59
+ ] }, void 0) }, void 0)
60
+ ] }, void 0));
61
+ };
62
+ //# sourceMappingURL=Details.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Details.stories.js","sourceRoot":"","sources":["../../../src/work/Details/Details.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,eAAe,EACf,eAAe,EACf,UAAU,EACV,cAAc,EACd,UAAU,EACV,cAAc,EACd,IAAI,EACL,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,OAAO;CACX,CAAC;AAEV,MAAM,CAAC,MAAM,WAAW,GAAU,GAAG,EAAE;IACrC,OAAO,CACL,KAAC,OAAO,IACN,iBAAiB,EAAE;YACjB;gBACE,EAAE,EAAE,GAAG;gBACP,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,KAAC,eAAe,IAAC,KAAK,EAAC,UAAU,EAAC,eAAe,EAAC,KAAK,WAAG;aAClE;YACD;gBACE,EAAE,EAAE,GAAG;gBACP,IAAI,EAAE,eAAe;gBACrB,KAAK,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E,KAAK,EAAE,gBAAgB,EAAE;wBAC/C;4BACE,IAAI,EAAE,YAAY;4BAClB,KAAK,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,+BAA+B,+CAA8B;yBAChF;qBACF,WACD,WACS;SACd,WACD,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport {\n CurrencyDisplay,\n DateTimeDisplay,\n URLDisplay,\n BooleanDisplay,\n FieldGroup,\n FieldValueList,\n Link\n} from '@pega/cosmos-react-core';\nimport { Details } from '@pega/cosmos-react-work';\n\nexport default {\n title: 'Work/Details',\n component: Details\n} as Meta;\n\nexport const DetailsDemo: Story = () => {\n return (\n <Details\n highlightedFields={[\n {\n id: '1',\n name: 'Statement balance',\n value: <CurrencyDisplay value='1,289.00' currencyISOCode='USD' />\n },\n {\n id: '2',\n name: 'Total balance',\n value: <CurrencyDisplay value='35,667.00' currencyISOCode='USD' />\n },\n {\n id: '3',\n name: 'Available credit',\n value: <CurrencyDisplay value='5,813.00' currencyISOCode='USD' />\n },\n {\n id: '4',\n name: 'Payment due date',\n value: <DateTimeDisplay value={Date.now()} variant='datetime' format='long' />\n },\n {\n id: '5',\n name: 'Available benefits',\n value: (\n <URLDisplay\n value='https://www.google.com/'\n displayText='View benefits'\n variant='link'\n />\n )\n },\n {\n id: '6',\n name: 'Platinum member',\n value: <BooleanDisplay value />\n }\n ]}\n regions={[\n <FieldGroup name='Personal'>\n <FieldValueList\n fields={[\n { name: 'Home address', value: '12 Higgins Bottom Way, Carnell, NH, 02133' },\n { name: 'Primary phone', value: '(617) 374-9637' },\n {\n name: 'Primary email',\n value: <Link href='mailto:joe.smith@example.com'>joe.smith@example.com</Link>\n }\n ]}\n />\n </FieldGroup>,\n <FieldGroup name='Work'>\n <FieldValueList\n fields={[\n {\n name: 'Work address',\n value: '1 Monolith Business Parkway, Milltown, NH, 02333'\n },\n { name: 'Work phone', value: '(800) 374-2200' },\n {\n name: 'Work email',\n value: <Link href='mailto:jane.smith@example.com'>jane.smith@example.com</Link>\n }\n ]}\n />\n </FieldGroup>\n ]}\n />\n );\n};\n"]}
@@ -0,0 +1,10 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ interface GlimpseStoryProps {
5
+ showSecondary?: boolean;
6
+ showVisual?: boolean;
7
+ showFields?: boolean;
8
+ }
9
+ export declare const GlimpseDemo: Story<GlimpseStoryProps>;
10
+ //# sourceMappingURL=Glimpse.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Glimpse.stories.d.ts","sourceRoot":"","sources":["../../../src/work/Glimpse/Glimpse.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAK/C,wBAIU;AAEV,UAAU,iBAAiB;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CA6BhD,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Avatar, EmailDisplay, PhoneDisplay } from '@pega/cosmos-react-core';
3
+ import { Glimpse } from '@pega/cosmos-react-work';
4
+ export default {
5
+ title: 'Work/Glimpse',
6
+ component: Glimpse,
7
+ parameters: { layout: 'centered' }
8
+ };
9
+ export const GlimpseDemo = (args) => {
10
+ const fields = [
11
+ {
12
+ name: 'Project',
13
+ value: 'Cosmos Demo'
14
+ },
15
+ {
16
+ name: 'Phone number',
17
+ value: _jsx(PhoneDisplay, { value: '(111) 111-1111' }, void 0)
18
+ },
19
+ {
20
+ name: 'Email',
21
+ value: _jsx(EmailDisplay, { value: 'turnc@example.com' }, void 0)
22
+ },
23
+ {
24
+ name: 'Reports to',
25
+ value: 'Helen Bush'
26
+ }
27
+ ];
28
+ return (_jsx(Glimpse, { id: 'turnc', primary: 'Cindy Turner', secondary: args.showSecondary ? ['Lead Engineer'] : undefined, visual: args.showVisual ? _jsx(Avatar, { size: 'l', name: 'Cindy Turner' }, void 0) : undefined, fields: args.showFields ? fields : undefined }, void 0));
29
+ };
30
+ GlimpseDemo.args = {
31
+ showSecondary: true,
32
+ showVisual: true,
33
+ showFields: true
34
+ };
35
+ GlimpseDemo.argTypes = {
36
+ showSecondary: { control: { type: 'boolean' } },
37
+ showVisual: { control: { type: 'boolean' } },
38
+ showFields: { control: { type: 'boolean' } }
39
+ };
40
+ //# sourceMappingURL=Glimpse.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Glimpse.stories.js","sourceRoot":"","sources":["../../../src/work/Glimpse/Glimpse.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAuB,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAClG,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,OAAO;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;CAC3B,CAAC;AAQV,MAAM,CAAC,MAAM,WAAW,GAA6B,CAAC,IAAuB,EAAE,EAAE;IAC/E,MAAM,MAAM,GAAkC;QAC5C;YACE,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,aAAa;SACrB;QACD;YACE,IAAI,EAAE,cAAc;YACpB,KAAK,EAAE,KAAC,YAAY,IAAC,KAAK,EAAC,gBAAgB,WAAG;SAC/C;QACD;YACE,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,KAAC,YAAY,IAAC,KAAK,EAAC,mBAAmB,WAAG;SAClD;QACD;YACE,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,YAAY;SACpB;KACF,CAAC;IAEF,OAAO,CACL,KAAC,OAAO,IACN,EAAE,EAAC,OAAO,EACV,OAAO,EAAC,cAAc,EACtB,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,EAC7D,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAC,MAAM,IAAC,IAAI,EAAC,GAAG,EAAC,IAAI,EAAC,cAAc,WAAG,CAAC,CAAC,CAAC,SAAS,EAC7E,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,WAC5C,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,WAAW,CAAC,IAAI,GAAG;IACjB,aAAa,EAAE,IAAI;IACnB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;CACjB,CAAC;AAEF,WAAW,CAAC,QAAQ,GAAG;IACrB,aAAa,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC/C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC5C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC7C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Avatar, EmailDisplay, FieldValueListProps, PhoneDisplay } from '@pega/cosmos-react-core';\nimport { Glimpse } from '@pega/cosmos-react-work';\n\nexport default {\n title: 'Work/Glimpse',\n component: Glimpse,\n parameters: { layout: 'centered' }\n} as Meta;\n\ninterface GlimpseStoryProps {\n showSecondary?: boolean;\n showVisual?: boolean;\n showFields?: boolean;\n}\n\nexport const GlimpseDemo: Story<GlimpseStoryProps> = (args: GlimpseStoryProps) => {\n const fields: FieldValueListProps['fields'] = [\n {\n name: 'Project',\n value: 'Cosmos Demo'\n },\n {\n name: 'Phone number',\n value: <PhoneDisplay value='(111) 111-1111' />\n },\n {\n name: 'Email',\n value: <EmailDisplay value='turnc@example.com' />\n },\n {\n name: 'Reports to',\n value: 'Helen Bush'\n }\n ];\n\n return (\n <Glimpse\n id='turnc'\n primary='Cindy Turner'\n secondary={args.showSecondary ? ['Lead Engineer'] : undefined}\n visual={args.showVisual ? <Avatar size='l' name='Cindy Turner' /> : undefined}\n fields={args.showFields ? fields : undefined}\n />\n );\n};\n\nGlimpseDemo.args = {\n showSecondary: true,\n showVisual: true,\n showFields: true\n};\n\nGlimpseDemo.argTypes = {\n showSecondary: { control: { type: 'boolean' } },\n showVisual: { control: { type: 'boolean' } },\n showFields: { control: { type: 'boolean' } }\n};\n"]}
@@ -0,0 +1,8 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ import { OmitStrict } from '@pega/cosmos-react-core';
3
+ import { SearchResultProps, SearchResultsProps } from '@pega/cosmos-react-work';
4
+ declare type ResultMeta = OmitStrict<SearchResultProps, 'link'>;
5
+ export declare const getInitialResults: (setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>, setPreviewTabId: Dispatch<SetStateAction<string | undefined>>) => SearchResultProps[];
6
+ export declare const initialFilters: SearchResultsProps['filters'];
7
+ export {};
8
+ //# sourceMappingURL=SearchResults.mocks.d.ts.map
@@ -0,0 +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,aAAK,UAAU,GAAG,UAAU,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;AAiBxD,eAAO,MAAM,iBAAiB,eAChB,SAAS,eAAe,UAAU,GAAG,SAAS,CAAC,CAAC,mBAC3C,SAAS,eAAe,MAAM,GAAG,SAAS,CAAC,CAAC,KAC5D,iBAAiB,EA4CnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAAkB,CAAC,SAAS,CAqCxD,CAAC"}
@@ -0,0 +1,97 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Status } from '@pega/cosmos-react-core';
3
+ const description = '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.';
4
+ const getResultLink = (result, setPreview, setPreviewTabId) => {
5
+ return {
6
+ href: `projects/${result.id}`,
7
+ previewable: true,
8
+ onPreview: () => {
9
+ setPreview(result);
10
+ setPreviewTabId(`summary-${result.id}`);
11
+ }
12
+ };
13
+ };
14
+ export const getInitialResults = (setPreview, setPreviewTabId) => {
15
+ return [
16
+ {
17
+ id: 'PROJ-300',
18
+ title: 'The Art of Building Beautiful Demos',
19
+ description,
20
+ meta: ['Completed', 'Low priority', new Date('01/01/21')]
21
+ },
22
+ {
23
+ id: 'PROJ-123',
24
+ title: 'Be Single Minded',
25
+ description,
26
+ meta: ['Blocked', 'Medium priority', new Date('12/31/20')]
27
+ },
28
+ {
29
+ id: 'PROJ-456',
30
+ title: 'Differentiate Yourself and Attract More Attention Sales and Profits',
31
+ description,
32
+ meta: ['Pending', 'High priority', new Date('12/01/20')]
33
+ },
34
+ {
35
+ id: 'PROJ-789',
36
+ title: 'Importance of the Custom Test',
37
+ description,
38
+ meta: ['Completed', 'Medium priority', new Date('01/01/21 08:00:00')]
39
+ },
40
+ {
41
+ id: 'PROJ-100',
42
+ title: 'Improve Your Business Cards and Enhance Your Sales',
43
+ description,
44
+ meta: ['Ready', 'High priority', new Date('12/31/20')]
45
+ },
46
+ {
47
+ id: 'PROJ-200',
48
+ title: 'How to Write Better Advertising',
49
+ description,
50
+ meta: ['Ready', 'Low priority', new Date('12/25/20')]
51
+ }
52
+ ].map(result => {
53
+ return {
54
+ ...result,
55
+ link: getResultLink(result, setPreview, setPreviewTabId)
56
+ };
57
+ });
58
+ };
59
+ export const initialFilters = [
60
+ {
61
+ type: 'select',
62
+ name: 'Status',
63
+ items: [
64
+ {
65
+ id: 'blocked',
66
+ label: _jsx(Status, { variant: 'urgent', children: "Blocked" }, void 0),
67
+ checked: false,
68
+ name: 'Blocked'
69
+ },
70
+ {
71
+ id: 'pending',
72
+ label: _jsx(Status, { variant: 'pending', children: "Pending" }, void 0),
73
+ checked: false,
74
+ name: 'Pending'
75
+ },
76
+ { id: 'ready', label: _jsx(Status, { variant: 'info', children: "Ready" }, void 0), checked: false, name: 'Ready' },
77
+ {
78
+ id: 'completed',
79
+ label: _jsx(Status, { variant: 'success', children: "Completed" }, void 0),
80
+ checked: false,
81
+ name: 'Completed'
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ type: 'select',
87
+ selectType: 'single-select',
88
+ name: 'Last updated',
89
+ items: [
90
+ { id: 'today', label: 'Today', checked: false, name: 'Today' },
91
+ { id: 'yesterday', label: 'Yesterday', checked: false, name: 'Yesterday' },
92
+ { id: '7-days', label: 'Last 7 days', checked: false, name: 'Last 7 days' },
93
+ { id: '30-days', label: 'Last 30 days', checked: false, name: 'Last 30 days' }
94
+ ]
95
+ }
96
+ ];
97
+ //# sourceMappingURL=SearchResults.mocks.js.map
@@ -0,0 +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,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EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,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 getInitialResults = (\n setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>,\n setPreviewTabId: Dispatch<SetStateAction<string | undefined>>\n): SearchResultProps[] => {\n return [\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 ].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"]}
@@ -0,0 +1,8 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ interface SearchResultsStoryProps {
5
+ withAppShell?: boolean;
6
+ }
7
+ export declare const SearchResultsDemo: Story<SearchResultsStoryProps>;
8
+ //# sourceMappingURL=SearchResults.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchResults.stories.d.ts","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAgB/C,wBAMU;AAIV,UAAU,uBAAuB;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,uBAAuB,CA8O5D,CAAC"}
@@ -0,0 +1,192 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useEffect, useState, useMemo } from 'react';
3
+ import { Status, OneColumnPage, Text, Flex } from '@pega/cosmos-react-core';
4
+ import { CasePreview, SearchResults } from '@pega/cosmos-react-work';
5
+ import { AppShellDemo } from '@pega/cosmos-react-demos/lib/core/AppShell/AppShell.stories';
6
+ import { getInitialResults, initialFilters } from './SearchResults.mocks';
7
+ import { ColoredText, StyledSearchResults } from './SearchResults.styles';
8
+ export default {
9
+ title: 'Work/SearchResults',
10
+ component: SearchResults,
11
+ parameters: {
12
+ layout: 'fullscreen'
13
+ }
14
+ };
15
+ export const SearchResultsDemo = (args) => {
16
+ const [preview, setPreview] = useState();
17
+ const [previewTabId, setPreviewTabId] = useState();
18
+ const initialResults = useMemo(() => getInitialResults(setPreview, setPreviewTabId), []);
19
+ const [results, setResults] = useState(initialResults);
20
+ const [filters, setFilters] = useState(initialFilters);
21
+ const [search, setSearch] = useState('');
22
+ const [limit, setLimit] = useState(2);
23
+ useEffect(() => {
24
+ const activeFilters = filters.flatMap(group => {
25
+ if (group.type === 'select') {
26
+ return group.items.flatMap(item => {
27
+ if (item.checked) {
28
+ return {
29
+ id: item.id,
30
+ name: item.name,
31
+ groupName: group.name
32
+ };
33
+ }
34
+ return [];
35
+ });
36
+ }
37
+ return [];
38
+ });
39
+ if (activeFilters.length > 0 || search !== '') {
40
+ setResults(() => {
41
+ const filteredResults = initialResults.filter(result => {
42
+ const statusFilterActive = activeFilters.findIndex(x => x.groupName === 'Status') !== -1;
43
+ const lastUpdatedFilterActive = activeFilters.findIndex(x => x.groupName === 'Last updated') !== -1;
44
+ let matchesStatusFilter = !statusFilterActive;
45
+ let matchesLastUpdatedFilter = !lastUpdatedFilterActive;
46
+ activeFilters.forEach(filter => {
47
+ result.meta?.forEach(tag => {
48
+ if (tag) {
49
+ if (!matchesStatusFilter && filter.groupName === 'Status' && tag === filter.name) {
50
+ matchesStatusFilter = true;
51
+ }
52
+ if (!matchesLastUpdatedFilter &&
53
+ filter.groupName === 'Last updated' &&
54
+ typeof tag === 'string' &&
55
+ ((filter.name === 'Today' && Date.parse(tag) >= Date.parse('01/01/21')) ||
56
+ (filter.name === 'Yesterday' && Date.parse(tag) >= Date.parse('12/31/20')) ||
57
+ (filter.name === 'Last 7 days' && Date.parse(tag) >= Date.parse('12/25/20')) ||
58
+ (filter.name === 'Last 30 days' && Date.parse(tag) >= Date.parse('12/01/20')))) {
59
+ matchesLastUpdatedFilter = true;
60
+ }
61
+ }
62
+ });
63
+ });
64
+ return matchesStatusFilter && matchesLastUpdatedFilter;
65
+ });
66
+ return filteredResults.filter(result => {
67
+ if (result &&
68
+ (result.description?.toLowerCase().includes(search.toLowerCase()) ||
69
+ result.title.toLowerCase().includes(search.toLowerCase()) ||
70
+ result.id.toLowerCase().includes(search.toLowerCase()))) {
71
+ return true;
72
+ }
73
+ return false;
74
+ });
75
+ });
76
+ }
77
+ else {
78
+ setResults([]);
79
+ }
80
+ }, [search, filters]);
81
+ const handleFilterChange = (changeEvent) => {
82
+ setFilters(curr => {
83
+ return curr.map(filter => {
84
+ const newFilter = { ...filter };
85
+ if (newFilter.name === changeEvent.name &&
86
+ changeEvent.type === 'select' &&
87
+ newFilter.type === 'select') {
88
+ newFilter.items = newFilter.items.map(item => {
89
+ const newItem = { ...item };
90
+ if (item.id === changeEvent.value.id)
91
+ newItem.checked = changeEvent.value.checked;
92
+ else if (newFilter.selectType === 'single-select')
93
+ newItem.checked = false;
94
+ return newItem;
95
+ });
96
+ }
97
+ return newFilter;
98
+ });
99
+ });
100
+ };
101
+ const clearAllFilters = () => {
102
+ setFilters(curr => {
103
+ return curr.map(filter => {
104
+ if (filter.type === 'select') {
105
+ filter.items = filter.items.map(item => {
106
+ item.checked = false;
107
+ return item;
108
+ });
109
+ }
110
+ return filter;
111
+ });
112
+ });
113
+ };
114
+ const handleClearFilter = (filterName) => {
115
+ setFilters(curr => {
116
+ return curr.map(filter => {
117
+ if (filter.name === filterName && filter.type === 'select') {
118
+ filter.items = filter.items.map(item => {
119
+ item.checked = false;
120
+ return item;
121
+ });
122
+ }
123
+ return filter;
124
+ });
125
+ });
126
+ };
127
+ const handleShowMore = () => {
128
+ if (limit < results.length)
129
+ setLimit(curr => curr + 2);
130
+ };
131
+ const renderForDisplay = (resultsToDisplay) => {
132
+ return resultsToDisplay.map(result => {
133
+ if (result.meta) {
134
+ const metaValues = [...result.meta];
135
+ const renderedMeta = metaValues.map(item => {
136
+ if (!Number.isNaN(Date.parse(item))) {
137
+ if (Date.parse(item) >= Date.parse('12/01/20') &&
138
+ Date.parse(item) < Date.parse('12/25/20'))
139
+ return 'Updated 1 month ago';
140
+ if (Date.parse(item) >= Date.parse('12/25/20') &&
141
+ Date.parse(item) < Date.parse('12/31/20'))
142
+ return 'Updated 1 week ago';
143
+ if (Date.parse(item) >= Date.parse('12/31/20') &&
144
+ Date.parse(item) < Date.parse('01/01/21'))
145
+ return 'Updated yesterday';
146
+ if (Date.parse(item) >= Date.parse('01/01/21') &&
147
+ Date.parse(item) < Date.parse('01/01/21 07:00:00'))
148
+ return 'Updated today';
149
+ return 'Updated just now';
150
+ }
151
+ switch (item) {
152
+ case 'Completed':
153
+ return _jsx(Status, { variant: 'success', children: "Completed" }, void 0);
154
+ case 'Ready':
155
+ return _jsx(Status, { variant: 'info', children: "Ready" }, void 0);
156
+ case 'Pending':
157
+ return _jsx(Status, { variant: 'pending', children: "Pending" }, void 0);
158
+ case 'Blocked':
159
+ return _jsx(Status, { variant: 'urgent', children: "Blocked" }, void 0);
160
+ case 'Low priority':
161
+ return _jsx(Text, { variant: 'secondary', children: "Low priority" }, void 0);
162
+ case 'Medium priority':
163
+ return (_jsx(Text, { as: ColoredText, colorVariant: 'warn', variant: 'secondary', children: "Medium priority" }, void 0));
164
+ case 'High priority':
165
+ return (_jsx(Text, { as: ColoredText, colorVariant: 'urgent', variant: 'secondary', children: "High priority" }, void 0));
166
+ default:
167
+ return item;
168
+ }
169
+ });
170
+ return { ...result, meta: renderedMeta };
171
+ }
172
+ return result;
173
+ });
174
+ };
175
+ const searchResults = (_jsxs(_Fragment, { children: [_jsx(OneColumnPage, { as: StyledSearchResults, title: 'Search results', a: _jsx(SearchResults, { results: limit < results.length
176
+ ? renderForDisplay(results.slice(0, limit))
177
+ : renderForDisplay(results), searchInputProps: { value: search, onSearchChange: setSearch }, count: results.length, filters: filters, onFilterChange: handleFilterChange, onClearAllFilters: clearAllFilters, onClearFilter: handleClearFilter, onShowMore: limit < results.length ? handleShowMore : undefined }, void 0) }, void 0), _jsx(CasePreview, { open: !!preview, caseId: preview?.id || '', heading: preview?.title || '', tabs: {
178
+ items: [],
179
+ currentTabId: previewTabId || '',
180
+ onClick: (id) => setPreviewTabId(id)
181
+ }, followed: true, summary: preview && _jsx(Flex, { container: { pad: 2 }, children: preview.description }, void 0), onBeforeClose: () => {
182
+ setPreview(undefined);
183
+ } }, void 0)] }, void 0));
184
+ return args.withAppShell ? _jsx(AppShellDemo, { appHeader: true, main: searchResults }, void 0) : searchResults;
185
+ };
186
+ SearchResultsDemo.args = {
187
+ withAppShell: false
188
+ };
189
+ SearchResultsDemo.argTypes = {
190
+ withAppShell: { control: { type: 'boolean' } }
191
+ };
192
+ //# sourceMappingURL=SearchResults.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchResults.stories.js","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,MAAM,EAAc,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;A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AI,EAAE,EAC7B,IAAI,EAAE;oBACJ,KAAK,EAAE,EAAE;oBACT,YAAY,EAAE,YAAY,IAAI,EAAE;oBAChC,OAAO,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;iBAC7C,EACD,QAAQ,QACR,OAAO,EAAE,OAAO,IAAI,KAAC,IAAI,IAAC,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,YAAG,OAAO,CAAC,WAAW,WAAQ,EAC7E,aAAa,EAAE,GAAG,EAAE;oBAClB,UAAU,CAAC,SAAS,CAAC,CAAC;gBACxB,CAAC,WACD,YACD,CACJ,CAAC;IAEF,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,KAAC,YAAY,IAAC,SAAS,QAAC,IAAI,EAAE,aAAa,WAAI,CAAC,CAAC,CAAC,aAAa,CAAC;AAC7F,CAAC,CAAC;AAEF,iBAAiB,CAAC,IAAI,GAAG;IACvB,YAAY,EAAE,KAAK;CACpB,CAAC;AAEF,iBAAiB,CAAC,QAAQ,GAAG;IAC3B,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC/C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { useEffect, useState, useMemo } from 'react';\n\nimport { Status, OmitStrict, OneColumnPage, Text, Flex } from '@pega/cosmos-react-core';\nimport {\n CasePreview,\n SearchResults,\n SearchResultsProps,\n FilterEvent,\n SearchResultProps\n} from '@pega/cosmos-react-work';\nimport { AppShellDemo } from '@pega/cosmos-react-demos/lib/core/AppShell/AppShell.stories';\n\nimport { getInitialResults, initialFilters } from './SearchResults.mocks';\nimport { ColoredText, StyledSearchResults } from './SearchResults.styles';\n\nexport default {\n title: 'Work/SearchResults',\n component: SearchResults,\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ntype ResultMeta = OmitStrict<SearchResultProps, 'link'>;\n\ninterface SearchResultsStoryProps {\n withAppShell?: boolean;\n}\n\nexport const SearchResultsDemo: Story<SearchResultsStoryProps> = (\n args: SearchResultsStoryProps\n) => {\n const [preview, setPreview] = useState<undefined | ResultMeta>();\n const [previewTabId, setPreviewTabId] = useState<undefined | string>();\n const initialResults = useMemo(() => getInitialResults(setPreview, setPreviewTabId), []);\n const [results, setResults] = useState(initialResults);\n const [filters, setFilters] = useState(initialFilters);\n const [search, setSearch] = useState('');\n const [limit, setLimit] = useState(2);\n\n useEffect(() => {\n const activeFilters = filters.flatMap(group => {\n if (group.type === 'select') {\n return group.items.flatMap(item => {\n if (item.checked) {\n return {\n id: item.id,\n name: item.name,\n groupName: group.name\n };\n }\n return [];\n });\n }\n return [];\n });\n\n if (activeFilters.length > 0 || search !== '') {\n setResults(() => {\n const filteredResults = initialResults.filter(result => {\n const statusFilterActive = activeFilters.findIndex(x => x.groupName === 'Status') !== -1;\n const lastUpdatedFilterActive =\n activeFilters.findIndex(x => x.groupName === 'Last updated') !== -1;\n\n let matchesStatusFilter = !statusFilterActive;\n let matchesLastUpdatedFilter = !lastUpdatedFilterActive;\n\n activeFilters.forEach(filter => {\n result.meta?.forEach(tag => {\n if (tag) {\n if (!matchesStatusFilter && filter.groupName === 'Status' && tag === filter.name) {\n matchesStatusFilter = true;\n }\n if (\n !matchesLastUpdatedFilter &&\n filter.groupName === 'Last updated' &&\n typeof tag === 'string' &&\n ((filter.name === 'Today' && Date.parse(tag) >= Date.parse('01/01/21')) ||\n (filter.name === 'Yesterday' && Date.parse(tag) >= Date.parse('12/31/20')) ||\n (filter.name === 'Last 7 days' && Date.parse(tag) >= Date.parse('12/25/20')) ||\n (filter.name === 'Last 30 days' && Date.parse(tag) >= Date.parse('12/01/20')))\n ) {\n matchesLastUpdatedFilter = true;\n }\n }\n });\n });\n\n return matchesStatusFilter && matchesLastUpdatedFilter;\n });\n\n return filteredResults.filter(result => {\n if (\n result &&\n (result.description?.toLowerCase().includes(search.toLowerCase()) ||\n result.title.toLowerCase().includes(search.toLowerCase()) ||\n result.id.toLowerCase().includes(search.toLowerCase()))\n ) {\n return true;\n }\n\n return false;\n });\n });\n } else {\n setResults([]);\n }\n }, [search, filters]);\n\n const handleFilterChange = (changeEvent: FilterEvent) => {\n setFilters(curr => {\n return curr.map(filter => {\n const newFilter = { ...filter };\n if (\n newFilter.name === changeEvent.name &&\n changeEvent.type === 'select' &&\n newFilter.type === 'select'\n ) {\n newFilter.items = newFilter.items.map(item => {\n const newItem = { ...item };\n if (item.id === changeEvent.value.id) newItem.checked = changeEvent.value.checked;\n else if (newFilter.selectType === 'single-select') newItem.checked = false;\n return newItem;\n });\n }\n return newFilter;\n });\n });\n };\n\n const clearAllFilters = () => {\n setFilters(curr => {\n return curr.map(filter => {\n if (filter.type === 'select') {\n filter.items = filter.items.map(item => {\n item.checked = false;\n return item;\n });\n }\n return filter;\n });\n });\n };\n\n const handleClearFilter = (filterName: string) => {\n setFilters(curr => {\n return curr.map(filter => {\n if (filter.name === filterName && filter.type === 'select') {\n filter.items = filter.items.map(item => {\n item.checked = false;\n return item;\n });\n }\n return filter;\n });\n });\n };\n\n const handleShowMore = () => {\n if (limit < results.length) setLimit(curr => curr + 2);\n };\n\n const renderForDisplay = (\n resultsToDisplay: SearchResultsProps['results']\n ): SearchResultsProps['results'] => {\n return resultsToDisplay.map(result => {\n if (result.meta) {\n const metaValues = [...result.meta];\n const renderedMeta = metaValues.map(item => {\n if (!Number.isNaN(Date.parse(item as string))) {\n if (\n Date.parse(item as string) >= Date.parse('12/01/20') &&\n Date.parse(item as string) < Date.parse('12/25/20')\n )\n return 'Updated 1 month ago';\n if (\n Date.parse(item as string) >= Date.parse('12/25/20') &&\n Date.parse(item as string) < Date.parse('12/31/20')\n )\n return 'Updated 1 week ago';\n if (\n Date.parse(item as string) >= Date.parse('12/31/20') &&\n Date.parse(item as string) < Date.parse('01/01/21')\n )\n return 'Updated yesterday';\n if (\n Date.parse(item as string) >= Date.parse('01/01/21') &&\n Date.parse(item as string) < Date.parse('01/01/21 07:00:00')\n )\n return 'Updated today';\n return 'Updated just now';\n }\n switch (item) {\n case 'Completed':\n return <Status variant='success'>Completed</Status>;\n case 'Ready':\n return <Status variant='info'>Ready</Status>;\n case 'Pending':\n return <Status variant='pending'>Pending</Status>;\n case 'Blocked':\n return <Status variant='urgent'>Blocked</Status>;\n case 'Low priority':\n return <Text variant='secondary'>Low priority</Text>;\n case 'Medium priority':\n return (\n <Text as={ColoredText} colorVariant='warn' variant='secondary'>\n Medium priority\n </Text>\n );\n case 'High priority':\n return (\n <Text as={ColoredText} colorVariant='urgent' variant='secondary'>\n High priority\n </Text>\n );\n default:\n return item;\n }\n });\n return { ...result, meta: renderedMeta };\n }\n return result;\n });\n };\n\n const searchResults = (\n <>\n <OneColumnPage\n as={StyledSearchResults}\n title='Search results'\n a={\n <SearchResults\n results={\n limit < results.length\n ? renderForDisplay(results.slice(0, limit))\n : renderForDisplay(results)\n }\n searchInputProps={{ value: search, onSearchChange: setSearch }}\n count={results.length}\n filters={filters}\n onFilterChange={handleFilterChange}\n onClearAllFilters={clearAllFilters}\n onClearFilter={handleClearFilter}\n onShowMore={limit < results.length ? handleShowMore : undefined}\n />\n }\n />\n\n <CasePreview\n open={!!preview}\n caseId={preview?.id || ''}\n heading={preview?.title || ''}\n tabs={{\n items: [],\n currentTabId: previewTabId || '',\n onClick: (id: string) => setPreviewTabId(id)\n }}\n followed\n summary={preview && <Flex container={{ pad: 2 }}>{preview.description}</Flex>}\n onBeforeClose={() => {\n setPreview(undefined);\n }}\n />\n </>\n );\n\n return args.withAppShell ? <AppShellDemo appHeader main={searchResults} /> : searchResults;\n};\n\nSearchResultsDemo.args = {\n withAppShell: false\n};\n\nSearchResultsDemo.argTypes = {\n withAppShell: { control: { type: 'boolean' } }\n};\n"]}
@@ -0,0 +1,5 @@
1
+ export declare const StyledSearchResults: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const ColoredText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
3
+ colorVariant: 'warn' | 'urgent';
4
+ }, never>;
5
+ //# sourceMappingURL=SearchResults.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchResults.styles.d.ts","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,yGAE/B,CAAC;AAEF,eAAO,MAAM,WAAW;kBAA+B,MAAM,GAAG,QAAQ;SAWvE,CAAC"}
@@ -0,0 +1,12 @@
1
+ import styled, { css } from 'styled-components';
2
+ import { defaultThemeProp } from '@pega/cosmos-react-core';
3
+ export const StyledSearchResults = styled.div `
4
+ height: 100vh;
5
+ `;
6
+ export const ColoredText = styled.span(({ colorVariant, theme: { base: { palette } } }) => {
7
+ return css `
8
+ color: ${palette[colorVariant]};
9
+ `;
10
+ });
11
+ ColoredText.defaultProps = defaultThemeProp;
12
+ //# sourceMappingURL=SearchResults.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchResults.styles.js","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAA;;CAE5C,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CACpC,CAAC,EACC,YAAY,EACZ,KAAK,EAAE,EACL,IAAI,EAAE,EAAE,OAAO,EAAE,EAClB,EACF,EAAE,EAAE;IACH,OAAO,GAAG,CAAA;eACC,OAAO,CAAC,YAAY,CAAC;KAC/B,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,WAAW,CAAC,YAAY,GAAG,gBAAgB,CAAC","sourcesContent":["import styled, { css } from 'styled-components';\n\nimport { defaultThemeProp } from '@pega/cosmos-react-core';\n\nexport const StyledSearchResults = styled.div`\n height: 100vh;\n`;\n\nexport const ColoredText = styled.span<{ colorVariant: 'warn' | 'urgent' }>(\n ({\n colorVariant,\n theme: {\n base: { palette }\n }\n }) => {\n return css`\n color: ${palette[colorVariant]};\n `;\n }\n);\n\nColoredText.defaultProps = defaultThemeProp;\n"]}
@@ -0,0 +1,11 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import { StagesProps } from '@pega/cosmos-react-work';
3
+ declare const _default: Meta<import("@storybook/react").Args>;
4
+ export default _default;
5
+ interface StagesStoryProps {
6
+ caseTitle?: StagesProps['caseTitle'];
7
+ numberOfStages?: number;
8
+ currentStage?: number;
9
+ }
10
+ export declare const StagesDemo: Story<StagesStoryProps>;
11
+ //# sourceMappingURL=Stages.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Stages.stories.d.ts","sourceRoot":"","sources":["../../../src/work/Stages/Stages.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAAU,WAAW,EAAE,MAAM,yBAAyB,CAAC;;AAE9D,wBAMU;AAEV,UAAU,gBAAgB;IACxB,SAAS,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACrC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAsD9C,CAAC"}