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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1160) hide show
  1. package/jsx/build/AppHeader/AppHeader.stories.d.ts.map +1 -1
  2. package/jsx/build/AppHeader/AppHeader.stories.jsx +6 -1
  3. package/jsx/build/AppHeader/AppHeader.stories.jsx.map +1 -1
  4. package/jsx/build/AppShell/AppShell.mocks.d.ts +19 -0
  5. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  6. package/jsx/build/AppShell/{AppShell.mocks.js → AppShell.mocks.jsx} +33 -1
  7. package/jsx/build/AppShell/AppShell.mocks.jsx.map +1 -0
  8. package/jsx/build/AppShell/AppShell.stories.d.ts +2 -2
  9. package/jsx/build/AppShell/AppShell.stories.d.ts.map +1 -1
  10. package/jsx/build/AppShell/AppShell.stories.jsx +20 -45
  11. package/jsx/build/AppShell/AppShell.stories.jsx.map +1 -1
  12. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
  13. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
  14. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx +101 -0
  15. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -0
  16. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts +11 -0
  17. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
  18. package/jsx/build/DynamicContentEditor/FieldSelector.jsx +80 -0
  19. package/jsx/build/DynamicContentEditor/FieldSelector.jsx.map +1 -0
  20. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +19 -2
  21. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  22. package/jsx/build/FlowModeller/{FlowModeller.mocks.js → FlowModeller.mocks.jsx} +110 -28
  23. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +1 -0
  24. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +8 -10
  25. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  26. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +159 -154
  27. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +1 -1
  28. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
  29. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
  30. package/jsx/build/FlowModeller/FlowModeller.styles.js +8 -0
  31. package/jsx/build/FlowModeller/FlowModeller.styles.js.map +1 -0
  32. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts +1 -5
  33. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -1
  34. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js +5 -10
  35. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -1
  36. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -7
  37. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  38. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +1 -1
  39. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +3 -0
  40. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -1
  41. package/jsx/build/LifeCycle/LifeCycle.mocks.js +106 -18
  42. package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +1 -1
  43. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +6 -9
  44. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  45. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +111 -27
  46. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -1
  47. package/jsx/build/LifeCycle/utils.d.ts.map +1 -1
  48. package/jsx/build/LifeCycle/utils.js +5 -4
  49. package/jsx/build/LifeCycle/utils.js.map +1 -1
  50. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +46 -0
  51. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
  52. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +335 -0
  53. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +1 -0
  54. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +8 -0
  55. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
  56. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +169 -0
  57. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +1 -0
  58. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
  59. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
  60. package/jsx/build/ObjectSelect/ObjectSelect.styles.js +27 -0
  61. package/jsx/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
  62. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +46 -0
  63. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
  64. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +76 -0
  65. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +1 -0
  66. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  67. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +14 -92
  68. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +1 -1
  69. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +18 -0
  70. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  71. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +287 -0
  72. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +1 -0
  73. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +4 -9
  74. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  75. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +99 -277
  76. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  77. package/jsx/build/Workbench/Workbench.stories.d.ts.map +1 -1
  78. package/jsx/build/Workbench/Workbench.stories.jsx +14 -27
  79. package/jsx/build/Workbench/Workbench.stories.jsx.map +1 -1
  80. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
  81. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
  82. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +13 -0
  83. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
  84. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +16 -8
  85. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  86. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +59 -56
  87. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -1
  88. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
  89. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
  90. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
  91. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
  92. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  93. package/jsx/condition-builder/ConditionBuilder/props.mock.js +17 -2
  94. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  95. package/jsx/core/AppShell/AppShell.stories.d.ts +6 -0
  96. package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -1
  97. package/jsx/core/AppShell/AppShell.stories.jsx +28 -2
  98. package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -1
  99. package/jsx/core/Avatar/Avatar.stories.d.ts +5 -0
  100. package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -1
  101. package/jsx/core/Avatar/Avatar.stories.jsx +27 -2
  102. package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -1
  103. package/jsx/core/Badges/Keyboard.stories.d.ts +6 -0
  104. package/jsx/core/Badges/Keyboard.stories.d.ts.map +1 -0
  105. package/jsx/core/Badges/Keyboard.stories.jsx +17 -0
  106. package/jsx/core/Badges/Keyboard.stories.jsx.map +1 -0
  107. package/jsx/core/Badges/Selection.stories.d.ts +2 -3
  108. package/jsx/core/Badges/Selection.stories.d.ts.map +1 -1
  109. package/jsx/core/Badges/Selection.stories.jsx.map +1 -1
  110. package/jsx/core/Badges/Status.stories.d.ts +5 -0
  111. package/jsx/core/Badges/Status.stories.d.ts.map +1 -1
  112. package/jsx/core/Badges/Status.stories.jsx +25 -1
  113. package/jsx/core/Badges/Status.stories.jsx.map +1 -1
  114. package/jsx/core/Badges/Tag.stories.d.ts +2 -3
  115. package/jsx/core/Badges/Tag.stories.d.ts.map +1 -1
  116. package/jsx/core/Badges/Tag.stories.jsx.map +1 -1
  117. package/jsx/core/Banner/Banner.stories.d.ts +12 -19
  118. package/jsx/core/Banner/Banner.stories.d.ts.map +1 -1
  119. package/jsx/core/Banner/Banner.stories.jsx +24 -3
  120. package/jsx/core/Banner/Banner.stories.jsx.map +1 -1
  121. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -4
  122. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  123. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
  124. package/jsx/core/Button/Button.stories.d.ts +10 -3
  125. package/jsx/core/Button/Button.stories.d.ts.map +1 -1
  126. package/jsx/core/Button/Button.stories.jsx +36 -7
  127. package/jsx/core/Button/Button.stories.jsx.map +1 -1
  128. package/jsx/core/Card/Card.stories.d.ts +6 -2
  129. package/jsx/core/Card/Card.stories.d.ts.map +1 -1
  130. package/jsx/core/Card/Card.stories.jsx +30 -1
  131. package/jsx/core/Card/Card.stories.jsx.map +1 -1
  132. package/jsx/core/Checkbox/Checkbox.stories.d.ts +12 -0
  133. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  134. package/jsx/core/Checkbox/Checkbox.stories.jsx +54 -1
  135. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
  136. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +3 -3
  137. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  138. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
  139. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +1 -2
  140. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  141. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +2 -10
  142. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
  143. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
  144. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
  145. package/jsx/core/ColorPicker/ColorPicker.styles.js +11 -0
  146. package/jsx/core/ColorPicker/ColorPicker.styles.js.map +1 -0
  147. package/jsx/core/Configuration/Configuration.mocks.d.ts +7 -0
  148. package/jsx/core/Configuration/Configuration.mocks.d.ts.map +1 -0
  149. package/jsx/core/Configuration/Configuration.mocks.jsx +9 -0
  150. package/jsx/core/Configuration/Configuration.mocks.jsx.map +1 -0
  151. package/jsx/core/Configuration/Configuration.stories.d.ts +19 -3
  152. package/jsx/core/Configuration/Configuration.stories.d.ts.map +1 -1
  153. package/jsx/core/Configuration/Configuration.stories.jsx +96 -21
  154. package/jsx/core/Configuration/Configuration.stories.jsx.map +1 -1
  155. package/jsx/core/Configuration/Configuration.styles.d.ts +6 -0
  156. package/jsx/core/Configuration/Configuration.styles.d.ts.map +1 -0
  157. package/jsx/core/Configuration/Configuration.styles.js +12 -0
  158. package/jsx/core/Configuration/Configuration.styles.js.map +1 -0
  159. package/jsx/core/CreditCard/CreditCard.stories.d.ts +11 -0
  160. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
  161. package/jsx/core/CreditCard/CreditCard.stories.jsx +45 -0
  162. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -0
  163. package/jsx/core/Currency/Currency.stories.d.ts +7 -4
  164. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
  165. package/jsx/core/Currency/Currency.stories.jsx +30 -12
  166. package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
  167. package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
  168. package/jsx/core/DateTime/DateTime.stories.jsx +2 -1
  169. package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
  170. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +6 -4
  171. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  172. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +8 -4
  173. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
  174. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
  175. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  176. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +70 -2
  177. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -1
  178. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
  179. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  180. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +51 -88
  181. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -1
  182. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +2 -2
  183. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  184. package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +1 -1
  185. package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
  186. package/jsx/core/File/FileDisplay.stories.jsx +16 -38
  187. package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
  188. package/jsx/core/File/FileInput.stories.d.ts.map +1 -1
  189. package/jsx/core/File/FileInput.stories.jsx +1 -1
  190. package/jsx/core/File/FileInput.stories.jsx.map +1 -1
  191. package/jsx/core/Flex/FlexContainer.stories.d.ts +1 -2
  192. package/jsx/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  193. package/jsx/core/Flex/FlexContainer.stories.jsx.map +1 -1
  194. package/jsx/core/Form/Form.mocks.d.ts.map +1 -1
  195. package/jsx/core/Form/Form.mocks.jsx +2 -2
  196. package/jsx/core/Form/Form.mocks.jsx.map +1 -1
  197. package/jsx/core/Form/Form.stories.d.ts +10 -0
  198. package/jsx/core/Form/Form.stories.d.ts.map +1 -1
  199. package/jsx/core/Form/Form.stories.jsx +42 -2
  200. package/jsx/core/Form/Form.stories.jsx.map +1 -1
  201. package/jsx/core/Grid/GridContainer.stories.d.ts +4 -5
  202. package/jsx/core/Grid/GridContainer.stories.d.ts.map +1 -1
  203. package/jsx/core/Grid/GridContainer.stories.jsx.map +1 -1
  204. package/jsx/core/Grid/GridItem.stories.d.ts +1 -2
  205. package/jsx/core/Grid/GridItem.stories.d.ts.map +1 -1
  206. package/jsx/core/Grid/GridItem.stories.jsx.map +1 -1
  207. package/jsx/core/HTML/HTML.stories.d.ts +6 -0
  208. package/jsx/core/HTML/HTML.stories.d.ts.map +1 -0
  209. package/jsx/core/HTML/HTML.stories.jsx +13 -0
  210. package/jsx/core/HTML/HTML.stories.jsx.map +1 -0
  211. package/jsx/core/Icon/Icon.stories.d.ts +5 -6
  212. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
  213. package/jsx/core/Icon/Icon.stories.jsx +5 -27
  214. package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
  215. package/jsx/core/Icon/Icon.styles.d.ts +4 -0
  216. package/jsx/core/Icon/Icon.styles.d.ts.map +1 -0
  217. package/jsx/core/Icon/Icon.styles.js +25 -0
  218. package/jsx/core/Icon/Icon.styles.js.map +1 -0
  219. package/jsx/core/IconPicker/IconPicker.stories.jsx +1 -1
  220. package/jsx/core/IconPicker/IconPicker.stories.jsx.map +1 -1
  221. package/jsx/core/Image/Image.stories.d.ts +2 -3
  222. package/jsx/core/Image/Image.stories.d.ts.map +1 -1
  223. package/jsx/core/Image/Image.stories.jsx.map +1 -1
  224. package/jsx/core/Input/Input.stories.d.ts +9 -0
  225. package/jsx/core/Input/Input.stories.d.ts.map +1 -1
  226. package/jsx/core/Input/Input.stories.jsx +40 -1
  227. package/jsx/core/Input/Input.stories.jsx.map +1 -1
  228. package/jsx/core/Label/Label.stories.d.ts +4 -0
  229. package/jsx/core/Label/Label.stories.d.ts.map +1 -1
  230. package/jsx/core/Label/Label.stories.jsx +18 -1
  231. package/jsx/core/Label/Label.stories.jsx.map +1 -1
  232. package/jsx/core/Link/Link.stories.d.ts +1 -11
  233. package/jsx/core/Link/Link.stories.d.ts.map +1 -1
  234. package/jsx/core/Link/Link.stories.jsx.map +1 -1
  235. package/jsx/core/List/CommaSeparatedList.stories.d.ts +2 -2
  236. package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  237. package/jsx/core/List/CommaSeparatedList.stories.jsx.map +1 -1
  238. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
  239. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
  240. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +71 -0
  241. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -0
  242. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +6 -0
  243. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
  244. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +87 -0
  245. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -0
  246. package/jsx/core/MenuButton/MenuButton.stories.d.ts +6 -6
  247. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  248. package/jsx/core/MenuButton/MenuButton.stories.jsx.map +1 -1
  249. package/jsx/core/Modal/Modal.mocks.d.ts.map +1 -1
  250. package/jsx/core/Modal/Modal.mocks.jsx +3 -3
  251. package/jsx/core/Modal/Modal.mocks.jsx.map +1 -1
  252. package/jsx/core/Modal/Modal.stories.d.ts +10 -5
  253. package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
  254. package/jsx/core/Modal/Modal.stories.jsx +34 -43
  255. package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
  256. package/jsx/core/MultiStep/MultiStep.stories.d.ts +2 -3
  257. package/jsx/core/MultiStep/MultiStep.stories.d.ts.map +1 -1
  258. package/jsx/core/MultiStep/MultiStep.stories.jsx.map +1 -1
  259. package/jsx/core/Number/Number.stories.d.ts +10 -6
  260. package/jsx/core/Number/Number.stories.d.ts.map +1 -1
  261. package/jsx/core/Number/Number.stories.jsx +38 -19
  262. package/jsx/core/Number/Number.stories.jsx.map +1 -1
  263. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +5 -3
  264. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  265. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +85 -31
  266. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  267. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
  268. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
  269. package/jsx/core/PageTemplates/PageTemplates.styles.js +9 -0
  270. package/jsx/core/PageTemplates/PageTemplates.styles.js.map +1 -1
  271. package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
  272. package/jsx/core/Phone/Phone.stories.jsx +3 -1
  273. package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
  274. package/jsx/core/Popover/Popover.stories.d.ts +1 -1
  275. package/jsx/core/Popover/Popover.stories.d.ts.map +1 -1
  276. package/jsx/core/Popover/Popover.stories.jsx.map +1 -1
  277. package/jsx/core/Progress/Progress.stories.d.ts +4 -0
  278. package/jsx/core/Progress/Progress.stories.d.ts.map +1 -1
  279. package/jsx/core/Progress/Progress.stories.jsx +22 -1
  280. package/jsx/core/Progress/Progress.stories.jsx.map +1 -1
  281. package/jsx/core/RadioButton/RadioButton.stories.d.ts +12 -0
  282. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  283. package/jsx/core/RadioButton/RadioButton.stories.jsx +53 -1
  284. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
  285. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +3 -3
  286. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  287. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
  288. package/jsx/core/Rating/Rating.stories.d.ts +4 -0
  289. package/jsx/core/Rating/Rating.stories.d.ts.map +1 -1
  290. package/jsx/core/Rating/Rating.stories.jsx +18 -1
  291. package/jsx/core/Rating/Rating.stories.jsx.map +1 -1
  292. package/jsx/core/SearchInput/SearchInput.mocks.d.ts +12 -0
  293. package/jsx/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
  294. package/jsx/core/SearchInput/SearchInput.mocks.js +25 -0
  295. package/jsx/core/SearchInput/SearchInput.mocks.js.map +1 -0
  296. package/jsx/core/SearchInput/SearchInput.stories.d.ts +1 -0
  297. package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  298. package/jsx/core/SearchInput/SearchInput.stories.jsx +30 -1
  299. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +1 -1
  300. package/jsx/core/Select/Select.stories.d.ts +8 -0
  301. package/jsx/core/Select/Select.stories.d.ts.map +1 -1
  302. package/jsx/core/Select/Select.stories.jsx +35 -1
  303. package/jsx/core/Select/Select.stories.jsx.map +1 -1
  304. package/jsx/core/Sentiment/Sentiment.stories.d.ts +6 -0
  305. package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
  306. package/jsx/core/Sentiment/Sentiment.stories.jsx +32 -1
  307. package/jsx/core/Sentiment/Sentiment.stories.jsx.map +1 -1
  308. package/jsx/core/Slider/Slider.stories.d.ts +4 -3
  309. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
  310. package/jsx/core/Slider/Slider.stories.jsx +1 -1
  311. package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
  312. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  313. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  314. package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +1 -1
  315. package/jsx/core/SummaryList/SummaryList.stories.d.ts +2 -2
  316. package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  317. package/jsx/core/SummaryList/SummaryList.stories.jsx.map +1 -1
  318. package/jsx/core/Switch/Switch.stories.d.ts +7 -0
  319. package/jsx/core/Switch/Switch.stories.d.ts.map +1 -1
  320. package/jsx/core/Switch/Switch.stories.jsx +34 -1
  321. package/jsx/core/Switch/Switch.stories.jsx.map +1 -1
  322. package/jsx/core/Table/Table.mocks.d.ts +6 -0
  323. package/jsx/core/Table/Table.mocks.d.ts.map +1 -1
  324. package/jsx/core/Table/Table.mocks.jsx +134 -0
  325. package/jsx/core/Table/Table.mocks.jsx.map +1 -1
  326. package/jsx/core/Table/Table.stories.d.ts +25 -0
  327. package/jsx/core/Table/Table.stories.d.ts.map +1 -1
  328. package/jsx/core/Table/Table.stories.jsx +120 -1
  329. package/jsx/core/Table/Table.stories.jsx.map +1 -1
  330. package/jsx/core/Tabs/Tabs.stories.d.ts +10 -2
  331. package/jsx/core/Tabs/Tabs.stories.d.ts.map +1 -1
  332. package/jsx/core/Tabs/Tabs.stories.jsx +39 -1
  333. package/jsx/core/Tabs/Tabs.stories.jsx.map +1 -1
  334. package/jsx/core/Text/Text.stories.d.ts +19 -0
  335. package/jsx/core/Text/Text.stories.d.ts.map +1 -1
  336. package/jsx/core/Text/Text.stories.jsx +112 -1
  337. package/jsx/core/Text/Text.stories.jsx.map +1 -1
  338. package/jsx/core/TextArea/TextArea.stories.d.ts +5 -0
  339. package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
  340. package/jsx/core/TextArea/TextArea.stories.jsx +22 -1
  341. package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
  342. package/jsx/core/Toaster/Toaster.stories.d.ts +2 -3
  343. package/jsx/core/Toaster/Toaster.stories.d.ts.map +1 -1
  344. package/jsx/core/Toaster/Toaster.stories.jsx +17 -12
  345. package/jsx/core/Toaster/Toaster.stories.jsx.map +1 -1
  346. package/jsx/core/Tooltip/Tooltip.stories.d.ts +8 -6
  347. package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  348. package/jsx/core/Tooltip/Tooltip.stories.jsx +28 -1
  349. package/jsx/core/Tooltip/Tooltip.stories.jsx.map +1 -1
  350. package/jsx/core/Tree/Tree.stories.d.ts +1 -2
  351. package/jsx/core/Tree/Tree.stories.d.ts.map +1 -1
  352. package/jsx/core/Tree/Tree.stories.jsx +2 -2
  353. package/jsx/core/Tree/Tree.stories.jsx.map +1 -1
  354. package/jsx/cs/Article/Article.stories.d.ts +4 -13
  355. package/jsx/cs/Article/Article.stories.d.ts.map +1 -1
  356. package/jsx/cs/Article/Article.stories.jsx.map +1 -1
  357. package/jsx/cs/ArticleList/ArticleList.stories.d.ts +4 -14
  358. package/jsx/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  359. package/jsx/cs/ArticleList/ArticleList.stories.jsx +2 -1
  360. package/jsx/cs/ArticleList/ArticleList.stories.jsx.map +1 -1
  361. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts +3 -37
  362. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -1
  363. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx +15 -42
  364. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx.map +1 -1
  365. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts +9 -0
  366. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts.map +1 -1
  367. package/jsx/cs/CSCaseView/{CSCaseView.mocks.js → CSCaseView.mocks.jsx} +30 -1
  368. package/jsx/cs/CSCaseView/CSCaseView.mocks.jsx.map +1 -0
  369. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +3 -2
  370. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  371. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +20 -5
  372. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -1
  373. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -11
  374. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  375. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx +11 -11
  376. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  377. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +7 -6
  378. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  379. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx +13 -5
  380. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -1
  381. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
  382. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
  383. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
  384. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
  385. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +3 -7
  386. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  387. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +38 -43
  388. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +1 -1
  389. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +6 -0
  390. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
  391. package/jsx/cs/TaskManager/TaskManager.mocks.js +7 -0
  392. package/jsx/cs/TaskManager/TaskManager.mocks.js.map +1 -1
  393. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +6 -5
  394. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  395. package/jsx/cs/TaskManager/TaskManager.stories.jsx +26 -30
  396. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +1 -1
  397. package/jsx/cs/TaskManager/TaskManager.styles.d.ts +3 -0
  398. package/jsx/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
  399. package/jsx/cs/TaskManager/TaskManager.styles.js +8 -0
  400. package/jsx/cs/TaskManager/TaskManager.styles.js.map +1 -0
  401. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
  402. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
  403. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx +33 -0
  404. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +1 -0
  405. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
  406. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  407. package/jsx/dnd/DragDropList/DragDropList.stories.jsx +14 -78
  408. package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +1 -1
  409. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
  410. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
  411. package/jsx/dnd/DragDropList/DragDropList.styles.js +32 -0
  412. package/jsx/dnd/DragDropList/DragDropList.styles.js.map +1 -0
  413. package/jsx/rte/Editor/Editor.mocks.d.ts +309 -0
  414. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -0
  415. package/jsx/rte/Editor/Editor.mocks.jsx +23 -0
  416. package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -0
  417. package/jsx/rte/Editor/Editor.stories.d.ts +7 -8
  418. package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
  419. package/jsx/rte/Editor/Editor.stories.jsx +3 -21
  420. package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
  421. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -1
  422. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +2 -3
  423. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  424. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -1
  425. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +5 -5
  426. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  427. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +18 -1
  428. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +1 -1
  429. package/jsx/social/Chat/Chat.stories.d.ts +6 -7
  430. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  431. package/jsx/social/Chat/Chat.stories.jsx +7 -5
  432. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  433. package/jsx/social/Chat/RepeatingView.mocks.d.ts +14 -0
  434. package/jsx/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
  435. package/jsx/social/Chat/RepeatingView.mocks.js +11 -0
  436. package/jsx/social/Chat/RepeatingView.mocks.js.map +1 -0
  437. package/jsx/social/Chat/RepeatingView.stories.d.ts +6 -17
  438. package/jsx/social/Chat/RepeatingView.stories.d.ts.map +1 -1
  439. package/jsx/social/Chat/RepeatingView.stories.jsx +16 -46
  440. package/jsx/social/Chat/RepeatingView.stories.jsx.map +1 -1
  441. package/jsx/social/Chat/RepeatingView.styles.d.ts +2 -0
  442. package/jsx/social/Chat/RepeatingView.styles.d.ts.map +1 -0
  443. package/jsx/social/Chat/RepeatingView.styles.js +22 -0
  444. package/jsx/social/Chat/RepeatingView.styles.js.map +1 -0
  445. package/jsx/social/Email/Email.mocks.d.ts +172 -2
  446. package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
  447. package/jsx/social/Email/Email.mocks.jsx +766 -0
  448. package/jsx/social/Email/Email.mocks.jsx.map +1 -0
  449. package/jsx/social/Email/Email.stories.d.ts +19 -25
  450. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  451. package/jsx/social/Email/Email.stories.jsx +156 -418
  452. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  453. package/jsx/social/Email/Email.styles.d.ts +4 -0
  454. package/jsx/social/Email/Email.styles.d.ts.map +1 -0
  455. package/jsx/social/Email/Email.styles.js +14 -0
  456. package/jsx/social/Email/Email.styles.js.map +1 -0
  457. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
  458. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
  459. package/jsx/social/Feed/Feed.stories.d.ts +6 -11
  460. package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
  461. package/jsx/social/Feed/Feed.stories.jsx +24 -19
  462. package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
  463. package/jsx/social/Feed/FeedNewPost.stories.d.ts +7 -14
  464. package/jsx/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
  465. package/jsx/social/Feed/FeedNewPost.stories.jsx.map +1 -1
  466. package/jsx/social/Feed/FeedPost.stories.d.ts +4 -5
  467. package/jsx/social/Feed/FeedPost.stories.d.ts.map +1 -1
  468. package/jsx/social/Feed/FeedPost.stories.jsx +30 -20
  469. package/jsx/social/Feed/FeedPost.stories.jsx.map +1 -1
  470. package/jsx/social/Feed/FeedReply.stories.d.ts +10 -10
  471. package/jsx/social/Feed/FeedReply.stories.d.ts.map +1 -1
  472. package/jsx/social/Feed/FeedReply.stories.jsx +21 -16
  473. package/jsx/social/Feed/FeedReply.stories.jsx.map +1 -1
  474. package/jsx/social/Feed/FeedReplyInput.stories.d.ts +7 -12
  475. package/jsx/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
  476. package/jsx/social/Feed/FeedReplyInput.stories.jsx.map +1 -1
  477. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  478. package/jsx/work/CaseView/CaseView.mocks.jsx +1 -1
  479. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  480. package/jsx/work/CaseView/CaseView.stories.d.ts +4 -11
  481. package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
  482. package/jsx/work/CaseView/CaseView.stories.jsx +7 -7
  483. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
  484. package/jsx/work/CaseView/Details.mocks.d.ts.map +1 -1
  485. package/jsx/work/CaseView/Details.mocks.jsx +1 -1
  486. package/jsx/work/CaseView/Details.mocks.jsx.map +1 -1
  487. package/jsx/work/CaseView/MobileCaseView.stories.d.ts +3 -9
  488. package/jsx/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
  489. package/jsx/work/CaseView/MobileCaseView.stories.jsx.map +1 -1
  490. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  491. package/jsx/work/CaseView/Pulse.mocks.jsx +1 -1
  492. package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -1
  493. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
  494. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
  495. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx +166 -0
  496. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx.map +1 -0
  497. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -8
  498. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  499. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +3 -175
  500. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -1
  501. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
  502. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
  503. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
  504. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
  505. package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  506. package/jsx/work/Confirmation/Confirmation.stories.jsx +3 -3
  507. package/jsx/work/Confirmation/Confirmation.stories.jsx.map +1 -1
  508. package/jsx/work/Details/Details.stories.d.ts.map +1 -1
  509. package/jsx/work/Details/Details.stories.jsx +21 -16
  510. package/jsx/work/Details/Details.stories.jsx.map +1 -1
  511. package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  512. package/jsx/work/Glimpse/Glimpse.stories.jsx.map +1 -1
  513. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  514. package/jsx/work/SearchResults/SearchResults.stories.jsx +1 -1
  515. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -1
  516. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  517. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +2 -2
  518. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -1
  519. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +2 -3
  520. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  521. package/jsx/work/Stakeholders/Stakeholders.stories.jsx +1 -0
  522. package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +1 -1
  523. package/jsx/work/Tasks/Tasks.stories.jsx +1 -1
  524. package/jsx/work/Tasks/Tasks.stories.jsx.map +1 -1
  525. package/jsx/work/Timeline/Timeline.stories.d.ts +1 -0
  526. package/jsx/work/Timeline/Timeline.stories.d.ts.map +1 -1
  527. package/jsx/work/Timeline/Timeline.stories.jsx +29 -1
  528. package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -1
  529. package/lib/build/AppHeader/AppHeader.stories.d.ts.map +1 -1
  530. package/lib/build/AppHeader/AppHeader.stories.js +7 -2
  531. package/lib/build/AppHeader/AppHeader.stories.js.map +1 -1
  532. package/lib/build/AppShell/AppShell.mocks.d.ts +19 -0
  533. package/lib/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  534. package/lib/build/AppShell/AppShell.mocks.js +32 -0
  535. package/lib/build/AppShell/AppShell.mocks.js.map +1 -1
  536. package/lib/build/AppShell/AppShell.stories.d.ts +2 -2
  537. package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -1
  538. package/lib/build/AppShell/AppShell.stories.js +22 -45
  539. package/lib/build/AppShell/AppShell.stories.js.map +1 -1
  540. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
  541. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
  542. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js +85 -0
  543. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -0
  544. package/lib/build/DynamicContentEditor/FieldSelector.d.ts +14 -0
  545. package/lib/build/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
  546. package/lib/build/DynamicContentEditor/FieldSelector.js +81 -0
  547. package/lib/build/DynamicContentEditor/FieldSelector.js.map +1 -0
  548. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +19 -2
  549. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  550. package/lib/build/FlowModeller/FlowModeller.mocks.js +81 -27
  551. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +1 -1
  552. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +8 -10
  553. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  554. package/lib/build/FlowModeller/FlowModeller.stories.js +147 -138
  555. package/lib/build/FlowModeller/FlowModeller.stories.js.map +1 -1
  556. package/lib/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
  557. package/lib/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
  558. package/lib/build/FlowModeller/FlowModeller.styles.js +8 -0
  559. package/lib/build/FlowModeller/FlowModeller.styles.js.map +1 -0
  560. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts +1 -5
  561. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -1
  562. package/lib/build/ItemLibrary/LibraryPicker.mocks.js +5 -10
  563. package/lib/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -1
  564. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -7
  565. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  566. package/lib/build/ItemLibrary/LibraryPicker.stories.js +1 -1
  567. package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +1 -1
  568. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +3 -0
  569. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -1
  570. package/lib/build/LifeCycle/LifeCycle.mocks.js +106 -18
  571. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +1 -1
  572. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +6 -9
  573. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  574. package/lib/build/LifeCycle/LifeCycle.stories.js +115 -31
  575. package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -1
  576. package/lib/build/LifeCycle/utils.d.ts.map +1 -1
  577. package/lib/build/LifeCycle/utils.js +5 -4
  578. package/lib/build/LifeCycle/utils.js.map +1 -1
  579. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +46 -0
  580. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
  581. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +308 -0
  582. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +1 -0
  583. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +8 -0
  584. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
  585. package/lib/build/ObjectSelect/ObjectSelect.stories.js +151 -0
  586. package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +1 -0
  587. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
  588. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
  589. package/lib/build/ObjectSelect/ObjectSelect.styles.js +27 -0
  590. package/lib/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
  591. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +46 -0
  592. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
  593. package/lib/build/PageTemplates/GalleryPage.mocks.js +77 -0
  594. package/lib/build/PageTemplates/GalleryPage.mocks.js.map +1 -0
  595. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  596. package/lib/build/PageTemplates/GalleryPage.stories.js +14 -92
  597. package/lib/build/PageTemplates/GalleryPage.stories.js.map +1 -1
  598. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +18 -0
  599. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  600. package/lib/build/PageTemplates/PageTemplates.mocks.js +248 -0
  601. package/lib/build/PageTemplates/PageTemplates.mocks.js.map +1 -0
  602. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +4 -9
  603. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  604. package/lib/build/PageTemplates/PageTemplates.stories.js +115 -253
  605. package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -1
  606. package/lib/build/Workbench/Workbench.stories.d.ts.map +1 -1
  607. package/lib/build/Workbench/Workbench.stories.js +26 -39
  608. package/lib/build/Workbench/Workbench.stories.js.map +1 -1
  609. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
  610. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
  611. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +13 -0
  612. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
  613. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +16 -8
  614. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  615. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js +59 -57
  616. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +1 -1
  617. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
  618. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
  619. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
  620. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
  621. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  622. package/lib/condition-builder/ConditionBuilder/props.mock.js +17 -2
  623. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  624. package/lib/core/AppShell/AppShell.mocks.js +5 -5
  625. package/lib/core/AppShell/AppShell.mocks.js.map +1 -1
  626. package/lib/core/AppShell/AppShell.stories.d.ts +6 -0
  627. package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -1
  628. package/lib/core/AppShell/AppShell.stories.js +33 -9
  629. package/lib/core/AppShell/AppShell.stories.js.map +1 -1
  630. package/lib/core/Avatar/Avatar.stories.d.ts +5 -0
  631. package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -1
  632. package/lib/core/Avatar/Avatar.stories.js +30 -7
  633. package/lib/core/Avatar/Avatar.stories.js.map +1 -1
  634. package/lib/core/Backdrop/Backdrop.stories.js +2 -2
  635. package/lib/core/Backdrop/Backdrop.stories.js.map +1 -1
  636. package/lib/core/Badges/Alert.stories.js +1 -1
  637. package/lib/core/Badges/Alert.stories.js.map +1 -1
  638. package/lib/core/Badges/Count.stories.js +1 -1
  639. package/lib/core/Badges/Count.stories.js.map +1 -1
  640. package/lib/core/Badges/Keyboard.stories.d.ts +6 -0
  641. package/lib/core/Badges/Keyboard.stories.d.ts.map +1 -0
  642. package/lib/core/Badges/Keyboard.stories.js +16 -0
  643. package/lib/core/Badges/Keyboard.stories.js.map +1 -0
  644. package/lib/core/Badges/Selection.stories.d.ts +2 -3
  645. package/lib/core/Badges/Selection.stories.d.ts.map +1 -1
  646. package/lib/core/Badges/Selection.stories.js +1 -1
  647. package/lib/core/Badges/Selection.stories.js.map +1 -1
  648. package/lib/core/Badges/Status.stories.d.ts +5 -0
  649. package/lib/core/Badges/Status.stories.d.ts.map +1 -1
  650. package/lib/core/Badges/Status.stories.js +24 -2
  651. package/lib/core/Badges/Status.stories.js.map +1 -1
  652. package/lib/core/Badges/Tag.stories.d.ts +2 -3
  653. package/lib/core/Badges/Tag.stories.d.ts.map +1 -1
  654. package/lib/core/Badges/Tag.stories.js +1 -1
  655. package/lib/core/Badges/Tag.stories.js.map +1 -1
  656. package/lib/core/Banner/Banner.mocks.js +1 -1
  657. package/lib/core/Banner/Banner.mocks.js.map +1 -1
  658. package/lib/core/Banner/Banner.stories.d.ts +12 -19
  659. package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
  660. package/lib/core/Banner/Banner.stories.js +30 -13
  661. package/lib/core/Banner/Banner.stories.js.map +1 -1
  662. package/lib/core/Boolean/BooleanDisplay.stories.js +1 -1
  663. package/lib/core/Boolean/BooleanDisplay.stories.js.map +1 -1
  664. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -4
  665. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  666. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +2 -2
  667. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
  668. package/lib/core/Button/Button.stories.d.ts +10 -3
  669. package/lib/core/Button/Button.stories.d.ts.map +1 -1
  670. package/lib/core/Button/Button.stories.js +35 -8
  671. package/lib/core/Button/Button.stories.js.map +1 -1
  672. package/lib/core/Card/Card.stories.d.ts +6 -2
  673. package/lib/core/Card/Card.stories.d.ts.map +1 -1
  674. package/lib/core/Card/Card.stories.js +22 -4
  675. package/lib/core/Card/Card.stories.js.map +1 -1
  676. package/lib/core/Checkbox/Checkbox.stories.d.ts +12 -0
  677. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  678. package/lib/core/Checkbox/Checkbox.stories.js +54 -3
  679. package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
  680. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +3 -3
  681. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  682. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +3 -3
  683. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
  684. package/lib/core/ColorPicker/ColorPicker.stories.d.ts +1 -2
  685. package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  686. package/lib/core/ColorPicker/ColorPicker.stories.js +7 -15
  687. package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
  688. package/lib/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
  689. package/lib/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
  690. package/lib/core/ColorPicker/ColorPicker.styles.js +11 -0
  691. package/lib/core/ColorPicker/ColorPicker.styles.js.map +1 -0
  692. package/lib/core/ComboBox/ComboBox.stories.js +6 -6
  693. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
  694. package/lib/core/Configuration/Configuration.mocks.d.ts +7 -0
  695. package/lib/core/Configuration/Configuration.mocks.d.ts.map +1 -0
  696. package/lib/core/Configuration/Configuration.mocks.js +6 -0
  697. package/lib/core/Configuration/Configuration.mocks.js.map +1 -0
  698. package/lib/core/Configuration/Configuration.stories.d.ts +19 -3
  699. package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -1
  700. package/lib/core/Configuration/Configuration.stories.js +71 -24
  701. package/lib/core/Configuration/Configuration.stories.js.map +1 -1
  702. package/lib/core/Configuration/Configuration.styles.d.ts +6 -0
  703. package/lib/core/Configuration/Configuration.styles.d.ts.map +1 -0
  704. package/lib/core/Configuration/Configuration.styles.js +12 -0
  705. package/lib/core/Configuration/Configuration.styles.js.map +1 -0
  706. package/lib/core/CreditCard/CreditCard.stories.d.ts +11 -0
  707. package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
  708. package/lib/core/CreditCard/CreditCard.stories.js +46 -0
  709. package/lib/core/CreditCard/CreditCard.stories.js.map +1 -0
  710. package/lib/core/Currency/Currency.stories.d.ts +7 -4
  711. package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
  712. package/lib/core/Currency/Currency.stories.js +32 -14
  713. package/lib/core/Currency/Currency.stories.js.map +1 -1
  714. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
  715. package/lib/core/DateTime/DateTime.stories.js +12 -10
  716. package/lib/core/DateTime/DateTime.stories.js.map +1 -1
  717. package/lib/core/DateTime/DateTimeDisplay.stories.js +2 -2
  718. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
  719. package/lib/core/DateTime/DateTimePicker.stories.js +2 -2
  720. package/lib/core/DateTime/DateTimePicker.stories.js.map +1 -1
  721. package/lib/core/Drawer/Drawer.stories.js +4 -4
  722. package/lib/core/Drawer/Drawer.stories.js.map +1 -1
  723. package/lib/core/Email/EmailDisplay.stories.js +1 -1
  724. package/lib/core/Email/EmailDisplay.stories.js.map +1 -1
  725. package/lib/core/EmojiPicker/EmojiPicker.stories.js +3 -3
  726. package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +1 -1
  727. package/lib/core/EmptyState/EmptyState.stories.js +1 -1
  728. package/lib/core/EmptyState/EmptyState.stories.js.map +1 -1
  729. package/lib/core/ErrorState/ErrorState.stories.js +1 -1
  730. package/lib/core/ErrorState/ErrorState.stories.js.map +1 -1
  731. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js +2 -2
  732. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +1 -1
  733. package/lib/core/FieldGroup/FieldGroup.stories.d.ts +6 -4
  734. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  735. package/lib/core/FieldGroup/FieldGroup.stories.js +7 -3
  736. package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
  737. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
  738. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  739. package/lib/core/FieldGroup/FieldGroupList.mocks.js +47 -3
  740. package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -1
  741. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
  742. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  743. package/lib/core/FieldGroup/FieldGroupList.stories.js +54 -67
  744. package/lib/core/FieldGroup/FieldGroupList.stories.js.map +1 -1
  745. package/lib/core/FieldValueList/FieldValueList.stories.d.ts +2 -2
  746. package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  747. package/lib/core/FieldValueList/FieldValueList.stories.js +4 -4
  748. package/lib/core/FieldValueList/FieldValueList.stories.js.map +1 -1
  749. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
  750. package/lib/core/File/FileDisplay.stories.js +25 -37
  751. package/lib/core/File/FileDisplay.stories.js.map +1 -1
  752. package/lib/core/File/FileInput.stories.d.ts.map +1 -1
  753. package/lib/core/File/FileInput.stories.js +3 -3
  754. package/lib/core/File/FileInput.stories.js.map +1 -1
  755. package/lib/core/Flex/FlexContainer.stories.d.ts +1 -2
  756. package/lib/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  757. package/lib/core/Flex/FlexContainer.stories.js +7 -7
  758. package/lib/core/Flex/FlexContainer.stories.js.map +1 -1
  759. package/lib/core/Flex/FlexItem.stories.js +3 -3
  760. package/lib/core/Flex/FlexItem.stories.js.map +1 -1
  761. package/lib/core/Form/Form.mocks.d.ts.map +1 -1
  762. package/lib/core/Form/Form.mocks.js +5 -5
  763. package/lib/core/Form/Form.mocks.js.map +1 -1
  764. package/lib/core/Form/Form.stories.d.ts +10 -0
  765. package/lib/core/Form/Form.stories.d.ts.map +1 -1
  766. package/lib/core/Form/Form.stories.js +47 -9
  767. package/lib/core/Form/Form.stories.js.map +1 -1
  768. package/lib/core/Grid/GridContainer.stories.d.ts +4 -5
  769. package/lib/core/Grid/GridContainer.stories.d.ts.map +1 -1
  770. package/lib/core/Grid/GridContainer.stories.js +9 -9
  771. package/lib/core/Grid/GridContainer.stories.js.map +1 -1
  772. package/lib/core/Grid/GridItem.stories.d.ts +1 -2
  773. package/lib/core/Grid/GridItem.stories.d.ts.map +1 -1
  774. package/lib/core/Grid/GridItem.stories.js +3 -3
  775. package/lib/core/Grid/GridItem.stories.js.map +1 -1
  776. package/lib/core/HTML/HTML.stories.d.ts +6 -0
  777. package/lib/core/HTML/HTML.stories.d.ts.map +1 -0
  778. package/lib/core/HTML/HTML.stories.js +14 -0
  779. package/lib/core/HTML/HTML.stories.js.map +1 -0
  780. package/lib/core/Icon/Icon.mocks.js +1 -1
  781. package/lib/core/Icon/Icon.mocks.js.map +1 -1
  782. package/lib/core/Icon/Icon.stories.d.ts +5 -6
  783. package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
  784. package/lib/core/Icon/Icon.stories.js +12 -35
  785. package/lib/core/Icon/Icon.stories.js.map +1 -1
  786. package/lib/core/Icon/Icon.styles.d.ts +4 -0
  787. package/lib/core/Icon/Icon.styles.d.ts.map +1 -0
  788. package/lib/core/Icon/Icon.styles.js +25 -0
  789. package/lib/core/Icon/Icon.styles.js.map +1 -0
  790. package/lib/core/IconPicker/IconPicker.stories.js +2 -2
  791. package/lib/core/IconPicker/IconPicker.stories.js.map +1 -1
  792. package/lib/core/Image/Image.stories.d.ts +2 -3
  793. package/lib/core/Image/Image.stories.d.ts.map +1 -1
  794. package/lib/core/Image/Image.stories.js +1 -1
  795. package/lib/core/Image/Image.stories.js.map +1 -1
  796. package/lib/core/Input/Input.stories.d.ts +9 -0
  797. package/lib/core/Input/Input.stories.d.ts.map +1 -1
  798. package/lib/core/Input/Input.stories.js +39 -2
  799. package/lib/core/Input/Input.stories.js.map +1 -1
  800. package/lib/core/Label/Label.stories.d.ts +4 -0
  801. package/lib/core/Label/Label.stories.d.ts.map +1 -1
  802. package/lib/core/Label/Label.stories.js +17 -2
  803. package/lib/core/Label/Label.stories.js.map +1 -1
  804. package/lib/core/Lightbox/Lightbox.stories.js +3 -3
  805. package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
  806. package/lib/core/Link/Link.stories.d.ts +1 -11
  807. package/lib/core/Link/Link.stories.d.ts.map +1 -1
  808. package/lib/core/Link/Link.stories.js +3 -3
  809. package/lib/core/Link/Link.stories.js.map +1 -1
  810. package/lib/core/List/CommaSeparatedList.stories.d.ts +2 -2
  811. package/lib/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  812. package/lib/core/List/CommaSeparatedList.stories.js +1 -1
  813. package/lib/core/List/CommaSeparatedList.stories.js.map +1 -1
  814. package/lib/core/List/OrderedList.stories.js +1 -1
  815. package/lib/core/List/OrderedList.stories.js.map +1 -1
  816. package/lib/core/List/UnorderedList.stories.js +1 -1
  817. package/lib/core/List/UnorderedList.stories.js.map +1 -1
  818. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
  819. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
  820. package/lib/core/ListToolbar/ListToolbar.mocks.js +50 -0
  821. package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -0
  822. package/lib/core/ListToolbar/ListToolbar.stories.d.ts +6 -0
  823. package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
  824. package/lib/core/ListToolbar/ListToolbar.stories.js +79 -0
  825. package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -0
  826. package/lib/core/Location/Location.stories.js +4 -4
  827. package/lib/core/Location/Location.stories.js.map +1 -1
  828. package/lib/core/Menu/Menu.stories.js +5 -5
  829. package/lib/core/Menu/Menu.stories.js.map +1 -1
  830. package/lib/core/MenuButton/MenuButton.stories.d.ts +6 -6
  831. package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  832. package/lib/core/MenuButton/MenuButton.stories.js +9 -9
  833. package/lib/core/MenuButton/MenuButton.stories.js.map +1 -1
  834. package/lib/core/MetaList/MetaList.stories.js +3 -3
  835. package/lib/core/MetaList/MetaList.stories.js.map +1 -1
  836. package/lib/core/Modal/Modal.mocks.d.ts.map +1 -1
  837. package/lib/core/Modal/Modal.mocks.js +11 -11
  838. package/lib/core/Modal/Modal.mocks.js.map +1 -1
  839. package/lib/core/Modal/Modal.stories.d.ts +10 -5
  840. package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
  841. package/lib/core/Modal/Modal.stories.js +40 -35
  842. package/lib/core/Modal/Modal.stories.js.map +1 -1
  843. package/lib/core/MultiStep/MultiStep.stories.d.ts +2 -3
  844. package/lib/core/MultiStep/MultiStep.stories.d.ts.map +1 -1
  845. package/lib/core/MultiStep/MultiStep.stories.js +3 -3
  846. package/lib/core/MultiStep/MultiStep.stories.js.map +1 -1
  847. package/lib/core/Number/Number.stories.d.ts +10 -6
  848. package/lib/core/Number/Number.stories.d.ts.map +1 -1
  849. package/lib/core/Number/Number.stories.js +41 -22
  850. package/lib/core/Number/Number.stories.js.map +1 -1
  851. package/lib/core/PageTemplates/PageTemplates.stories.d.ts +5 -3
  852. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  853. package/lib/core/PageTemplates/PageTemplates.stories.js +88 -42
  854. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  855. package/lib/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
  856. package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
  857. package/lib/core/PageTemplates/PageTemplates.styles.js +9 -0
  858. package/lib/core/PageTemplates/PageTemplates.styles.js.map +1 -1
  859. package/lib/core/Pagination/Pagination.stories.js +1 -1
  860. package/lib/core/Pagination/Pagination.stories.js.map +1 -1
  861. package/lib/core/Paragraph/ParagraphDisplay.stories.js +1 -1
  862. package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +1 -1
  863. package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
  864. package/lib/core/Phone/Phone.stories.js +4 -2
  865. package/lib/core/Phone/Phone.stories.js.map +1 -1
  866. package/lib/core/Popover/Popover.stories.d.ts +1 -1
  867. package/lib/core/Popover/Popover.stories.d.ts.map +1 -1
  868. package/lib/core/Popover/Popover.stories.js +2 -2
  869. package/lib/core/Popover/Popover.stories.js.map +1 -1
  870. package/lib/core/Progress/Progress.stories.d.ts +4 -0
  871. package/lib/core/Progress/Progress.stories.d.ts.map +1 -1
  872. package/lib/core/Progress/Progress.stories.js +20 -3
  873. package/lib/core/Progress/Progress.stories.js.map +1 -1
  874. package/lib/core/RadioButton/RadioButton.stories.d.ts +12 -0
  875. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  876. package/lib/core/RadioButton/RadioButton.stories.js +53 -3
  877. package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
  878. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +3 -3
  879. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  880. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +3 -3
  881. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
  882. package/lib/core/Rating/Rating.stories.d.ts +4 -0
  883. package/lib/core/Rating/Rating.stories.d.ts.map +1 -1
  884. package/lib/core/Rating/Rating.stories.js +17 -2
  885. package/lib/core/Rating/Rating.stories.js.map +1 -1
  886. package/lib/core/SearchInput/SearchInput.mocks.d.ts +12 -0
  887. package/lib/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
  888. package/lib/core/SearchInput/SearchInput.mocks.js +25 -0
  889. package/lib/core/SearchInput/SearchInput.mocks.js.map +1 -0
  890. package/lib/core/SearchInput/SearchInput.stories.d.ts +1 -0
  891. package/lib/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  892. package/lib/core/SearchInput/SearchInput.stories.js +30 -1
  893. package/lib/core/SearchInput/SearchInput.stories.js.map +1 -1
  894. package/lib/core/Select/Select.stories.d.ts +8 -0
  895. package/lib/core/Select/Select.stories.d.ts.map +1 -1
  896. package/lib/core/Select/Select.stories.js +29 -2
  897. package/lib/core/Select/Select.stories.js.map +1 -1
  898. package/lib/core/Sentiment/Sentiment.stories.d.ts +6 -0
  899. package/lib/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
  900. package/lib/core/Sentiment/Sentiment.stories.js +30 -3
  901. package/lib/core/Sentiment/Sentiment.stories.js.map +1 -1
  902. package/lib/core/Slider/Slider.stories.d.ts +4 -3
  903. package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
  904. package/lib/core/Slider/Slider.stories.js +2 -2
  905. package/lib/core/Slider/Slider.stories.js.map +1 -1
  906. package/lib/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  907. package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  908. package/lib/core/SummaryItem/SummaryItem.stories.js +4 -4
  909. package/lib/core/SummaryItem/SummaryItem.stories.js.map +1 -1
  910. package/lib/core/SummaryList/SummaryList.mocks.js +2 -2
  911. package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -1
  912. package/lib/core/SummaryList/SummaryList.stories.d.ts +2 -2
  913. package/lib/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  914. package/lib/core/SummaryList/SummaryList.stories.js +5 -5
  915. package/lib/core/SummaryList/SummaryList.stories.js.map +1 -1
  916. package/lib/core/Switch/Switch.stories.d.ts +7 -0
  917. package/lib/core/Switch/Switch.stories.d.ts.map +1 -1
  918. package/lib/core/Switch/Switch.stories.js +34 -3
  919. package/lib/core/Switch/Switch.stories.js.map +1 -1
  920. package/lib/core/Table/Table.mocks.d.ts +6 -0
  921. package/lib/core/Table/Table.mocks.d.ts.map +1 -1
  922. package/lib/core/Table/Table.mocks.js +135 -1
  923. package/lib/core/Table/Table.mocks.js.map +1 -1
  924. package/lib/core/Table/Table.stories.d.ts +25 -0
  925. package/lib/core/Table/Table.stories.d.ts.map +1 -1
  926. package/lib/core/Table/Table.stories.js +118 -6
  927. package/lib/core/Table/Table.stories.js.map +1 -1
  928. package/lib/core/Tabs/Tabs.stories.d.ts +10 -2
  929. package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -1
  930. package/lib/core/Tabs/Tabs.stories.js +32 -3
  931. package/lib/core/Tabs/Tabs.stories.js.map +1 -1
  932. package/lib/core/Text/Text.stories.d.ts +19 -0
  933. package/lib/core/Text/Text.stories.d.ts.map +1 -1
  934. package/lib/core/Text/Text.stories.js +103 -3
  935. package/lib/core/Text/Text.stories.js.map +1 -1
  936. package/lib/core/TextArea/TextArea.stories.d.ts +5 -0
  937. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
  938. package/lib/core/TextArea/TextArea.stories.js +21 -2
  939. package/lib/core/TextArea/TextArea.stories.js.map +1 -1
  940. package/lib/core/Toaster/Toaster.stories.d.ts +2 -3
  941. package/lib/core/Toaster/Toaster.stories.d.ts.map +1 -1
  942. package/lib/core/Toaster/Toaster.stories.js +15 -19
  943. package/lib/core/Toaster/Toaster.stories.js.map +1 -1
  944. package/lib/core/Tooltip/Tooltip.stories.d.ts +8 -6
  945. package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  946. package/lib/core/Tooltip/Tooltip.stories.js +21 -2
  947. package/lib/core/Tooltip/Tooltip.stories.js.map +1 -1
  948. package/lib/core/Tree/Tree.stories.d.ts +1 -2
  949. package/lib/core/Tree/Tree.stories.d.ts.map +1 -1
  950. package/lib/core/Tree/Tree.stories.js +5 -5
  951. package/lib/core/Tree/Tree.stories.js.map +1 -1
  952. package/lib/core/URL/URL.stories.js +1 -1
  953. package/lib/core/URL/URL.stories.js.map +1 -1
  954. package/lib/cs/Article/Article.stories.d.ts +4 -13
  955. package/lib/cs/Article/Article.stories.d.ts.map +1 -1
  956. package/lib/cs/Article/Article.stories.js +9 -9
  957. package/lib/cs/Article/Article.stories.js.map +1 -1
  958. package/lib/cs/ArticleList/ArticleList.stories.d.ts +4 -14
  959. package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  960. package/lib/cs/ArticleList/ArticleList.stories.js +12 -11
  961. package/lib/cs/ArticleList/ArticleList.stories.js.map +1 -1
  962. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts +3 -37
  963. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -1
  964. package/lib/cs/CSCaseView/CSAppShell.stories.js +24 -37
  965. package/lib/cs/CSCaseView/CSAppShell.stories.js.map +1 -1
  966. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts +9 -0
  967. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts.map +1 -1
  968. package/lib/cs/CSCaseView/CSCaseView.mocks.js +16 -0
  969. package/lib/cs/CSCaseView/CSCaseView.mocks.js.map +1 -1
  970. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +3 -2
  971. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  972. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +22 -7
  973. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +1 -1
  974. package/lib/cs/DialPad/DialPad.stories.js +1 -1
  975. package/lib/cs/DialPad/DialPad.stories.js.map +1 -1
  976. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -11
  977. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  978. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js +26 -26
  979. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  980. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +7 -6
  981. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  982. package/lib/cs/InteractionNotification/InteractionNotification.stories.js +13 -5
  983. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +1 -1
  984. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
  985. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
  986. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
  987. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
  988. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +3 -7
  989. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  990. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +38 -43
  991. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +1 -1
  992. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +6 -0
  993. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
  994. package/lib/cs/TaskManager/TaskManager.mocks.js +7 -0
  995. package/lib/cs/TaskManager/TaskManager.mocks.js.map +1 -1
  996. package/lib/cs/TaskManager/TaskManager.stories.d.ts +6 -5
  997. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  998. package/lib/cs/TaskManager/TaskManager.stories.js +34 -38
  999. package/lib/cs/TaskManager/TaskManager.stories.js.map +1 -1
  1000. package/lib/cs/TaskManager/TaskManager.styles.d.ts +3 -0
  1001. package/lib/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
  1002. package/lib/cs/TaskManager/TaskManager.styles.js +8 -0
  1003. package/lib/cs/TaskManager/TaskManager.styles.js.map +1 -0
  1004. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
  1005. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
  1006. package/lib/dnd/DragDropList/DragDropList.mocks.js +32 -0
  1007. package/lib/dnd/DragDropList/DragDropList.mocks.js.map +1 -0
  1008. package/lib/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
  1009. package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  1010. package/lib/dnd/DragDropList/DragDropList.stories.js +16 -87
  1011. package/lib/dnd/DragDropList/DragDropList.stories.js.map +1 -1
  1012. package/lib/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
  1013. package/lib/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
  1014. package/lib/dnd/DragDropList/DragDropList.styles.js +32 -0
  1015. package/lib/dnd/DragDropList/DragDropList.styles.js.map +1 -0
  1016. package/lib/rte/Editor/Editor.mocks.d.ts +309 -0
  1017. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -0
  1018. package/lib/rte/Editor/Editor.mocks.js +26 -0
  1019. package/lib/rte/Editor/Editor.mocks.js.map +1 -0
  1020. package/lib/rte/Editor/Editor.stories.d.ts +7 -8
  1021. package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
  1022. package/lib/rte/Editor/Editor.stories.js +8 -28
  1023. package/lib/rte/Editor/Editor.stories.js.map +1 -1
  1024. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js +5 -5
  1025. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +1 -1
  1026. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +2 -3
  1027. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  1028. package/lib/rte/RichTextEditor/RichTextEditor.stories.js +5 -5
  1029. package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +1 -1
  1030. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +5 -5
  1031. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  1032. package/lib/rte/RichTextEditor/RichTextViewer.stories.js +19 -6
  1033. package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +1 -1
  1034. package/lib/social/Chat/Chat.stories.d.ts +6 -7
  1035. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  1036. package/lib/social/Chat/Chat.stories.js +31 -31
  1037. package/lib/social/Chat/Chat.stories.js.map +1 -1
  1038. package/lib/social/Chat/RepeatingView.mocks.d.ts +14 -0
  1039. package/lib/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
  1040. package/lib/social/Chat/RepeatingView.mocks.js +11 -0
  1041. package/lib/social/Chat/RepeatingView.mocks.js.map +1 -0
  1042. package/lib/social/Chat/RepeatingView.stories.d.ts +6 -17
  1043. package/lib/social/Chat/RepeatingView.stories.d.ts.map +1 -1
  1044. package/lib/social/Chat/RepeatingView.stories.js +18 -48
  1045. package/lib/social/Chat/RepeatingView.stories.js.map +1 -1
  1046. package/lib/social/Chat/RepeatingView.styles.d.ts +2 -0
  1047. package/lib/social/Chat/RepeatingView.styles.d.ts.map +1 -0
  1048. package/lib/social/Chat/RepeatingView.styles.js +22 -0
  1049. package/lib/social/Chat/RepeatingView.styles.js.map +1 -0
  1050. package/lib/social/Email/Email.mocks.d.ts +172 -2
  1051. package/lib/social/Email/Email.mocks.d.ts.map +1 -1
  1052. package/lib/social/Email/Email.mocks.js +420 -1
  1053. package/lib/social/Email/Email.mocks.js.map +1 -1
  1054. package/lib/social/Email/Email.stories.d.ts +19 -25
  1055. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  1056. package/lib/social/Email/Email.stories.js +148 -440
  1057. package/lib/social/Email/Email.stories.js.map +1 -1
  1058. package/lib/social/Email/Email.styles.d.ts +4 -0
  1059. package/lib/social/Email/Email.styles.d.ts.map +1 -0
  1060. package/lib/social/Email/Email.styles.js +14 -0
  1061. package/lib/social/Email/Email.styles.js.map +1 -0
  1062. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
  1063. package/lib/social/Feed/Feed.mocks.js +40 -40
  1064. package/lib/social/Feed/Feed.mocks.js.map +1 -1
  1065. package/lib/social/Feed/Feed.stories.d.ts +6 -11
  1066. package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
  1067. package/lib/social/Feed/Feed.stories.js +30 -25
  1068. package/lib/social/Feed/Feed.stories.js.map +1 -1
  1069. package/lib/social/Feed/FeedNewPost.stories.d.ts +7 -14
  1070. package/lib/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
  1071. package/lib/social/Feed/FeedNewPost.stories.js +2 -2
  1072. package/lib/social/Feed/FeedNewPost.stories.js.map +1 -1
  1073. package/lib/social/Feed/FeedPost.stories.d.ts +4 -5
  1074. package/lib/social/Feed/FeedPost.stories.d.ts.map +1 -1
  1075. package/lib/social/Feed/FeedPost.stories.js +37 -27
  1076. package/lib/social/Feed/FeedPost.stories.js.map +1 -1
  1077. package/lib/social/Feed/FeedReply.stories.d.ts +10 -10
  1078. package/lib/social/Feed/FeedReply.stories.d.ts.map +1 -1
  1079. package/lib/social/Feed/FeedReply.stories.js +25 -20
  1080. package/lib/social/Feed/FeedReply.stories.js.map +1 -1
  1081. package/lib/social/Feed/FeedReplyInput.stories.d.ts +7 -12
  1082. package/lib/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
  1083. package/lib/social/Feed/FeedReplyInput.stories.js +2 -2
  1084. package/lib/social/Feed/FeedReplyInput.stories.js.map +1 -1
  1085. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js +1 -1
  1086. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +1 -1
  1087. package/lib/work/CaseView/Attachments.mocks.js +15 -15
  1088. package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
  1089. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  1090. package/lib/work/CaseView/CaseView.mocks.js +8 -8
  1091. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  1092. package/lib/work/CaseView/CaseView.stories.d.ts +4 -11
  1093. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
  1094. package/lib/work/CaseView/CaseView.stories.js +28 -28
  1095. package/lib/work/CaseView/CaseView.stories.js.map +1 -1
  1096. package/lib/work/CaseView/Details.mocks.d.ts.map +1 -1
  1097. package/lib/work/CaseView/Details.mocks.js +2 -2
  1098. package/lib/work/CaseView/Details.mocks.js.map +1 -1
  1099. package/lib/work/CaseView/FileService.mock.js +1 -1
  1100. package/lib/work/CaseView/FileService.mock.js.map +1 -1
  1101. package/lib/work/CaseView/MobileCaseView.stories.d.ts +3 -9
  1102. package/lib/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
  1103. package/lib/work/CaseView/MobileCaseView.stories.js +1 -1
  1104. package/lib/work/CaseView/MobileCaseView.stories.js.map +1 -1
  1105. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  1106. package/lib/work/CaseView/Pulse.mocks.js +3 -3
  1107. package/lib/work/CaseView/Pulse.mocks.js.map +1 -1
  1108. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
  1109. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
  1110. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js +165 -0
  1111. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js.map +1 -0
  1112. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -8
  1113. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  1114. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js +5 -175
  1115. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +1 -1
  1116. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
  1117. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
  1118. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
  1119. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
  1120. package/lib/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  1121. package/lib/work/Confirmation/Confirmation.stories.js +4 -4
  1122. package/lib/work/Confirmation/Confirmation.stories.js.map +1 -1
  1123. package/lib/work/Details/Details.stories.d.ts.map +1 -1
  1124. package/lib/work/Details/Details.stories.js +56 -53
  1125. package/lib/work/Details/Details.stories.js.map +1 -1
  1126. package/lib/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  1127. package/lib/work/Glimpse/Glimpse.stories.js +3 -3
  1128. package/lib/work/Glimpse/Glimpse.stories.js.map +1 -1
  1129. package/lib/work/SearchResults/SearchResults.mocks.js +4 -4
  1130. package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -1
  1131. package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  1132. package/lib/work/SearchResults/SearchResults.stories.js +12 -12
  1133. package/lib/work/SearchResults/SearchResults.stories.js.map +1 -1
  1134. package/lib/work/Stages/Stages.stories.js +2 -2
  1135. package/lib/work/Stages/Stages.stories.js.map +1 -1
  1136. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  1137. package/lib/work/Stakeholders/Stakeholders.mocks.js +4 -4
  1138. package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -1
  1139. package/lib/work/Stakeholders/Stakeholders.stories.d.ts +2 -3
  1140. package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  1141. package/lib/work/Stakeholders/Stakeholders.stories.js +2 -1
  1142. package/lib/work/Stakeholders/Stakeholders.stories.js.map +1 -1
  1143. package/lib/work/Tags/Tags.stories.js +1 -1
  1144. package/lib/work/Tags/Tags.stories.js.map +1 -1
  1145. package/lib/work/Tasks/TaskList.stories.js +3 -3
  1146. package/lib/work/Tasks/TaskList.stories.js.map +1 -1
  1147. package/lib/work/Tasks/Tasks.stories.js +11 -11
  1148. package/lib/work/Tasks/Tasks.stories.js.map +1 -1
  1149. package/lib/work/Timeline/Timeline.mocks.js +8 -8
  1150. package/lib/work/Timeline/Timeline.mocks.js.map +1 -1
  1151. package/lib/work/Timeline/Timeline.stories.d.ts +1 -0
  1152. package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -1
  1153. package/lib/work/Timeline/Timeline.stories.js +24 -3
  1154. package/lib/work/Timeline/Timeline.stories.js.map +1 -1
  1155. package/package.json +22 -18
  1156. package/jsx/build/AppShell/AppShell.mocks.js.map +0 -1
  1157. package/jsx/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
  1158. package/jsx/cs/CSCaseView/CSCaseView.mocks.js.map +0 -1
  1159. package/jsx/social/Email/Email.mocks.js +0 -348
  1160. package/jsx/social/Email/Email.mocks.js.map +0 -1
