@pega/cosmos-react-demos 3.0.0-dev.1.0 → 3.0.0-dev.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1160) hide show
  1. package/jsx/build/AppHeader/AppHeader.stories.d.ts.map +1 -1
  2. package/jsx/build/AppHeader/AppHeader.stories.jsx +6 -1
  3. package/jsx/build/AppHeader/AppHeader.stories.jsx.map +1 -1
  4. package/jsx/build/AppShell/AppShell.mocks.d.ts +19 -0
  5. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  6. package/jsx/build/AppShell/{AppShell.mocks.js → AppShell.mocks.jsx} +33 -1
  7. package/jsx/build/AppShell/AppShell.mocks.jsx.map +1 -0
  8. package/jsx/build/AppShell/AppShell.stories.d.ts +2 -2
  9. package/jsx/build/AppShell/AppShell.stories.d.ts.map +1 -1
  10. package/jsx/build/AppShell/AppShell.stories.jsx +20 -45
  11. package/jsx/build/AppShell/AppShell.stories.jsx.map +1 -1
  12. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
  13. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
  14. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx +101 -0
  15. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -0
  16. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts +11 -0
  17. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
  18. package/jsx/build/DynamicContentEditor/FieldSelector.jsx +80 -0
  19. package/jsx/build/DynamicContentEditor/FieldSelector.jsx.map +1 -0
  20. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +19 -2
  21. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  22. package/jsx/build/FlowModeller/{FlowModeller.mocks.js → FlowModeller.mocks.jsx} +110 -28
  23. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +1 -0
  24. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +8 -10
  25. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  26. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +159 -154
  27. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +1 -1
  28. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
  29. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
  30. package/jsx/build/FlowModeller/FlowModeller.styles.js +8 -0
  31. package/jsx/build/FlowModeller/FlowModeller.styles.js.map +1 -0
  32. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts +1 -5
  33. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -1
  34. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js +5 -10
  35. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -1
  36. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -7
  37. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  38. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +1 -1
  39. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +3 -0
  40. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -1
  41. package/jsx/build/LifeCycle/LifeCycle.mocks.js +106 -18
  42. package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +1 -1
  43. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +6 -9
  44. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  45. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +111 -27
  46. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -1
  47. package/jsx/build/LifeCycle/utils.d.ts.map +1 -1
  48. package/jsx/build/LifeCycle/utils.js +5 -4
  49. package/jsx/build/LifeCycle/utils.js.map +1 -1
  50. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +46 -0
  51. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
  52. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +335 -0
  53. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +1 -0
  54. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +8 -0
  55. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
  56. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +169 -0
  57. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +1 -0
  58. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
  59. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
  60. package/jsx/build/ObjectSelect/ObjectSelect.styles.js +27 -0
  61. package/jsx/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
  62. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +46 -0
  63. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
  64. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +76 -0
  65. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +1 -0
  66. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  67. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +14 -92
  68. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +1 -1
  69. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +18 -0
  70. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  71. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +287 -0
  72. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +1 -0
  73. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +4 -9
  74. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  75. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +99 -277
  76. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  77. package/jsx/build/Workbench/Workbench.stories.d.ts.map +1 -1
  78. package/jsx/build/Workbench/Workbench.stories.jsx +14 -27
  79. package/jsx/build/Workbench/Workbench.stories.jsx.map +1 -1
  80. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
  81. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
  82. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +13 -0
  83. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
  84. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +16 -8
  85. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  86. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +59 -56
  87. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -1
  88. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
  89. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
  90. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
  91. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
  92. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  93. package/jsx/condition-builder/ConditionBuilder/props.mock.js +17 -2
  94. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  95. package/jsx/core/AppShell/AppShell.stories.d.ts +6 -0
  96. package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -1
  97. package/jsx/core/AppShell/AppShell.stories.jsx +28 -2
  98. package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -1
  99. package/jsx/core/Avatar/Avatar.stories.d.ts +5 -0
  100. package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -1
  101. package/jsx/core/Avatar/Avatar.stories.jsx +27 -2
  102. package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -1
  103. package/jsx/core/Badges/Keyboard.stories.d.ts +6 -0
  104. package/jsx/core/Badges/Keyboard.stories.d.ts.map +1 -0
  105. package/jsx/core/Badges/Keyboard.stories.jsx +17 -0
  106. package/jsx/core/Badges/Keyboard.stories.jsx.map +1 -0
  107. package/jsx/core/Badges/Selection.stories.d.ts +2 -3
  108. package/jsx/core/Badges/Selection.stories.d.ts.map +1 -1
  109. package/jsx/core/Badges/Selection.stories.jsx.map +1 -1
  110. package/jsx/core/Badges/Status.stories.d.ts +5 -0
  111. package/jsx/core/Badges/Status.stories.d.ts.map +1 -1
  112. package/jsx/core/Badges/Status.stories.jsx +25 -1
  113. package/jsx/core/Badges/Status.stories.jsx.map +1 -1
  114. package/jsx/core/Badges/Tag.stories.d.ts +2 -3
  115. package/jsx/core/Badges/Tag.stories.d.ts.map +1 -1
  116. package/jsx/core/Badges/Tag.stories.jsx.map +1 -1
  117. package/jsx/core/Banner/Banner.stories.d.ts +12 -19
  118. package/jsx/core/Banner/Banner.stories.d.ts.map +1 -1
  119. package/jsx/core/Banner/Banner.stories.jsx +24 -3
  120. package/jsx/core/Banner/Banner.stories.jsx.map +1 -1
  121. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -4
  122. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  123. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
  124. package/jsx/core/Button/Button.stories.d.ts +10 -3
  125. package/jsx/core/Button/Button.stories.d.ts.map +1 -1
  126. package/jsx/core/Button/Button.stories.jsx +36 -7
  127. package/jsx/core/Button/Button.stories.jsx.map +1 -1
  128. package/jsx/core/Card/Card.stories.d.ts +6 -2
  129. package/jsx/core/Card/Card.stories.d.ts.map +1 -1
  130. package/jsx/core/Card/Card.stories.jsx +30 -1
  131. package/jsx/core/Card/Card.stories.jsx.map +1 -1
  132. package/jsx/core/Checkbox/Checkbox.stories.d.ts +12 -0
  133. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  134. package/jsx/core/Checkbox/Checkbox.stories.jsx +54 -1
  135. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
  136. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +3 -3
  137. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  138. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
  139. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +1 -2
  140. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  141. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +2 -10
  142. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
  143. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
  144. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
  145. package/jsx/core/ColorPicker/ColorPicker.styles.js +11 -0
  146. package/jsx/core/ColorPicker/ColorPicker.styles.js.map +1 -0
  147. package/jsx/core/Configuration/Configuration.mocks.d.ts +7 -0
  148. package/jsx/core/Configuration/Configuration.mocks.d.ts.map +1 -0
  149. package/jsx/core/Configuration/Configuration.mocks.jsx +9 -0
  150. package/jsx/core/Configuration/Configuration.mocks.jsx.map +1 -0
  151. package/jsx/core/Configuration/Configuration.stories.d.ts +19 -3
  152. package/jsx/core/Configuration/Configuration.stories.d.ts.map +1 -1
  153. package/jsx/core/Configuration/Configuration.stories.jsx +96 -21
  154. package/jsx/core/Configuration/Configuration.stories.jsx.map +1 -1
  155. package/jsx/core/Configuration/Configuration.styles.d.ts +6 -0
  156. package/jsx/core/Configuration/Configuration.styles.d.ts.map +1 -0
  157. package/jsx/core/Configuration/Configuration.styles.js +12 -0
  158. package/jsx/core/Configuration/Configuration.styles.js.map +1 -0
  159. package/jsx/core/CreditCard/CreditCard.stories.d.ts +11 -0
  160. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
  161. package/jsx/core/CreditCard/CreditCard.stories.jsx +45 -0
  162. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -0
  163. package/jsx/core/Currency/Currency.stories.d.ts +7 -4
  164. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
  165. package/jsx/core/Currency/Currency.stories.jsx +30 -12
  166. package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
  167. package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
  168. package/jsx/core/DateTime/DateTime.stories.jsx +2 -1
  169. package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
  170. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +6 -4
  171. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  172. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +8 -4
  173. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
  174. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
  175. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  176. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +70 -2
  177. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -1
  178. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
  179. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  180. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +51 -88
  181. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -1
  182. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +2 -2
  183. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  184. package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +1 -1
  185. package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
  186. package/jsx/core/File/FileDisplay.stories.jsx +16 -38
  187. package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
  188. package/jsx/core/File/FileInput.stories.d.ts.map +1 -1
  189. package/jsx/core/File/FileInput.stories.jsx +1 -1
  190. package/jsx/core/File/FileInput.stories.jsx.map +1 -1
  191. package/jsx/core/Flex/FlexContainer.stories.d.ts +1 -2
  192. package/jsx/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  193. package/jsx/core/Flex/FlexContainer.stories.jsx.map +1 -1
  194. package/jsx/core/Form/Form.mocks.d.ts.map +1 -1
  195. package/jsx/core/Form/Form.mocks.jsx +2 -2
  196. package/jsx/core/Form/Form.mocks.jsx.map +1 -1
  197. package/jsx/core/Form/Form.stories.d.ts +10 -0
  198. package/jsx/core/Form/Form.stories.d.ts.map +1 -1
  199. package/jsx/core/Form/Form.stories.jsx +42 -2
  200. package/jsx/core/Form/Form.stories.jsx.map +1 -1
  201. package/jsx/core/Grid/GridContainer.stories.d.ts +4 -5
  202. package/jsx/core/Grid/GridContainer.stories.d.ts.map +1 -1
  203. package/jsx/core/Grid/GridContainer.stories.jsx.map +1 -1
  204. package/jsx/core/Grid/GridItem.stories.d.ts +1 -2
  205. package/jsx/core/Grid/GridItem.stories.d.ts.map +1 -1
  206. package/jsx/core/Grid/GridItem.stories.jsx.map +1 -1
  207. package/jsx/core/HTML/HTML.stories.d.ts +6 -0
  208. package/jsx/core/HTML/HTML.stories.d.ts.map +1 -0
  209. package/jsx/core/HTML/HTML.stories.jsx +13 -0
  210. package/jsx/core/HTML/HTML.stories.jsx.map +1 -0
  211. package/jsx/core/Icon/Icon.stories.d.ts +5 -6
  212. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
  213. package/jsx/core/Icon/Icon.stories.jsx +5 -27
  214. package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
  215. package/jsx/core/Icon/Icon.styles.d.ts +4 -0
  216. package/jsx/core/Icon/Icon.styles.d.ts.map +1 -0
  217. package/jsx/core/Icon/Icon.styles.js +25 -0
  218. package/jsx/core/Icon/Icon.styles.js.map +1 -0
  219. package/jsx/core/IconPicker/IconPicker.stories.jsx +1 -1
  220. package/jsx/core/IconPicker/IconPicker.stories.jsx.map +1 -1
  221. package/jsx/core/Image/Image.stories.d.ts +2 -3
  222. package/jsx/core/Image/Image.stories.d.ts.map +1 -1
  223. package/jsx/core/Image/Image.stories.jsx.map +1 -1
  224. package/jsx/core/Input/Input.stories.d.ts +9 -0
  225. package/jsx/core/Input/Input.stories.d.ts.map +1 -1
  226. package/jsx/core/Input/Input.stories.jsx +40 -1
  227. package/jsx/core/Input/Input.stories.jsx.map +1 -1
  228. package/jsx/core/Label/Label.stories.d.ts +4 -0
  229. package/jsx/core/Label/Label.stories.d.ts.map +1 -1
  230. package/jsx/core/Label/Label.stories.jsx +18 -1
  231. package/jsx/core/Label/Label.stories.jsx.map +1 -1
  232. package/jsx/core/Link/Link.stories.d.ts +1 -11
  233. package/jsx/core/Link/Link.stories.d.ts.map +1 -1
  234. package/jsx/core/Link/Link.stories.jsx.map +1 -1
  235. package/jsx/core/List/CommaSeparatedList.stories.d.ts +2 -2
  236. package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  237. package/jsx/core/List/CommaSeparatedList.stories.jsx.map +1 -1
  238. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
  239. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
  240. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +71 -0
  241. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -0
  242. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +6 -0
  243. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
  244. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +87 -0
  245. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -0
  246. package/jsx/core/MenuButton/MenuButton.stories.d.ts +6 -6
  247. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  248. package/jsx/core/MenuButton/MenuButton.stories.jsx.map +1 -1
  249. package/jsx/core/Modal/Modal.mocks.d.ts.map +1 -1
  250. package/jsx/core/Modal/Modal.mocks.jsx +3 -3
  251. package/jsx/core/Modal/Modal.mocks.jsx.map +1 -1
  252. package/jsx/core/Modal/Modal.stories.d.ts +10 -5
  253. package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
  254. package/jsx/core/Modal/Modal.stories.jsx +34 -43
  255. package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
  256. package/jsx/core/MultiStep/MultiStep.stories.d.ts +2 -3
  257. package/jsx/core/MultiStep/MultiStep.stories.d.ts.map +1 -1
  258. package/jsx/core/MultiStep/MultiStep.stories.jsx.map +1 -1
  259. package/jsx/core/Number/Number.stories.d.ts +10 -6
  260. package/jsx/core/Number/Number.stories.d.ts.map +1 -1
  261. package/jsx/core/Number/Number.stories.jsx +38 -19
  262. package/jsx/core/Number/Number.stories.jsx.map +1 -1
  263. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +5 -3
  264. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  265. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +85 -31
  266. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  267. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
  268. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
  269. package/jsx/core/PageTemplates/PageTemplates.styles.js +9 -0
  270. package/jsx/core/PageTemplates/PageTemplates.styles.js.map +1 -1
  271. package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
  272. package/jsx/core/Phone/Phone.stories.jsx +3 -1
  273. package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
  274. package/jsx/core/Popover/Popover.stories.d.ts +1 -1
  275. package/jsx/core/Popover/Popover.stories.d.ts.map +1 -1
  276. package/jsx/core/Popover/Popover.stories.jsx.map +1 -1
  277. package/jsx/core/Progress/Progress.stories.d.ts +4 -0
  278. package/jsx/core/Progress/Progress.stories.d.ts.map +1 -1
  279. package/jsx/core/Progress/Progress.stories.jsx +22 -1
  280. package/jsx/core/Progress/Progress.stories.jsx.map +1 -1
  281. package/jsx/core/RadioButton/RadioButton.stories.d.ts +12 -0
  282. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  283. package/jsx/core/RadioButton/RadioButton.stories.jsx +53 -1
  284. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
  285. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +3 -3
  286. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  287. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
  288. package/jsx/core/Rating/Rating.stories.d.ts +4 -0
  289. package/jsx/core/Rating/Rating.stories.d.ts.map +1 -1
  290. package/jsx/core/Rating/Rating.stories.jsx +18 -1
  291. package/jsx/core/Rating/Rating.stories.jsx.map +1 -1
  292. package/jsx/core/SearchInput/SearchInput.mocks.d.ts +12 -0
  293. package/jsx/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
  294. package/jsx/core/SearchInput/SearchInput.mocks.js +25 -0
  295. package/jsx/core/SearchInput/SearchInput.mocks.js.map +1 -0
  296. package/jsx/core/SearchInput/SearchInput.stories.d.ts +1 -0
  297. package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  298. package/jsx/core/SearchInput/SearchInput.stories.jsx +30 -1
  299. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +1 -1
  300. package/jsx/core/Select/Select.stories.d.ts +8 -0
  301. package/jsx/core/Select/Select.stories.d.ts.map +1 -1
  302. package/jsx/core/Select/Select.stories.jsx +35 -1
  303. package/jsx/core/Select/Select.stories.jsx.map +1 -1
  304. package/jsx/core/Sentiment/Sentiment.stories.d.ts +6 -0
  305. package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
  306. package/jsx/core/Sentiment/Sentiment.stories.jsx +32 -1
  307. package/jsx/core/Sentiment/Sentiment.stories.jsx.map +1 -1
  308. package/jsx/core/Slider/Slider.stories.d.ts +4 -3
  309. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
  310. package/jsx/core/Slider/Slider.stories.jsx +1 -1
  311. package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
  312. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  313. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  314. package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +1 -1
  315. package/jsx/core/SummaryList/SummaryList.stories.d.ts +2 -2
  316. package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  317. package/jsx/core/SummaryList/SummaryList.stories.jsx.map +1 -1
  318. package/jsx/core/Switch/Switch.stories.d.ts +7 -0
  319. package/jsx/core/Switch/Switch.stories.d.ts.map +1 -1
  320. package/jsx/core/Switch/Switch.stories.jsx +34 -1
  321. package/jsx/core/Switch/Switch.stories.jsx.map +1 -1
  322. package/jsx/core/Table/Table.mocks.d.ts +6 -0
  323. package/jsx/core/Table/Table.mocks.d.ts.map +1 -1
  324. package/jsx/core/Table/Table.mocks.jsx +134 -0
  325. package/jsx/core/Table/Table.mocks.jsx.map +1 -1
  326. package/jsx/core/Table/Table.stories.d.ts +25 -0
  327. package/jsx/core/Table/Table.stories.d.ts.map +1 -1
  328. package/jsx/core/Table/Table.stories.jsx +120 -1
  329. package/jsx/core/Table/Table.stories.jsx.map +1 -1
  330. package/jsx/core/Tabs/Tabs.stories.d.ts +10 -2
  331. package/jsx/core/Tabs/Tabs.stories.d.ts.map +1 -1
  332. package/jsx/core/Tabs/Tabs.stories.jsx +39 -1
  333. package/jsx/core/Tabs/Tabs.stories.jsx.map +1 -1
  334. package/jsx/core/Text/Text.stories.d.ts +19 -0
  335. package/jsx/core/Text/Text.stories.d.ts.map +1 -1
  336. package/jsx/core/Text/Text.stories.jsx +112 -1
  337. package/jsx/core/Text/Text.stories.jsx.map +1 -1
  338. package/jsx/core/TextArea/TextArea.stories.d.ts +5 -0
  339. package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
  340. package/jsx/core/TextArea/TextArea.stories.jsx +22 -1
  341. package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
  342. package/jsx/core/Toaster/Toaster.stories.d.ts +2 -3
  343. package/jsx/core/Toaster/Toaster.stories.d.ts.map +1 -1
  344. package/jsx/core/Toaster/Toaster.stories.jsx +17 -12
  345. package/jsx/core/Toaster/Toaster.stories.jsx.map +1 -1
  346. package/jsx/core/Tooltip/Tooltip.stories.d.ts +8 -6
  347. package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  348. package/jsx/core/Tooltip/Tooltip.stories.jsx +28 -1
  349. package/jsx/core/Tooltip/Tooltip.stories.jsx.map +1 -1
  350. package/jsx/core/Tree/Tree.stories.d.ts +1 -2
  351. package/jsx/core/Tree/Tree.stories.d.ts.map +1 -1
  352. package/jsx/core/Tree/Tree.stories.jsx +2 -2
  353. package/jsx/core/Tree/Tree.stories.jsx.map +1 -1
  354. package/jsx/cs/Article/Article.stories.d.ts +4 -13
  355. package/jsx/cs/Article/Article.stories.d.ts.map +1 -1
  356. package/jsx/cs/Article/Article.stories.jsx.map +1 -1
  357. package/jsx/cs/ArticleList/ArticleList.stories.d.ts +4 -14
  358. package/jsx/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  359. package/jsx/cs/ArticleList/ArticleList.stories.jsx +2 -1
  360. package/jsx/cs/ArticleList/ArticleList.stories.jsx.map +1 -1
  361. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts +3 -37
  362. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -1
  363. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx +15 -42
  364. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx.map +1 -1
  365. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts +9 -0
  366. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts.map +1 -1
  367. package/jsx/cs/CSCaseView/{CSCaseView.mocks.js → CSCaseView.mocks.jsx} +30 -1
  368. package/jsx/cs/CSCaseView/CSCaseView.mocks.jsx.map +1 -0
  369. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +3 -2
  370. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  371. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +20 -5
  372. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -1
  373. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -11
  374. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  375. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx +11 -11
  376. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  377. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +7 -6
  378. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  379. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx +13 -5
  380. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -1
  381. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
  382. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
  383. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
  384. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
  385. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +3 -7
  386. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  387. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +38 -43
  388. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +1 -1
  389. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +6 -0
  390. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
  391. package/jsx/cs/TaskManager/TaskManager.mocks.js +7 -0
  392. package/jsx/cs/TaskManager/TaskManager.mocks.js.map +1 -1
  393. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +6 -5
  394. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  395. package/jsx/cs/TaskManager/TaskManager.stories.jsx +26 -30
  396. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +1 -1
  397. package/jsx/cs/TaskManager/TaskManager.styles.d.ts +3 -0
  398. package/jsx/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
  399. package/jsx/cs/TaskManager/TaskManager.styles.js +8 -0
  400. package/jsx/cs/TaskManager/TaskManager.styles.js.map +1 -0
  401. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
  402. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
  403. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx +33 -0
  404. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +1 -0
  405. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
  406. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  407. package/jsx/dnd/DragDropList/DragDropList.stories.jsx +14 -78
  408. package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +1 -1
  409. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
  410. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
  411. package/jsx/dnd/DragDropList/DragDropList.styles.js +32 -0
  412. package/jsx/dnd/DragDropList/DragDropList.styles.js.map +1 -0
  413. package/jsx/rte/Editor/Editor.mocks.d.ts +309 -0
  414. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -0
  415. package/jsx/rte/Editor/Editor.mocks.jsx +23 -0
  416. package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -0
  417. package/jsx/rte/Editor/Editor.stories.d.ts +7 -8
  418. package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
  419. package/jsx/rte/Editor/Editor.stories.jsx +3 -21
  420. package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
  421. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -1
  422. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +2 -3
  423. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  424. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -1
  425. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +5 -5
  426. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  427. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +18 -1
  428. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +1 -1
  429. package/jsx/social/Chat/Chat.stories.d.ts +6 -7
  430. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  431. package/jsx/social/Chat/Chat.stories.jsx +7 -5
  432. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  433. package/jsx/social/Chat/RepeatingView.mocks.d.ts +14 -0
  434. package/jsx/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
  435. package/jsx/social/Chat/RepeatingView.mocks.js +11 -0
  436. package/jsx/social/Chat/RepeatingView.mocks.js.map +1 -0
  437. package/jsx/social/Chat/RepeatingView.stories.d.ts +6 -17
  438. package/jsx/social/Chat/RepeatingView.stories.d.ts.map +1 -1
  439. package/jsx/social/Chat/RepeatingView.stories.jsx +16 -46
  440. package/jsx/social/Chat/RepeatingView.stories.jsx.map +1 -1
  441. package/jsx/social/Chat/RepeatingView.styles.d.ts +2 -0
  442. package/jsx/social/Chat/RepeatingView.styles.d.ts.map +1 -0
  443. package/jsx/social/Chat/RepeatingView.styles.js +22 -0
  444. package/jsx/social/Chat/RepeatingView.styles.js.map +1 -0
  445. package/jsx/social/Email/Email.mocks.d.ts +172 -2
  446. package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
  447. package/jsx/social/Email/Email.mocks.jsx +766 -0
  448. package/jsx/social/Email/Email.mocks.jsx.map +1 -0
  449. package/jsx/social/Email/Email.stories.d.ts +19 -25
  450. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  451. package/jsx/social/Email/Email.stories.jsx +156 -418
  452. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  453. package/jsx/social/Email/Email.styles.d.ts +4 -0
  454. package/jsx/social/Email/Email.styles.d.ts.map +1 -0
  455. package/jsx/social/Email/Email.styles.js +14 -0
  456. package/jsx/social/Email/Email.styles.js.map +1 -0
  457. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
  458. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
  459. package/jsx/social/Feed/Feed.stories.d.ts +6 -11
  460. package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
  461. package/jsx/social/Feed/Feed.stories.jsx +24 -19
  462. package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
  463. package/jsx/social/Feed/FeedNewPost.stories.d.ts +7 -14
  464. package/jsx/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
  465. package/jsx/social/Feed/FeedNewPost.stories.jsx.map +1 -1
  466. package/jsx/social/Feed/FeedPost.stories.d.ts +4 -5
  467. package/jsx/social/Feed/FeedPost.stories.d.ts.map +1 -1
  468. package/jsx/social/Feed/FeedPost.stories.jsx +30 -20
  469. package/jsx/social/Feed/FeedPost.stories.jsx.map +1 -1
  470. package/jsx/social/Feed/FeedReply.stories.d.ts +10 -10
  471. package/jsx/social/Feed/FeedReply.stories.d.ts.map +1 -1
  472. package/jsx/social/Feed/FeedReply.stories.jsx +21 -16
  473. package/jsx/social/Feed/FeedReply.stories.jsx.map +1 -1
  474. package/jsx/social/Feed/FeedReplyInput.stories.d.ts +7 -12
  475. package/jsx/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
  476. package/jsx/social/Feed/FeedReplyInput.stories.jsx.map +1 -1
  477. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  478. package/jsx/work/CaseView/CaseView.mocks.jsx +1 -1
  479. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  480. package/jsx/work/CaseView/CaseView.stories.d.ts +4 -11
  481. package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
  482. package/jsx/work/CaseView/CaseView.stories.jsx +7 -7
  483. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
  484. package/jsx/work/CaseView/Details.mocks.d.ts.map +1 -1
  485. package/jsx/work/CaseView/Details.mocks.jsx +1 -1
  486. package/jsx/work/CaseView/Details.mocks.jsx.map +1 -1
  487. package/jsx/work/CaseView/MobileCaseView.stories.d.ts +3 -9
  488. package/jsx/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
  489. package/jsx/work/CaseView/MobileCaseView.stories.jsx.map +1 -1
  490. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  491. package/jsx/work/CaseView/Pulse.mocks.jsx +1 -1
  492. package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -1
  493. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
  494. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
  495. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx +166 -0
  496. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx.map +1 -0
  497. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -8
  498. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  499. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +3 -175
  500. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -1
  501. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
  502. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
  503. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
  504. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
  505. package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  506. package/jsx/work/Confirmation/Confirmation.stories.jsx +3 -3
  507. package/jsx/work/Confirmation/Confirmation.stories.jsx.map +1 -1
  508. package/jsx/work/Details/Details.stories.d.ts.map +1 -1
  509. package/jsx/work/Details/Details.stories.jsx +21 -16
  510. package/jsx/work/Details/Details.stories.jsx.map +1 -1
  511. package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  512. package/jsx/work/Glimpse/Glimpse.stories.jsx.map +1 -1
  513. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  514. package/jsx/work/SearchResults/SearchResults.stories.jsx +1 -1
  515. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -1
  516. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  517. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +2 -2
  518. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -1
  519. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +2 -3
  520. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  521. package/jsx/work/Stakeholders/Stakeholders.stories.jsx +1 -0
  522. package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +1 -1
  523. package/jsx/work/Tasks/Tasks.stories.jsx +1 -1
  524. package/jsx/work/Tasks/Tasks.stories.jsx.map +1 -1
  525. package/jsx/work/Timeline/Timeline.stories.d.ts +1 -0
  526. package/jsx/work/Timeline/Timeline.stories.d.ts.map +1 -1
  527. package/jsx/work/Timeline/Timeline.stories.jsx +29 -1
  528. package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -1
  529. package/lib/build/AppHeader/AppHeader.stories.d.ts.map +1 -1
  530. package/lib/build/AppHeader/AppHeader.stories.js +7 -2
  531. package/lib/build/AppHeader/AppHeader.stories.js.map +1 -1
  532. package/lib/build/AppShell/AppShell.mocks.d.ts +19 -0
  533. package/lib/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  534. package/lib/build/AppShell/AppShell.mocks.js +32 -0
  535. package/lib/build/AppShell/AppShell.mocks.js.map +1 -1
  536. package/lib/build/AppShell/AppShell.stories.d.ts +2 -2
  537. package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -1
  538. package/lib/build/AppShell/AppShell.stories.js +22 -45
  539. package/lib/build/AppShell/AppShell.stories.js.map +1 -1
  540. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
  541. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
  542. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js +85 -0
  543. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -0
  544. package/lib/build/DynamicContentEditor/FieldSelector.d.ts +14 -0
  545. package/lib/build/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
  546. package/lib/build/DynamicContentEditor/FieldSelector.js +81 -0
  547. package/lib/build/DynamicContentEditor/FieldSelector.js.map +1 -0
  548. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +19 -2
  549. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  550. package/lib/build/FlowModeller/FlowModeller.mocks.js +81 -27
  551. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +1 -1
  552. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +8 -10
  553. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  554. package/lib/build/FlowModeller/FlowModeller.stories.js +147 -138
  555. package/lib/build/FlowModeller/FlowModeller.stories.js.map +1 -1
  556. package/lib/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
  557. package/lib/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
  558. package/lib/build/FlowModeller/FlowModeller.styles.js +8 -0
  559. package/lib/build/FlowModeller/FlowModeller.styles.js.map +1 -0
  560. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts +1 -5
  561. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -1
  562. package/lib/build/ItemLibrary/LibraryPicker.mocks.js +5 -10
  563. package/lib/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -1
  564. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -7
  565. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  566. package/lib/build/ItemLibrary/LibraryPicker.stories.js +1 -1
  567. package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +1 -1
  568. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +3 -0
  569. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -1
  570. package/lib/build/LifeCycle/LifeCycle.mocks.js +106 -18
  571. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +1 -1
  572. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +6 -9
  573. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  574. package/lib/build/LifeCycle/LifeCycle.stories.js +115 -31
  575. package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -1
  576. package/lib/build/LifeCycle/utils.d.ts.map +1 -1
  577. package/lib/build/LifeCycle/utils.js +5 -4
  578. package/lib/build/LifeCycle/utils.js.map +1 -1
  579. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +46 -0
  580. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
  581. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +308 -0
  582. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +1 -0
  583. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +8 -0
  584. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
  585. package/lib/build/ObjectSelect/ObjectSelect.stories.js +151 -0
  586. package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +1 -0
  587. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
  588. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
  589. package/lib/build/ObjectSelect/ObjectSelect.styles.js +27 -0
  590. package/lib/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
  591. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +46 -0
  592. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
  593. package/lib/build/PageTemplates/GalleryPage.mocks.js +77 -0
  594. package/lib/build/PageTemplates/GalleryPage.mocks.js.map +1 -0
  595. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  596. package/lib/build/PageTemplates/GalleryPage.stories.js +14 -92
  597. package/lib/build/PageTemplates/GalleryPage.stories.js.map +1 -1
  598. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +18 -0
  599. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  600. package/lib/build/PageTemplates/PageTemplates.mocks.js +248 -0
  601. package/lib/build/PageTemplates/PageTemplates.mocks.js.map +1 -0
  602. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +4 -9
  603. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  604. package/lib/build/PageTemplates/PageTemplates.stories.js +115 -253
  605. package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -1
  606. package/lib/build/Workbench/Workbench.stories.d.ts.map +1 -1
  607. package/lib/build/Workbench/Workbench.stories.js +26 -39
  608. package/lib/build/Workbench/Workbench.stories.js.map +1 -1
  609. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
  610. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
  611. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +13 -0
  612. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
  613. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +16 -8
  614. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  615. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js +59 -57
  616. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +1 -1
  617. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
  618. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
  619. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
  620. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
  621. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  622. package/lib/condition-builder/ConditionBuilder/props.mock.js +17 -2
  623. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  624. package/lib/core/AppShell/AppShell.mocks.js +5 -5
  625. package/lib/core/AppShell/AppShell.mocks.js.map +1 -1
  626. package/lib/core/AppShell/AppShell.stories.d.ts +6 -0
  627. package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -1
  628. package/lib/core/AppShell/AppShell.stories.js +33 -9
  629. package/lib/core/AppShell/AppShell.stories.js.map +1 -1
  630. package/lib/core/Avatar/Avatar.stories.d.ts +5 -0
  631. package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -1
  632. package/lib/core/Avatar/Avatar.stories.js +30 -7
  633. package/lib/core/Avatar/Avatar.stories.js.map +1 -1
  634. package/lib/core/Backdrop/Backdrop.stories.js +2 -2
  635. package/lib/core/Backdrop/Backdrop.stories.js.map +1 -1
  636. package/lib/core/Badges/Alert.stories.js +1 -1
  637. package/lib/core/Badges/Alert.stories.js.map +1 -1
  638. package/lib/core/Badges/Count.stories.js +1 -1
  639. package/lib/core/Badges/Count.stories.js.map +1 -1
  640. package/lib/core/Badges/Keyboard.stories.d.ts +6 -0
  641. package/lib/core/Badges/Keyboard.stories.d.ts.map +1 -0
  642. package/lib/core/Badges/Keyboard.stories.js +16 -0
  643. package/lib/core/Badges/Keyboard.stories.js.map +1 -0
  644. package/lib/core/Badges/Selection.stories.d.ts +2 -3
  645. package/lib/core/Badges/Selection.stories.d.ts.map +1 -1
  646. package/lib/core/Badges/Selection.stories.js +1 -1
  647. package/lib/core/Badges/Selection.stories.js.map +1 -1
  648. package/lib/core/Badges/Status.stories.d.ts +5 -0
  649. package/lib/core/Badges/Status.stories.d.ts.map +1 -1
  650. package/lib/core/Badges/Status.stories.js +24 -2
  651. package/lib/core/Badges/Status.stories.js.map +1 -1
  652. package/lib/core/Badges/Tag.stories.d.ts +2 -3
  653. package/lib/core/Badges/Tag.stories.d.ts.map +1 -1
  654. package/lib/core/Badges/Tag.stories.js +1 -1
  655. package/lib/core/Badges/Tag.stories.js.map +1 -1
  656. package/lib/core/Banner/Banner.mocks.js +1 -1
  657. package/lib/core/Banner/Banner.mocks.js.map +1 -1
  658. package/lib/core/Banner/Banner.stories.d.ts +12 -19
  659. package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
  660. package/lib/core/Banner/Banner.stories.js +30 -13
  661. package/lib/core/Banner/Banner.stories.js.map +1 -1
  662. package/lib/core/Boolean/BooleanDisplay.stories.js +1 -1
  663. package/lib/core/Boolean/BooleanDisplay.stories.js.map +1 -1
  664. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -4
  665. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  666. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +2 -2
  667. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
  668. package/lib/core/Button/Button.stories.d.ts +10 -3
  669. package/lib/core/Button/Button.stories.d.ts.map +1 -1
  670. package/lib/core/Button/Button.stories.js +35 -8
  671. package/lib/core/Button/Button.stories.js.map +1 -1
  672. package/lib/core/Card/Card.stories.d.ts +6 -2
  673. package/lib/core/Card/Card.stories.d.ts.map +1 -1
  674. package/lib/core/Card/Card.stories.js +22 -4
  675. package/lib/core/Card/Card.stories.js.map +1 -1
  676. package/lib/core/Checkbox/Checkbox.stories.d.ts +12 -0
  677. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  678. package/lib/core/Checkbox/Checkbox.stories.js +54 -3
  679. package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
  680. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +3 -3
  681. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  682. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +3 -3
  683. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
  684. package/lib/core/ColorPicker/ColorPicker.stories.d.ts +1 -2
  685. package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  686. package/lib/core/ColorPicker/ColorPicker.stories.js +7 -15
  687. package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
  688. package/lib/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
  689. package/lib/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
  690. package/lib/core/ColorPicker/ColorPicker.styles.js +11 -0
  691. package/lib/core/ColorPicker/ColorPicker.styles.js.map +1 -0
  692. package/lib/core/ComboBox/ComboBox.stories.js +6 -6
  693. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
  694. package/lib/core/Configuration/Configuration.mocks.d.ts +7 -0
  695. package/lib/core/Configuration/Configuration.mocks.d.ts.map +1 -0
  696. package/lib/core/Configuration/Configuration.mocks.js +6 -0
  697. package/lib/core/Configuration/Configuration.mocks.js.map +1 -0
  698. package/lib/core/Configuration/Configuration.stories.d.ts +19 -3
  699. package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -1
  700. package/lib/core/Configuration/Configuration.stories.js +71 -24
  701. package/lib/core/Configuration/Configuration.stories.js.map +1 -1
  702. package/lib/core/Configuration/Configuration.styles.d.ts +6 -0
  703. package/lib/core/Configuration/Configuration.styles.d.ts.map +1 -0
  704. package/lib/core/Configuration/Configuration.styles.js +12 -0
  705. package/lib/core/Configuration/Configuration.styles.js.map +1 -0
  706. package/lib/core/CreditCard/CreditCard.stories.d.ts +11 -0
  707. package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
  708. package/lib/core/CreditCard/CreditCard.stories.js +46 -0
  709. package/lib/core/CreditCard/CreditCard.stories.js.map +1 -0
  710. package/lib/core/Currency/Currency.stories.d.ts +7 -4
  711. package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
  712. package/lib/core/Currency/Currency.stories.js +32 -14
  713. package/lib/core/Currency/Currency.stories.js.map +1 -1
  714. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
  715. package/lib/core/DateTime/DateTime.stories.js +12 -10
  716. package/lib/core/DateTime/DateTime.stories.js.map +1 -1
  717. package/lib/core/DateTime/DateTimeDisplay.stories.js +2 -2
  718. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
  719. package/lib/core/DateTime/DateTimePicker.stories.js +2 -2
  720. package/lib/core/DateTime/DateTimePicker.stories.js.map +1 -1
  721. package/lib/core/Drawer/Drawer.stories.js +4 -4
  722. package/lib/core/Drawer/Drawer.stories.js.map +1 -1
  723. package/lib/core/Email/EmailDisplay.stories.js +1 -1
  724. package/lib/core/Email/EmailDisplay.stories.js.map +1 -1
  725. package/lib/core/EmojiPicker/EmojiPicker.stories.js +3 -3
  726. package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +1 -1
  727. package/lib/core/EmptyState/EmptyState.stories.js +1 -1
  728. package/lib/core/EmptyState/EmptyState.stories.js.map +1 -1
  729. package/lib/core/ErrorState/ErrorState.stories.js +1 -1
  730. package/lib/core/ErrorState/ErrorState.stories.js.map +1 -1
  731. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js +2 -2
  732. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +1 -1
  733. package/lib/core/FieldGroup/FieldGroup.stories.d.ts +6 -4
  734. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  735. package/lib/core/FieldGroup/FieldGroup.stories.js +7 -3
  736. package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
  737. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
  738. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  739. package/lib/core/FieldGroup/FieldGroupList.mocks.js +47 -3
  740. package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -1
  741. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
  742. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  743. package/lib/core/FieldGroup/FieldGroupList.stories.js +54 -67
  744. package/lib/core/FieldGroup/FieldGroupList.stories.js.map +1 -1
  745. package/lib/core/FieldValueList/FieldValueList.stories.d.ts +2 -2
  746. package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  747. package/lib/core/FieldValueList/FieldValueList.stories.js +4 -4
  748. package/lib/core/FieldValueList/FieldValueList.stories.js.map +1 -1
  749. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
  750. package/lib/core/File/FileDisplay.stories.js +25 -37
  751. package/lib/core/File/FileDisplay.stories.js.map +1 -1
  752. package/lib/core/File/FileInput.stories.d.ts.map +1 -1
  753. package/lib/core/File/FileInput.stories.js +3 -3
  754. package/lib/core/File/FileInput.stories.js.map +1 -1
  755. package/lib/core/Flex/FlexContainer.stories.d.ts +1 -2
  756. package/lib/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  757. package/lib/core/Flex/FlexContainer.stories.js +7 -7
  758. package/lib/core/Flex/FlexContainer.stories.js.map +1 -1
  759. package/lib/core/Flex/FlexItem.stories.js +3 -3
  760. package/lib/core/Flex/FlexItem.stories.js.map +1 -1
  761. package/lib/core/Form/Form.mocks.d.ts.map +1 -1
  762. package/lib/core/Form/Form.mocks.js +5 -5
  763. package/lib/core/Form/Form.mocks.js.map +1 -1
  764. package/lib/core/Form/Form.stories.d.ts +10 -0
  765. package/lib/core/Form/Form.stories.d.ts.map +1 -1
  766. package/lib/core/Form/Form.stories.js +47 -9
  767. package/lib/core/Form/Form.stories.js.map +1 -1
  768. package/lib/core/Grid/GridContainer.stories.d.ts +4 -5
  769. package/lib/core/Grid/GridContainer.stories.d.ts.map +1 -1
  770. package/lib/core/Grid/GridContainer.stories.js +9 -9
  771. package/lib/core/Grid/GridContainer.stories.js.map +1 -1
  772. package/lib/core/Grid/GridItem.stories.d.ts +1 -2
  773. package/lib/core/Grid/GridItem.stories.d.ts.map +1 -1
  774. package/lib/core/Grid/GridItem.stories.js +3 -3
  775. package/lib/core/Grid/GridItem.stories.js.map +1 -1
  776. package/lib/core/HTML/HTML.stories.d.ts +6 -0
  777. package/lib/core/HTML/HTML.stories.d.ts.map +1 -0
  778. package/lib/core/HTML/HTML.stories.js +14 -0
  779. package/lib/core/HTML/HTML.stories.js.map +1 -0
  780. package/lib/core/Icon/Icon.mocks.js +1 -1
  781. package/lib/core/Icon/Icon.mocks.js.map +1 -1
  782. package/lib/core/Icon/Icon.stories.d.ts +5 -6
  783. package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
  784. package/lib/core/Icon/Icon.stories.js +12 -35
  785. package/lib/core/Icon/Icon.stories.js.map +1 -1
  786. package/lib/core/Icon/Icon.styles.d.ts +4 -0
  787. package/lib/core/Icon/Icon.styles.d.ts.map +1 -0
  788. package/lib/core/Icon/Icon.styles.js +25 -0
  789. package/lib/core/Icon/Icon.styles.js.map +1 -0
  790. package/lib/core/IconPicker/IconPicker.stories.js +2 -2
  791. package/lib/core/IconPicker/IconPicker.stories.js.map +1 -1
  792. package/lib/core/Image/Image.stories.d.ts +2 -3
  793. package/lib/core/Image/Image.stories.d.ts.map +1 -1
  794. package/lib/core/Image/Image.stories.js +1 -1
  795. package/lib/core/Image/Image.stories.js.map +1 -1
  796. package/lib/core/Input/Input.stories.d.ts +9 -0
  797. package/lib/core/Input/Input.stories.d.ts.map +1 -1
  798. package/lib/core/Input/Input.stories.js +39 -2
  799. package/lib/core/Input/Input.stories.js.map +1 -1
  800. package/lib/core/Label/Label.stories.d.ts +4 -0
  801. package/lib/core/Label/Label.stories.d.ts.map +1 -1
  802. package/lib/core/Label/Label.stories.js +17 -2
  803. package/lib/core/Label/Label.stories.js.map +1 -1
  804. package/lib/core/Lightbox/Lightbox.stories.js +3 -3
  805. package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
  806. package/lib/core/Link/Link.stories.d.ts +1 -11
  807. package/lib/core/Link/Link.stories.d.ts.map +1 -1
  808. package/lib/core/Link/Link.stories.js +3 -3
  809. package/lib/core/Link/Link.stories.js.map +1 -1
  810. package/lib/core/List/CommaSeparatedList.stories.d.ts +2 -2
  811. package/lib/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  812. package/lib/core/List/CommaSeparatedList.stories.js +1 -1
  813. package/lib/core/List/CommaSeparatedList.stories.js.map +1 -1
  814. package/lib/core/List/OrderedList.stories.js +1 -1
  815. package/lib/core/List/OrderedList.stories.js.map +1 -1
  816. package/lib/core/List/UnorderedList.stories.js +1 -1
  817. package/lib/core/List/UnorderedList.stories.js.map +1 -1
  818. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
  819. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
  820. package/lib/core/ListToolbar/ListToolbar.mocks.js +50 -0
  821. package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -0
  822. package/lib/core/ListToolbar/ListToolbar.stories.d.ts +6 -0
  823. package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
  824. package/lib/core/ListToolbar/ListToolbar.stories.js +79 -0
  825. package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -0
  826. package/lib/core/Location/Location.stories.js +4 -4
  827. package/lib/core/Location/Location.stories.js.map +1 -1
  828. package/lib/core/Menu/Menu.stories.js +5 -5
  829. package/lib/core/Menu/Menu.stories.js.map +1 -1
  830. package/lib/core/MenuButton/MenuButton.stories.d.ts +6 -6
  831. package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  832. package/lib/core/MenuButton/MenuButton.stories.js +9 -9
  833. package/lib/core/MenuButton/MenuButton.stories.js.map +1 -1
  834. package/lib/core/MetaList/MetaList.stories.js +3 -3
  835. package/lib/core/MetaList/MetaList.stories.js.map +1 -1
  836. package/lib/core/Modal/Modal.mocks.d.ts.map +1 -1
  837. package/lib/core/Modal/Modal.mocks.js +11 -11
  838. package/lib/core/Modal/Modal.mocks.js.map +1 -1
  839. package/lib/core/Modal/Modal.stories.d.ts +10 -5
  840. package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
  841. package/lib/core/Modal/Modal.stories.js +40 -35
  842. package/lib/core/Modal/Modal.stories.js.map +1 -1
  843. package/lib/core/MultiStep/MultiStep.stories.d.ts +2 -3
  844. package/lib/core/MultiStep/MultiStep.stories.d.ts.map +1 -1
  845. package/lib/core/MultiStep/MultiStep.stories.js +3 -3
  846. package/lib/core/MultiStep/MultiStep.stories.js.map +1 -1
  847. package/lib/core/Number/Number.stories.d.ts +10 -6
  848. package/lib/core/Number/Number.stories.d.ts.map +1 -1
  849. package/lib/core/Number/Number.stories.js +41 -22
  850. package/lib/core/Number/Number.stories.js.map +1 -1
  851. package/lib/core/PageTemplates/PageTemplates.stories.d.ts +5 -3
  852. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  853. package/lib/core/PageTemplates/PageTemplates.stories.js +88 -42
  854. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  855. package/lib/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
  856. package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
  857. package/lib/core/PageTemplates/PageTemplates.styles.js +9 -0
  858. package/lib/core/PageTemplates/PageTemplates.styles.js.map +1 -1
  859. package/lib/core/Pagination/Pagination.stories.js +1 -1
  860. package/lib/core/Pagination/Pagination.stories.js.map +1 -1
  861. package/lib/core/Paragraph/ParagraphDisplay.stories.js +1 -1
  862. package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +1 -1
  863. package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
  864. package/lib/core/Phone/Phone.stories.js +4 -2
  865. package/lib/core/Phone/Phone.stories.js.map +1 -1
  866. package/lib/core/Popover/Popover.stories.d.ts +1 -1
  867. package/lib/core/Popover/Popover.stories.d.ts.map +1 -1
  868. package/lib/core/Popover/Popover.stories.js +2 -2
  869. package/lib/core/Popover/Popover.stories.js.map +1 -1
  870. package/lib/core/Progress/Progress.stories.d.ts +4 -0
  871. package/lib/core/Progress/Progress.stories.d.ts.map +1 -1
  872. package/lib/core/Progress/Progress.stories.js +20 -3
  873. package/lib/core/Progress/Progress.stories.js.map +1 -1
  874. package/lib/core/RadioButton/RadioButton.stories.d.ts +12 -0
  875. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  876. package/lib/core/RadioButton/RadioButton.stories.js +53 -3
  877. package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
  878. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +3 -3
  879. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  880. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +3 -3
  881. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
  882. package/lib/core/Rating/Rating.stories.d.ts +4 -0
  883. package/lib/core/Rating/Rating.stories.d.ts.map +1 -1
  884. package/lib/core/Rating/Rating.stories.js +17 -2
  885. package/lib/core/Rating/Rating.stories.js.map +1 -1
  886. package/lib/core/SearchInput/SearchInput.mocks.d.ts +12 -0
  887. package/lib/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
  888. package/lib/core/SearchInput/SearchInput.mocks.js +25 -0
  889. package/lib/core/SearchInput/SearchInput.mocks.js.map +1 -0
  890. package/lib/core/SearchInput/SearchInput.stories.d.ts +1 -0
  891. package/lib/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  892. package/lib/core/SearchInput/SearchInput.stories.js +30 -1
  893. package/lib/core/SearchInput/SearchInput.stories.js.map +1 -1
  894. package/lib/core/Select/Select.stories.d.ts +8 -0
  895. package/lib/core/Select/Select.stories.d.ts.map +1 -1
  896. package/lib/core/Select/Select.stories.js +29 -2
  897. package/lib/core/Select/Select.stories.js.map +1 -1
  898. package/lib/core/Sentiment/Sentiment.stories.d.ts +6 -0
  899. package/lib/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
  900. package/lib/core/Sentiment/Sentiment.stories.js +30 -3
  901. package/lib/core/Sentiment/Sentiment.stories.js.map +1 -1
  902. package/lib/core/Slider/Slider.stories.d.ts +4 -3
  903. package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
  904. package/lib/core/Slider/Slider.stories.js +2 -2
  905. package/lib/core/Slider/Slider.stories.js.map +1 -1
  906. package/lib/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  907. package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  908. package/lib/core/SummaryItem/SummaryItem.stories.js +4 -4
  909. package/lib/core/SummaryItem/SummaryItem.stories.js.map +1 -1
  910. package/lib/core/SummaryList/SummaryList.mocks.js +2 -2
  911. package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -1
  912. package/lib/core/SummaryList/SummaryList.stories.d.ts +2 -2
  913. package/lib/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  914. package/lib/core/SummaryList/SummaryList.stories.js +5 -5
  915. package/lib/core/SummaryList/SummaryList.stories.js.map +1 -1
  916. package/lib/core/Switch/Switch.stories.d.ts +7 -0
  917. package/lib/core/Switch/Switch.stories.d.ts.map +1 -1
  918. package/lib/core/Switch/Switch.stories.js +34 -3
  919. package/lib/core/Switch/Switch.stories.js.map +1 -1
  920. package/lib/core/Table/Table.mocks.d.ts +6 -0
  921. package/lib/core/Table/Table.mocks.d.ts.map +1 -1
  922. package/lib/core/Table/Table.mocks.js +135 -1
  923. package/lib/core/Table/Table.mocks.js.map +1 -1
  924. package/lib/core/Table/Table.stories.d.ts +25 -0
  925. package/lib/core/Table/Table.stories.d.ts.map +1 -1
  926. package/lib/core/Table/Table.stories.js +118 -6
  927. package/lib/core/Table/Table.stories.js.map +1 -1
  928. package/lib/core/Tabs/Tabs.stories.d.ts +10 -2
  929. package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -1
  930. package/lib/core/Tabs/Tabs.stories.js +32 -3
  931. package/lib/core/Tabs/Tabs.stories.js.map +1 -1
  932. package/lib/core/Text/Text.stories.d.ts +19 -0
  933. package/lib/core/Text/Text.stories.d.ts.map +1 -1
  934. package/lib/core/Text/Text.stories.js +103 -3
  935. package/lib/core/Text/Text.stories.js.map +1 -1
  936. package/lib/core/TextArea/TextArea.stories.d.ts +5 -0
  937. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
  938. package/lib/core/TextArea/TextArea.stories.js +21 -2
  939. package/lib/core/TextArea/TextArea.stories.js.map +1 -1
  940. package/lib/core/Toaster/Toaster.stories.d.ts +2 -3
  941. package/lib/core/Toaster/Toaster.stories.d.ts.map +1 -1
  942. package/lib/core/Toaster/Toaster.stories.js +15 -19
  943. package/lib/core/Toaster/Toaster.stories.js.map +1 -1
  944. package/lib/core/Tooltip/Tooltip.stories.d.ts +8 -6
  945. package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  946. package/lib/core/Tooltip/Tooltip.stories.js +21 -2
  947. package/lib/core/Tooltip/Tooltip.stories.js.map +1 -1
  948. package/lib/core/Tree/Tree.stories.d.ts +1 -2
  949. package/lib/core/Tree/Tree.stories.d.ts.map +1 -1
  950. package/lib/core/Tree/Tree.stories.js +5 -5
  951. package/lib/core/Tree/Tree.stories.js.map +1 -1
  952. package/lib/core/URL/URL.stories.js +1 -1
  953. package/lib/core/URL/URL.stories.js.map +1 -1
  954. package/lib/cs/Article/Article.stories.d.ts +4 -13
  955. package/lib/cs/Article/Article.stories.d.ts.map +1 -1
  956. package/lib/cs/Article/Article.stories.js +9 -9
  957. package/lib/cs/Article/Article.stories.js.map +1 -1
  958. package/lib/cs/ArticleList/ArticleList.stories.d.ts +4 -14
  959. package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  960. package/lib/cs/ArticleList/ArticleList.stories.js +12 -11
  961. package/lib/cs/ArticleList/ArticleList.stories.js.map +1 -1
  962. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts +3 -37
  963. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -1
  964. package/lib/cs/CSCaseView/CSAppShell.stories.js +24 -37
  965. package/lib/cs/CSCaseView/CSAppShell.stories.js.map +1 -1
  966. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts +9 -0
  967. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts.map +1 -1
  968. package/lib/cs/CSCaseView/CSCaseView.mocks.js +16 -0
  969. package/lib/cs/CSCaseView/CSCaseView.mocks.js.map +1 -1
  970. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +3 -2
  971. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  972. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +22 -7
  973. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +1 -1
  974. package/lib/cs/DialPad/DialPad.stories.js +1 -1
  975. package/lib/cs/DialPad/DialPad.stories.js.map +1 -1
  976. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -11
  977. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  978. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js +26 -26
  979. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  980. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +7 -6
  981. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  982. package/lib/cs/InteractionNotification/InteractionNotification.stories.js +13 -5
  983. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +1 -1
  984. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
  985. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
  986. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
  987. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
  988. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +3 -7
  989. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  990. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +38 -43
  991. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +1 -1
  992. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +6 -0
  993. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
  994. package/lib/cs/TaskManager/TaskManager.mocks.js +7 -0
  995. package/lib/cs/TaskManager/TaskManager.mocks.js.map +1 -1
  996. package/lib/cs/TaskManager/TaskManager.stories.d.ts +6 -5
  997. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  998. package/lib/cs/TaskManager/TaskManager.stories.js +34 -38
  999. package/lib/cs/TaskManager/TaskManager.stories.js.map +1 -1
  1000. package/lib/cs/TaskManager/TaskManager.styles.d.ts +3 -0
  1001. package/lib/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
  1002. package/lib/cs/TaskManager/TaskManager.styles.js +8 -0
  1003. package/lib/cs/TaskManager/TaskManager.styles.js.map +1 -0
  1004. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
  1005. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
  1006. package/lib/dnd/DragDropList/DragDropList.mocks.js +32 -0
  1007. package/lib/dnd/DragDropList/DragDropList.mocks.js.map +1 -0
  1008. package/lib/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
  1009. package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  1010. package/lib/dnd/DragDropList/DragDropList.stories.js +16 -87
  1011. package/lib/dnd/DragDropList/DragDropList.stories.js.map +1 -1
  1012. package/lib/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
  1013. package/lib/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
  1014. package/lib/dnd/DragDropList/DragDropList.styles.js +32 -0
  1015. package/lib/dnd/DragDropList/DragDropList.styles.js.map +1 -0
  1016. package/lib/rte/Editor/Editor.mocks.d.ts +309 -0
  1017. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -0
  1018. package/lib/rte/Editor/Editor.mocks.js +26 -0
  1019. package/lib/rte/Editor/Editor.mocks.js.map +1 -0
  1020. package/lib/rte/Editor/Editor.stories.d.ts +7 -8
  1021. package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
  1022. package/lib/rte/Editor/Editor.stories.js +8 -28
  1023. package/lib/rte/Editor/Editor.stories.js.map +1 -1
  1024. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js +5 -5
  1025. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +1 -1
  1026. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +2 -3
  1027. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  1028. package/lib/rte/RichTextEditor/RichTextEditor.stories.js +5 -5
  1029. package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +1 -1
  1030. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +5 -5
  1031. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  1032. package/lib/rte/RichTextEditor/RichTextViewer.stories.js +19 -6
  1033. package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +1 -1
  1034. package/lib/social/Chat/Chat.stories.d.ts +6 -7
  1035. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  1036. package/lib/social/Chat/Chat.stories.js +31 -31
  1037. package/lib/social/Chat/Chat.stories.js.map +1 -1
  1038. package/lib/social/Chat/RepeatingView.mocks.d.ts +14 -0
  1039. package/lib/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
  1040. package/lib/social/Chat/RepeatingView.mocks.js +11 -0
  1041. package/lib/social/Chat/RepeatingView.mocks.js.map +1 -0
  1042. package/lib/social/Chat/RepeatingView.stories.d.ts +6 -17
  1043. package/lib/social/Chat/RepeatingView.stories.d.ts.map +1 -1
  1044. package/lib/social/Chat/RepeatingView.stories.js +18 -48
  1045. package/lib/social/Chat/RepeatingView.stories.js.map +1 -1
  1046. package/lib/social/Chat/RepeatingView.styles.d.ts +2 -0
  1047. package/lib/social/Chat/RepeatingView.styles.d.ts.map +1 -0
  1048. package/lib/social/Chat/RepeatingView.styles.js +22 -0
  1049. package/lib/social/Chat/RepeatingView.styles.js.map +1 -0
  1050. package/lib/social/Email/Email.mocks.d.ts +172 -2
  1051. package/lib/social/Email/Email.mocks.d.ts.map +1 -1
  1052. package/lib/social/Email/Email.mocks.js +420 -1
  1053. package/lib/social/Email/Email.mocks.js.map +1 -1
  1054. package/lib/social/Email/Email.stories.d.ts +19 -25
  1055. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  1056. package/lib/social/Email/Email.stories.js +148 -440
  1057. package/lib/social/Email/Email.stories.js.map +1 -1
  1058. package/lib/social/Email/Email.styles.d.ts +4 -0
  1059. package/lib/social/Email/Email.styles.d.ts.map +1 -0
  1060. package/lib/social/Email/Email.styles.js +14 -0
  1061. package/lib/social/Email/Email.styles.js.map +1 -0
  1062. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
  1063. package/lib/social/Feed/Feed.mocks.js +40 -40
  1064. package/lib/social/Feed/Feed.mocks.js.map +1 -1
  1065. package/lib/social/Feed/Feed.stories.d.ts +6 -11
  1066. package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
  1067. package/lib/social/Feed/Feed.stories.js +30 -25
  1068. package/lib/social/Feed/Feed.stories.js.map +1 -1
  1069. package/lib/social/Feed/FeedNewPost.stories.d.ts +7 -14
  1070. package/lib/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
  1071. package/lib/social/Feed/FeedNewPost.stories.js +2 -2
  1072. package/lib/social/Feed/FeedNewPost.stories.js.map +1 -1
  1073. package/lib/social/Feed/FeedPost.stories.d.ts +4 -5
  1074. package/lib/social/Feed/FeedPost.stories.d.ts.map +1 -1
  1075. package/lib/social/Feed/FeedPost.stories.js +37 -27
  1076. package/lib/social/Feed/FeedPost.stories.js.map +1 -1
  1077. package/lib/social/Feed/FeedReply.stories.d.ts +10 -10
  1078. package/lib/social/Feed/FeedReply.stories.d.ts.map +1 -1
  1079. package/lib/social/Feed/FeedReply.stories.js +25 -20
  1080. package/lib/social/Feed/FeedReply.stories.js.map +1 -1
  1081. package/lib/social/Feed/FeedReplyInput.stories.d.ts +7 -12
  1082. package/lib/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
  1083. package/lib/social/Feed/FeedReplyInput.stories.js +2 -2
  1084. package/lib/social/Feed/FeedReplyInput.stories.js.map +1 -1
  1085. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js +1 -1
  1086. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +1 -1
  1087. package/lib/work/CaseView/Attachments.mocks.js +15 -15
  1088. package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
  1089. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  1090. package/lib/work/CaseView/CaseView.mocks.js +8 -8
  1091. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  1092. package/lib/work/CaseView/CaseView.stories.d.ts +4 -11
  1093. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
  1094. package/lib/work/CaseView/CaseView.stories.js +28 -28
  1095. package/lib/work/CaseView/CaseView.stories.js.map +1 -1
  1096. package/lib/work/CaseView/Details.mocks.d.ts.map +1 -1
  1097. package/lib/work/CaseView/Details.mocks.js +2 -2
  1098. package/lib/work/CaseView/Details.mocks.js.map +1 -1
  1099. package/lib/work/CaseView/FileService.mock.js +1 -1
  1100. package/lib/work/CaseView/FileService.mock.js.map +1 -1
  1101. package/lib/work/CaseView/MobileCaseView.stories.d.ts +3 -9
  1102. package/lib/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
  1103. package/lib/work/CaseView/MobileCaseView.stories.js +1 -1
  1104. package/lib/work/CaseView/MobileCaseView.stories.js.map +1 -1
  1105. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  1106. package/lib/work/CaseView/Pulse.mocks.js +3 -3
  1107. package/lib/work/CaseView/Pulse.mocks.js.map +1 -1
  1108. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
  1109. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
  1110. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js +165 -0
  1111. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js.map +1 -0
  1112. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -8
  1113. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  1114. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js +5 -175
  1115. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +1 -1
  1116. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
  1117. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
  1118. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
  1119. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
  1120. package/lib/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  1121. package/lib/work/Confirmation/Confirmation.stories.js +4 -4
  1122. package/lib/work/Confirmation/Confirmation.stories.js.map +1 -1
  1123. package/lib/work/Details/Details.stories.d.ts.map +1 -1
  1124. package/lib/work/Details/Details.stories.js +56 -53
  1125. package/lib/work/Details/Details.stories.js.map +1 -1
  1126. package/lib/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  1127. package/lib/work/Glimpse/Glimpse.stories.js +3 -3
  1128. package/lib/work/Glimpse/Glimpse.stories.js.map +1 -1
  1129. package/lib/work/SearchResults/SearchResults.mocks.js +4 -4
  1130. package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -1
  1131. package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  1132. package/lib/work/SearchResults/SearchResults.stories.js +12 -12
  1133. package/lib/work/SearchResults/SearchResults.stories.js.map +1 -1
  1134. package/lib/work/Stages/Stages.stories.js +2 -2
  1135. package/lib/work/Stages/Stages.stories.js.map +1 -1
  1136. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  1137. package/lib/work/Stakeholders/Stakeholders.mocks.js +4 -4
  1138. package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -1
  1139. package/lib/work/Stakeholders/Stakeholders.stories.d.ts +2 -3
  1140. package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  1141. package/lib/work/Stakeholders/Stakeholders.stories.js +2 -1
  1142. package/lib/work/Stakeholders/Stakeholders.stories.js.map +1 -1
  1143. package/lib/work/Tags/Tags.stories.js +1 -1
  1144. package/lib/work/Tags/Tags.stories.js.map +1 -1
  1145. package/lib/work/Tasks/TaskList.stories.js +3 -3
  1146. package/lib/work/Tasks/TaskList.stories.js.map +1 -1
  1147. package/lib/work/Tasks/Tasks.stories.js +11 -11
  1148. package/lib/work/Tasks/Tasks.stories.js.map +1 -1
  1149. package/lib/work/Timeline/Timeline.mocks.js +8 -8
  1150. package/lib/work/Timeline/Timeline.mocks.js.map +1 -1
  1151. package/lib/work/Timeline/Timeline.stories.d.ts +1 -0
  1152. package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -1
  1153. package/lib/work/Timeline/Timeline.stories.js +24 -3
  1154. package/lib/work/Timeline/Timeline.stories.js.map +1 -1
  1155. package/package.json +22 -18
  1156. package/jsx/build/AppShell/AppShell.mocks.js.map +0 -1
  1157. package/jsx/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
  1158. package/jsx/cs/CSCaseView/CSCaseView.mocks.js.map +0 -1
  1159. package/jsx/social/Email/Email.mocks.js +0 -348
  1160. package/jsx/social/Email/Email.mocks.js.map +0 -1
