@pega/cosmos-react-demos 2.1.4 → 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 (1161) hide show
  1. package/jsx/build/AppHeader/AppHeader.stories.d.ts +2 -1
  2. package/jsx/build/AppHeader/AppHeader.stories.d.ts.map +1 -1
  3. package/jsx/build/AppHeader/AppHeader.stories.jsx +52 -14
  4. package/jsx/build/AppHeader/AppHeader.stories.jsx.map +1 -1
  5. package/jsx/build/AppShell/AppShell.mocks.d.ts +19 -0
  6. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  7. package/jsx/build/AppShell/{AppShell.mocks.js → AppShell.mocks.jsx} +33 -1
  8. package/jsx/build/AppShell/AppShell.mocks.jsx.map +1 -0
  9. package/jsx/build/AppShell/AppShell.stories.d.ts +4 -3
  10. package/jsx/build/AppShell/AppShell.stories.d.ts.map +1 -1
  11. package/jsx/build/AppShell/AppShell.stories.jsx +65 -57
  12. package/jsx/build/AppShell/AppShell.stories.jsx.map +1 -1
  13. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
  14. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
  15. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx +101 -0
  16. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -0
  17. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts +11 -0
  18. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
  19. package/jsx/build/DynamicContentEditor/FieldSelector.jsx +80 -0
  20. package/jsx/build/DynamicContentEditor/FieldSelector.jsx.map +1 -0
  21. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +19 -2
  22. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  23. package/jsx/build/FlowModeller/{FlowModeller.mocks.js → FlowModeller.mocks.jsx} +110 -28
  24. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +1 -0
  25. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +8 -10
  26. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  27. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +159 -154
  28. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +1 -1
  29. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
  30. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
  31. package/jsx/build/FlowModeller/FlowModeller.styles.js +8 -0
  32. package/jsx/build/FlowModeller/FlowModeller.styles.js.map +1 -0
  33. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts +3 -0
  34. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -0
  35. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js +45 -0
  36. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -0
  37. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +5 -0
  38. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -0
  39. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx +45 -0
  40. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +1 -0
  41. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +3 -0
  42. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -1
  43. package/jsx/build/LifeCycle/LifeCycle.mocks.js +107 -19
  44. package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +1 -1
  45. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +6 -9
  46. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  47. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +163 -61
  48. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -1
  49. package/jsx/build/LifeCycle/utils.d.ts.map +1 -1
  50. package/jsx/build/LifeCycle/utils.js +5 -4
  51. package/jsx/build/LifeCycle/utils.js.map +1 -1
  52. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +46 -0
  53. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
  54. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +335 -0
  55. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +1 -0
  56. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +8 -0
  57. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
  58. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +169 -0
  59. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +1 -0
  60. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
  61. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
  62. package/jsx/build/ObjectSelect/ObjectSelect.styles.js +27 -0
  63. package/jsx/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
  64. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +46 -0
  65. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
  66. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +76 -0
  67. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +1 -0
  68. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  69. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +14 -92
  70. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +1 -1
  71. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +18 -0
  72. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  73. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +287 -0
  74. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +1 -0
  75. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +4 -9
  76. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  77. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +99 -277
  78. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  79. package/jsx/build/Workbench/Workbench.stories.d.ts.map +1 -1
  80. package/jsx/build/Workbench/Workbench.stories.jsx +14 -27
  81. package/jsx/build/Workbench/Workbench.stories.jsx.map +1 -1
  82. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
  83. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
  84. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +13 -0
  85. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
  86. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +16 -8
  87. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  88. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +59 -56
  89. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -1
  90. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
  91. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
  92. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
  93. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
  94. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  95. package/jsx/condition-builder/ConditionBuilder/props.mock.js +17 -2
  96. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  97. package/jsx/core/AppShell/AppShell.stories.d.ts +6 -0
  98. package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -1
  99. package/jsx/core/AppShell/AppShell.stories.jsx +28 -2
  100. package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -1
  101. package/jsx/core/Avatar/Avatar.stories.d.ts +5 -0
  102. package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -1
  103. package/jsx/core/Avatar/Avatar.stories.jsx +32 -5
  104. package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -1
  105. package/jsx/core/Badges/Keyboard.stories.d.ts +6 -0
  106. package/jsx/core/Badges/Keyboard.stories.d.ts.map +1 -0
  107. package/jsx/core/Badges/Keyboard.stories.jsx +17 -0
  108. package/jsx/core/Badges/Keyboard.stories.jsx.map +1 -0
  109. package/jsx/core/Badges/Selection.stories.d.ts +2 -3
  110. package/jsx/core/Badges/Selection.stories.d.ts.map +1 -1
  111. package/jsx/core/Badges/Selection.stories.jsx.map +1 -1
  112. package/jsx/core/Badges/Status.stories.d.ts +5 -0
  113. package/jsx/core/Badges/Status.stories.d.ts.map +1 -1
  114. package/jsx/core/Badges/Status.stories.jsx +25 -1
  115. package/jsx/core/Badges/Status.stories.jsx.map +1 -1
  116. package/jsx/core/Badges/Tag.stories.d.ts +2 -3
  117. package/jsx/core/Badges/Tag.stories.d.ts.map +1 -1
  118. package/jsx/core/Badges/Tag.stories.jsx.map +1 -1
  119. package/jsx/core/Banner/Banner.stories.d.ts +12 -19
  120. package/jsx/core/Banner/Banner.stories.d.ts.map +1 -1
  121. package/jsx/core/Banner/Banner.stories.jsx +24 -3
  122. package/jsx/core/Banner/Banner.stories.jsx.map +1 -1
  123. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -4
  124. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  125. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
  126. package/jsx/core/Button/Button.stories.d.ts +10 -3
  127. package/jsx/core/Button/Button.stories.d.ts.map +1 -1
  128. package/jsx/core/Button/Button.stories.jsx +36 -7
  129. package/jsx/core/Button/Button.stories.jsx.map +1 -1
  130. package/jsx/core/Card/Card.stories.d.ts +6 -2
  131. package/jsx/core/Card/Card.stories.d.ts.map +1 -1
  132. package/jsx/core/Card/Card.stories.jsx +30 -1
  133. package/jsx/core/Card/Card.stories.jsx.map +1 -1
  134. package/jsx/core/Checkbox/Checkbox.stories.d.ts +12 -0
  135. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  136. package/jsx/core/Checkbox/Checkbox.stories.jsx +54 -1
  137. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
  138. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +3 -3
  139. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  140. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
  141. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +1 -2
  142. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  143. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +2 -10
  144. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
  145. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
  146. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
  147. package/jsx/core/ColorPicker/ColorPicker.styles.js +11 -0
  148. package/jsx/core/ColorPicker/ColorPicker.styles.js.map +1 -0
  149. package/jsx/core/Configuration/Configuration.mocks.d.ts +7 -0
  150. package/jsx/core/Configuration/Configuration.mocks.d.ts.map +1 -0
  151. package/jsx/core/Configuration/Configuration.mocks.jsx +9 -0
  152. package/jsx/core/Configuration/Configuration.mocks.jsx.map +1 -0
  153. package/jsx/core/Configuration/Configuration.stories.d.ts +19 -3
  154. package/jsx/core/Configuration/Configuration.stories.d.ts.map +1 -1
  155. package/jsx/core/Configuration/Configuration.stories.jsx +96 -21
  156. package/jsx/core/Configuration/Configuration.stories.jsx.map +1 -1
  157. package/jsx/core/Configuration/Configuration.styles.d.ts +6 -0
  158. package/jsx/core/Configuration/Configuration.styles.d.ts.map +1 -0
  159. package/jsx/core/Configuration/Configuration.styles.js +12 -0
  160. package/jsx/core/Configuration/Configuration.styles.js.map +1 -0
  161. package/jsx/core/CreditCard/CreditCard.stories.d.ts +11 -0
  162. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
  163. package/jsx/core/CreditCard/CreditCard.stories.jsx +45 -0
  164. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -0
  165. package/jsx/core/Currency/Currency.stories.d.ts +7 -4
  166. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
  167. package/jsx/core/Currency/Currency.stories.jsx +30 -12
  168. package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
  169. package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
  170. package/jsx/core/DateTime/DateTime.stories.jsx +2 -1
  171. package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
  172. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +6 -4
  173. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  174. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +8 -4
  175. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
  176. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
  177. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  178. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +70 -2
  179. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -1
  180. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
  181. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  182. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +51 -88
  183. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -1
  184. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +2 -2
  185. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  186. package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +1 -1
  187. package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
  188. package/jsx/core/File/FileDisplay.stories.jsx +16 -38
  189. package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
  190. package/jsx/core/File/FileInput.stories.d.ts.map +1 -1
  191. package/jsx/core/File/FileInput.stories.jsx +1 -1
  192. package/jsx/core/File/FileInput.stories.jsx.map +1 -1
  193. package/jsx/core/Flex/FlexContainer.stories.d.ts +1 -2
  194. package/jsx/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  195. package/jsx/core/Flex/FlexContainer.stories.jsx.map +1 -1
  196. package/jsx/core/Form/Form.mocks.d.ts.map +1 -1
  197. package/jsx/core/Form/Form.mocks.jsx +2 -2
  198. package/jsx/core/Form/Form.mocks.jsx.map +1 -1
  199. package/jsx/core/Form/Form.stories.d.ts +10 -0
  200. package/jsx/core/Form/Form.stories.d.ts.map +1 -1
  201. package/jsx/core/Form/Form.stories.jsx +42 -2
  202. package/jsx/core/Form/Form.stories.jsx.map +1 -1
  203. package/jsx/core/Grid/GridContainer.stories.d.ts +4 -5
  204. package/jsx/core/Grid/GridContainer.stories.d.ts.map +1 -1
  205. package/jsx/core/Grid/GridContainer.stories.jsx.map +1 -1
  206. package/jsx/core/Grid/GridItem.stories.d.ts +1 -2
  207. package/jsx/core/Grid/GridItem.stories.d.ts.map +1 -1
  208. package/jsx/core/Grid/GridItem.stories.jsx.map +1 -1
  209. package/jsx/core/HTML/HTML.stories.d.ts +6 -0
  210. package/jsx/core/HTML/HTML.stories.d.ts.map +1 -0
  211. package/jsx/core/HTML/HTML.stories.jsx +13 -0
  212. package/jsx/core/HTML/HTML.stories.jsx.map +1 -0
  213. package/jsx/core/Icon/Icon.stories.d.ts +5 -6
  214. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
  215. package/jsx/core/Icon/Icon.stories.jsx +5 -27
  216. package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
  217. package/jsx/core/Icon/Icon.styles.d.ts +4 -0
  218. package/jsx/core/Icon/Icon.styles.d.ts.map +1 -0
  219. package/jsx/core/Icon/Icon.styles.js +25 -0
  220. package/jsx/core/Icon/Icon.styles.js.map +1 -0
  221. package/jsx/core/IconPicker/IconPicker.stories.jsx +1 -1
  222. package/jsx/core/IconPicker/IconPicker.stories.jsx.map +1 -1
  223. package/jsx/core/Image/Image.stories.d.ts +2 -3
  224. package/jsx/core/Image/Image.stories.d.ts.map +1 -1
  225. package/jsx/core/Image/Image.stories.jsx.map +1 -1
  226. package/jsx/core/Input/Input.stories.d.ts +9 -0
  227. package/jsx/core/Input/Input.stories.d.ts.map +1 -1
  228. package/jsx/core/Input/Input.stories.jsx +40 -1
  229. package/jsx/core/Input/Input.stories.jsx.map +1 -1
  230. package/jsx/core/Label/Label.stories.d.ts +4 -0
  231. package/jsx/core/Label/Label.stories.d.ts.map +1 -1
  232. package/jsx/core/Label/Label.stories.jsx +18 -1
  233. package/jsx/core/Label/Label.stories.jsx.map +1 -1
  234. package/jsx/core/Link/Link.stories.d.ts +1 -11
  235. package/jsx/core/Link/Link.stories.d.ts.map +1 -1
  236. package/jsx/core/Link/Link.stories.jsx.map +1 -1
  237. package/jsx/core/List/CommaSeparatedList.stories.d.ts +2 -2
  238. package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  239. package/jsx/core/List/CommaSeparatedList.stories.jsx.map +1 -1
  240. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
  241. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
  242. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +71 -0
  243. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -0
  244. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +6 -0
  245. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
  246. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +87 -0
  247. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -0
  248. package/jsx/core/MenuButton/MenuButton.stories.d.ts +6 -6
  249. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  250. package/jsx/core/MenuButton/MenuButton.stories.jsx.map +1 -1
  251. package/jsx/core/Modal/Modal.mocks.d.ts.map +1 -1
  252. package/jsx/core/Modal/Modal.mocks.jsx +3 -3
  253. package/jsx/core/Modal/Modal.mocks.jsx.map +1 -1
  254. package/jsx/core/Modal/Modal.stories.d.ts +10 -5
  255. package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
  256. package/jsx/core/Modal/Modal.stories.jsx +34 -43
  257. package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
  258. package/jsx/core/MultiStep/MultiStep.stories.d.ts +2 -3
  259. package/jsx/core/MultiStep/MultiStep.stories.d.ts.map +1 -1
  260. package/jsx/core/MultiStep/MultiStep.stories.jsx.map +1 -1
  261. package/jsx/core/Number/Number.stories.d.ts +10 -6
  262. package/jsx/core/Number/Number.stories.d.ts.map +1 -1
  263. package/jsx/core/Number/Number.stories.jsx +38 -19
  264. package/jsx/core/Number/Number.stories.jsx.map +1 -1
  265. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +5 -3
  266. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  267. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +85 -31
  268. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  269. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
  270. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
  271. package/jsx/core/PageTemplates/PageTemplates.styles.js +9 -0
  272. package/jsx/core/PageTemplates/PageTemplates.styles.js.map +1 -1
  273. package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
  274. package/jsx/core/Phone/Phone.stories.jsx +3 -1
  275. package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
  276. package/jsx/core/Popover/Popover.stories.d.ts +1 -1
  277. package/jsx/core/Popover/Popover.stories.d.ts.map +1 -1
  278. package/jsx/core/Popover/Popover.stories.jsx.map +1 -1
  279. package/jsx/core/Progress/Progress.stories.d.ts +4 -0
  280. package/jsx/core/Progress/Progress.stories.d.ts.map +1 -1
  281. package/jsx/core/Progress/Progress.stories.jsx +22 -1
  282. package/jsx/core/Progress/Progress.stories.jsx.map +1 -1
  283. package/jsx/core/RadioButton/RadioButton.stories.d.ts +12 -0
  284. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  285. package/jsx/core/RadioButton/RadioButton.stories.jsx +53 -1
  286. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
  287. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +3 -3
  288. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  289. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
  290. package/jsx/core/Rating/Rating.stories.d.ts +4 -0
  291. package/jsx/core/Rating/Rating.stories.d.ts.map +1 -1
  292. package/jsx/core/Rating/Rating.stories.jsx +18 -1
  293. package/jsx/core/Rating/Rating.stories.jsx.map +1 -1
  294. package/jsx/core/SearchInput/SearchInput.mocks.d.ts +12 -0
  295. package/jsx/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
  296. package/jsx/core/SearchInput/SearchInput.mocks.js +25 -0
  297. package/jsx/core/SearchInput/SearchInput.mocks.js.map +1 -0
  298. package/jsx/core/SearchInput/SearchInput.stories.d.ts +1 -0
  299. package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  300. package/jsx/core/SearchInput/SearchInput.stories.jsx +30 -1
  301. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +1 -1
  302. package/jsx/core/Select/Select.stories.d.ts +8 -0
  303. package/jsx/core/Select/Select.stories.d.ts.map +1 -1
  304. package/jsx/core/Select/Select.stories.jsx +35 -1
  305. package/jsx/core/Select/Select.stories.jsx.map +1 -1
  306. package/jsx/core/Sentiment/Sentiment.stories.d.ts +6 -0
  307. package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
  308. package/jsx/core/Sentiment/Sentiment.stories.jsx +32 -1
  309. package/jsx/core/Sentiment/Sentiment.stories.jsx.map +1 -1
  310. package/jsx/core/Slider/Slider.stories.d.ts +4 -3
  311. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
  312. package/jsx/core/Slider/Slider.stories.jsx +1 -1
  313. package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
  314. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  315. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  316. package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +1 -1
  317. package/jsx/core/SummaryList/SummaryList.stories.d.ts +2 -2
  318. package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  319. package/jsx/core/SummaryList/SummaryList.stories.jsx.map +1 -1
  320. package/jsx/core/Switch/Switch.stories.d.ts +7 -0
  321. package/jsx/core/Switch/Switch.stories.d.ts.map +1 -1
  322. package/jsx/core/Switch/Switch.stories.jsx +34 -1
  323. package/jsx/core/Switch/Switch.stories.jsx.map +1 -1
  324. package/jsx/core/Table/Table.mocks.d.ts +6 -0
  325. package/jsx/core/Table/Table.mocks.d.ts.map +1 -1
  326. package/jsx/core/Table/Table.mocks.jsx +134 -0
  327. package/jsx/core/Table/Table.mocks.jsx.map +1 -1
  328. package/jsx/core/Table/Table.stories.d.ts +25 -0
  329. package/jsx/core/Table/Table.stories.d.ts.map +1 -1
  330. package/jsx/core/Table/Table.stories.jsx +120 -1
  331. package/jsx/core/Table/Table.stories.jsx.map +1 -1
  332. package/jsx/core/Tabs/Tabs.stories.d.ts +10 -2
  333. package/jsx/core/Tabs/Tabs.stories.d.ts.map +1 -1
  334. package/jsx/core/Tabs/Tabs.stories.jsx +39 -1
  335. package/jsx/core/Tabs/Tabs.stories.jsx.map +1 -1
  336. package/jsx/core/Text/Text.stories.d.ts +19 -0
  337. package/jsx/core/Text/Text.stories.d.ts.map +1 -1
  338. package/jsx/core/Text/Text.stories.jsx +112 -1
  339. package/jsx/core/Text/Text.stories.jsx.map +1 -1
  340. package/jsx/core/TextArea/TextArea.stories.d.ts +5 -0
  341. package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
  342. package/jsx/core/TextArea/TextArea.stories.jsx +22 -1
  343. package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
  344. package/jsx/core/Toaster/Toaster.stories.d.ts +2 -3
  345. package/jsx/core/Toaster/Toaster.stories.d.ts.map +1 -1
  346. package/jsx/core/Toaster/Toaster.stories.jsx +17 -12
  347. package/jsx/core/Toaster/Toaster.stories.jsx.map +1 -1
  348. package/jsx/core/Tooltip/Tooltip.stories.d.ts +8 -6
  349. package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  350. package/jsx/core/Tooltip/Tooltip.stories.jsx +28 -1
  351. package/jsx/core/Tooltip/Tooltip.stories.jsx.map +1 -1
  352. package/jsx/core/Tree/Tree.stories.d.ts +1 -2
  353. package/jsx/core/Tree/Tree.stories.d.ts.map +1 -1
  354. package/jsx/core/Tree/Tree.stories.jsx +2 -2
  355. package/jsx/core/Tree/Tree.stories.jsx.map +1 -1
  356. package/jsx/cs/Article/Article.stories.d.ts +4 -13
  357. package/jsx/cs/Article/Article.stories.d.ts.map +1 -1
  358. package/jsx/cs/Article/Article.stories.jsx.map +1 -1
  359. package/jsx/cs/ArticleList/ArticleList.stories.d.ts +4 -14
  360. package/jsx/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  361. package/jsx/cs/ArticleList/ArticleList.stories.jsx +2 -1
  362. package/jsx/cs/ArticleList/ArticleList.stories.jsx.map +1 -1
  363. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts +3 -37
  364. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -1
  365. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx +15 -42
  366. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx.map +1 -1
  367. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts +9 -0
  368. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts.map +1 -1
  369. package/jsx/cs/CSCaseView/{CSCaseView.mocks.js → CSCaseView.mocks.jsx} +30 -1
  370. package/jsx/cs/CSCaseView/CSCaseView.mocks.jsx.map +1 -0
  371. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +3 -2
  372. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  373. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +20 -5
  374. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -1
  375. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -11
  376. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  377. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx +23 -21
  378. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  379. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +7 -6
  380. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  381. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx +13 -5
  382. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -1
  383. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
  384. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
  385. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
  386. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
  387. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +3 -7
  388. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  389. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +38 -43
  390. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +1 -1
  391. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +7 -2
  392. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
  393. package/jsx/cs/TaskManager/TaskManager.mocks.js +12 -10
  394. package/jsx/cs/TaskManager/TaskManager.mocks.js.map +1 -1
  395. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +12 -6
  396. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  397. package/jsx/cs/TaskManager/TaskManager.stories.jsx +164 -136
  398. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +1 -1
  399. package/jsx/cs/TaskManager/TaskManager.styles.d.ts +3 -0
  400. package/jsx/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
  401. package/jsx/cs/TaskManager/TaskManager.styles.js +8 -0
  402. package/jsx/cs/TaskManager/TaskManager.styles.js.map +1 -0
  403. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
  404. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
  405. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx +33 -0
  406. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +1 -0
  407. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
  408. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  409. package/jsx/dnd/DragDropList/DragDropList.stories.jsx +14 -78
  410. package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +1 -1
  411. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
  412. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
  413. package/jsx/dnd/DragDropList/DragDropList.styles.js +32 -0
  414. package/jsx/dnd/DragDropList/DragDropList.styles.js.map +1 -0
  415. package/jsx/rte/Editor/Editor.mocks.d.ts +309 -0
  416. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -0
  417. package/jsx/rte/Editor/Editor.mocks.jsx +23 -0
  418. package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -0
  419. package/jsx/rte/Editor/Editor.stories.d.ts +7 -8
  420. package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
  421. package/jsx/rte/Editor/Editor.stories.jsx +3 -21
  422. package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
  423. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -1
  424. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +2 -3
  425. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  426. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -1
  427. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +5 -5
  428. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  429. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +18 -1
  430. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +1 -1
  431. package/jsx/social/Chat/Chat.stories.d.ts +6 -7
  432. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  433. package/jsx/social/Chat/Chat.stories.jsx +7 -5
  434. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  435. package/jsx/social/Chat/RepeatingView.mocks.d.ts +14 -0
  436. package/jsx/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
  437. package/jsx/social/Chat/RepeatingView.mocks.js +11 -0
  438. package/jsx/social/Chat/RepeatingView.mocks.js.map +1 -0
  439. package/jsx/social/Chat/RepeatingView.stories.d.ts +6 -17
  440. package/jsx/social/Chat/RepeatingView.stories.d.ts.map +1 -1
  441. package/jsx/social/Chat/RepeatingView.stories.jsx +16 -46
  442. package/jsx/social/Chat/RepeatingView.stories.jsx.map +1 -1
  443. package/jsx/social/Chat/RepeatingView.styles.d.ts +2 -0
  444. package/jsx/social/Chat/RepeatingView.styles.d.ts.map +1 -0
  445. package/jsx/social/Chat/RepeatingView.styles.js +22 -0
  446. package/jsx/social/Chat/RepeatingView.styles.js.map +1 -0
  447. package/jsx/social/Email/Email.mocks.d.ts +173 -4
  448. package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
  449. package/jsx/social/Email/Email.mocks.jsx +420 -3
  450. package/jsx/social/Email/Email.mocks.jsx.map +1 -1
  451. package/jsx/social/Email/Email.stories.d.ts +19 -25
  452. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  453. package/jsx/social/Email/Email.stories.jsx +163 -426
  454. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  455. package/jsx/social/Email/Email.styles.d.ts +4 -0
  456. package/jsx/social/Email/Email.styles.d.ts.map +1 -0
  457. package/jsx/social/Email/Email.styles.js +14 -0
  458. package/jsx/social/Email/Email.styles.js.map +1 -0
  459. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
  460. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
  461. package/jsx/social/Feed/Feed.stories.d.ts +6 -11
  462. package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
  463. package/jsx/social/Feed/Feed.stories.jsx +24 -19
  464. package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
  465. package/jsx/social/Feed/FeedNewPost.stories.d.ts +7 -14
  466. package/jsx/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
  467. package/jsx/social/Feed/FeedNewPost.stories.jsx.map +1 -1
  468. package/jsx/social/Feed/FeedPost.stories.d.ts +4 -5
  469. package/jsx/social/Feed/FeedPost.stories.d.ts.map +1 -1
  470. package/jsx/social/Feed/FeedPost.stories.jsx +30 -20
  471. package/jsx/social/Feed/FeedPost.stories.jsx.map +1 -1
  472. package/jsx/social/Feed/FeedReply.stories.d.ts +10 -10
  473. package/jsx/social/Feed/FeedReply.stories.d.ts.map +1 -1
  474. package/jsx/social/Feed/FeedReply.stories.jsx +21 -16
  475. package/jsx/social/Feed/FeedReply.stories.jsx.map +1 -1
  476. package/jsx/social/Feed/FeedReplyInput.stories.d.ts +7 -12
  477. package/jsx/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
  478. package/jsx/social/Feed/FeedReplyInput.stories.jsx.map +1 -1
  479. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  480. package/jsx/work/CaseView/CaseView.mocks.jsx +1 -1
  481. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  482. package/jsx/work/CaseView/CaseView.stories.d.ts +4 -11
  483. package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
  484. package/jsx/work/CaseView/CaseView.stories.jsx +7 -7
  485. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
  486. package/jsx/work/CaseView/Details.mocks.d.ts.map +1 -1
  487. package/jsx/work/CaseView/Details.mocks.jsx +1 -1
  488. package/jsx/work/CaseView/Details.mocks.jsx.map +1 -1
  489. package/jsx/work/CaseView/MobileCaseView.stories.d.ts +3 -9
  490. package/jsx/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
  491. package/jsx/work/CaseView/MobileCaseView.stories.jsx.map +1 -1
  492. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  493. package/jsx/work/CaseView/Pulse.mocks.jsx +1 -1
  494. package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -1
  495. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
  496. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
  497. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx +166 -0
  498. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx.map +1 -0
  499. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -8
  500. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  501. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +3 -175
  502. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -1
  503. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
  504. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
  505. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
  506. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
  507. package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  508. package/jsx/work/Confirmation/Confirmation.stories.jsx +3 -3
  509. package/jsx/work/Confirmation/Confirmation.stories.jsx.map +1 -1
  510. package/jsx/work/Details/Details.stories.d.ts.map +1 -1
  511. package/jsx/work/Details/Details.stories.jsx +21 -16
  512. package/jsx/work/Details/Details.stories.jsx.map +1 -1
  513. package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  514. package/jsx/work/Glimpse/Glimpse.stories.jsx.map +1 -1
  515. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  516. package/jsx/work/SearchResults/SearchResults.stories.jsx +1 -1
  517. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -1
  518. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  519. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +2 -2
  520. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -1
  521. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +2 -3
  522. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  523. package/jsx/work/Stakeholders/Stakeholders.stories.jsx +1 -0
  524. package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +1 -1
  525. package/jsx/work/Tasks/Tasks.stories.jsx +1 -1
  526. package/jsx/work/Tasks/Tasks.stories.jsx.map +1 -1
  527. package/jsx/work/Timeline/Timeline.stories.d.ts +1 -0
  528. package/jsx/work/Timeline/Timeline.stories.d.ts.map +1 -1
  529. package/jsx/work/Timeline/Timeline.stories.jsx +29 -1
  530. package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -1
  531. package/lib/build/AppHeader/AppHeader.stories.d.ts +2 -1
  532. package/lib/build/AppHeader/AppHeader.stories.d.ts.map +1 -1
  533. package/lib/build/AppHeader/AppHeader.stories.js +53 -15
  534. package/lib/build/AppHeader/AppHeader.stories.js.map +1 -1
  535. package/lib/build/AppShell/AppShell.mocks.d.ts +19 -0
  536. package/lib/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  537. package/lib/build/AppShell/AppShell.mocks.js +32 -0
  538. package/lib/build/AppShell/AppShell.mocks.js.map +1 -1
  539. package/lib/build/AppShell/AppShell.stories.d.ts +4 -3
  540. package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -1
  541. package/lib/build/AppShell/AppShell.stories.js +67 -57
  542. package/lib/build/AppShell/AppShell.stories.js.map +1 -1
  543. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
  544. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
  545. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js +85 -0
  546. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -0
  547. package/lib/build/DynamicContentEditor/FieldSelector.d.ts +14 -0
  548. package/lib/build/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
  549. package/lib/build/DynamicContentEditor/FieldSelector.js +81 -0
  550. package/lib/build/DynamicContentEditor/FieldSelector.js.map +1 -0
  551. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +19 -2
  552. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  553. package/lib/build/FlowModeller/FlowModeller.mocks.js +81 -27
  554. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +1 -1
  555. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +8 -10
  556. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  557. package/lib/build/FlowModeller/FlowModeller.stories.js +147 -138
  558. package/lib/build/FlowModeller/FlowModeller.stories.js.map +1 -1
  559. package/lib/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
  560. package/lib/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
  561. package/lib/build/FlowModeller/FlowModeller.styles.js +8 -0
  562. package/lib/build/FlowModeller/FlowModeller.styles.js.map +1 -0
  563. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts +3 -0
  564. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -0
  565. package/lib/build/ItemLibrary/LibraryPicker.mocks.js +45 -0
  566. package/lib/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -0
  567. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +5 -0
  568. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -0
  569. package/lib/build/ItemLibrary/LibraryPicker.stories.js +40 -0
  570. package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +1 -0
  571. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +3 -0
  572. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -1
  573. package/lib/build/LifeCycle/LifeCycle.mocks.js +107 -19
  574. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +1 -1
  575. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +6 -9
  576. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  577. package/lib/build/LifeCycle/LifeCycle.stories.js +167 -79
  578. package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -1
  579. package/lib/build/LifeCycle/utils.d.ts.map +1 -1
  580. package/lib/build/LifeCycle/utils.js +5 -4
  581. package/lib/build/LifeCycle/utils.js.map +1 -1
  582. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +46 -0
  583. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
  584. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +308 -0
  585. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +1 -0
  586. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +8 -0
  587. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
  588. package/lib/build/ObjectSelect/ObjectSelect.stories.js +151 -0
  589. package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +1 -0
  590. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
  591. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
  592. package/lib/build/ObjectSelect/ObjectSelect.styles.js +27 -0
  593. package/lib/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
  594. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +46 -0
  595. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
  596. package/lib/build/PageTemplates/GalleryPage.mocks.js +77 -0
  597. package/lib/build/PageTemplates/GalleryPage.mocks.js.map +1 -0
  598. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  599. package/lib/build/PageTemplates/GalleryPage.stories.js +14 -92
  600. package/lib/build/PageTemplates/GalleryPage.stories.js.map +1 -1
  601. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +18 -0
  602. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  603. package/lib/build/PageTemplates/PageTemplates.mocks.js +248 -0
  604. package/lib/build/PageTemplates/PageTemplates.mocks.js.map +1 -0
  605. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +4 -9
  606. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  607. package/lib/build/PageTemplates/PageTemplates.stories.js +115 -253
  608. package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -1
  609. package/lib/build/Workbench/Workbench.stories.d.ts.map +1 -1
  610. package/lib/build/Workbench/Workbench.stories.js +26 -39
  611. package/lib/build/Workbench/Workbench.stories.js.map +1 -1
  612. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
  613. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
  614. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +13 -0
  615. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
  616. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +16 -8
  617. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  618. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js +59 -57
  619. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +1 -1
  620. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
  621. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
  622. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
  623. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
  624. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  625. package/lib/condition-builder/ConditionBuilder/props.mock.js +17 -2
  626. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  627. package/lib/core/AppShell/AppShell.mocks.js +5 -5
  628. package/lib/core/AppShell/AppShell.mocks.js.map +1 -1
  629. package/lib/core/AppShell/AppShell.stories.d.ts +6 -0
  630. package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -1
  631. package/lib/core/AppShell/AppShell.stories.js +33 -9
  632. package/lib/core/AppShell/AppShell.stories.js.map +1 -1
  633. package/lib/core/Avatar/Avatar.stories.d.ts +5 -0
  634. package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -1
  635. package/lib/core/Avatar/Avatar.stories.js +34 -9
  636. package/lib/core/Avatar/Avatar.stories.js.map +1 -1
  637. package/lib/core/Backdrop/Backdrop.stories.js +2 -2
  638. package/lib/core/Backdrop/Backdrop.stories.js.map +1 -1
  639. package/lib/core/Badges/Alert.stories.js +1 -1
  640. package/lib/core/Badges/Alert.stories.js.map +1 -1
  641. package/lib/core/Badges/Count.stories.js +1 -1
  642. package/lib/core/Badges/Count.stories.js.map +1 -1
  643. package/lib/core/Badges/Keyboard.stories.d.ts +6 -0
  644. package/lib/core/Badges/Keyboard.stories.d.ts.map +1 -0
  645. package/lib/core/Badges/Keyboard.stories.js +16 -0
  646. package/lib/core/Badges/Keyboard.stories.js.map +1 -0
  647. package/lib/core/Badges/Selection.stories.d.ts +2 -3
  648. package/lib/core/Badges/Selection.stories.d.ts.map +1 -1
  649. package/lib/core/Badges/Selection.stories.js +1 -1
  650. package/lib/core/Badges/Selection.stories.js.map +1 -1
  651. package/lib/core/Badges/Status.stories.d.ts +5 -0
  652. package/lib/core/Badges/Status.stories.d.ts.map +1 -1
  653. package/lib/core/Badges/Status.stories.js +24 -2
  654. package/lib/core/Badges/Status.stories.js.map +1 -1
  655. package/lib/core/Badges/Tag.stories.d.ts +2 -3
  656. package/lib/core/Badges/Tag.stories.d.ts.map +1 -1
  657. package/lib/core/Badges/Tag.stories.js +1 -1
  658. package/lib/core/Badges/Tag.stories.js.map +1 -1
  659. package/lib/core/Banner/Banner.mocks.js +1 -1
  660. package/lib/core/Banner/Banner.mocks.js.map +1 -1
  661. package/lib/core/Banner/Banner.stories.d.ts +12 -19
  662. package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
  663. package/lib/core/Banner/Banner.stories.js +30 -13
  664. package/lib/core/Banner/Banner.stories.js.map +1 -1
  665. package/lib/core/Boolean/BooleanDisplay.stories.js +1 -1
  666. package/lib/core/Boolean/BooleanDisplay.stories.js.map +1 -1
  667. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -4
  668. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  669. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +2 -2
  670. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
  671. package/lib/core/Button/Button.stories.d.ts +10 -3
  672. package/lib/core/Button/Button.stories.d.ts.map +1 -1
  673. package/lib/core/Button/Button.stories.js +35 -8
  674. package/lib/core/Button/Button.stories.js.map +1 -1
  675. package/lib/core/Card/Card.stories.d.ts +6 -2
  676. package/lib/core/Card/Card.stories.d.ts.map +1 -1
  677. package/lib/core/Card/Card.stories.js +22 -4
  678. package/lib/core/Card/Card.stories.js.map +1 -1
  679. package/lib/core/Checkbox/Checkbox.stories.d.ts +12 -0
  680. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  681. package/lib/core/Checkbox/Checkbox.stories.js +54 -3
  682. package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
  683. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +3 -3
  684. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  685. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +3 -3
  686. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
  687. package/lib/core/ColorPicker/ColorPicker.stories.d.ts +1 -2
  688. package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  689. package/lib/core/ColorPicker/ColorPicker.stories.js +7 -15
  690. package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
  691. package/lib/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
  692. package/lib/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
  693. package/lib/core/ColorPicker/ColorPicker.styles.js +11 -0
  694. package/lib/core/ColorPicker/ColorPicker.styles.js.map +1 -0
  695. package/lib/core/ComboBox/ComboBox.stories.js +6 -6
  696. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
  697. package/lib/core/Configuration/Configuration.mocks.d.ts +7 -0
  698. package/lib/core/Configuration/Configuration.mocks.d.ts.map +1 -0
  699. package/lib/core/Configuration/Configuration.mocks.js +6 -0
  700. package/lib/core/Configuration/Configuration.mocks.js.map +1 -0
  701. package/lib/core/Configuration/Configuration.stories.d.ts +19 -3
  702. package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -1
  703. package/lib/core/Configuration/Configuration.stories.js +71 -24
  704. package/lib/core/Configuration/Configuration.stories.js.map +1 -1
  705. package/lib/core/Configuration/Configuration.styles.d.ts +6 -0
  706. package/lib/core/Configuration/Configuration.styles.d.ts.map +1 -0
  707. package/lib/core/Configuration/Configuration.styles.js +12 -0
  708. package/lib/core/Configuration/Configuration.styles.js.map +1 -0
  709. package/lib/core/CreditCard/CreditCard.stories.d.ts +11 -0
  710. package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
  711. package/lib/core/CreditCard/CreditCard.stories.js +46 -0
  712. package/lib/core/CreditCard/CreditCard.stories.js.map +1 -0
  713. package/lib/core/Currency/Currency.stories.d.ts +7 -4
  714. package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
  715. package/lib/core/Currency/Currency.stories.js +32 -14
  716. package/lib/core/Currency/Currency.stories.js.map +1 -1
  717. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
  718. package/lib/core/DateTime/DateTime.stories.js +12 -10
  719. package/lib/core/DateTime/DateTime.stories.js.map +1 -1
  720. package/lib/core/DateTime/DateTimeDisplay.stories.js +2 -2
  721. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
  722. package/lib/core/DateTime/DateTimePicker.stories.js +2 -2
  723. package/lib/core/DateTime/DateTimePicker.stories.js.map +1 -1
  724. package/lib/core/Drawer/Drawer.stories.js +4 -4
  725. package/lib/core/Drawer/Drawer.stories.js.map +1 -1
  726. package/lib/core/Email/EmailDisplay.stories.js +1 -1
  727. package/lib/core/Email/EmailDisplay.stories.js.map +1 -1
  728. package/lib/core/EmojiPicker/EmojiPicker.stories.js +3 -3
  729. package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +1 -1
  730. package/lib/core/EmptyState/EmptyState.stories.js +1 -1
  731. package/lib/core/EmptyState/EmptyState.stories.js.map +1 -1
  732. package/lib/core/ErrorState/ErrorState.stories.js +1 -1
  733. package/lib/core/ErrorState/ErrorState.stories.js.map +1 -1
  734. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js +2 -2
  735. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +1 -1
  736. package/lib/core/FieldGroup/FieldGroup.stories.d.ts +6 -4
  737. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  738. package/lib/core/FieldGroup/FieldGroup.stories.js +7 -3
  739. package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
  740. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
  741. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  742. package/lib/core/FieldGroup/FieldGroupList.mocks.js +47 -3
  743. package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -1
  744. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
  745. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  746. package/lib/core/FieldGroup/FieldGroupList.stories.js +54 -67
  747. package/lib/core/FieldGroup/FieldGroupList.stories.js.map +1 -1
  748. package/lib/core/FieldValueList/FieldValueList.stories.d.ts +2 -2
  749. package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  750. package/lib/core/FieldValueList/FieldValueList.stories.js +4 -4
  751. package/lib/core/FieldValueList/FieldValueList.stories.js.map +1 -1
  752. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
  753. package/lib/core/File/FileDisplay.stories.js +25 -37
  754. package/lib/core/File/FileDisplay.stories.js.map +1 -1
  755. package/lib/core/File/FileInput.stories.d.ts.map +1 -1
  756. package/lib/core/File/FileInput.stories.js +3 -3
  757. package/lib/core/File/FileInput.stories.js.map +1 -1
  758. package/lib/core/Flex/FlexContainer.stories.d.ts +1 -2
  759. package/lib/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  760. package/lib/core/Flex/FlexContainer.stories.js +7 -7
  761. package/lib/core/Flex/FlexContainer.stories.js.map +1 -1
  762. package/lib/core/Flex/FlexItem.stories.js +3 -3
  763. package/lib/core/Flex/FlexItem.stories.js.map +1 -1
  764. package/lib/core/Form/Form.mocks.d.ts.map +1 -1
  765. package/lib/core/Form/Form.mocks.js +5 -5
  766. package/lib/core/Form/Form.mocks.js.map +1 -1
  767. package/lib/core/Form/Form.stories.d.ts +10 -0
  768. package/lib/core/Form/Form.stories.d.ts.map +1 -1
  769. package/lib/core/Form/Form.stories.js +47 -9
  770. package/lib/core/Form/Form.stories.js.map +1 -1
  771. package/lib/core/Grid/GridContainer.stories.d.ts +4 -5
  772. package/lib/core/Grid/GridContainer.stories.d.ts.map +1 -1
  773. package/lib/core/Grid/GridContainer.stories.js +9 -9
  774. package/lib/core/Grid/GridContainer.stories.js.map +1 -1
  775. package/lib/core/Grid/GridItem.stories.d.ts +1 -2
  776. package/lib/core/Grid/GridItem.stories.d.ts.map +1 -1
  777. package/lib/core/Grid/GridItem.stories.js +3 -3
  778. package/lib/core/Grid/GridItem.stories.js.map +1 -1
  779. package/lib/core/HTML/HTML.stories.d.ts +6 -0
  780. package/lib/core/HTML/HTML.stories.d.ts.map +1 -0
  781. package/lib/core/HTML/HTML.stories.js +14 -0
  782. package/lib/core/HTML/HTML.stories.js.map +1 -0
  783. package/lib/core/Icon/Icon.mocks.js +1 -1
  784. package/lib/core/Icon/Icon.mocks.js.map +1 -1
  785. package/lib/core/Icon/Icon.stories.d.ts +5 -6
  786. package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
  787. package/lib/core/Icon/Icon.stories.js +12 -35
  788. package/lib/core/Icon/Icon.stories.js.map +1 -1
  789. package/lib/core/Icon/Icon.styles.d.ts +4 -0
  790. package/lib/core/Icon/Icon.styles.d.ts.map +1 -0
  791. package/lib/core/Icon/Icon.styles.js +25 -0
  792. package/lib/core/Icon/Icon.styles.js.map +1 -0
  793. package/lib/core/IconPicker/IconPicker.stories.js +2 -2
  794. package/lib/core/IconPicker/IconPicker.stories.js.map +1 -1
  795. package/lib/core/Image/Image.stories.d.ts +2 -3
  796. package/lib/core/Image/Image.stories.d.ts.map +1 -1
  797. package/lib/core/Image/Image.stories.js +1 -1
  798. package/lib/core/Image/Image.stories.js.map +1 -1
  799. package/lib/core/Input/Input.stories.d.ts +9 -0
  800. package/lib/core/Input/Input.stories.d.ts.map +1 -1
  801. package/lib/core/Input/Input.stories.js +39 -2
  802. package/lib/core/Input/Input.stories.js.map +1 -1
  803. package/lib/core/Label/Label.stories.d.ts +4 -0
  804. package/lib/core/Label/Label.stories.d.ts.map +1 -1
  805. package/lib/core/Label/Label.stories.js +17 -2
  806. package/lib/core/Label/Label.stories.js.map +1 -1
  807. package/lib/core/Lightbox/Lightbox.stories.js +3 -3
  808. package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
  809. package/lib/core/Link/Link.stories.d.ts +1 -11
  810. package/lib/core/Link/Link.stories.d.ts.map +1 -1
  811. package/lib/core/Link/Link.stories.js +3 -3
  812. package/lib/core/Link/Link.stories.js.map +1 -1
  813. package/lib/core/List/CommaSeparatedList.stories.d.ts +2 -2
  814. package/lib/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  815. package/lib/core/List/CommaSeparatedList.stories.js +1 -1
  816. package/lib/core/List/CommaSeparatedList.stories.js.map +1 -1
  817. package/lib/core/List/OrderedList.stories.js +1 -1
  818. package/lib/core/List/OrderedList.stories.js.map +1 -1
  819. package/lib/core/List/UnorderedList.stories.js +1 -1
  820. package/lib/core/List/UnorderedList.stories.js.map +1 -1
  821. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
  822. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
  823. package/lib/core/ListToolbar/ListToolbar.mocks.js +50 -0
  824. package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -0
  825. package/lib/core/ListToolbar/ListToolbar.stories.d.ts +6 -0
  826. package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
  827. package/lib/core/ListToolbar/ListToolbar.stories.js +79 -0
  828. package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -0
  829. package/lib/core/Location/Location.stories.js +4 -4
  830. package/lib/core/Location/Location.stories.js.map +1 -1
  831. package/lib/core/Menu/Menu.stories.js +5 -5
  832. package/lib/core/Menu/Menu.stories.js.map +1 -1
  833. package/lib/core/MenuButton/MenuButton.stories.d.ts +6 -6
  834. package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  835. package/lib/core/MenuButton/MenuButton.stories.js +9 -9
  836. package/lib/core/MenuButton/MenuButton.stories.js.map +1 -1
  837. package/lib/core/MetaList/MetaList.stories.js +3 -3
  838. package/lib/core/MetaList/MetaList.stories.js.map +1 -1
  839. package/lib/core/Modal/Modal.mocks.d.ts.map +1 -1
  840. package/lib/core/Modal/Modal.mocks.js +11 -11
  841. package/lib/core/Modal/Modal.mocks.js.map +1 -1
  842. package/lib/core/Modal/Modal.stories.d.ts +10 -5
  843. package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
  844. package/lib/core/Modal/Modal.stories.js +40 -35
  845. package/lib/core/Modal/Modal.stories.js.map +1 -1
  846. package/lib/core/MultiStep/MultiStep.stories.d.ts +2 -3
  847. package/lib/core/MultiStep/MultiStep.stories.d.ts.map +1 -1
  848. package/lib/core/MultiStep/MultiStep.stories.js +3 -3
  849. package/lib/core/MultiStep/MultiStep.stories.js.map +1 -1
  850. package/lib/core/Number/Number.stories.d.ts +10 -6
  851. package/lib/core/Number/Number.stories.d.ts.map +1 -1
  852. package/lib/core/Number/Number.stories.js +41 -22
  853. package/lib/core/Number/Number.stories.js.map +1 -1
  854. package/lib/core/PageTemplates/PageTemplates.stories.d.ts +5 -3
  855. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  856. package/lib/core/PageTemplates/PageTemplates.stories.js +88 -42
  857. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  858. package/lib/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
  859. package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
  860. package/lib/core/PageTemplates/PageTemplates.styles.js +9 -0
  861. package/lib/core/PageTemplates/PageTemplates.styles.js.map +1 -1
  862. package/lib/core/Pagination/Pagination.stories.js +1 -1
  863. package/lib/core/Pagination/Pagination.stories.js.map +1 -1
  864. package/lib/core/Paragraph/ParagraphDisplay.stories.js +1 -1
  865. package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +1 -1
  866. package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
  867. package/lib/core/Phone/Phone.stories.js +4 -2
  868. package/lib/core/Phone/Phone.stories.js.map +1 -1
  869. package/lib/core/Popover/Popover.stories.d.ts +1 -1
  870. package/lib/core/Popover/Popover.stories.d.ts.map +1 -1
  871. package/lib/core/Popover/Popover.stories.js +2 -2
  872. package/lib/core/Popover/Popover.stories.js.map +1 -1
  873. package/lib/core/Progress/Progress.stories.d.ts +4 -0
  874. package/lib/core/Progress/Progress.stories.d.ts.map +1 -1
  875. package/lib/core/Progress/Progress.stories.js +20 -3
  876. package/lib/core/Progress/Progress.stories.js.map +1 -1
  877. package/lib/core/RadioButton/RadioButton.stories.d.ts +12 -0
  878. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  879. package/lib/core/RadioButton/RadioButton.stories.js +53 -3
  880. package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
  881. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +3 -3
  882. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  883. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +3 -3
  884. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
  885. package/lib/core/Rating/Rating.stories.d.ts +4 -0
  886. package/lib/core/Rating/Rating.stories.d.ts.map +1 -1
  887. package/lib/core/Rating/Rating.stories.js +17 -2
  888. package/lib/core/Rating/Rating.stories.js.map +1 -1
  889. package/lib/core/SearchInput/SearchInput.mocks.d.ts +12 -0
  890. package/lib/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
  891. package/lib/core/SearchInput/SearchInput.mocks.js +25 -0
  892. package/lib/core/SearchInput/SearchInput.mocks.js.map +1 -0
  893. package/lib/core/SearchInput/SearchInput.stories.d.ts +1 -0
  894. package/lib/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  895. package/lib/core/SearchInput/SearchInput.stories.js +30 -1
  896. package/lib/core/SearchInput/SearchInput.stories.js.map +1 -1
  897. package/lib/core/Select/Select.stories.d.ts +8 -0
  898. package/lib/core/Select/Select.stories.d.ts.map +1 -1
  899. package/lib/core/Select/Select.stories.js +29 -2
  900. package/lib/core/Select/Select.stories.js.map +1 -1
  901. package/lib/core/Sentiment/Sentiment.stories.d.ts +6 -0
  902. package/lib/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
  903. package/lib/core/Sentiment/Sentiment.stories.js +30 -3
  904. package/lib/core/Sentiment/Sentiment.stories.js.map +1 -1
  905. package/lib/core/Slider/Slider.stories.d.ts +4 -3
  906. package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
  907. package/lib/core/Slider/Slider.stories.js +2 -2
  908. package/lib/core/Slider/Slider.stories.js.map +1 -1
  909. package/lib/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  910. package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  911. package/lib/core/SummaryItem/SummaryItem.stories.js +4 -4
  912. package/lib/core/SummaryItem/SummaryItem.stories.js.map +1 -1
  913. package/lib/core/SummaryList/SummaryList.mocks.js +2 -2
  914. package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -1
  915. package/lib/core/SummaryList/SummaryList.stories.d.ts +2 -2
  916. package/lib/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  917. package/lib/core/SummaryList/SummaryList.stories.js +5 -5
  918. package/lib/core/SummaryList/SummaryList.stories.js.map +1 -1
  919. package/lib/core/Switch/Switch.stories.d.ts +7 -0
  920. package/lib/core/Switch/Switch.stories.d.ts.map +1 -1
  921. package/lib/core/Switch/Switch.stories.js +34 -3
  922. package/lib/core/Switch/Switch.stories.js.map +1 -1
  923. package/lib/core/Table/Table.mocks.d.ts +6 -0
  924. package/lib/core/Table/Table.mocks.d.ts.map +1 -1
  925. package/lib/core/Table/Table.mocks.js +135 -1
  926. package/lib/core/Table/Table.mocks.js.map +1 -1
  927. package/lib/core/Table/Table.stories.d.ts +25 -0
  928. package/lib/core/Table/Table.stories.d.ts.map +1 -1
  929. package/lib/core/Table/Table.stories.js +118 -6
  930. package/lib/core/Table/Table.stories.js.map +1 -1
  931. package/lib/core/Tabs/Tabs.stories.d.ts +10 -2
  932. package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -1
  933. package/lib/core/Tabs/Tabs.stories.js +32 -3
  934. package/lib/core/Tabs/Tabs.stories.js.map +1 -1
  935. package/lib/core/Text/Text.stories.d.ts +19 -0
  936. package/lib/core/Text/Text.stories.d.ts.map +1 -1
  937. package/lib/core/Text/Text.stories.js +103 -3
  938. package/lib/core/Text/Text.stories.js.map +1 -1
  939. package/lib/core/TextArea/TextArea.stories.d.ts +5 -0
  940. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
  941. package/lib/core/TextArea/TextArea.stories.js +21 -2
  942. package/lib/core/TextArea/TextArea.stories.js.map +1 -1
  943. package/lib/core/Toaster/Toaster.stories.d.ts +2 -3
  944. package/lib/core/Toaster/Toaster.stories.d.ts.map +1 -1
  945. package/lib/core/Toaster/Toaster.stories.js +15 -19
  946. package/lib/core/Toaster/Toaster.stories.js.map +1 -1
  947. package/lib/core/Tooltip/Tooltip.stories.d.ts +8 -6
  948. package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  949. package/lib/core/Tooltip/Tooltip.stories.js +21 -2
  950. package/lib/core/Tooltip/Tooltip.stories.js.map +1 -1
  951. package/lib/core/Tree/Tree.stories.d.ts +1 -2
  952. package/lib/core/Tree/Tree.stories.d.ts.map +1 -1
  953. package/lib/core/Tree/Tree.stories.js +5 -5
  954. package/lib/core/Tree/Tree.stories.js.map +1 -1
  955. package/lib/core/URL/URL.stories.js +1 -1
  956. package/lib/core/URL/URL.stories.js.map +1 -1
  957. package/lib/cs/Article/Article.stories.d.ts +4 -13
  958. package/lib/cs/Article/Article.stories.d.ts.map +1 -1
  959. package/lib/cs/Article/Article.stories.js +9 -9
  960. package/lib/cs/Article/Article.stories.js.map +1 -1
  961. package/lib/cs/ArticleList/ArticleList.stories.d.ts +4 -14
  962. package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  963. package/lib/cs/ArticleList/ArticleList.stories.js +12 -11
  964. package/lib/cs/ArticleList/ArticleList.stories.js.map +1 -1
  965. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts +3 -37
  966. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -1
  967. package/lib/cs/CSCaseView/CSAppShell.stories.js +24 -37
  968. package/lib/cs/CSCaseView/CSAppShell.stories.js.map +1 -1
  969. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts +9 -0
  970. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts.map +1 -1
  971. package/lib/cs/CSCaseView/CSCaseView.mocks.js +16 -0
  972. package/lib/cs/CSCaseView/CSCaseView.mocks.js.map +1 -1
  973. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +3 -2
  974. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  975. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +22 -7
  976. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +1 -1
  977. package/lib/cs/DialPad/DialPad.stories.js +1 -1
  978. package/lib/cs/DialPad/DialPad.stories.js.map +1 -1
  979. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -11
  980. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  981. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js +38 -36
  982. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  983. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +7 -6
  984. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  985. package/lib/cs/InteractionNotification/InteractionNotification.stories.js +13 -5
  986. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +1 -1
  987. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
  988. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
  989. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
  990. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
  991. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +3 -7
  992. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  993. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +38 -43
  994. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +1 -1
  995. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +7 -2
  996. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
  997. package/lib/cs/TaskManager/TaskManager.mocks.js +12 -10
  998. package/lib/cs/TaskManager/TaskManager.mocks.js.map +1 -1
  999. package/lib/cs/TaskManager/TaskManager.stories.d.ts +12 -6
  1000. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  1001. package/lib/cs/TaskManager/TaskManager.stories.js +143 -124
  1002. package/lib/cs/TaskManager/TaskManager.stories.js.map +1 -1
  1003. package/lib/cs/TaskManager/TaskManager.styles.d.ts +3 -0
  1004. package/lib/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
  1005. package/lib/cs/TaskManager/TaskManager.styles.js +8 -0
  1006. package/lib/cs/TaskManager/TaskManager.styles.js.map +1 -0
  1007. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
  1008. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
  1009. package/lib/dnd/DragDropList/DragDropList.mocks.js +32 -0
  1010. package/lib/dnd/DragDropList/DragDropList.mocks.js.map +1 -0
  1011. package/lib/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
  1012. package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  1013. package/lib/dnd/DragDropList/DragDropList.stories.js +16 -87
  1014. package/lib/dnd/DragDropList/DragDropList.stories.js.map +1 -1
  1015. package/lib/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
  1016. package/lib/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
  1017. package/lib/dnd/DragDropList/DragDropList.styles.js +32 -0
  1018. package/lib/dnd/DragDropList/DragDropList.styles.js.map +1 -0
  1019. package/lib/rte/Editor/Editor.mocks.d.ts +309 -0
  1020. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -0
  1021. package/lib/rte/Editor/Editor.mocks.js +26 -0
  1022. package/lib/rte/Editor/Editor.mocks.js.map +1 -0
  1023. package/lib/rte/Editor/Editor.stories.d.ts +7 -8
  1024. package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
  1025. package/lib/rte/Editor/Editor.stories.js +8 -28
  1026. package/lib/rte/Editor/Editor.stories.js.map +1 -1
  1027. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js +5 -5
  1028. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +1 -1
  1029. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +2 -3
  1030. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  1031. package/lib/rte/RichTextEditor/RichTextEditor.stories.js +5 -5
  1032. package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +1 -1
  1033. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +5 -5
  1034. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  1035. package/lib/rte/RichTextEditor/RichTextViewer.stories.js +19 -6
  1036. package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +1 -1
  1037. package/lib/social/Chat/Chat.stories.d.ts +6 -7
  1038. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  1039. package/lib/social/Chat/Chat.stories.js +31 -31
  1040. package/lib/social/Chat/Chat.stories.js.map +1 -1
  1041. package/lib/social/Chat/RepeatingView.mocks.d.ts +14 -0
  1042. package/lib/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
  1043. package/lib/social/Chat/RepeatingView.mocks.js +11 -0
  1044. package/lib/social/Chat/RepeatingView.mocks.js.map +1 -0
  1045. package/lib/social/Chat/RepeatingView.stories.d.ts +6 -17
  1046. package/lib/social/Chat/RepeatingView.stories.d.ts.map +1 -1
  1047. package/lib/social/Chat/RepeatingView.stories.js +18 -48
  1048. package/lib/social/Chat/RepeatingView.stories.js.map +1 -1
  1049. package/lib/social/Chat/RepeatingView.styles.d.ts +2 -0
  1050. package/lib/social/Chat/RepeatingView.styles.d.ts.map +1 -0
  1051. package/lib/social/Chat/RepeatingView.styles.js +22 -0
  1052. package/lib/social/Chat/RepeatingView.styles.js.map +1 -0
  1053. package/lib/social/Email/Email.mocks.d.ts +173 -4
  1054. package/lib/social/Email/Email.mocks.d.ts.map +1 -1
  1055. package/lib/social/Email/Email.mocks.js +420 -3
  1056. package/lib/social/Email/Email.mocks.js.map +1 -1
  1057. package/lib/social/Email/Email.stories.d.ts +19 -25
  1058. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  1059. package/lib/social/Email/Email.stories.js +155 -448
  1060. package/lib/social/Email/Email.stories.js.map +1 -1
  1061. package/lib/social/Email/Email.styles.d.ts +4 -0
  1062. package/lib/social/Email/Email.styles.d.ts.map +1 -0
  1063. package/lib/social/Email/Email.styles.js +14 -0
  1064. package/lib/social/Email/Email.styles.js.map +1 -0
  1065. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
  1066. package/lib/social/Feed/Feed.mocks.js +40 -40
  1067. package/lib/social/Feed/Feed.mocks.js.map +1 -1
  1068. package/lib/social/Feed/Feed.stories.d.ts +6 -11
  1069. package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
  1070. package/lib/social/Feed/Feed.stories.js +30 -25
  1071. package/lib/social/Feed/Feed.stories.js.map +1 -1
  1072. package/lib/social/Feed/FeedNewPost.stories.d.ts +7 -14
  1073. package/lib/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
  1074. package/lib/social/Feed/FeedNewPost.stories.js +2 -2
  1075. package/lib/social/Feed/FeedNewPost.stories.js.map +1 -1
  1076. package/lib/social/Feed/FeedPost.stories.d.ts +4 -5
  1077. package/lib/social/Feed/FeedPost.stories.d.ts.map +1 -1
  1078. package/lib/social/Feed/FeedPost.stories.js +37 -27
  1079. package/lib/social/Feed/FeedPost.stories.js.map +1 -1
  1080. package/lib/social/Feed/FeedReply.stories.d.ts +10 -10
  1081. package/lib/social/Feed/FeedReply.stories.d.ts.map +1 -1
  1082. package/lib/social/Feed/FeedReply.stories.js +25 -20
  1083. package/lib/social/Feed/FeedReply.stories.js.map +1 -1
  1084. package/lib/social/Feed/FeedReplyInput.stories.d.ts +7 -12
  1085. package/lib/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
  1086. package/lib/social/Feed/FeedReplyInput.stories.js +2 -2
  1087. package/lib/social/Feed/FeedReplyInput.stories.js.map +1 -1
  1088. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js +1 -1
  1089. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +1 -1
  1090. package/lib/work/CaseView/Attachments.mocks.js +15 -15
  1091. package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
  1092. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  1093. package/lib/work/CaseView/CaseView.mocks.js +8 -8
  1094. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  1095. package/lib/work/CaseView/CaseView.stories.d.ts +4 -11
  1096. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
  1097. package/lib/work/CaseView/CaseView.stories.js +28 -28
  1098. package/lib/work/CaseView/CaseView.stories.js.map +1 -1
  1099. package/lib/work/CaseView/Details.mocks.d.ts.map +1 -1
  1100. package/lib/work/CaseView/Details.mocks.js +2 -2
  1101. package/lib/work/CaseView/Details.mocks.js.map +1 -1
  1102. package/lib/work/CaseView/FileService.mock.js +1 -1
  1103. package/lib/work/CaseView/FileService.mock.js.map +1 -1
  1104. package/lib/work/CaseView/MobileCaseView.stories.d.ts +3 -9
  1105. package/lib/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
  1106. package/lib/work/CaseView/MobileCaseView.stories.js +1 -1
  1107. package/lib/work/CaseView/MobileCaseView.stories.js.map +1 -1
  1108. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  1109. package/lib/work/CaseView/Pulse.mocks.js +3 -3
  1110. package/lib/work/CaseView/Pulse.mocks.js.map +1 -1
  1111. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
  1112. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
  1113. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js +165 -0
  1114. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js.map +1 -0
  1115. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -8
  1116. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  1117. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js +5 -175
  1118. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +1 -1
  1119. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
  1120. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
  1121. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
  1122. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
  1123. package/lib/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  1124. package/lib/work/Confirmation/Confirmation.stories.js +4 -4
  1125. package/lib/work/Confirmation/Confirmation.stories.js.map +1 -1
  1126. package/lib/work/Details/Details.stories.d.ts.map +1 -1
  1127. package/lib/work/Details/Details.stories.js +56 -53
  1128. package/lib/work/Details/Details.stories.js.map +1 -1
  1129. package/lib/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  1130. package/lib/work/Glimpse/Glimpse.stories.js +3 -3
  1131. package/lib/work/Glimpse/Glimpse.stories.js.map +1 -1
  1132. package/lib/work/SearchResults/SearchResults.mocks.js +4 -4
  1133. package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -1
  1134. package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  1135. package/lib/work/SearchResults/SearchResults.stories.js +12 -12
  1136. package/lib/work/SearchResults/SearchResults.stories.js.map +1 -1
  1137. package/lib/work/Stages/Stages.stories.js +2 -2
  1138. package/lib/work/Stages/Stages.stories.js.map +1 -1
  1139. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  1140. package/lib/work/Stakeholders/Stakeholders.mocks.js +4 -4
  1141. package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -1
  1142. package/lib/work/Stakeholders/Stakeholders.stories.d.ts +2 -3
  1143. package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  1144. package/lib/work/Stakeholders/Stakeholders.stories.js +2 -1
  1145. package/lib/work/Stakeholders/Stakeholders.stories.js.map +1 -1
  1146. package/lib/work/Tags/Tags.stories.js +1 -1
  1147. package/lib/work/Tags/Tags.stories.js.map +1 -1
  1148. package/lib/work/Tasks/TaskList.stories.js +3 -3
  1149. package/lib/work/Tasks/TaskList.stories.js.map +1 -1
  1150. package/lib/work/Tasks/Tasks.stories.js +11 -11
  1151. package/lib/work/Tasks/Tasks.stories.js.map +1 -1
  1152. package/lib/work/Timeline/Timeline.mocks.js +8 -8
  1153. package/lib/work/Timeline/Timeline.mocks.js.map +1 -1
  1154. package/lib/work/Timeline/Timeline.stories.d.ts +1 -0
  1155. package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -1
  1156. package/lib/work/Timeline/Timeline.stories.js +24 -3
  1157. package/lib/work/Timeline/Timeline.stories.js.map +1 -1
  1158. package/package.json +22 -18
  1159. package/jsx/build/AppShell/AppShell.mocks.js.map +0 -1
  1160. package/jsx/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
  1161. package/jsx/cs/CSCaseView/CSCaseView.mocks.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { useMemo, useState, useCallback, useRef } from 'react';