@@ -0,0 +1,16 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Keyboard, Text } from '@pega/cosmos-react-core';
3
+ export default {
4
+ title: 'Core/Badges/Keyboard',
5
+ component: Keyboard
6
+ };
7
+ export const KeyboardBadge = (args) => {
8
+ return (_jsxs(Text, { variant: 'primary', children: ["Generally ", _jsx(Keyboard, { keyName: args.keyName }), " is used as a modifier key"] }));
9
+ };
10
+ KeyboardBadge.args = {
11
+ keyName: 'Command'
12
+ };
13
+ KeyboardBadge.argTypes = {
14
+ keyName: { control: { type: 'text' }, defaultValue: 'Ctrl' }
15
+ };
16
+ //# sourceMappingURL=Keyboard.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Keyboard.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Keyboard.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAiB,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAExE,eAAe;IACb,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,QAAQ;CACZ,CAAC;AAEV,MAAM,CAAC,MAAM,aAAa,GAAyB,CAAC,IAAmB,EAAE,EAAE;IACzE,OAAO,CACL,MAAC,IAAI,IAAC,OAAO,EAAC,SAAS,2BACX,KAAC,QAAQ,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,GAAI,kCACxC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,aAAa,CAAC,IAAI,GAAG;IACnB,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,aAAa,CAAC,QAAQ,GAAG;IACvB,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE;CAC7D,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Keyboard, KeyboardProps, Text } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Keyboard',\n component: Keyboard\n} as Meta;\n\nexport const KeyboardBadge: Story<KeyboardProps> = (args: KeyboardProps) => {\n return (\n <Text variant='primary'>\n Generally <Keyboard keyName={args.keyName} /> is used as a modifier key\n </Text>\n );\n};\n\nKeyboardBadge.args = {\n keyName: 'Command'\n};\n\nKeyboardBadge.argTypes = {\n keyName: { control: { type: 'text' }, defaultValue: 'Ctrl' }\n};\n"]}
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
3
2
  declare const _default: Meta<import("@storybook/react").Args>;