@@ -1,194 +1,24 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useRef } from 'react';
3
- import styled, { css } from 'styled-components';
4
- import { Flex, NarrowWidePage } from '@pega/cosmos-react-core';
3
+ import { NarrowWidePage } from '@pega/cosmos-react-core';
5
4
  import { ConfigurableLayout, useTrackWrappedRegions } from '@pega/cosmos-react-work';
6
- import { AppShellDemo as AppShell } from '@pega/cosmos-react-demos/lib/core/AppShell/AppShell.stories';
5
+ import { AppShellDemo as AppShell } from '../../core/AppShell/AppShell.stories';
6
+ import { regionAItems, regionBItems } from './ConfigurableLayout.mocks';
7
7
  export default {
8
8
  title: 'Work/ConfigurableLayout',
9
9
  parameters: {
10
10
  layout: 'fullscreen'
11
11
  }
12
12
  };
13
- const StyledPlaceholder = styled.div(({ verticalPadding }) => {
14
- return css `
15
- background: white;
16
- border: 0.0625rem black dashed;
17
- text-align: center;
18
- min-height: 100%;
19
- padding: ${`${verticalPadding}rem`} 0;
20
- `;
21
- });
22
- const Placeholder = ({ text }) => {
23
- const props = {
24
- verticalPadding: Math.floor(Math.random() * (4 - 1 + 1)) + 1
25
- };
26
- return (_jsx(Flex, { as: StyledPlaceholder, container: { direction: 'column', justify: 'center' }, ...props, children: _jsx("p", { children: text }, void 0) }, void 0));
27
- };
28
- const regionAItems = [
29
- {
30
- id: 'a0',
31
- content: _jsx(Placeholder, { text: 'A0' }, void 0),
32
- layoutConfig: {
33
- width: '1/4',
34
- minWidth: 150
35
- }
36
- },
37
- {
38
- id: 'a1',
39
- content: _jsx(Placeholder, { text: 'A1' }, void 0),
40
- layoutConfig: {
41
- width: '1/4',
42
- minWidth: 150
43
- }
44
- },
45
- {
46
- id: 'a2',
47
- content: _jsx(Placeholder, { text: 'A2' }, void 0),
48
- layoutConfig: {
49
- width: '1/4',
50
- minWidth: 150
51
- }
52
- },
53
- {
54
- id: 'a3',
55
- content: _jsx(Placeholder, { text: 'A3' }, void 0),
56
- layoutConfig: {
57
- width: '1/4',
58
- minWidth: 150
59
- }
60
- },
61
- {
62
- id: 'a4',
63
- content: _jsx(Placeholder, { text: 'A4' }, void 0),
64
- layoutConfig: {
65
- width: '3/4'
66
- }
67
- },
68
- {
69
- id: 'a5',
70
- content: _jsx(Placeholder, { text: 'A5' }, void 0),
71
- layoutConfig: {
72
- width: '1/4',
73
- minWidth: 150
74
- }
75
- },
76
- {
77
- id: 'a6',
78
- content: _jsx(Placeholder, { text: 'A6' }, void 0),
79
- layoutConfig: {
80
- width: '1/3'
81
- }
82
- },
83
- {
84
- id: 'a7',
85
- content: _jsx(Placeholder, { text: 'A7' }, void 0),
86
- layoutConfig: {
87
- width: '2/3'
88
- }
89
- }
90
- ];
91
- const regionBItems = [
92
- {
93
- id: 'b0',
94
- content: _jsx(Placeholder, { text: 'B0' }, void 0),
95
- layoutConfig: {
96
- width: '1/4',
97
- minWidth: 150
98
- }
99
- },
100
- {
101
- id: 'b1',
102
- content: _jsx(Placeholder, { text: 'B1' }, void 0),
103
- layoutConfig: {
104
- width: '1/4',
105
- minWidth: 150
106
- }
107
- },
108
- {
109
- id: 'b2',
110
- content: _jsx(Placeholder, { text: 'B2' }, void 0),
111
- layoutConfig: {
112
- width: '1/4',
113
- minWidth: 150
114
- }
115
- },
116
- {
117
- id: 'b3',
118
- content: _jsx(Placeholder, { text: 'B3' }, void 0),
119
- layoutConfig: {
120
- width: '1/4',
121
- minWidth: 150
122
- }
123
- },
124
- {
125
- id: 'b4',
126
- content: _jsx(Placeholder, { text: 'B4' }, void 0),
127
- layoutConfig: {
128
- width: '1/2'
129
- }
130
- },
131
- {
132
- id: 'b5',
133
- content: _jsx(Placeholder, { text: 'B5' }, void 0),
134
- layoutConfig: {
135
- width: '1/2'
136
- }
137
- },
138
- {
139
- id: 'b6',
140
- content: _jsx(Placeholder, { text: 'B6' }, void 0),
141
- layoutConfig: {
142
- width: 'full'
143
- }
144
- },
145
- {
146
- id: 'b7',
147
- content: _jsx(Placeholder, { text: 'B7' }, void 0),
148
- layoutConfig: {
149
- width: '1/3'
150
- }
151
- },
152
- {
153
- id: 'b8',
154
- content: _jsx(Placeholder, { text: 'B8' }, void 0),
155
- layoutConfig: {
156
- width: '2/3'
157
- }
158
- },
159
- {
160
- id: 'b9',
161
- content: _jsx(Placeholder, { text: 'B9' }, void 0),
162
- layoutConfig: {
163
- width: '3/4'
164
- }
165
- },
166
- {
167
- id: 'b10',
168
- content: _jsx(Placeholder, { text: 'B10' }, void 0),
169
- layoutConfig: {
170
- width: '1/4'
171
- }
172
- },
173
- {
174
- id: 'b11',
175
- content: _jsx(Placeholder, { text: 'B11' }, void 0),
176
- layoutConfig: {
177
- width: '1/4',
178
- minWidth: 330,
179
- fillAvailable: false
180
- }
181
- }
182
- ];
183
13
  export const ConfigurableLayoutInPageRegions = () => {
184
14
  const regionElArray = useRef(new Array(2).fill(null));
185
15
  const { containerRef, regionWrappedStates } = useTrackWrappedRegions(regionElArray.current);
186
16
  return (_jsx(AppShell, { main: _jsx(NarrowWidePage, { regionsRef: containerRef, a: _jsx(ConfigurableLayout, { ref: (el) => {
187
17
  if (el)
188
18
  regionElArray.current[0] = el;
189
- }, arrangement: { size: 'narrow', hasWrapped: regionWrappedStates[0] }, items: regionAItems }, void 0), b: _jsx(ConfigurableLayout, { ref: (el) => {
19
+ }, arrangement: { size: 'narrow', hasWrapped: regionWrappedStates[0] }, items: regionAItems }), b: _jsx(ConfigurableLayout, { ref: (el) => {
190
20
  if (el)
191
21
  regionElArray.current[1] = el;
192
- }, arrangement: { size: 'main', hasWrapped: regionWrappedStates[1] }, items: regionBItems }, void 0), title: 'Configurable Layout in Narrow Wide Page' }, void 0) }, void 0));
22
+ }, arrangement: { size: 'main', hasWrapped: regionWrappedStates[1] }, items: regionBItems }), title: 'Configurable Layout in Narrow Wide Page' }) }));
193
23
  };
