@pega/cosmos-react-demos 7.11.3 → 7.11.4-10

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 (949) hide show
  1. package/package.json +7 -7
  2. package/jsx/build/DynamicInput/DynamicInput.mocks.d.ts +0 -22
  3. package/jsx/build/DynamicInput/DynamicInput.mocks.d.ts.map +0 -1
  4. package/jsx/build/DynamicInput/DynamicInput.mocks.js +0 -75
  5. package/jsx/build/DynamicInput/DynamicInput.mocks.js.map +0 -1
  6. package/jsx/build/DynamicInput/DynamicInput.stories.d.ts +0 -12
  7. package/jsx/build/DynamicInput/DynamicInput.stories.d.ts.map +0 -1
  8. package/jsx/build/DynamicInput/DynamicInput.stories.jsx +0 -326
  9. package/jsx/build/DynamicInput/DynamicInput.stories.jsx.map +0 -1
  10. package/jsx/build/FieldReference/FieldReference.mocks.d.ts +0 -22
  11. package/jsx/build/FieldReference/FieldReference.mocks.d.ts.map +0 -1
  12. package/jsx/build/FieldReference/FieldReference.mocks.js +0 -727
  13. package/jsx/build/FieldReference/FieldReference.mocks.js.map +0 -1
  14. package/jsx/build/FieldReference/FieldReference.stories.d.ts +0 -30
  15. package/jsx/build/FieldReference/FieldReference.stories.d.ts.map +0 -1
  16. package/jsx/build/FieldReference/FieldReference.stories.jsx +0 -164
  17. package/jsx/build/FieldReference/FieldReference.stories.jsx.map +0 -1
  18. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +0 -3
  19. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +0 -1
  20. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +0 -15
  21. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +0 -1
  22. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +0 -19
  23. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +0 -1
  24. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +0 -297
  25. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +0 -1
  26. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +0 -5
  27. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +0 -1
  28. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +0 -15
  29. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +0 -1
  30. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts +0 -6
  31. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +0 -1
  32. package/jsx/condition-builder/ConditionBuilder/props.mock.js +0 -230
  33. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +0 -1
  34. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts +0 -10
  35. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +0 -1
  36. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx +0 -40
  37. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx.map +0 -1
  38. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +0 -4
  39. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +0 -1
  40. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js +0 -233
  41. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +0 -1
  42. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +0 -8
  43. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +0 -1
  44. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx +0 -31
  45. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx.map +0 -1
  46. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +0 -9
  47. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +0 -1
  48. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js +0 -35
  49. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js.map +0 -1
  50. package/jsx/core/AIButton/AIButton.mocks.d.ts +0 -22
  51. package/jsx/core/AIButton/AIButton.mocks.d.ts.map +0 -1
  52. package/jsx/core/AIButton/AIButton.mocks.js +0 -136
  53. package/jsx/core/AIButton/AIButton.mocks.js.map +0 -1
  54. package/jsx/core/AIButton/AIButton.stories.d.ts +0 -23
  55. package/jsx/core/AIButton/AIButton.stories.d.ts.map +0 -1
  56. package/jsx/core/AIButton/AIButton.stories.jsx +0 -318
  57. package/jsx/core/AIButton/AIButton.stories.jsx.map +0 -1
  58. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +0 -9
  59. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +0 -1
  60. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx +0 -25
  61. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +0 -1
  62. package/jsx/core/AppShell/AppShell.mocks.d.ts +0 -30
  63. package/jsx/core/AppShell/AppShell.mocks.d.ts.map +0 -1
  64. package/jsx/core/AppShell/AppShell.mocks.jsx +0 -169
  65. package/jsx/core/AppShell/AppShell.mocks.jsx.map +0 -1
  66. package/jsx/core/AppShell/AppShell.stories.d.ts +0 -40
  67. package/jsx/core/AppShell/AppShell.stories.d.ts.map +0 -1
  68. package/jsx/core/AppShell/AppShell.stories.jsx +0 -268
  69. package/jsx/core/AppShell/AppShell.stories.jsx.map +0 -1
  70. package/jsx/core/AppShell/AppShell.styles.d.ts +0 -2
  71. package/jsx/core/AppShell/AppShell.styles.d.ts.map +0 -1
  72. package/jsx/core/AppShell/AppShell.styles.js +0 -5
  73. package/jsx/core/AppShell/AppShell.styles.js.map +0 -1
  74. package/jsx/core/Avatar/Avatar.stories.d.ts +0 -15
  75. package/jsx/core/Avatar/Avatar.stories.d.ts.map +0 -1
  76. package/jsx/core/Avatar/Avatar.stories.jsx +0 -75
  77. package/jsx/core/Avatar/Avatar.stories.jsx.map +0 -1
  78. package/jsx/core/Backdrop/Backdrop.stories.d.ts +0 -7
  79. package/jsx/core/Backdrop/Backdrop.stories.d.ts.map +0 -1
  80. package/jsx/core/Backdrop/Backdrop.stories.jsx +0 -43
  81. package/jsx/core/Backdrop/Backdrop.stories.jsx.map +0 -1
  82. package/jsx/core/Badges/Alert.stories.d.ts +0 -6
  83. package/jsx/core/Badges/Alert.stories.d.ts.map +0 -1
  84. package/jsx/core/Badges/Alert.stories.jsx +0 -15
  85. package/jsx/core/Badges/Alert.stories.jsx.map +0 -1
  86. package/jsx/core/Badges/Count.stories.d.ts +0 -6
  87. package/jsx/core/Badges/Count.stories.d.ts.map +0 -1
  88. package/jsx/core/Badges/Count.stories.jsx +0 -20
  89. package/jsx/core/Badges/Count.stories.jsx.map +0 -1
  90. package/jsx/core/Badges/Keyboard.stories.d.ts +0 -6
  91. package/jsx/core/Badges/Keyboard.stories.d.ts.map +0 -1
  92. package/jsx/core/Badges/Keyboard.stories.jsx +0 -17
  93. package/jsx/core/Badges/Keyboard.stories.jsx.map +0 -1
  94. package/jsx/core/Badges/Selection.stories.d.ts +0 -5
  95. package/jsx/core/Badges/Selection.stories.d.ts.map +0 -1
  96. package/jsx/core/Badges/Selection.stories.jsx +0 -9
  97. package/jsx/core/Badges/Selection.stories.jsx.map +0 -1
  98. package/jsx/core/Badges/Status.stories.d.ts +0 -11
  99. package/jsx/core/Badges/Status.stories.d.ts.map +0 -1
  100. package/jsx/core/Badges/Status.stories.jsx +0 -43
  101. package/jsx/core/Badges/Status.stories.jsx.map +0 -1
  102. package/jsx/core/Badges/Tag.stories.d.ts +0 -5
  103. package/jsx/core/Badges/Tag.stories.d.ts.map +0 -1
  104. package/jsx/core/Badges/Tag.stories.jsx +0 -9
  105. package/jsx/core/Badges/Tag.stories.jsx.map +0 -1
  106. package/jsx/core/Banner/Banner.mocks.d.ts +0 -18
  107. package/jsx/core/Banner/Banner.mocks.d.ts.map +0 -1
  108. package/jsx/core/Banner/Banner.mocks.jsx +0 -41
  109. package/jsx/core/Banner/Banner.mocks.jsx.map +0 -1
  110. package/jsx/core/Banner/Banner.stories.d.ts +0 -18
  111. package/jsx/core/Banner/Banner.stories.d.ts.map +0 -1
  112. package/jsx/core/Banner/Banner.stories.jsx +0 -156
  113. package/jsx/core/Banner/Banner.stories.jsx.map +0 -1
  114. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts +0 -6
  115. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts.map +0 -1
  116. package/jsx/core/Boolean/BooleanDisplay.stories.jsx +0 -19
  117. package/jsx/core/Boolean/BooleanDisplay.stories.jsx.map +0 -1
  118. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +0 -2
  119. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +0 -1
  120. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js +0 -8
  121. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js.map +0 -1
  122. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -11
  123. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
  124. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +0 -69
  125. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +0 -1
  126. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
  127. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts.map +0 -1
  128. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js +0 -12
  129. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js.map +0 -1
  130. package/jsx/core/Button/Button.stories.d.ts +0 -18
  131. package/jsx/core/Button/Button.stories.d.ts.map +0 -1
  132. package/jsx/core/Button/Button.stories.jsx +0 -119
  133. package/jsx/core/Button/Button.stories.jsx.map +0 -1
  134. package/jsx/core/Card/Card.stories.d.ts +0 -12
  135. package/jsx/core/Card/Card.stories.d.ts.map +0 -1
  136. package/jsx/core/Card/Card.stories.jsx +0 -85
  137. package/jsx/core/Card/Card.stories.jsx.map +0 -1
  138. package/jsx/core/Card/Card.styles.d.ts +0 -2
  139. package/jsx/core/Card/Card.styles.d.ts.map +0 -1
  140. package/jsx/core/Card/Card.styles.js +0 -5
  141. package/jsx/core/Card/Card.styles.js.map +0 -1
  142. package/jsx/core/Checkbox/Checkbox.stories.d.ts +0 -23
  143. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +0 -1
  144. package/jsx/core/Checkbox/Checkbox.stories.jsx +0 -104
  145. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +0 -1
  146. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +0 -11
  147. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +0 -1
  148. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +0 -103
  149. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +0 -1
  150. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts +0 -4
  151. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +0 -1
  152. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js +0 -9
  153. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js.map +0 -1
  154. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +0 -10
  155. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +0 -1
  156. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +0 -89
  157. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +0 -1
  158. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts +0 -4
  159. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts.map +0 -1
  160. package/jsx/core/ColorPicker/ColorPicker.styles.js +0 -10
  161. package/jsx/core/ColorPicker/ColorPicker.styles.js.map +0 -1
  162. package/jsx/core/ComboBox/ComboBox.mocks.d.ts +0 -26
  163. package/jsx/core/ComboBox/ComboBox.mocks.d.ts.map +0 -1
  164. package/jsx/core/ComboBox/ComboBox.mocks.jsx +0 -58
  165. package/jsx/core/ComboBox/ComboBox.mocks.jsx.map +0 -1
  166. package/jsx/core/ComboBox/ComboBox.stories.d.ts +0 -25
  167. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +0 -1
  168. package/jsx/core/ComboBox/ComboBox.stories.jsx +0 -418
  169. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +0 -1
  170. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts +0 -8
  171. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts.map +0 -1
  172. package/jsx/core/CompositeInput/CompositeInput.mocks.jsx +0 -8
  173. package/jsx/core/CompositeInput/CompositeInput.mocks.jsx.map +0 -1
  174. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts +0 -9
  175. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +0 -1
  176. package/jsx/core/CompositeInput/CompositeInput.stories.jsx +0 -52
  177. package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +0 -1
  178. package/jsx/core/Configuration/Configuration.mocks.d.ts +0 -7
  179. package/jsx/core/Configuration/Configuration.mocks.d.ts.map +0 -1
  180. package/jsx/core/Configuration/Configuration.mocks.jsx +0 -9
  181. package/jsx/core/Configuration/Configuration.mocks.jsx.map +0 -1
  182. package/jsx/core/Configuration/Configuration.stories.d.ts +0 -25
  183. package/jsx/core/Configuration/Configuration.stories.d.ts.map +0 -1
  184. package/jsx/core/Configuration/Configuration.stories.jsx +0 -196
  185. package/jsx/core/Configuration/Configuration.stories.jsx.map +0 -1
  186. package/jsx/core/Configuration/Configuration.styles.d.ts +0 -6
  187. package/jsx/core/Configuration/Configuration.styles.d.ts.map +0 -1
  188. package/jsx/core/Configuration/Configuration.styles.js +0 -12
  189. package/jsx/core/Configuration/Configuration.styles.js.map +0 -1
  190. package/jsx/core/CreditCard/CreditCard.stories.d.ts +0 -14
  191. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +0 -1
  192. package/jsx/core/CreditCard/CreditCard.stories.jsx +0 -50
  193. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +0 -1
  194. package/jsx/core/Currency/Currency.stories.d.ts +0 -19
  195. package/jsx/core/Currency/Currency.stories.d.ts.map +0 -1
  196. package/jsx/core/Currency/Currency.stories.jsx +0 -105
  197. package/jsx/core/Currency/Currency.stories.jsx.map +0 -1
  198. package/jsx/core/DangerButton/DangerButton.stories.d.ts +0 -6
  199. package/jsx/core/DangerButton/DangerButton.stories.d.ts.map +0 -1
  200. package/jsx/core/DangerButton/DangerButton.stories.jsx +0 -17
  201. package/jsx/core/DangerButton/DangerButton.stories.jsx.map +0 -1
  202. package/jsx/core/DateTime/DateTime.stories.d.ts +0 -54
  203. package/jsx/core/DateTime/DateTime.stories.d.ts.map +0 -1
  204. package/jsx/core/DateTime/DateTime.stories.jsx +0 -292
  205. package/jsx/core/DateTime/DateTime.stories.jsx.map +0 -1
  206. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts +0 -7
  207. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +0 -1
  208. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +0 -54
  209. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +0 -1
  210. package/jsx/core/DateTime/DateTimePicker.stories.d.ts +0 -7
  211. package/jsx/core/DateTime/DateTimePicker.stories.d.ts.map +0 -1
  212. package/jsx/core/DateTime/DateTimePicker.stories.jsx +0 -34
  213. package/jsx/core/DateTime/DateTimePicker.stories.jsx.map +0 -1
  214. package/jsx/core/Dialog/Dialog.stories.d.ts +0 -7
  215. package/jsx/core/Dialog/Dialog.stories.d.ts.map +0 -1
  216. package/jsx/core/Dialog/Dialog.stories.jsx +0 -15
  217. package/jsx/core/Dialog/Dialog.stories.jsx.map +0 -1
  218. package/jsx/core/Dialog/FormDialog.mocks.d.ts +0 -27
  219. package/jsx/core/Dialog/FormDialog.mocks.d.ts.map +0 -1
  220. package/jsx/core/Dialog/FormDialog.mocks.jsx +0 -194
  221. package/jsx/core/Dialog/FormDialog.mocks.jsx.map +0 -1
  222. package/jsx/core/Dialog/InfoDialog.mocks.d.ts +0 -4
  223. package/jsx/core/Dialog/InfoDialog.mocks.d.ts.map +0 -1
  224. package/jsx/core/Dialog/InfoDialog.mocks.jsx +0 -64
  225. package/jsx/core/Dialog/InfoDialog.mocks.jsx.map +0 -1
  226. package/jsx/core/Drawer/Drawer.stories.d.ts +0 -7
  227. package/jsx/core/Drawer/Drawer.stories.d.ts.map +0 -1
  228. package/jsx/core/Drawer/Drawer.stories.jsx +0 -98
  229. package/jsx/core/Drawer/Drawer.stories.jsx.map +0 -1
  230. package/jsx/core/Drawer/Drawer.styles.d.ts +0 -2
  231. package/jsx/core/Drawer/Drawer.styles.d.ts.map +0 -1
  232. package/jsx/core/Drawer/Drawer.styles.js +0 -11
  233. package/jsx/core/Drawer/Drawer.styles.js.map +0 -1
  234. package/jsx/core/Email/EmailDisplay.stories.d.ts +0 -6
  235. package/jsx/core/Email/EmailDisplay.stories.d.ts.map +0 -1
  236. package/jsx/core/Email/EmailDisplay.stories.jsx +0 -19
  237. package/jsx/core/Email/EmailDisplay.stories.jsx.map +0 -1
  238. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts +0 -8
  239. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts.map +0 -1
  240. package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx +0 -53
  241. package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx.map +0 -1
  242. package/jsx/core/EmptyState/EmptyState.stories.d.ts +0 -6
  243. package/jsx/core/EmptyState/EmptyState.stories.d.ts.map +0 -1
  244. package/jsx/core/EmptyState/EmptyState.stories.jsx +0 -18
  245. package/jsx/core/EmptyState/EmptyState.stories.jsx.map +0 -1
  246. package/jsx/core/ErrorState/ErrorState.stories.d.ts +0 -9
  247. package/jsx/core/ErrorState/ErrorState.stories.d.ts.map +0 -1
  248. package/jsx/core/ErrorState/ErrorState.stories.jsx +0 -20
  249. package/jsx/core/ErrorState/ErrorState.stories.jsx.map +0 -1
  250. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts +0 -7
  251. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +0 -1
  252. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx +0 -73
  253. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx.map +0 -1
  254. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts +0 -4
  255. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts.map +0 -1
  256. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js +0 -17
  257. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js.map +0 -1
  258. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +0 -20
  259. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +0 -1
  260. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +0 -94
  261. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +0 -1
  262. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +0 -25
  263. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +0 -1
  264. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +0 -109
  265. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +0 -1
  266. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +0 -13
  267. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +0 -1
  268. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +0 -136
  269. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +0 -1
  270. package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts +0 -20
  271. package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts.map +0 -1
  272. package/jsx/core/FieldValueList/FieldValueList.mocks.jsx +0 -54
  273. package/jsx/core/FieldValueList/FieldValueList.mocks.jsx.map +0 -1
  274. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +0 -11
  275. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +0 -1
  276. package/jsx/core/FieldValueList/FieldValueList.stories.jsx +0 -37
  277. package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +0 -1
  278. package/jsx/core/FieldValueList/FieldValueList.styles.d.ts +0 -2
  279. package/jsx/core/FieldValueList/FieldValueList.styles.d.ts.map +0 -1
  280. package/jsx/core/FieldValueList/FieldValueList.styles.js +0 -8
  281. package/jsx/core/FieldValueList/FieldValueList.styles.js.map +0 -1
  282. package/jsx/core/File/FileDisplay.mocks.d.ts +0 -4
  283. package/jsx/core/File/FileDisplay.mocks.d.ts.map +0 -1
  284. package/jsx/core/File/FileDisplay.mocks.js +0 -126
  285. package/jsx/core/File/FileDisplay.mocks.js.map +0 -1
  286. package/jsx/core/File/FileDisplay.stories.d.ts +0 -27
  287. package/jsx/core/File/FileDisplay.stories.d.ts.map +0 -1
  288. package/jsx/core/File/FileDisplay.stories.jsx +0 -179
  289. package/jsx/core/File/FileDisplay.stories.jsx.map +0 -1
  290. package/jsx/core/File/FileInput.stories.d.ts +0 -13
  291. package/jsx/core/File/FileInput.stories.d.ts.map +0 -1
  292. package/jsx/core/File/FileInput.stories.jsx +0 -162
  293. package/jsx/core/File/FileInput.stories.jsx.map +0 -1
  294. package/jsx/core/File/FileService.mock.d.ts +0 -31
  295. package/jsx/core/File/FileService.mock.d.ts.map +0 -1
  296. package/jsx/core/File/FileService.mock.jsx +0 -119
  297. package/jsx/core/File/FileService.mock.jsx.map +0 -1
  298. package/jsx/core/File/MockFileInput.d.ts +0 -6
  299. package/jsx/core/File/MockFileInput.d.ts.map +0 -1
  300. package/jsx/core/File/MockFileInput.jsx +0 -25
  301. package/jsx/core/File/MockFileInput.jsx.map +0 -1
  302. package/jsx/core/Flex/Flex.styles.d.ts +0 -10
  303. package/jsx/core/Flex/Flex.styles.d.ts.map +0 -1
  304. package/jsx/core/Flex/Flex.styles.js +0 -41
  305. package/jsx/core/Flex/Flex.styles.js.map +0 -1
  306. package/jsx/core/Flex/FlexContainer.stories.d.ts +0 -21
  307. package/jsx/core/Flex/FlexContainer.stories.d.ts.map +0 -1
  308. package/jsx/core/Flex/FlexContainer.stories.jsx +0 -164
  309. package/jsx/core/Flex/FlexContainer.stories.jsx.map +0 -1
  310. package/jsx/core/Flex/FlexItem.stories.d.ts +0 -13
  311. package/jsx/core/Flex/FlexItem.stories.d.ts.map +0 -1
  312. package/jsx/core/Flex/FlexItem.stories.jsx +0 -71
  313. package/jsx/core/Flex/FlexItem.stories.jsx.map +0 -1
  314. package/jsx/core/Form/Form.mocks.d.ts +0 -14
  315. package/jsx/core/Form/Form.mocks.d.ts.map +0 -1
  316. package/jsx/core/Form/Form.mocks.jsx +0 -276
  317. package/jsx/core/Form/Form.mocks.jsx.map +0 -1
  318. package/jsx/core/Form/Form.stories.d.ts +0 -25
  319. package/jsx/core/Form/Form.stories.d.ts.map +0 -1
  320. package/jsx/core/Form/Form.stories.jsx +0 -106
  321. package/jsx/core/Form/Form.stories.jsx.map +0 -1
  322. package/jsx/core/Fullscreen/Fullscreen.stories.d.ts +0 -5
  323. package/jsx/core/Fullscreen/Fullscreen.stories.d.ts.map +0 -1
  324. package/jsx/core/Fullscreen/Fullscreen.stories.jsx +0 -22
  325. package/jsx/core/Fullscreen/Fullscreen.stories.jsx.map +0 -1
  326. package/jsx/core/Fullscreen/Fullscreen.styles.d.ts +0 -3
  327. package/jsx/core/Fullscreen/Fullscreen.styles.d.ts.map +0 -1
  328. package/jsx/core/Fullscreen/Fullscreen.styles.js +0 -9
  329. package/jsx/core/Fullscreen/Fullscreen.styles.js.map +0 -1
  330. package/jsx/core/Grid/Grid.styles.d.ts +0 -6
  331. package/jsx/core/Grid/Grid.styles.d.ts.map +0 -1
  332. package/jsx/core/Grid/Grid.styles.js +0 -36
  333. package/jsx/core/Grid/Grid.styles.js.map +0 -1
  334. package/jsx/core/Grid/GridContainer.stories.d.ts +0 -23
  335. package/jsx/core/Grid/GridContainer.stories.d.ts.map +0 -1
  336. package/jsx/core/Grid/GridContainer.stories.jsx +0 -168
  337. package/jsx/core/Grid/GridContainer.stories.jsx.map +0 -1
  338. package/jsx/core/Grid/GridItem.stories.d.ts +0 -12
  339. package/jsx/core/Grid/GridItem.stories.d.ts.map +0 -1
  340. package/jsx/core/Grid/GridItem.stories.jsx +0 -74
  341. package/jsx/core/Grid/GridItem.stories.jsx.map +0 -1
  342. package/jsx/core/HTML/HTML.stories.d.ts +0 -6
  343. package/jsx/core/HTML/HTML.stories.d.ts.map +0 -1
  344. package/jsx/core/HTML/HTML.stories.jsx +0 -13
  345. package/jsx/core/HTML/HTML.stories.jsx.map +0 -1
  346. package/jsx/core/Icon/Icon.mocks.d.ts +0 -26
  347. package/jsx/core/Icon/Icon.mocks.d.ts.map +0 -1
  348. package/jsx/core/Icon/Icon.mocks.jsx +0 -32
  349. package/jsx/core/Icon/Icon.mocks.jsx.map +0 -1
  350. package/jsx/core/Icon/Icon.stories.d.ts +0 -21
  351. package/jsx/core/Icon/Icon.stories.d.ts.map +0 -1
  352. package/jsx/core/Icon/Icon.stories.jsx +0 -112
  353. package/jsx/core/Icon/Icon.stories.jsx.map +0 -1
  354. package/jsx/core/Icon/Icon.styles.d.ts +0 -4
  355. package/jsx/core/Icon/Icon.styles.d.ts.map +0 -1
  356. package/jsx/core/Icon/Icon.styles.js +0 -25
  357. package/jsx/core/Icon/Icon.styles.js.map +0 -1
  358. package/jsx/core/IconPicker/IconPicker.mocks.d.ts +0 -2
  359. package/jsx/core/IconPicker/IconPicker.mocks.d.ts.map +0 -1
  360. package/jsx/core/IconPicker/IconPicker.mocks.js +0 -3
  361. package/jsx/core/IconPicker/IconPicker.mocks.js.map +0 -1
  362. package/jsx/core/IconPicker/IconPicker.stories.d.ts +0 -6
  363. package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +0 -1
  364. package/jsx/core/IconPicker/IconPicker.stories.jsx +0 -38
  365. package/jsx/core/IconPicker/IconPicker.stories.jsx.map +0 -1
  366. package/jsx/core/Image/Image.stories.d.ts +0 -5
  367. package/jsx/core/Image/Image.stories.d.ts.map +0 -1
  368. package/jsx/core/Image/Image.stories.jsx +0 -9
  369. package/jsx/core/Image/Image.stories.jsx.map +0 -1
  370. package/jsx/core/Input/Input.stories.d.ts +0 -20
  371. package/jsx/core/Input/Input.stories.d.ts.map +0 -1
  372. package/jsx/core/Input/Input.stories.jsx +0 -159
  373. package/jsx/core/Input/Input.stories.jsx.map +0 -1
  374. package/jsx/core/Label/Label.stories.d.ts +0 -10
  375. package/jsx/core/Label/Label.stories.d.ts.map +0 -1
  376. package/jsx/core/Label/Label.stories.jsx +0 -33
  377. package/jsx/core/Label/Label.stories.jsx.map +0 -1
  378. package/jsx/core/Lightbox/Lightbox.mocks.d.ts +0 -28
  379. package/jsx/core/Lightbox/Lightbox.mocks.d.ts.map +0 -1
  380. package/jsx/core/Lightbox/Lightbox.mocks.js +0 -118
  381. package/jsx/core/Lightbox/Lightbox.mocks.js.map +0 -1
  382. package/jsx/core/Lightbox/Lightbox.stories.d.ts +0 -10
  383. package/jsx/core/Lightbox/Lightbox.stories.d.ts.map +0 -1
  384. package/jsx/core/Lightbox/Lightbox.stories.jsx +0 -69
  385. package/jsx/core/Lightbox/Lightbox.stories.jsx.map +0 -1
  386. package/jsx/core/Link/Link.stories.d.ts +0 -14
  387. package/jsx/core/Link/Link.stories.d.ts.map +0 -1
  388. package/jsx/core/Link/Link.stories.jsx +0 -48
  389. package/jsx/core/Link/Link.stories.jsx.map +0 -1
  390. package/jsx/core/List/CommaSeparatedList.stories.d.ts +0 -6
  391. package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +0 -1
  392. package/jsx/core/List/CommaSeparatedList.stories.jsx +0 -31
  393. package/jsx/core/List/CommaSeparatedList.stories.jsx.map +0 -1
  394. package/jsx/core/List/OrderedList.stories.d.ts +0 -10
  395. package/jsx/core/List/OrderedList.stories.d.ts.map +0 -1
  396. package/jsx/core/List/OrderedList.stories.jsx +0 -38
  397. package/jsx/core/List/OrderedList.stories.jsx.map +0 -1
  398. package/jsx/core/List/UnorderedList.stories.d.ts +0 -10
  399. package/jsx/core/List/UnorderedList.stories.d.ts.map +0 -1
  400. package/jsx/core/List/UnorderedList.stories.jsx +0 -38
  401. package/jsx/core/List/UnorderedList.stories.jsx.map +0 -1
  402. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +0 -9
  403. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +0 -1
  404. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +0 -58
  405. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +0 -1
  406. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +0 -17
  407. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +0 -1
  408. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +0 -141
  409. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +0 -1
  410. package/jsx/core/LiveLog/LiveLog.mocks.d.ts +0 -5
  411. package/jsx/core/LiveLog/LiveLog.mocks.d.ts.map +0 -1
  412. package/jsx/core/LiveLog/LiveLog.mocks.jsx +0 -47
  413. package/jsx/core/LiveLog/LiveLog.mocks.jsx.map +0 -1
  414. package/jsx/core/LiveLog/LiveLog.stories.d.ts +0 -6
  415. package/jsx/core/LiveLog/LiveLog.stories.d.ts.map +0 -1
  416. package/jsx/core/LiveLog/LiveLog.stories.jsx +0 -13
  417. package/jsx/core/LiveLog/LiveLog.stories.jsx.map +0 -1
  418. package/jsx/core/Location/Location.stories.d.ts +0 -25
  419. package/jsx/core/Location/Location.stories.d.ts.map +0 -1
  420. package/jsx/core/Location/Location.stories.jsx +0 -200
  421. package/jsx/core/Location/Location.stories.jsx.map +0 -1
  422. package/jsx/core/Location/locationTestUtils.d.ts +0 -8
  423. package/jsx/core/Location/locationTestUtils.d.ts.map +0 -1
  424. package/jsx/core/Location/locationTestUtils.js +0 -73
  425. package/jsx/core/Location/locationTestUtils.js.map +0 -1
  426. package/jsx/core/Menu/Menu.mocks.d.ts +0 -4
  427. package/jsx/core/Menu/Menu.mocks.d.ts.map +0 -1
  428. package/jsx/core/Menu/Menu.mocks.js +0 -183
  429. package/jsx/core/Menu/Menu.mocks.js.map +0 -1
  430. package/jsx/core/Menu/Menu.stories.d.ts +0 -18
  431. package/jsx/core/Menu/Menu.stories.d.ts.map +0 -1
  432. package/jsx/core/Menu/Menu.stories.jsx +0 -209
  433. package/jsx/core/Menu/Menu.stories.jsx.map +0 -1
  434. package/jsx/core/Menu/Menu.styles.d.ts +0 -2
  435. package/jsx/core/Menu/Menu.styles.d.ts.map +0 -1
  436. package/jsx/core/Menu/Menu.styles.js +0 -6
  437. package/jsx/core/Menu/Menu.styles.js.map +0 -1
  438. package/jsx/core/MenuButton/MenuButton.stories.d.ts +0 -16
  439. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +0 -1
  440. package/jsx/core/MenuButton/MenuButton.stories.jsx +0 -194
  441. package/jsx/core/MenuButton/MenuButton.stories.jsx.map +0 -1
  442. package/jsx/core/MetaList/MetaList.stories.d.ts +0 -9
  443. package/jsx/core/MetaList/MetaList.stories.d.ts.map +0 -1
  444. package/jsx/core/MetaList/MetaList.stories.jsx +0 -24
  445. package/jsx/core/MetaList/MetaList.stories.jsx.map +0 -1
  446. package/jsx/core/Modal/Modal.mocks.d.ts +0 -45
  447. package/jsx/core/Modal/Modal.mocks.d.ts.map +0 -1
  448. package/jsx/core/Modal/Modal.mocks.jsx +0 -204
  449. package/jsx/core/Modal/Modal.mocks.jsx.map +0 -1
  450. package/jsx/core/Modal/Modal.stories.d.ts +0 -12
  451. package/jsx/core/Modal/Modal.stories.d.ts.map +0 -1
  452. package/jsx/core/Modal/Modal.stories.jsx +0 -175
  453. package/jsx/core/Modal/Modal.stories.jsx.map +0 -1
  454. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +0 -70
  455. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +0 -1
  456. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx +0 -408
  457. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +0 -1
  458. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +0 -7
  459. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +0 -1
  460. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx +0 -133
  461. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +0 -1
  462. package/jsx/core/NoValue/NoValue.stories.d.ts +0 -6
  463. package/jsx/core/NoValue/NoValue.stories.d.ts.map +0 -1
  464. package/jsx/core/NoValue/NoValue.stories.jsx +0 -30
  465. package/jsx/core/NoValue/NoValue.stories.jsx.map +0 -1
  466. package/jsx/core/Number/Number.stories.d.ts +0 -19
  467. package/jsx/core/Number/Number.stories.d.ts.map +0 -1
  468. package/jsx/core/Number/Number.stories.jsx +0 -303
  469. package/jsx/core/Number/Number.stories.jsx.map +0 -1
  470. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +0 -3
  471. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  472. package/jsx/core/PageTemplates/PageTemplates.mocks.js +0 -10
  473. package/jsx/core/PageTemplates/PageTemplates.mocks.js.map +0 -1
  474. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +0 -35
  475. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  476. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +0 -301
  477. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +0 -1
  478. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +0 -5
  479. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +0 -1
  480. package/jsx/core/PageTemplates/PageTemplates.styles.js +0 -40
  481. package/jsx/core/PageTemplates/PageTemplates.styles.js.map +0 -1
  482. package/jsx/core/Pagination/Pagination.stories.d.ts +0 -6
  483. package/jsx/core/Pagination/Pagination.stories.d.ts.map +0 -1
  484. package/jsx/core/Pagination/Pagination.stories.jsx +0 -19
  485. package/jsx/core/Pagination/Pagination.stories.jsx.map +0 -1
  486. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts +0 -6
  487. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts.map +0 -1
  488. package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx +0 -15
  489. package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx.map +0 -1
  490. package/jsx/core/Phone/Phone.stories.d.ts +0 -13
  491. package/jsx/core/Phone/Phone.stories.d.ts.map +0 -1
  492. package/jsx/core/Phone/Phone.stories.jsx +0 -52
  493. package/jsx/core/Phone/Phone.stories.jsx.map +0 -1
  494. package/jsx/core/Popover/Popover.mocks.d.ts +0 -9
  495. package/jsx/core/Popover/Popover.mocks.d.ts.map +0 -1
  496. package/jsx/core/Popover/Popover.mocks.jsx +0 -114
  497. package/jsx/core/Popover/Popover.mocks.jsx.map +0 -1
  498. package/jsx/core/Popover/Popover.stories.d.ts +0 -13
  499. package/jsx/core/Popover/Popover.stories.d.ts.map +0 -1
  500. package/jsx/core/Popover/Popover.stories.jsx +0 -209
  501. package/jsx/core/Popover/Popover.stories.jsx.map +0 -1
  502. package/jsx/core/Progress/Progress.mocks.d.ts +0 -2
  503. package/jsx/core/Progress/Progress.mocks.d.ts.map +0 -1
  504. package/jsx/core/Progress/Progress.mocks.js +0 -2
  505. package/jsx/core/Progress/Progress.mocks.js.map +0 -1
  506. package/jsx/core/Progress/Progress.stories.d.ts +0 -16
  507. package/jsx/core/Progress/Progress.stories.d.ts.map +0 -1
  508. package/jsx/core/Progress/Progress.stories.jsx +0 -124
  509. package/jsx/core/Progress/Progress.stories.jsx.map +0 -1
  510. package/jsx/core/Progress/Progress.styles.d.ts +0 -2
  511. package/jsx/core/Progress/Progress.styles.d.ts.map +0 -1
  512. package/jsx/core/Progress/Progress.styles.js +0 -14
  513. package/jsx/core/Progress/Progress.styles.js.map +0 -1
  514. package/jsx/core/QRCode/QRCode.stories.d.ts +0 -9
  515. package/jsx/core/QRCode/QRCode.stories.d.ts.map +0 -1
  516. package/jsx/core/QRCode/QRCode.stories.jsx +0 -17
  517. package/jsx/core/QRCode/QRCode.stories.jsx.map +0 -1
  518. package/jsx/core/RadioButton/RadioButton.stories.d.ts +0 -23
  519. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +0 -1
  520. package/jsx/core/RadioButton/RadioButton.stories.jsx +0 -99
  521. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +0 -1
  522. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +0 -14
  523. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +0 -1
  524. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +0 -105
  525. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +0 -1
  526. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +0 -4
  527. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +0 -1
  528. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js +0 -9
  529. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js.map +0 -1
  530. package/jsx/core/Rating/Rating.stories.d.ts +0 -13
  531. package/jsx/core/Rating/Rating.stories.d.ts.map +0 -1
  532. package/jsx/core/Rating/Rating.stories.jsx +0 -39
  533. package/jsx/core/Rating/Rating.stories.jsx.map +0 -1
  534. package/jsx/core/SearchInput/SearchInput.mocks.d.ts +0 -12
  535. package/jsx/core/SearchInput/SearchInput.mocks.d.ts.map +0 -1
  536. package/jsx/core/SearchInput/SearchInput.mocks.js +0 -25
  537. package/jsx/core/SearchInput/SearchInput.mocks.js.map +0 -1
  538. package/jsx/core/SearchInput/SearchInput.stories.d.ts +0 -8
  539. package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +0 -1
  540. package/jsx/core/SearchInput/SearchInput.stories.jsx +0 -63
  541. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +0 -1
  542. package/jsx/core/Select/Select.stories.d.ts +0 -18
  543. package/jsx/core/Select/Select.stories.d.ts.map +0 -1
  544. package/jsx/core/Select/Select.stories.jsx +0 -83
  545. package/jsx/core/Select/Select.stories.jsx.map +0 -1
  546. package/jsx/core/Sentiment/Sentiment.stories.d.ts +0 -20
  547. package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +0 -1
  548. package/jsx/core/Sentiment/Sentiment.stories.jsx +0 -71
  549. package/jsx/core/Sentiment/Sentiment.stories.jsx.map +0 -1
  550. package/jsx/core/SkipLinks/SkipLinks.stories.d.ts +0 -6
  551. package/jsx/core/SkipLinks/SkipLinks.stories.d.ts.map +0 -1
  552. package/jsx/core/SkipLinks/SkipLinks.stories.jsx +0 -29
  553. package/jsx/core/SkipLinks/SkipLinks.stories.jsx.map +0 -1
  554. package/jsx/core/SkipLinks/SkipLinks.styles.d.ts +0 -2
  555. package/jsx/core/SkipLinks/SkipLinks.styles.d.ts.map +0 -1
  556. package/jsx/core/SkipLinks/SkipLinks.styles.js +0 -16
  557. package/jsx/core/SkipLinks/SkipLinks.styles.js.map +0 -1
  558. package/jsx/core/Slider/Slider.stories.d.ts +0 -13
  559. package/jsx/core/Slider/Slider.stories.d.ts.map +0 -1
  560. package/jsx/core/Slider/Slider.stories.jsx +0 -78
  561. package/jsx/core/Slider/Slider.stories.jsx.map +0 -1
  562. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +0 -11
  563. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +0 -1
  564. package/jsx/core/SummaryItem/SummaryItem.stories.jsx +0 -38
  565. package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +0 -1
  566. package/jsx/core/SummaryList/SummaryList.mocks.d.ts +0 -20
  567. package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +0 -1
  568. package/jsx/core/SummaryList/SummaryList.mocks.jsx +0 -48
  569. package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +0 -1
  570. package/jsx/core/SummaryList/SummaryList.stories.d.ts +0 -13
  571. package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +0 -1
  572. package/jsx/core/SummaryList/SummaryList.stories.jsx +0 -131
  573. package/jsx/core/SummaryList/SummaryList.stories.jsx.map +0 -1
  574. package/jsx/core/SummaryList/mockUsers.d.ts +0 -16
  575. package/jsx/core/SummaryList/mockUsers.d.ts.map +0 -1
  576. package/jsx/core/SummaryList/mockUsers.js +0 -904
  577. package/jsx/core/SummaryList/mockUsers.js.map +0 -1
  578. package/jsx/core/Switch/Switch.stories.d.ts +0 -14
  579. package/jsx/core/Switch/Switch.stories.d.ts.map +0 -1
  580. package/jsx/core/Switch/Switch.stories.jsx +0 -60
  581. package/jsx/core/Switch/Switch.stories.jsx.map +0 -1
  582. package/jsx/core/Switch/Switch.styles.d.ts +0 -2
  583. package/jsx/core/Switch/Switch.styles.d.ts.map +0 -1
  584. package/jsx/core/Switch/Switch.styles.js +0 -13
  585. package/jsx/core/Switch/Switch.styles.js.map +0 -1
  586. package/jsx/core/Table/Table.mocks.d.ts +0 -25
  587. package/jsx/core/Table/Table.mocks.d.ts.map +0 -1
  588. package/jsx/core/Table/Table.mocks.jsx +0 -166
  589. package/jsx/core/Table/Table.mocks.jsx.map +0 -1
  590. package/jsx/core/Table/Table.stories.d.ts +0 -39
  591. package/jsx/core/Table/Table.stories.d.ts.map +0 -1
  592. package/jsx/core/Table/Table.stories.jsx +0 -178
  593. package/jsx/core/Table/Table.stories.jsx.map +0 -1
  594. package/jsx/core/Table/Table.styles.d.ts +0 -4
  595. package/jsx/core/Table/Table.styles.d.ts.map +0 -1
  596. package/jsx/core/Table/Table.styles.js +0 -9
  597. package/jsx/core/Table/Table.styles.js.map +0 -1
  598. package/jsx/core/Tabs/Tabs.mocks.d.ts +0 -6
  599. package/jsx/core/Tabs/Tabs.mocks.d.ts.map +0 -1
  600. package/jsx/core/Tabs/Tabs.mocks.jsx +0 -29
  601. package/jsx/core/Tabs/Tabs.mocks.jsx.map +0 -1
  602. package/jsx/core/Tabs/Tabs.stories.d.ts +0 -9
  603. package/jsx/core/Tabs/Tabs.stories.d.ts.map +0 -1
  604. package/jsx/core/Tabs/Tabs.stories.jsx +0 -51
  605. package/jsx/core/Tabs/Tabs.stories.jsx.map +0 -1
  606. package/jsx/core/Text/Text.stories.d.ts +0 -25
  607. package/jsx/core/Text/Text.stories.d.ts.map +0 -1
  608. package/jsx/core/Text/Text.stories.jsx +0 -134
  609. package/jsx/core/Text/Text.stories.jsx.map +0 -1
  610. package/jsx/core/TextArea/TextArea.stories.d.ts +0 -14
  611. package/jsx/core/TextArea/TextArea.stories.d.ts.map +0 -1
  612. package/jsx/core/TextArea/TextArea.stories.jsx +0 -71
  613. package/jsx/core/TextArea/TextArea.stories.jsx.map +0 -1
  614. package/jsx/core/Toaster/Toaster.stories.d.ts +0 -6
  615. package/jsx/core/Toaster/Toaster.stories.d.ts.map +0 -1
  616. package/jsx/core/Toaster/Toaster.stories.jsx +0 -45
  617. package/jsx/core/Toaster/Toaster.stories.jsx.map +0 -1
  618. package/jsx/core/Tooltip/Tooltip.stories.d.ts +0 -11
  619. package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +0 -1
  620. package/jsx/core/Tooltip/Tooltip.stories.jsx +0 -66
  621. package/jsx/core/Tooltip/Tooltip.stories.jsx.map +0 -1
  622. package/jsx/core/Tooltip/Tooltip.styles.d.ts +0 -2
  623. package/jsx/core/Tooltip/Tooltip.styles.d.ts.map +0 -1
  624. package/jsx/core/Tooltip/Tooltip.styles.js +0 -23
  625. package/jsx/core/Tooltip/Tooltip.styles.js.map +0 -1
  626. package/jsx/core/Tree/Tree.mocks.d.ts +0 -2
  627. package/jsx/core/Tree/Tree.mocks.d.ts.map +0 -1
  628. package/jsx/core/Tree/Tree.mocks.js +0 -20
  629. package/jsx/core/Tree/Tree.mocks.js.map +0 -1
  630. package/jsx/core/Tree/Tree.stories.d.ts +0 -7
  631. package/jsx/core/Tree/Tree.stories.d.ts.map +0 -1
  632. package/jsx/core/Tree/Tree.stories.jsx +0 -95
  633. package/jsx/core/Tree/Tree.stories.jsx.map +0 -1
  634. package/jsx/core/Tree/Tree.styles.d.ts +0 -3
  635. package/jsx/core/Tree/Tree.styles.d.ts.map +0 -1
  636. package/jsx/core/Tree/Tree.styles.js +0 -10
  637. package/jsx/core/Tree/Tree.styles.js.map +0 -1
  638. package/jsx/core/URL/URL.stories.d.ts +0 -6
  639. package/jsx/core/URL/URL.stories.d.ts.map +0 -1
  640. package/jsx/core/URL/URL.stories.jsx +0 -17
  641. package/jsx/core/URL/URL.stories.jsx.map +0 -1
  642. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +0 -15
  643. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +0 -1
  644. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx +0 -33
  645. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +0 -1
  646. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +0 -10
  647. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +0 -1
  648. package/jsx/dnd/DragDropList/DragDropList.stories.jsx +0 -55
  649. package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +0 -1
  650. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts +0 -6
  651. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts.map +0 -1
  652. package/jsx/dnd/DragDropList/DragDropList.styles.js +0 -32
  653. package/jsx/dnd/DragDropList/DragDropList.styles.js.map +0 -1
  654. package/jsx/dnd/StandardDragDropList/Demo.d.ts +0 -13
  655. package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +0 -1
  656. package/jsx/dnd/StandardDragDropList/Demo.jsx +0 -168
  657. package/jsx/dnd/StandardDragDropList/Demo.jsx.map +0 -1
  658. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts +0 -10
  659. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts.map +0 -1
  660. package/jsx/dnd/StandardDragDropList/GroupConfig.jsx +0 -26
  661. package/jsx/dnd/StandardDragDropList/GroupConfig.jsx.map +0 -1
  662. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts +0 -12
  663. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts.map +0 -1
  664. package/jsx/dnd/StandardDragDropList/ItemConfig.jsx +0 -21
  665. package/jsx/dnd/StandardDragDropList/ItemConfig.jsx.map +0 -1
  666. package/jsx/dnd/StandardDragDropList/Popover.d.ts +0 -14
  667. package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +0 -1
  668. package/jsx/dnd/StandardDragDropList/Popover.jsx +0 -51
  669. package/jsx/dnd/StandardDragDropList/Popover.jsx.map +0 -1
  670. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts +0 -17
  671. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts.map +0 -1
  672. package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx +0 -104
  673. package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx.map +0 -1
  674. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +0 -9
  675. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +0 -1
  676. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx +0 -31
  677. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx.map +0 -1
  678. package/jsx/dnd/StandardDragDropList/mockData.d.ts +0 -25
  679. package/jsx/dnd/StandardDragDropList/mockData.d.ts.map +0 -1
  680. package/jsx/dnd/StandardDragDropList/mockData.js +0 -67
  681. package/jsx/dnd/StandardDragDropList/mockData.js.map +0 -1
  682. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
  683. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
  684. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx +0 -103
  685. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +0 -1
  686. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts +0 -11
  687. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
  688. package/jsx/rte/DynamicContentEditor/FieldSelector.jsx +0 -82
  689. package/jsx/rte/DynamicContentEditor/FieldSelector.jsx.map +0 -1
  690. package/jsx/rte/Editor/Editor.mocks.d.ts +0 -334
  691. package/jsx/rte/Editor/Editor.mocks.d.ts.map +0 -1
  692. package/jsx/rte/Editor/Editor.mocks.jsx +0 -46
  693. package/jsx/rte/Editor/Editor.mocks.jsx.map +0 -1
  694. package/jsx/rte/Editor/Editor.stories.d.ts +0 -15
  695. package/jsx/rte/Editor/Editor.stories.d.ts.map +0 -1
  696. package/jsx/rte/Editor/Editor.stories.jsx +0 -197
  697. package/jsx/rte/Editor/Editor.stories.jsx.map +0 -1
  698. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts +0 -3
  699. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +0 -1
  700. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx +0 -34
  701. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +0 -1
  702. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +0 -7
  703. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +0 -1
  704. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx +0 -108
  705. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +0 -1
  706. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +0 -13
  707. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +0 -1
  708. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +0 -155
  709. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +0 -1
  710. package/jsx/social/Chat/Chat.mocks.d.ts +0 -51
  711. package/jsx/social/Chat/Chat.mocks.d.ts.map +0 -1
  712. package/jsx/social/Chat/Chat.mocks.js +0 -756
  713. package/jsx/social/Chat/Chat.mocks.js.map +0 -1
  714. package/jsx/social/Chat/Chat.stories.d.ts +0 -57
  715. package/jsx/social/Chat/Chat.stories.d.ts.map +0 -1
  716. package/jsx/social/Chat/Chat.stories.jsx +0 -767
  717. package/jsx/social/Chat/Chat.stories.jsx.map +0 -1
  718. package/jsx/social/Email/Email.mocks.d.ts +0 -353
  719. package/jsx/social/Email/Email.mocks.d.ts.map +0 -1
  720. package/jsx/social/Email/Email.mocks.jsx +0 -1226
  721. package/jsx/social/Email/Email.mocks.jsx.map +0 -1
  722. package/jsx/social/Email/Email.stories.d.ts +0 -83
  723. package/jsx/social/Email/Email.stories.d.ts.map +0 -1
  724. package/jsx/social/Email/Email.stories.jsx +0 -1268
  725. package/jsx/social/Email/Email.stories.jsx.map +0 -1
  726. package/jsx/social/Email/Email.styles.d.ts +0 -3
  727. package/jsx/social/Email/Email.styles.d.ts.map +0 -1
  728. package/jsx/social/Email/Email.styles.js +0 -11
  729. package/jsx/social/Email/Email.styles.js.map +0 -1
  730. package/jsx/social/Feed/Feed.mocks.d.ts +0 -55
  731. package/jsx/social/Feed/Feed.mocks.d.ts.map +0 -1
  732. package/jsx/social/Feed/Feed.mocks.jsx +0 -433
  733. package/jsx/social/Feed/Feed.mocks.jsx.map +0 -1
  734. package/jsx/social/Feed/Feed.stories.d.ts +0 -11
  735. package/jsx/social/Feed/Feed.stories.d.ts.map +0 -1
  736. package/jsx/social/Feed/Feed.stories.jsx +0 -223
  737. package/jsx/social/Feed/Feed.stories.jsx.map +0 -1
  738. package/jsx/social/Feed/FeedNewPost.mocks.d.ts +0 -8
  739. package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +0 -1
  740. package/jsx/social/Feed/FeedNewPost.mocks.jsx +0 -72
  741. package/jsx/social/Feed/FeedNewPost.mocks.jsx.map +0 -1
  742. package/jsx/social/Feed/FeedPost.mocks.d.ts +0 -4
  743. package/jsx/social/Feed/FeedPost.mocks.d.ts.map +0 -1
  744. package/jsx/social/Feed/FeedPost.mocks.jsx +0 -192
  745. package/jsx/social/Feed/FeedPost.mocks.jsx.map +0 -1
  746. package/jsx/social/Feed/FeedReply.mocks.d.ts +0 -13
  747. package/jsx/social/Feed/FeedReply.mocks.d.ts.map +0 -1
  748. package/jsx/social/Feed/FeedReply.mocks.jsx +0 -83
  749. package/jsx/social/Feed/FeedReply.mocks.jsx.map +0 -1
  750. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts +0 -6
  751. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +0 -1
  752. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx +0 -30
  753. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +0 -1
  754. package/jsx/work/Article/Article.mocks.d.ts +0 -18
  755. package/jsx/work/Article/Article.mocks.d.ts.map +0 -1
  756. package/jsx/work/Article/Article.mocks.js +0 -18
  757. package/jsx/work/Article/Article.mocks.js.map +0 -1
  758. package/jsx/work/Article/Article.stories.d.ts +0 -18
  759. package/jsx/work/Article/Article.stories.d.ts.map +0 -1
  760. package/jsx/work/Article/Article.stories.jsx +0 -272
  761. package/jsx/work/Article/Article.stories.jsx.map +0 -1
  762. package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts +0 -12
  763. package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts.map +0 -1
  764. package/jsx/work/ArticleList/ArticleBuddy.stories.jsx +0 -143
  765. package/jsx/work/ArticleList/ArticleBuddy.stories.jsx.map +0 -1
  766. package/jsx/work/ArticleList/ArticleList.mocks.d.ts +0 -223
  767. package/jsx/work/ArticleList/ArticleList.mocks.d.ts.map +0 -1
  768. package/jsx/work/ArticleList/ArticleList.mocks.js +0 -652
  769. package/jsx/work/ArticleList/ArticleList.mocks.js.map +0 -1
  770. package/jsx/work/ArticleList/ArticleList.stories.d.ts +0 -18
  771. package/jsx/work/ArticleList/ArticleList.stories.d.ts.map +0 -1
  772. package/jsx/work/ArticleList/ArticleList.stories.jsx +0 -882
  773. package/jsx/work/ArticleList/ArticleList.stories.jsx.map +0 -1
  774. package/jsx/work/Assignments/Assignments.stories.d.ts +0 -11
  775. package/jsx/work/Assignments/Assignments.stories.d.ts.map +0 -1
  776. package/jsx/work/Assignments/Assignments.stories.jsx +0 -64
  777. package/jsx/work/Assignments/Assignments.stories.jsx.map +0 -1
  778. package/jsx/work/CaseView/Attachments.mocks.d.ts +0 -3
  779. package/jsx/work/CaseView/Attachments.mocks.d.ts.map +0 -1
  780. package/jsx/work/CaseView/Attachments.mocks.jsx +0 -395
  781. package/jsx/work/CaseView/Attachments.mocks.jsx.map +0 -1
  782. package/jsx/work/CaseView/CaseView.mocks.d.ts +0 -121
  783. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +0 -1
  784. package/jsx/work/CaseView/CaseView.mocks.jsx +0 -693
  785. package/jsx/work/CaseView/CaseView.mocks.jsx.map +0 -1
  786. package/jsx/work/CaseView/CaseView.stories.d.ts +0 -6
  787. package/jsx/work/CaseView/CaseView.stories.d.ts.map +0 -1
  788. package/jsx/work/CaseView/CaseView.stories.jsx +0 -65
  789. package/jsx/work/CaseView/CaseView.stories.jsx.map +0 -1
  790. package/jsx/work/CaseView/Details.mocks.d.ts +0 -3
  791. package/jsx/work/CaseView/Details.mocks.d.ts.map +0 -1
  792. package/jsx/work/CaseView/Details.mocks.jsx +0 -21
  793. package/jsx/work/CaseView/Details.mocks.jsx.map +0 -1
  794. package/jsx/work/CaseView/Pulse.mocks.d.ts +0 -7
  795. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +0 -1
  796. package/jsx/work/CaseView/Pulse.mocks.jsx +0 -36
  797. package/jsx/work/CaseView/Pulse.mocks.jsx.map +0 -1
  798. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +0 -45
  799. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +0 -1
  800. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx +0 -166
  801. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx.map +0 -1
  802. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +0 -5
  803. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +0 -1
  804. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +0 -24
  805. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +0 -1
  806. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +0 -4
  807. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +0 -1
  808. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js +0 -11
  809. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +0 -1
  810. package/jsx/work/Confirmation/Confirmation.stories.d.ts +0 -13
  811. package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +0 -1
  812. package/jsx/work/Confirmation/Confirmation.stories.jsx +0 -37
  813. package/jsx/work/Confirmation/Confirmation.stories.jsx.map +0 -1
  814. package/jsx/work/Confirmation/Confirmation.styles.d.ts +0 -2
  815. package/jsx/work/Confirmation/Confirmation.styles.d.ts.map +0 -1
  816. package/jsx/work/Confirmation/Confirmation.styles.js +0 -7
  817. package/jsx/work/Confirmation/Confirmation.styles.js.map +0 -1
  818. package/jsx/work/Details/Details.stories.d.ts +0 -10
  819. package/jsx/work/Details/Details.stories.d.ts.map +0 -1
  820. package/jsx/work/Details/Details.stories.jsx +0 -214
  821. package/jsx/work/Details/Details.stories.jsx.map +0 -1
  822. package/jsx/work/GenAICoach/GenAICoach.mocks.d.ts +0 -22
  823. package/jsx/work/GenAICoach/GenAICoach.mocks.d.ts.map +0 -1
  824. package/jsx/work/GenAICoach/GenAICoach.mocks.js +0 -124
  825. package/jsx/work/GenAICoach/GenAICoach.mocks.js.map +0 -1
  826. package/jsx/work/GenAICoach/GenAICoach.stories.d.ts +0 -19
  827. package/jsx/work/GenAICoach/GenAICoach.stories.d.ts.map +0 -1
  828. package/jsx/work/GenAICoach/GenAICoach.stories.jsx +0 -133
  829. package/jsx/work/GenAICoach/GenAICoach.stories.jsx.map +0 -1
  830. package/jsx/work/GenAICoach/useGenAICoach.d.ts +0 -5
  831. package/jsx/work/GenAICoach/useGenAICoach.d.ts.map +0 -1
  832. package/jsx/work/GenAICoach/useGenAICoach.js +0 -90
  833. package/jsx/work/GenAICoach/useGenAICoach.js.map +0 -1
  834. package/jsx/work/Glimpse/Glimpse.stories.d.ts +0 -5
  835. package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +0 -1
  836. package/jsx/work/Glimpse/Glimpse.stories.jsx +0 -42
  837. package/jsx/work/Glimpse/Glimpse.stories.jsx.map +0 -1
  838. package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.mock.d.ts +0 -24
  839. package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.mock.d.ts.map +0 -1
  840. package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.mock.jsx +0 -558
  841. package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.mock.jsx.map +0 -1
  842. package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.d.ts +0 -13
  843. package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.d.ts.map +0 -1
  844. package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.jsx +0 -134
  845. package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.jsx.map +0 -1
  846. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -5
  847. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +0 -1
  848. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx +0 -115
  849. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +0 -1
  850. package/jsx/work/InteractionNotification/InteractionNotification.stories.d.ts +0 -12
  851. package/jsx/work/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  852. package/jsx/work/InteractionNotification/InteractionNotification.stories.jsx +0 -54
  853. package/jsx/work/InteractionNotification/InteractionNotification.stories.jsx.map +0 -1
  854. package/jsx/work/Predictions/Predictions.mocks.d.ts +0 -3
  855. package/jsx/work/Predictions/Predictions.mocks.d.ts.map +0 -1
  856. package/jsx/work/Predictions/Predictions.mocks.jsx +0 -18
  857. package/jsx/work/Predictions/Predictions.mocks.jsx.map +0 -1
  858. package/jsx/work/Predictions/Predictions.stories.d.ts +0 -5
  859. package/jsx/work/Predictions/Predictions.stories.d.ts.map +0 -1
  860. package/jsx/work/Predictions/Predictions.stories.jsx +0 -53
  861. package/jsx/work/Predictions/Predictions.stories.jsx.map +0 -1
  862. package/jsx/work/SearchResults/SearchResults.mocks.d.ts +0 -14
  863. package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +0 -1
  864. package/jsx/work/SearchResults/SearchResults.mocks.jsx +0 -97
  865. package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +0 -1
  866. package/jsx/work/SearchResults/SearchResults.stories.d.ts +0 -9
  867. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +0 -1
  868. package/jsx/work/SearchResults/SearchResults.stories.jsx +0 -242
  869. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +0 -1
  870. package/jsx/work/SearchResults/SearchResults.styles.d.ts +0 -5
  871. package/jsx/work/SearchResults/SearchResults.styles.d.ts.map +0 -1
  872. package/jsx/work/SearchResults/SearchResults.styles.js +0 -12
  873. package/jsx/work/SearchResults/SearchResults.styles.js.map +0 -1
  874. package/jsx/work/Stages/Stages.mocks.d.ts +0 -14
  875. package/jsx/work/Stages/Stages.mocks.d.ts.map +0 -1
  876. package/jsx/work/Stages/Stages.mocks.jsx +0 -40
  877. package/jsx/work/Stages/Stages.mocks.jsx.map +0 -1
  878. package/jsx/work/Stages/Stages.stories.d.ts +0 -11
  879. package/jsx/work/Stages/Stages.stories.d.ts.map +0 -1
  880. package/jsx/work/Stages/Stages.stories.jsx +0 -48
  881. package/jsx/work/Stages/Stages.stories.jsx.map +0 -1
  882. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +0 -17
  883. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +0 -1
  884. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +0 -36
  885. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +0 -1
  886. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +0 -8
  887. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +0 -1
  888. package/jsx/work/Stakeholders/Stakeholders.stories.jsx +0 -99
  889. package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +0 -1
  890. package/jsx/work/Tags/Tags.mocks.d.ts +0 -3
  891. package/jsx/work/Tags/Tags.mocks.d.ts.map +0 -1
  892. package/jsx/work/Tags/Tags.mocks.js +0 -76
  893. package/jsx/work/Tags/Tags.mocks.js.map +0 -1
  894. package/jsx/work/Tags/Tags.stories.d.ts +0 -10
  895. package/jsx/work/Tags/Tags.stories.d.ts.map +0 -1
  896. package/jsx/work/Tags/Tags.stories.jsx +0 -66
  897. package/jsx/work/Tags/Tags.stories.jsx.map +0 -1
  898. package/jsx/work/Tasks/TaskList.stories.d.ts +0 -5
  899. package/jsx/work/Tasks/TaskList.stories.d.ts.map +0 -1
  900. package/jsx/work/Tasks/TaskList.stories.jsx +0 -19
  901. package/jsx/work/Tasks/TaskList.stories.jsx.map +0 -1
  902. package/jsx/work/Tasks/Tasks.mocks.d.ts +0 -22
  903. package/jsx/work/Tasks/Tasks.mocks.d.ts.map +0 -1
  904. package/jsx/work/Tasks/Tasks.mocks.js +0 -51
  905. package/jsx/work/Tasks/Tasks.mocks.js.map +0 -1
  906. package/jsx/work/Tasks/Tasks.stories.d.ts +0 -15
  907. package/jsx/work/Tasks/Tasks.stories.d.ts.map +0 -1
  908. package/jsx/work/Tasks/Tasks.stories.jsx +0 -88
  909. package/jsx/work/Tasks/Tasks.stories.jsx.map +0 -1
  910. package/jsx/work/Timeline/Timeline.mocks.d.ts +0 -3
  911. package/jsx/work/Timeline/Timeline.mocks.d.ts.map +0 -1
  912. package/jsx/work/Timeline/Timeline.mocks.jsx +0 -151
  913. package/jsx/work/Timeline/Timeline.mocks.jsx.map +0 -1
  914. package/jsx/work/Timeline/Timeline.stories.d.ts +0 -11
  915. package/jsx/work/Timeline/Timeline.stories.d.ts.map +0 -1
  916. package/jsx/work/Timeline/Timeline.stories.jsx +0 -85
  917. package/jsx/work/Timeline/Timeline.stories.jsx.map +0 -1
  918. package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.d.ts +0 -12
  919. package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.d.ts.map +0 -1
  920. package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.jsx +0 -29
  921. package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.jsx.map +0 -1
  922. package/jsx/wss/AppShell/AppShell.mocks.d.ts +0 -24
  923. package/jsx/wss/AppShell/AppShell.mocks.d.ts.map +0 -1
  924. package/jsx/wss/AppShell/AppShell.mocks.jsx +0 -64
  925. package/jsx/wss/AppShell/AppShell.mocks.jsx.map +0 -1
  926. package/jsx/wss/AppShell/AppShell.stories.d.ts +0 -19
  927. package/jsx/wss/AppShell/AppShell.stories.d.ts.map +0 -1
  928. package/jsx/wss/AppShell/AppShell.stories.jsx +0 -96
  929. package/jsx/wss/AppShell/AppShell.stories.jsx.map +0 -1
  930. package/jsx/wss/AppShell/AppShell.styles.d.ts +0 -2
  931. package/jsx/wss/AppShell/AppShell.styles.d.ts.map +0 -1
  932. package/jsx/wss/AppShell/AppShell.styles.js +0 -5
  933. package/jsx/wss/AppShell/AppShell.styles.js.map +0 -1
  934. package/jsx/wss/CaseView/CaseView.mocks.d.ts +0 -13
  935. package/jsx/wss/CaseView/CaseView.mocks.d.ts.map +0 -1
  936. package/jsx/wss/CaseView/CaseView.mocks.jsx +0 -34
  937. package/jsx/wss/CaseView/CaseView.mocks.jsx.map +0 -1
  938. package/jsx/wss/CaseView/CaseView.stories.d.ts +0 -12
  939. package/jsx/wss/CaseView/CaseView.stories.d.ts.map +0 -1
  940. package/jsx/wss/CaseView/CaseView.stories.jsx +0 -74
  941. package/jsx/wss/CaseView/CaseView.stories.jsx.map +0 -1
  942. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts +0 -16
  943. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  944. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx +0 -47
  945. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +0 -1
  946. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +0 -11
  947. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +0 -1
  948. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx +0 -28
  949. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +0 -1
