@pega/cosmos-react-demos 4.0.0-dev.9.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1486) hide show
  1. package/jsx/build/AppShell/AppShell.mocks.d.ts +15 -3
  2. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  3. package/jsx/build/AppShell/AppShell.mocks.jsx +11 -0
  4. package/jsx/build/AppShell/AppShell.mocks.jsx.map +1 -1
  5. package/jsx/build/AppShell/AppShell.stories.d.ts +5 -5
  6. package/jsx/build/AppShell/AppShell.stories.d.ts.map +1 -1
  7. package/jsx/build/AppShell/AppShell.stories.jsx +13 -13
  8. package/jsx/build/AppShell/AppShell.stories.jsx.map +1 -1
  9. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +3 -3
  10. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  11. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -1
  12. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +1 -1
  13. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +1 -1
  14. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +8 -8
  15. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -1
  16. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx +3 -3
  17. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx.map +1 -1
  18. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  19. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx +19 -23
  20. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +1 -1
  21. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +5 -5
  22. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  23. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +1 -1
  24. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -3
  25. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  26. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx +1 -2
  27. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +1 -1
  28. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +6 -6
  29. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  30. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +0 -1
  31. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -1
  32. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +3 -3
  33. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +1 -1
  34. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx.map +1 -1
  35. package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts +7 -0
  36. package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +1 -0
  37. package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx +78 -0
  38. package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx.map +1 -0
  39. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -1
  40. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +4 -6
  41. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +1 -1
  42. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +6 -6
  43. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -1
  44. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +1 -1
  45. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +1 -1
  46. package/jsx/build/PageBanner/PageBanner.stories.d.ts +5 -5
  47. package/jsx/build/PageBanner/PageBanner.stories.d.ts.map +1 -1
  48. package/jsx/build/PageBanner/PageBanner.stories.jsx.map +1 -1
  49. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +4 -4
  50. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  51. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +1 -1
  52. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +5 -5
  53. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  54. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +0 -2
  55. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  56. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts +5 -5
  57. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts.map +1 -1
  58. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx.map +1 -1
  59. package/jsx/build/Workbench/Workbench.stories.d.ts +4 -4
  60. package/jsx/build/Workbench/Workbench.stories.d.ts.map +1 -1
  61. package/jsx/build/Workbench/Workbench.stories.jsx.map +1 -1
  62. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +5 -5
  63. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  64. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -1
  65. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts +4 -4
  66. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -1
  67. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx.map +1 -1
  68. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -1
  69. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js +53 -1
  70. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -1
  71. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +3 -3
  72. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -1
  73. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx.map +1 -1
  74. package/jsx/core/AIButton/AIButton.mocks.d.ts +22 -0
  75. package/jsx/core/AIButton/AIButton.mocks.d.ts.map +1 -0
  76. package/jsx/core/AIButton/AIButton.mocks.js +136 -0
  77. package/jsx/core/AIButton/AIButton.mocks.js.map +1 -0
  78. package/jsx/core/AIButton/AIButton.stories.d.ts +23 -0
  79. package/jsx/core/AIButton/AIButton.stories.d.ts.map +1 -0
  80. package/jsx/core/AIButton/AIButton.stories.jsx +306 -0
  81. package/jsx/core/AIButton/AIButton.stories.jsx.map +1 -0
  82. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +4 -4
  83. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
  84. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +1 -1
  85. package/jsx/core/AppShell/AppShell.mocks.d.ts.map +1 -1
  86. package/jsx/core/AppShell/AppShell.mocks.jsx +3 -18
  87. package/jsx/core/AppShell/AppShell.mocks.jsx.map +1 -1
  88. package/jsx/core/AppShell/AppShell.stories.d.ts +5 -7
  89. package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -1
  90. package/jsx/core/AppShell/AppShell.stories.jsx +40 -74
  91. package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -1
  92. package/jsx/core/Avatar/Avatar.stories.d.ts +9 -9
  93. package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -1
  94. package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -1
  95. package/jsx/core/Backdrop/Backdrop.stories.d.ts +5 -5
  96. package/jsx/core/Backdrop/Backdrop.stories.d.ts.map +1 -1
  97. package/jsx/core/Backdrop/Backdrop.stories.jsx.map +1 -1
  98. package/jsx/core/Badges/Alert.stories.d.ts +4 -4
  99. package/jsx/core/Badges/Alert.stories.d.ts.map +1 -1
  100. package/jsx/core/Badges/Alert.stories.jsx.map +1 -1
  101. package/jsx/core/Badges/Count.stories.d.ts +4 -4
  102. package/jsx/core/Badges/Count.stories.d.ts.map +1 -1
  103. package/jsx/core/Badges/Count.stories.jsx.map +1 -1
  104. package/jsx/core/Badges/Keyboard.stories.d.ts +4 -4
  105. package/jsx/core/Badges/Keyboard.stories.d.ts.map +1 -1
  106. package/jsx/core/Badges/Keyboard.stories.jsx +1 -1
  107. package/jsx/core/Badges/Keyboard.stories.jsx.map +1 -1
  108. package/jsx/core/Badges/Selection.stories.d.ts +3 -3
  109. package/jsx/core/Badges/Selection.stories.d.ts.map +1 -1
  110. package/jsx/core/Badges/Selection.stories.jsx.map +1 -1
  111. package/jsx/core/Badges/Status.stories.d.ts +5 -5
  112. package/jsx/core/Badges/Status.stories.d.ts.map +1 -1
  113. package/jsx/core/Badges/Status.stories.jsx.map +1 -1
  114. package/jsx/core/Badges/Tag.stories.d.ts +3 -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 +9 -8
  118. package/jsx/core/Banner/Banner.stories.d.ts.map +1 -1
  119. package/jsx/core/Banner/Banner.stories.jsx +32 -20
  120. package/jsx/core/Banner/Banner.stories.jsx.map +1 -1
  121. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts +4 -4
  122. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts.map +1 -1
  123. package/jsx/core/Boolean/BooleanDisplay.stories.jsx.map +1 -1
  124. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +8 -4
  125. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  126. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +16 -4
  127. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
  128. package/jsx/core/Button/Button.stories.d.ts +9 -10
  129. package/jsx/core/Button/Button.stories.d.ts.map +1 -1
  130. package/jsx/core/Button/Button.stories.jsx +0 -14
  131. package/jsx/core/Button/Button.stories.jsx.map +1 -1
  132. package/jsx/core/Card/Card.stories.d.ts +6 -6
  133. package/jsx/core/Card/Card.stories.d.ts.map +1 -1
  134. package/jsx/core/Card/Card.stories.jsx.map +1 -1
  135. package/jsx/core/Checkbox/Checkbox.stories.d.ts +6 -6
  136. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  137. package/jsx/core/Checkbox/Checkbox.stories.jsx +3 -1
  138. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
  139. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +5 -5
  140. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  141. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +10 -6
  142. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
  143. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +5 -5
  144. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  145. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +1 -1
  146. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
  147. package/jsx/core/ComboBox/ComboBox.stories.d.ts +11 -10
  148. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  149. package/jsx/core/ComboBox/ComboBox.stories.jsx +22 -10
  150. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -1
  151. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts +3 -3
  152. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
  153. package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +1 -1
  154. package/jsx/core/Configuration/Configuration.stories.d.ts +8 -8
  155. package/jsx/core/Configuration/Configuration.stories.d.ts.map +1 -1
  156. package/jsx/core/Configuration/Configuration.stories.jsx.map +1 -1
  157. package/jsx/core/CreditCard/CreditCard.stories.d.ts +4 -4
  158. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
  159. package/jsx/core/CreditCard/CreditCard.stories.jsx +1 -2
  160. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -1
  161. package/jsx/core/Currency/Currency.stories.d.ts +6 -6
  162. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
  163. package/jsx/core/Currency/Currency.stories.jsx +1 -1
  164. package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
  165. package/jsx/core/DangerButton/DangerButton.stories.d.ts +6 -0
  166. package/jsx/core/DangerButton/DangerButton.stories.d.ts.map +1 -0
  167. package/jsx/core/DangerButton/DangerButton.stories.jsx +17 -0
  168. package/jsx/core/DangerButton/DangerButton.stories.jsx.map +1 -0
  169. package/jsx/core/DateTime/DateTime.stories.d.ts +13 -13
  170. package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
  171. package/jsx/core/DateTime/DateTime.stories.jsx +11 -9
  172. package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
  173. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts +5 -5
  174. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
  175. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +5 -3
  176. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +1 -1
  177. package/jsx/core/DateTime/DateTimePicker.stories.d.ts +5 -5
  178. package/jsx/core/DateTime/DateTimePicker.stories.d.ts.map +1 -1
  179. package/jsx/core/DateTime/DateTimePicker.stories.jsx +1 -1
  180. package/jsx/core/DateTime/DateTimePicker.stories.jsx.map +1 -1
  181. package/jsx/core/Dialog/Dialog.stories.d.ts +5 -4
  182. package/jsx/core/Dialog/Dialog.stories.d.ts.map +1 -1
  183. package/jsx/core/Dialog/Dialog.stories.jsx +7 -80
  184. package/jsx/core/Dialog/Dialog.stories.jsx.map +1 -1
  185. package/jsx/core/Dialog/{Dialog.mocks.d.ts → FormDialog.mocks.d.ts} +4 -3
  186. package/jsx/core/Dialog/FormDialog.mocks.d.ts.map +1 -0
  187. package/jsx/core/Dialog/{Dialog.mocks.jsx → FormDialog.mocks.jsx} +62 -4
  188. package/jsx/core/Dialog/FormDialog.mocks.jsx.map +1 -0
  189. package/jsx/core/Dialog/InfoDialog.mocks.d.ts +4 -0
  190. package/jsx/core/Dialog/InfoDialog.mocks.d.ts.map +1 -0
  191. package/jsx/core/Dialog/InfoDialog.mocks.jsx +64 -0
  192. package/jsx/core/Dialog/InfoDialog.mocks.jsx.map +1 -0
  193. package/jsx/core/Drawer/Drawer.stories.d.ts +5 -5
  194. package/jsx/core/Drawer/Drawer.stories.d.ts.map +1 -1
  195. package/jsx/core/Drawer/Drawer.stories.jsx.map +1 -1
  196. package/jsx/core/Email/EmailDisplay.stories.d.ts +4 -4
  197. package/jsx/core/Email/EmailDisplay.stories.d.ts.map +1 -1
  198. package/jsx/core/Email/EmailDisplay.stories.jsx.map +1 -1
  199. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts +6 -6
  200. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -1
  201. package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx +6 -5
  202. package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx.map +1 -1
  203. package/jsx/core/EmptyState/EmptyState.stories.d.ts +4 -4
  204. package/jsx/core/EmptyState/EmptyState.stories.d.ts.map +1 -1
  205. package/jsx/core/EmptyState/EmptyState.stories.jsx.map +1 -1
  206. package/jsx/core/ErrorState/ErrorState.stories.d.ts +4 -4
  207. package/jsx/core/ErrorState/ErrorState.stories.d.ts.map +1 -1
  208. package/jsx/core/ErrorState/ErrorState.stories.jsx.map +1 -1
  209. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts +5 -5
  210. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +1 -1
  211. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx.map +1 -1
  212. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +8 -3
  213. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  214. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +28 -3
  215. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
  216. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +1 -1
  217. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  218. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +6 -1
  219. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -1
  220. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +6 -5
  221. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  222. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +43 -11
  223. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -1
  224. package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts +20 -0
  225. package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts.map +1 -0
  226. package/jsx/core/FieldValueList/FieldValueList.mocks.jsx +54 -0
  227. package/jsx/core/FieldValueList/FieldValueList.mocks.jsx.map +1 -0
  228. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +4 -4
  229. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  230. package/jsx/core/FieldValueList/FieldValueList.stories.jsx +5 -54
  231. package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +1 -1
  232. package/jsx/core/File/FileDisplay.stories.d.ts +6 -6
  233. package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
  234. package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
  235. package/jsx/core/File/FileInput.stories.d.ts +4 -4
  236. package/jsx/core/File/FileInput.stories.d.ts.map +1 -1
  237. package/jsx/core/File/FileInput.stories.jsx.map +1 -1
  238. package/jsx/core/Flex/FlexContainer.stories.d.ts +10 -10
  239. package/jsx/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  240. package/jsx/core/Flex/FlexContainer.stories.jsx.map +1 -1
  241. package/jsx/core/Flex/FlexItem.stories.d.ts +6 -6
  242. package/jsx/core/Flex/FlexItem.stories.d.ts.map +1 -1
  243. package/jsx/core/Flex/FlexItem.stories.jsx.map +1 -1
  244. package/jsx/core/Form/Form.stories.d.ts +8 -8
  245. package/jsx/core/Form/Form.stories.d.ts.map +1 -1
  246. package/jsx/core/Form/Form.stories.jsx.map +1 -1
  247. package/jsx/core/Grid/GridContainer.stories.d.ts +12 -12
  248. package/jsx/core/Grid/GridContainer.stories.d.ts.map +1 -1
  249. package/jsx/core/Grid/GridContainer.stories.jsx.map +1 -1
  250. package/jsx/core/Grid/GridItem.stories.d.ts +6 -6
  251. package/jsx/core/Grid/GridItem.stories.d.ts.map +1 -1
  252. package/jsx/core/Grid/GridItem.stories.jsx.map +1 -1
  253. package/jsx/core/HTML/HTML.stories.d.ts +4 -4
  254. package/jsx/core/HTML/HTML.stories.d.ts.map +1 -1
  255. package/jsx/core/HTML/HTML.stories.jsx.map +1 -1
  256. package/jsx/core/Icon/Icon.stories.d.ts +9 -6
  257. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
  258. package/jsx/core/Icon/Icon.stories.jsx +26 -16
  259. package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
  260. package/jsx/core/IconPicker/IconPicker.stories.d.ts +4 -4
  261. package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
  262. package/jsx/core/IconPicker/IconPicker.stories.jsx +1 -1
  263. package/jsx/core/IconPicker/IconPicker.stories.jsx.map +1 -1
  264. package/jsx/core/Image/Image.stories.d.ts +3 -3
  265. package/jsx/core/Image/Image.stories.d.ts.map +1 -1
  266. package/jsx/core/Image/Image.stories.jsx.map +1 -1
  267. package/jsx/core/Input/Input.stories.d.ts +6 -6
  268. package/jsx/core/Input/Input.stories.d.ts.map +1 -1
  269. package/jsx/core/Input/Input.stories.jsx +2 -2
  270. package/jsx/core/Input/Input.stories.jsx.map +1 -1
  271. package/jsx/core/Label/Label.stories.d.ts +5 -5
  272. package/jsx/core/Label/Label.stories.d.ts.map +1 -1
  273. package/jsx/core/Label/Label.stories.jsx.map +1 -1
  274. package/jsx/core/Lightbox/Lightbox.mocks.d.ts.map +1 -1
  275. package/jsx/core/Lightbox/Lightbox.mocks.js.map +1 -1
  276. package/jsx/core/Lightbox/Lightbox.stories.d.ts +3 -3
  277. package/jsx/core/Lightbox/Lightbox.stories.d.ts.map +1 -1
  278. package/jsx/core/Lightbox/Lightbox.stories.jsx.map +1 -1
  279. package/jsx/core/Link/Link.stories.d.ts +7 -7
  280. package/jsx/core/Link/Link.stories.d.ts.map +1 -1
  281. package/jsx/core/Link/Link.stories.jsx.map +1 -1
  282. package/jsx/core/List/CommaSeparatedList.stories.d.ts +4 -4
  283. package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  284. package/jsx/core/List/CommaSeparatedList.stories.jsx.map +1 -1
  285. package/jsx/core/List/OrderedList.stories.d.ts +4 -4
  286. package/jsx/core/List/OrderedList.stories.d.ts.map +1 -1
  287. package/jsx/core/List/OrderedList.stories.jsx.map +1 -1
  288. package/jsx/core/List/UnorderedList.stories.d.ts +4 -4
  289. package/jsx/core/List/UnorderedList.stories.d.ts.map +1 -1
  290. package/jsx/core/List/UnorderedList.stories.jsx.map +1 -1
  291. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
  292. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +47 -52
  293. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -1
  294. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +5 -5
  295. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  296. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +3 -3
  297. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -1
  298. package/jsx/core/LiveLog/LiveLog.stories.d.ts +4 -4
  299. package/jsx/core/LiveLog/LiveLog.stories.d.ts.map +1 -1
  300. package/jsx/core/LiveLog/LiveLog.stories.jsx.map +1 -1
  301. package/jsx/core/Location/Location.stories.d.ts +7 -7
  302. package/jsx/core/Location/Location.stories.d.ts.map +1 -1
  303. package/jsx/core/Location/Location.stories.jsx +16 -10
  304. package/jsx/core/Location/Location.stories.jsx.map +1 -1
  305. package/jsx/core/Menu/Menu.mocks.js.map +1 -1
  306. package/jsx/core/Menu/Menu.stories.d.ts +6 -5
  307. package/jsx/core/Menu/Menu.stories.d.ts.map +1 -1
  308. package/jsx/core/Menu/Menu.stories.jsx +33 -0
  309. package/jsx/core/Menu/Menu.stories.jsx.map +1 -1
  310. package/jsx/core/MenuButton/MenuButton.stories.d.ts +9 -8
  311. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  312. package/jsx/core/MenuButton/MenuButton.stories.jsx +1 -1
  313. package/jsx/core/MenuButton/MenuButton.stories.jsx.map +1 -1
  314. package/jsx/core/MetaList/MetaList.stories.d.ts +4 -4
  315. package/jsx/core/MetaList/MetaList.stories.d.ts.map +1 -1
  316. package/jsx/core/MetaList/MetaList.stories.jsx.map +1 -1
  317. package/jsx/core/Modal/Modal.mocks.d.ts +1 -1
  318. package/jsx/core/Modal/Modal.mocks.d.ts.map +1 -1
  319. package/jsx/core/Modal/Modal.stories.d.ts +11 -11
  320. package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
  321. package/jsx/core/Modal/Modal.stories.jsx +5 -6
  322. package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
  323. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +36 -3
  324. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
  325. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx +295 -40
  326. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +1 -1
  327. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +5 -3
  328. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  329. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx +70 -175
  330. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +1 -1
  331. package/jsx/core/NoValue/NoValue.stories.d.ts +6 -0
  332. package/jsx/core/NoValue/NoValue.stories.d.ts.map +1 -0
  333. package/jsx/core/NoValue/NoValue.stories.jsx +30 -0
  334. package/jsx/core/NoValue/NoValue.stories.jsx.map +1 -0
  335. package/jsx/core/Number/Number.stories.d.ts +8 -8
  336. package/jsx/core/Number/Number.stories.d.ts.map +1 -1
  337. package/jsx/core/Number/Number.stories.jsx +3 -3
  338. package/jsx/core/Number/Number.stories.jsx.map +1 -1
  339. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +8 -8
  340. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  341. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  342. package/jsx/core/Pagination/Pagination.stories.d.ts +4 -4
  343. package/jsx/core/Pagination/Pagination.stories.d.ts.map +1 -1
  344. package/jsx/core/Pagination/Pagination.stories.jsx.map +1 -1
  345. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts +4 -4
  346. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts.map +1 -1
  347. package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx.map +1 -1
  348. package/jsx/core/Phone/Phone.stories.d.ts +5 -5
  349. package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
  350. package/jsx/core/Phone/Phone.stories.jsx +1 -1
  351. package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
  352. package/jsx/core/Popover/Popover.mocks.d.ts +9 -0
  353. package/jsx/core/Popover/Popover.mocks.d.ts.map +1 -0
  354. package/jsx/core/Popover/Popover.mocks.jsx +114 -0
  355. package/jsx/core/Popover/Popover.mocks.jsx.map +1 -0
  356. package/jsx/core/Popover/Popover.stories.d.ts +11 -5
  357. package/jsx/core/Popover/Popover.stories.d.ts.map +1 -1
  358. package/jsx/core/Popover/Popover.stories.jsx +27 -0
  359. package/jsx/core/Popover/Popover.stories.jsx.map +1 -1
  360. package/jsx/core/Progress/Progress.mocks.d.ts +2 -0
  361. package/jsx/core/Progress/Progress.mocks.d.ts.map +1 -0
  362. package/jsx/core/Progress/Progress.mocks.js +2 -0
  363. package/jsx/core/Progress/Progress.mocks.js.map +1 -0
  364. package/jsx/core/Progress/Progress.stories.d.ts +5 -5
  365. package/jsx/core/Progress/Progress.stories.d.ts.map +1 -1
  366. package/jsx/core/Progress/Progress.stories.jsx +2 -2
  367. package/jsx/core/Progress/Progress.stories.jsx.map +1 -1
  368. package/jsx/core/QRCode/QRCode.stories.d.ts +3 -3
  369. package/jsx/core/QRCode/QRCode.stories.d.ts.map +1 -1
  370. package/jsx/core/QRCode/QRCode.stories.jsx.map +1 -1
  371. package/jsx/core/RadioButton/RadioButton.stories.d.ts +6 -6
  372. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  373. package/jsx/core/RadioButton/RadioButton.stories.jsx +3 -1
  374. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
  375. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +5 -5
  376. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  377. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +10 -6
  378. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
  379. package/jsx/core/Rating/Rating.stories.d.ts +5 -5
  380. package/jsx/core/Rating/Rating.stories.d.ts.map +1 -1
  381. package/jsx/core/Rating/Rating.stories.jsx +1 -1
  382. package/jsx/core/Rating/Rating.stories.jsx.map +1 -1
  383. package/jsx/core/SearchInput/SearchInput.stories.d.ts +5 -5
  384. package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  385. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +1 -1
  386. package/jsx/core/Select/Select.stories.d.ts +5 -5
  387. package/jsx/core/Select/Select.stories.d.ts.map +1 -1
  388. package/jsx/core/Select/Select.stories.jsx +1 -1
  389. package/jsx/core/Select/Select.stories.jsx.map +1 -1
  390. package/jsx/core/Sentiment/Sentiment.stories.d.ts +5 -5
  391. package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
  392. package/jsx/core/Sentiment/Sentiment.stories.jsx.map +1 -1
  393. package/jsx/core/SkipLinks/SkipLinks.stories.d.ts +4 -4
  394. package/jsx/core/SkipLinks/SkipLinks.stories.d.ts.map +1 -1
  395. package/jsx/core/SkipLinks/SkipLinks.stories.jsx.map +1 -1
  396. package/jsx/core/Slider/Slider.stories.d.ts +5 -5
  397. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
  398. package/jsx/core/Slider/Slider.stories.jsx +1 -1
  399. package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
  400. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  401. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  402. package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +1 -1
  403. package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
  404. package/jsx/core/SummaryList/SummaryList.mocks.jsx +10 -2
  405. package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +1 -1
  406. package/jsx/core/SummaryList/SummaryList.stories.d.ts +5 -5
  407. package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  408. package/jsx/core/SummaryList/SummaryList.stories.jsx +2 -2
  409. package/jsx/core/SummaryList/SummaryList.stories.jsx.map +1 -1
  410. package/jsx/core/SummaryList/mockUsers.d.ts.map +1 -1
  411. package/jsx/core/SummaryList/mockUsers.js.map +1 -1
  412. package/jsx/core/Switch/Switch.stories.d.ts +6 -6
  413. package/jsx/core/Switch/Switch.stories.d.ts.map +1 -1
  414. package/jsx/core/Switch/Switch.stories.jsx.map +1 -1
  415. package/jsx/core/Table/Table.mocks.jsx +1 -1
  416. package/jsx/core/Table/Table.mocks.jsx.map +1 -1
  417. package/jsx/core/Table/Table.stories.d.ts +6 -6
  418. package/jsx/core/Table/Table.stories.d.ts.map +1 -1
  419. package/jsx/core/Table/Table.stories.jsx.map +1 -1
  420. package/jsx/core/Tabs/Tabs.stories.d.ts +4 -10
  421. package/jsx/core/Tabs/Tabs.stories.d.ts.map +1 -1
  422. package/jsx/core/Tabs/Tabs.stories.jsx +4 -43
  423. package/jsx/core/Tabs/Tabs.stories.jsx.map +1 -1
  424. package/jsx/core/Text/Text.stories.d.ts +5 -5
  425. package/jsx/core/Text/Text.stories.d.ts.map +1 -1
  426. package/jsx/core/Text/Text.stories.jsx +1 -1
  427. package/jsx/core/Text/Text.stories.jsx.map +1 -1
  428. package/jsx/core/TextArea/TextArea.stories.d.ts +5 -5
  429. package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
  430. package/jsx/core/TextArea/TextArea.stories.jsx +2 -2
  431. package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
  432. package/jsx/core/Toaster/Toaster.stories.d.ts +3 -3
  433. package/jsx/core/Toaster/Toaster.stories.d.ts.map +1 -1
  434. package/jsx/core/Toaster/Toaster.stories.jsx.map +1 -1
  435. package/jsx/core/Tooltip/Tooltip.stories.d.ts +5 -4
  436. package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  437. package/jsx/core/Tooltip/Tooltip.stories.jsx +21 -1
  438. package/jsx/core/Tooltip/Tooltip.stories.jsx.map +1 -1
  439. package/jsx/core/Tooltip/Tooltip.styles.d.ts +2 -0
  440. package/jsx/core/Tooltip/Tooltip.styles.d.ts.map +1 -0
  441. package/jsx/core/Tooltip/Tooltip.styles.js +23 -0
  442. package/jsx/core/Tooltip/Tooltip.styles.js.map +1 -0
  443. package/jsx/core/Tree/Tree.stories.d.ts +5 -5
  444. package/jsx/core/Tree/Tree.stories.d.ts.map +1 -1
  445. package/jsx/core/Tree/Tree.stories.jsx.map +1 -1
  446. package/jsx/core/URL/URL.stories.d.ts +4 -4
  447. package/jsx/core/URL/URL.stories.d.ts.map +1 -1
  448. package/jsx/core/URL/URL.stories.jsx.map +1 -1
  449. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts +1 -1
  450. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts.map +1 -1
  451. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx +4 -6
  452. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx.map +1 -1
  453. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts +4 -4
  454. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts.map +1 -1
  455. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx +6 -4
  456. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx.map +1 -1
  457. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts +2 -2
  458. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +1 -1
  459. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +5 -5
  460. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  461. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +1 -0
  462. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -1
  463. package/jsx/cs/DialPad/DialPad.stories.d.ts +4 -4
  464. package/jsx/cs/DialPad/DialPad.stories.d.ts.map +1 -1
  465. package/jsx/cs/DialPad/DialPad.stories.jsx.map +1 -1
  466. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +3 -3
  467. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  468. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -1
  469. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +5 -4
  470. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  471. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +12 -5
  472. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +1 -1
  473. package/jsx/cs/Picker/Picker.stories.d.ts +11 -0
  474. package/jsx/cs/Picker/Picker.stories.d.ts.map +1 -0
  475. package/jsx/cs/Picker/Picker.stories.jsx +64 -0
  476. package/jsx/cs/Picker/Picker.stories.jsx.map +1 -0
  477. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +5 -5
  478. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  479. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +1 -1
  480. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +4 -4
  481. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  482. package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +1 -1
  483. package/jsx/dnd/StandardDragDropList/Demo.d.ts +1 -0
  484. package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
  485. package/jsx/dnd/StandardDragDropList/Demo.jsx +6 -8
  486. package/jsx/dnd/StandardDragDropList/Demo.jsx.map +1 -1
  487. package/jsx/dnd/StandardDragDropList/Popover.d.ts +1 -1
  488. package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
  489. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +3 -3
  490. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -1
  491. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx.map +1 -1
  492. package/jsx/dnd/StandardDragDropList/mockData.d.ts +2 -2
  493. package/jsx/dnd/StandardDragDropList/mockData.d.ts.map +1 -1
  494. package/jsx/dnd/StandardDragDropList/mockData.js.map +1 -1
  495. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
  496. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
  497. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx +103 -0
  498. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -0
  499. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts +11 -0
  500. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
  501. package/jsx/rte/DynamicContentEditor/FieldSelector.jsx +82 -0
  502. package/jsx/rte/DynamicContentEditor/FieldSelector.jsx.map +1 -0
  503. package/jsx/rte/Editor/Editor.mocks.d.ts +41 -27
  504. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -1
  505. package/jsx/rte/Editor/Editor.stories.d.ts +8 -8
  506. package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
  507. package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
  508. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +4 -4
  509. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  510. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx +1 -1
  511. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -1
  512. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +6 -6
  513. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  514. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +1 -1
  515. package/jsx/social/Chat/Chat.mocks.d.ts +23 -396
  516. package/jsx/social/Chat/Chat.mocks.d.ts.map +1 -1
  517. package/jsx/social/Chat/Chat.mocks.js +542 -585
  518. package/jsx/social/Chat/Chat.mocks.js.map +1 -1
  519. package/jsx/social/Chat/Chat.stories.d.ts +27 -25
  520. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  521. package/jsx/social/Chat/Chat.stories.jsx +213 -204
  522. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  523. package/jsx/social/Email/Email.mocks.d.ts +1 -1
  524. package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
  525. package/jsx/social/Email/Email.mocks.jsx +3 -3
  526. package/jsx/social/Email/Email.mocks.jsx.map +1 -1
  527. package/jsx/social/Email/Email.stories.d.ts +15 -15
  528. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  529. package/jsx/social/Email/Email.stories.jsx +20 -22
  530. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  531. package/jsx/social/Feed/Feed.mocks.d.ts +19 -13
  532. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
  533. package/jsx/social/Feed/Feed.mocks.jsx +76 -8
  534. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
  535. package/jsx/social/Feed/Feed.stories.d.ts +5 -5
  536. package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
  537. package/jsx/social/Feed/Feed.stories.jsx +29 -19
  538. package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
  539. package/jsx/social/Feed/FeedNewPost.mocks.d.ts +8 -0
  540. package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +1 -0
  541. package/jsx/social/Feed/FeedNewPost.mocks.jsx +44 -0
  542. package/jsx/social/Feed/FeedNewPost.mocks.jsx.map +1 -0
  543. package/jsx/social/Feed/FeedPost.mocks.d.ts +4 -0
  544. package/jsx/social/Feed/FeedPost.mocks.d.ts.map +1 -0
  545. package/jsx/social/Feed/FeedPost.mocks.jsx +167 -0
  546. package/jsx/social/Feed/FeedPost.mocks.jsx.map +1 -0
  547. package/jsx/social/Feed/FeedReply.mocks.d.ts +13 -0
  548. package/jsx/social/Feed/FeedReply.mocks.d.ts.map +1 -0
  549. package/jsx/social/Feed/FeedReply.mocks.jsx +76 -0
  550. package/jsx/social/Feed/FeedReply.mocks.jsx.map +1 -0
  551. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts.map +1 -1
  552. package/jsx/tools/Clipboard/Clipboard.mocks.jsx.map +1 -1
  553. package/jsx/tools/Clipboard/Clipboard.stories.d.ts +4 -4
  554. package/jsx/tools/Clipboard/Clipboard.stories.d.ts.map +1 -1
  555. package/jsx/tools/Clipboard/Clipboard.stories.jsx.map +1 -1
  556. package/jsx/tools/DevTools/DevTools.stories.d.ts +4 -4
  557. package/jsx/tools/DevTools/DevTools.stories.d.ts.map +1 -1
  558. package/jsx/tools/DevTools/DevTools.stories.jsx.map +1 -1
  559. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -1
  560. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts.map +1 -1
  561. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx +1 -4
  562. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx.map +1 -1
  563. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts +7 -7
  564. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -1
  565. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx +3 -6
  566. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +1 -1
  567. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts +4 -4
  568. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -1
  569. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx +1 -1
  570. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +1 -1
  571. package/jsx/work/Article/Article.mocks.d.ts.map +1 -0
  572. package/jsx/work/Article/Article.mocks.js +14 -0
  573. package/jsx/work/Article/Article.mocks.js.map +1 -0
  574. package/jsx/work/Article/Article.stories.d.ts +17 -0
  575. package/jsx/work/Article/Article.stories.d.ts.map +1 -0
  576. package/jsx/work/Article/Article.stories.jsx +201 -0
  577. package/jsx/work/Article/Article.stories.jsx.map +1 -0
  578. package/jsx/work/ArticleList/ArticleList.mocks.d.ts +140 -0
  579. package/jsx/work/ArticleList/ArticleList.mocks.d.ts.map +1 -0
  580. package/jsx/work/ArticleList/ArticleList.mocks.js +414 -0
  581. package/jsx/work/ArticleList/ArticleList.mocks.js.map +1 -0
  582. package/jsx/work/ArticleList/ArticleList.stories.d.ts +14 -0
  583. package/jsx/work/ArticleList/ArticleList.stories.d.ts.map +1 -0
  584. package/jsx/work/ArticleList/ArticleList.stories.jsx +313 -0
  585. package/jsx/work/ArticleList/ArticleList.stories.jsx.map +1 -0
  586. package/jsx/work/Assignments/Assignments.stories.d.ts +11 -0
  587. package/jsx/work/Assignments/Assignments.stories.d.ts.map +1 -0
  588. package/jsx/work/Assignments/Assignments.stories.jsx +64 -0
  589. package/jsx/work/Assignments/Assignments.stories.jsx.map +1 -0
  590. package/jsx/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  591. package/jsx/work/CaseView/Attachments.mocks.jsx +82 -72
  592. package/jsx/work/CaseView/Attachments.mocks.jsx.map +1 -1
  593. package/jsx/work/CaseView/CaseView.mocks.d.ts +38 -9
  594. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  595. package/jsx/work/CaseView/CaseView.mocks.jsx +243 -82
  596. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  597. package/jsx/work/CaseView/CaseView.stories.d.ts +4 -9
  598. package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
  599. package/jsx/work/CaseView/CaseView.stories.jsx +39 -10
  600. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
  601. package/jsx/work/CaseView/Details.mocks.jsx +3 -3
  602. package/jsx/work/CaseView/Details.mocks.jsx.map +1 -1
  603. package/jsx/work/CaseView/FileService.mock.d.ts +2 -2
  604. package/jsx/work/CaseView/FileService.mock.d.ts.map +1 -1
  605. package/jsx/work/CaseView/FileService.mock.jsx +2 -6
  606. package/jsx/work/CaseView/FileService.mock.jsx.map +1 -1
  607. package/jsx/work/CaseView/Pulse.mocks.d.ts +1 -1
  608. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  609. package/jsx/work/CaseView/Pulse.mocks.jsx +1 -1
  610. package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -1
  611. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -3
  612. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  613. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -1
  614. package/jsx/work/Confirmation/Confirmation.stories.d.ts +5 -4
  615. package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  616. package/jsx/work/Confirmation/Confirmation.stories.jsx +12 -5
  617. package/jsx/work/Confirmation/Confirmation.stories.jsx.map +1 -1
  618. package/jsx/work/Details/Details.stories.d.ts +6 -3
  619. package/jsx/work/Details/Details.stories.d.ts.map +1 -1
  620. package/jsx/work/Details/Details.stories.jsx +15 -3
  621. package/jsx/work/Details/Details.stories.jsx.map +1 -1
  622. package/jsx/work/Glimpse/Glimpse.stories.d.ts +3 -8
  623. package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  624. package/jsx/work/Glimpse/Glimpse.stories.jsx +17 -14
  625. package/jsx/work/Glimpse/Glimpse.stories.jsx.map +1 -1
  626. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -4
  627. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  628. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx +82 -12
  629. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  630. package/jsx/work/Predictions/Predictions.mocks.d.ts +3 -0
  631. package/jsx/work/Predictions/Predictions.mocks.d.ts.map +1 -0
  632. package/jsx/work/Predictions/Predictions.mocks.jsx +18 -0
  633. package/jsx/work/Predictions/Predictions.mocks.jsx.map +1 -0
  634. package/jsx/work/Predictions/Predictions.stories.d.ts +5 -0
  635. package/jsx/work/Predictions/Predictions.stories.d.ts.map +1 -0
  636. package/jsx/work/Predictions/Predictions.stories.jsx +53 -0
  637. package/jsx/work/Predictions/Predictions.stories.jsx.map +1 -0
  638. package/jsx/work/SearchResults/SearchResults.mocks.d.ts +1 -1
  639. package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  640. package/jsx/work/SearchResults/SearchResults.stories.d.ts +3 -3
  641. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  642. package/jsx/work/SearchResults/SearchResults.stories.jsx +2 -8
  643. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -1
  644. package/jsx/work/Stages/Stages.stories.d.ts +4 -4
  645. package/jsx/work/Stages/Stages.stories.d.ts.map +1 -1
  646. package/jsx/work/Stages/Stages.stories.jsx +22 -8
  647. package/jsx/work/Stages/Stages.stories.jsx.map +1 -1
  648. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  649. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +6 -2
  650. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -1
  651. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +3 -3
  652. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  653. package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +1 -1
  654. package/jsx/work/Tags/Tags.stories.d.ts +3 -3
  655. package/jsx/work/Tags/Tags.stories.d.ts.map +1 -1
  656. package/jsx/work/Tags/Tags.stories.jsx +7 -2
  657. package/jsx/work/Tags/Tags.stories.jsx.map +1 -1
  658. package/jsx/work/Tasks/TaskList.stories.d.ts +3 -3
  659. package/jsx/work/Tasks/TaskList.stories.d.ts.map +1 -1
  660. package/jsx/work/Tasks/TaskList.stories.jsx.map +1 -1
  661. package/jsx/work/Tasks/Tasks.mocks.d.ts +22 -0
  662. package/jsx/work/Tasks/Tasks.mocks.d.ts.map +1 -0
  663. package/jsx/work/Tasks/Tasks.mocks.js +51 -0
  664. package/jsx/work/Tasks/Tasks.mocks.js.map +1 -0
  665. package/jsx/work/Tasks/Tasks.stories.d.ts +9 -7
  666. package/jsx/work/Tasks/Tasks.stories.d.ts.map +1 -1
  667. package/jsx/work/Tasks/Tasks.stories.jsx +42 -76
  668. package/jsx/work/Tasks/Tasks.stories.jsx.map +1 -1
  669. package/jsx/work/Timeline/Timeline.mocks.d.ts.map +1 -1
  670. package/jsx/work/Timeline/Timeline.mocks.jsx +16 -1
  671. package/jsx/work/Timeline/Timeline.mocks.jsx.map +1 -1
  672. package/jsx/work/Timeline/Timeline.stories.d.ts +6 -6
  673. package/jsx/work/Timeline/Timeline.stories.d.ts.map +1 -1
  674. package/jsx/work/Timeline/Timeline.stories.jsx +1 -1
  675. package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -1
  676. package/jsx/wss/AppShell/AppShell.mocks.d.ts +0 -11
  677. package/jsx/wss/AppShell/AppShell.mocks.d.ts.map +1 -1
  678. package/jsx/wss/AppShell/AppShell.mocks.jsx +0 -11
  679. package/jsx/wss/AppShell/AppShell.mocks.jsx.map +1 -1
  680. package/jsx/wss/AppShell/AppShell.stories.d.ts +5 -5
  681. package/jsx/wss/AppShell/AppShell.stories.d.ts.map +1 -1
  682. package/jsx/wss/AppShell/AppShell.stories.jsx +36 -8
  683. package/jsx/wss/AppShell/AppShell.stories.jsx.map +1 -1
  684. package/jsx/wss/CaseView/CaseView.stories.d.ts +3 -3
  685. package/jsx/wss/CaseView/CaseView.stories.d.ts.map +1 -1
  686. package/jsx/wss/CaseView/CaseView.stories.jsx +11 -6
  687. package/jsx/wss/CaseView/CaseView.stories.jsx.map +1 -1
  688. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts +3 -3
  689. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  690. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx +2 -2
  691. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  692. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +3 -3
  693. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
  694. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +1 -1
  695. package/lib/build/AppShell/AppShell.mocks.d.ts +15 -3
  696. package/lib/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  697. package/lib/build/AppShell/AppShell.mocks.js +11 -0
  698. package/lib/build/AppShell/AppShell.mocks.js.map +1 -1
  699. package/lib/build/AppShell/AppShell.stories.d.ts +5 -5
  700. package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -1
  701. package/lib/build/AppShell/AppShell.stories.js +19 -18
  702. package/lib/build/AppShell/AppShell.stories.js.map +1 -1
  703. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +3 -3
  704. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  705. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -1
  706. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +1 -1
  707. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js +0 -1
  708. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +1 -1
  709. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +8 -8
  710. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -1
  711. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js +3 -3
  712. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js.map +1 -1
  713. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  714. package/lib/build/FlowModeller/FlowModeller.mocks.js +3 -3
  715. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +1 -1
  716. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +5 -5
  717. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  718. package/lib/build/FlowModeller/FlowModeller.stories.js.map +1 -1
  719. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -3
  720. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  721. package/lib/build/ItemLibrary/LibraryPicker.stories.js +1 -2
  722. package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +1 -1
  723. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +6 -6
  724. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  725. package/lib/build/LifeCycle/LifeCycle.stories.js +0 -1
  726. package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -1
  727. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +3 -3
  728. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +1 -1
  729. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js.map +1 -1
  730. package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts +7 -0
  731. package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +1 -0
  732. package/lib/build/ObjectPreview/ObjectPreview.mocks.js +74 -0
  733. package/lib/build/ObjectPreview/ObjectPreview.mocks.js.map +1 -0
  734. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -1
  735. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +5 -7
  736. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +1 -1
  737. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +6 -6
  738. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -1
  739. package/lib/build/ObjectSelect/ObjectSelect.stories.js +3 -5
  740. package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +1 -1
  741. package/lib/build/PageBanner/PageBanner.stories.d.ts +5 -5
  742. package/lib/build/PageBanner/PageBanner.stories.d.ts.map +1 -1
  743. package/lib/build/PageBanner/PageBanner.stories.js.map +1 -1
  744. package/lib/build/PageTemplates/GalleryPage.stories.d.ts +4 -4
  745. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  746. package/lib/build/PageTemplates/GalleryPage.stories.js.map +1 -1
  747. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +5 -5
  748. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  749. package/lib/build/PageTemplates/PageTemplates.stories.js +0 -3
  750. package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -1
  751. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts +5 -5
  752. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts.map +1 -1
  753. package/lib/build/PageTemplates/ShowcasePage.stories.js.map +1 -1
  754. package/lib/build/Workbench/Workbench.stories.d.ts +4 -4
  755. package/lib/build/Workbench/Workbench.stories.d.ts.map +1 -1
  756. package/lib/build/Workbench/Workbench.stories.js.map +1 -1
  757. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +5 -5
  758. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  759. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +1 -1
  760. package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts +4 -4
  761. package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -1
  762. package/lib/condition-builder/ConditionInput/ConditionInput.stories.js.map +1 -1
  763. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -1
  764. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js +53 -1
  765. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -1
  766. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +3 -3
  767. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -1
  768. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js.map +1 -1
  769. package/lib/core/AIButton/AIButton.mocks.d.ts +22 -0
  770. package/lib/core/AIButton/AIButton.mocks.d.ts.map +1 -0
  771. package/lib/core/AIButton/AIButton.mocks.js +139 -0
  772. package/lib/core/AIButton/AIButton.mocks.js.map +1 -0
  773. package/lib/core/AIButton/AIButton.stories.d.ts +23 -0
  774. package/lib/core/AIButton/AIButton.stories.d.ts.map +1 -0
  775. package/lib/core/AIButton/AIButton.stories.js +223 -0
  776. package/lib/core/AIButton/AIButton.stories.js.map +1 -0
  777. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts +4 -4
  778. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
  779. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js.map +1 -1
  780. package/lib/core/AppShell/AppShell.mocks.d.ts.map +1 -1
  781. package/lib/core/AppShell/AppShell.mocks.js +3 -18
  782. package/lib/core/AppShell/AppShell.mocks.js.map +1 -1
  783. package/lib/core/AppShell/AppShell.stories.d.ts +5 -7
  784. package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -1
  785. package/lib/core/AppShell/AppShell.stories.js +41 -41
  786. package/lib/core/AppShell/AppShell.stories.js.map +1 -1
  787. package/lib/core/Avatar/Avatar.stories.d.ts +9 -9
  788. package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -1
  789. package/lib/core/Avatar/Avatar.stories.js.map +1 -1
  790. package/lib/core/Backdrop/Backdrop.stories.d.ts +5 -5
  791. package/lib/core/Backdrop/Backdrop.stories.d.ts.map +1 -1
  792. package/lib/core/Backdrop/Backdrop.stories.js.map +1 -1
  793. package/lib/core/Badges/Alert.stories.d.ts +4 -4
  794. package/lib/core/Badges/Alert.stories.d.ts.map +1 -1
  795. package/lib/core/Badges/Alert.stories.js.map +1 -1
  796. package/lib/core/Badges/Count.stories.d.ts +4 -4
  797. package/lib/core/Badges/Count.stories.d.ts.map +1 -1
  798. package/lib/core/Badges/Count.stories.js.map +1 -1
  799. package/lib/core/Badges/Keyboard.stories.d.ts +4 -4
  800. package/lib/core/Badges/Keyboard.stories.d.ts.map +1 -1
  801. package/lib/core/Badges/Keyboard.stories.js +1 -1
  802. package/lib/core/Badges/Keyboard.stories.js.map +1 -1
  803. package/lib/core/Badges/Selection.stories.d.ts +3 -3
  804. package/lib/core/Badges/Selection.stories.d.ts.map +1 -1
  805. package/lib/core/Badges/Selection.stories.js.map +1 -1
  806. package/lib/core/Badges/Status.stories.d.ts +5 -5
  807. package/lib/core/Badges/Status.stories.d.ts.map +1 -1
  808. package/lib/core/Badges/Status.stories.js.map +1 -1
  809. package/lib/core/Badges/Tag.stories.d.ts +3 -3
  810. package/lib/core/Badges/Tag.stories.d.ts.map +1 -1
  811. package/lib/core/Badges/Tag.stories.js.map +1 -1
  812. package/lib/core/Banner/Banner.stories.d.ts +9 -8
  813. package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
  814. package/lib/core/Banner/Banner.stories.js +32 -20
  815. package/lib/core/Banner/Banner.stories.js.map +1 -1
  816. package/lib/core/Boolean/BooleanDisplay.stories.d.ts +4 -4
  817. package/lib/core/Boolean/BooleanDisplay.stories.d.ts.map +1 -1
  818. package/lib/core/Boolean/BooleanDisplay.stories.js.map +1 -1
  819. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +8 -4
  820. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  821. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +16 -4
  822. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
  823. package/lib/core/Button/Button.stories.d.ts +9 -10
  824. package/lib/core/Button/Button.stories.d.ts.map +1 -1
  825. package/lib/core/Button/Button.stories.js +0 -12
  826. package/lib/core/Button/Button.stories.js.map +1 -1
  827. package/lib/core/Card/Card.stories.d.ts +6 -6
  828. package/lib/core/Card/Card.stories.d.ts.map +1 -1
  829. package/lib/core/Card/Card.stories.js.map +1 -1
  830. package/lib/core/Checkbox/Checkbox.stories.d.ts +6 -6
  831. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  832. package/lib/core/Checkbox/Checkbox.stories.js +3 -1
  833. package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
  834. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +5 -5
  835. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  836. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +9 -5
  837. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
  838. package/lib/core/ColorPicker/ColorPicker.stories.d.ts +5 -5
  839. package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  840. package/lib/core/ColorPicker/ColorPicker.stories.js +1 -1
  841. package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
  842. package/lib/core/ComboBox/ComboBox.stories.d.ts +11 -10
  843. package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  844. package/lib/core/ComboBox/ComboBox.stories.js +22 -10
  845. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
  846. package/lib/core/CompositeInput/CompositeInput.stories.d.ts +3 -3
  847. package/lib/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
  848. package/lib/core/CompositeInput/CompositeInput.stories.js.map +1 -1
  849. package/lib/core/Configuration/Configuration.stories.d.ts +8 -8
  850. package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -1
  851. package/lib/core/Configuration/Configuration.stories.js.map +1 -1
  852. package/lib/core/CreditCard/CreditCard.stories.d.ts +4 -4
  853. package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
  854. package/lib/core/CreditCard/CreditCard.stories.js +1 -2
  855. package/lib/core/CreditCard/CreditCard.stories.js.map +1 -1
  856. package/lib/core/Currency/Currency.stories.d.ts +6 -6
  857. package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
  858. package/lib/core/Currency/Currency.stories.js +1 -1
  859. package/lib/core/Currency/Currency.stories.js.map +1 -1
  860. package/lib/core/DangerButton/DangerButton.stories.d.ts +6 -0
  861. package/lib/core/DangerButton/DangerButton.stories.d.ts.map +1 -0
  862. package/lib/core/DangerButton/DangerButton.stories.js +18 -0
  863. package/lib/core/DangerButton/DangerButton.stories.js.map +1 -0
  864. package/lib/core/DateTime/DateTime.stories.d.ts +13 -13
  865. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
  866. package/lib/core/DateTime/DateTime.stories.js +11 -9
  867. package/lib/core/DateTime/DateTime.stories.js.map +1 -1
  868. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts +5 -5
  869. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
  870. package/lib/core/DateTime/DateTimeDisplay.stories.js +5 -3
  871. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
  872. package/lib/core/DateTime/DateTimePicker.stories.d.ts +5 -5
  873. package/lib/core/DateTime/DateTimePicker.stories.d.ts.map +1 -1
  874. package/lib/core/DateTime/DateTimePicker.stories.js +1 -1
  875. package/lib/core/DateTime/DateTimePicker.stories.js.map +1 -1
  876. package/lib/core/Dialog/Dialog.stories.d.ts +5 -4
  877. package/lib/core/Dialog/Dialog.stories.d.ts.map +1 -1
  878. package/lib/core/Dialog/Dialog.stories.js +8 -63
  879. package/lib/core/Dialog/Dialog.stories.js.map +1 -1
  880. package/lib/core/Dialog/{Dialog.mocks.d.ts → FormDialog.mocks.d.ts} +4 -3
  881. package/lib/core/Dialog/FormDialog.mocks.d.ts.map +1 -0
  882. package/lib/core/Dialog/{Dialog.mocks.js → FormDialog.mocks.js} +61 -5
  883. package/lib/core/Dialog/FormDialog.mocks.js.map +1 -0
  884. package/lib/core/Dialog/InfoDialog.mocks.d.ts +4 -0
  885. package/lib/core/Dialog/InfoDialog.mocks.d.ts.map +1 -0
  886. package/lib/core/Dialog/InfoDialog.mocks.js +41 -0
  887. package/lib/core/Dialog/InfoDialog.mocks.js.map +1 -0
  888. package/lib/core/Drawer/Drawer.stories.d.ts +5 -5
  889. package/lib/core/Drawer/Drawer.stories.d.ts.map +1 -1
  890. package/lib/core/Drawer/Drawer.stories.js.map +1 -1
  891. package/lib/core/Email/EmailDisplay.stories.d.ts +4 -4
  892. package/lib/core/Email/EmailDisplay.stories.d.ts.map +1 -1
  893. package/lib/core/Email/EmailDisplay.stories.js.map +1 -1
  894. package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts +6 -6
  895. package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -1
  896. package/lib/core/EmojiPicker/EmojiPicker.stories.js +6 -5
  897. package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +1 -1
  898. package/lib/core/EmptyState/EmptyState.stories.d.ts +4 -4
  899. package/lib/core/EmptyState/EmptyState.stories.d.ts.map +1 -1
  900. package/lib/core/EmptyState/EmptyState.stories.js.map +1 -1
  901. package/lib/core/ErrorState/ErrorState.stories.d.ts +4 -4
  902. package/lib/core/ErrorState/ErrorState.stories.d.ts.map +1 -1
  903. package/lib/core/ErrorState/ErrorState.stories.js.map +1 -1
  904. package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts +5 -5
  905. package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +1 -1
  906. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +1 -1
  907. package/lib/core/FieldGroup/FieldGroup.stories.d.ts +8 -3
  908. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  909. package/lib/core/FieldGroup/FieldGroup.stories.js +27 -2
  910. package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
  911. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +1 -1
  912. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  913. package/lib/core/FieldGroup/FieldGroupList.mocks.js +6 -1
  914. package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -1
  915. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +6 -5
  916. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  917. package/lib/core/FieldGroup/FieldGroupList.stories.js +43 -11
  918. package/lib/core/FieldGroup/FieldGroupList.stories.js.map +1 -1
  919. package/lib/core/FieldValueList/FieldValueList.mocks.d.ts +20 -0
  920. package/lib/core/FieldValueList/FieldValueList.mocks.d.ts.map +1 -0
  921. package/lib/core/FieldValueList/FieldValueList.mocks.js +51 -0
  922. package/lib/core/FieldValueList/FieldValueList.mocks.js.map +1 -0
  923. package/lib/core/FieldValueList/FieldValueList.stories.d.ts +4 -4
  924. package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  925. package/lib/core/FieldValueList/FieldValueList.stories.js +5 -50
  926. package/lib/core/FieldValueList/FieldValueList.stories.js.map +1 -1
  927. package/lib/core/File/FileDisplay.stories.d.ts +6 -6
  928. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
  929. package/lib/core/File/FileDisplay.stories.js.map +1 -1
  930. package/lib/core/File/FileInput.stories.d.ts +4 -4
  931. package/lib/core/File/FileInput.stories.d.ts.map +1 -1
  932. package/lib/core/File/FileInput.stories.js.map +1 -1
  933. package/lib/core/Flex/FlexContainer.stories.d.ts +10 -10
  934. package/lib/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  935. package/lib/core/Flex/FlexContainer.stories.js.map +1 -1
  936. package/lib/core/Flex/FlexItem.stories.d.ts +6 -6
  937. package/lib/core/Flex/FlexItem.stories.d.ts.map +1 -1
  938. package/lib/core/Flex/FlexItem.stories.js.map +1 -1
  939. package/lib/core/Form/Form.stories.d.ts +8 -8
  940. package/lib/core/Form/Form.stories.d.ts.map +1 -1
  941. package/lib/core/Form/Form.stories.js.map +1 -1
  942. package/lib/core/Grid/GridContainer.stories.d.ts +12 -12
  943. package/lib/core/Grid/GridContainer.stories.d.ts.map +1 -1
  944. package/lib/core/Grid/GridContainer.stories.js.map +1 -1
  945. package/lib/core/Grid/GridItem.stories.d.ts +6 -6
  946. package/lib/core/Grid/GridItem.stories.d.ts.map +1 -1
  947. package/lib/core/Grid/GridItem.stories.js.map +1 -1
  948. package/lib/core/HTML/HTML.stories.d.ts +4 -4
  949. package/lib/core/HTML/HTML.stories.d.ts.map +1 -1
  950. package/lib/core/HTML/HTML.stories.js.map +1 -1
  951. package/lib/core/Icon/Icon.stories.d.ts +9 -6
  952. package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
  953. package/lib/core/Icon/Icon.stories.js +16 -8
  954. package/lib/core/Icon/Icon.stories.js.map +1 -1
  955. package/lib/core/IconPicker/IconPicker.stories.d.ts +4 -4
  956. package/lib/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
  957. package/lib/core/IconPicker/IconPicker.stories.js +1 -1
  958. package/lib/core/IconPicker/IconPicker.stories.js.map +1 -1
  959. package/lib/core/Image/Image.stories.d.ts +3 -3
  960. package/lib/core/Image/Image.stories.d.ts.map +1 -1
  961. package/lib/core/Image/Image.stories.js.map +1 -1
  962. package/lib/core/Input/Input.stories.d.ts +6 -6
  963. package/lib/core/Input/Input.stories.d.ts.map +1 -1
  964. package/lib/core/Input/Input.stories.js +2 -2
  965. package/lib/core/Input/Input.stories.js.map +1 -1
  966. package/lib/core/Label/Label.stories.d.ts +5 -5
  967. package/lib/core/Label/Label.stories.d.ts.map +1 -1
  968. package/lib/core/Label/Label.stories.js.map +1 -1
  969. package/lib/core/Lightbox/Lightbox.mocks.d.ts.map +1 -1
  970. package/lib/core/Lightbox/Lightbox.mocks.js +0 -8
  971. package/lib/core/Lightbox/Lightbox.mocks.js.map +1 -1
  972. package/lib/core/Lightbox/Lightbox.stories.d.ts +3 -3
  973. package/lib/core/Lightbox/Lightbox.stories.d.ts.map +1 -1
  974. package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
  975. package/lib/core/Link/Link.stories.d.ts +7 -7
  976. package/lib/core/Link/Link.stories.d.ts.map +1 -1
  977. package/lib/core/Link/Link.stories.js.map +1 -1
  978. package/lib/core/List/CommaSeparatedList.stories.d.ts +4 -4
  979. package/lib/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  980. package/lib/core/List/CommaSeparatedList.stories.js.map +1 -1
  981. package/lib/core/List/OrderedList.stories.d.ts +4 -4
  982. package/lib/core/List/OrderedList.stories.d.ts.map +1 -1
  983. package/lib/core/List/OrderedList.stories.js.map +1 -1
  984. package/lib/core/List/UnorderedList.stories.d.ts +4 -4
  985. package/lib/core/List/UnorderedList.stories.d.ts.map +1 -1
  986. package/lib/core/List/UnorderedList.stories.js.map +1 -1
  987. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
  988. package/lib/core/ListToolbar/ListToolbar.mocks.js +26 -33
  989. package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -1
  990. package/lib/core/ListToolbar/ListToolbar.stories.d.ts +5 -5
  991. package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  992. package/lib/core/ListToolbar/ListToolbar.stories.js +3 -3
  993. package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -1
  994. package/lib/core/LiveLog/LiveLog.stories.d.ts +4 -4
  995. package/lib/core/LiveLog/LiveLog.stories.d.ts.map +1 -1
  996. package/lib/core/LiveLog/LiveLog.stories.js.map +1 -1
  997. package/lib/core/Location/Location.stories.d.ts +7 -7
  998. package/lib/core/Location/Location.stories.d.ts.map +1 -1
  999. package/lib/core/Location/Location.stories.js +14 -8
  1000. package/lib/core/Location/Location.stories.js.map +1 -1
  1001. package/lib/core/Menu/Menu.mocks.js.map +1 -1
  1002. package/lib/core/Menu/Menu.stories.d.ts +6 -5
  1003. package/lib/core/Menu/Menu.stories.d.ts.map +1 -1
  1004. package/lib/core/Menu/Menu.stories.js +27 -0
  1005. package/lib/core/Menu/Menu.stories.js.map +1 -1
  1006. package/lib/core/MenuButton/MenuButton.stories.d.ts +9 -8
  1007. package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  1008. package/lib/core/MenuButton/MenuButton.stories.js +1 -1
  1009. package/lib/core/MenuButton/MenuButton.stories.js.map +1 -1
  1010. package/lib/core/MetaList/MetaList.stories.d.ts +4 -4
  1011. package/lib/core/MetaList/MetaList.stories.d.ts.map +1 -1
  1012. package/lib/core/MetaList/MetaList.stories.js.map +1 -1
  1013. package/lib/core/Modal/Modal.mocks.d.ts +1 -1
  1014. package/lib/core/Modal/Modal.mocks.d.ts.map +1 -1
  1015. package/lib/core/Modal/Modal.stories.d.ts +11 -11
  1016. package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
  1017. package/lib/core/Modal/Modal.stories.js +7 -6
  1018. package/lib/core/Modal/Modal.stories.js.map +1 -1
  1019. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts +36 -3
  1020. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
  1021. package/lib/core/MultiStepForm/MultiStepForm.mocks.js +269 -31
  1022. package/lib/core/MultiStepForm/MultiStepForm.mocks.js.map +1 -1
  1023. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts +5 -3
  1024. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  1025. package/lib/core/MultiStepForm/MultiStepForm.stories.js +65 -173
  1026. package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +1 -1
  1027. package/lib/core/NoValue/NoValue.stories.d.ts +6 -0
  1028. package/lib/core/NoValue/NoValue.stories.d.ts.map +1 -0
  1029. package/lib/core/NoValue/NoValue.stories.js +29 -0
  1030. package/lib/core/NoValue/NoValue.stories.js.map +1 -0
  1031. package/lib/core/Number/Number.stories.d.ts +8 -8
  1032. package/lib/core/Number/Number.stories.d.ts.map +1 -1
  1033. package/lib/core/Number/Number.stories.js +3 -3
  1034. package/lib/core/Number/Number.stories.js.map +1 -1
  1035. package/lib/core/PageTemplates/PageTemplates.stories.d.ts +8 -8
  1036. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  1037. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  1038. package/lib/core/Pagination/Pagination.stories.d.ts +4 -4
  1039. package/lib/core/Pagination/Pagination.stories.d.ts.map +1 -1
  1040. package/lib/core/Pagination/Pagination.stories.js.map +1 -1
  1041. package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts +4 -4
  1042. package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts.map +1 -1
  1043. package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +1 -1
  1044. package/lib/core/Phone/Phone.stories.d.ts +5 -5
  1045. package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
  1046. package/lib/core/Phone/Phone.stories.js +1 -1
  1047. package/lib/core/Phone/Phone.stories.js.map +1 -1
  1048. package/lib/core/Popover/Popover.mocks.d.ts +9 -0
  1049. package/lib/core/Popover/Popover.mocks.d.ts.map +1 -0
  1050. package/lib/core/Popover/Popover.mocks.js +105 -0
  1051. package/lib/core/Popover/Popover.mocks.js.map +1 -0
  1052. package/lib/core/Popover/Popover.stories.d.ts +11 -5
  1053. package/lib/core/Popover/Popover.stories.d.ts.map +1 -1
  1054. package/lib/core/Popover/Popover.stories.js +27 -0
  1055. package/lib/core/Popover/Popover.stories.js.map +1 -1
  1056. package/lib/core/Progress/Progress.mocks.d.ts +2 -0
  1057. package/lib/core/Progress/Progress.mocks.d.ts.map +1 -0
  1058. package/lib/core/Progress/Progress.mocks.js +2 -0
  1059. package/lib/core/Progress/Progress.mocks.js.map +1 -0
  1060. package/lib/core/Progress/Progress.stories.d.ts +5 -5
  1061. package/lib/core/Progress/Progress.stories.d.ts.map +1 -1
  1062. package/lib/core/Progress/Progress.stories.js +2 -2
  1063. package/lib/core/Progress/Progress.stories.js.map +1 -1
  1064. package/lib/core/QRCode/QRCode.stories.d.ts +3 -3
  1065. package/lib/core/QRCode/QRCode.stories.d.ts.map +1 -1
  1066. package/lib/core/QRCode/QRCode.stories.js.map +1 -1
  1067. package/lib/core/RadioButton/RadioButton.stories.d.ts +6 -6
  1068. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  1069. package/lib/core/RadioButton/RadioButton.stories.js +3 -1
  1070. package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
  1071. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +5 -5
  1072. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  1073. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +9 -5
  1074. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
  1075. package/lib/core/Rating/Rating.stories.d.ts +5 -5
  1076. package/lib/core/Rating/Rating.stories.d.ts.map +1 -1
  1077. package/lib/core/Rating/Rating.stories.js +1 -1
  1078. package/lib/core/Rating/Rating.stories.js.map +1 -1
  1079. package/lib/core/SearchInput/SearchInput.stories.d.ts +5 -5
  1080. package/lib/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  1081. package/lib/core/SearchInput/SearchInput.stories.js.map +1 -1
  1082. package/lib/core/Select/Select.stories.d.ts +5 -5
  1083. package/lib/core/Select/Select.stories.d.ts.map +1 -1
  1084. package/lib/core/Select/Select.stories.js +1 -1
  1085. package/lib/core/Select/Select.stories.js.map +1 -1
  1086. package/lib/core/Sentiment/Sentiment.stories.d.ts +5 -5
  1087. package/lib/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
  1088. package/lib/core/Sentiment/Sentiment.stories.js.map +1 -1
  1089. package/lib/core/SkipLinks/SkipLinks.stories.d.ts +4 -4
  1090. package/lib/core/SkipLinks/SkipLinks.stories.d.ts.map +1 -1
  1091. package/lib/core/SkipLinks/SkipLinks.stories.js.map +1 -1
  1092. package/lib/core/Slider/Slider.stories.d.ts +5 -5
  1093. package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
  1094. package/lib/core/Slider/Slider.stories.js +1 -1
  1095. package/lib/core/Slider/Slider.stories.js.map +1 -1
  1096. package/lib/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  1097. package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  1098. package/lib/core/SummaryItem/SummaryItem.stories.js.map +1 -1
  1099. package/lib/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
  1100. package/lib/core/SummaryList/SummaryList.mocks.js +11 -2
  1101. package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -1
  1102. package/lib/core/SummaryList/SummaryList.stories.d.ts +5 -5
  1103. package/lib/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  1104. package/lib/core/SummaryList/SummaryList.stories.js +2 -2
  1105. package/lib/core/SummaryList/SummaryList.stories.js.map +1 -1
  1106. package/lib/core/SummaryList/mockUsers.d.ts.map +1 -1
  1107. package/lib/core/SummaryList/mockUsers.js +2 -0
  1108. package/lib/core/SummaryList/mockUsers.js.map +1 -1
  1109. package/lib/core/Switch/Switch.stories.d.ts +6 -6
  1110. package/lib/core/Switch/Switch.stories.d.ts.map +1 -1
  1111. package/lib/core/Switch/Switch.stories.js.map +1 -1
  1112. package/lib/core/Table/Table.mocks.js +1 -1
  1113. package/lib/core/Table/Table.mocks.js.map +1 -1
  1114. package/lib/core/Table/Table.stories.d.ts +6 -6
  1115. package/lib/core/Table/Table.stories.d.ts.map +1 -1
  1116. package/lib/core/Table/Table.stories.js.map +1 -1
  1117. package/lib/core/Tabs/Tabs.stories.d.ts +4 -10
  1118. package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -1
  1119. package/lib/core/Tabs/Tabs.stories.js +4 -34
  1120. package/lib/core/Tabs/Tabs.stories.js.map +1 -1
  1121. package/lib/core/Text/Text.stories.d.ts +5 -5
  1122. package/lib/core/Text/Text.stories.d.ts.map +1 -1
  1123. package/lib/core/Text/Text.stories.js +1 -1
  1124. package/lib/core/Text/Text.stories.js.map +1 -1
  1125. package/lib/core/TextArea/TextArea.stories.d.ts +5 -5
  1126. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
  1127. package/lib/core/TextArea/TextArea.stories.js +2 -2
  1128. package/lib/core/TextArea/TextArea.stories.js.map +1 -1
  1129. package/lib/core/Toaster/Toaster.stories.d.ts +3 -3
  1130. package/lib/core/Toaster/Toaster.stories.d.ts.map +1 -1
  1131. package/lib/core/Toaster/Toaster.stories.js.map +1 -1
  1132. package/lib/core/Tooltip/Tooltip.stories.d.ts +5 -4
  1133. package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  1134. package/lib/core/Tooltip/Tooltip.stories.js +9 -1
  1135. package/lib/core/Tooltip/Tooltip.stories.js.map +1 -1
  1136. package/lib/core/Tooltip/Tooltip.styles.d.ts +2 -0
  1137. package/lib/core/Tooltip/Tooltip.styles.d.ts.map +1 -0
  1138. package/lib/core/Tooltip/Tooltip.styles.js +23 -0
  1139. package/lib/core/Tooltip/Tooltip.styles.js.map +1 -0
  1140. package/lib/core/Tree/Tree.stories.d.ts +5 -5
  1141. package/lib/core/Tree/Tree.stories.d.ts.map +1 -1
  1142. package/lib/core/Tree/Tree.stories.js.map +1 -1
  1143. package/lib/core/URL/URL.stories.d.ts +4 -4
  1144. package/lib/core/URL/URL.stories.d.ts.map +1 -1
  1145. package/lib/core/URL/URL.stories.js.map +1 -1
  1146. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts +1 -1
  1147. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts.map +1 -1
  1148. package/lib/cs/CSAppShell/CSAppShell.mocks.js +15 -15
  1149. package/lib/cs/CSAppShell/CSAppShell.mocks.js.map +1 -1
  1150. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts +4 -4
  1151. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts.map +1 -1
  1152. package/lib/cs/CSAppShell/CSAppShell.stories.js +6 -4
  1153. package/lib/cs/CSAppShell/CSAppShell.stories.js.map +1 -1
  1154. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +2 -2
  1155. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +1 -1
  1156. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +5 -5
  1157. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  1158. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +1 -0
  1159. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +1 -1
  1160. package/lib/cs/DialPad/DialPad.stories.d.ts +4 -4
  1161. package/lib/cs/DialPad/DialPad.stories.d.ts.map +1 -1
  1162. package/lib/cs/DialPad/DialPad.stories.js.map +1 -1
  1163. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +3 -3
  1164. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  1165. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +1 -1
  1166. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +5 -4
  1167. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  1168. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +12 -5
  1169. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +1 -1
  1170. package/lib/cs/Picker/Picker.stories.d.ts +11 -0
  1171. package/lib/cs/Picker/Picker.stories.d.ts.map +1 -0
  1172. package/lib/cs/Picker/Picker.stories.js +56 -0
  1173. package/lib/cs/Picker/Picker.stories.js.map +1 -0
  1174. package/lib/cs/TaskManager/TaskManager.stories.d.ts +5 -5
  1175. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  1176. package/lib/cs/TaskManager/TaskManager.stories.js +2 -2
  1177. package/lib/cs/TaskManager/TaskManager.stories.js.map +1 -1
  1178. package/lib/dnd/DragDropList/DragDropList.stories.d.ts +4 -4
  1179. package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  1180. package/lib/dnd/DragDropList/DragDropList.stories.js.map +1 -1
  1181. package/lib/dnd/StandardDragDropList/Demo.d.ts +1 -0
  1182. package/lib/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
  1183. package/lib/dnd/StandardDragDropList/Demo.js +1 -1
  1184. package/lib/dnd/StandardDragDropList/Demo.js.map +1 -1
  1185. package/lib/dnd/StandardDragDropList/Popover.d.ts +1 -1
  1186. package/lib/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
  1187. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +3 -3
  1188. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -1
  1189. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js.map +1 -1
  1190. package/lib/dnd/StandardDragDropList/mockData.d.ts +2 -2
  1191. package/lib/dnd/StandardDragDropList/mockData.d.ts.map +1 -1
  1192. package/lib/dnd/StandardDragDropList/mockData.js.map +1 -1
  1193. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
  1194. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
  1195. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js +87 -0
  1196. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -0
  1197. package/lib/rte/DynamicContentEditor/FieldSelector.d.ts +14 -0
  1198. package/lib/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
  1199. package/lib/rte/DynamicContentEditor/FieldSelector.js +83 -0
  1200. package/lib/rte/DynamicContentEditor/FieldSelector.js.map +1 -0
  1201. package/lib/rte/Editor/Editor.mocks.d.ts +41 -27
  1202. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -1
  1203. package/lib/rte/Editor/Editor.stories.d.ts +8 -8
  1204. package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
  1205. package/lib/rte/Editor/Editor.stories.js.map +1 -1
  1206. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +4 -4
  1207. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  1208. package/lib/rte/RichTextEditor/RichTextEditor.stories.js +1 -1
  1209. package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +1 -1
  1210. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +6 -6
  1211. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  1212. package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +1 -1
  1213. package/lib/social/Chat/Chat.mocks.d.ts +23 -396
  1214. package/lib/social/Chat/Chat.mocks.d.ts.map +1 -1
  1215. package/lib/social/Chat/Chat.mocks.js +542 -585
  1216. package/lib/social/Chat/Chat.mocks.js.map +1 -1
  1217. package/lib/social/Chat/Chat.stories.d.ts +29 -33
  1218. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  1219. package/lib/social/Chat/Chat.stories.js +211 -177
  1220. package/lib/social/Chat/Chat.stories.js.map +1 -1
  1221. package/lib/social/Email/Email.mocks.d.ts +1 -1
  1222. package/lib/social/Email/Email.mocks.d.ts.map +1 -1
  1223. package/lib/social/Email/Email.mocks.js +4 -4
  1224. package/lib/social/Email/Email.mocks.js.map +1 -1
  1225. package/lib/social/Email/Email.stories.d.ts +15 -15
  1226. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  1227. package/lib/social/Email/Email.stories.js +23 -25
  1228. package/lib/social/Email/Email.stories.js.map +1 -1
  1229. package/lib/social/Feed/Feed.mocks.d.ts +19 -13
  1230. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
  1231. package/lib/social/Feed/Feed.mocks.js +77 -9
  1232. package/lib/social/Feed/Feed.mocks.js.map +1 -1
  1233. package/lib/social/Feed/Feed.stories.d.ts +5 -5
  1234. package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
  1235. package/lib/social/Feed/Feed.stories.js +29 -19
  1236. package/lib/social/Feed/Feed.stories.js.map +1 -1
  1237. package/lib/social/Feed/FeedNewPost.mocks.d.ts +8 -0
  1238. package/lib/social/Feed/FeedNewPost.mocks.d.ts.map +1 -0
  1239. package/lib/social/Feed/FeedNewPost.mocks.js +46 -0
  1240. package/lib/social/Feed/FeedNewPost.mocks.js.map +1 -0
  1241. package/lib/social/Feed/FeedPost.mocks.d.ts +4 -0
  1242. package/lib/social/Feed/FeedPost.mocks.d.ts.map +1 -0
  1243. package/lib/social/Feed/FeedPost.mocks.js +165 -0
  1244. package/lib/social/Feed/FeedPost.mocks.js.map +1 -0
  1245. package/lib/social/Feed/FeedReply.mocks.d.ts +13 -0
  1246. package/lib/social/Feed/FeedReply.mocks.d.ts.map +1 -0
  1247. package/lib/social/Feed/FeedReply.mocks.js +74 -0
  1248. package/lib/social/Feed/FeedReply.mocks.js.map +1 -0
  1249. package/lib/tools/Clipboard/Clipboard.mocks.d.ts.map +1 -1
  1250. package/lib/tools/Clipboard/Clipboard.mocks.js +0 -1
  1251. package/lib/tools/Clipboard/Clipboard.mocks.js.map +1 -1
  1252. package/lib/tools/Clipboard/Clipboard.stories.d.ts +4 -4
  1253. package/lib/tools/Clipboard/Clipboard.stories.d.ts.map +1 -1
  1254. package/lib/tools/Clipboard/Clipboard.stories.js.map +1 -1
  1255. package/lib/tools/DevTools/DevTools.stories.d.ts +4 -4
  1256. package/lib/tools/DevTools/DevTools.stories.d.ts.map +1 -1
  1257. package/lib/tools/DevTools/DevTools.stories.js.map +1 -1
  1258. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -1
  1259. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts.map +1 -1
  1260. package/lib/tools/PreviewShell/PreviewShell.mocks.js +1 -2
  1261. package/lib/tools/PreviewShell/PreviewShell.mocks.js.map +1 -1
  1262. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts +7 -7
  1263. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -1
  1264. package/lib/tools/PreviewShell/PreviewShell.stories.js +4 -5
  1265. package/lib/tools/PreviewShell/PreviewShell.stories.js.map +1 -1
  1266. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts +4 -4
  1267. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -1
  1268. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js +1 -1
  1269. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +1 -1
  1270. package/lib/work/Article/Article.mocks.d.ts.map +1 -0
  1271. package/lib/work/Article/Article.mocks.js +14 -0
  1272. package/lib/work/Article/Article.mocks.js.map +1 -0
  1273. package/lib/work/Article/Article.stories.d.ts +17 -0
  1274. package/lib/work/Article/Article.stories.d.ts.map +1 -0
  1275. package/lib/work/Article/Article.stories.js +200 -0
  1276. package/lib/work/Article/Article.stories.js.map +1 -0
  1277. package/lib/work/ArticleList/ArticleList.mocks.d.ts +140 -0
  1278. package/lib/work/ArticleList/ArticleList.mocks.d.ts.map +1 -0
  1279. package/lib/work/ArticleList/ArticleList.mocks.js +414 -0
  1280. package/lib/work/ArticleList/ArticleList.mocks.js.map +1 -0
  1281. package/lib/work/ArticleList/ArticleList.stories.d.ts +14 -0
  1282. package/lib/work/ArticleList/ArticleList.stories.d.ts.map +1 -0
  1283. package/lib/work/ArticleList/ArticleList.stories.js +312 -0
  1284. package/lib/work/ArticleList/ArticleList.stories.js.map +1 -0
  1285. package/lib/work/Assignments/Assignments.stories.d.ts +11 -0
  1286. package/lib/work/Assignments/Assignments.stories.d.ts.map +1 -0
  1287. package/lib/work/Assignments/Assignments.stories.js +63 -0
  1288. package/lib/work/Assignments/Assignments.stories.js.map +1 -0
  1289. package/lib/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  1290. package/lib/work/CaseView/Attachments.mocks.js +96 -80
  1291. package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
  1292. package/lib/work/CaseView/CaseView.mocks.d.ts +38 -9
  1293. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  1294. package/lib/work/CaseView/CaseView.mocks.js +224 -98
  1295. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  1296. package/lib/work/CaseView/CaseView.stories.d.ts +4 -9
  1297. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
  1298. package/lib/work/CaseView/CaseView.stories.js +39 -10
  1299. package/lib/work/CaseView/CaseView.stories.js.map +1 -1
  1300. package/lib/work/CaseView/Details.mocks.js +1 -1
  1301. package/lib/work/CaseView/Details.mocks.js.map +1 -1
  1302. package/lib/work/CaseView/FileService.mock.d.ts +2 -2
  1303. package/lib/work/CaseView/FileService.mock.d.ts.map +1 -1
  1304. package/lib/work/CaseView/FileService.mock.js +2 -6
  1305. package/lib/work/CaseView/FileService.mock.js.map +1 -1
  1306. package/lib/work/CaseView/Pulse.mocks.d.ts +1 -1
  1307. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  1308. package/lib/work/CaseView/Pulse.mocks.js +1 -1
  1309. package/lib/work/CaseView/Pulse.mocks.js.map +1 -1
  1310. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -3
  1311. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  1312. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +1 -1
  1313. package/lib/work/Confirmation/Confirmation.stories.d.ts +5 -4
  1314. package/lib/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  1315. package/lib/work/Confirmation/Confirmation.stories.js +10 -5
  1316. package/lib/work/Confirmation/Confirmation.stories.js.map +1 -1
  1317. package/lib/work/Details/Details.stories.d.ts +6 -3
  1318. package/lib/work/Details/Details.stories.d.ts.map +1 -1
  1319. package/lib/work/Details/Details.stories.js +15 -3
  1320. package/lib/work/Details/Details.stories.js.map +1 -1
  1321. package/lib/work/Glimpse/Glimpse.stories.d.ts +3 -8
  1322. package/lib/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  1323. package/lib/work/Glimpse/Glimpse.stories.js +13 -15
  1324. package/lib/work/Glimpse/Glimpse.stories.js.map +1 -1
  1325. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -4
  1326. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  1327. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js +82 -12
  1328. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  1329. package/lib/work/Predictions/Predictions.mocks.d.ts +3 -0
  1330. package/lib/work/Predictions/Predictions.mocks.d.ts.map +1 -0
  1331. package/lib/work/Predictions/Predictions.mocks.js +6 -0
  1332. package/lib/work/Predictions/Predictions.mocks.js.map +1 -0
  1333. package/lib/work/Predictions/Predictions.stories.d.ts +5 -0
  1334. package/lib/work/Predictions/Predictions.stories.d.ts.map +1 -0
  1335. package/lib/work/Predictions/Predictions.stories.js +54 -0
  1336. package/lib/work/Predictions/Predictions.stories.js.map +1 -0
  1337. package/lib/work/SearchResults/SearchResults.mocks.d.ts +1 -1
  1338. package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  1339. package/lib/work/SearchResults/SearchResults.stories.d.ts +3 -3
  1340. package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  1341. package/lib/work/SearchResults/SearchResults.stories.js +2 -8
  1342. package/lib/work/SearchResults/SearchResults.stories.js.map +1 -1
  1343. package/lib/work/Stages/Stages.stories.d.ts +4 -4
  1344. package/lib/work/Stages/Stages.stories.d.ts.map +1 -1
  1345. package/lib/work/Stages/Stages.stories.js +22 -8
  1346. package/lib/work/Stages/Stages.stories.js.map +1 -1
  1347. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  1348. package/lib/work/Stakeholders/Stakeholders.mocks.js +4 -2
  1349. package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -1
  1350. package/lib/work/Stakeholders/Stakeholders.stories.d.ts +3 -3
  1351. package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  1352. package/lib/work/Stakeholders/Stakeholders.stories.js.map +1 -1
  1353. package/lib/work/Tags/Tags.stories.d.ts +3 -3
  1354. package/lib/work/Tags/Tags.stories.d.ts.map +1 -1
  1355. package/lib/work/Tags/Tags.stories.js +8 -2
  1356. package/lib/work/Tags/Tags.stories.js.map +1 -1
  1357. package/lib/work/Tasks/TaskList.stories.d.ts +3 -3
  1358. package/lib/work/Tasks/TaskList.stories.d.ts.map +1 -1
  1359. package/lib/work/Tasks/TaskList.stories.js.map +1 -1
  1360. package/lib/work/Tasks/Tasks.mocks.d.ts +22 -0
  1361. package/lib/work/Tasks/Tasks.mocks.d.ts.map +1 -0
  1362. package/lib/work/Tasks/Tasks.mocks.js +51 -0
  1363. package/lib/work/Tasks/Tasks.mocks.js.map +1 -0
  1364. package/lib/work/Tasks/Tasks.stories.d.ts +9 -7
  1365. package/lib/work/Tasks/Tasks.stories.d.ts.map +1 -1
  1366. package/lib/work/Tasks/Tasks.stories.js +41 -55
  1367. package/lib/work/Tasks/Tasks.stories.js.map +1 -1
  1368. package/lib/work/Timeline/Timeline.mocks.d.ts.map +1 -1
  1369. package/lib/work/Timeline/Timeline.mocks.js +16 -1
  1370. package/lib/work/Timeline/Timeline.mocks.js.map +1 -1
  1371. package/lib/work/Timeline/Timeline.stories.d.ts +6 -6
  1372. package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -1
  1373. package/lib/work/Timeline/Timeline.stories.js +1 -1
  1374. package/lib/work/Timeline/Timeline.stories.js.map +1 -1
  1375. package/lib/wss/AppShell/AppShell.mocks.d.ts +0 -11
  1376. package/lib/wss/AppShell/AppShell.mocks.d.ts.map +1 -1
  1377. package/lib/wss/AppShell/AppShell.mocks.js +0 -11
  1378. package/lib/wss/AppShell/AppShell.mocks.js.map +1 -1
  1379. package/lib/wss/AppShell/AppShell.stories.d.ts +5 -5
  1380. package/lib/wss/AppShell/AppShell.stories.d.ts.map +1 -1
  1381. package/lib/wss/AppShell/AppShell.stories.js +36 -9
  1382. package/lib/wss/AppShell/AppShell.stories.js.map +1 -1
  1383. package/lib/wss/CaseView/CaseView.stories.d.ts +3 -3
  1384. package/lib/wss/CaseView/CaseView.stories.d.ts.map +1 -1
  1385. package/lib/wss/CaseView/CaseView.stories.js +8 -7
  1386. package/lib/wss/CaseView/CaseView.stories.js.map +1 -1
  1387. package/lib/wss/PageTemplates/PageTemplates.stories.d.ts +3 -3
  1388. package/lib/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  1389. package/lib/wss/PageTemplates/PageTemplates.stories.js +2 -2
  1390. package/lib/wss/PageTemplates/PageTemplates.stories.js.map +1 -1
  1391. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts +3 -3
  1392. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
  1393. package/lib/wss/QuickCreate/QuickCreate.stories.js.map +1 -1
  1394. package/package.json +24 -22
  1395. package/jsx/core/Dialog/Dialog.mocks.d.ts.map +0 -1
  1396. package/jsx/core/Dialog/Dialog.mocks.jsx.map +0 -1
  1397. package/jsx/cs/Article/Article.mocks.d.ts.map +0 -1
  1398. package/jsx/cs/Article/Article.mocks.js +0 -14
  1399. package/jsx/cs/Article/Article.mocks.js.map +0 -1
  1400. package/jsx/cs/Article/Article.stories.d.ts +0 -6
  1401. package/jsx/cs/Article/Article.stories.d.ts.map +0 -1
  1402. package/jsx/cs/Article/Article.stories.jsx +0 -126
  1403. package/jsx/cs/Article/Article.stories.jsx.map +0 -1
  1404. package/jsx/cs/ArticleList/ArticleList.mocks.d.ts +0 -21
  1405. package/jsx/cs/ArticleList/ArticleList.mocks.d.ts.map +0 -1
  1406. package/jsx/cs/ArticleList/ArticleList.mocks.js +0 -102
  1407. package/jsx/cs/ArticleList/ArticleList.mocks.js.map +0 -1
  1408. package/jsx/cs/ArticleList/ArticleList.stories.d.ts +0 -6
  1409. package/jsx/cs/ArticleList/ArticleList.stories.d.ts.map +0 -1
  1410. package/jsx/cs/ArticleList/ArticleList.stories.jsx +0 -111
  1411. package/jsx/cs/ArticleList/ArticleList.stories.jsx.map +0 -1
  1412. package/jsx/social/Chat/RepeatingView.mocks.d.ts +0 -14
  1413. package/jsx/social/Chat/RepeatingView.mocks.d.ts.map +0 -1
  1414. package/jsx/social/Chat/RepeatingView.mocks.js +0 -11
  1415. package/jsx/social/Chat/RepeatingView.mocks.js.map +0 -1
  1416. package/jsx/social/Chat/RepeatingView.stories.d.ts +0 -9
  1417. package/jsx/social/Chat/RepeatingView.stories.d.ts.map +0 -1
  1418. package/jsx/social/Chat/RepeatingView.stories.jsx +0 -60
  1419. package/jsx/social/Chat/RepeatingView.stories.jsx.map +0 -1
  1420. package/jsx/social/Chat/RepeatingView.styles.d.ts +0 -2
  1421. package/jsx/social/Chat/RepeatingView.styles.d.ts.map +0 -1
  1422. package/jsx/social/Chat/RepeatingView.styles.js +0 -22
  1423. package/jsx/social/Chat/RepeatingView.styles.js.map +0 -1
  1424. package/jsx/social/Feed/FeedNewPost.stories.d.ts +0 -10
  1425. package/jsx/social/Feed/FeedNewPost.stories.d.ts.map +0 -1
  1426. package/jsx/social/Feed/FeedNewPost.stories.jsx +0 -81
  1427. package/jsx/social/Feed/FeedNewPost.stories.jsx.map +0 -1
  1428. package/jsx/social/Feed/FeedPost.stories.d.ts +0 -8
  1429. package/jsx/social/Feed/FeedPost.stories.d.ts.map +0 -1
  1430. package/jsx/social/Feed/FeedPost.stories.jsx +0 -257
  1431. package/jsx/social/Feed/FeedPost.stories.jsx.map +0 -1
  1432. package/jsx/social/Feed/FeedReply.stories.d.ts +0 -16
  1433. package/jsx/social/Feed/FeedReply.stories.d.ts.map +0 -1
  1434. package/jsx/social/Feed/FeedReply.stories.jsx +0 -104
  1435. package/jsx/social/Feed/FeedReply.stories.jsx.map +0 -1
  1436. package/jsx/social/Feed/FeedReplyInput.stories.d.ts +0 -10
  1437. package/jsx/social/Feed/FeedReplyInput.stories.d.ts.map +0 -1
  1438. package/jsx/social/Feed/FeedReplyInput.stories.jsx +0 -60
  1439. package/jsx/social/Feed/FeedReplyInput.stories.jsx.map +0 -1
  1440. package/lib/core/Dialog/Dialog.mocks.d.ts.map +0 -1
  1441. package/lib/core/Dialog/Dialog.mocks.js.map +0 -1
  1442. package/lib/cs/Article/Article.mocks.d.ts.map +0 -1
  1443. package/lib/cs/Article/Article.mocks.js +0 -14
  1444. package/lib/cs/Article/Article.mocks.js.map +0 -1
  1445. package/lib/cs/Article/Article.stories.d.ts +0 -6
  1446. package/lib/cs/Article/Article.stories.d.ts.map +0 -1
  1447. package/lib/cs/Article/Article.stories.js +0 -85
  1448. package/lib/cs/Article/Article.stories.js.map +0 -1
  1449. package/lib/cs/ArticleList/ArticleList.mocks.d.ts +0 -21
  1450. package/lib/cs/ArticleList/ArticleList.mocks.d.ts.map +0 -1
  1451. package/lib/cs/ArticleList/ArticleList.mocks.js +0 -102
  1452. package/lib/cs/ArticleList/ArticleList.mocks.js.map +0 -1
  1453. package/lib/cs/ArticleList/ArticleList.stories.d.ts +0 -6
  1454. package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +0 -1
  1455. package/lib/cs/ArticleList/ArticleList.stories.js +0 -84
  1456. package/lib/cs/ArticleList/ArticleList.stories.js.map +0 -1
  1457. package/lib/social/Chat/RepeatingView.mocks.d.ts +0 -14
  1458. package/lib/social/Chat/RepeatingView.mocks.d.ts.map +0 -1
  1459. package/lib/social/Chat/RepeatingView.mocks.js +0 -11
  1460. package/lib/social/Chat/RepeatingView.mocks.js.map +0 -1
  1461. package/lib/social/Chat/RepeatingView.stories.d.ts +0 -9
  1462. package/lib/social/Chat/RepeatingView.stories.d.ts.map +0 -1
  1463. package/lib/social/Chat/RepeatingView.stories.js +0 -59
  1464. package/lib/social/Chat/RepeatingView.stories.js.map +0 -1
  1465. package/lib/social/Chat/RepeatingView.styles.d.ts +0 -2
  1466. package/lib/social/Chat/RepeatingView.styles.d.ts.map +0 -1
  1467. package/lib/social/Chat/RepeatingView.styles.js +0 -22
  1468. package/lib/social/Chat/RepeatingView.styles.js.map +0 -1
  1469. package/lib/social/Feed/FeedNewPost.stories.d.ts +0 -10
  1470. package/lib/social/Feed/FeedNewPost.stories.d.ts.map +0 -1
  1471. package/lib/social/Feed/FeedNewPost.stories.js +0 -83
  1472. package/lib/social/Feed/FeedNewPost.stories.js.map +0 -1
  1473. package/lib/social/Feed/FeedPost.stories.d.ts +0 -8
  1474. package/lib/social/Feed/FeedPost.stories.d.ts.map +0 -1
  1475. package/lib/social/Feed/FeedPost.stories.js +0 -250
  1476. package/lib/social/Feed/FeedPost.stories.js.map +0 -1
  1477. package/lib/social/Feed/FeedReply.stories.d.ts +0 -16
  1478. package/lib/social/Feed/FeedReply.stories.d.ts.map +0 -1
  1479. package/lib/social/Feed/FeedReply.stories.js +0 -100
  1480. package/lib/social/Feed/FeedReply.stories.js.map +0 -1
  1481. package/lib/social/Feed/FeedReplyInput.stories.d.ts +0 -10
  1482. package/lib/social/Feed/FeedReplyInput.stories.d.ts.map +0 -1
  1483. package/lib/social/Feed/FeedReplyInput.stories.js +0 -61
  1484. package/lib/social/Feed/FeedReplyInput.stories.js.map +0 -1
  1485. /package/jsx/{cs → work}/Article/Article.mocks.d.ts +0 -0
  1486. /package/lib/{cs → work}/Article/Article.mocks.d.ts +0 -0