194
24
  //# sourceMappingURL=ConfigurableLayout.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigurableLayout.stories.js","sourceRoot":"","sources":["../../../src/work/ConfigurableLayout/ConfigurableLayout.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,kBAAkB,EAElB,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,YAAY,IAAI,QAAQ,EAAE,MAAM,6DAA6D,CAAC;AAEvG,eAAe;IACb,KAAK,EAAE,yBAAyB;IAChC,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,eAAe,EAA+B,EAAE,EAAE;IACxF,OAAO,GAAG,CAAA;;;;;eAKG,GAAG,eAAe,KAAK;GACnC,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,CAAC,EAAE,IAAI,EAAoB,EAAE,EAAE;IACjD,MAAM,KAAK,GAAG;QACZ,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;KAC7D,CAAC;IAEF,OAAO,CACL,KAAC,IAAI,IAAC,EAAE,EAAE,iBAAiB,EAAE,SAAS,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAM,KAAK,YAC3F,sBAAI,IAAI,WAAK,WACR,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG;IACnB;QACE,EAAE,EAAE,IAA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J,CAAC,EACC,KAAC,kBAAkB,IACjB,GAAG,EAAE,CAAC,EAAe,EAAE,EAAE;oBACvB,IAAI,EAAE;wBAAE,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;gBACxC,CAAC,EACD,WAAW,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,mBAAmB,CAAC,CAAC,CAAC,EAAE,EACjE,KAAK,EAAE,YAAgD,WACvD,EAEJ,KAAK,EAAC,yCAAyC,WAC/C,WAEJ,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useRef } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { Flex, NarrowWidePage } from '@pega/cosmos-react-core';\nimport {\n ConfigurableLayout,\n ConfigurableLayoutProps,\n useTrackWrappedRegions\n} from '@pega/cosmos-react-work';\nimport { AppShellDemo as AppShell } from '@pega/cosmos-react-demos/lib/core/AppShell/AppShell.stories';\n\nexport default {\n title: 'Work/ConfigurableLayout',\n parameters: {\n layout: 'fullscreen'\n }\n};\n\nconst StyledPlaceholder = styled.div(({ verticalPadding }: { verticalPadding: number }) => {\n return css`\n background: white;\n border: 0.0625rem black dashed;\n text-align: center;\n min-height: 100%;\n padding: ${`${verticalPadding}rem`} 0;\n `;\n});\n\nconst Placeholder = ({ text }: { text: string }) => {\n const props = {\n verticalPadding: Math.floor(Math.random() * (4 - 1 + 1)) + 1\n };\n\n return (\n <Flex as={StyledPlaceholder} container={{ direction: 'column', justify: 'center' }} {...props}>\n <p>{text}</p>\n </Flex>\n );\n};\n\nconst regionAItems = [\n {\n id: 'a0',\n content: <Placeholder text='A0' />,\n layoutConfig: {\n width: '1/4',\n minWidth: 150\n }\n },\n {\n id: 'a1',\n content: <Placeholder text='A1' />,\n layoutConfig: {\n width: '1/4',\n minWidth: 150\n }\n },\n {\n id: 'a2',\n content: <Placeholder text='A2' />,\n layoutConfig: {\n width: '1/4',\n minWidth: 150\n }\n },\n {\n id: 'a3',\n content: <Placeholder text='A3' />,\n layoutConfig: {\n width: '1/4',\n minWidth: 150\n }\n },\n {\n id: 'a4',\n content: <Placeholder text='A4' />,\n layoutConfig: {\n width: '3/4'\n }\n },\n {\n id: 'a5',\n content: <Placeholder text='A5' />,\n layoutConfig: {\n width: '1/4',\n minWidth: 150\n }\n },\n {\n id: 'a6',\n content: <Placeholder text='A6' />,\n layoutConfig: {\n width: '1/3'\n }\n },\n {\n id: 'a7',\n content: <Placeholder text='A7' />,\n layoutConfig: {\n width: '2/3'\n }\n }\n];\n\nconst regionBItems = [\n {\n id: 'b0',\n content: <Placeholder text='B0' />,\n layoutConfig: {\n width: '1/4',\n minWidth: 150\n }\n },\n {\n id: 'b1',\n content: <Placeholder text='B1' />,\n layoutConfig: {\n width: '1/4',\n minWidth: 150\n }\n },\n {\n id: 'b2',\n content: <Placeholder text='B2' />,\n layoutConfig: {\n width: '1/4',\n minWidth: 150\n }\n },\n {\n id: 'b3',\n content: <Placeholder text='B3' />,\n layoutConfig: {\n width: '1/4',\n minWidth: 150\n }\n },\n {\n id: 'b4',\n content: <Placeholder text='B4' />,\n layoutConfig: {\n width: '1/2'\n }\n },\n {\n id: 'b5',\n content: <Placeholder text='B5' />,\n layoutConfig: {\n width: '1/2'\n }\n },\n {\n id: 'b6',\n content: <Placeholder text='B6' />,\n layoutConfig: {\n width: 'full'\n }\n },\n {\n id: 'b7',\n content: <Placeholder text='B7' />,\n layoutConfig: {\n width: '1/3'\n }\n },\n {\n id: 'b8',\n content: <Placeholder text='B8' />,\n layoutConfig: {\n width: '2/3'\n }\n },\n {\n id: 'b9',\n content: <Placeholder text='B9' />,\n layoutConfig: {\n width: '3/4'\n }\n },\n {\n id: 'b10',\n content: <Placeholder text='B10' />,\n layoutConfig: {\n width: '1/4'\n }\n },\n {\n id: 'b11',\n content: <Placeholder text='B11' />,\n layoutConfig: {\n width: '1/4',\n minWidth: 330,\n fillAvailable: false\n }\n }\n];\n\nexport const ConfigurableLayoutInPageRegions = () => {\n const regionElArray = useRef(new Array(2).fill(null));\n const { containerRef, regionWrappedStates } = useTrackWrappedRegions(regionElArray.current);\n\n return (\n <AppShell\n main={\n <NarrowWidePage\n regionsRef={containerRef}\n a={\n <ConfigurableLayout\n ref={(el: HTMLElement) => {\n if (el) regionElArray.current[0] = el;\n }}\n arrangement={{ size: 'narrow', hasWrapped: regionWrappedStates[0] }}\n items={regionAItems as ConfigurableLayoutProps['items']}\n />\n }\n b={\n <ConfigurableLayout\n ref={(el: HTMLElement) => {\n if (el) regionElArray.current[1] = el;\n }}\n arrangement={{ size: 'main', hasWrapped: regionWrappedStates[1] }}\n items={regionBItems as ConfigurableLayoutProps['items']}\n />\n }\n title='Configurable Layout in Narrow Wide Page'\n />\n }\n />\n );\n};\n"]}