4
3
  export default _default;
5
- export declare const SelectableBadge: () => JSX.Element;
4
+ export declare const SelectableBadge: Story;
6
5
  //# sourceMappingURL=Selection.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Selection.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Selection.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;;AAIxC,wBAGU;AAEV,eAAO,MAAM,eAAe,mBAE3B,CAAC"}
1
+ {"version":3,"file":"Selection.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Selection.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAI/C,wBAGU;AAEV,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAC"}
@@ -5,6 +5,6 @@ export default {
5
5
  component: Selectable
6
6
  };
7
7
  export const SelectableBadge = () => {
8
- return _jsx(Selectable, { id: 'selectable', children: "Selectable" }, void 0);
8
+ return _jsx(Selectable, { id: 'selectable', children: "Selectable" });
9
9
  };
10
10
  //# sourceMappingURL=Selection.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Selection.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Selection.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,eAAe;IACb,KAAK,EAAE,wBAAwB;IAC/B,SAAS,EAAE,UAAU;CACd,CAAC;AAEV,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,OAAO,KAAC,UAAU,IAAC,EAAE,EAAC,YAAY,mCAAwB,CAAC;AAC7D,CAAC,CAAC","sourcesContent":["import { Meta } from '@storybook/react';\n\nimport { Selectable } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Selectable',\n component: Selectable\n} as Meta;\n\nexport const SelectableBadge = () => {\n return <Selectable id='selectable'>Selectable</Selectable>;\n};\n"]}