@@ -16,13 +16,9 @@ export const defaultLinks = [
16
16
  },
17
17
  {
18
18
  id: '03',
19
- name: 'Collaboration',
20
- href: '#collaboration',
21
- icon: 'social-solid',
22
- links: [
23
- { id: '3-01', name: 'Spaces', href: '#spaces' },
24
- { id: '3-02', name: 'Documents', href: '#documents' }
25
- ]
19
+ name: 'Spaces',
20
+ href: '#spaces',
21
+ icon: 'social-solid'
26
22
  },
27
23
  {
28
24
  id: '04',
@@ -41,17 +37,6 @@ export const defaultLinks = [
41
37
  name: 'Goals',
42
38
  href: '#goals',
43
39
  icon: 'analytics-good'
44
- },
45
- {
46
- id: '07',
47
- name: 'More',
48
- href: '#more',
49
- icon: 'more-alt',
50
- active: false,
51
- links: [
52
- { id: '7-01', name: 'Item A', href: '#itemA' },
53
- { id: '7-02', name: 'Option 1', href: '#option1' }
54
- ]
55
40
  }
56
41
  ];
57
42
  export const defaultNotifications = [
@@ -1 +1 @@
1
- {"version":3,"file":"AppShell.mocks.jsx","sourceRoot":"","sources":["../../../src/core/AppShell/AppShell.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EACN,IAAI,EACJ,WAAW,EAEX,IAAI,EAEJ,IAAI,EACL,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,CAAC,MAAM,YAAY,GAA2B;IAClD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,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AAY,GAAG;IAC1B,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,EAAG;IACtC,OAAO,EAAE;QACP,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE;QACrC,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE;QACvC,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAAE,EAAE,MAAM,EAAE;QAC1C,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,EAAE;QACtC,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE;KACrC;IACD,IAAI,EAAE,cAAc;CACrB,CAAC","sourcesContent":["import {\n AppShellProps,\n Avatar,\n Card,\n CardContent,\n DrawerItemProps,\n Flex,\n ForwardProps,\n Text\n} from '@pega/cosmos-react-core';\n\nimport { StyledMainContent } from './AppShell.styles';\n\nexport const defaultLinks: AppShellProps['links'] = [\n {\n id: '01',\n name: 'Home',\n href: '#home',\n icon: 'home-solid',\n active: true\n },\n {\n id: '02',\n name: 'My Dashboard',\n href: '#dashboard',\n icon: 'gauge-solid'\n },\n {\n id: '03',\n name: 'Collaboration',\n href: '#collaboration',\n icon: 'social-solid',\n links: [\n { id: '3-01', name: 'Spaces', href: '#spaces' },\n { id: '3-02', name: 'Documents', href: '#documents' }\n ]\n },\n\n {\n id: '04',\n name: 'Bugs',\n href: '#bugs',\n icon: 'users-solid'\n },\n {\n id: '05',\n name: 'Epics',\n href: '#epics',\n icon: 'book-solid'\n },\n {\n id: '06',\n name: 'Goals',\n href: '#goals',\n icon: 'analytics-good'\n },\n {\n id: '07',\n name: 'More',\n href: '#more',\n icon: 'more-alt',\n active: false,\n links: [\n { id: '7-01', name: 'Item A', href: '#itemA' },\n { id: '7-02', name: 'Option 1', href: '#option1' }\n ]\n }\n];\n\nexport const defaultNotifications: (DrawerItemProps & ForwardProps)[] = [\n {\n id: '123',\n primary:\n \"Dean Thomas mentioned your team in a bug 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()],\n visual: <Avatar name='Dean Thomas' />,\n unread: true\n },\n {\n id: '456',\n primary: \"Seth DeAngelo mentioned your team in a bug 'Text variant h1 renders as h3 in DOM'.\",\n visual: <Avatar name='Seth DeAngelo' />,\n unread: true\n },\n {\n id: '789',\n primary:\n \"Janet Moore mentioned your team in a bug 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-12345', new Date(2020, 9, 2, 9, 22).toDateString()],\n visual: <Avatar name='Janet Moore' />,\n unread: true\n },\n {\n id: '000',\n primary: 'You have been awarded Employee of the Month! Congratulations!',\n secondary: [new Date(2020, 9, 8, 14, 46).toDateString()],\n unread: true\n }\n];\n\nexport const defaultRecents: (DrawerItemProps & ForwardProps)[] = [\n {\n id: '123',\n primary: \"BUG-12345: 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]\n },\n {\n id: '456',\n primary: \"BUG-54321: 'Text variant h1 renders as h3 in DOM'.\"\n },\n {\n id: '789',\n primary:\n \"BUG-00000: 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]\n },\n {\n id: '111',\n primary: \"BUG-12345: 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]\n },\n {\n id: '222',\n primary: \"BUG-54321: 'Text variant h1 renders as h3 in DOM'.\"\n },\n {\n id: '333',\n primary:\n \"BUG-00000: 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]\n },\n {\n id: '444',\n primary: \"BUG-12345: 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]\n },\n {\n id: '555',\n primary: \"BUG-54321: 'Text variant h1 renders as h3 in DOM'.\"\n },\n {\n id: '666',\n primary:\n \"BUG-00000: 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]\n }\n];\n\nexport const defaultMainContent = (\n <Flex container={{ justify: 'center', alignItems: 'center' }} as={StyledMainContent}>\n <Card>\n <CardContent>\n <Text variant='h1'>This is the main content</Text>\n </CardContent>\n </Card>\n </Flex>\n);\n\nexport const operatorData = {\n avatar: <Avatar name='Cindy Turner' />,\n actions: [\n { primary: 'Profile', id: 'profile' },\n { primary: 'Settings', id: 'settings' },\n { primary: 'My applications', id: 'apps' },\n { primary: 'Help center', id: 'help' },\n { primary: 'Log out', id: 'logout' }\n ],\n name: 'Cindy Turner'\n};\n"]}
1
+ {"version":3,"file":"AppShell.mocks.jsx","sourceRoot":"","sources":["../../../src/core/AppShell/AppShell.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EACN,IAAI,EACJ,WAAW,EAEX,IAAI,EAEJ,IAAI,EACL,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,CAAC,MAAM,YAAY,GAA2B;IAClD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,cAAc;KACrB;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,OAAO;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EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,EAAE,CAAC;KACrE;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,iBAAiB,CAAC,CAClF;IAAA,CAAC,IAAI,CACH;MAAA,CAAC,WAAW,CACV;QAAA,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,IAAI,CACnD;MAAA,EAAE,WAAW,CACf;IAAA,EAAE,IAAI,CACR;EAAA,EAAE,IAAI,CAAC,CACR,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,EAAG;IACtC,OAAO,EAAE;QACP,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE;QACrC,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE;QACvC,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAAE,EAAE,MAAM,EAAE;QAC1C,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,EAAE;QACtC,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE;KACrC;IACD,IAAI,EAAE,cAAc;CACrB,CAAC","sourcesContent":["import {\n AppShellProps,\n Avatar,\n Card,\n CardContent,\n DrawerItemProps,\n Flex,\n ForwardProps,\n Text\n} from '@pega/cosmos-react-core';\n\nimport { StyledMainContent } from './AppShell.styles';\n\nexport const defaultLinks: AppShellProps['links'] = [\n {\n id: '01',\n name: 'Home',\n href: '#home',\n icon: 'home-solid',\n active: true\n },\n {\n id: '02',\n name: 'My Dashboard',\n href: '#dashboard',\n icon: 'gauge-solid'\n },\n {\n id: '03',\n name: 'Spaces',\n href: '#spaces',\n icon: 'social-solid'\n },\n {\n id: '04',\n name: 'Bugs',\n href: '#bugs',\n icon: 'users-solid'\n },\n {\n id: '05',\n name: 'Epics',\n href: '#epics',\n icon: 'book-solid'\n },\n {\n id: '06',\n name: 'Goals',\n href: '#goals',\n icon: 'analytics-good'\n }\n];\n\nexport const defaultNotifications: (DrawerItemProps & ForwardProps)[] = [\n {\n id: '123',\n primary:\n \"Dean Thomas mentioned your team in a bug 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()],\n visual: <Avatar name='Dean Thomas' />,\n unread: true\n },\n {\n id: '456',\n primary: \"Seth DeAngelo mentioned your team in a bug 'Text variant h1 renders as h3 in DOM'.\",\n visual: <Avatar name='Seth DeAngelo' />,\n unread: true\n },\n {\n id: '789',\n primary:\n \"Janet Moore mentioned your team in a bug 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-12345', new Date(2020, 9, 2, 9, 22).toDateString()],\n visual: <Avatar name='Janet Moore' />,\n unread: true\n },\n {\n id: '000',\n primary: 'You have been awarded Employee of the Month! Congratulations!',\n secondary: [new Date(2020, 9, 8, 14, 46).toDateString()],\n unread: true\n }\n];\n\nexport const defaultRecents: (DrawerItemProps & ForwardProps)[] = [\n {\n id: '123',\n primary: \"BUG-12345: 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]\n },\n {\n id: '456',\n primary: \"BUG-54321: 'Text variant h1 renders as h3 in DOM'.\"\n },\n {\n id: '789',\n primary:\n \"BUG-00000: 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]\n },\n {\n id: '111',\n primary: \"BUG-12345: 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]\n },\n {\n id: '222',\n primary: \"BUG-54321: 'Text variant h1 renders as h3 in DOM'.\"\n },\n {\n id: '333',\n primary:\n \"BUG-00000: 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]\n },\n {\n id: '444',\n primary: \"BUG-12345: 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]\n },\n {\n id: '555',\n primary: \"BUG-54321: 'Text variant h1 renders as h3 in DOM'.\"\n },\n {\n id: '666',\n primary:\n \"BUG-00000: 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]\n }\n];\n\nexport const defaultMainContent = (\n <Flex container={{ justify: 'center', alignItems: 'center' }} as={StyledMainContent}>\n <Card>\n <CardContent>\n <Text variant='h1'>This is the main content</Text>\n </CardContent>\n </Card>\n </Flex>\n);\n\nexport const operatorData = {\n avatar: <Avatar name='Cindy Turner' />,\n actions: [\n { primary: 'Profile', id: 'profile' },\n { primary: 'Settings', id: 'settings' },\n { primary: 'My applications', id: 'apps' },\n { primary: 'Help center', id: 'help' },\n { primary: 'Log out', id: 'logout' }\n ],\n name: 'Cindy Turner'\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { AppShellProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta<import("@storybook/react").Args>;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { AppShellProps } from '@pega/cosmos-react-core';
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
4
  export default _default;
5
5
  interface AppShellStoryProps {
6
6
  main?: AppShellProps['main'];
@@ -23,8 +23,6 @@ interface AppShellStoryProps {
23
23
  withSearch?: boolean;
24
24
  appHeader?: AppShellProps['appHeader'];
25
25
  progress?: AppShellProps['progress'];
26
- environmentName?: string;
27
- environmentColor?: string;
28
26
  notificationsEmpty?: boolean;
29
27
  notificationsLoading?: boolean;
30
28
  casesTypesEmpty?: boolean;
@@ -32,10 +30,10 @@ interface AppShellStoryProps {
32
30
  recentsLoading?: boolean;
33
31
  pinsLoading?: boolean;
34
32
  }
35
- export declare const AppShellDemo: Story<AppShellStoryProps>;
33
+ export declare const AppShellDemo: StoryFn<AppShellStoryProps>;
36
34
  interface ConfigurableAppShellProps {
37
35
  navColor?: string;
38
36
  headerColor?: string;
39
37
  }
40
- export declare const ConfigurableAppShell: Story<ConfigurableAppShellProps>;
38
+ export declare const ConfigurableAppShell: StoryFn<ConfigurableAppShellProps>;
41
39
  //# sourceMappingURL=AppShell.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppShell.stories.d.ts","sourceRoot":"","sources":["../../../src/core/AppShell/AppShell.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAEL,aAAa,EAsBd,MAAM,yBAAyB,CAAC;;AAgBjC,wBAOU;AAEV,UAAU,kBAAkB;IAE1B,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACnC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAG9B,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,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,kBAAkB,CAgPpD,CAAC;AAsCF,UAAU,yBAAyB;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,yBAAyB,CAqBnE,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import { useState, useMemo, useRef } from 'react';
2
- import { AppShell, AppShellList, Button, DateInput, Grid, Icon, registerIcon, Input, Select, Option, Modal, TextArea, useModalManager, useToaster, useAfterInitialEffect, useModalContext, windowIsAvailable, Configuration } from '@pega/cosmos-react-core';
2
+ import { AppShell, AppShellList, Icon, registerIcon, useModalManager, useAfterInitialEffect, windowIsAvailable, Configuration, menuHelpers } from '@pega/cosmos-react-core';
3
3
  import * as bellSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/bell-solid.icon';
4
4
  import * as clockSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/clock-solid.icon';
5
5
  import { recentSearches, searchResults } from '../SearchInput/SearchInput.mocks';
6
+ import { MultiStepModal } from '../MultiStepForm/MultiStepForm.mocks';
6
7
  import { defaultLinks, defaultMainContent, defaultNotifications, defaultRecents, operatorData } from './AppShell.mocks';
7
8
  registerIcon(bellSolidIcon, clockSolidIcon);
8
9
  export default {
@@ -14,49 +15,7 @@ export default {
14
15
  }
15
16
  };
16
17
  export const AppShellDemo = (args) => {
17
- const CreateCaseModal = ({ caseType }) => {
18
- const { dismiss } = useModalContext();
19
- const { push: pushToaster } = useToaster();
20
- return (<Modal as='form' heading={`New ${caseType}`} actions={<>
21
- <Button onClick={dismiss}>Cancel</Button>
22
- <Button variant='primary' type='submit' onClick={(e) => {
23
- e.preventDefault();
24
- dismiss();
25
- pushToaster({ content: `${caseType} requested` });
26
- }}>
27
- Request
28
- </Button>
29
- </>}>
30
- <Grid container={{ rowGap: 2 }}>
31
- <DateInput label='Date Requested' info={null}/>
32
- <Select label='Department'>
33
- <Option value=''>Select…</Option>
34
- <Option value='Fire'>Fire</Option>
35
- <Option value='Facilities'>Facilities</Option>
36
- <Option value='Parks'>Parks</Option>
37
- <Option value='Sanitation'>Sanitation</Option>
38
- <Option value='Parking &amp; Traffic'>Parking &amp; Traffic</Option>
39
- <Option value='Police'>Police</Option>
40
- <Option value='Courts'>Courts</Option>
41
- <Option value='Healthcare'>Healthcare</Option>
42
- <Option value='Energy'>Energy</Option>
43
- <Option value='Justice department'>Justice department</Option>
44
- <Option value='Environmental'>Environmental</Option>
45
- </Select>
46
- <TextArea label='Purpose of Purchase'/>
47
- <Select label='Desired Make'>
48
- <Option value=''>Select...</Option>
49
- <Option value='Ford'>Ford</Option>
50
- <Option value='Dodge'>Dodge</Option>
51
- <Option value='Toyota'>Toyota</Option>
52
- <Option value='Tesla'>Tesla</Option>
53
- </Select>
54
- <Input label='Desired Make'/>
55
- <Input type='number' min='2016' max='2021' label='Year' info='Must be within last 5 years'/>
56
- <Input type='number' min='0.01' step='0.01' max='50000' label='Estimated Cost' info='May not exceed $50,000.00'/>
57
- </Grid>
58
- </Modal>);
59
- };
18
+ const [activeAppName, setActiveAppName] = useState(args.appName || 'UI Audit');
60
19
  const caseLinks = args.caseLinks || defaultLinks;
61
20
  const showSearch = args.withSearch !== undefined ? args.withSearch : true;
62
21
  const { create: createModal } = useModalManager();
@@ -81,8 +40,7 @@ export const AppShellDemo = (args) => {
81
40
  return prevLinks.map(prevLink => {
82
41
  return {
83
42
  ...prevLink,
84
- active: prevLink.name === link.name ||
85
- !!prevLink.links?.filter(l => l.name === link.name).length
43
+ active: prevLink.name === link.name
86
44
  };
87
45
  });
88
46
  });
@@ -99,19 +57,15 @@ export const AppShellDemo = (args) => {
99
57
  return addHandlersToLinks(links);
100
58
  }, [links]);
101
59
  const defaultCreateLinks = [
102
- 'Vehicle Purchase',
103
- 'Vehicle Sale',
104
- 'Loan Refinance',
105
- 'Service Request',
106
- 'Trade In',
107
- 'Auction Invoice',
108
- 'Lender Approval',
109
- 'Inventory Audit',
110
- 'Sales Performance'
60
+ 'Data Analyst interview',
61
+ 'Designer interview',
62
+ 'Product Manager interview',
63
+ 'Sales Representative interview',
64
+ 'Software Engineer interview'
111
65
  ].map(name => ({
112
66
  name,
113
67
  onClick: () => {
114
- createModal(CreateCaseModal, { caseType: name });
68
+ createModal(MultiStepModal, { heading: name, stepIndicator: 'horizontal' });
115
69
  }
116
70
  }));
117
71
  const handleNotificationClick = (passedId) => {
@@ -182,6 +136,20 @@ export const AppShellDemo = (args) => {
182
136
  emptyText: 'No recents'
183
137
  }
184
138
  ];
139
+ const [contexts, setContexts] = useState([
140
+ {
141
+ id: '1',
142
+ primary: activeAppName,
143
+ selected: true,
144
+ visual: <Icon name='app'/>
145
+ },
146
+ {
147
+ id: '2',
148
+ primary: 'BI Warehouse',
149
+ selected: false,
150
+ visual: <Icon name='cloud'/>
151
+ }
152
+ ]);
185
153
  const newNotificationCountTimerRef = useRef(NaN);
186
154
  const defaultUtils = [
187
155
  {
@@ -207,14 +175,21 @@ export const AppShellDemo = (args) => {
207
175
  drawerView: <AppShellList listView={recentViewItems}/>
208
176
  }
209
177
  ];
210
- return (<AppShell appInfo={args.appInfo || {
178
+ return (<AppShell contextSwitcher={{
179
+ contexts,
180
+ onContextClick: (id) => {
181
+ setActiveAppName(menuHelpers.getItem(contexts, id).primary);
182
+ setContexts(cur => cur.map(ctx => {
183
+ return { ...ctx, selected: id === ctx.id };
184
+ }));
185
+ }
186
+ }} appInfo={args.appInfo || {
211
187
  href: args.href || 'https://www.pega.com/',
212
- imageSrc: args.imageSrc ||
213
- 'https://pbs.twimg.com/profile_images/1531984159698198531/bEniqFN1_bigger.jpg',
188
+ imageSrc: args.imageSrc || './pega_logo_vertical_white.svg',
214
189
  fullImageSrc: args.fullImageSrc ||
215
190
  'https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg',
216
- appName: args.appName || 'Cosmos AppShell',
217
- portalName: args.portalName || 'Demo',
191
+ appName: activeAppName,
192
+ portalName: args.portalName || 'Scrum',
218
193
  appNameHidden: args.appNameHidden
219
194
  }} searchInput={showSearch
220
195
  ? {
@@ -228,25 +203,18 @@ export const AppShellDemo = (args) => {
228
203
  filters: ['Story', 'Bug'],
229
204
  advancedSearchLink: { href: '/' }
230
205
  }
231
- : undefined} appHeader={args.appHeader} searchPage={args.searchPage} caseTypes={args.casesTypesEmpty ? [] : args.createLinks || defaultCreateLinks} links={linksWithHandlers} main={args.main || defaultMainContent} progress={args.progress || progress} cases={args.cases} banners={args.banners} operator={operatorData} utils={args.utils || defaultUtils} environment={args.environmentName
232
- ? {
233
- name: args.environmentName,
234
- color: args.environmentColor
235
- }
236
- : undefined} collapsedHoverMenus={args.collapsedHoverMenus}/>);
206
+ : undefined} appHeader={args.appHeader} searchPage={args.searchPage} caseTypes={args.casesTypesEmpty ? [] : args.createLinks || defaultCreateLinks} links={linksWithHandlers} main={args.main || defaultMainContent} progress={args.progress || progress} cases={args.cases} banners={args.banners} operator={operatorData} utils={args.utils || defaultUtils} collapsedHoverMenus={args.collapsedHoverMenus}/>);
237
207
  };
238
208
  AppShellDemo.args = {
239
- appName: 'Cosmos AppShell',
209
+ appName: 'UI Audit',
240
210
  appNameHidden: false,
241
- portalName: 'Demo',
211
+ portalName: 'Scrum',
242
212
  href: 'https://www.pega.com/',
243
- imageSrc: 'https://pbs.twimg.com/profile_images/1410341211978752004/pLYjGIa8_bigger.jpg',
213
+ imageSrc: './pega_logo_vertical_white.svg',
244
214
  fullImageSrc: 'https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg',
245
215
  withSearch: true,
246
216
  appHeader: true,
247
217
  progress: false,
248
- environmentName: 'dev',
249
- environmentColor: '#FFDBDE',
250
218
  notificationsEmpty: false,
251
219
  notificationsLoading: false,
252
220
  casesTypesEmpty: false,
@@ -264,8 +232,6 @@ AppShellDemo.argTypes = {
264
232
  withSearch: { control: { type: 'boolean' } },
265
233
  appHeader: { control: { type: 'boolean' } },
266
234
  progress: { control: { type: 'boolean' } },
267
- environmentName: { control: { type: 'text' } },
268
- environmentColor: { control: { type: 'color' } },
269
235
  notificationsEmpty: { control: { type: 'boolean' } },
270
236
  notificationsLoading: { control: { type: 'boolean' } },
271
237
  casesTypesEmpty: { control: { type: 'boolean' } },
@@ -1 +1 @@
1
- {"version":3,"file":"AppShell.stories.jsx","sourceRoot":"","sources":["../../../src/core/AppShell/AppShell.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAyB,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEzE,OAAO,EACL,QAAQ,EAER,YAAY,EAEZ,MAAM,EACN,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,QAAQ,EACR,eAAe,EACf,UAAU,EAEV,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,aAAa,EAGd,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,aAAa,MAAM,mEAAmE,CAAC;AACnG,OAAO,KAAK,cAAc,MAAM,oEAAoE,CAAC;AAErG,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEjF,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,YAAY,EACb,MAAM,kBAAkB,CAAC;AAE1B,YAAY,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC;AAE5C,eAAe;IACb,KAAK,EAAE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Aa,CACZ,KAAK,CAAC,CAAC;YACL,UAAU,EAAE;gBACV,WAAW,EAAE;oBACX,GAAG,EAAE;wBACH,kBAAkB,EAAE,IAAI,CAAC,QAAQ;qBAClC;oBACD,MAAM,EAAE;wBACN,kBAAkB,EAAE,IAAI,CAAC,WAAW;qBACrC;iBACF;aACF;SACF,CAAC,CAEF;MAAA,CAAC,YAAY,CAAC,SAAS,EACzB;IAAA,EAAE,aAAa,CAAC,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,oBAAoB,CAAC,IAAI,GAAG;IAC1B,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,SAAS;CACvB,CAAC;AAEF,oBAAoB,CAAC,QAAQ,GAAG;IAC9B,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACxC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;CAC5C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { MouseEvent, FormEvent, useState, useMemo, useRef } from 'react';\n\nimport {\n AppShell,\n AppShellProps,\n AppShellList,\n DrawerItemProps,\n Button,\n DateInput,\n Grid,\n Icon,\n registerIcon,\n Input,\n Select,\n Option,\n Modal,\n TextArea,\n useModalManager,\n useToaster,\n ForwardProps,\n useAfterInitialEffect,\n useModalContext,\n windowIsAvailable,\n Configuration,\n SearchInputProps,\n ProgressProps\n} from '@pega/cosmos-react-core';\nimport * as bellSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/bell-solid.icon';\nimport * as clockSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/clock-solid.icon';\n\nimport { recentSearches, searchResults } from '../SearchInput/SearchInput.mocks';\n\nimport {\n defaultLinks,\n defaultMainContent,\n defaultNotifications,\n defaultRecents,\n operatorData\n} from './AppShell.mocks';\n\nregisterIcon(bellSolidIcon, clockSolidIcon);\n\nexport default {\n title: 'Core/App Shell',\n component: AppShell,\n excludeStories: ['ConfigurableAppShell'],\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ninterface AppShellStoryProps {\n /** Demo props */\n main?: AppShellProps['main'];\n appInfo?: AppShellProps['appInfo'];\n searchPage?: AppShellProps['searchPage'];\n banners?: AppShellProps['banners'];\n cases?: AppShellProps['cases'];\n caseLinks?: AppShellProps['links'];\n createLinks?: any[];\n recentItems?: any[];\n utils?: AppShellProps['utils'];\n onLinkClick?: (name: string) => void;\n collapsedHoverMenus?: boolean;\n\n /** Storybook controls */\n appName?: AppShellProps['appInfo']['appName'];\n appNameHidden?: AppShellProps['appInfo']['appNameHidden'];\n portalName?: AppShellProps['appInfo']['portalName'];\n href?: AppShellProps['appInfo']['href'];\n imageSrc?: AppShellProps['appInfo']['imageSrc'];\n fullImageSrc?: AppShellProps['appInfo']['fullImageSrc'];\n withSearch?: boolean;\n appHeader?: AppShellProps['appHeader'];\n progress?: AppShellProps['progress'];\n environmentName?: string;\n environmentColor?: string;\n notificationsEmpty?: boolean;\n notificationsLoading?: boolean;\n casesTypesEmpty?: boolean;\n recentsEmpty?: boolean;\n recentsLoading?: boolean;\n pinsLoading?: boolean;\n}\n\nexport const AppShellDemo: Story<AppShellStoryProps> = (args: AppShellStoryProps) => {\n const CreateCaseModal = ({ caseType }: { caseType: string }) => {\n const { dismiss } = useModalContext();\n const { push: pushToaster } = useToaster();\n\n return (\n <Modal\n as='form'\n heading={`New ${caseType}`}\n actions={\n <>\n <Button onClick={dismiss}>Cancel</Button>\n <Button\n variant='primary'\n type='submit'\n onClick={(e: FormEvent) => {\n e.preventDefault();\n dismiss();\n pushToaster({ content: `${caseType} requested` });\n }}\n >\n Request\n </Button>\n </>\n }\n >\n <Grid container={{ rowGap: 2 }}>\n <DateInput label='Date Requested' info={null} />\n <Select label='Department'>\n <Option value=''>Select…</Option>\n <Option value='Fire'>Fire</Option>\n <Option value='Facilities'>Facilities</Option>\n <Option value='Parks'>Parks</Option>\n <Option value='Sanitation'>Sanitation</Option>\n <Option value='Parking &amp; Traffic'>Parking &amp; Traffic</Option>\n <Option value='Police'>Police</Option>\n <Option value='Courts'>Courts</Option>\n <Option value='Healthcare'>Healthcare</Option>\n <Option value='Energy'>Energy</Option>\n <Option value='Justice department'>Justice department</Option>\n <Option value='Environmental'>Environmental</Option>\n </Select>\n <TextArea label='Purpose of Purchase' />\n <Select label='Desired Make'>\n <Option value=''>Select...</Option>\n <Option value='Ford'>Ford</Option>\n <Option value='Dodge'>Dodge</Option>\n <Option value='Toyota'>Toyota</Option>\n <Option value='Tesla'>Tesla</Option>\n </Select>\n <Input label='Desired Make' />\n <Input\n type='number'\n min='2016'\n max='2021'\n label='Year'\n info='Must be within last 5 years'\n />\n <Input\n type='number'\n min='0.01'\n step='0.01'\n max='50000'\n label='Estimated Cost'\n info='May not exceed $50,000.00'\n />\n </Grid>\n </Modal>\n );\n };\n\n const caseLinks = args.caseLinks || defaultLinks;\n const showSearch = args.withSearch !== undefined ? args.withSearch : true;\n\n const { create: createModal } = useModalManager();\n const [links, setLinks] = useState<AppShellProps['links']>(caseLinks);\n const [notifications, setNotifications] =\n useState<(DrawerItemProps & ForwardProps)[]>(defaultNotifications);\n const [recents, setRecents] = useState<(DrawerItemProps & ForwardProps)[]>(\n args.recentItems || defaultRecents\n );\n const [numNewNotifications, setNumNewNotifications] = useState(\n notifications.filter(x => x.unread).length\n );\n const [searchVal, setSearchVal] = useState('');\n const [searchLoading, setSearchLoading] = useState(false);\n const [results, setResults] = useState<SearchInputProps['searchResults']>([]);\n const [searchTimeout, setSearchTimeout] = useState<number | null>();\n const [progress, setProgress] = useState<ProgressProps['message']>('');\n\n useAfterInitialEffect(() => {\n setLinks(caseLinks);\n }, [caseLinks]);\n\n const addHandlersToLinks = (appShellLinks: AppShellProps['links']): AppShellProps['links'] => {\n return (appShellLinks || []).map(link => ({\n ...link,\n onClick(e: MouseEvent<HTMLAnchorElement>) {\n e.preventDefault();\n setLinks((prevLinks = []) => {\n return prevLinks.map(prevLink => {\n return {\n ...prevLink,\n active:\n prevLink.name === link.name ||\n !!prevLink.links?.filter(l => l.name === link.name).length\n };\n });\n });\n\n setProgress(`${link.name} loading...`);\n setTimeout(() => {\n args.onLinkClick?.(link.name);\n setProgress('');\n }, 1000);\n },\n links: link.links ? addHandlersToLinks(link.links) : undefined\n }));\n };\n\n const linksWithHandlers = useMemo<AppShellProps['links']>(() => {\n return addHandlersToLinks(links);\n }, [links]);\n\n const defaultCreateLinks = [\n 'Vehicle Purchase',\n 'Vehicle Sale',\n 'Loan Refinance',\n 'Service Request',\n 'Trade In',\n 'Auction Invoice',\n 'Lender Approval',\n 'Inventory Audit',\n 'Sales Performance'\n ].map(name => ({\n name,\n onClick: () => {\n createModal(CreateCaseModal, { caseType: name });\n }\n }));\n\n const handleNotificationClick = (passedId: string) => {\n setNotifications(cur =>\n cur.map(({ id, unread, ...item }) => ({\n id,\n unread: passedId === id ? false : unread,\n ...item\n }))\n );\n };\n\n const handlePinToggle = (passedId: string) => {\n setRecents(cur =>\n cur.map(({ id, pinned, ...item }) => ({\n id,\n pinned: passedId === id ? !pinned : pinned,\n ...item\n }))\n );\n };\n\n const onSearch = (val: string) => {\n setSearchVal(val);\n if (searchTimeout) {\n clearTimeout(searchTimeout);\n setSearchTimeout(null);\n }\n setResults([]);\n if (val) {\n setSearchLoading(true);\n const timeout = setTimeout(() => {\n setSearchLoading(false);\n setResults(searchResults.filter(res => res.primary.includes(val)));\n }, 1000);\n setSearchTimeout(timeout as unknown as number);\n }\n };\n\n const notificationViewItems = [\n {\n id: '234',\n items: args.notificationsEmpty ? [] : notifications,\n loading: args.notificationsLoading,\n onItemClick: handleNotificationClick,\n viewAll: {\n href: '#'\n },\n emptyText: 'No notifications'\n }\n ];\n\n const recentViewItems = [\n {\n id: '456',\n items: recents.filter(x => x.pinned),\n loading: args.pinsLoading,\n onItemPinToggle: handlePinToggle,\n viewAll: {\n href: '#'\n },\n displayPins: true,\n headingText: 'Pinned items',\n emptyText: 'No pinned items'\n },\n {\n id: '789',\n items: args.recentsEmpty ? [] : recents,\n loading: args.recentsLoading,\n onItemPinToggle: handlePinToggle,\n viewAll: {\n href: '#'\n },\n displayPins: true,\n headingText: 'Recently viewed',\n emptyText: 'No recents'\n }\n ];\n\n const newNotificationCountTimerRef = useRef(NaN);\n\n const defaultUtils = [\n {\n name: 'Notifications',\n visual: <Icon name='bell-solid' />,\n count: args.notificationsEmpty ? 0 : numNewNotifications,\n drawerView: <AppShellList listView={notificationViewItems} />,\n onDrawerOpen: () => {\n clearInterval(newNotificationCountTimerRef.current);\n setNumNewNotifications(0);\n },\n onDrawerClose: () => {\n if (windowIsAvailable) {\n // Mock new notifications arriving on a minute interval after the drawer closes.\n // Let's face it, you're popular.\n newNotificationCountTimerRef.current = window.setInterval(() => {\n setNumNewNotifications(cur => cur + 2);\n }, 60000);\n }\n }\n },\n {\n name: 'Recents',\n visual: <Icon name='clock-solid' />,\n drawerView: <AppShellList listView={recentViewItems} />\n }\n ];\n\n return (\n <AppShell\n appInfo={\n args.appInfo || {\n href: args.href || 'https://www.pega.com/',\n imageSrc:\n args.imageSrc ||\n 'https://pbs.twimg.com/profile_images/1531984159698198531/bEniqFN1_bigger.jpg',\n fullImageSrc:\n args.fullImageSrc ||\n 'https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg',\n appName: args.appName || 'Cosmos AppShell',\n portalName: args.portalName || 'Demo',\n appNameHidden: args.appNameHidden\n }\n }\n searchInput={\n showSearch\n ? {\n onSearchChange: (value: string) => {\n onSearch(value);\n },\n value: searchVal,\n searchResults: results,\n recentSearches,\n loading: searchLoading,\n filters: ['Story', 'Bug'],\n advancedSearchLink: { href: '/' }\n }\n : undefined\n }\n appHeader={args.appHeader}\n searchPage={args.searchPage}\n caseTypes={args.casesTypesEmpty ? [] : args.createLinks || defaultCreateLinks}\n links={linksWithHandlers}\n main={args.main || defaultMainContent}\n progress={args.progress || progress}\n cases={args.cases}\n banners={args.banners}\n operator={operatorData}\n utils={args.utils || defaultUtils}\n environment={\n args.environmentName\n ? {\n name: args.environmentName,\n color: args.environmentColor\n }\n : undefined\n }\n collapsedHoverMenus={args.collapsedHoverMenus}\n />\n );\n};\n\nAppShellDemo.args = {\n appName: 'Cosmos AppShell',\n appNameHidden: false,\n portalName: 'Demo',\n href: 'https://www.pega.com/',\n imageSrc: 'https://pbs.twimg.com/profile_images/1410341211978752004/pLYjGIa8_bigger.jpg',\n fullImageSrc: 'https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg',\n withSearch: true,\n appHeader: true,\n progress: false,\n environmentName: 'dev',\n environmentColor: '#FFDBDE',\n notificationsEmpty: false,\n notificationsLoading: false,\n casesTypesEmpty: false,\n recentsEmpty: false,\n recentsLoading: false,\n pinsLoading: false\n};\n\nAppShellDemo.argTypes = {\n appName: { control: { type: 'text' } },\n appNameHidden: { control: { type: 'boolean' } },\n portalName: { control: { type: 'text' } },\n href: { control: { type: 'text' } },\n imageSrc: { control: { type: 'text' } },\n fullImageSrc: { control: { type: 'text' } },\n withSearch: { control: { type: 'boolean' } },\n appHeader: { control: { type: 'boolean' } },\n progress: { control: { type: 'boolean' } },\n environmentName: { control: { type: 'text' } },\n environmentColor: { control: { type: 'color' } },\n notificationsEmpty: { control: { type: 'boolean' } },\n notificationsLoading: { control: { type: 'boolean' } },\n casesTypesEmpty: { control: { type: 'boolean' } },\n recentsEmpty: { control: { type: 'boolean' } },\n recentsLoading: { control: { type: 'boolean' } },\n pinsLoading: { control: { type: 'boolean' } }\n};\n\ninterface ConfigurableAppShellProps {\n navColor?: string;\n headerColor?: string;\n}\n\nexport const ConfigurableAppShell: Story<ConfigurableAppShellProps> = (\n args: ConfigurableAppShellProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n 'app-shell': {\n nav: {\n 'background-color': args.navColor\n },\n header: {\n 'background-color': args.headerColor\n }\n }\n }\n }}\n >\n <AppShellDemo appHeader />\n </Configuration>\n );\n};\n\nConfigurableAppShell.args = {\n navColor: '#252c32',\n headerColor: '#e2f1ff'\n};\n\nConfigurableAppShell.argTypes = {\n navColor: { control: { type: 'color' } },\n headerColor: { control: { type: 'color' } }\n};\n"]}
1
+ {"version":3,"file":"AppShell.stories.jsx","sourceRoot":"","sources":["../../../src/core/AppShell/AppShell.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,IAAI,EACJ,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,WAAW,EACZ,MAAM,yBAAyB,CAAC;AASjC,OAAO,KAAK,aAAa,MAAM,mEAAmE,CAAC;AACnG,OAAO,KAAK,cAAc,MAAM,oEAAoE,CAAC;AAErG,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAEtE,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,YAAY,EACb,MAAM,kBAAkB,CAAC;AAE1B,YAAY,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC;AAE5C,eAAe;IACb,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,QAAQ;IACnB,cAAc,EAAE,CAAC,sBAAsB,CAAC;IACxC,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACM,CAAC;AAkCV,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,IAAwB,EAAE,EAAE;IACpF,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,IAAI,UAAU,CAAC,CAAC;IAC/E,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,YAAY,CAAC;IACjD,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC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,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACxC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;CAC5C,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useState, useMemo, useRef } from 'react';\nimport type { MouseEvent } from 'react';\n\nimport {\n AppShell,\n AppShellList,\n Icon,\n registerIcon,\n useModalManager,\n useAfterInitialEffect,\n windowIsAvailable,\n Configuration,\n menuHelpers\n} from '@pega/cosmos-react-core';\nimport type {\n AppShellProps,\n ContextSwitcherProps,\n ForwardProps,\n DrawerItemProps,\n SearchInputProps,\n ProgressProps\n} from '@pega/cosmos-react-core';\nimport * as bellSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/bell-solid.icon';\nimport * as clockSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/clock-solid.icon';\n\nimport { recentSearches, searchResults } from '../SearchInput/SearchInput.mocks';\nimport { MultiStepModal } from '../MultiStepForm/MultiStepForm.mocks';\n\nimport {\n defaultLinks,\n defaultMainContent,\n defaultNotifications,\n defaultRecents,\n operatorData\n} from './AppShell.mocks';\n\nregisterIcon(bellSolidIcon, clockSolidIcon);\n\nexport default {\n title: 'Core/App Shell',\n component: AppShell,\n excludeStories: ['ConfigurableAppShell'],\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ninterface AppShellStoryProps {\n /** Demo props */\n main?: AppShellProps['main'];\n appInfo?: AppShellProps['appInfo'];\n searchPage?: AppShellProps['searchPage'];\n banners?: AppShellProps['banners'];\n cases?: AppShellProps['cases'];\n caseLinks?: AppShellProps['links'];\n createLinks?: any[];\n recentItems?: any[];\n utils?: AppShellProps['utils'];\n onLinkClick?: (name: string) => void;\n collapsedHoverMenus?: boolean;\n\n /** Storybook controls */\n appName?: AppShellProps['appInfo']['appName'];\n appNameHidden?: AppShellProps['appInfo']['appNameHidden'];\n portalName?: AppShellProps['appInfo']['portalName'];\n href?: AppShellProps['appInfo']['href'];\n imageSrc?: AppShellProps['appInfo']['imageSrc'];\n fullImageSrc?: AppShellProps['appInfo']['fullImageSrc'];\n withSearch?: boolean;\n appHeader?: AppShellProps['appHeader'];\n progress?: AppShellProps['progress'];\n notificationsEmpty?: boolean;\n notificationsLoading?: boolean;\n casesTypesEmpty?: boolean;\n recentsEmpty?: boolean;\n recentsLoading?: boolean;\n pinsLoading?: boolean;\n}\n\nexport const AppShellDemo: StoryFn<AppShellStoryProps> = (args: AppShellStoryProps) => {\n const [activeAppName, setActiveAppName] = useState(args.appName || 'UI Audit');\n const caseLinks = args.caseLinks || defaultLinks;\n const showSearch = args.withSearch !== undefined ? args.withSearch : true;\n\n const { create: createModal } = useModalManager();\n const [links, setLinks] = useState<AppShellProps['links']>(caseLinks);\n const [notifications, setNotifications] =\n useState<(DrawerItemProps & ForwardProps)[]>(defaultNotifications);\n const [recents, setRecents] = useState<(DrawerItemProps & ForwardProps)[]>(\n args.recentItems || defaultRecents\n );\n const [numNewNotifications, setNumNewNotifications] = useState(\n notifications.filter(x => x.unread).length\n );\n const [searchVal, setSearchVal] = useState('');\n const [searchLoading, setSearchLoading] = useState(false);\n const [results, setResults] = useState<SearchInputProps['searchResults']>([]);\n const [searchTimeout, setSearchTimeout] = useState<number | null>();\n const [progress, setProgress] = useState<ProgressProps['message']>('');\n\n useAfterInitialEffect(() => {\n setLinks(caseLinks);\n }, [caseLinks]);\n\n const addHandlersToLinks = (appShellLinks: AppShellProps['links']): AppShellProps['links'] => {\n return (appShellLinks || []).map(link => ({\n ...link,\n onClick(e: MouseEvent<HTMLAnchorElement>) {\n e.preventDefault();\n setLinks((prevLinks = []) => {\n return prevLinks.map(prevLink => {\n return {\n ...prevLink,\n active: prevLink.name === link.name\n };\n });\n });\n\n setProgress(`${link.name} loading...`);\n setTimeout(() => {\n args.onLinkClick?.(link.name);\n setProgress('');\n }, 1000);\n },\n links: link.links ? addHandlersToLinks(link.links) : undefined\n }));\n };\n\n const linksWithHandlers = useMemo<AppShellProps['links']>(() => {\n return addHandlersToLinks(links);\n }, [links]);\n\n const defaultCreateLinks = [\n 'Data Analyst interview',\n 'Designer interview',\n 'Product Manager interview',\n 'Sales Representative interview',\n 'Software Engineer interview'\n ].map(name => ({\n name,\n onClick: () => {\n createModal(MultiStepModal, { heading: name, stepIndicator: 'horizontal' });\n }\n }));\n\n const handleNotificationClick = (passedId: string) => {\n setNotifications(cur =>\n cur.map(({ id, unread, ...item }) => ({\n id,\n unread: passedId === id ? false : unread,\n ...item\n }))\n );\n };\n\n const handlePinToggle = (passedId: string) => {\n setRecents(cur =>\n cur.map(({ id, pinned, ...item }) => ({\n id,\n pinned: passedId === id ? !pinned : pinned,\n ...item\n }))\n );\n };\n\n const onSearch = (val: string) => {\n setSearchVal(val);\n if (searchTimeout) {\n clearTimeout(searchTimeout);\n setSearchTimeout(null);\n }\n setResults([]);\n if (val) {\n setSearchLoading(true);\n const timeout = setTimeout(() => {\n setSearchLoading(false);\n setResults(searchResults.filter(res => res.primary.includes(val)));\n }, 1000);\n setSearchTimeout(timeout as unknown as number);\n }\n };\n\n const notificationViewItems = [\n {\n id: '234',\n items: args.notificationsEmpty ? [] : notifications,\n loading: args.notificationsLoading,\n onItemClick: handleNotificationClick,\n viewAll: {\n href: '#'\n },\n emptyText: 'No notifications'\n }\n ];\n\n const recentViewItems = [\n {\n id: '456',\n items: recents.filter(x => x.pinned),\n loading: args.pinsLoading,\n onItemPinToggle: handlePinToggle,\n viewAll: {\n href: '#'\n },\n displayPins: true,\n headingText: 'Pinned items',\n emptyText: 'No pinned items'\n },\n {\n id: '789',\n items: args.recentsEmpty ? [] : recents,\n loading: args.recentsLoading,\n onItemPinToggle: handlePinToggle,\n viewAll: {\n href: '#'\n },\n displayPins: true,\n headingText: 'Recently viewed',\n emptyText: 'No recents'\n }\n ];\n\n const [contexts, setContexts] = useState<ContextSwitcherProps['contexts']>([\n {\n id: '1',\n primary: activeAppName,\n selected: true,\n visual: <Icon name='app' />\n },\n {\n id: '2',\n primary: 'BI Warehouse',\n selected: false,\n visual: <Icon name='cloud' />\n }\n ]);\n\n const newNotificationCountTimerRef = useRef(NaN);\n\n const defaultUtils = [\n {\n name: 'Notifications',\n visual: <Icon name='bell-solid' />,\n count: args.notificationsEmpty ? 0 : numNewNotifications,\n drawerView: <AppShellList listView={notificationViewItems} />,\n onDrawerOpen: () => {\n clearInterval(newNotificationCountTimerRef.current);\n setNumNewNotifications(0);\n },\n onDrawerClose: () => {\n if (windowIsAvailable) {\n // Mock new notifications arriving on a minute interval after the drawer closes.\n // Let's face it, you're popular.\n newNotificationCountTimerRef.current = window.setInterval(() => {\n setNumNewNotifications(cur => cur + 2);\n }, 60000);\n }\n }\n },\n {\n name: 'Recents',\n visual: <Icon name='clock-solid' />,\n drawerView: <AppShellList listView={recentViewItems} />\n }\n ];\n\n return (\n <AppShell\n contextSwitcher={{\n contexts,\n onContextClick: (id: string) => {\n setActiveAppName(menuHelpers.getItem(contexts, id)!.primary);\n setContexts(cur =>\n cur!.map(ctx => {\n return { ...ctx, selected: id === ctx.id };\n })\n );\n }\n }}\n appInfo={\n args.appInfo || {\n href: args.href || 'https://www.pega.com/',\n imageSrc: args.imageSrc || './pega_logo_vertical_white.svg',\n fullImageSrc:\n args.fullImageSrc ||\n 'https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg',\n appName: activeAppName,\n portalName: args.portalName || 'Scrum',\n appNameHidden: args.appNameHidden\n }\n }\n searchInput={\n showSearch\n ? {\n onSearchChange: (value: string) => {\n onSearch(value);\n },\n value: searchVal,\n searchResults: results,\n recentSearches,\n loading: searchLoading,\n filters: ['Story', 'Bug'],\n advancedSearchLink: { href: '/' }\n }\n : undefined\n }\n appHeader={args.appHeader}\n searchPage={args.searchPage}\n caseTypes={args.casesTypesEmpty ? [] : args.createLinks || defaultCreateLinks}\n links={linksWithHandlers}\n main={args.main || defaultMainContent}\n progress={args.progress || progress}\n cases={args.cases}\n banners={args.banners}\n operator={operatorData}\n utils={args.utils || defaultUtils}\n collapsedHoverMenus={args.collapsedHoverMenus}\n />\n );\n};\n\nAppShellDemo.args = {\n appName: 'UI Audit',\n appNameHidden: false,\n portalName: 'Scrum',\n href: 'https://www.pega.com/',\n imageSrc: './pega_logo_vertical_white.svg',\n fullImageSrc: 'https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg',\n withSearch: true,\n appHeader: true,\n progress: false,\n notificationsEmpty: false,\n notificationsLoading: false,\n casesTypesEmpty: false,\n recentsEmpty: false,\n recentsLoading: false,\n pinsLoading: false\n};\n\nAppShellDemo.argTypes = {\n appName: { control: { type: 'text' } },\n appNameHidden: { control: { type: 'boolean' } },\n portalName: { control: { type: 'text' } },\n href: { control: { type: 'text' } },\n imageSrc: { control: { type: 'text' } },\n fullImageSrc: { control: { type: 'text' } },\n withSearch: { control: { type: 'boolean' } },\n appHeader: { control: { type: 'boolean' } },\n progress: { control: { type: 'boolean' } },\n notificationsEmpty: { control: { type: 'boolean' } },\n notificationsLoading: { control: { type: 'boolean' } },\n casesTypesEmpty: { control: { type: 'boolean' } },\n recentsEmpty: { control: { type: 'boolean' } },\n recentsLoading: { control: { type: 'boolean' } },\n pinsLoading: { control: { type: 'boolean' } }\n};\n\ninterface ConfigurableAppShellProps {\n navColor?: string;\n headerColor?: string;\n}\n\nexport const ConfigurableAppShell: StoryFn<ConfigurableAppShellProps> = (\n args: ConfigurableAppShellProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n 'app-shell': {\n nav: {\n 'background-color': args.navColor\n },\n header: {\n 'background-color': args.headerColor\n }\n }\n }\n }}\n >\n <AppShellDemo appHeader />\n </Configuration>\n );\n};\n\nConfigurableAppShell.args = {\n navColor: '#252c32',\n headerColor: '#e2f1ff'\n};\n\nConfigurableAppShell.argTypes = {\n navColor: { control: { type: 'color' } },\n headerColor: { control: { type: 'color' } }\n};\n"]}
@@ -1,15 +1,15 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { AvatarProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta<import("@storybook/react").Args>;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { AvatarProps } from '@pega/cosmos-react-core';
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
4
  export default _default;
5
- export declare const DefaultAvatar: Story<AvatarProps>;
6
- export declare const TextOnlyAvatar: Story<AvatarProps>;
7
- export declare const TransparentAvatar: Story<AvatarProps>;
8
- export declare const IconAvatar: Story<AvatarProps>;
9
- export declare const StatusAvatar: Story<AvatarProps>;
5
+ export declare const DefaultAvatar: StoryFn<AvatarProps>;
6
+ export declare const TextOnlyAvatar: StoryFn<AvatarProps>;
7
+ export declare const TransparentAvatar: StoryFn<AvatarProps>;
8
+ export declare const IconAvatar: StoryFn<AvatarProps>;
9
+ export declare const StatusAvatar: StoryFn<AvatarProps>;
10
10
  interface ConfigurableAvatarProps extends AvatarProps {
11
11
  backgroundColor?: string;
12
12
  borderRadius?: string;
13
13
  }
14
- export declare const ConfigurableAvatar: Story<ConfigurableAvatarProps>;
14
+ export declare const ConfigurableAvatar: StoryFn<ConfigurableAvatarProps>;
15
15
  //# sourceMappingURL=Avatar.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Avatar/Avatar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAU,WAAW,EAAwB,MAAM,yBAAyB,CAAC;;AAEpF,wBAcU;AAEV,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,WAAW,CAE5C,CAAC;AAWF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,WAAW,CAE7C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,WAAW,CAShD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,WAAW,CAWzC,CAAC;AAcF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,WAAW,CAE3C,CAAC;AAUF,UAAU,uBAAwB,SAAQ,WAAW;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,uBAAuB,CAiB7D,CAAC"}
1
+ {"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Avatar/Avatar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;;AAE3D,wBAcU;AAEV,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,WAAW,CAE9C,CAAC;AAWF,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,WAAW,CAE/C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,WAAW,CASlD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,WAAW,CAW3C,CAAC;AAcF,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,WAAW,CAE7C,CAAC;AAUF,UAAU,uBAAwB,SAAQ,WAAW;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,uBAAuB,CAiB/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.stories.jsx","sourceRoot":"","sources":["../../../src/core/Avatar/Avatar.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAe,aAAa,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEpF,eAAe;IACb,KAAK,EAAE,aAAa;IACpB,SAAS,EAAE,MAAM;IACj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E,EAAE;IACnC,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IAClC,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;CACnC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Avatar, AvatarProps, Configuration, icons } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Avatar',\n component: Avatar,\n excludeStories: ['ConfigurableAvatar'],\n args: {\n shape: 'circle',\n size: 'm',\n name: 'John Doe'\n },\n argTypes: {\n shape: { options: ['circle', 'squircle'], control: { type: 'select' } },\n size: { options: ['s', 'm', 'l', 'xl'], control: { type: 'select' } },\n name: { control: { type: 'text' } }\n }\n} as Meta;\n\nexport const DefaultAvatar: Story<AvatarProps> = (args: AvatarProps) => {\n return <Avatar shape={args.shape} size={args.size} name={args.name} imageSrc={args.imageSrc} />;\n};\n\nDefaultAvatar.args = {\n name: 'Pegasystems',\n imageSrc: 'https://www.pega.com/sites/default/files/media/images/2018-12/Pega.com-og.png'\n};\n\nDefaultAvatar.argTypes = {\n imageSrc: { control: { type: 'text' } }\n};\n\nexport const TextOnlyAvatar: Story<AvatarProps> = (args: AvatarProps) => {\n return <Avatar shape={args.shape} size={args.size} name={args.name} />;\n};\n\nexport const TransparentAvatar: Story<AvatarProps> = (args: AvatarProps) => {\n return (\n <Avatar\n shape={args.shape}\n size={args.size}\n name={args.name}\n imageSrc='https://socialistmodernism.com/wp-content/uploads/2017/07/placeholder-image.png'\n />\n );\n};\n\nexport const IconAvatar: Story<AvatarProps> = (args: AvatarProps) => {\n return (\n <Avatar\n shape={args.shape}\n size={args.size}\n name={args.name}\n icon={args.icon}\n color={args.color}\n backgroundColor={args.backgroundColor}\n />\n );\n};\n\nIconAvatar.args = {\n icon: 'headset',\n color: '#ffffff',\n backgroundColor: '#4c5a67'\n};\n\nIconAvatar.argTypes = {\n icon: { options: icons, control: { type: 'select', icons: true } },\n color: { control: { type: 'color' } },\n backgroundColor: { control: { type: 'color' } }\n};\n\nexport const StatusAvatar: Story<AvatarProps> = (args: AvatarProps) => {\n return <Avatar shape={args.shape} size={args.size} name={args.name} status={args.status} />;\n};\n\nStatusAvatar.args = {\n status: 'active'\n};\n\nStatusAvatar.argTypes = {\n status: { options: ['active', undefined], control: { type: 'select' } }\n};\n\ninterface ConfigurableAvatarProps extends AvatarProps {\n backgroundColor?: string;\n borderRadius?: string;\n}\n\nexport const ConfigurableAvatar: Story<ConfigurableAvatarProps> = (\n args: ConfigurableAvatarProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n avatar: {\n 'background-color': args.backgroundColor,\n 'border-radius': args.borderRadius\n }\n }\n }}\n >\n <Avatar shape='squircle' name='John Doe' />\n </Configuration>\n );\n};\n\nConfigurableAvatar.args = {\n backgroundColor: '#4c5a67',\n borderRadius: '0.5rem'\n};\n\nConfigurableAvatar.argTypes = {\n backgroundColor: { control: { type: 'color' } },\n borderRadius: { control: { type: 'text' } },\n shape: { table: { disable: true } },\n size: { table: { disable: true } },\n name: { table: { disable: true } }\n};\n"]}
1
+ {"version":3,"file":"Avatar.stories.jsx","sourceRoot":"","sources":["../../../src/core/Avatar/Avatar.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGvE,eAAe;IACb,KAAK,EAAE,aAAa;IACpB,SAAS,EAAE,MAAM;IACjB,cAAc,EAAE,CAAC,oBAAoB,CAAC;IACtC,IAAI,EAAE;QACJ,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,UAAU;KACjB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,EAAE,OAAO,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;QACvE,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,G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AM,EAAE,QAAQ;CACjB,CAAC;AAEF,YAAY,CAAC,QAAQ,GAAG;IACtB,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CACxE,CAAC;AAOF,MAAM,CAAC,MAAM,kBAAkB,GAAqC,CAClE,IAA6B,EAC7B,EAAE;IACF,OAAO,CACL,CAAC,aAAa,CACZ,KAAK,CAAC,CAAC;YACL,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,kBAAkB,EAAE,IAAI,CAAC,eAAe;oBACxC,eAAe,EAAE,IAAI,CAAC,YAAY;iBACnC;aACF;SACF,CAAC,CAEF;MAAA,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,EAC1C;IAAA,EAAE,aAAa,CAAC,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAkB,CAAC,IAAI,GAAG;IACxB,eAAe,EAAE,SAAS;IAC1B,YAAY,EAAE,QAAQ;CACvB,CAAC;AAEF,kBAAkB,CAAC,QAAQ,GAAG;IAC5B,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC/C,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC3C,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACnC,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IAClC,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;CACnC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Avatar, Configuration, icons } from '@pega/cosmos-react-core';\nimport type { AvatarProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Avatar',\n component: Avatar,\n excludeStories: ['ConfigurableAvatar'],\n args: {\n shape: 'circle',\n size: 'm',\n name: 'John Doe'\n },\n argTypes: {\n shape: { options: ['circle', 'squircle'], control: { type: 'select' } },\n size: { options: ['s', 'm', 'l', 'xl'], control: { type: 'select' } },\n name: { control: { type: 'text' } }\n }\n} as Meta;\n\nexport const DefaultAvatar: StoryFn<AvatarProps> = (args: AvatarProps) => {\n return <Avatar shape={args.shape} size={args.size} name={args.name} imageSrc={args.imageSrc} />;\n};\n\nDefaultAvatar.args = {\n name: 'Pegasystems',\n imageSrc: 'https://www.pega.com/sites/default/files/media/images/2018-12/Pega.com-og.png'\n};\n\nDefaultAvatar.argTypes = {\n imageSrc: { control: { type: 'text' } }\n};\n\nexport const TextOnlyAvatar: StoryFn<AvatarProps> = (args: AvatarProps) => {\n return <Avatar shape={args.shape} size={args.size} name={args.name} />;\n};\n\nexport const TransparentAvatar: StoryFn<AvatarProps> = (args: AvatarProps) => {\n return (\n <Avatar\n shape={args.shape}\n size={args.size}\n name={args.name}\n imageSrc='https://socialistmodernism.com/wp-content/uploads/2017/07/placeholder-image.png'\n />\n );\n};\n\nexport const IconAvatar: StoryFn<AvatarProps> = (args: AvatarProps) => {\n return (\n <Avatar\n shape={args.shape}\n size={args.size}\n name={args.name}\n icon={args.icon}\n color={args.color}\n backgroundColor={args.backgroundColor}\n />\n );\n};\n\nIconAvatar.args = {\n icon: 'headset',\n color: '#ffffff',\n backgroundColor: '#4c5a67'\n};\n\nIconAvatar.argTypes = {\n icon: { options: icons, control: { type: 'select', icons: true } },\n color: { control: { type: 'color' } },\n backgroundColor: { control: { type: 'color' } }\n};\n\nexport const StatusAvatar: StoryFn<AvatarProps> = (args: AvatarProps) => {\n return <Avatar shape={args.shape} size={args.size} name={args.name} status={args.status} />;\n};\n\nStatusAvatar.args = {\n status: 'active'\n};\n\nStatusAvatar.argTypes = {\n status: { options: ['active', undefined], control: { type: 'select' } }\n};\n\ninterface ConfigurableAvatarProps extends AvatarProps {\n backgroundColor?: string;\n borderRadius?: string;\n}\n\nexport const ConfigurableAvatar: StoryFn<ConfigurableAvatarProps> = (\n args: ConfigurableAvatarProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n avatar: {\n 'background-color': args.backgroundColor,\n 'border-radius': args.borderRadius\n }\n }\n }}\n >\n <Avatar shape='squircle' name='John Doe' />\n </Configuration>\n );\n};\n\nConfigurableAvatar.args = {\n backgroundColor: '#4c5a67',\n borderRadius: '0.5rem'\n};\n\nConfigurableAvatar.argTypes = {\n backgroundColor: { control: { type: 'color' } },\n borderRadius: { control: { type: 'text' } },\n shape: { table: { disable: true } },\n size: { table: { disable: true } },\n name: { table: { disable: true } }\n};\n"]}
@@ -1,7 +1,7 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { BackdropProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta<import("@storybook/react").Args>;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { BackdropProps } from '@pega/cosmos-react-core';
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
4
  export default _default;
5
- export declare const BackdropDemo: Story<BackdropProps>;
6
- export declare const DismissibleBackdropDemo: Story<BackdropProps>;
5
+ export declare const BackdropDemo: StoryFn<BackdropProps>;
6
+ export declare const DismissibleBackdropDemo: StoryFn<BackdropProps>;
7
7
  //# sourceMappingURL=Backdrop.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Backdrop.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Backdrop/Backdrop.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAAY,aAAa,EAAmC,MAAM,yBAAyB,CAAC;;AAEnG,wBAaU;AAEV,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,aAAa,CAmB7C,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,aAAa,CAsBxD,CAAC"}
1
+ {"version":3,"file":"Backdrop.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Backdrop/Backdrop.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAItD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;;AAE7D,wBAaU;AAEV,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,aAAa,CAmB/C,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAAC,aAAa,CAsB1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Backdrop.stories.jsx","sourceRoot":"","sources":["../../../src/core/Backdrop/Backdrop.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAiB,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEnG,eAAe;IACb,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,QAAQ;IACnB,IAAI,EAAE;QACJ,KAAK,EAAE,GAAG;QACV,OAAO,EAAE,MAAM;QACf,eAAe,EAAE,QAAQ;KAC1B;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;QACtC,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;QACpE,eAAe,EAAE,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;KAC9F;CACM,CAAC;AAEV,MAAM,CAAC,MAAM,YAAY,GAAyB,CAAC,IAAmB,EAAE,EA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UAAA,CAAC,WAAW,CACV;YAAA,CAAC,IAAI,CAAC,oEAAoE,EAAE,IAAI,CAClF;UAAA,EAAE,WAAW,CACf;QAAA,EAAE,IAAI,CACR;MAAA,EAAE,QAAQ,CACZ;IAAA,GAAG,CACJ,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { useState } from 'react';\n\nimport { Backdrop, BackdropProps, Button, Card, CardContent, Text } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Backdrop',\n component: Backdrop,\n args: {\n alpha: 0.4,\n variant: 'dark',\n transitionSpeed: 'medium'\n },\n argTypes: {\n alpha: { control: { type: 'number' } },\n variant: { options: ['dark', 'light'], control: { type: 'select' } },\n transitionSpeed: { options: ['slow', 'medium', 'fast', 'none'], control: { type: 'select' } }\n }\n} as Meta;\n\nexport const BackdropDemo: Story<BackdropProps> = (args: BackdropProps) => {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>Open Backdrop</Button>\n\n <Backdrop\n open={open}\n alpha={args.alpha}\n variant={args.variant}\n transitionSpeed={args.transitionSpeed}\n >\n <Button variant='primary' onClick={() => setOpen(false)}>\n Close Backdrop\n </Button>\n </Backdrop>\n </>\n );\n};\n\nexport const DismissibleBackdropDemo: Story<BackdropProps> = (args: BackdropProps) => {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>Open Backdrop</Button>\n\n <Backdrop\n onClick={() => setOpen(false)}\n open={open}\n alpha={args.alpha}\n variant={args.variant}\n transitionSpeed={args.transitionSpeed}\n >\n <Card>\n <CardContent>\n <Text>This Backdrop can be dismissed by clicking anywhere in the viewport.</Text>\n </CardContent>\n </Card>\n </Backdrop>\n </>\n );\n};\n"]}
1
+ {"version":3,"file":"Backdrop.stories.jsx","sourceRoot":"","sources":["../../../src/core/Backdrop/Backdrop.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OA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,KAAK,CAAC,CAAC,CACtD;;QACF,EAAE,MAAM,CACV;MAAA,EAAE,QAAQ,CACZ;IAAA,GAAG,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAA2B,CAAC,IAAmB,EAAE,EAAE;IACrF,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAExC,OAAO,CACL,EACE;MAAA,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,aAAa,EAAE,MAAM,CAE3D;;MAAA,CAAC,QAAQ,CACP,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAC9B,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAClB,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CACtB,eAAe,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAEtC;QAAA,CAAC,IAAI,CACH;UAAA,CAAC,WAAW,CACV;YAAA,CAAC,IAAI,CAAC,oEAAoE,EAAE,IAAI,CAClF;UAAA,EAAE,WAAW,CACf;QAAA,EAAE,IAAI,CACR;MAAA,EAAE,QAAQ,CACZ;IAAA,GAAG,CACJ,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useState } from 'react';\n\nimport { Backdrop, Button, Card, CardContent, Text } from '@pega/cosmos-react-core';\nimport type { BackdropProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Backdrop',\n component: Backdrop,\n args: {\n alpha: 0.4,\n variant: 'dark',\n transitionSpeed: 'medium'\n },\n argTypes: {\n alpha: { control: { type: 'number' } },\n variant: { options: ['dark', 'light'], control: { type: 'select' } },\n transitionSpeed: { options: ['slow', 'medium', 'fast', 'none'], control: { type: 'select' } }\n }\n} as Meta;\n\nexport const BackdropDemo: StoryFn<BackdropProps> = (args: BackdropProps) => {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>Open Backdrop</Button>\n\n <Backdrop\n open={open}\n alpha={args.alpha}\n variant={args.variant}\n transitionSpeed={args.transitionSpeed}\n >\n <Button variant='primary' onClick={() => setOpen(false)}>\n Close Backdrop\n </Button>\n </Backdrop>\n </>\n );\n};\n\nexport const DismissibleBackdropDemo: StoryFn<BackdropProps> = (args: BackdropProps) => {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>Open Backdrop</Button>\n\n <Backdrop\n onClick={() => setOpen(false)}\n open={open}\n alpha={args.alpha}\n variant={args.variant}\n transitionSpeed={args.transitionSpeed}\n >\n <Card>\n <CardContent>\n <Text>This Backdrop can be dismissed by clicking anywhere in the viewport.</Text>\n </CardContent>\n </Card>\n </Backdrop>\n </>\n );\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { AlertProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta<import("@storybook/react").Args>;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { AlertProps } from '@pega/cosmos-react-core';
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
4
  export default _default;
5
- export declare const AlertBadge: Story<AlertProps>;
5
+ export declare const AlertBadge: StoryFn<AlertProps>;
6
6
  //# sourceMappingURL=Alert.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Alert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAS,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAE5D,wBAGU;AAEV,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,UAAU,CAExC,CAAC"}
1
+ {"version":3,"file":"Alert.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Alert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAE1D,wBAGU;AAEV,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,UAAU,CAE1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.stories.jsx","sourceRoot":"","sources":["../../../src/core/Badges/Alert.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAc,MAAM,yBAAyB,CAAC;AAE5D,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,KAAK;CACT,CAAC;AAEV,MAAM,CAAC,MAAM,UAAU,GAAsB,CAAC,IAAgB,EAAE,EAAE;IAChE,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,EAAG,CAAC;AAC1C,CAAC,CAAC;AAEF,UAAU,CAAC,IAAI,GAAG;IAChB,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,UAAU,CAAC,QAAQ,GAAG;IACpB,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CACzE,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Alert, AlertProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Alert',\n component: Alert\n} as Meta;\n\nexport const AlertBadge: Story<AlertProps> = (args: AlertProps) => {\n return <Alert variant={args.variant} />;\n};\n\nAlertBadge.args = {\n variant: 'success'\n};\n\nAlertBadge.argTypes = {\n variant: { options: ['success', 'urgent'], control: { type: 'select' } }\n};\n"]}
1
+ {"version":3,"file":"Alert.stories.jsx","sourceRoot":"","sources":["../../../src/core/Badges/Alert.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGhD,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,KAAK;CACT,CAAC;AAEV,MAAM,CAAC,MAAM,UAAU,GAAwB,CAAC,IAAgB,EAAE,EAAE;IAClE,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,EAAG,CAAC;AAC1C,CAAC,CAAC;AAEF,UAAU,CAAC,IAAI,GAAG;IAChB,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,UAAU,CAAC,QAAQ,GAAG;IACpB,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CACzE,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Alert } from '@pega/cosmos-react-core';\nimport type { AlertProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Alert',\n component: Alert\n} as Meta;\n\nexport const AlertBadge: StoryFn<AlertProps> = (args: AlertProps) => {\n return <Alert variant={args.variant} />;\n};\n\nAlertBadge.args = {\n variant: 'success'\n};\n\nAlertBadge.argTypes = {\n variant: { options: ['success', 'urgent'], control: { type: 'select' } }\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { CountProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta<import("@storybook/react").Args>;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { CountProps } from '@pega/cosmos-react-core';
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
4
  export default _default;
5
- export declare const CountBadge: Story<CountProps>;
5
+ export declare const CountBadge: StoryFn<CountProps>;
6
6
  //# sourceMappingURL=Count.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Count.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Count.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAS,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAE5D,wBAGU;AAEV,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,UAAU,CAExC,CAAC"}
1
+ {"version":3,"file":"Count.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Count.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAE1D,wBAGU;AAEV,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,UAAU,CAE1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Count.stories.jsx","sourceRoot":"","sources":["../../../src/core/Badges/Count.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAc,MAAM,yBAAyB,CAAC;AAE5D,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,KAAK;CACT,CAAC;AAEV,MAAM,CAAC,MAAM,UAAU,GAAsB,CAAC,IAAgB,EAAE,EAAE;IAChE,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC,CAAC;AAEF,UAAU,CAAC,IAAI,GAAG;IAChB,QAAQ,EAAE,CAAC;IACX,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,UAAU,CAAC,QAAQ,GAAG;IACpB,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACzC,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;QAC9B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Count, CountProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Count',\n component: Count\n} as Meta;\n\nexport const CountBadge: Story<CountProps> = (args: CountProps) => {\n return <Count variant={args.variant}>{args.children}</Count>;\n};\n\nCountBadge.args = {\n children: 3,\n variant: 'default'\n};\n\nCountBadge.argTypes = {\n children: { control: { type: 'number' } },\n variant: {\n options: ['default', 'urgent'],\n control: { type: 'select' }\n }\n};\n"]}
1
+ {"version":3,"file":"Count.stories.jsx","sourceRoot":"","sources":["../../../src/core/Badges/Count.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGhD,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,KAAK;CACT,CAAC;AAEV,MAAM,CAAC,MAAM,UAAU,GAAwB,CAAC,IAAgB,EAAE,EAAE;IAClE,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC,CAAC;AAEF,UAAU,CAAC,IAAI,GAAG;IAChB,QAAQ,EAAE,CAAC;IACX,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,UAAU,CAAC,QAAQ,GAAG;IACpB,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACzC,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;QAC9B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Count } from '@pega/cosmos-react-core';\nimport type { CountProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Count',\n component: Count\n} as Meta;\n\nexport const CountBadge: StoryFn<CountProps> = (args: CountProps) => {\n return <Count variant={args.variant}>{args.children}</Count>;\n};\n\nCountBadge.args = {\n children: 3,\n variant: 'default'\n};\n\nCountBadge.argTypes = {\n children: { control: { type: 'number' } },\n variant: {\n options: ['default', 'urgent'],\n control: { type: 'select' }\n }\n};\n"]}