1
+ {"version":3,"file":"ConfigurableLayout.stories.js","sourceRoot":"","sources":["../../../src/work/ConfigurableLayout/ConfigurableLayout.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EACL,kBAAkB,EAElB,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,YAAY,IAAI,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAEhF,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAExE,eAAe;IACb,KAAK,EAAE,yBAAyB;IAChC,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACM,CAAC;AAEV,MAAM,CAAC,MAAM,+BAA+B,GAAU,GAAG,EAAE;IACzD,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACtD,MAAM,EAAE,YAAY,EAAE,mBAAmB,EAAE,GAAG,sBAAsB,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE5F,OAAO,CACL,KAAC,QAAQ,IACP,IAAI,EACF,KAAC,cAAc,IACb,UAAU,EAAE,YAAY,EACxB,CAAC,EACC,KAAC,kBAAkB,IACjB,GAAG,EAAE,CAAC,EAAe,EAAE,EAAE;oBACvB,IAAI,EAAE;wBAAE,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;gBACxC,CAAC,EACD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,mBAAmB,CAAC,CAAC,CAAC,EAAE,EACnE,KAAK,EAAE,YAAgD,GACvD,EAEJ,CAAC,EACC,KAAC,kBAAkB,IACjB,GAAG,EAAE,CAAC,EAAe,EAAE,EAAE;oBACvB,IAAI,EAAE;wBAAE,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;gBACxC,CAAC,EACD,WAAW,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,mBAAmB,CAAC,CAAC,CAAC,EAAE,EACjE,KAAK,EAAE,YAAgD,GACvD,EAEJ,KAAK,EAAC,yCAAyC,GAC/C,GAEJ,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useRef } from 'react';\nimport { Meta, Story } from '@storybook/react';\n\nimport { NarrowWidePage } from '@pega/cosmos-react-core';\nimport {\n ConfigurableLayout,\n ConfigurableLayoutProps,\n useTrackWrappedRegions\n} from '@pega/cosmos-react-work';\n\nimport { AppShellDemo as AppShell } from '../../core/AppShell/AppShell.stories';\n\nimport { regionAItems, regionBItems } from './ConfigurableLayout.mocks';\n\nexport default {\n title: 'Work/ConfigurableLayout',\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\nexport const ConfigurableLayoutInPageRegions: Story = () => {\n const regionElArray = useRef(new Array(2).fill(null));\n const { containerRef, regionWrappedStates } = useTrackWrappedRegions(regionElArray.current);\n\n return (\n <AppShell\n main={\n <NarrowWidePage\n regionsRef={containerRef}\n a={\n <ConfigurableLayout\n ref={(el: HTMLElement) => {\n if (el) regionElArray.current[0] = el;\n }}\n arrangement={{ size: 'narrow', hasWrapped: regionWrappedStates[0] }}\n items={regionAItems as ConfigurableLayoutProps['items']}\n />\n }\n b={\n <ConfigurableLayout\n ref={(el: HTMLElement) => {\n if (el) regionElArray.current[1] = el;\n }}\n arrangement={{ size: 'main', hasWrapped: regionWrappedStates[1] }}\n items={regionBItems as ConfigurableLayoutProps['items']}\n />\n }\n title='Configurable Layout in Narrow Wide Page'\n />\n }\n />\n );\n};\n"]}
@@ -0,0 +1,4 @@
1
+ export declare const StyledPlaceholder: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
+ verticalPadding: number;
3
+ }, never>;
4
+ //# sourceMappingURL=ConfigurableLayout.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigurableLayout.styles.d.ts","sourceRoot":"","sources":["../../../src/work/ConfigurableLayout/ConfigurableLayout.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;qBAAuD,MAAM;SAQzF,CAAC"}
@@ -0,0 +1,11 @@
1
+ import styled, { css } from 'styled-components';
2
+ export const StyledPlaceholder = styled.div(({ verticalPadding }) => {
3
+ return css `
4
+ background: white;
5
+ border: 0.0625rem black dashed;
6
+ text-align: center;
7
+ min-height: 100%;
8
+ padding: ${`${verticalPadding}rem`} 0;
9
+ `;
10
+ });
11
+ //# sourceMappingURL=ConfigurableLayout.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigurableLayout.styles.js","sourceRoot":"","sources":["../../../src/work/ConfigurableLayout/ConfigurableLayout.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,eAAe,EAA+B,EAAE,EAAE;IAC/F,OAAO,GAAG,CAAA;;;;;eAKG,GAAG,eAAe,KAAK;GACnC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import styled, { css } from 'styled-components';\n\nexport const StyledPlaceholder = styled.div(({ verticalPadding }: { verticalPadding: number }) => {\n return css`\n background: white;\n border: 0.0625rem black dashed;\n text-align: center;\n min-height: 100%;\n padding: ${`${verticalPadding}rem`} 0;\n `;\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Confirmation.stories.d.ts","sourceRoot":"","sources":["../../../src/work/Confirmation/Confirmation.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAAgB,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;;AAM1E,wBAGU;AAEV,UAAU,sBAAsB;IAC9B,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,sBAAsB,CAuB1D,CAAC"}
1
+ {"version":3,"file":"Confirmation.stories.d.ts","sourceRoot":"","sources":["../../../src/work/Confirmation/Confirmation.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAAgB,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;;AAO1E,wBAGU;AAEV,UAAU,sBAAsB;IAC9B,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,sBAAsB,CAuB1D,CAAC"}
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from 'react';
3
3
  import { Button, Flex } from '@pega/cosmos-react-core';
4
4
  import { Confirmation } from '@pega/cosmos-react-work';
5
- import { FieldValueListDemo } from '@pega/cosmos-react-demos/lib/core/FieldValueList/FieldValueList.stories';
6
- import { TaskListDemo } from '@pega/cosmos-react-demos/lib/work/Tasks/TaskList.stories';
5
+ import { FieldValueListDemo } from '../../core/FieldValueList/FieldValueList.stories';
6
+ import { TaskListDemo } from '../Tasks/TaskList.stories';
7
7
  import { StyledFlex } from './Confirmation.styles';
8
8
  export default {
9
9
  title: 'Work/Confirmation',
@@ -11,11 +11,11 @@ export default {
11
11
  };
12
12
  export const ConfirmationDemo = (args) => {
13
13
  const [showConfirmation, setShowConfirmation] = useState(true);
14
- return (_jsxs(Flex, { as: StyledFlex, container: { justify: 'center', alignItems: 'center' }, children: [showConfirmation && (_jsx(Confirmation, { title: args.title, details: _jsx(FieldValueListDemo, { name: 'Project', value: 'Pega Cosmos', fields: [] }, void 0), whatsNext: [
14
+ return (_jsxs(Flex, { as: StyledFlex, container: { justify: 'center', alignItems: 'center' }, children: [showConfirmation && (_jsx(Confirmation, { title: args.title, details: _jsx(FieldValueListDemo, { name: 'Project', value: 'Pega Cosmos' }), whatsNext: [
15
15
  'Send references',
16
16
  'Collect information on the case',
17
17
  'Prepare a demonstration'
18
- ], tasks: _jsx(TaskListDemo, {}, void 0), onClose: () => setShowConfirmation(false) }, void 0)), !showConfirmation && (_jsx(Button, { onClick: () => setShowConfirmation(true), children: "Show confirmation" }, void 0))] }, void 0));
18
+ ], tasks: _jsx(TaskListDemo, {}), onClose: () => setShowConfirmation(false) })), !showConfirmation && (_jsx(Button, { onClick: () => setShowConfirmation(true), children: "Show confirmation" }))] }));
19
19
  };
20
20
  ConfirmationDemo.args = {
21
21
  title: 'US-1337 confirmation'
@@ -1 +1 @@
1
- {"version":3,"file":"Confirmation.stories.js","sourceRoot":"","sources":["../../../src/work/Confirmation/Confirmation.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAqB,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EA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@storybook/react';\n\nimport { Button, Flex } from '@pega/cosmos-react-core';\nimport { Confirmation, ConfirmationProps } from '@pega/cosmos-react-work';\nimport { FieldValueListDemo } from '@pega/cosmos-react-demos/lib/core/FieldValueList/FieldValueList.stories';\nimport { TaskListDemo } from '@pega/cosmos-react-demos/lib/work/Tasks/TaskList.stories';\n\nimport { StyledFlex } from './Confirmation.styles';\n\nexport default {\n title: 'Work/Confirmation',\n component: Confirmation\n} as Meta;\n\ninterface ConfirmationStoryProps {\n title: ConfirmationProps['title'];\n}\n\nexport const ConfirmationDemo: Story<ConfirmationStoryProps> = (args: ConfirmationStoryProps) => {\n const [showConfirmation, setShowConfirmation] = useState(true);\n\n return (\n <Flex as={StyledFlex} container={{ justify: 'center', alignItems: 'center' }}>\n {showConfirmation && (\n <Confirmation\n title={args.title}\n details={<FieldValueListDemo name='Project' value='Pega Cosmos' fields={[]} />}\n whatsNext={[\n 'Send references',\n 'Collect information on the case',\n 'Prepare a demonstration'\n ]}\n tasks={<TaskListDemo />}\n onClose={() => setShowConfirmation(false)}\n />\n )}\n {!showConfirmation && (\n <Button onClick={() => setShowConfirmation(true)}>Show confirmation</Button>\n )}\n </Flex>\n );\n};\n\nConfirmationDemo.args = {\n title: 'US-1337 confirmation'\n};\n\nConfirmationDemo.argTypes = {\n title: { control: { type: 'text' } }\n};\n"]}
1
+ {"version":3,"file":"Confirmation.stories.js","sourceRoot":"","sources":["../../../src/work/Confirmation/Confirmation.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAqB,MAAM,yBAAyB,CAAC;AAE1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,YAAY;CAChB,CAAC;AAMV,MAAM,CAAC,MAAM,gBAAgB,GAAkC,CAAC,IAA4B,EAAE,EAAE;IAC9F,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE/D,OAAO,CACL,MAAC,IAAI,IAAC,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,aACzE,gBAAgB,IAAI,CACnB,KAAC,YAAY,IACX,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,KAAC,kBAAkB,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,aAAa,GAAG,EAClE,SAAS,EAAE;oBACT,iBAAiB;oBACjB,iCAAiC;oBACjC,yBAAyB;iBAC1B,EACD,KAAK,EAAE,KAAC,YAAY,KAAG,EACvB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAC,GACzC,CACH,EACA,CAAC,gBAAgB,IAAI,CACpB,KAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,kCAA4B,CAC7E,IACI,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,gBAAgB,CAAC,IAAI,GAAG;IACtB,KAAK,EAAE,sBAAsB;CAC9B,CAAC;AAEF,gBAAgB,CAAC,QAAQ,GAAG;IAC1B,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CACrC,CAAC","sourcesContent":["import { useState } from 'react';\nimport { Meta, Story } from '@storybook/react';\n\nimport { Button, Flex } from '@pega/cosmos-react-core';\nimport { Confirmation, ConfirmationProps } from '@pega/cosmos-react-work';\n\nimport { FieldValueListDemo } from '../../core/FieldValueList/FieldValueList.stories';\nimport { TaskListDemo } from '../Tasks/TaskList.stories';\n\nimport { StyledFlex } from './Confirmation.styles';\n\nexport default {\n title: 'Work/Confirmation',\n component: Confirmation\n} as Meta;\n\ninterface ConfirmationStoryProps {\n title: ConfirmationProps['title'];\n}\n\nexport const ConfirmationDemo: Story<ConfirmationStoryProps> = (args: ConfirmationStoryProps) => {\n const [showConfirmation, setShowConfirmation] = useState(true);\n\n return (\n <Flex as={StyledFlex} container={{ justify: 'center', alignItems: 'center' }}>\n {showConfirmation && (\n <Confirmation\n title={args.title}\n details={<FieldValueListDemo name='Project' value='Pega Cosmos' />}\n whatsNext={[\n 'Send references',\n 'Collect information on the case',\n 'Prepare a demonstration'\n ]}\n tasks={<TaskListDemo />}\n onClose={() => setShowConfirmation(false)}\n />\n )}\n {!showConfirmation && (\n <Button onClick={() => setShowConfirmation(true)}>Show confirmation</Button>\n )}\n </Flex>\n );\n};\n\nConfirmationDemo.args = {\n title: 'US-1337 confirmation'\n};\n\nConfirmationDemo.argTypes = {\n title: { control: { type: 'text' } }\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Details.stories.d.ts","sourceRoot":"","sources":["../../../src/work/Details/Details.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAa/C,wBAGU;AAEV,eAAO,MAAM,WAAW,EAAE,KAwEzB,CAAC"}
1
+ {"version":3,"file":"Details.stories.d.ts","sourceRoot":"","sources":["../../../src/work/Details/Details.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAgB/C,wBAGU;AAEV,eAAO,MAAM,WAAW,EAAE,KAuFzB,CAAC"}
@@ -1,62 +1,65 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { CurrencyDisplay, DateTimeDisplay, URLDisplay, BooleanDisplay, FieldGroup, FieldValueList, Link } from '@pega/cosmos-react-core';
2
+ import { CurrencyDisplay, DateTimeDisplay, URLDisplay, BooleanDisplay, FieldGroup, FieldValueList, LocationDisplay, MapsContext, PhoneDisplay, EmailDisplay } from '@pega/cosmos-react-core';
3
3
  import { Details } from '@pega/cosmos-react-work';
4
4
  export default {
5
5
  title: 'Work/Details',
6
6
  component: Details
7
7
  };
8
8
  export const DetailsDemo = () => {
9
- return (_jsx(Details, { highlightedFields: [
10
- {
11
- id: '1',
12
- name: 'Statement balance',
13
- value: _jsx(CurrencyDisplay, { value: '1,289.00', currencyISOCode: 'USD' }, void 0)
14
- },
15
- {
16
- id: '2',
17
- name: 'Total balance',
18
- value: _jsx(CurrencyDisplay, { value: '35,667.00', currencyISOCode: 'USD' }, void 0)
19
- },
20
- {
21
- id: '3',
22
- name: 'Available credit',
23
- value: _jsx(CurrencyDisplay, { value: '5,813.00', currencyISOCode: 'USD' }, void 0)
24
- },
25
- {
26
- id: '4',
27
- name: 'Payment due date',
28
- value: _jsx(DateTimeDisplay, { value: Date.now(), variant: 'datetime', format: 'long' }, void 0)
29
- },
30
- {
31
- id: '5',
32
- name: 'Available benefits',
33
- value: (_jsx(URLDisplay, { value: 'https://www.google.com/', displayText: 'View benefits', variant: 'link' }, void 0))
34
- },
35
- {
36
- id: '6',
37
- name: 'Platinum member',
38
- value: _jsx(BooleanDisplay, { value: true }, void 0)
39
- }
40
- ], regions: [
41
- _jsx(FieldGroup, { name: 'Personal', children: _jsx(FieldValueList, { fields: [
42
- { name: 'Home address', value: '12 Higgins Bottom Way, Carnell, NH, 02133' },
43
- { name: 'Primary phone', value: '(617) 374-9637' },
44
- {
45
- name: 'Primary email',
46
- value: _jsx(Link, { href: 'mailto:joe.smith@example.com', children: "joe.smith@example.com" }, void 0)
47
- }
48
- ] }, void 0) }, void 0),
49
- _jsx(FieldGroup, { name: 'Work', children: _jsx(FieldValueList, { fields: [
50
- {
51
- name: 'Work address',
52
- value: '1 Monolith Business Parkway, Milltown, NH, 02333'
53
- },
54
- { name: 'Work phone', value: '(800) 374-2200' },
55
- {
56
- name: 'Work email',
57
- value: _jsx(Link, { href: 'mailto:jane.smith@example.com', children: "jane.smith@example.com" }, void 0)
58
- }
59
- ] }, void 0) }, void 0)
60
- ] }, void 0));
9
+ return (_jsx(MapsContext.Provider, { value: { name: 'google' }, children: _jsx(Details, { highlightedFields: [
10
+ {
11
+ id: '1',
12
+ name: 'Statement balance',
13
+ value: _jsx(CurrencyDisplay, { value: 1289.0, currencyISOCode: 'USD' })
14
+ },
15
+ {
16
+ id: '2',
17
+ name: 'Total balance',
18
+ value: _jsx(CurrencyDisplay, { value: 35667.0, currencyISOCode: 'USD' })
19
+ },
20
+ {
21
+ id: '3',
22
+ name: 'Available credit',
23
+ value: _jsx(CurrencyDisplay, { value: 5813.0, currencyISOCode: 'USD' })
24
+ },
25
+ {
26
+ id: '4',
27
+ name: 'Payment due date',
28
+ value: _jsx(DateTimeDisplay, { value: Date.now(), variant: 'datetime', format: 'long' })
29
+ },
30
+ {
31
+ id: '5',
32
+ name: 'Available benefits',
33
+ value: (_jsx(URLDisplay, { value: 'https://www.google.com/', displayText: 'View benefits', variant: 'link' }))
34
+ },
35
+ {
36
+ id: '6',
37
+ name: 'Platinum member',
38
+ value: _jsx(BooleanDisplay, { value: true })
39
+ }
40
+ ], regions: [
41
+ _jsx(FieldGroup, { name: 'Personal', children: _jsx(FieldValueList, { fields: [
42
+ {
43
+ name: 'Home address',
44
+ value: (_jsx(LocationDisplay, { value: '12 Higgins Bottom Way, Carnell, NH, 02133', variant: 'text' }))
45
+ },
46
+ { name: 'Primary phone', value: _jsx(PhoneDisplay, { value: '+15553749637' }) },
47
+ {
48
+ name: 'Primary email',
49
+ value: _jsx(EmailDisplay, { value: 'joe.smith@example.com' })
50
+ }
51
+ ] }) }),
52
+ _jsx(FieldGroup, { name: 'Work', children: _jsx(FieldValueList, { fields: [
53
+ {
54
+ name: 'Work address',
55
+ value: (_jsx(LocationDisplay, { value: '1 Monolith Business Parkway, Milltown, NH, 02333', variant: 'text' }))
56
+ },
57
+ { name: 'Work phone', value: _jsx(PhoneDisplay, { value: '+15553742200' }) },
58
+ {
59
+ name: 'Work email',
60
+ value: _jsx(EmailDisplay, { value: 'jane.smith@example.com' })
61
+ }
62
+ ] }) })
63
+ ] }) }));
61
64
  };
62
65
  //# sourceMappingURL=Details.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Details.stories.js","sourceRoot":"","sources":["../../../src/work/Details/Details.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,eAAe,EACf,eAAe,EACf,UAAU,EACV,cAAc,EACd,UAAU,EACV,cAAc,EACd,IAAI,EACL,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,OAAO;CACX,CAAC;AAEV,MAAM,CAAC,MAAM,WAAW,GAAU,GAAG,EAAE;IACrC,OAAO,CACL,KAAC,OAAO,IACN,iBAAiB,EAAE;YACjB;gBACE,EAAE,EAAE,GAAG;gBACP,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,KAAC,eAAe,IAAC,KAAK,EAAC,UAAU,EAAC,eAAe,EAAC,KAAK,WAAG;aAClE;YACD;gBACE,EAAE,EAAE,GAAG;gBACP,IAAI,EAAE,eAAe;gBACrB,KAAK,EAAE,KAAC,eAAe,IAAC,KAAK,EAAC,WAAW,EAAC,eAAe,EAAC,KAAK,WAAG;aACnE;YACD;gBACE,EAAE,EAAE,GAAG;gBACP,IAAI,EAAE,kBAAkB;gBACxB,KAAK,EAAE,KAAC,eAAe,IAAC,KAAK,EAAC,UAAU,EAAC,eAAe,EAAC,KAAK,WAAG;aAClE;YACD;gBACE,EAAE,EAAE,GAAG;gBACP,IAAI,EAAE,kBAAkB;gBACxB,KAAK,EAAE,KAAC,eAAe,IAAC,KAAK,EAAE,IAAI,CAAC,GAAG,EAAE,EAAE,OAAO,EAAC,UAAU,EAAC,MAAM,EAAC,MAAM,WAAG;aAC/E;YACD;gBACE,EAAE,EAAE,GAAG;gBACP,IAAI,EAAE,oBAAoB;gBAC1B,KAAK,EAAE,CACL,KAAC,UAAU,IACT,KAAK,EAAC,yBAAyB,EAC/B,WAAW,EAAC,eAAe,EAC3B,OAAO,EAAC,MAAM,WACd,CACH;aACF;YACD;gBACE,EAAE,EAAE,GAAG;gBACP,IAAI,EAAE,iBAAiB;gBACvB,KAAK,EAAE,KAAC,cAAc,IAAC,KAAK,iBAAG;aAChC;SACF,EACD,OAAO,EAAE;YACP,KAAC,UAAU,IAAC,IAAI,EAAC,UAAU,YACzB,KAAC,cAAc,IACb,MAAM,EAAE;wBACN,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,2CAA2C,EAAE;wBAC5E,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,gBAAgB,EAAE;wBAClD;4BACE,IAAI,EAAE,eAAe;4BACrB,KAAK,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,8BAA8B,8CAA6B;yBAC9E;qBACF,WACD,WACS;YACb,KAAC,UAAU,IAAC,IAAI,EAAC,MAAM,YACrB,KAAC,cAAc,IACb,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,cAAc;4BACpB,KAAK,EAAE,kDAAkD;yBAC1D;wBACD,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,gBAAgB,EAAE;wBAC/C;4BACE,IAAI,EAAE,YAAY;4BAClB,KAAK,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,+BAA+B,+CAA8B;yBAChF;qBACF,WACD,WACS;SACd,WACD,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport {\n CurrencyDisplay,\n DateTimeDisplay,\n URLDisplay,\n BooleanDisplay,\n FieldGroup,\n FieldValueList,\n Link\n} from '@pega/cosmos-react-core';\nimport { Details } from '@pega/cosmos-react-work';\n\nexport default {\n title: 'Work/Details',\n component: Details\n} as Meta;\n\nexport const DetailsDemo: Story = () => {\n return (\n <Details\n highlightedFields={[\n {\n id: '1',\n name: 'Statement balance',\n value: <CurrencyDisplay value='1,289.00' currencyISOCode='USD' />\n },\n {\n id: '2',\n name: 'Total balance',\n value: <CurrencyDisplay value='35,667.00' currencyISOCode='USD' />\n },\n {\n id: '3',\n name: 'Available credit',\n value: <CurrencyDisplay value='5,813.00' currencyISOCode='USD' />\n },\n {\n id: '4',\n name: 'Payment due date',\n value: <DateTimeDisplay value={Date.now()} variant='datetime' format='long' />\n },\n {\n id: '5',\n name: 'Available benefits',\n value: (\n <URLDisplay\n value='https://www.google.com/'\n displayText='View benefits'\n variant='link'\n />\n )\n },\n {\n id: '6',\n name: 'Platinum member',\n value: <BooleanDisplay value />\n }\n ]}\n regions={[\n <FieldGroup name='Personal'>\n <FieldValueList\n fields={[\n { name: 'Home address', value: '12 Higgins Bottom Way, Carnell, NH, 02133' },\n { name: 'Primary phone', value: '(617) 374-9637' },\n {\n name: 'Primary email',\n value: <Link href='mailto:joe.smith@example.com'>joe.smith@example.com</Link>\n }\n ]}\n />\n </FieldGroup>,\n <FieldGroup name='Work'>\n <FieldValueList\n fields={[\n {\n name: 'Work address',\n value: '1 Monolith Business Parkway, Milltown, NH, 02333'\n },\n { name: 'Work phone', value: '(800) 374-2200' },\n {\n name: 'Work email',\n value: <Link href='mailto:jane.smith@example.com'>jane.smith@example.com</Link>\n }\n ]}\n />\n </FieldGroup>\n ]}\n />\n );\n};\n"]}
1
+ {"version":3,"file":"Details.stories.js","sourceRoot":"","sources":["../../../src/work/Details/Details.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,eAAe,EACf,eAAe,EACf,UAAU,EACV,cAAc,EACd,UAAU,EACV,cAAc,EACd,eAAe,EACf,WAAW,EACX,YAAY,EACZ,YAAY,EACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,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cAAc,IACb,MAAM,EAAE;4BACN;gCACE,IAAI,EAAE,cAAc;gCACpB,KAAK,EAAE,CACL,KAAC,eAAe,IACd,KAAK,EAAC,2CAA2C,EACjD,OAAO,EAAC,MAAM,GACd,CACH;6BACF;4BACD,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,KAAC,YAAY,IAAC,KAAK,EAAC,cAAc,GAAG,EAAE;4BACvE;gCACE,IAAI,EAAE,eAAe;gCACrB,KAAK,EAAE,KAAC,YAAY,IAAC,KAAK,EAAC,uBAAuB,GAAG;6BACtD;yBACF,GACD,GACS;gBACb,KAAC,UAAU,IAAC,IAAI,EAAC,MAAM,YACrB,KAAC,cAAc,IACb,MAAM,EAAE;4BACN;gCACE,IAAI,EAAE,cAAc;gCACpB,KAAK,EAAE,CACL,KAAC,eAAe,IACd,KAAK,EAAC,kDAAkD,EACxD,OAAO,EAAC,MAAM,GACd,CACH;6BACF;4BACD,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,KAAC,YAAY,IAAC,KAAK,EAAC,cAAc,GAAG,EAAE;4BACpE;gCACE,IAAI,EAAE,YAAY;gCAClB,KAAK,EAAE,KAAC,YAAY,IAAC,KAAK,EAAC,wBAAwB,GAAG;6BACvD;yBACF,GACD,GACS;aACd,GACD,GACmB,CACxB,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport {\n CurrencyDisplay,\n DateTimeDisplay,\n URLDisplay,\n BooleanDisplay,\n FieldGroup,\n FieldValueList,\n LocationDisplay,\n MapsContext,\n PhoneDisplay,\n EmailDisplay\n} from '@pega/cosmos-react-core';\nimport { Details } from '@pega/cosmos-react-work';\n\nexport default {\n title: 'Work/Details',\n component: Details\n} as Meta;\n\nexport const DetailsDemo: Story = () => {\n return (\n <MapsContext.Provider value={{ name: 'google' }}>\n <Details\n highlightedFields={[\n {\n id: '1',\n name: 'Statement balance',\n value: <CurrencyDisplay value={1289.0} currencyISOCode='USD' />\n },\n {\n id: '2',\n name: 'Total balance',\n value: <CurrencyDisplay value={35667.0} currencyISOCode='USD' />\n },\n {\n id: '3',\n name: 'Available credit',\n value: <CurrencyDisplay value={5813.0} currencyISOCode='USD' />\n },\n {\n id: '4',\n name: 'Payment due date',\n value: <DateTimeDisplay value={Date.now()} variant='datetime' format='long' />\n },\n {\n id: '5',\n name: 'Available benefits',\n value: (\n <URLDisplay\n value='https://www.google.com/'\n displayText='View benefits'\n variant='link'\n />\n )\n },\n {\n id: '6',\n name: 'Platinum member',\n value: <BooleanDisplay value />\n }\n ]}\n regions={[\n <FieldGroup name='Personal'>\n <FieldValueList\n fields={[\n {\n name: 'Home address',\n value: (\n <LocationDisplay\n value='12 Higgins Bottom Way, Carnell, NH, 02133'\n variant='text'\n />\n )\n },\n { name: 'Primary phone', value: <PhoneDisplay value='+15553749637' /> },\n {\n name: 'Primary email',\n value: <EmailDisplay value='joe.smith@example.com' />\n }\n ]}\n />\n </FieldGroup>,\n <FieldGroup name='Work'>\n <FieldValueList\n fields={[\n {\n name: 'Work address',\n value: (\n <LocationDisplay\n value='1 Monolith Business Parkway, Milltown, NH, 02333'\n variant='text'\n />\n )\n },\n { name: 'Work phone', value: <PhoneDisplay value='+15553742200' /> },\n {\n name: 'Work email',\n value: <EmailDisplay value='jane.smith@example.com' />\n }\n ]}\n />\n </FieldGroup>\n ]}\n />\n </MapsContext.Provider>\n );\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Glimpse.stories.d.ts","sourceRoot":"","sources":["../../../src/work/Glimpse/Glimpse.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAK/C,wBAIU;AAEV,UAAU,iBAAiB;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CA6BhD,CAAC"}
1
+ {"version":3,"file":"Glimpse.stories.d.ts","sourceRoot":"","sources":["../../../src/work/Glimpse/Glimpse.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAK/C,wBAIU;AAEV,UAAU,iBAAiB;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CA6BhD,CAAC"}
@@ -14,18 +14,18 @@ export const GlimpseDemo = (args) => {
14
14
  },
15
15
  {
16
16
  name: 'Phone number',
17
- value: _jsx(PhoneDisplay, { value: '(111) 111-1111' }, void 0)
17
+ value: _jsx(PhoneDisplay, { value: '(111) 111-1111' })
18
18
  },
19
19
  {
20
20
  name: 'Email',
21
- value: _jsx(EmailDisplay, { value: 'turnc@example.com' }, void 0)
21
+ value: _jsx(EmailDisplay, { value: 'turnc@example.com' })
22
22
  },
23
23
  {
24
24
  name: 'Reports to',
25
25
  value: 'Helen Bush'
26
26
  }
27
27
  ];
28
- return (_jsx(Glimpse, { id: 'turnc', primary: 'Cindy Turner', secondary: args.showSecondary ? ['Lead Engineer'] : undefined, visual: args.showVisual ? _jsx(Avatar, { size: 'l', name: 'Cindy Turner' }, void 0) : undefined, fields: args.showFields ? fields : undefined }, void 0));
28
+ return (_jsx(Glimpse, { id: 'turnc', primary: 'Cindy Turner', secondary: args.showSecondary ? ['Lead Engineer'] : undefined, visual: args.showVisual ? _jsx(Avatar, { size: 'l', name: 'Cindy Turner' }) : undefined, fields: args.showFields ? fields : undefined }));
29
29
  };
30
30
  GlimpseDemo.args = {
31
31
  showSecondary: true,
@@ -1 +1 @@
1
- {"version":3,"file":"Glimpse.stories.js","sourceRoot":"","sources":["../../../src/work/Glimpse/Glimpse.stories.tsx"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W,CAAC,QAAQ,GAAG;IACrB,aAAa,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC/C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC5C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC7C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Avatar, EmailDisplay, FieldValueListProps, PhoneDisplay } from '@pega/cosmos-react-core';\nimport { Glimpse } from '@pega/cosmos-react-work';\n\nexport default {\n title: 'Work/Glimpse',\n component: Glimpse,\n parameters: { layout: 'centered' }\n} as Meta;\n\ninterface GlimpseStoryProps {\n showSecondary?: boolean;\n showVisual?: boolean;\n showFields?: boolean;\n}\n\nexport const GlimpseDemo: Story<GlimpseStoryProps> = (args: GlimpseStoryProps) => {\n const fields: FieldValueListProps['fields'] = [\n {\n name: 'Project',\n value: 'Cosmos Demo'\n },\n {\n name: 'Phone number',\n value: <PhoneDisplay value='(111) 111-1111' />\n },\n {\n name: 'Email',\n value: <EmailDisplay value='turnc@example.com' />\n },\n {\n name: 'Reports to',\n value: 'Helen Bush'\n }\n ];\n\n return (\n <Glimpse\n id='turnc'\n primary='Cindy Turner'\n secondary={args.showSecondary ? ['Lead Engineer'] : undefined}\n visual={args.showVisual ? <Avatar size='l' name='Cindy Turner' /> : undefined}\n fields={args.showFields ? fields : undefined}\n />\n );\n};\n\nGlimpseDemo.args = {\n showSecondary: true,\n showVisual: true,\n showFields: true\n};\n\nGlimpseDemo.argTypes = {\n showSecondary: { control: { type: 'boolean' } },\n showVisual: { control: { type: 'boolean' } },\n showFields: { control: { type: 'boolean' } }\n};\n"]}
1
+ {"version":3,"file":"Glimpse.stories.js","sourceRoot":"","sources":["../../../src/work/Glimpse/Glimpse.stories.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAuB,Y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AAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC/C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC5C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC7C,CAAC","sourcesContent":["// cSpell:words turnc\nimport { Meta, Story } from '@storybook/react';\n\nimport { Avatar, EmailDisplay, FieldValueListProps, PhoneDisplay } from '@pega/cosmos-react-core';\nimport { Glimpse } from '@pega/cosmos-react-work';\n\nexport default {\n title: 'Work/Glimpse',\n component: Glimpse,\n parameters: { layout: 'centered' }\n} as Meta;\n\ninterface GlimpseStoryProps {\n showSecondary?: boolean;\n showVisual?: boolean;\n showFields?: boolean;\n}\n\nexport const GlimpseDemo: Story<GlimpseStoryProps> = (args: GlimpseStoryProps) => {\n const fields: FieldValueListProps['fields'] = [\n {\n name: 'Project',\n value: 'Cosmos Demo'\n },\n {\n name: 'Phone number',\n value: <PhoneDisplay value='(111) 111-1111' />\n },\n {\n name: 'Email',\n value: <EmailDisplay value='turnc@example.com' />\n },\n {\n name: 'Reports to',\n value: 'Helen Bush'\n }\n ];\n\n return (\n <Glimpse\n id='turnc'\n primary='Cindy Turner'\n secondary={args.showSecondary ? ['Lead Engineer'] : undefined}\n visual={args.showVisual ? <Avatar size='l' name='Cindy Turner' /> : undefined}\n fields={args.showFields ? fields : undefined}\n />\n );\n};\n\nGlimpseDemo.args = {\n showSecondary: true,\n showVisual: true,\n showFields: true\n};\n\nGlimpseDemo.argTypes = {\n showSecondary: { control: { type: 'boolean' } },\n showVisual: { control: { type: 'boolean' } },\n showFields: { control: { type: 'boolean' } }\n};\n"]}
@@ -63,20 +63,20 @@ export const initialFilters = [
63
63
  items: [
64
64
  {
65
65
  id: 'blocked',
66
- label: _jsx(Status, { variant: 'urgent', children: "Blocked" }, void 0),
66
+ label: _jsx(Status, { variant: 'urgent', children: "Blocked" }),
67
67
  checked: false,
68
68
  name: 'Blocked'
69
69
  },
70
70
  {
71
71
  id: 'pending',
72
- label: _jsx(Status, { variant: 'pending', children: "Pending" }, void 0),
72
+ label: _jsx(Status, { variant: 'pending', children: "Pending" }),
73
73
  checked: false,
74
74
  name: 'Pending'
75
75
  },
76
- { id: 'ready', label: _jsx(Status, { variant: 'info', children: "Ready" }, void 0), checked: false, name: 'Ready' },
76
+ { id: 'ready', label: _jsx(Status, { variant: 'info', children: "Ready" }), checked: false, name: 'Ready' },
77
77
  {
78
78
  id: 'completed',
79
- label: _jsx(Status, { variant: 'success', children: "Completed" }, void 0),
79
+ label: _jsx(Status, { variant: 'success', children: "Completed" }),
80
80
  checked: false,
81
81
  name: 'Completed'
82
82
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SearchResults.mocks.js","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.mocks.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAc,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAG7D,MAAM,WAAW,GACf,kXAAkX,CAAC;AAIrX,MAAM,aAAa,GAAG,CACpB,MAAkB,EAClB,UAA4D,EAC5D,eAA6D,EAC7D,EAAE;IACF,OAAO;QACL,IAAI,EAAE,YAAY,MAAM,CAAC,EAAE,EAAE;QAC7B,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,GAAG,EAAE;YACd,UAAU,CAAC,MAAM,CAAC,CAAC;YACnB,eAAe,CAAC,WAAW,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;QAC1C,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,UAA4D,EAC5D,eAA6D,EACxC,EAAE;IACvB,OAAO;QACL;YACE,EAAE,EAAE,UAAU;YACd,KAAK,EAAE,qCAAqC;YAC5C,WAAW;YACX,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;SAC1D;QACD;YACE,EAAE,EAAE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;gBACb,KAAK,EAAE,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,gCAAiB;gBACjD,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,SAAS;aAChB;YACD,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,KAAC,MAAM,IAAC,OAAO,EAAC,MAAM,8BAAe,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE;YAC5F;gBACE,EAAE,EAAE,WAAW;gBACf,KAAK,EAAE,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,kCAAmB;gBACnD,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,WAAW;aAClB;SACF;KACF;IACD;QACE,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,eAAe;QAC3B,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE;YACL,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE;YAC9D,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,KAAK,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 { Dispatch, SetStateAction } from 'react';\n\nimport { OmitStrict, Status } from '@pega/cosmos-react-core';\nimport { SearchResultProps, SearchResultsProps } from '@pega/cosmos-react-work';\n\nconst description =\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec semper, arcu eu sodales accumsan, ante purus fermentum dolor, ac convallis urna nisl eget lectus. Vivamus ut neque et turpis posuere pharetra imperdiet id augue. Nullam porta venenatis pharetra. Donec hendrerit, dolor eleifend vulputate tristique, dui dolor consequat ante, a vestibulum mi neque in purus.';\n\ntype ResultMeta = OmitStrict<SearchResultProps, 'link'>;\n\nconst getResultLink = (\n result: ResultMeta,\n setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>,\n setPreviewTabId: Dispatch<SetStateAction<string | undefined>>\n) => {\n return {\n href: `projects/${result.id}`,\n previewable: true,\n onPreview: () => {\n setPreview(result);\n setPreviewTabId(`summary-${result.id}`);\n }\n };\n};\n\nexport const getInitialResults = (\n setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>,\n setPreviewTabId: Dispatch<SetStateAction<string | undefined>>\n): SearchResultProps[] => {\n return [\n {\n id: 'PROJ-300',\n title: 'The Art of Building Beautiful Demos',\n description,\n meta: ['Completed', 'Low priority', new Date('01/01/21')]\n },\n {\n id: 'PROJ-123',\n title: 'Be Single Minded',\n description,\n meta: ['Blocked', 'Medium priority', new Date('12/31/20')]\n },\n {\n id: 'PROJ-456',\n title: 'Differentiate Yourself and Attract More Attention Sales and Profits',\n description,\n meta: ['Pending', 'High priority', new Date('12/01/20')]\n },\n {\n id: 'PROJ-789',\n title: 'Importance of the Custom Test',\n description,\n meta: ['Completed', 'Medium priority', new Date('01/01/21 08:00:00')]\n },\n {\n id: 'PROJ-100',\n title: 'Improve Your Business Cards and Enhance Your Sales',\n description,\n meta: ['Ready', 'High priority', new Date('12/31/20')]\n },\n {\n id: 'PROJ-200',\n title: 'How to Write Better Advertising',\n description,\n meta: ['Ready', 'Low priority', new Date('12/25/20')]\n }\n ].map(result => {\n return {\n ...result,\n link: getResultLink(result, setPreview, setPreviewTabId)\n };\n });\n};\n\nexport const initialFilters: SearchResultsProps['filters'] = [\n {\n type: 'select',\n name: 'Status',\n items: [\n {\n id: 'blocked',\n label: <Status variant='urgent'>Blocked</Status>,\n checked: false,\n name: 'Blocked'\n },\n {\n id: 'pending',\n label: <Status variant='pending'>Pending</Status>,\n checked: false,\n name: 'Pending'\n },\n { id: 'ready', label: <Status variant='info'>Ready</Status>, checked: false, name: 'Ready' },\n {\n id: 'completed',\n label: <Status variant='success'>Completed</Status>,\n checked: false,\n name: 'Completed'\n }\n ]\n },\n {\n type: 'select',\n selectType: 'single-select',\n name: 'Last updated',\n items: [\n { id: 'today', label: 'Today', checked: false, name: 'Today' },\n { id: 'yesterday', label: 'Yesterday', checked: false, name: 'Yesterday' },\n { id: '7-days', label: 'Last 7 days', checked: false, name: 'Last 7 days' },\n { id: '30-days', label: 'Last 30 days', checked: false, name: 'Last 30 days' }\n ]\n }\n];\n"]}
1
+ {"version":3,"file":"SearchResults.mocks.js","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.mocks.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAc,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAG7D,MAAM,WAAW,GACf,kXAAkX,CAAC;AAIrX,MAAM,aAAa,GAAG,CACpB,MAAkB,EAClB,UAA4D,EAC5D,eAA6D,EAC7D,EAAE;IACF,OAAO;QACL,IAAI,EAAE,YAAY,MAAM,CAAC,EAAE,EAAE;QAC7B,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,GAAG,EAAE;YACd,UAAU,CAAC,MAAM,CAAC,CAAC;YACnB,eAAe,CAAC,WAAW,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;QAC1C,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,UAA4D,EAC5D,eAA6D,EACxC,EAAE;IACvB,OAAO;QACL;YACE,EAAE,EAAE,UAAU;YACd,KAAK,EAAE,qCAAqC;YAC5C,WAAW;YACX,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;SAC1D;QACD;YACE,EAAE,EAAE,UAAU;YACd,KAAK,EAAE,kBAAkB;YACzB,WAAW;YACX,IAAI,EAAE,CAAC,SAAS,EAAE,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AE,KAAK;gBACd,IAAI,EAAE,SAAS;aAChB;YACD,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,KAAC,MAAM,IAAC,OAAO,EAAC,MAAM,sBAAe,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE;YAC5F;gBACE,EAAE,EAAE,WAAW;gBACf,KAAK,EAAE,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,0BAAmB;gBACnD,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,WAAW;aAClB;SACF;KACF;IACD;QACE,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,eAAe;QAC3B,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE;YACL,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE;YAC9D,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,KAAK,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 { Dispatch, SetStateAction } from 'react';\n\nimport { OmitStrict, Status } from '@pega/cosmos-react-core';\nimport { SearchResultProps, SearchResultsProps } from '@pega/cosmos-react-work';\n\nconst description =\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec semper, arcu eu sodales accumsan, ante purus fermentum dolor, ac convallis urna nisl eget lectus. Vivamus ut neque et turpis posuere pharetra imperdiet id augue. Nullam porta venenatis pharetra. Donec hendrerit, dolor eleifend vulputate tristique, dui dolor consequat ante, a vestibulum mi neque in purus.';\n\ntype ResultMeta = OmitStrict<SearchResultProps, 'link'>;\n\nconst getResultLink = (\n result: ResultMeta,\n setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>,\n setPreviewTabId: Dispatch<SetStateAction<string | undefined>>\n) => {\n return {\n href: `projects/${result.id}`,\n previewable: true,\n onPreview: () => {\n setPreview(result);\n setPreviewTabId(`summary-${result.id}`);\n }\n };\n};\n\nexport const getInitialResults = (\n setPreview: Dispatch<SetStateAction<ResultMeta | undefined>>,\n setPreviewTabId: Dispatch<SetStateAction<string | undefined>>\n): SearchResultProps[] => {\n return [\n {\n id: 'PROJ-300',\n title: 'The Art of Building Beautiful Demos',\n description,\n meta: ['Completed', 'Low priority', new Date('01/01/21')]\n },\n {\n id: 'PROJ-123',\n title: 'Be Single Minded',\n description,\n meta: ['Blocked', 'Medium priority', new Date('12/31/20')]\n },\n {\n id: 'PROJ-456',\n title: 'Differentiate Yourself and Attract More Attention Sales and Profits',\n description,\n meta: ['Pending', 'High priority', new Date('12/01/20')]\n },\n {\n id: 'PROJ-789',\n title: 'Importance of the Custom Test',\n description,\n meta: ['Completed', 'Medium priority', new Date('01/01/21 08:00:00')]\n },\n {\n id: 'PROJ-100',\n title: 'Improve Your Business Cards and Enhance Your Sales',\n description,\n meta: ['Ready', 'High priority', new Date('12/31/20')]\n },\n {\n id: 'PROJ-200',\n title: 'How to Write Better Advertising',\n description,\n meta: ['Ready', 'Low priority', new Date('12/25/20')]\n }\n ].map(result => {\n return {\n ...result,\n link: getResultLink(result, setPreview, setPreviewTabId)\n };\n });\n};\n\nexport const initialFilters: SearchResultsProps['filters'] = [\n {\n type: 'select',\n name: 'Status',\n items: [\n {\n id: 'blocked',\n label: <Status variant='urgent'>Blocked</Status>,\n checked: false,\n name: 'Blocked'\n },\n {\n id: 'pending',\n label: <Status variant='pending'>Pending</Status>,\n checked: false,\n name: 'Pending'\n },\n { id: 'ready', label: <Status variant='info'>Ready</Status>, checked: false, name: 'Ready' },\n {\n id: 'completed',\n label: <Status variant='success'>Completed</Status>,\n checked: false,\n name: 'Completed'\n }\n ]\n },\n {\n type: 'select',\n selectType: 'single-select',\n name: 'Last updated',\n items: [\n { id: 'today', label: 'Today', checked: false, name: 'Today' },\n { id: 'yesterday', label: 'Yesterday', checked: false, name: 'Yesterday' },\n { id: '7-days', label: 'Last 7 days', checked: false, name: 'Last 7 days' },\n { id: '30-days', label: 'Last 30 days', checked: false, name: 'Last 30 days' }\n ]\n }\n];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchResults.stories.d.ts","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAgB/C,wBAMU;AAIV,UAAU,uBAAuB;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,uBAAuB,CA8O5D,CAAC"}
1
+ {"version":3,"file":"SearchResults.stories.d.ts","sourceRoot":"","sources":["../../../src/work/SearchResults/SearchResults.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAiB/C,wBAMU;AAIV,UAAU,uBAAuB;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,uBAAuB,CA8O5D,CAAC"}