1
+ {"version":3,"file":"Selection.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Selection.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,eAAe;IACb,KAAK,EAAE,wBAAwB;IAC/B,SAAS,EAAE,UAAU;CACd,CAAC;AAEV,MAAM,CAAC,MAAM,eAAe,GAAU,GAAG,EAAE;IACzC,OAAO,KAAC,UAAU,IAAC,EAAE,EAAC,YAAY,2BAAwB,CAAC;AAC7D,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Selectable } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Selectable',\n component: Selectable\n} as Meta;\n\nexport const SelectableBadge: Story = () => {\n return <Selectable id='selectable'>Selectable</Selectable>;\n};\n"]}
@@ -3,4 +3,9 @@ import { StatusProps } from '@pega/cosmos-react-core';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const StatusBadge: Story<StatusProps>;
6
+ interface ConfigurableStatusBadgeProps {
7
+ foreground?: string;
8
+ background?: string;
9
+ }
10
+ export declare const ConfigurableStatusBadge: Story<ConfigurableStatusBadgeProps>;
6
11
  //# sourceMappingURL=Status.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Status.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Status.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAU,WAAW,EAAE,MAAM,yBAAyB,CAAC;;AAE9D,wBAGU;AAEV,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,WAAW,CAE1C,CAAC"}
1
+ {"version":3,"file":"Status.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Status.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAyB,WAAW,EAAE,MAAM,yBAAyB,CAAC;;AAE7E,wBAGU;AAEV,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,WAAW,CAE1C,CAAC;AAaF,UAAU,4BAA4B;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,4BAA4B,CAqBvE,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Status } from '@pega/cosmos-react-core';
2
+ import { Configuration, Status } from '@pega/cosmos-react-core';
3
3
  export default {
4
4
  component: Status,
5
5
  title: 'Core/Badges/Status'
6
6
  };
7
7
  export const StatusBadge = (args) => {
8
- return _jsx(Status, { variant: args.variant, children: args.variant }, void 0);
8
+ return _jsx(Status, { variant: args.variant, children: args.variant });
9
9
  };
10
10
  StatusBadge.args = {
11
11
  variant: 'success'
@@ -16,4 +16,26 @@ StatusBadge.argTypes = {
16
16
  control: { type: 'select' }
17
17
  }
18
18
  };
19
+ export const ConfigurableStatusBadge = (args) => {
20
+ return (_jsx(Configuration, { theme: {
21
+ components: {
22
+ badges: {
23
+ status: {
24
+ success: {
25
+ foreground: args.foreground,
26
+ background: args.background
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }, children: _jsx(Status, { variant: 'success', children: "Configurable Success" }) }));
32
+ };
33
+ ConfigurableStatusBadge.args = {
34
+ foreground: '#156f35',
35
+ background: '#d4f7d5'
36
+ };
37
+ ConfigurableStatusBadge.argTypes = {
38
+ foreground: { control: { type: 'color' } },
39
+ background: { control: { type: 'color' } }
40
+ };
19
41
  //# sourceMappingURL=Status.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Status.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Status.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAe,MAAM,yBAAyB,CAAC;AAE9D,eAAe;IACb,SAAS,EAAE,MAAM;IACjB,KAAK,EAAE,oBAAoB;CACpB,CAAC;AAEV,MAAM,CAAC,MAAM,WAAW,GAAuB,CAAC,IAAiB,EAAE,EAAE;IACnE,OAAO,KAAC,MAAM,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,YAAG,IAAI,CAAC,OAAO,WAAU,CAAC;AAChE,CAAC,CAAC;AAEF,WAAW,CAAC,IAAI,GAAG;IACjB,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,WAAW,CAAC,QAAQ,GAAG;IACrB,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC;QACzD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Status, StatusProps } from '@pega/cosmos-react-core';\n\nexport default {\n component: Status,\n title: 'Core/Badges/Status'\n} as Meta;\n\nexport const StatusBadge: Story<StatusProps> = (args: StatusProps) => {\n return <Status variant={args.variant}>{args.variant}</Status>;\n};\n\nStatusBadge.args = {\n variant: 'success'\n};\n\nStatusBadge.argTypes = {\n variant: {\n options: ['success', 'urgent', 'warn', 'pending', 'info'],\n control: { type: 'select' }\n }\n};\n"]}
1
+ {"version":3,"file":"Status.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Status.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAe,MAAM,yBAAyB,CAAC;AAE7E,eAAe;IACb,SAAS,EAAE,MAAM;IACjB,KAAK,EAAE,oBAAoB;CACpB,CAAC;AAEV,MAAM,CAAC,MAAM,WAAW,GAAuB,CAAC,IAAiB,EAAE,EAAE;IACnE,OAAO,KAAC,MAAM,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,YAAG,IAAI,CAAC,OAAO,GAAU,CAAC;AAChE,CAAC,CAAC;AAEF,WAAW,CAAC,IAAI,GAAG;IACjB,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,WAAW,CAAC,QAAQ,GAAG;IACrB,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC;QACzD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC;AAOF,MAAM,CAAC,MAAM,uBAAuB,GAAwC,CAC1E,IAAkC,EAClC,EAAE;IACF,OAAO,CACL,KAAC,aAAa,IACZ,KAAK,EAAE;YACL,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,MAAM,EAAE;wBACN,OAAO,EAAE;4BACP,UAAU,EAAE,IAAI,CAAC,UAAU;4BAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;yBAC5B;qBACF;iBACF;aACF;SACF,YAED,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,qCAA8B,GACzC,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,uBAAuB,CAAC,IAAI,GAAG;IAC7B,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;CACtB,CAAC;AAEF,uBAAuB,CAAC,QAAQ,GAAG;IACjC,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC1C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;CAC3C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Configuration, Status, StatusProps } from '@pega/cosmos-react-core';\n\nexport default {\n component: Status,\n title: 'Core/Badges/Status'\n} as Meta;\n\nexport const StatusBadge: Story<StatusProps> = (args: StatusProps) => {\n return <Status variant={args.variant}>{args.variant}</Status>;\n};\n\nStatusBadge.args = {\n variant: 'success'\n};\n\nStatusBadge.argTypes = {\n variant: {\n options: ['success', 'urgent', 'warn', 'pending', 'info'],\n control: { type: 'select' }\n }\n};\n\ninterface ConfigurableStatusBadgeProps {\n foreground?: string;\n background?: string;\n}\n\nexport const ConfigurableStatusBadge: Story<ConfigurableStatusBadgeProps> = (\n args: ConfigurableStatusBadgeProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n badges: {\n status: {\n success: {\n foreground: args.foreground,\n background: args.background\n }\n }\n }\n }\n }}\n >\n <Status variant='success'>Configurable Success</Status>\n </Configuration>\n );\n};\n\nConfigurableStatusBadge.args = {\n foreground: '#156f35',\n background: '#d4f7d5'\n};\n\nConfigurableStatusBadge.argTypes = {\n foreground: { control: { type: 'color' } },\n background: { control: { type: 'color' } }\n};\n"]}
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
3
2
  declare const _default: Meta<import("@storybook/react").Args>;
4
3
  export default _default;
5
- export declare const TagBadge: () => JSX.Element;
4
+ export declare const TagBadge: Story;
6
5
  //# sourceMappingURL=Tag.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Tag.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;;AAIxC,wBAGU;AAEV,eAAO,MAAM,QAAQ,mBAEpB,CAAC"}
1
+ {"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Tag.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAI/C,wBAGU;AAEV,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC"}
@@ -5,6 +5,6 @@ export default {
5
5
  component: Tag
6
6
  };
7
7
  export const TagBadge = () => {
8
- return _jsx(Tag, { children: "#PegaCosmos" }, void 0);
8
+ return _jsx(Tag, { children: "#PegaCosmos" });
9
9
  };
10
10
  //# sourceMappingURL=Tag.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Tag.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAE9C,eAAe;IACb,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,GAAG;CACP,CAAC;AAEV,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE;IAC3B,OAAO,KAAC,GAAG,sCAAkB,CAAC;AAChC,CAAC,CAAC","sourcesContent":["import { Meta } from '@storybook/react';\n\nimport { Tag } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Tag',\n component: Tag\n} as Meta;\n\nexport const TagBadge = () => {\n return <Tag>#PegaCosmos</Tag>;\n};\n"]}
1
+ {"version":3,"file":"Tag.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Tag.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAE9C,eAAe;IACb,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,GAAG;CACP,CAAC;AAEV,MAAM,CAAC,MAAM,QAAQ,GAAU,GAAG,EAAE;IAClC,OAAO,KAAC,GAAG,8BAAkB,CAAC;AAChC,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Tag } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Tag',\n component: Tag\n} as Meta;\n\nexport const TagBadge: Story = () => {\n return <Tag>#PegaCosmos</Tag>;\n};\n"]}
@@ -23,7 +23,7 @@ export const demoFields = [
23
23
  validator: (value) => value === 'Field 3'
24
24
  }
25
25
  ];
26
- export const formActions = (_jsxs(_Fragment, { children: [_jsx(Button, { name: 'Cancel', variant: 'secondary', children: "Cancel" }, void 0), _jsx(Button, { name: 'Submit', type: 'submit', variant: 'primary', children: "Submit" }, void 0)] }, void 0));
26
+ export const formActions = (_jsxs(_Fragment, { children: [_jsx(Button, { name: 'Cancel', variant: 'secondary', children: "Cancel" }), _jsx(Button, { name: 'Submit', type: 'submit', variant: 'primary', children: "Submit" })] }));
27
27
  // Handles setting of state for all fields
28
28
  export const fieldReducer = (fields, inputEl) => {
29
29
  return fields.map(field => {
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.mocks.js","sourceRoot":"","sources":["../../../src/core/Banner/Banner.mocks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAUjD,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,mCAAmC;QACzC,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS;KAClD;IACD;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,mCAAmC;QACzC,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS;KAClD;IACD;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,mCAAmC;QACzC,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS;KAClD;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,8BACE,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,WAAW,+BAEhC,EACT,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,SAAS,+BAE5C,YACR,CACJ,CAAC;AAEF,0CAA0C;AAC1C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,MAAuB,EAAE,OAAY,EAAE,EAAE;IACpE,OAAO,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;QACxB,IAAI,OAAO,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,EAAE;YAC/B,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;SAC7B;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;AACL,CAAC,CAAC","sourcesContent":["import { Button } from '@pega/cosmos-react-core';\n\nexport interface DemoFormField {\n name: string;\n label: string;\n info: string;\n value: string;\n validator: (value: string) => boolean;\n}\n\nexport const demoFields = [\n {\n name: 'field-1',\n label: 'Field 1',\n info: 'Hint: type exact label text above',\n value: '',\n validator: (value: string) => value === 'Field 1'\n },\n {\n name: 'field-2',\n label: 'Field 2',\n info: 'Hint: type exact label text above',\n value: '',\n validator: (value: string) => value === 'Field 2'\n },\n {\n name: 'field-3',\n label: 'Field 3',\n info: 'Hint: type exact label text above',\n value: '',\n validator: (value: string) => value === 'Field 3'\n }\n];\n\nexport const formActions = (\n <>\n <Button name='Cancel' variant='secondary'>\n Cancel\n </Button>\n <Button name='Submit' type='submit' variant='primary'>\n Submit\n </Button>\n </>\n);\n\n// Handles setting of state for all fields\nexport const fieldReducer = (fields: DemoFormField[], inputEl: any) => {\n return fields.map(field => {\n if (inputEl.name === field.name) {\n field.value = inputEl.value;\n }\n return field;\n });\n};\n"]}
1
+ {"version":3,"file":"Banner.mocks.js","sourceRoot":"","sources":["../../../src/core/Banner/Banner.mocks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAUjD,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,mCAAmC;QACzC,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS;KAClD;IACD;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,mCAAmC;QACzC,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS;KAClD;IACD;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,mCAAmC;QACzC,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS;KAClD;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,8BACE,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,WAAW,uBAEhC,EACT,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,SAAS,uBAE5C,IACR,CACJ,CAAC;AAEF,0CAA0C;AAC1C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,MAAuB,EAAE,OAAY,EAAE,EAAE;IACpE,OAAO,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;QACxB,IAAI,OAAO,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,EAAE;YAC/B,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;SAC7B;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;AACL,CAAC,CAAC","sourcesContent":["import { Button } from '@pega/cosmos-react-core';\n\nexport interface DemoFormField {\n name: string;\n label: string;\n info: string;\n value: string;\n validator: (value: string) => boolean;\n}\n\nexport const demoFields = [\n {\n name: 'field-1',\n label: 'Field 1',\n info: 'Hint: type exact label text above',\n value: '',\n validator: (value: string) => value === 'Field 1'\n },\n {\n name: 'field-2',\n label: 'Field 2',\n info: 'Hint: type exact label text above',\n value: '',\n validator: (value: string) => value === 'Field 2'\n },\n {\n name: 'field-3',\n label: 'Field 3',\n info: 'Hint: type exact label text above',\n value: '',\n validator: (value: string) => value === 'Field 3'\n }\n];\n\nexport const formActions = (\n <>\n <Button name='Cancel' variant='secondary'>\n Cancel\n </Button>\n <Button name='Submit' type='submit' variant='primary'>\n Submit\n </Button>\n </>\n);\n\n// Handles setting of state for all fields\nexport const fieldReducer = (fields: DemoFormField[], inputEl: any) => {\n return fields.map(field => {\n if (inputEl.name === field.name) {\n field.value = inputEl.value;\n }\n return field;\n });\n};\n"]}
@@ -1,22 +1,15 @@
1
- /// <reference types="react" />
2
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
3
2
  declare const _default: Meta<import("@storybook/react").Args>;
4
3
  export default _default;
5
- export declare const SuccessBanner: () => JSX.Element;
6
- export declare const ErrorBanner: () => JSX.Element;
7
- export declare const WarningBanner: () => JSX.Element;
8
- export declare const InfoBanner: () => JSX.Element;
9
- export declare const ShownInForm: () => JSX.Element;
10
- export declare const ShownInCaseView: {
11
- (): JSX.Element;
12
- parameters: {
13
- layout: string;
14
- };
15
- };
16
- export declare const ShownInAppShell: {
17
- (): JSX.Element;
18
- parameters: {
19
- layout: string;
20
- };
21
- };
4
+ export declare const SuccessBanner: Story;
5
+ export declare const ErrorBanner: Story;
6
+ export declare const WarningBanner: Story;
7
+ export declare const InfoBanner: Story;
8
+ interface ConfigurableErrorBannerProps {
9
+ background?: string;
10
+ }
11
+ export declare const ConfigurableErrorBanner: Story<ConfigurableErrorBannerProps>;
12
+ export declare const ShownInForm: Story;
13
+ export declare const ShownInCaseView: Story;
14
+ export declare const ShownInAppShell: Story;
22
15
  //# sourceMappingURL=Banner.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Banner/Banner.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;;AASxC,wBAGU;AAEV,eAAO,MAAM,aAAa,mBAiBzB,CAAC;AAEF,eAAO,MAAM,WAAW,mBAcvB,CAAC;AAEF,eAAO,MAAM,aAAa,mBAazB,CAAC;AAEF,eAAO,MAAM,UAAU,mBAkBtB,CAAC;AAMF,eAAO,MAAM,WAAW,mBA6DvB,CAAC;AAKF,eAAO,MAAM,eAAe;;;;;CAiB3B,CAAC;AASF,eAAO,MAAM,eAAe;;;;;CAsB3B,CAAC"}
1
+ {"version":3,"file":"Banner.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Banner/Banner.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAU/C,wBAGU;AAEV,eAAO,MAAM,aAAa,EAAE,KAiB3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAczB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAa3B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAkBxB,CAAC;AAEF,UAAU,4BAA4B;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,4BAA4B,CA4BvE,CAAC;AAcF,eAAO,MAAM,WAAW,EAAE,KA6DzB,CAAC;AAKF,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC;AASF,eAAO,MAAM,eAAe,EAAE,KAsB7B,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState, useCallback, useReducer } from 'react';
3
- import { Banner, Button, Form, Input, Link } from '@pega/cosmos-react-core';
4
- import { AppShellDemo } from '@pega/cosmos-react-demos/lib/core/AppShell/AppShell.stories';
5
- import { CaseViewDemo } from '@pega/cosmos-react-demos/lib/work/CaseView/CaseView.stories';
3
+ import { Banner, Button, Configuration, Form, Input, Link } from '@pega/cosmos-react-core';
4
+ import { AppShellDemo } from '../AppShell/AppShell.stories';
5
+ import { CaseViewDemo } from '../../work/CaseView/CaseView.stories';
6
6
  import { demoFields, fieldReducer, formActions } from './Banner.mocks';
7
7
  export default {
8
8
  title: 'Core/Banner',
@@ -10,19 +10,36 @@ export default {
10
10
  };
11
11
  export const SuccessBanner = () => {
12
12
  const [showBanner, setShowBanner] = useState(true);
13
- return (_jsxs(_Fragment, { children: [!showBanner && _jsx(Button, { onClick: () => setShowBanner(true), children: "Open banner" }, void 0), showBanner && (_jsx(Banner, { id: 'success', variant: 'success', onDismiss: () => setShowBanner(false), heading: '2 items uploaded successfully', messages: ['pega_data.json', 'business-earnings.xlsx'] }, void 0))] }, void 0));
13
+ return (_jsxs(_Fragment, { children: [!showBanner && _jsx(Button, { onClick: () => setShowBanner(true), children: "Open banner" }), showBanner && (_jsx(Banner, { id: 'success', variant: 'success', onDismiss: () => setShowBanner(false), heading: '2 items uploaded successfully', messages: ['pega_data.json', 'business-earnings.xlsx'] }))] }));
14
14
  };
15
15
  export const ErrorBanner = () => {
16
- return (_jsx(Banner, { id: 'error', variant: 'urgent', heading: 'Error', action: _jsx("div", { children: _jsx(Button, { variant: 'link', children: "Try again" }, void 0) }, void 0), messages: ['Your request failed to send!', 'Please review your request and try again'] }, void 0));
16
+ return (_jsx(Banner, { id: 'error', variant: 'urgent', heading: 'Error', action: _jsx("div", { children: _jsx(Button, { variant: 'link', children: "Try again" }) }), messages: ['Your request failed to send!', 'Please review your request and try again'] }));
17
17
  };
18
18
  export const WarningBanner = () => {
19
- return (_jsx(Banner, { id: 'warning', variant: 'warning', action: _jsx("div", { children: _jsx(Button, { variant: 'link', children: "Why this matters" }, void 0) }, void 0), messages: ['Your submission is missing some important documents.'] }, void 0));
19
+ return (_jsx(Banner, { id: 'warning', variant: 'warning', action: _jsx("div", { children: _jsx(Button, { variant: 'link', children: "Why this matters" }) }), messages: ['Your submission is missing some important documents.'] }));
20
20
  };
21
21
  export const InfoBanner = () => {
22
22
  const [showBanner, setShowBanner] = useState(true);
23
- return (_jsxs(_Fragment, { children: [!showBanner && _jsx(Button, { onClick: () => setShowBanner(true), children: "Open banner" }, void 0), showBanner && (_jsx(Banner, { id: 'info', variant: 'info', onDismiss: () => setShowBanner(false), messages: [
23
+ return (_jsxs(_Fragment, { children: [!showBanner && _jsx(Button, { onClick: () => setShowBanner(true), children: "Open banner" }), showBanner && (_jsx(Banner, { id: 'info', variant: 'info', onDismiss: () => setShowBanner(false), messages: [
24
24
  'US-123456 is currently being modified by Jane Smith and may not be edited simultaneously.'
25
- ] }, void 0))] }, void 0));
25
+ ] }))] }));
26
+ };
27
+ export const ConfigurableErrorBanner = (args) => {
28
+ return (_jsx(Configuration, { theme: {
29
+ components: {
30
+ banner: {
31
+ urgent: {
32
+ background: args.background
33
+ }
34
+ }
35
+ }
36
+ }, children: _jsx(Banner, { id: 'error', variant: 'urgent', heading: 'Error', action: _jsx("div", { children: _jsx(Button, { variant: 'link', children: "Try again" }) }), messages: ['Your request failed to send!', 'Please review your request and try again'] }) }));
37
+ };
38
+ ConfigurableErrorBanner.args = {
39
+ background: '#d91c29'
40
+ };
41
+ ConfigurableErrorBanner.argTypes = {
42
+ background: { control: { type: 'color' } }
26
43
  };
27
44
  // -----------------------------------------------------------------------------
28
45
  // Form story
@@ -41,7 +58,7 @@ export const ShownInForm = () => {
41
58
  heading = "I'm sorry you're having trouble";
42
59
  variant = 'urgent';
43
60
  messages = errorFields.map(f => `${f.name} was not typed correctly`);
44
- bannerAction = (_jsx(Link, { href: 'https://community.pega.com/support', target: '_blank', children: "Visit Pega support for assistance" }, void 0));
61
+ bannerAction = (_jsx(Link, { href: 'https://community.pega.com/support', target: '_blank', children: "Visit Pega support for assistance" }));
45
62
  }
46
63
  setBanner(_jsx(Banner, { ...{
47
64
  heading,
@@ -52,18 +69,18 @@ export const ShownInForm = () => {
52
69
  onDismiss() {
53
70
  setBanner(false);
54
71
  }
55
- } }, void 0));
72
+ } }));
56
73
  }, []);
57
74
  return (_jsx(Form, { banners: banner, actions: formActions, onSubmit: onSubmit, style: { margin: 'auto', padding: '2.5rem', maxWidth: '37.5rem' }, children: fields.map((field) => {
58
75
  return (_jsx(Input, { autoComplete: 'off', name: field.name, label: field.label, info: field.info, value: field.value, onChange: (e) => setField(e.target) }, field.name));
59
- }) }, void 0));
76
+ }) }));
60
77
  };