@@ -1,134 +0,0 @@
1
- import { action } from '@storybook/addon-actions';
2
- import { useState, useMemo, useEffect } from 'react';
3
- import { HierarchicalAssignments } from '@pega/cosmos-react-work';
4
- import { AIButtonFormDemo } from '../../core/AIButton/AIButton.stories';
5
- import MockHierarchicalAssignments, { task } from './HierarchicalAssignments.mock';
6
- export default {
7
- title: 'Work/HierarchicalAssignments',
8
- component: HierarchicalAssignments
9
- };
10
- export const HierarchicalAssignmentsDemo = (args) => {
11
- const [progress, setProgress] = useState(args.collapsed);
12
- const [open, setOpen] = useState(true);
13
- useEffect(() => {
14
- setOpen(args.collapsed);
15
- }, [args.collapsed]);
16
- const onToggleCollapsed = (collapsed) => {
17
- setOpen(collapsed);
18
- if (collapsed)
19
- setProgress(true);
20
- else
21
- setTimeout(() => {
22
- setProgress(false);
23
- }, 2000);
24
- };
25
- return (<MockHierarchicalAssignments name={args.name} onToggleCollapsed={onToggleCollapsed} progress={args?.progress || progress} showAction={args?.showAction} collapsed={open} showTask={args.showTask}/>);
26
- };
27
- HierarchicalAssignmentsDemo.args = {
28
- progress: false,
29
- showAction: true,
30
- collapsed: false,
31
- showTask: false,
32
- name: 'Hierarchical Assignments'
33
- };
34
- HierarchicalAssignmentsDemo.argTypes = {
35
- progress: { control: { type: 'boolean' } },
36
- showAction: { control: { type: 'boolean' } },
37
- name: { control: { type: 'text' } },
38
- showTask: { control: { type: 'boolean' } },
39
- collapsed: { control: { type: 'boolean' } }
40
- };
41
- export const HierarchicalAssignmentListDemo = (args) => {
42
- const [taskOpened, setTaskOpened] = useState();
43
- const [progress, setProgress] = useState(args.collapsed);
44
- const [open, setOpen] = useState(true);
45
- useEffect(() => {
46
- setOpen(args.collapsed);
47
- }, [args.collapsed]);
48
- const getTask = (id) => {
49
- return {
50
- ...task,
51
- id,
52
- name: `Task ${id}`,
53
- content: (<AIButtonFormDemo onCancel={() => setTaskOpened(undefined)} onSubmit={() => setTaskOpened(undefined)}/>)
54
- };
55
- };
56
- const onToggleCollapsed = (collapsed) => {
57
- setOpen(collapsed);
58
- if (collapsed)
59
- setProgress(true);
60
- else
61
- setTimeout(() => {
62
- setProgress(false);
63
- }, 2000);
64
- };
65
- const onAssigneeClick = (id) => {
66
- action(`Show Assignee's Profile (${id})`)();
67
- };
68
- const getAssignmentContent = (id) => {
69
- setTaskOpened(getTask(id));
70
- };
71
- useEffect(() => {
72
- if (args.showTask) {
73
- getAssignmentContent('Assignment');
74
- }
75
- else {
76
- setTaskOpened(undefined);
77
- }
78
- }, [args.showTask]);
79
- const HierarchicalAssignmentsListMock = useMemo(() => {
80
- const assignmentAction = args.showAction ? { onOpen: getAssignmentContent } : {};
81
- return {
82
- assignments: [
83
- {
84
- id: 'ASSIGN-WORKLIST LOANPROC-WORK S-69001!SUBCASELEVEL11_FLOW_1_New45',
85
- processName: 'Develop',
86
- name: 'Complete Develop',
87
- sla: '2025-04-21T10:56:27.000Z',
88
- urgency: 95,
89
- assigneeName: 'Una Newton',
90
- assigneeId: 'una01',
91
- onAssigneeClick,
92
- ...assignmentAction
93
- },
94
- {
95
- id: 'ASSIGN-WORKLIST LOANPROC-WORK S-69001!SUBCASELEVEL11_FLOW_1_New45-1',
96
- name: 'Collect information',
97
- processName: 'Sprinting',
98
- sla: '2025-04-21T10:56:27.000Z',
99
- urgency: 95,
100
- assigneeName: 'Una Newton',
101
- assigneeId: 'una01',
102
- onAssigneeClick,
103
- ...assignmentAction
104
- },
105
- {
106
- id: 'ASSIGN-WORKLIST LOANPROC-WORK S-69001!SUBCASELEVEL11_FLOW_1_New45-2',
107
- name: 'Send references',
108
- sla: '2025-04-21T10:56:27.000Z',
109
- urgency: 95,
110
- assigneeName: 'Una Newton',
111
- assigneeId: 'una01',
112
- onAssigneeClick,
113
- ...assignmentAction
114
- }
115
- ]
116
- };
117
- }, [args.showAction]);
118
- return (<HierarchicalAssignments assignments={HierarchicalAssignmentsListMock.assignments} collapsed={open} onToggleCollapsed={onToggleCollapsed} openItem={taskOpened} progress={args?.progress || progress} name={args.name}/>);
119
- };
120
- HierarchicalAssignmentListDemo.args = {
121
- progress: false,
122
- showAction: true,
123
- name: 'Assignment List',
124
- collapsed: false,
125
- showTask: false
126
- };
127
- HierarchicalAssignmentListDemo.argTypes = {
128
- progress: { control: { type: 'boolean' } },
129
- showAction: { control: { type: 'boolean' } },
130
- name: { control: { type: 'text' } },
131
- collapsed: { control: { type: 'boolean' } },
132
- showTask: { control: { type: 'boolean' } }
133
- };
134
- //# sourceMappingURL=HierarchicalAssignments.stories.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HierarchicalAssignments.stories.jsx","sourceRoot":"","sources":["../../../src/work/HierarchicalAssignments/HierarchicalAssignments.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD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AAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC5C,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACnC,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC3C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC3C,CAAC","sourcesContent":["/* eslint-disable demo-patterns/direct-args-reference */\nimport type { Meta, StoryFn } from '@storybook/react';\nimport { action } from '@storybook/addon-actions';\nimport { useState, useMemo, useEffect } from 'react';\n\nimport { HierarchicalAssignments } from '@pega/cosmos-react-work';\nimport type { TaskItemProps, AssignmentProps } from '@pega/cosmos-react-work';\n\nimport { AIButtonFormDemo } from '../../core/AIButton/AIButton.stories';\n\nimport MockHierarchicalAssignments, { task } from './HierarchicalAssignments.mock';\n\nexport default {\n title: 'Work/HierarchicalAssignments',\n component: HierarchicalAssignments\n} as Meta;\n\ninterface HierarchicalAssignmentsProps {\n progress?: boolean;\n showAction?: boolean;\n name?: string;\n collapsed: boolean;\n showTask?: boolean;\n}\n\nexport const HierarchicalAssignmentsDemo: StoryFn<HierarchicalAssignmentsProps> = (\n args: HierarchicalAssignmentsProps\n) => {\n const [progress, setProgress] = useState(args.collapsed);\n const [open, setOpen] = useState<boolean>(true);\n\n useEffect(() => {\n setOpen(args.collapsed);\n }, [args.collapsed]);\n\n const onToggleCollapsed = (collapsed: boolean) => {\n setOpen(collapsed);\n if (collapsed) setProgress(true);\n else\n setTimeout(() => {\n setProgress(false);\n }, 2000);\n };\n\n return (\n <MockHierarchicalAssignments\n name={args.name}\n onToggleCollapsed={onToggleCollapsed}\n progress={args?.progress || progress}\n showAction={args?.showAction}\n collapsed={open}\n showTask={args.showTask}\n />\n );\n};\n\nHierarchicalAssignmentsDemo.args = {\n progress: false,\n showAction: true,\n collapsed: false,\n showTask: false,\n name: 'Hierarchical Assignments'\n};\n\nHierarchicalAssignmentsDemo.argTypes = {\n progress: { control: { type: 'boolean' } },\n showAction: { control: { type: 'boolean' } },\n name: { control: { type: 'text' } },\n showTask: { control: { type: 'boolean' } },\n collapsed: { control: { type: 'boolean' } }\n};\n\nexport const HierarchicalAssignmentListDemo: StoryFn<HierarchicalAssignmentsProps> = (\n args: HierarchicalAssignmentsProps\n) => {\n const [taskOpened, setTaskOpened] = useState<TaskItemProps>();\n const [progress, setProgress] = useState(args.collapsed);\n const [open, setOpen] = useState<boolean>(true);\n\n useEffect(() => {\n setOpen(args.collapsed);\n }, [args.collapsed]);\n\n const getTask = (id: string) => {\n return {\n ...task,\n id,\n name: `Task ${id}`,\n content: (\n <AIButtonFormDemo\n onCancel={() => setTaskOpened(undefined)}\n onSubmit={() => setTaskOpened(undefined)}\n />\n )\n };\n };\n\n const onToggleCollapsed = (collapsed: boolean) => {\n setOpen(collapsed);\n if (collapsed) setProgress(true);\n else\n setTimeout(() => {\n setProgress(false);\n }, 2000);\n };\n\n const onAssigneeClick = (id: AssignmentProps['assigneeId']) => {\n action(`Show Assignee's Profile (${id})`)();\n };\n\n const getAssignmentContent = (id: AssignmentProps['id']) => {\n setTaskOpened(getTask(id));\n };\n\n useEffect(() => {\n if (args.showTask) {\n getAssignmentContent('Assignment');\n } else {\n setTaskOpened(undefined);\n }\n }, [args.showTask]);\n\n const HierarchicalAssignmentsListMock = useMemo(() => {\n const assignmentAction = args.showAction ? { onOpen: getAssignmentContent } : {};\n return {\n assignments: [\n {\n id: 'ASSIGN-WORKLIST LOANPROC-WORK S-69001!SUBCASELEVEL11_FLOW_1_New45',\n processName: 'Develop',\n name: 'Complete Develop',\n sla: '2025-04-21T10:56:27.000Z',\n urgency: 95,\n assigneeName: 'Una Newton',\n assigneeId: 'una01',\n onAssigneeClick,\n ...assignmentAction\n },\n {\n id: 'ASSIGN-WORKLIST LOANPROC-WORK S-69001!SUBCASELEVEL11_FLOW_1_New45-1',\n name: 'Collect information',\n processName: 'Sprinting',\n sla: '2025-04-21T10:56:27.000Z',\n urgency: 95,\n assigneeName: 'Una Newton',\n assigneeId: 'una01',\n onAssigneeClick,\n ...assignmentAction\n },\n {\n id: 'ASSIGN-WORKLIST LOANPROC-WORK S-69001!SUBCASELEVEL11_FLOW_1_New45-2',\n name: 'Send references',\n sla: '2025-04-21T10:56:27.000Z',\n urgency: 95,\n assigneeName: 'Una Newton',\n assigneeId: 'una01',\n onAssigneeClick,\n ...assignmentAction\n }\n ]\n };\n }, [args.showAction]);\n return (\n <HierarchicalAssignments\n assignments={HierarchicalAssignmentsListMock.assignments}\n collapsed={open}\n onToggleCollapsed={onToggleCollapsed}\n openItem={taskOpened}\n progress={args?.progress || progress}\n name={args.name}\n />\n );\n};\n\nHierarchicalAssignmentListDemo.args = {\n progress: false,\n showAction: true,\n name: 'Assignment List',\n collapsed: false,\n showTask: false\n};\n\nHierarchicalAssignmentListDemo.argTypes = {\n progress: { control: { type: 'boolean' } },\n showAction: { control: { type: 'boolean' } },\n name: { control: { type: 'text' } },\n collapsed: { control: { type: 'boolean' } },\n showTask: { control: { type: 'boolean' } }\n};\n"]}
@@ -1,5 +0,0 @@
1
- import type { StoryFn } from '@storybook/react';
2
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/dist/types-a5624094").ReactRenderer, import("@storybook/csf").Args>;
3
- export default _default;
4
- export declare const IntelligentGuidanceDemo: StoryFn;
5
- //# sourceMappingURL=IntelligentGuidance.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IntelligentGuidance.stories.d.ts","sourceRoot":"","sources":["../../../src/work/IntelligentGuidance/IntelligentGuidance.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;;AAStD,wBAMU;AAEV,eAAO,MAAM,uBAAuB,EAAE,OAoHrC,CAAC"}
@@ -1,115 +0,0 @@
1
- import { useState } from 'react';
2
- import { registerIcon } from '@pega/cosmos-react-core';
3
- import { IntelligentGuidance } from '@pega/cosmos-react-work';
4
- import * as userSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/user-solid.icon';
5
- registerIcon(userSolidIcon);
6
- export default {
7
- title: 'Work/IntelligentGuidance',
8
- component: IntelligentGuidance,
9
- parameters: {
10
- layout: 'fullscreen'
11
- }
12
- };
13
- export const IntelligentGuidanceDemo = () => {
14
- const [previousItems, setPreviousItems] = useState([]);
15
- const [currentItems, setCurrentItems] = useState([
16
- {
17
- id: '1',
18
- label: 'Change address',
19
- icon: 'clipboard',
20
- type: 'Task',
21
- onDismiss: () => {
22
- const currentItem = currentItems.find(item => item.id === '1');
23
- if (currentItem) {
24
- setPreviousItems(prevItems => [
25
- ...prevItems,
26
- {
27
- ...currentItem,
28
- new: false,
29
- onDismiss: undefined
30
- }
31
- ]);
32
- }
33
- setCurrentItems(prevItems => prevItems.filter(item => item.id !== '1'));
34
- },
35
- onClick: () => { }
36
- },
37
- {
38
- id: '2',
39
- label: 'Update contact profile',
40
- icon: 'polaris',
41
- type: 'Knowledge Article',
42
- onClick: () => {
43
- setCurrentItems(prevItems => prevItems.map(item => (item.id === '2' ? { ...item, new: false } : item)));
44
- },
45
- onDismiss: () => {
46
- const currentItem = currentItems.find(item => item.id === '2');
47
- if (currentItem) {
48
- setPreviousItems(prevItems => [
49
- ...prevItems,
50
- {
51
- ...currentItem,
52
- new: false,
53
- onDismiss: undefined
54
- }
55
- ]);
56
- }
57
- setCurrentItems(prevItems => prevItems.filter(item => item.id !== '2'));
58
- },
59
- new: true
60
- },
61
- {
62
- id: '3',
63
- label: 'Task suggestion',
64
- icon: 'polaris',
65
- type: 'Reason detected',
66
- onClick: () => {
67
- setCurrentItems(prevItems => prevItems.map(item => (item.id === '3' ? { ...item, new: false } : item)));
68
- },
69
- onDismiss: () => {
70
- const currentItem = currentItems.find(item => item.id === '3');
71
- if (currentItem) {
72
- setPreviousItems(prevItems => [
73
- ...prevItems,
74
- {
75
- ...currentItem,
76
- new: false,
77
- onDismiss: undefined
78
- }
79
- ]);
80
- }
81
- setCurrentItems(prevItems => prevItems.filter(item => item.id !== '3'));
82
- },
83
- new: true
84
- },
85
- {
86
- id: '4',
87
- label: 'Demo item',
88
- icon: 'polaris',
89
- type: 'Demo',
90
- onClick: () => {
91
- setCurrentItems(prevItems => prevItems.map(item => (item.id === '4' ? { ...item, new: false } : item)));
92
- },
93
- onDismiss: () => {
94
- const currentItem = currentItems.find(item => item.id === '4');
95
- if (currentItem) {
96
- setPreviousItems(prevItems => [
97
- ...prevItems,
98
- {
99
- ...currentItem,
100
- new: false,
101
- onDismiss: undefined
102
- }
103
- ]);
104
- }
105
- setCurrentItems(prevItems => prevItems.filter(item => item.id !== '4'));
106
- },
107
- new: true
108
- }
109
- ]);
110
- const [isCollapsed, setIsCollapsed] = useState(true);
111
- return (<IntelligentGuidance items={currentItems} previousItems={previousItems} heading='Suggested actions' isCollapsed={isCollapsed} onExpandCollapse={() => {
112
- setIsCollapsed(prevState => !prevState);
113
- }}/>);
114
- };
115
- //# sourceMappingURL=IntelligentGuidance.stories.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IntelligentGuidance.stories.jsx","sourceRoot":"","sources":["../../../src/work/IntelligentGuidance/IntelligentGuidance.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,KAAK,aAAa,MAAM,mEAAmE,CAAC;AAEnG,YAAY,CAAC,aAAa,CAAC,CAAC;AAE5B,eAAe;IACb,KAAK,EAAE,0BAA0B;IACjC,SAAS,EAAE,mBAAmB;IAC9B,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACM,CAAC;AAEV,MAAM,CAAC,MAAM,uBAAuB,GAAY,GAAG,EAAE;IACnD,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,CAAC,CAC7B,OAAO,CAAC,mBAAmB,CAC3B,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,gBAAgB,CAAC,CAAC,GAAG,EAAE;YACrB,cAAc,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC;QAC1C,CAAC,CAAC,EACF,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useState } from 'react';\nimport type { Meta, StoryFn } from '@storybook/react';\n\nimport { registerIcon } from '@pega/cosmos-react-core';\nimport { IntelligentGuidance } from '@pega/cosmos-react-work';\nimport type { IntelligentGuidanceProps } from '@pega/cosmos-react-work';\nimport * as userSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/user-solid.icon';\n\nregisterIcon(userSolidIcon);\n\nexport default {\n title: 'Work/IntelligentGuidance',\n component: IntelligentGuidance,\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\nexport const IntelligentGuidanceDemo: StoryFn = () => {\n const [previousItems, setPreviousItems] = useState<IntelligentGuidanceProps['items']>([]);\n const [currentItems, setCurrentItems] = useState<IntelligentGuidanceProps['items']>([\n {\n id: '1',\n label: 'Change address',\n icon: 'clipboard',\n type: 'Task',\n onDismiss: () => {\n const currentItem = currentItems.find(item => item.id === '1');\n if (currentItem) {\n setPreviousItems(prevItems => [\n ...prevItems,\n {\n ...currentItem,\n new: false,\n onDismiss: undefined\n }\n ]);\n }\n setCurrentItems(prevItems => prevItems.filter(item => item.id !== '1'));\n },\n onClick: () => {}\n },\n {\n id: '2',\n label: 'Update contact profile',\n icon: 'polaris',\n type: 'Knowledge Article',\n onClick: () => {\n setCurrentItems(prevItems =>\n prevItems.map(item => (item.id === '2' ? { ...item, new: false } : item))\n );\n },\n onDismiss: () => {\n const currentItem = currentItems.find(item => item.id === '2');\n if (currentItem) {\n setPreviousItems(prevItems => [\n ...prevItems,\n {\n ...currentItem,\n new: false,\n onDismiss: undefined\n }\n ]);\n }\n setCurrentItems(prevItems => prevItems.filter(item => item.id !== '2'));\n },\n new: true\n },\n {\n id: '3',\n label: 'Task suggestion',\n icon: 'polaris',\n type: 'Reason detected',\n onClick: () => {\n setCurrentItems(prevItems =>\n prevItems.map(item => (item.id === '3' ? { ...item, new: false } : item))\n );\n },\n onDismiss: () => {\n const currentItem = currentItems.find(item => item.id === '3');\n if (currentItem) {\n setPreviousItems(prevItems => [\n ...prevItems,\n {\n ...currentItem,\n new: false,\n onDismiss: undefined\n }\n ]);\n }\n setCurrentItems(prevItems => prevItems.filter(item => item.id !== '3'));\n },\n new: true\n },\n {\n id: '4',\n label: 'Demo item',\n icon: 'polaris',\n type: 'Demo',\n onClick: () => {\n setCurrentItems(prevItems =>\n prevItems.map(item => (item.id === '4' ? { ...item, new: false } : item))\n );\n },\n onDismiss: () => {\n const currentItem = currentItems.find(item => item.id === '4');\n if (currentItem) {\n setPreviousItems(prevItems => [\n ...prevItems,\n {\n ...currentItem,\n new: false,\n onDismiss: undefined\n }\n ]);\n }\n setCurrentItems(prevItems => prevItems.filter(item => item.id !== '4'));\n },\n new: true\n }\n ]);\n const [isCollapsed, setIsCollapsed] = useState(true);\n\n return (\n <IntelligentGuidance\n items={currentItems}\n previousItems={previousItems}\n heading='Suggested actions'\n isCollapsed={isCollapsed}\n onExpandCollapse={() => {\n setIsCollapsed(prevState => !prevState);\n }}\n />\n );\n};\n"]}
@@ -1,12 +0,0 @@
1
- import type { StoryFn } from '@storybook/react';
2
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/dist/types-a5624094").ReactRenderer, import("@storybook/csf").Args>;
3
- export default _default;
4
- export interface InteractionNotificationDemoProps {
5
- icon: string;
6
- secondaryText: string;
7
- acceptAvailable: boolean;
8
- timerAvailable: boolean;
9
- answerTimeout: number;
10
- }
11
- export declare const InteractionNotificationDemo: StoryFn<InteractionNotificationDemoProps>;
12
- //# sourceMappingURL=InteractionNotification.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InteractionNotification.stories.d.ts","sourceRoot":"","sources":["../../../src/work/InteractionNotification/InteractionNotification.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;;AAMtD,wBAGU;AAEV,MAAM,WAAW,gCAAgC;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,2BAA2B,EAAE,OAAO,CAAC,gCAAgC,CA+CjF,CAAC"}
@@ -1,54 +0,0 @@
1
- import { action } from '@storybook/addon-actions';
2
- import { useRef } from 'react';
3
- import { icons, useI18n, useToaster } from '@pega/cosmos-react-core';
4
- import { InteractionNotification } from '@pega/cosmos-react-work';
5
- export default {
6
- title: 'Work/InteractionNotification',
7
- component: InteractionNotification
8
- };
9
- export const InteractionNotificationDemo = (args) => {
10
- const incomingNotificationTimeout = useRef(Date.now());
11
- const { push } = useToaster();
12
- const t = useI18n();
13
- return (<InteractionNotification icon={args.icon} title={args.acceptAvailable ? 'Incoming call' : 'Abandoned call'} primaryText='John Brown' secondaryText={args.secondaryText} status={{
14
- variant: 'success',
15
- text: 'VERIFIED PLATINUM CUSTOMER'
16
- }} fields={[
17
- {
18
- id: 'reason',
19
- name: 'Reason for calling',
20
- value: 'Billing question'
21
- },
22
- {
23
- id: 'openCases',
24
- name: 'Open cases',
25
- value: '1'
26
- },
27
- {
28
- id: 'lastInteraction',
29
- name: 'Last interaction',
30
- value: new Date().toLocaleDateString()
31
- }
32
- ]} incomingNotificationTimeout={args.timerAvailable
33
- ? {
34
- startTime: incomingNotificationTimeout.current,
35
- answerTimeout: args.answerTimeout,
36
- onTimerEnd: () => push({ content: t('interaction_time_expired') })
37
- }
38
- : undefined} onAccept={args.acceptAvailable ? action('accept') : undefined} onDismiss={action('dismiss')}/>);
39
- };
40
- InteractionNotificationDemo.args = {
41
- icon: 'phone-in-solid',
42
- secondaryText: '(123) 456-7890',
43
- acceptAvailable: true,
44
- timerAvailable: true,
45
- answerTimeout: 30
46
- };
47
- InteractionNotificationDemo.argTypes = {
48
- icon: { options: [...icons], control: { type: 'select', icons: true } },
49
- secondaryText: { control: { type: 'text' } },
50
- acceptAvailable: { control: { type: 'boolean' } },
51
- timerAvailable: { control: { type: 'boolean' } },
52
- answerTimeout: { control: { type: 'number' } }
53
- };
54
- //# sourceMappingURL=InteractionNotification.stories.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InteractionNotification.stories.jsx","sourceRoot":"","sources":["../../../src/work/InteractionNotification/InteractionNotification.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAElE,eAAe;IACb,KAAK,EAAE,8BAA8B;IACrC,SAAS,EAAE,uBAAuB;CAC3B,CAAC;AAUV,MAAM,CAAC,MAAM,2BAA2B,GAA8C,CACpF,IAAsC,EACtC,EAAE;IACF,MAAM,2BAA2B,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvD,MAAM,EAAE,IAAI,EAAE,GAAG,UAAU,EAAE,CAAC;IAC9B,MAAM,CAAC,GAAG,OAAO,EAAE,CAAC;IAEpB,OAAO,CACL,CAAC,uBAAuB,CACtB,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAChB,KAAK,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,gBAAgB,CAAC,CACjE,WAAW,CAAC,YAAY,CACxB,aAAa,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAClC,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AAE,EAAE;IACvE,aAAa,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC5C,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACjD,cAAc,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAChD,aAAa,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CAC/C,CAAC","sourcesContent":["import { action } from '@storybook/addon-actions';\nimport type { Meta, StoryFn } from '@storybook/react';\nimport { useRef } from 'react';\n\nimport { icons, useI18n, useToaster } from '@pega/cosmos-react-core';\nimport { InteractionNotification } from '@pega/cosmos-react-work';\n\nexport default {\n title: 'Work/InteractionNotification',\n component: InteractionNotification\n} as Meta;\n\nexport interface InteractionNotificationDemoProps {\n icon: string;\n secondaryText: string;\n acceptAvailable: boolean;\n timerAvailable: boolean;\n answerTimeout: number;\n}\n\nexport const InteractionNotificationDemo: StoryFn<InteractionNotificationDemoProps> = (\n args: InteractionNotificationDemoProps\n) => {\n const incomingNotificationTimeout = useRef(Date.now());\n const { push } = useToaster();\n const t = useI18n();\n\n return (\n <InteractionNotification\n icon={args.icon}\n title={args.acceptAvailable ? 'Incoming call' : 'Abandoned call'}\n primaryText='John Brown'\n secondaryText={args.secondaryText}\n status={{\n variant: 'success',\n text: 'VERIFIED PLATINUM CUSTOMER'\n }}\n fields={[\n {\n id: 'reason',\n name: 'Reason for calling',\n value: 'Billing question'\n },\n {\n id: 'openCases',\n name: 'Open cases',\n value: '1'\n },\n {\n id: 'lastInteraction',\n name: 'Last interaction',\n value: new Date().toLocaleDateString()\n }\n ]}\n incomingNotificationTimeout={\n args.timerAvailable\n ? {\n startTime: incomingNotificationTimeout.current,\n answerTimeout: args.answerTimeout,\n onTimerEnd: () => push({ content: t('interaction_time_expired') })\n }\n : undefined\n }\n onAccept={args.acceptAvailable ? action('accept') : undefined}\n onDismiss={action('dismiss')}\n />\n );\n};\n\nInteractionNotificationDemo.args = {\n icon: 'phone-in-solid',\n secondaryText: '(123) 456-7890',\n acceptAvailable: true,\n timerAvailable: true,\n answerTimeout: 30\n};\n\nInteractionNotificationDemo.argTypes = {\n icon: { options: [...icons], control: { type: 'select', icons: true } },\n secondaryText: { control: { type: 'text' } },\n acceptAvailable: { control: { type: 'boolean' } },\n timerAvailable: { control: { type: 'boolean' } },\n answerTimeout: { control: { type: 'number' } }\n};\n"]}
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const FraudRiskRenderer: () => import("react").JSX.Element;
3
- //# sourceMappingURL=Predictions.mocks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Predictions.mocks.d.ts","sourceRoot":"","sources":["../../../src/work/Predictions/Predictions.mocks.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,iBAAiB,mCAiB7B,CAAC"}
@@ -1,18 +0,0 @@
1
- import { Flex, Text } from '@pega/cosmos-react-core';
2
- export const FraudRiskRenderer = () => {
3
- return (<Flex container={{ direction: 'column', gap: 2 }}>
4
- <Flex container={{ direction: 'column', gap: 0.5 }}>
5
- <Text variant='secondary'>Fraud risk</Text>
6
- <Text variant='h3'>76%</Text>
7
- </Flex>
8
- <Text variant='secondary'>65% average</Text>
9
- <Text as='p'>
10
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
11
- labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
12
- laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
13
- voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
14
- cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
15
- </Text>
16
- </Flex>);
17
- };
18
- //# sourceMappingURL=Predictions.mocks.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Predictions.mocks.jsx","sourceRoot":"","sources":["../../../src/work/Predictions/Predictions.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAErD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACpC,OAAO,CACL,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAC/C;MAAA,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CACjD;QAAA,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,UAAU,EAAE,IAAI,CAC1C;QAAA,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAC9B;MAAA,EAAE,IAAI,CACN;MAAA,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,WAAW,EAAE,IAAI,CAC3C;MAAA,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CACV;;;;;;MAKF,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Flex, Text } from '@pega/cosmos-react-core';\n\nexport const FraudRiskRenderer = () => {\n return (\n <Flex container={{ direction: 'column', gap: 2 }}>\n <Flex container={{ direction: 'column', gap: 0.5 }}>\n <Text variant='secondary'>Fraud risk</Text>\n <Text variant='h3'>76%</Text>\n </Flex>\n <Text variant='secondary'>65% average</Text>\n <Text as='p'>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut\n labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco\n laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in\n voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat\n cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n </Text>\n </Flex>\n );\n};\n"]}
@@ -1,5 +0,0 @@
1
- import type { StoryFn } from '@storybook/react';
2
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/dist/types-a5624094").ReactRenderer, import("@storybook/csf").Args>;
3
- export default _default;
4
- export declare const PredictionsDemo: StoryFn;
5
- //# sourceMappingURL=Predictions.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Predictions.stories.d.ts","sourceRoot":"","sources":["../../../src/work/Predictions/Predictions.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;;AAStD,wBAGU;AAEV,eAAO,MAAM,eAAe,EAAE,OAmD7B,CAAC"}
@@ -1,53 +0,0 @@
1
- import { useCallback, useEffect, useState } from 'react';
2
- import { Predictions } from '@pega/cosmos-react-work';
3
- import { formatNumber, useConfiguration } from '@pega/cosmos-react-core';
4
- import { FraudRiskRenderer } from './Predictions.mocks';
5
- export default {
6
- title: 'Work/Predictions',
7
- component: Predictions
8
- };
9
- export const PredictionsDemo = () => {
10
- const { locale } = useConfiguration();
11
- const getFormattedPercentage = useCallback((value) => formatNumber(value, {
12
- locale,
13
- options: {
14
- style: 'unit',
15
- unit: 'percent'
16
- }
17
- }), []);
18
- const [predictionsItems, setPredictionsItems] = useState([
19
- {
20
- id: '1',
21
- label: 'Fraud risk',
22
- value: getFormattedPercentage(76),
23
- additionalInfo: <FraudRiskRenderer />
24
- },
25
- {
26
- id: '2',
27
- label: 'Predict the likehood of case completion',
28
- value: getFormattedPercentage(73)
29
- },
30
- {
31
- id: '3',
32
- label: 'Probability to churn',
33
- value: getFormattedPercentage(82)
34
- }
35
- ]);
36
- useEffect(() => {
37
- const timeout = setTimeout(() => {
38
- if (predictionsItems.length < 4) {
39
- setPredictionsItems([
40
- ...predictionsItems,
41
- {
42
- id: '4',
43
- label: 'Risk of missing SLA',
44
- value: getFormattedPercentage(19)
45
- }
46
- ]);
47
- }
48
- }, 3000);
49
- return () => clearTimeout(timeout);
50
- }, [predictionsItems, getFormattedPercentage]);
51
- return <Predictions count={predictionsItems.length} items={predictionsItems}/>;
52
- };
53
- //# sourceMappingURL=Predictions.stories.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Predictions.stories.jsx","sourceRoot":"","sources":["../../../src/work/Predictions/Predictions.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAGzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAe;IACb,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,WAAW;CACf,CAAC;AAEV,MAAM,CAAC,MAAM,eAAe,GAAY,GAAG,EAAE;IAC3C,MAAM,EAAE,MAAM,EAAE,GAAG,gBAAgB,EAAE,CAAC;IAEtC,MAAM,sBAAsB,GAAG,WAAW,CACxC,CAAC,KAAa,EAAE,EAAE,CAChB,YAAY,CAAC,KAAK,EAAE;QAClB,MAAM;QACN,OAAO,EAAE;YACP,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,SAAS;SAChB;KACF,CAAC,EACJ,EAAE,CACH,CAAC;IAEF,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAmB;QACzE;YACE,EAAE,EAAE,GAAG;YACP,KAAK,EAAE,YAAY;YACnB,KAAK,EAAE,sBAAsB,CAAC,EAAE,CAAC;YACjC,cAAc,EAAE,CAAC,iBAAiB,CAAC,AAAD,EAAG;SACtC;QACD;YACE,EAAE,EAAE,GAAG;YACP,KAAK,EAAE,yCAAyC;YAChD,KAAK,EAAE,sBAAsB,CAAC,EAAE,CAAC;SAClC;QACD;YACE,EAAE,EAAE,GAAG;YACP,KAAK,EAAE,sBAAsB;YAC7B,KAAK,EAAE,sBAAsB,CAAC,EAAE,CAAC;SAClC;KACF,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,OAAO,GAAG,UAAU,CAAC,GAAG,EAAE;YAC9B,IAAI,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE;gBAC/B,mBAAmB,CAAC;oBAClB,GAAG,gBAAgB;oBACnB;wBACE,EAAE,EAAE,GAAG;wBACP,KAAK,EAAE,qBAAqB;wBAC5B,KAAK,EAAE,sBAAsB,CAAC,EAAE,CAAC;qBAClC;iBACF,CAAC,CAAC;aACJ;QACH,CAAC,EAAE,IAAI,CAAC,CAAC;QACT,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC,EAAE,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,CAAC,CAAC;IAE/C,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,gBAAgB,CAAC,EAAG,CAAC;AAClF,CAAC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useCallback, useEffect, useState } from 'react';\n\nimport { Predictions } from '@pega/cosmos-react-work';\nimport { formatNumber, useConfiguration } from '@pega/cosmos-react-core';\nimport type { PredictionItem } from '@pega/cosmos-react-work/lib/components/Predictions/Predictions.types';\n\nimport { FraudRiskRenderer } from './Predictions.mocks';\n\nexport default {\n title: 'Work/Predictions',\n component: Predictions\n} as Meta;\n\nexport const PredictionsDemo: StoryFn = () => {\n const { locale } = useConfiguration();\n\n const getFormattedPercentage = useCallback(\n (value: number) =>\n formatNumber(value, {\n locale,\n options: {\n style: 'unit',\n unit: 'percent'\n }\n }),\n []\n );\n\n const [predictionsItems, setPredictionsItems] = useState<PredictionItem[]>([\n {\n id: '1',\n label: 'Fraud risk',\n value: getFormattedPercentage(76),\n additionalInfo: <FraudRiskRenderer />\n },\n {\n id: '2',\n label: 'Predict the likehood of case completion',\n value: getFormattedPercentage(73)\n },\n {\n id: '3',\n label: 'Probability to churn',\n value: getFormattedPercentage(82)\n }\n ]);\n\n useEffect(() => {\n const timeout = setTimeout(() => {\n if (predictionsItems.length < 4) {\n setPredictionsItems([\n ...predictionsItems,\n {\n id: '4',\n label: 'Risk of missing SLA',\n value: getFormattedPercentage(19)\n }\n ]);\n }\n }, 3000);\n return () => clearTimeout(timeout);\n }, [predictionsItems, getFormattedPercentage]);\n\n return <Predictions count={predictionsItems.length} items={predictionsItems} />;\n};\n"]}
@@ -1,14 +0,0 @@
1
- import type { Dispatch, SetStateAction } from 'react';
2
- import type { OmitStrict } from '@pega/cosmos-react-core';
3
- import type { SearchResultProps, SearchResultsProps } from '@pega/cosmos-react-work';
4
- type ResultMeta = OmitStrict<SearchResultProps, 'link'>;
5
- export declare const searchResults: {
6
- id: string;
7
- title: string;
8
- description: string;
9
- meta: (string | Date)[];
10
- }[];
11
- export declare const getInitialResults: (setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>, setPreviewTabId: Dispatch<SetStateAction<string | undefined>>) => SearchResultProps[];
12
- export declare const initialFilters: SearchResultsProps['filters'];
13
- export {};
14
- //# sourceMappingURL=SearchResults.mocks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchResults.mocks.d.ts","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAKrF,KAAK,UAAU,GAAG,UAAU,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;AAiBxD,eAAO,MAAM,aAAa;;;;;GAqCzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,eAChB,SAAS,eAAe,UAAU,GAAG,SAAS,CAAC,CAAC,mBAC3C,SAAS,eAAe,MAAM,GAAG,SAAS,CAAC,CAAC,KAC5D,iBAAiB,EAOnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAAkB,CAAC,SAAS,CAqCxD,CAAC"}
@@ -1,97 +0,0 @@
1
- import { Status } from '@pega/cosmos-react-core';
2
- 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.';
3
- const getResultLink = (result, setPreview, setPreviewTabId) => {
4
- return {
5
- href: `projects/${result.id}`,
6
- previewable: true,
7
- onPreview: () => {
8
- setPreview(result);
9
- setPreviewTabId(`summary-${result.id}`);
10
- }
11
- };
12
- };
13
- export const searchResults = [
14
- {
15
- id: 'PROJ-300',
16
- title: 'The Art of Building Beautiful Demos',
17
- description,
18
- meta: ['Completed', 'Low priority', new Date('01/01/21')]
19
- },
20
- {
21
- id: 'PROJ-123',
22
- title: 'Be Single Minded',
23
- description,
24
- meta: ['Blocked', 'Medium priority', new Date('12/31/20')]
25
- },
26
- {
27
- id: 'PROJ-456',
28
- title: 'Differentiate Yourself and Attract More Attention Sales and Profits',
29
- description,
30
- meta: ['Pending', 'High priority', new Date('12/01/20')]
31
- },
32
- {
33
- id: 'PROJ-789',
34
- title: 'Importance of the Custom Test',
35
- description,
36
- meta: ['Completed', 'Medium priority', new Date('01/01/21 08:00:00')]
37
- },
38
- {
39
- id: 'PROJ-100',
40
- title: 'Improve Your Business Cards and Enhance Your Sales',
41
- description,
42
- meta: ['Ready', 'High priority', new Date('12/31/20')]
43
- },
44
- {
45
- id: 'PROJ-200',
46
- title: 'How to Write Better Advertising',
47
- description,
48
- meta: ['Ready', 'Low priority', new Date('12/25/20')]
49
- }
50
- ];
51
- export const getInitialResults = (setPreview, setPreviewTabId) => {
52
- return searchResults.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: <Status variant='urgent'>Blocked</Status>,
67
- checked: false,
68
- name: 'Blocked'
69
- },
70
- {
71
- id: 'pending',
72
- label: <Status variant='pending'>Pending</Status>,
73
- checked: false,
74
- name: 'Pending'
75
- },
76
- { id: 'ready', label: <Status variant='info'>Ready</Status>, checked: false, name: 'Ready' },
77
- {
78
- id: 'completed',
79
- label: <Status variant='success'>Completed</Status>,
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.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchResults.mocks.jsx","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.mocks.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAIjD,MAAM,WAAW,GACf,kXAAkX,CAAC;AAIrX,MAAM,aAAa,GAAG,CACpB,MAAkB,EAClB,UAA4D,EAC5D,eAA6D,EAC7D,EAAE;IACF,OAAO;QACL,IAAI,EAAE,YAAY,MAAM,CAAC,EAAE,EAAE;QAC7B,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,GAAG,EAAE;YACd,UAAU,CA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AK,EAAE,IAAI,EAAE,WAAW,EAAE;YAC1E,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,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 type { Dispatch, SetStateAction } from 'react';\n\nimport { Status } from '@pega/cosmos-react-core';\nimport type { OmitStrict } from '@pega/cosmos-react-core';\nimport type { SearchResultProps, SearchResultsProps } from '@pega/cosmos-react-work';\n\nconst description =\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec semper, arcu eu sodales accumsan, ante purus fermentum dolor, ac convallis urna nisl eget lectus. Vivamus ut neque et turpis posuere pharetra imperdiet id augue. Nullam porta venenatis pharetra. Donec hendrerit, dolor eleifend vulputate tristique, dui dolor consequat ante, a vestibulum mi neque in purus.';\n\ntype ResultMeta = OmitStrict<SearchResultProps, 'link'>;\n\nconst getResultLink = (\n result: ResultMeta,\n setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>,\n setPreviewTabId: Dispatch<SetStateAction<string | undefined>>\n) => {\n return {\n href: `projects/${result.id}`,\n previewable: true,\n onPreview: () => {\n setPreview(result);\n setPreviewTabId(`summary-${result.id}`);\n }\n };\n};\n\nexport const searchResults = [\n {\n id: 'PROJ-300',\n title: 'The Art of Building Beautiful Demos',\n description,\n meta: ['Completed', 'Low priority', new Date('01/01/21')]\n },\n {\n id: 'PROJ-123',\n title: 'Be Single Minded',\n description,\n meta: ['Blocked', 'Medium priority', new Date('12/31/20')]\n },\n {\n id: 'PROJ-456',\n title: 'Differentiate Yourself and Attract More Attention Sales and Profits',\n description,\n meta: ['Pending', 'High priority', new Date('12/01/20')]\n },\n {\n id: 'PROJ-789',\n title: 'Importance of the Custom Test',\n description,\n meta: ['Completed', 'Medium priority', new Date('01/01/21 08:00:00')]\n },\n {\n id: 'PROJ-100',\n title: 'Improve Your Business Cards and Enhance Your Sales',\n description,\n meta: ['Ready', 'High priority', new Date('12/31/20')]\n },\n {\n id: 'PROJ-200',\n title: 'How to Write Better Advertising',\n description,\n meta: ['Ready', 'Low priority', new Date('12/25/20')]\n }\n];\n\nexport const getInitialResults = (\n setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>,\n setPreviewTabId: Dispatch<SetStateAction<string | undefined>>\n): SearchResultProps[] => {\n return searchResults.map(result => {\n return {\n ...result,\n link: getResultLink(result, setPreview, setPreviewTabId)\n };\n });\n};\n\nexport const initialFilters: SearchResultsProps['filters'] = [\n {\n type: 'select',\n name: 'Status',\n items: [\n {\n id: 'blocked',\n label: <Status variant='urgent'>Blocked</Status>,\n checked: false,\n name: 'Blocked'\n },\n {\n id: 'pending',\n label: <Status variant='pending'>Pending</Status>,\n checked: false,\n name: 'Pending'\n },\n { id: 'ready', label: <Status variant='info'>Ready</Status>, checked: false, name: 'Ready' },\n {\n id: 'completed',\n label: <Status variant='success'>Completed</Status>,\n checked: false,\n name: 'Completed'\n }\n ]\n },\n {\n type: 'select',\n selectType: 'single-select',\n name: 'Last updated',\n items: [\n { id: 'today', label: 'Today', checked: false, name: 'Today' },\n { id: 'yesterday', label: 'Yesterday', checked: false, name: 'Yesterday' },\n { id: '7-days', label: 'Last 7 days', checked: false, name: 'Last 7 days' },\n { id: '30-days', label: 'Last 30 days', checked: false, name: 'Last 30 days' }\n ]\n }\n];\n"]}