2
- import styled, { css } from 'styled-components';
3
- import { defaultThemeProp, EmptyState, StyledEmptyState, Flex, Icon, icons, registerIcon, Progress, SearchInput, Text, useItemIntersection, useTheme } from '@pega/cosmos-react-core';
2
+ import { EmptyState, Flex, Icon, icons, registerIcon, Progress, SearchInput, Text, useItemIntersection, useTheme } from '@pega/cosmos-react-core';
4
3
  import * as pegasusIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/pegasus.icon';
5
4
  import { createCustomIcon } from './Icon.mocks';
5
+ import { StyledIconList, StyledIconListItem, StyledProgressContainer } from './Icon.styles';
6
6
  export default {
7
7
  title: 'Core/Icon',
8
8
  component: Icon
@@ -19,30 +19,8 @@ export const CustomIcon = () => {
19
19
  export const DynamicIcon = () => {
20
20
  return <Icon style={{ height: '5rem', width: '5rem' }} name='pega'/>;
21
21
  };
22
- const PAGE_SIZE = 50;
23
- const StyledIconList = styled.ul `
24
- overflow-x: hidden;
25
- overflow-y: auto;
26
- list-style: none;
27
- height: 100%;
28
-
29
- ${StyledEmptyState} {
30
- width: 100%;
31
- height: 100%;
32
- }
33
- `;
34
- const StyledIconListItem = styled.li(({ theme }) => css `
35
- padding: calc(2 * ${theme.base.spacing});
36
- border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};
37
- width: 20%;
38
- `);
39
- StyledIconListItem.defaultProps = defaultThemeProp;
40
- const StyledProgressContainer = styled.li `
41
- position: relative;
42
- height: 2.8rem;
43
- width: 100%;
44
- `;
45
22
  export const IconList = () => {
23
+ const pageSize = 50;
46
24
  const [search, setSearch] = useState('');
47
25
  const totalMatches = useRef(0);
48
26
  const [currentPageIndex, setCurrentPageIndex] = useState(0);
@@ -51,7 +29,7 @@ export const IconList = () => {
51
29
  const matches = search
52
30
  ? icons.filter(icon => icon.includes(search))
53
31
  : icons;
54
- const totalItemsToRender = (1 + currentPageIndex) * PAGE_SIZE;
32
+ const totalItemsToRender = (1 + currentPageIndex) * pageSize;
55
33
  totalMatches.current = matches.length;
56
34
  if (matches.length === 0) {
57
35
  return <EmptyState forwardedAs='li'/>;
@@ -66,7 +44,7 @@ export const IconList = () => {
66
44
  <p style={{ textAlign: 'center' }}>{icon}</p>
67
45
  </Flex>));
68
46
  }, [search, currentPageIndex]);
69
- const itemsShown = Math.min(totalMatches.current, (1 + currentPageIndex) * PAGE_SIZE);
47
+ const itemsShown = Math.min(totalMatches.current, (1 + currentPageIndex) * pageSize);
70
48
  const itemsToLoadMore = totalMatches.current - itemsShown;
71
49
  useItemIntersection(ulRef, itemsShown, () => {
72
50
  setCurrentPageIndex(prev => 1 + prev);
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.stories.jsx","sourceRoot":"","sources":["../../../src/core/Icon/Icon.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,IAAI,EACJ,IAAI,EACJ,KAAK,EAEL,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,mBAAmB,EACnB,QAAQ,EACT,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,WAAW,MAAM,gEAAgE,CAAC;AAE9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,eAAe;IACb,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,IAAI;CACR,CAAC;AAEV,YAAY,CAAC,WAAW,CAAC,CAAC;A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AC,OAAO,CAAE,QAAO,EAAE,IAAI,CAAC,CAClF;MAAA,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CACvF;QAAA,CAAC,WAAW,CACZ;QAAA,CAAC,eAAe,GAAG,CAAC,IAAI,CACtB,CAAC,uBAAuB,CACtB;YAAA,CAAC,QAAQ,CAAC,SAAS,CAAC,OAAO,EAC7B;UAAA,EAAE,uBAAuB,CAAC,CAC3B,CACH;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta } from '@storybook/react';\nimport { useMemo, useState, useCallback, useRef } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport {\n defaultThemeProp,\n EmptyState,\n StyledEmptyState,\n Flex,\n Icon,\n icons,\n IconNames,\n registerIcon,\n Progress,\n SearchInput,\n Text,\n useItemIntersection,\n useTheme\n} from '@pega/cosmos-react-core';\nimport * as pegasusIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/pegasus.icon';\n\nimport { createCustomIcon } from './Icon.mocks';\n\nexport default {\n title: 'Core/Icon',\n component: Icon\n} as Meta;\n\nregisterIcon(pegasusIcon);\n\nexport const StaticIcon = () => {\n return (\n <Icon style={{ height: '5rem', width: '5rem' }} name='pegasus' aria-label='Informative label' />\n );\n};\n\nexport const CustomIcon = () => {\n const theme = useTheme();\n\n createCustomIcon(theme);\n\n return (\n <Icon style={{ height: '5rem', width: '5rem' }} name='custom-pega' aria-label='Custom icon' />\n );\n};\n\nexport const DynamicIcon = () => {\n return <Icon style={{ height: '5rem', width: '5rem' }} name='pega' />;\n};\n\n// Default # of icons to display in a page\nconst PAGE_SIZE = 50;\n\nconst StyledIconList = styled.ul`\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n height: 100%;\n\n ${StyledEmptyState} {\n width: 100%;\n height: 100%;\n }\n`;\n\nconst StyledIconListItem = styled.li(\n ({ theme }) =>\n css`\n padding: calc(2 * ${theme.base.spacing});\n border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};\n width: 20%;\n `\n);\n\nStyledIconListItem.defaultProps = defaultThemeProp;\n\nconst StyledProgressContainer = styled.li`\n position: relative;\n height: 2.8rem;\n width: 100%;\n`;\n\nexport const IconList = () => {\n const [search, setSearch] = useState('');\n const totalMatches = useRef(0);\n const [currentPageIndex, setCurrentPageIndex] = useState(0);\n const ulRef = useRef<HTMLUListElement>(null);\n\n const listContent = useMemo(() => {\n const matches: readonly IconNames[] = search\n ? icons.filter(icon => icon.includes(search))\n : icons;\n const totalItemsToRender = (1 + currentPageIndex) * PAGE_SIZE;\n totalMatches.current = matches.length;\n\n if (matches.length === 0) {\n return <EmptyState forwardedAs='li' />;\n }\n\n return matches.slice(0, totalItemsToRender).map(icon => (\n <Flex\n key={icon}\n container={{\n direction: 'column',\n justify: 'center',\n alignItems: 'center',\n alignContent: 'center'\n }}\n as={StyledIconListItem}\n >\n <Icon style={{ height: '3rem', width: '3rem' }} name={icon} />\n <p style={{ textAlign: 'center' }}>{icon}</p>\n </Flex>\n ));\n }, [search, currentPageIndex]);\n\n const itemsShown = Math.min(totalMatches.current, (1 + currentPageIndex) * PAGE_SIZE);\n const itemsToLoadMore = totalMatches.current - itemsShown;\n\n // When reaches to the bottom of the results, loads next PAGE_SIZE items\n useItemIntersection(\n ulRef,\n itemsShown,\n () => {\n setCurrentPageIndex(prev => 1 + prev);\n },\n ':scope > li'\n );\n\n // on search, reset to first page and scroll to top\n const onSearchChange = useCallback((value: string) => {\n setSearch(value);\n setCurrentPageIndex(0);\n ulRef?.current?.scrollIntoView();\n }, []);\n\n return (\n <Flex container={{ direction: 'column', gap: 1 }} style={{ height: '90vh' }}>\n <SearchInput value={search} onSearchChange={onSearchChange} />\n {itemsShown > 0 && <Text variant='secondary'>{totalMatches.current} results</Text>}\n <Flex container={{ wrap: 'wrap', alignContent: 'start' }} as={StyledIconList} ref={ulRef}>\n {listContent}\n {itemsToLoadMore > 0 && (\n <StyledProgressContainer>\n <Progress placement='local' />\n </StyledProgressContainer>\n )}\n </Flex>\n </Flex>\n );\n};\n"]}
1
+ {"version":3,"file":"Icon.stories.jsx","sourceRoot":"","sources":["../../../src/core/Icon/Icon.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/D,OAAO,EACL,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,KAAK,EAEL,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,mBAAmB,EACnB,QAAQ,EACT,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,WAAW,MAAM,gEAAgE,CAAC;AAE9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAE5F,eAAe;IACb,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,IAAI;CACR,CAAC;AAEV,YAAY,CAAC,WAAW,CAAC,CAAC;AAE1B,MAAM,CAAC,MAAM,UAAU,GAAU,GAAG,EAAE;IACpC,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,mBAAmB,EAAG,CACjG,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU,GAAG,EAAE;IACpC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IAEzB,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAExB,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CA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E,CAAC,CAAC;IAEP,OAAO,CACL,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAC1E;MAAA,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,CAAC,cAAc,CAAC,EAC3D;MAAA,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,YAAY,CAAC,OAAO,CAAE,QAAO,EAAE,IAAI,CAAC,CAClF;MAAA,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CACvF;QAAA,CAAC,WAAW,CACZ;QAAA,CAAC,eAAe,GAAG,CAAC,IAAI,CACtB,CAAC,uBAAuB,CACtB;YAAA,CAAC,QAAQ,CAAC,SAAS,CAAC,OAAO,EAC7B;UAAA,EAAE,uBAAuB,CAAC,CAC3B,CACH;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { useMemo, useState, useCallback, useRef } from 'react';\n\nimport {\n EmptyState,\n Flex,\n Icon,\n icons,\n IconNames,\n registerIcon,\n Progress,\n SearchInput,\n Text,\n useItemIntersection,\n useTheme\n} from '@pega/cosmos-react-core';\nimport * as pegasusIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/pegasus.icon';\n\nimport { createCustomIcon } from './Icon.mocks';\nimport { StyledIconList, StyledIconListItem, StyledProgressContainer } from './Icon.styles';\n\nexport default {\n title: 'Core/Icon',\n component: Icon\n} as Meta;\n\nregisterIcon(pegasusIcon);\n\nexport const StaticIcon: Story = () => {\n return (\n <Icon style={{ height: '5rem', width: '5rem' }} name='pegasus' aria-label='Informative label' />\n );\n};\n\nexport const CustomIcon: Story = () => {\n const theme = useTheme();\n\n createCustomIcon(theme);\n\n return (\n <Icon style={{ height: '5rem', width: '5rem' }} name='custom-pega' aria-label='Custom icon' />\n );\n};\n\nexport const DynamicIcon: Story = () => {\n return <Icon style={{ height: '5rem', width: '5rem' }} name='pega' />;\n};\n\nexport const IconList: Story = () => {\n const pageSize = 50;\n\n const [search, setSearch] = useState('');\n const totalMatches = useRef(0);\n const [currentPageIndex, setCurrentPageIndex] = useState(0);\n const ulRef = useRef<HTMLUListElement>(null);\n\n const listContent = useMemo(() => {\n const matches: readonly IconNames[] = search\n ? icons.filter(icon => icon.includes(search))\n : icons;\n const totalItemsToRender = (1 + currentPageIndex) * pageSize;\n totalMatches.current = matches.length;\n\n if (matches.length === 0) {\n return <EmptyState forwardedAs='li' />;\n }\n\n return matches.slice(0, totalItemsToRender).map(icon => (\n <Flex\n key={icon}\n container={{\n direction: 'column',\n justify: 'center',\n alignItems: 'center',\n alignContent: 'center'\n }}\n as={StyledIconListItem}\n >\n <Icon style={{ height: '3rem', width: '3rem' }} name={icon} />\n <p style={{ textAlign: 'center' }}>{icon}</p>\n </Flex>\n ));\n }, [search, currentPageIndex]);\n\n const itemsShown = Math.min(totalMatches.current, (1 + currentPageIndex) * pageSize);\n const itemsToLoadMore = totalMatches.current - itemsShown;\n\n // When reaches to the bottom of the results, loads next pageSize items\n useItemIntersection(\n ulRef,\n itemsShown,\n () => {\n setCurrentPageIndex(prev => 1 + prev);\n },\n ':scope > li'\n );\n\n // on search, reset to first page and scroll to top\n const onSearchChange = useCallback((value: string) => {\n setSearch(value);\n setCurrentPageIndex(0);\n ulRef?.current?.scrollIntoView();\n }, []);\n\n return (\n <Flex container={{ direction: 'column', gap: 1 }} style={{ height: '90vh' }}>\n <SearchInput value={search} onSearchChange={onSearchChange} />\n {itemsShown > 0 && <Text variant='secondary'>{totalMatches.current} results</Text>}\n <Flex container={{ wrap: 'wrap', alignContent: 'start' }} as={StyledIconList} ref={ulRef}>\n {listContent}\n {itemsToLoadMore > 0 && (\n <StyledProgressContainer>\n <Progress placement='local' />\n </StyledProgressContainer>\n )}\n </Flex>\n </Flex>\n );\n};\n"]}
@@ -0,0 +1,4 @@
1
+ export declare const StyledIconList: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const StyledIconListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const StyledProgressContainer: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
4
+ //# sourceMappingURL=Icon.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.styles.d.ts","sourceRoot":"","sources":["../../../src/core/Icon/Icon.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,wGAU1B,CAAC;AAEF,eAAO,MAAM,kBAAkB,wGAO9B,CAAC;AAIF,eAAO,MAAM,uBAAuB,wGAInC,CAAC"}
@@ -0,0 +1,25 @@
1
+ import styled, { css } from 'styled-components';
2
+ import { defaultThemeProp, StyledEmptyState } from '@pega/cosmos-react-core';
3
+ export const StyledIconList = styled.ul `
4
+ overflow-x: hidden;
5
+ overflow-y: auto;
6
+ list-style: none;
7
+ height: 100%;
8
+
9
+ ${StyledEmptyState} {
10
+ width: 100%;
11
+ height: 100%;
12
+ }
13
+ `;
14
+ export const StyledIconListItem = styled.li(({ theme }) => css `
15
+ padding: calc(2 * ${theme.base.spacing});
16
+ border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};
17
+ width: 20%;
18
+ `);
19
+ StyledIconListItem.defaultProps = defaultThemeProp;
20
+ export const StyledProgressContainer = styled.li `
21
+ position: relative;
22
+ height: 2.8rem;
23
+ width: 100%;
24
+ `;
25
+ //# sourceMappingURL=Icon.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.styles.js","sourceRoot":"","sources":["../../../src/core/Icon/Icon.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE7E,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;IAMnC,gBAAgB;;;;CAInB,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,EAAE,CACzC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACZ,GAAG,CAAA;0BACmB,KAAK,CAAC,IAAI,CAAC,OAAO;uCACL,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC;;KAEnE,CACJ,CAAC;AAEF,kBAAkB,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAEnD,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,EAAE,CAAA;;;;CAI/C,CAAC","sourcesContent":["import styled, { css } from 'styled-components';\n\nimport { defaultThemeProp, StyledEmptyState } from '@pega/cosmos-react-core';\n\nexport const StyledIconList = styled.ul`\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n height: 100%;\n\n ${StyledEmptyState} {\n width: 100%;\n height: 100%;\n }\n`;\n\nexport const StyledIconListItem = styled.li(\n ({ theme }) =>\n css`\n padding: calc(2 * ${theme.base.spacing});\n border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};\n width: 20%;\n `\n);\n\nStyledIconListItem.defaultProps = defaultThemeProp;\n\nexport const StyledProgressContainer = styled.li`\n position: relative;\n height: 2.8rem;\n width: 100%;\n`;\n"]}
@@ -26,7 +26,7 @@ export default {
26
26
  readOnly: { control: { type: 'boolean' } }
27
27
  }
28
28
  };
29
- export const IconPickerDemo = args => {
29
+ export const IconPickerDemo = (args) => {
30
30
  const [value, setValue] = useState(args.defaultSelection);
31
31
  useEffect(() => {
32
32
  setValue(args.defaultSelection);
@@ -1 +1 @@
1
- {"version":3,"file":"IconPicker.stories.jsx","sourceRoot":"","sources":["../../../src/core/IconPicker/IconPicker.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAmB,MAAM,yBAAyB,CAAC;AAEtE,eAAe;IACb,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE;QACJ,gBAAgB,EAAE,SAAS;QAC3B,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,wCAAwC;QAC9C,WAAW,EAAE,EAAE;QACf,MAAM,EAAE,SAAS;QACjB,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;KAChB;IACD,QAAQ,EAAE;QACR,gBAAgB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QAC/C,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QACpC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;QAC7C,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QACnC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QAC1C,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;QAC5F,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;QAC1C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;QAC1C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;KAC3C;CACM,CAAC;AAEV,MAAM,CAAC,MAAM,cAAc,GAA2B,IAAI,CAAC,EAAE;IAC3D,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAE1D,SAAS,CAAC,GAAG,EAAE;QACb,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAClC,CAAC,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAE5B,OAAO,CACL,CAAC,UAAU,CACT,gBAAgB,CAAC,CAAC,KAAK,CAAC,CACxB,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAClB,WAAW,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAC9B,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAChB,WAAW,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAC9B,MAAM,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CACpB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,QAAQ,CAAC,CAAC,CAAC,IAAY,EAAE,EAAE;YACzB,QAAQ,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,CAAC,EACF,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { useEffect, useState } from 'react';\n\nimport { IconPicker, IconPickerProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/IconPicker',\n component: IconPicker,\n args: {\n defaultSelection: 'pegasus',\n label: 'IconPicker input',\n labelHidden: false,\n info: 'Type in or click to expand the Popover',\n placeholder: '',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false\n },\n argTypes: {\n defaultSelection: { control: { type: 'text' } },\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { control: { type: 'text' } },\n placeholder: { control: { type: 'text' } },\n status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } },\n required: { control: { type: 'boolean' } },\n disabled: { control: { type: 'boolean' } },\n readOnly: { control: { type: 'boolean' } }\n }\n} as Meta;\n\nexport const IconPickerDemo: Story<IconPickerProps> = args => {\n const [value, setValue] = useState(args.defaultSelection);\n\n useEffect(() => {\n setValue(args.defaultSelection);\n }, [args.defaultSelection]);\n\n return (\n <IconPicker\n defaultSelection={value}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n placeholder={args.placeholder}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n onSelect={(icon: string) => {\n setValue(icon);\n }}\n />\n );\n};\n"]}
1
+ {"version":3,"file":"IconPicker.stories.jsx","sourceRoot":"","sources":["../../../src/core/IconPicker/IconPicker.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAmB,MAAM,yBAAyB,CAAC;AAEtE,eAAe;IACb,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE;QACJ,gBAAgB,EAAE,SAAS;QAC3B,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,wCAAwC;QAC9C,WAAW,EAAE,EAAE;QACf,MAAM,EAAE,SAAS;QACjB,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;KAChB;IACD,QAAQ,EAAE;QACR,gBAAgB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QAC/C,KAAK,EA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9B,MAAM,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CACpB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,QAAQ,CAAC,CAAC,CAAC,IAAY,EAAE,EAAE;YACzB,QAAQ,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,CAAC,EACF,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { useEffect, useState } from 'react';\n\nimport { IconPicker, IconPickerProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/IconPicker',\n component: IconPicker,\n args: {\n defaultSelection: 'pegasus',\n label: 'IconPicker input',\n labelHidden: false,\n info: 'Type in or click to expand the Popover',\n placeholder: '',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false\n },\n argTypes: {\n defaultSelection: { control: { type: 'text' } },\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { control: { type: 'text' } },\n placeholder: { control: { type: 'text' } },\n status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } },\n required: { control: { type: 'boolean' } },\n disabled: { control: { type: 'boolean' } },\n readOnly: { control: { type: 'boolean' } }\n }\n} as Meta;\n\nexport const IconPickerDemo: Story<IconPickerProps> = (args: IconPickerProps) => {\n const [value, setValue] = useState(args.defaultSelection);\n\n useEffect(() => {\n setValue(args.defaultSelection);\n }, [args.defaultSelection]);\n\n return (\n <IconPicker\n defaultSelection={value}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n placeholder={args.placeholder}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n onSelect={(icon: string) => {\n setValue(icon);\n }}\n />\n );\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 ImageDemo: () => JSX.Element;
4
+ export declare const ImageDemo: Story;
6
5
  //# sourceMappingURL=Image.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Image.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Image/Image.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;;AAIxC,wBAGU;AAEV,eAAO,MAAM,SAAS,mBAIrB,CAAC"}
1
+ {"version":3,"file":"Image.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Image/Image.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAI/C,wBAGU;AAEV,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Image.stories.jsx","sourceRoot":"","sources":["../../../src/core/Image/Image.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,eAAe;IACb,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,KAAK;CACT,CAAC;AAEV,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,EAAE;IAC5B,OAAO,CACL,CAAC,KAAK,CAAC,GAAG,CAAC,uEAAuE,CAAC,GAAG,CAAC,MAAM,EAAG,CACjG,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta } from '@storybook/react';\n\nimport { Image } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Image',\n component: Image\n} as Meta;\n\nexport const ImageDemo = () => {\n return (\n <Image src='https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg' alt='Pega' />\n );\n};\n"]}
1
+ {"version":3,"file":"Image.stories.jsx","sourceRoot":"","sources":["../../../src/core/Image/Image.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,eAAe;IACb,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,KAAK;CACT,CAAC;AAEV,MAAM,CAAC,MAAM,SAAS,GAAU,GAAG,EAAE;IACnC,OAAO,CACL,CAAC,KAAK,CAAC,GAAG,CAAC,uEAAuE,CAAC,GAAG,CAAC,MAAM,EAAG,CACjG,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Image } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Image',\n component: Image\n} as Meta;\n\nexport const ImageDemo: Story = () => {\n return (\n <Image src='https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg' alt='Pega' />\n );\n};\n"]}
@@ -6,4 +6,13 @@ interface InputStoryProps extends InputProps {
6
6
  showAction: boolean;
7
7
  }
8
8
  export declare const InputDemo: Story<InputStoryProps>;
9
+ interface ConfigurableInputProps {
10
+ height?: string;
11
+ padding?: string;
12
+ errorStatusColor?: string;
13
+ successStatusColor?: string;
14
+ warningStatusColor?: string;
15
+ status?: InputProps['status'];
16
+ }
17
+ export declare const ConfigurableInput: Story<ConfigurableInputProps>;
9
18
  //# sourceMappingURL=Input.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Input/Input.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAS,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAE5D,wBAGU;AAEV,UAAU,eAAgB,SAAQ,UAAU;IAC1C,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,eAAe,CA0B5C,CAAC"}
1
+ {"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Input/Input.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAwB,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAE3E,wBAGU;AAEV,UAAU,eAAgB,SAAQ,UAAU;IAC1C,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,eAAe,CA0B5C,CAAC;AA+BF,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;CAC/B;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,sBAAsB,CA+B3D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Input } from '@pega/cosmos-react-core';
1
+ import { Configuration, Input } from '@pega/cosmos-react-core';
2
2
  export default {
3
3
  title: 'Core/Input',
4
4
  component: Input
@@ -41,4 +41,43 @@ InputDemo.argTypes = {
41
41
  disabled: { control: { type: 'boolean' } },
42
42
  readOnly: { control: { type: 'boolean' } }
43
43
  };
44
+ export const ConfigurableInput = (args) => {
45
+ return (<Configuration theme={{
46
+ components: {
47
+ input: {
48
+ height: args.height,
49
+ padding: args.padding
50
+ },
51
+ 'form-field': {
52
+ error: {
53
+ 'status-color': args.errorStatusColor
54
+ },
55
+ success: {
56
+ 'status-color': args.successStatusColor
57
+ },
58
+ warning: {
59
+ 'status-color': args.warningStatusColor
60
+ }
61
+ }
62
+ }
63
+ }}>
64
+ <Input status={args.status} label='Input' placeholder='Enter your input' info='Enter some value'/>
65
+ </Configuration>);
66
+ };
67
+ ConfigurableInput.args = {
68
+ height: '2rem',
69
+ padding: '0.5rem',
70
+ errorStatusColor: '#d91c29',
71
+ successStatusColor: '#20aa50',
72
+ warningStatusColor: '#fd6000',
73
+ status: undefined
74
+ };
75
+ ConfigurableInput.argTypes = {
76
+ height: { control: { type: 'text' } },
77
+ padding: { control: { type: 'text' } },
78
+ errorStatusColor: { control: { type: 'color' } },
79
+ successStatusColor: { control: { type: 'color' } },
80
+ warningStatusColor: { control: { type: 'color' } },
81
+ status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } }
82
+ };
44
83
  //# sourceMappingURL=Input.stories.jsx.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.stories.jsx","sourceRoot":"","sources":["../../../src/core/Input/Input.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAc,MAAM,yBAAyB,CAAC;AAE5D,eAAe;IACb,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,KAAK;CACT,CAAC;AAMV,MAAM,CAAC,MAAM,SAAS,GAA2B,CAAC,IAAqB,EAAE,EAAE;IACzE,OAAO,CACL,CAAC,KAAK,CACJ,EAAE,CAAC,YAAY,CACf,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAChB,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAClB,WAAW,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAC9B,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAChB,WAAW,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAC9B,MAAM,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CACpB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,OAAO,CAAC,CACN,IAAI,CAAC,UAAU;YACb,CAAC,CAAC;gBACE;oBACE,EAAE,EAAE,QAAQ;oBACZ,IAAI,EAAE,WAAW;oBACjB,IAAI,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AE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC3C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Input, InputProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Input',\n component: Input\n} as Meta;\n\ninterface InputStoryProps extends InputProps {\n showAction: boolean;\n}\n\nexport const InputDemo: Story<InputStoryProps> = (args: InputStoryProps) => {\n return (\n <Input\n id='input-demo'\n type={args.type}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n placeholder={args.placeholder}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n actions={\n args.showAction\n ? [\n {\n id: 'config',\n text: 'Configure',\n icon: 'gear'\n }\n ]\n : undefined\n }\n />\n );\n};\n\nInputDemo.args = {\n type: 'text',\n showAction: false,\n label: 'Input',\n labelHidden: false,\n info: 'Enter some value',\n placeholder: 'Enter your input',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false\n};\n\nInputDemo.argTypes = {\n type: {\n options: ['text', 'password', 'email', 'url'],\n control: { type: 'select' }\n },\n showAction: { control: { type: 'boolean' } },\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { control: { type: 'text' } },\n placeholder: { control: { type: 'text' } },\n status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } },\n required: { control: { type: 'boolean' } },\n disabled: { control: { type: 'boolean' } },\n readOnly: { control: { type: 'boolean' } }\n};\n"]}
1
+ {"version":3,"file":"Input.stories.jsx","sourceRoot":"","sources":["../../../src/core/Input/Input.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,KAAK,EAAc,MAAM,yBAAyB,CAAC;AAE3E,eAAe;IACb,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,KAAK;CACT,CAAC;AAMV,MAAM,CAAC,MAAM,SAAS,GAA2B,CAAC,IAAqB,EAAE,EAAE;IACzE,OAAO,CACL,CAAC,KAAK,CAC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AC,kBAAkB,CAC9B,IAAI,CAAC,kBAAkB,EAE3B;IAAA,EAAE,aAAa,CAAC,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,iBAAiB,CAAC,IAAI,GAAG;IACvB,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,QAAQ;IACjB,gBAAgB,EAAE,SAAS;IAC3B,kBAAkB,EAAE,SAAS;IAC7B,kBAAkB,EAAE,SAAS;IAC7B,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,iBAAiB,CAAC,QAAQ,GAAG;IAC3B,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACrC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACtC,gBAAgB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAChD,kBAAkB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAClD,kBAAkB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAClD,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CAC7F,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Configuration, Input, InputProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Input',\n component: Input\n} as Meta;\n\ninterface InputStoryProps extends InputProps {\n showAction: boolean;\n}\n\nexport const InputDemo: Story<InputStoryProps> = (args: InputStoryProps) => {\n return (\n <Input\n id='input-demo'\n type={args.type}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n placeholder={args.placeholder}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n actions={\n args.showAction\n ? [\n {\n id: 'config',\n text: 'Configure',\n icon: 'gear'\n }\n ]\n : undefined\n }\n />\n );\n};\n\nInputDemo.args = {\n type: 'text',\n showAction: false,\n label: 'Input',\n labelHidden: false,\n info: 'Enter some value',\n placeholder: 'Enter your input',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false\n};\n\nInputDemo.argTypes = {\n type: {\n options: ['text', 'password', 'email', 'url'],\n control: { type: 'select' }\n },\n showAction: { control: { type: 'boolean' } },\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { control: { type: 'text' } },\n placeholder: { control: { type: 'text' } },\n status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } },\n required: { control: { type: 'boolean' } },\n disabled: { control: { type: 'boolean' } },\n readOnly: { control: { type: 'boolean' } }\n};\n\ninterface ConfigurableInputProps {\n height?: string;\n padding?: string;\n errorStatusColor?: string;\n successStatusColor?: string;\n warningStatusColor?: string;\n status?: InputProps['status'];\n}\n\nexport const ConfigurableInput: Story<ConfigurableInputProps> = (args: ConfigurableInputProps) => {\n return (\n <Configuration\n theme={{\n components: {\n input: {\n height: args.height,\n padding: args.padding\n },\n 'form-field': {\n error: {\n 'status-color': args.errorStatusColor\n },\n success: {\n 'status-color': args.successStatusColor\n },\n warning: {\n 'status-color': args.warningStatusColor\n }\n }\n }\n }}\n >\n <Input\n status={args.status}\n label='Input'\n placeholder='Enter your input'\n info='Enter some value'\n />\n </Configuration>\n );\n};\n\nConfigurableInput.args = {\n height: '2rem',\n padding: '0.5rem',\n errorStatusColor: '#d91c29',\n successStatusColor: '#20aa50',\n warningStatusColor: '#fd6000',\n status: undefined\n};\n\nConfigurableInput.argTypes = {\n height: { control: { type: 'text' } },\n padding: { control: { type: 'text' } },\n errorStatusColor: { control: { type: 'color' } },\n successStatusColor: { control: { type: 'color' } },\n warningStatusColor: { control: { type: 'color' } },\n status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } }\n};\n"]}
@@ -3,4 +3,8 @@ import { LabelProps } 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 LabelDemo: Story<LabelProps>;
6
+ interface ConfigurableLabelProps {
7
+ fontSize?: string;
8
+ }
9
+ export declare const ConfigurableLabel: Story<ConfigurableLabelProps>;
6
10
  //# sourceMappingURL=Label.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Label/Label.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAS,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAE5D,wBAGU;AAEV,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,UAAU,CAEvC,CAAC"}
1
+ {"version":3,"file":"Label.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Label/Label.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAwB,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAE3E,wBAGU;AAEV,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,UAAU,CAEvC,CAAC;AAUF,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,sBAAsB,CAc3D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Label } from '@pega/cosmos-react-core';
1
+ import { Configuration, Label } from '@pega/cosmos-react-core';
2
2
  export default {
3
3
  title: 'Core/Label',
4
4
  component: Label
@@ -12,4 +12,21 @@ LabelDemo.args = {
12
12
  LabelDemo.argTypes = {
13
13
  labelHidden: { control: { type: 'boolean' } }
14
14
  };
15
+ export const ConfigurableLabel = (args) => {
16
+ return (<Configuration theme={{
17
+ components: {
18
+ label: {
19
+ 'font-size': args.fontSize
20
+ }
21
+ }
22
+ }}>
23
+ <Label>Label</Label>
24
+ </Configuration>);
25
+ };
26
+ ConfigurableLabel.args = {
27
+ fontSize: 'xs'
28
+ };
29
+ ConfigurableLabel.argTypes = {
30
+ fontSize: { options: ['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl'], control: { type: 'select' } }
31
+ };
15
32
  //# sourceMappingURL=Label.stories.jsx.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.stories.jsx","sourceRoot":"","sources":["../../../src/core/Label/Label.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAc,MAAM,yBAAyB,CAAC;AAE5D,eAAe;IACb,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,KAAK;CACT,CAAC;AAEV,MAAM,CAAC,MAAM,SAAS,GAAsB,CAAC,IAAgB,EAAE,EAAE;IAC/D,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC,CAAC;AAEF,SAAS,CAAC,IAAI,GAAG;IACf,WAAW,EAAE,KAAK;CACnB,CAAC;AAEF,SAAS,CAAC,QAAQ,GAAG;IACnB,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC9C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Label, LabelProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Label',\n component: Label\n} as Meta;\n\nexport const LabelDemo: Story<LabelProps> = (args: LabelProps) => {\n return <Label labelHidden={args.labelHidden}>Label</Label>;\n};\n\nLabelDemo.args = {\n labelHidden: false\n};\n\nLabelDemo.argTypes = {\n labelHidden: { control: { type: 'boolean' } }\n};\n"]}
1
+ {"version":3,"file":"Label.stories.jsx","sourceRoot":"","sources":["../../../src/core/Label/Label.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,KAAK,EAAc,MAAM,yBAAyB,CAAC;AAE3E,eAAe;IACb,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,KAAK;CACT,CAAC;AAEV,MAAM,CAAC,MAAM,SAAS,GAAsB,CAAC,IAAgB,EAAE,EAAE;IAC/D,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC,CAAC;AAEF,SAAS,CAAC,IAAI,GAAG;IACf,WAAW,EAAE,KAAK;CACnB,CAAC;AAEF,SAAS,CAAC,QAAQ,GAAG;IACnB,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC9C,CAAC;AAMF,MAAM,CAAC,MAAM,iBAAiB,GAAkC,CAAC,IAA4B,EAAE,EAAE;IAC/F,OAAO,CACL,CAAC,aAAa,CACZ,KAAK,CAAC,CAAC;YACL,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,WAAW,EAAE,IAAI,CAAC,QAAQ;iBAC3B;aACF;SACF,CAAC,CAEF;MAAA,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CACrB;IAAA,EAAE,aAAa,CAAC,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,iBAAiB,CAAC,IAAI,GAAG;IACvB,QAAQ,EAAE,IAAI;CACf,CAAC;AAEF,iBAAiB,CAAC,QAAQ,GAAG;IAC3B,QAAQ,EAAE,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CAC9F,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Configuration, Label, LabelProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Label',\n component: Label\n} as Meta;\n\nexport const LabelDemo: Story<LabelProps> = (args: LabelProps) => {\n return <Label labelHidden={args.labelHidden}>Label</Label>;\n};\n\nLabelDemo.args = {\n labelHidden: false\n};\n\nLabelDemo.argTypes = {\n labelHidden: { control: { type: 'boolean' } }\n};\n\ninterface ConfigurableLabelProps {\n fontSize?: string;\n}\n\nexport const ConfigurableLabel: Story<ConfigurableLabelProps> = (args: ConfigurableLabelProps) => {\n return (\n <Configuration\n theme={{\n components: {\n label: {\n 'font-size': args.fontSize\n }\n }\n }}\n >\n <Label>Label</Label>\n </Configuration>\n );\n};\n\nConfigurableLabel.args = {\n fontSize: 'xs'\n};\n\nConfigurableLabel.argTypes = {\n fontSize: { options: ['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl'], control: { type: 'select' } }\n};\n"]}
@@ -1,18 +1,8 @@
1
- /// <reference types="react" />
2
1
  import { Meta, Story } from '@storybook/react';
3
2
  import { LinkProps } 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 LinkDemo: Story<LinkProps>;
7
- export declare const LinkWithIconDemo: {
8
- (): JSX.Element;
9
- argTypes: {
10
- variant: {
11
- table: {
12
- disable: boolean;
13
- };
14
- };
15
- };
16
- };
6
+ export declare const LinkWithIconDemo: Story;
17
7
  export declare const PreviewableLink: Story<LinkProps>;
18
8
  //# sourceMappingURL=Link.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Link/Link.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAkC,SAAS,EAAE,MAAM,yBAAyB,CAAC;;AAKpF,wBAYU;AAEV,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,SAAS,CAMrC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;CAoB5B,CAAC;AAMF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,SAAS,CAM5C,CAAC"}
1
+ {"version":3,"file":"Link.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Link/Link.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAkC,SAAS,EAAE,MAAM,yBAAyB,CAAC;;AAKpF,wBAYU;AAEV,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,SAAS,CAMrC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAoB9B,CAAC;AAMF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,SAAS,CAM5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Link.stories.jsx","sourceRoot":"","sources":["../../../src/core/Link/Link.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,EAAa,MAAM,yBAAyB,CAAC;AACpF,OAAO,KAAK,QAAQ,MAAM,6DAA6D,CAAC;AAExF,YAAY,CAAC,QAAQ,CAAC,CAAC;AAEvB,eAAe;IACb,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,IAAI;IACf,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM;KAChB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,CAAC;YAC3D,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SAC5B;KACF;CACM,CAAC;AAEV,MAAM,CAAC,MAAM,QAAQ,GAAqB,CAAC,IAAe,EAAE,EAAE;IAC5D,OAAO,CACL,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,QAAQ,CACrE;;IACF,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC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AC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAqB,CAAC,IAAe,EAAE,EAAE;IACnE,OAAO,CACL,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,QAAQ,CACjF;;IACF,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Icon, registerIcon, Flex, Link, LinkProps } from '@pega/cosmos-react-core';\nimport * as plusIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/plus.icon';\n\nregisterIcon(plusIcon);\n\nexport default {\n title: 'Core/Link',\n component: Link,\n args: {\n variant: 'link'\n },\n argTypes: {\n variant: {\n options: ['link', 'primary', 'secondary', 'simple', 'text'],\n control: { type: 'select' }\n }\n }\n} as Meta;\n\nexport const LinkDemo: Story<LinkProps> = (args: LinkProps) => {\n return (\n <Link href='http://www.pega.com' variant={args.variant} target='_blank'>\n Visit Pega!\n </Link>\n );\n};\n\nexport const LinkWithIconDemo = () => {\n return (\n <Flex container={{ alignItems: 'center' }}>\n <Link href='http://www.pega.com' variant='primary' icon target='_blank'>\n <Icon name='plus' />\n </Link>\n <Link href='http://www.pega.com' variant='secondary' icon target='_blank'>\n <Icon name='plus' />\n </Link>\n <Link href='http://www.pega.com' variant='simple' icon target='_blank'>\n <Icon name='plus' />\n </Link>\n <Link href='http://www.pega.com' variant='link' icon target='_blank'>\n <Icon name='plus' />\n </Link>\n <Link href='http://www.pega.com' variant='text' icon target='_blank'>\n <Icon name='plus' />\n </Link>\n </Flex>\n );\n};\n\nLinkWithIconDemo.argTypes = {\n variant: { table: { disable: true } }\n};\n\nexport const PreviewableLink: Story<LinkProps> = (args: LinkProps) => {\n return (\n <Link href='http://www.pega.com' variant={args.variant} previewable target='_blank'>\n Visit Pega!\n </Link>\n );\n};\n"]}
1
+ {"version":3,"file":"Link.stories.jsx","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AI,CAAC,IAAI,CAAC,MAAM,EACnB;MAAA,EAAE,IAAI,CACN;MAAA,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CACpE;QAAA,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EACnB;MAAA,EAAE,IAAI,CACN;MAAA,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAClE;QAAA,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EACnB;MAAA,EAAE,IAAI,CACN;MAAA,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAClE;QAAA,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EACnB;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,gBAAgB,CAAC,QAAQ,GAAG;IAC1B,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAqB,CAAC,IAAe,EAAE,EAAE;IACnE,OAAO,CACL,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,QAAQ,CACjF;;IACF,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Icon, registerIcon, Flex, Link, LinkProps } from '@pega/cosmos-react-core';\nimport * as plusIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/plus.icon';\n\nregisterIcon(plusIcon);\n\nexport default {\n title: 'Core/Link',\n component: Link,\n args: {\n variant: 'link'\n },\n argTypes: {\n variant: {\n options: ['link', 'primary', 'secondary', 'simple', 'text'],\n control: { type: 'select' }\n }\n }\n} as Meta;\n\nexport const LinkDemo: Story<LinkProps> = (args: LinkProps) => {\n return (\n <Link href='http://www.pega.com' variant={args.variant} target='_blank'>\n Visit Pega!\n </Link>\n );\n};\n\nexport const LinkWithIconDemo: Story = () => {\n return (\n <Flex container={{ alignItems: 'center' }}>\n <Link href='http://www.pega.com' variant='primary' icon target='_blank'>\n <Icon name='plus' />\n </Link>\n <Link href='http://www.pega.com' variant='secondary' icon target='_blank'>\n <Icon name='plus' />\n </Link>\n <Link href='http://www.pega.com' variant='simple' icon target='_blank'>\n <Icon name='plus' />\n </Link>\n <Link href='http://www.pega.com' variant='link' icon target='_blank'>\n <Icon name='plus' />\n </Link>\n <Link href='http://www.pega.com' variant='text' icon target='_blank'>\n <Icon name='plus' />\n </Link>\n </Flex>\n );\n};\n\nLinkWithIconDemo.argTypes = {\n variant: { table: { disable: true } }\n};\n\nexport const PreviewableLink: Story<LinkProps> = (args: LinkProps) => {\n return (\n <Link href='http://www.pega.com' variant={args.variant} previewable target='_blank'>\n Visit Pega!\n </Link>\n );\n};\n"]}
@@ -1,6 +1,6 @@
1
1
  import { Meta, Story } from '@storybook/react';
2
- import { CommaSeparatedListProps } from '@pega/cosmos-react-core';
2
+ import { CommaSeparatedListProps, OmitStrict } from '@pega/cosmos-react-core';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
- export declare const CommaSeparatedListDemo: Story<CommaSeparatedListProps>;
5
+ export declare const CommaSeparatedListDemo: Story<OmitStrict<CommaSeparatedListProps, 'items'>>;
6
6
  //# sourceMappingURL=CommaSeparatedList.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommaSeparatedList.stories.d.ts","sourceRoot":"","sources":["../../../src/core/List/CommaSeparatedList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAsB,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;;AAEtF,wBAGU;AAEV,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,uBAAuB,CAqBjE,CAAC"}
1
+ {"version":3,"file":"CommaSeparatedList.stories.d.ts","sourceRoot":"","sources":["../../../src/core/List/CommaSeparatedList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAsB,uBAAuB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAElG,wBAGU;AAEV,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,UAAU,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAqBtF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommaSeparatedList.stories.jsx","sourceRoot":"","sources":["../../../src/core/List/CommaSeparatedList.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAA2B,MAAM,yBAAyB,CAAC;AAEtF,eAAe;IACb,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,kBAAkB;CACtB,CAAC;AAEV,MAAM,CAAC,MAAM,sBAAsB,GAAmC,CACpE,IAA6B,EAC7B,EAAE;IACF,MAAM,KAAK,GAAG;QACZ,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,UAAU;QACV,UAAU;QACV,UAAU;QACV,UAAU;QACV,UAAU;KACX,CAAC;IAEF,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,EAAG,CAAC;AACrE,CAAC,CAAC;AAEF,sBAAsB,CAAC,IAAI,GAAG;IAC5B,OAAO,EAAE,cAAc;CACxB,CAAC;AAEF,sBAAsB,CAAC,QAAQ,GAAG;IAChC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CACvC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { CommaSeparatedList, CommaSeparatedListProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/List',\n component: CommaSeparatedList\n} as Meta;\n\nexport const CommaSeparatedListDemo: Story<CommaSeparatedListProps> = (\n args: CommaSeparatedListProps\n) => {\n const items = [\n 'Value 1',\n 'Value 2',\n 'Value 3',\n 'Value 4',\n 'Value 5',\n 'Value 6',\n 'Value 7',\n 'Value 8',\n 'Value 9',\n 'Value 10',\n 'Value 11',\n 'Value 12',\n 'Value 13',\n 'Value 14'\n ];\n\n return <CommaSeparatedList heading={args.heading} items={items} />;\n};\n\nCommaSeparatedListDemo.args = {\n heading: 'List Heading'\n};\n\nCommaSeparatedListDemo.argTypes = {\n heading: { control: { type: 'text' } }\n};\n"]}
1
+ {"version":3,"file":"CommaSeparatedList.stories.jsx","sourceRoot":"","sources":["../../../src/core/List/CommaSeparatedList.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAuC,MAAM,yBAAyB,CAAC;AAElG,eAAe;IACb,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,kBAAkB;CACtB,CAAC;AAEV,MAAM,CAAC,MAAM,sBAAsB,GAAwD,CACzF,IAAkD,EAClD,EAAE;IACF,MAAM,KAAK,GAAG;QACZ,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,UAAU;QACV,UAAU;QACV,UAAU;QACV,UAAU;QACV,UAAU;KACX,CAAC;IAEF,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,EAAG,CAAC;AACrE,CAAC,CAAC;AAEF,sBAAsB,CAAC,IAAI,GAAG;IAC5B,OAAO,EAAE,cAAc;CACxB,CAAC;AAEF,sBAAsB,CAAC,QAAQ,GAAG;IAChC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CACvC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { CommaSeparatedList, CommaSeparatedListProps, OmitStrict } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/List',\n component: CommaSeparatedList\n} as Meta;\n\nexport const CommaSeparatedListDemo: Story<OmitStrict<CommaSeparatedListProps, 'items'>> = (\n args: OmitStrict<CommaSeparatedListProps, 'items'>\n) => {\n const items = [\n 'Value 1',\n 'Value 2',\n 'Value 3',\n 'Value 4',\n 'Value 5',\n 'Value 6',\n 'Value 7',\n 'Value 8',\n 'Value 9',\n 'Value 10',\n 'Value 11',\n 'Value 12',\n 'Value 13',\n 'Value 14'\n ];\n\n return <CommaSeparatedList heading={args.heading} items={items} />;\n};\n\nCommaSeparatedListDemo.args = {\n heading: 'List Heading'\n};\n\nCommaSeparatedListDemo.argTypes = {\n heading: { control: { type: 'text' } }\n};\n"]}
@@ -0,0 +1,9 @@
1
+ import { Dispatch } from 'react';
2
+ import { Action } from '@pega/cosmos-react-core';
3
+ import { ViewSelectorProps } from '@pega/cosmos-react-core/lib/components/ListToolbar/ListToolbar.types';
4
+ export declare const actions: Action[];
5
+ export declare const mockViews: ViewSelectorProps['views'];
6
+ export declare const StagedStateDispatchContext: import("react").Context<Dispatch<object>>;
7
+ export declare const FilterRenderer: () => JSX.Element;
8
+ export declare const GroupRenderer: () => JSX.Element;
9
+ //# sourceMappingURL=ListToolbar.mocks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListToolbar.mocks.d.ts","sourceRoot":"","sources":["../../../src/core/ListToolbar/ListToolbar.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8B,QAAQ,EAAwB,MAAM,OAAO,CAAC;AAEnF,OAAO,EAGL,MAAM,EAQP,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sEAAsE,CAAC;AAEzG,eAAO,MAAM,OAAO,EAAE,MAAM,EAIzB,CAAC;AAEJ,eAAO,MAAM,SAAS,EAAE,iBAAiB,CAAC,OAAO,CAIhD,CAAC;AAEF,eAAO,MAAM,0BAA0B,2CAA4C,CAAC;AA6DpF,eAAO,MAAM,cAAc,mBAoB1B,CAAC;AAEF,eAAO,MAAM,aAAa,mBAEzB,CAAC"}
@@ -0,0 +1,71 @@
1
+ import { createContext, useContext, useState } from 'react';
2
+ import { useAfterInitialEffect, useUID, Input, Select, Option, Flex, Button, Icon, Grid } from '@pega/cosmos-react-core';
3
+ export const actions = ['Action 1', 'Action 2', 'Action 3'].map(text => ({
4
+ text,
5
+ id: text,
6
+ icon: 'filter'
7
+ }));
8
+ export const mockViews = [
9
+ { id: '1', text: 'Data view 1', selected: true },
10
+ { id: '2', text: 'Data view 2', selected: false },
11
+ { id: '3', text: 'Data view 3', selected: false }
12
+ ];
13
+ export const StagedStateDispatchContext = createContext(() => { });
14
+ const mockFields = Array.from({ length: 10 }, (_, i) => `Field ${i + 1}`);
15
+ const MockCondition = () => {
16
+ const setStagedState = useContext(StagedStateDispatchContext);
17
+ const conditionId = useUID();
18
+ const [localState, setLocalState] = useState({
19
+ lhs: 'Field 1',
20
+ comparator: 'Equals',
21
+ rhs: ''
22
+ });
23
+ useAfterInitialEffect(() => {
24
+ setStagedState({
25
+ [conditionId]: localState
26
+ });
27
+ }, [conditionId, localState, setStagedState]);
28
+ return (<Grid container={{ gap: 2, cols: 'repeat(3, minmax(0, 1fr))' }}>
29
+ <Select label='Field' onChange={(e) => {
30
+ setLocalState(cur => ({ ...cur, lhs: e.target.value }));
31
+ }}>
32
+ {mockFields.map(field => {
33
+ return (<Option value={field} key={field}>
34
+ {field}
35
+ </Option>);
36
+ })}
37
+ </Select>
38
+ <Select label='Comparator' onChange={(e) => {
39
+ setLocalState(cur => ({ ...cur, comparator: e.target.value }));
40
+ }}>
41
+ {['Equals', 'Contains', 'Starts with'].map(comparator => {
42
+ return (<Option value={comparator} key={comparator}>
43
+ {comparator}
44
+ </Option>);
45
+ })}
46
+ </Select>
47
+ <Input label='Value' value={localState.rhs} onChange={(e) => {
48
+ setLocalState(cur => ({ ...cur, rhs: e.target.value }));
49
+ }}/>
50
+ </Grid>);
51
+ };
52
+ export const FilterRenderer = () => {
53
+ const [conditions, setConditions] = useState(() => [<MockCondition key={1}/>]);
54
+ return (<Flex container={{ direction: 'column', gap: 2 }}>
55
+ {conditions}
56
+ <div>
57
+ <Button variant='link' onClick={() => {
58
+ setConditions(cur => [...cur, <MockCondition key={cur.length + 1}/>]);
59
+ }}>
60
+ <Flex container={{ inline: true, alignItems: 'start', gap: 1 }} as='span'>
61
+ <Icon name='plus'/>
62
+ <span>Add condition</span>
63
+ </Flex>
64
+ </Button>
65
+ </div>
66
+ </Flex>);
67
+ };
68
+ export const GroupRenderer = () => {
69
+ return <>GroupBy content goes here...</>;
70
+ };
71
+ //# sourceMappingURL=ListToolbar.mocks.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListToolbar.mocks.jsx","sourceRoot":"","sources":["../../../src/core/ListToolbar/ListToolbar.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAY,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnF,OAAO,EACL,qBAAqB,EACrB,MAAM,EAEN,KAAK,EACL,MAAM,EACN,MAAM,EACN,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,IAAI,EACL,MAAM,yBAAyB,CAAC;AAGjC,MAAM,CAAC,MAAM,OAAO,GAAa,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACjF,IAAI;IACJ,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,QAAQ;CACf,C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GAAG,CAAC;AAC3C,CAAC,CAAC","sourcesContent":["import { ChangeEvent, createContext, Dispatch, useContext, useState } from 'react';\n\nimport {\n useAfterInitialEffect,\n useUID,\n Action,\n Input,\n Select,\n Option,\n Flex,\n Button,\n Icon,\n Grid\n} from '@pega/cosmos-react-core';\nimport { ViewSelectorProps } from '@pega/cosmos-react-core/lib/components/ListToolbar/ListToolbar.types';\n\nexport const actions: Action[] = ['Action 1', 'Action 2', 'Action 3'].map(text => ({\n text,\n id: text,\n icon: 'filter'\n}));\n\nexport const mockViews: ViewSelectorProps['views'] = [\n { id: '1', text: 'Data view 1', selected: true },\n { id: '2', text: 'Data view 2', selected: false },\n { id: '3', text: 'Data view 3', selected: false }\n];\n\nexport const StagedStateDispatchContext = createContext<Dispatch<object>>(() => {});\n\nconst mockFields = Array.from({ length: 10 }, (_, i) => `Field ${i + 1}`);\n\nconst MockCondition = () => {\n const setStagedState = useContext(StagedStateDispatchContext);\n const conditionId = useUID();\n\n const [localState, setLocalState] = useState({\n lhs: 'Field 1',\n comparator: 'Equals',\n rhs: ''\n });\n\n useAfterInitialEffect(() => {\n setStagedState({\n [conditionId]: localState\n });\n }, [conditionId, localState, setStagedState]);\n\n return (\n <Grid container={{ gap: 2, cols: 'repeat(3, minmax(0, 1fr))' }}>\n <Select\n label='Field'\n onChange={(e: ChangeEvent<HTMLSelectElement>) => {\n setLocalState(cur => ({ ...cur, lhs: e.target.value }));\n }}\n >\n {mockFields.map(field => {\n return (\n <Option value={field} key={field}>\n {field}\n </Option>\n );\n })}\n </Select>\n <Select\n label='Comparator'\n onChange={(e: ChangeEvent<HTMLSelectElement>) => {\n setLocalState(cur => ({ ...cur, comparator: e.target.value }));\n }}\n >\n {['Equals', 'Contains', 'Starts with'].map(comparator => {\n return (\n <Option value={comparator} key={comparator}>\n {comparator}\n </Option>\n );\n })}\n </Select>\n <Input\n label='Value'\n value={localState.rhs}\n onChange={(e: ChangeEvent<HTMLInputElement>) => {\n setLocalState(cur => ({ ...cur, rhs: e.target.value }));\n }}\n />\n </Grid>\n );\n};\n\nexport const FilterRenderer = () => {\n const [conditions, setConditions] = useState<JSX.Element[]>(() => [<MockCondition key={1} />]);\n return (\n <Flex container={{ direction: 'column', gap: 2 }}>\n {conditions}\n <div>\n <Button\n variant='link'\n onClick={() => {\n setConditions(cur => [...cur, <MockCondition key={cur.length + 1} />]);\n }}\n >\n <Flex container={{ inline: true, alignItems: 'start', gap: 1 }} as='span'>\n <Icon name='plus' />\n <span>Add condition</span>\n </Flex>\n </Button>\n </div>\n </Flex>\n );\n};\n\nexport const GroupRenderer = () => {\n return <>GroupBy content goes here...</>;\n};\n"]}
@@ -0,0 +1,6 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const ListToolbarDemo: Story;
5
+ export declare const SimpleToolbarDemo: Story;
6
+ //# sourceMappingURL=ListToolbar.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListToolbar.stories.d.ts","sourceRoot":"","sources":["../../../src/core/ListToolbar/ListToolbar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAe/C,wBAGU;AAIV,eAAO,MAAM,eAAe,EAAE,KAsF7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAa/B,CAAC"}