61
78
  // -----------------------------------------------------------------------------
62
79
  // CaseView story
63
80
  // -----------------------------------------------------------------------------
64
81
  export const ShownInCaseView = () => {
65
82
  const [hasBanner, setHasBanner] = useState(true);
66
- return (_jsx(CaseViewDemo, { banners: hasBanner && (_jsx(Banner, { id: 'case-view-error', heading: 'Waring', onDismiss: () => setHasBanner(false), variant: 'warning', messages: ['Your submission is missing some important documents.'] }, void 0)) }, void 0));
83
+ return (_jsx(CaseViewDemo, { banners: hasBanner && (_jsx(Banner, { id: 'case-view-error', heading: 'Waring', onDismiss: () => setHasBanner(false), variant: 'warning', messages: ['Your submission is missing some important documents.'] })) }));
67
84
  };
68
85
  ShownInCaseView.parameters = {
69
86
  layout: 'fullscreen'
@@ -73,7 +90,7 @@ ShownInCaseView.parameters = {
73
90
  // -----------------------------------------------------------------------------
74
91
  export const ShownInAppShell = () => {
75
92
  const [hasBanner, setHasBanner] = useState([]);
76
- return (_jsx(AppShellDemo, { banners: hasBanner && (_jsx(Banner, { id: 'app-shell-banner-success', heading: '2 items uploaded successfully', onDismiss: () => setHasBanner([]), variant: 'success', messages: ['pega_data.json', 'business-earnings.xlsx'], action: _jsx(Link, { target: '_blank', href: 'https://www.pega.com', children: "Link Here!" }, void 0) }, void 0)) }, void 0));
93
+ return (_jsx(AppShellDemo, { banners: hasBanner && (_jsx(Banner, { id: 'app-shell-banner-success', heading: '2 items uploaded successfully', onDismiss: () => setHasBanner([]), variant: 'success', messages: ['pega_data.json', 'business-earnings.xlsx'], action: _jsx(Link, { target: '_blank', href: 'https://www.pega.com', children: "Link Here!" }) })) }));
77
94
  };
78
95
  ShownInAppShell.parameters = {
79
96
  layout: 'fullscreen'
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.stories.js","sourceRoot":"","sources":["../../../src/core/Banner/Banner.stories.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Meta } from '@storybook/react';\nimport { useState, useCallback, FormEvent, useReducer } from 'react';\n\nimport { Banner, Button, Form, Input, Link } from '@pega/cosmos-react-core';\nimport { AppShellDemo } from '@pega/cosmos-react-demos/lib/core/AppShell/AppShell.stories';\nimport { CaseViewDemo } from '@pega/cosmos-react-demos/lib/work/CaseView/CaseView.stories';\n\nimport { demoFields, DemoFormField, fieldReducer, formActions } from './Banner.mocks';\n\nexport default {\n title: 'Core/Banner',\n component: Banner\n} as Meta;\n\nexport const SuccessBanner = () => {\n const [showBanner, setShowBanner] = useState(true);\n\n return (\n <>\n {!showBanner && <Button onClick={() => setShowBanner(true)}>Open banner</Button>}\n {showBanner && (\n <Banner\n id='success'\n variant='success'\n onDismiss={() => setShowBanner(false)}\n heading='2 items uploaded successfully'\n messages={['pega_data.json', 'business-earnings.xlsx']}\n />\n )}\n </>\n );\n};\n\nexport const ErrorBanner = () => {\n return (\n <Banner\n id='error'\n variant='urgent'\n heading='Error'\n action={\n <div>\n <Button variant='link'>Try again</Button>\n </div>\n }\n messages={['Your request failed to send!', 'Please review your request and try again']}\n />\n );\n};\n\nexport const WarningBanner = () => {\n return (\n <Banner\n id='warning'\n variant='warning'\n action={\n <div>\n <Button variant='link'>Why this matters</Button>\n </div>\n }\n messages={['Your submission is missing some important documents.']}\n />\n );\n};\n\nexport const InfoBanner = () => {\n const [showBanner, setShowBanner] = useState(true);\n\n return (\n <>\n {!showBanner && <Button onClick={() => setShowBanner(true)}>Open banner</Button>}\n {showBanner && (\n <Banner\n id='info'\n variant='info'\n onDismiss={() => setShowBanner(false)}\n messages={[\n 'US-123456 is currently being modified by Jane Smith and may not be edited simultaneously.'\n ]}\n />\n )}\n </>\n );\n};\n\n// -----------------------------------------------------------------------------\n// Form story\n// -----------------------------------------------------------------------------\n\nexport const ShownInForm = () => {\n const [fields, setField] = useReducer(fieldReducer, demoFields);\n const [banner, setBanner] = useState<any>();\n\n const onSubmit = useCallback((e: FormEvent) => {\n e.preventDefault();\n const errorFields = fields.filter(field => !field.validator(field.value));\n let heading = 'Wow, great job!';\n let variant: 'success' | 'urgent' = 'success';\n let messages = fields.map(f => `${f.name} was typed perfectly`);\n let bannerAction;\n\n if (errorFields.length > 0) {\n heading = \"I'm sorry you're having trouble\";\n variant = 'urgent';\n messages = errorFields.map(f => `${f.name} was not typed correctly`);\n bannerAction = (\n <Link href='https://community.pega.com/support' target='_blank'>\n Visit Pega support for assistance\n </Link>\n );\n }\n\n setBanner(\n <Banner\n {...{\n heading,\n variant,\n messages,\n id: 'formBanner',\n action: bannerAction,\n onDismiss() {\n setBanner(false);\n }\n }}\n />\n );\n }, []);\n\n return (\n <Form\n banners={banner}\n actions={formActions}\n onSubmit={onSubmit}\n style={{ margin: 'auto', padding: '2.5rem', maxWidth: '37.5rem' }}\n >\n {fields.map((field: DemoFormField) => {\n return (\n <Input\n key={field.name}\n autoComplete='off'\n name={field.name}\n label={field.label}\n info={field.info}\n value={field.value}\n onChange={(e: InputEvent) => setField(e.target as any)}\n />\n );\n })}\n </Form>\n );\n};\n\n// -----------------------------------------------------------------------------\n// CaseView story\n// -----------------------------------------------------------------------------\nexport const ShownInCaseView = () => {\n const [hasBanner, setHasBanner] = useState(true);\n return (\n <CaseViewDemo\n banners={\n hasBanner && (\n <Banner\n id='case-view-error'\n heading='Waring'\n onDismiss={() => setHasBanner(false)}\n variant='warning'\n messages={['Your submission is missing some important documents.']}\n />\n )\n }\n />\n );\n};\n\nShownInCaseView.parameters = {\n layout: 'fullscreen'\n};\n\n// -----------------------------------------------------------------------------\n// AppShell story\n// -----------------------------------------------------------------------------\nexport const ShownInAppShell = () => {\n const [hasBanner, setHasBanner] = useState([]);\n return (\n <AppShellDemo\n banners={\n hasBanner && (\n <Banner\n id='app-shell-banner-success'\n heading='2 items uploaded successfully'\n onDismiss={() => setHasBanner([])}\n variant='success'\n messages={['pega_data.json', 'business-earnings.xlsx']}\n action={\n <Link target='_blank' href='https://www.pega.com'>\n Link Here!\n </Link>\n }\n />\n )\n }\n />\n );\n};\n\nShownInAppShell.parameters = {\n layout: 'fullscreen'\n};\n"]}
1
+ {"version":3,"file":"Banner.stories.js","sourceRoot":"","sources":["../../../src/core/Banner/Banner.stories.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { useState, useCallback, FormEvent, useReducer } from 'react';\n\nimport { Banner, Button, Configuration, Form, Input, Link } from '@pega/cosmos-react-core';\n\nimport { AppShellDemo } from '../AppShell/AppShell.stories';\nimport { CaseViewDemo } from '../../work/CaseView/CaseView.stories';\n\nimport { demoFields, DemoFormField, fieldReducer, formActions } from './Banner.mocks';\n\nexport default {\n title: 'Core/Banner',\n component: Banner\n} as Meta;\n\nexport const SuccessBanner: Story = () => {\n const [showBanner, setShowBanner] = useState(true);\n\n return (\n <>\n {!showBanner && <Button onClick={() => setShowBanner(true)}>Open banner</Button>}\n {showBanner && (\n <Banner\n id='success'\n variant='success'\n onDismiss={() => setShowBanner(false)}\n heading='2 items uploaded successfully'\n messages={['pega_data.json', 'business-earnings.xlsx']}\n />\n )}\n </>\n );\n};\n\nexport const ErrorBanner: Story = () => {\n return (\n <Banner\n id='error'\n variant='urgent'\n heading='Error'\n action={\n <div>\n <Button variant='link'>Try again</Button>\n </div>\n }\n messages={['Your request failed to send!', 'Please review your request and try again']}\n />\n );\n};\n\nexport const WarningBanner: Story = () => {\n return (\n <Banner\n id='warning'\n variant='warning'\n action={\n <div>\n <Button variant='link'>Why this matters</Button>\n </div>\n }\n messages={['Your submission is missing some important documents.']}\n />\n );\n};\n\nexport const InfoBanner: Story = () => {\n const [showBanner, setShowBanner] = useState(true);\n\n return (\n <>\n {!showBanner && <Button onClick={() => setShowBanner(true)}>Open banner</Button>}\n {showBanner && (\n <Banner\n id='info'\n variant='info'\n onDismiss={() => setShowBanner(false)}\n messages={[\n 'US-123456 is currently being modified by Jane Smith and may not be edited simultaneously.'\n ]}\n />\n )}\n </>\n );\n};\n\ninterface ConfigurableErrorBannerProps {\n background?: string;\n}\n\nexport const ConfigurableErrorBanner: Story<ConfigurableErrorBannerProps> = (\n args: ConfigurableErrorBannerProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n banner: {\n urgent: {\n background: args.background\n }\n }\n }\n }}\n >\n <Banner\n id='error'\n variant='urgent'\n heading='Error'\n action={\n <div>\n <Button variant='link'>Try again</Button>\n </div>\n }\n messages={['Your request failed to send!', 'Please review your request and try again']}\n />\n </Configuration>\n );\n};\n\nConfigurableErrorBanner.args = {\n background: '#d91c29'\n};\n\nConfigurableErrorBanner.argTypes = {\n background: { control: { type: 'color' } }\n};\n\n// -----------------------------------------------------------------------------\n// Form story\n// -----------------------------------------------------------------------------\n\nexport const ShownInForm: Story = () => {\n const [fields, setField] = useReducer(fieldReducer, demoFields);\n const [banner, setBanner] = useState<any>();\n\n const onSubmit = useCallback((e: FormEvent) => {\n e.preventDefault();\n const errorFields = fields.filter(field => !field.validator(field.value));\n let heading = 'Wow, great job!';\n let variant: 'success' | 'urgent' = 'success';\n let messages = fields.map(f => `${f.name} was typed perfectly`);\n let bannerAction;\n\n if (errorFields.length > 0) {\n heading = \"I'm sorry you're having trouble\";\n variant = 'urgent';\n messages = errorFields.map(f => `${f.name} was not typed correctly`);\n bannerAction = (\n <Link href='https://community.pega.com/support' target='_blank'>\n Visit Pega support for assistance\n </Link>\n );\n }\n\n setBanner(\n <Banner\n {...{\n heading,\n variant,\n messages,\n id: 'formBanner',\n action: bannerAction,\n onDismiss() {\n setBanner(false);\n }\n }}\n />\n );\n }, []);\n\n return (\n <Form\n banners={banner}\n actions={formActions}\n onSubmit={onSubmit}\n style={{ margin: 'auto', padding: '2.5rem', maxWidth: '37.5rem' }}\n >\n {fields.map((field: DemoFormField) => {\n return (\n <Input\n key={field.name}\n autoComplete='off'\n name={field.name}\n label={field.label}\n info={field.info}\n value={field.value}\n onChange={(e: InputEvent) => setField(e.target as any)}\n />\n );\n })}\n </Form>\n );\n};\n\n// -----------------------------------------------------------------------------\n// CaseView story\n// -----------------------------------------------------------------------------\nexport const ShownInCaseView: Story = () => {\n const [hasBanner, setHasBanner] = useState(true);\n return (\n <CaseViewDemo\n banners={\n hasBanner && (\n <Banner\n id='case-view-error'\n heading='Waring'\n onDismiss={() => setHasBanner(false)}\n variant='warning'\n messages={['Your submission is missing some important documents.']}\n />\n )\n }\n />\n );\n};\n\nShownInCaseView.parameters = {\n layout: 'fullscreen'\n};\n\n// -----------------------------------------------------------------------------\n// AppShell story\n// -----------------------------------------------------------------------------\nexport const ShownInAppShell: Story = () => {\n const [hasBanner, setHasBanner] = useState([]);\n return (\n <AppShellDemo\n banners={\n hasBanner && (\n <Banner\n id='app-shell-banner-success'\n heading='2 items uploaded successfully'\n onDismiss={() => setHasBanner([])}\n variant='success'\n messages={['pega_data.json', 'business-earnings.xlsx']}\n action={\n <Link target='_blank' href='https://www.pega.com'>\n Link Here!\n </Link>\n }\n />\n )\n }\n />\n );\n};\n\nShownInAppShell.parameters = {\n layout: 'fullscreen'\n};\n"]}
@@ -5,7 +5,7 @@ export default {
5
5
  component: BooleanDisplay
6
6
  };
7
7
  export const BooleanDisplayDemo = (args) => {
8
- return (_jsx(BooleanDisplay, { value: args.value, trueLabel: args.trueLabel, falseLabel: args.falseLabel }, void 0));
8
+ return (_jsx(BooleanDisplay, { value: args.value, trueLabel: args.trueLabel, falseLabel: args.falseLabel }));
9
9
  };
10
10
  BooleanDisplayDemo.args = {
11
11
  value: true,
@@ -1 +1 @@
1
- {"version":3,"file":"BooleanDisplay.stories.js","sourceRoot":"","sources":["../../../src/core/Boolean/BooleanDisplay.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,EAAuB,MAAM,yBAAyB,CAAC;AAE9E,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,cAAc;CAClB,CAAC;AAEV,MAAM,CAAC,MAAM,kBAAkB,GAA+B,CAAC,IAAyB,EAAE,EAAE;IAC1F,OAAO,CACL,KAAC,cAAc,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,WAAI,CAC9F,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAkB,CAAC,IAAI,GAAG;IACxB,KAAK,EAAE,IAAI;IACX,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,IAAI;CACjB,CAAC;AAEF,kBAAkB,CAAC,QAAQ,GAAG;IAC5B,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACvC,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACxC,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CAC1C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { BooleanDisplay, BooleanDisplayProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Boolean',\n component: BooleanDisplay\n} as Meta;\n\nexport const BooleanDisplayDemo: Story<BooleanDisplayProps> = (args: BooleanDisplayProps) => {\n return (\n <BooleanDisplay value={args.value} trueLabel={args.trueLabel} falseLabel={args.falseLabel} />\n );\n};\n\nBooleanDisplayDemo.args = {\n value: true,\n trueLabel: 'Yes',\n falseLabel: 'No'\n};\n\nBooleanDisplayDemo.argTypes = {\n value: { control: { type: 'boolean' } },\n trueLabel: { control: { type: 'text' } },\n falseLabel: { control: { type: 'text' } }\n};\n"]}
1
+ {"version":3,"file":"BooleanDisplay.stories.js","sourceRoot":"","sources":["../../../src/core/Boolean/BooleanDisplay.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,EAAuB,MAAM,yBAAyB,CAAC;AAE9E,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,cAAc;CAClB,CAAC;AAEV,MAAM,CAAC,MAAM,kBAAkB,GAA+B,CAAC,IAAyB,EAAE,EAAE;IAC1F,OAAO,CACL,KAAC,cAAc,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,GAAI,CAC9F,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAkB,CAAC,IAAI,GAAG;IACxB,KAAK,EAAE,IAAI;IACX,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,IAAI;CACjB,CAAC;AAEF,kBAAkB,CAAC,QAAQ,GAAG;IAC5B,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACvC,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACxC,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CAC1C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { BooleanDisplay, BooleanDisplayProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Boolean',\n component: BooleanDisplay\n} as Meta;\n\nexport const BooleanDisplayDemo: Story<BooleanDisplayProps> = (args: BooleanDisplayProps) => {\n return (\n <BooleanDisplay value={args.value} trueLabel={args.trueLabel} falseLabel={args.falseLabel} />\n );\n};\n\nBooleanDisplayDemo.args = {\n value: true,\n trueLabel: 'Yes',\n falseLabel: 'No'\n};\n\nBooleanDisplayDemo.argTypes = {\n value: { control: { type: 'boolean' } },\n trueLabel: { control: { type: 'text' } },\n falseLabel: { control: { type: 'text' } }\n};\n"]}
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
3
2
  declare const _default: Meta<import("@storybook/react").Args>;
4
3
  export default _default;
5
- export declare const BreadcrumbsDemo: () => JSX.Element;
6
- export declare const ContainedBreadcrumbs: () => JSX.Element;
4
+ export declare const BreadcrumbsDemo: Story;
5
+ export declare const ContainedBreadcrumbs: Story;
7
6
  //# sourceMappingURL=Breadcrumbs.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;;AAMxC,wBAGU;AAEV,eAAO,MAAM,eAAe,mBAU3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,mBAchC,CAAC"}
1
+ {"version":3,"file":"Breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAM/C,wBAGU;AAEV,eAAO,MAAM,eAAe,EAAE,KAU7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAclC,CAAC"}
@@ -13,7 +13,7 @@ export const BreadcrumbsDemo = () => {
13
13
  { id: 'Plan claims', primary: 'Plan claims', href: '#plan-claims' },
14
14
  { id: 'View benefit claims', primary: 'View benefit claims' }
15
15
  ];
16
- return _jsx(Breadcrumbs, { path: crumbs }, void 0);
16
+ return _jsx(Breadcrumbs, { path: crumbs });
17
17
  };
18
18
  export const ContainedBreadcrumbs = () => {
19
19
  const crumbs = [
@@ -23,6 +23,6 @@ export const ContainedBreadcrumbs = () => {
23
23
  { id: 'Plan claims', primary: 'Plan claims', href: '#plan-claims' },
24
24
  { id: 'View benefit claims', primary: 'View benefit claims' }
25
25
  ];
26
- return (_jsx(Card, { as: StyledCard, children: _jsx(Breadcrumbs, { path: crumbs }, void 0) }, void 0));
26
+ return (_jsx(Card, { as: StyledCard, children: _jsx(Breadcrumbs, { path: crumbs }) }));
27
27
  };
28
28
  //# sourceMappingURL=Breadcrumbs.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.stories.js","sourceRoot":"","sources":["../../../src/core/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,WAAW;CACf,CAAC;AAEV,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,MAAM,MAAM,GAAG;QACb,EAAE,EAAE,EAAE,kBAAkB,EAAE,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE,mBAAmB,EAAE;QAClF,EAAE,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,eAAe,EAAE;QACtE,EAAE,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACzE,EAAE,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,cAAc,EAAE;QACnE,EAAE,EAAE,EAAE,qBAAqB,EAAE,OAAO,EAAE,qBAAqB,EAAE;KAC9D,CAAC;IAEF,OAAO,KAAC,WAAW,IAAC,IAAI,EAAE,MAAM,WAAI,CAAC;AACvC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACvC,MAAM,MAAM,GAAG;QACb,EAAE,EAAE,EAAE,kBAAkB,EAAE,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE,mBAAmB,EAAE;QAClF,EAAE,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,eAAe,EAAE;QACtE,EAAE,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACzE,EAAE,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,cAAc,EAAE;QACnE,EAAE,EAAE,EAAE,qBAAqB,EAAE,OAAO,EAAE,qBAAqB,EAAE;KAC9D,CAAC;IAEF,OAAO,CACL,KAAC,IAAI,IAAC,EAAE,EAAE,UAAU,YAClB,KAAC,WAAW,IAAC,IAAI,EAAE,MAAM,WAAI,WACxB,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta } from '@storybook/react';\n\nimport { Breadcrumbs, Card } from '@pega/cosmos-react-core';\n\nimport { StyledCard } from './Breadcrumbs.styles';\n\nexport default {\n title: 'Core/Breadcrumbs',\n component: Breadcrumbs\n} as Meta;\n\nexport const BreadcrumbsDemo = () => {\n const crumbs = [\n { id: 'Plan information', primary: 'Plan information', href: '#plan-information' },\n { id: 'View benefit', primary: 'View benefit', href: '#view-benefit' },\n { id: 'Benefit usage', primary: 'Benefit usage', href: '#benefit-usage' },\n { id: 'Plan claims', primary: 'Plan claims', href: '#plan-claims' },\n { id: 'View benefit claims', primary: 'View benefit claims' }\n ];\n\n return <Breadcrumbs path={crumbs} />;\n};\n\nexport const ContainedBreadcrumbs = () => {\n const crumbs = [\n { id: 'Plan information', primary: 'Plan information', href: '#plan-information' },\n { id: 'View benefit', primary: 'View benefit', href: '#view-benefit' },\n { id: 'Benefit usage', primary: 'Benefit usage', href: '#benefit-usage' },\n { id: 'Plan claims', primary: 'Plan claims', href: '#plan-claims' },\n { id: 'View benefit claims', primary: 'View benefit claims' }\n ];\n\n return (\n <Card as={StyledCard}>\n <Breadcrumbs path={crumbs} />\n </Card>\n );\n};\n"]}
1
+ {"version":3,"file":"Breadcrumbs.stories.js","sourceRoot":"","sources":["../../../src/core/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,WAAW;CACf,CAAC;AAEV,MAAM,CAAC,MAAM,eAAe,GAAU,GAAG,EAAE;IACzC,MAAM,MAAM,GAAG;QACb,EAAE,EAAE,EAAE,kBAAkB,EAAE,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE,mBAAmB,EAAE;QAClF,EAAE,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,eAAe,EAAE;QACtE,EAAE,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACzE,EAAE,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,cAAc,EAAE;QACnE,EAAE,EAAE,EAAE,qBAAqB,EAAE,OAAO,EAAE,qBAAqB,EAAE;KAC9D,CAAC;IAEF,OAAO,KAAC,WAAW,IAAC,IAAI,EAAE,MAAM,GAAI,CAAC;AACvC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAU,GAAG,EAAE;IAC9C,MAAM,MAAM,GAAG;QACb,EAAE,EAAE,EAAE,kBAAkB,EAAE,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE,mBAAmB,EAAE;QAClF,EAAE,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,eAAe,EAAE;QACtE,EAAE,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACzE,EAAE,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,cAAc,EAAE;QACnE,EAAE,EAAE,EAAE,qBAAqB,EAAE,OAAO,EAAE,qBAAqB,EAAE;KAC9D,CAAC;IAEF,OAAO,CACL,KAAC,IAAI,IAAC,EAAE,EAAE,UAAU,YAClB,KAAC,WAAW,IAAC,IAAI,EAAE,MAAM,GAAI,GACxB,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Breadcrumbs, Card } from '@pega/cosmos-react-core';\n\nimport { StyledCard } from './Breadcrumbs.styles';\n\nexport default {\n title: 'Core/Breadcrumbs',\n component: Breadcrumbs\n} as Meta;\n\nexport const BreadcrumbsDemo: Story = () => {\n const crumbs = [\n { id: 'Plan information', primary: 'Plan information', href: '#plan-information' },\n { id: 'View benefit', primary: 'View benefit', href: '#view-benefit' },\n { id: 'Benefit usage', primary: 'Benefit usage', href: '#benefit-usage' },\n { id: 'Plan claims', primary: 'Plan claims', href: '#plan-claims' },\n { id: 'View benefit claims', primary: 'View benefit claims' }\n ];\n\n return <Breadcrumbs path={crumbs} />;\n};\n\nexport const ContainedBreadcrumbs: Story = () => {\n const crumbs = [\n { id: 'Plan information', primary: 'Plan information', href: '#plan-information' },\n { id: 'View benefit', primary: 'View benefit', href: '#view-benefit' },\n { id: 'Benefit usage', primary: 'Benefit usage', href: '#benefit-usage' },\n { id: 'Plan claims', primary: 'Plan claims', href: '#plan-claims' },\n { id: 'View benefit claims', primary: 'View benefit claims' }\n ];\n\n return (\n <Card as={StyledCard}>\n <Breadcrumbs path={crumbs} />\n </Card>\n );\n};\n"]}
@@ -1,12 +1,19 @@
1
- /// <reference types="react" />
2
1
  import { Meta, Story } from '@storybook/react';
3
2
  import { ButtonProps } from '@pega/cosmos-react-core';
4
3
  declare const _default: Meta<import("@storybook/react").Args>;
5
4
  export default _default;
6
5
  export declare const ButtonVariants: Story<ButtonProps>;
7
- export declare const DisabledButtons: () => JSX.Element;
6
+ export declare const DisabledButtons: Story;
8
7
  export declare const IconButtons: Story<ButtonProps>;
9
8
  export declare const LoadingButtons: Story<ButtonProps>;
10
- export declare const ButtonAsLink: () => JSX.Element;
9
+ export declare const ButtonAsLink: Story;
11
10
  export declare const BareButtonDemo: Story<ButtonProps>;
11
+ interface ConfigurableButtonProps {
12
+ borderWidth?: string;
13
+ borderRadius?: number;
14
+ color?: string;
15
+ secondaryColor?: string;
16
+ padding?: string;
17
+ }
18
+ export declare const ConfigurableButton: Story<ConfigurableButtonProps>;
12
19
  //# sourceMappingURL=Button.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Button/Button.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAU,WAAW,EAA4B,MAAM,yBAAyB,CAAC;;AAMxF,wBAMU;AAEV,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,WAAW,CAM7C,CAAC;AAeF,eAAO,MAAM,eAAe,mBAoB3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,WAAW,CAoB1C,CAAC;AAUF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,WAAW,CAM7C,CAAC;AAYF,eAAO,MAAM,YAAY,mBAMxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,WAAW,CAM7C,CAAC"}
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAEL,WAAW,EAKZ,MAAM,yBAAyB,CAAC;;AAMjC,wBAMU;AAEV,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,WAAW,CAM7C,CAAC;AAeF,eAAO,MAAM,eAAe,EAAE,KAoB7B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,WAAW,CAoB1C,CAAC;AAUF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,WAAW,CAM7C,CAAC;AAYF,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,WAAW,CAM7C,CAAC;AAYF,UAAU,uBAAuB;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,uBAAuB,CAoB7D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button, Flex, Icon, registerIcon } from '@pega/cosmos-react-core';
2
+ import { Button, Configuration, Flex, Icon, registerIcon } from '@pega/cosmos-react-core';
3
3
  import * as plusIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/plus.icon';
4
4
  import BareButton from '@pega/cosmos-react-core/lib/components/Button/BareButton';
5
5
  registerIcon(plusIcon);
@@ -11,7 +11,7 @@ export default {
11
11
  }
12
12
  };
13
13
  export const ButtonVariants = (args) => {
14
- return (_jsx(Button, { variant: args.variant, compact: args.compact, children: "Click me" }, void 0));
14
+ return (_jsx(Button, { variant: args.variant, compact: args.compact, children: "Click me" }));
15
15
  };
16
16
  ButtonVariants.args = {
17
17
  variant: 'primary',
@@ -25,10 +25,10 @@ ButtonVariants.argTypes = {
25
25
  compact: { control: { type: 'boolean' } }
26
26
  };
27
27
  export const DisabledButtons = () => {
28
- return (_jsxs(_Fragment, { children: [_jsx(Button, { variant: 'primary', disabled: true, children: "Primary disabled" }, void 0), _jsx(Button, { variant: 'secondary', disabled: true, children: "Secondary disabled" }, void 0), _jsx(Button, { variant: 'simple', disabled: true, children: "Simple disabled" }, void 0), _jsx(Button, { variant: 'link', disabled: true, children: "Link disabled" }, void 0), _jsx(Button, { variant: 'text', disabled: true, children: "Text disabled" }, void 0)] }, void 0));
28
+ return (_jsxs(_Fragment, { children: [_jsx(Button, { variant: 'primary', disabled: true, children: "Primary disabled" }), _jsx(Button, { variant: 'secondary', disabled: true, children: "Secondary disabled" }), _jsx(Button, { variant: 'simple', disabled: true, children: "Simple disabled" }), _jsx(Button, { variant: 'link', disabled: true, children: "Link disabled" }), _jsx(Button, { variant: 'text', disabled: true, children: "Text disabled" })] }));
29
29
  };
30
- export const IconButtons = ({ compact }) => {
31
- return (_jsxs(Flex, { container: { alignItems: 'center' }, children: [_jsx(Button, { variant: 'primary', label: 'Icon button primary', icon: true, compact: compact, children: _jsx(Icon, { name: 'plus' }, void 0) }, void 0), _jsx(Button, { variant: 'secondary', label: 'Icon button secondary', icon: true, compact: compact, children: _jsx(Icon, { name: 'plus' }, void 0) }, void 0), _jsx(Button, { variant: 'simple', label: 'Icon button simple', icon: true, compact: compact, children: _jsx(Icon, { name: 'plus' }, void 0) }, void 0), _jsx(Button, { variant: 'link', label: 'Icon button link', icon: true, compact: compact, children: _jsx(Icon, { name: 'plus' }, void 0) }, void 0), _jsx(Button, { variant: 'text', label: 'Icon button text', icon: true, compact: compact, children: _jsx(Icon, { name: 'plus' }, void 0) }, void 0)] }, void 0));
30
+ export const IconButtons = (args) => {
31
+ return (_jsxs(Flex, { container: { alignItems: 'center' }, children: [_jsx(Button, { variant: 'primary', label: 'Icon button primary', icon: true, compact: args.compact, children: _jsx(Icon, { name: 'plus' }) }), _jsx(Button, { variant: 'secondary', label: 'Icon button secondary', icon: true, compact: args.compact, children: _jsx(Icon, { name: 'plus' }) }), _jsx(Button, { variant: 'simple', label: 'Icon button simple', icon: true, compact: args.compact, children: _jsx(Icon, { name: 'plus' }) }), _jsx(Button, { variant: 'link', label: 'Icon button link', icon: true, compact: args.compact, children: _jsx(Icon, { name: 'plus' }) }), _jsx(Button, { variant: 'text', label: 'Icon button text', icon: true, compact: args.compact, children: _jsx(Icon, { name: 'plus' }) })] }));
32
32
  };
33
33
  IconButtons.args = {
34
34
  compact: false
@@ -37,7 +37,7 @@ IconButtons.argTypes = {
37
37
  compact: { control: { type: 'boolean' } }
38
38
  };
39
39
  export const LoadingButtons = (args) => {
40
- return (_jsx(Button, { variant: args.variant, icon: args.icon, label: 'Loading', loading: true, children: args.icon ? _jsx(Icon, { name: 'plus' }, void 0) : 'Loading' }, void 0));
40
+ return (_jsx(Button, { variant: args.variant, icon: args.icon, label: 'Loading', loading: true, children: args.icon ? _jsx(Icon, { name: 'plus' }) : 'Loading' }));
41
41
  };
42
42
  LoadingButtons.args = {
43
43
  variant: 'primary',
@@ -48,10 +48,10 @@ LoadingButtons.argTypes = {
48
48
  icon: { control: { type: 'boolean' } }
49
49
  };
50
50
  export const ButtonAsLink = () => {
51
- return (_jsx(Button, { variant: 'primary', href: 'https://www.pega.com', target: '_blank', children: "Go to pega.com" }, void 0));
51
+ return (_jsx(Button, { variant: 'primary', href: 'https://www.pega.com', target: '_blank', children: "Go to pega.com" }));
52
52
  };
53
53
  export const BareButtonDemo = (args) => {
54
- return (_jsx(BareButton, { disabled: args.disabled, href: args.href || undefined, children: "Click me" }, void 0));
54
+ return (_jsx(BareButton, { disabled: args.disabled, href: args.href || undefined, children: "Click me" }));
55
55
  };
56
56
  BareButtonDemo.args = {
57
57
  disabled: false,
@@ -61,4 +61,31 @@ BareButtonDemo.argTypes = {
61
61
  disabled: { control: { type: 'boolean' } },
62
62
  href: { control: { type: 'text' } }
63
63
  };
64
+ export const ConfigurableButton = (args) => {
65
+ return (_jsx(Configuration, { theme: {
66
+ components: {
67
+ button: {
68
+ 'border-width': args.borderWidth,
69
+ 'border-radius': args.borderRadius,
70
+ color: args.color,
71
+ 'secondary-color': args.secondaryColor,
72
+ padding: args.padding
73
+ }
74
+ }
75
+ }, children: _jsx(Button, { children: "Configurable Button" }) }));
76
+ };
77
+ ConfigurableButton.args = {
78
+ borderWidth: '0.0625rem',
79
+ borderRadius: 9999,
80
+ color: '#076bc9',
81
+ secondaryColor: '#ffffff',
82
+ padding: '0rem 1rem'
83
+ };
84
+ ConfigurableButton.argTypes = {
85
+ borderWidth: { control: { type: 'text' } },
86
+ borderRadius: { control: { type: 'number' } },
87
+ color: { control: { type: 'color' } },
88
+ secondaryColor: { control: { type: 'color' } },
89
+ padding: { control: { type: 'text' } }
90
+ };
64
91
  //# sourceMappingURL=Button.stories.js.map