@pega/cosmos-react-demos 3.0.0-dev.3.0 → 3.0.0-dev.30.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 (1484) hide show
  1. package/jsx/build/AppHeader/AppHeader.stories.d.ts +1 -1
  2. package/jsx/build/AppHeader/AppHeader.stories.d.ts.map +1 -1
  3. package/jsx/build/AppHeader/AppHeader.stories.jsx +102 -76
  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 +2 -2
  10. package/jsx/build/AppShell/AppShell.stories.d.ts.map +1 -1
  11. package/jsx/build/AppShell/AppShell.stories.jsx +20 -45
  12. package/jsx/build/AppShell/AppShell.stories.jsx.map +1 -1
  13. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +5 -3
  14. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  15. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx +39 -2
  16. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -1
  17. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +60 -0
  18. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +1 -0
  19. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js +523 -0
  20. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +1 -0
  21. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +26 -0
  22. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -0
  23. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx +339 -0
  24. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx.map +1 -0
  25. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts +4 -4
  26. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +1 -1
  27. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js.map +1 -1
  28. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +21 -2
  29. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  30. package/jsx/build/FlowModeller/{FlowModeller.mocks.js → FlowModeller.mocks.jsx} +186 -34
  31. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +1 -0
  32. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +9 -10
  33. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  34. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +267 -152
  35. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +1 -1
  36. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
  37. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
  38. package/jsx/build/FlowModeller/FlowModeller.styles.js +8 -0
  39. package/jsx/build/FlowModeller/FlowModeller.styles.js.map +1 -0
  40. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts +1 -5
  41. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -1
  42. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js +5 -10
  43. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -1
  44. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -7
  45. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  46. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +1 -1
  47. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +3 -0
  48. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -1
  49. package/jsx/build/LifeCycle/LifeCycle.mocks.js +146 -18
  50. package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +1 -1
  51. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +6 -9
  52. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  53. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +111 -27
  54. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -1
  55. package/jsx/build/LifeCycle/utils.d.ts.map +1 -1
  56. package/jsx/build/LifeCycle/utils.js +5 -4
  57. package/jsx/build/LifeCycle/utils.js.map +1 -1
  58. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +63 -0
  59. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
  60. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +396 -0
  61. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +1 -0
  62. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +8 -0
  63. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
  64. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +258 -0
  65. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +1 -0
  66. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
  67. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
  68. package/jsx/build/ObjectSelect/ObjectSelect.styles.js +27 -0
  69. package/jsx/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
  70. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +46 -0
  71. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
  72. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +76 -0
  73. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +1 -0
  74. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  75. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +14 -92
  76. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +1 -1
  77. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +18 -0
  78. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  79. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +287 -0
  80. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +1 -0
  81. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +4 -9
  82. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  83. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +97 -271
  84. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  85. package/jsx/build/Workbench/Workbench.stories.d.ts +1 -0
  86. package/jsx/build/Workbench/Workbench.stories.d.ts.map +1 -1
  87. package/jsx/build/Workbench/Workbench.stories.jsx +204 -18
  88. package/jsx/build/Workbench/Workbench.stories.jsx.map +1 -1
  89. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
  90. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
  91. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +15 -0
  92. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
  93. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +17 -8
  94. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  95. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +99 -65
  96. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -1
  97. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
  98. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
  99. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
  100. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
  101. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  102. package/jsx/condition-builder/ConditionBuilder/props.mock.js +132 -31
  103. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  104. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts +10 -0
  105. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -0
  106. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx +40 -0
  107. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx.map +1 -0
  108. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +4 -0
  109. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -0
  110. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js +181 -0
  111. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -0
  112. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +8 -0
  113. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -0
  114. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx +31 -0
  115. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx.map +1 -0
  116. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +9 -0
  117. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +1 -0
  118. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js +35 -0
  119. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js.map +1 -0
  120. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +9 -0
  121. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -0
  122. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx +25 -0
  123. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +1 -0
  124. package/jsx/core/AppShell/AppShell.mocks.d.ts +1 -1
  125. package/jsx/core/AppShell/AppShell.mocks.jsx +5 -5
  126. package/jsx/core/AppShell/AppShell.mocks.jsx.map +1 -1
  127. package/jsx/core/AppShell/AppShell.stories.d.ts +3 -0
  128. package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -1
  129. package/jsx/core/AppShell/AppShell.stories.jsx +49 -13
  130. package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -1
  131. package/jsx/core/Badges/Keyboard.stories.d.ts +6 -0
  132. package/jsx/core/Badges/Keyboard.stories.d.ts.map +1 -0
  133. package/jsx/core/Badges/Keyboard.stories.jsx +17 -0
  134. package/jsx/core/Badges/Keyboard.stories.jsx.map +1 -0
  135. package/jsx/core/Badges/Selection.stories.d.ts +2 -3
  136. package/jsx/core/Badges/Selection.stories.d.ts.map +1 -1
  137. package/jsx/core/Badges/Selection.stories.jsx.map +1 -1
  138. package/jsx/core/Badges/Tag.stories.d.ts +2 -3
  139. package/jsx/core/Badges/Tag.stories.d.ts.map +1 -1
  140. package/jsx/core/Badges/Tag.stories.jsx.map +1 -1
  141. package/jsx/core/Banner/Banner.stories.d.ts +6 -18
  142. package/jsx/core/Banner/Banner.stories.d.ts.map +1 -1
  143. package/jsx/core/Banner/Banner.stories.jsx +2 -10
  144. package/jsx/core/Banner/Banner.stories.jsx.map +1 -1
  145. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -4
  146. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  147. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
  148. package/jsx/core/Button/Button.stories.d.ts +2 -3
  149. package/jsx/core/Button/Button.stories.d.ts.map +1 -1
  150. package/jsx/core/Button/Button.stories.jsx +6 -6
  151. package/jsx/core/Button/Button.stories.jsx.map +1 -1
  152. package/jsx/core/Card/Card.stories.d.ts +1 -2
  153. package/jsx/core/Card/Card.stories.d.ts.map +1 -1
  154. package/jsx/core/Card/Card.stories.jsx.map +1 -1
  155. package/jsx/core/Checkbox/Checkbox.stories.d.ts +6 -2
  156. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  157. package/jsx/core/Checkbox/Checkbox.stories.jsx +26 -7
  158. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
  159. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +7 -3
  160. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  161. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +46 -5
  162. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
  163. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +5 -3
  164. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  165. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +12 -13
  166. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
  167. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
  168. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
  169. package/jsx/core/ColorPicker/ColorPicker.styles.js +11 -0
  170. package/jsx/core/ColorPicker/ColorPicker.styles.js.map +1 -0
  171. package/jsx/core/ComboBox/ComboBox.stories.d.ts +1 -0
  172. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  173. package/jsx/core/ComboBox/ComboBox.stories.jsx +40 -8
  174. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -1
  175. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts +8 -0
  176. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -0
  177. package/jsx/core/CompositeInput/CompositeInput.mocks.jsx +8 -0
  178. package/jsx/core/CompositeInput/CompositeInput.mocks.jsx.map +1 -0
  179. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts +9 -0
  180. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -0
  181. package/jsx/core/CompositeInput/CompositeInput.stories.jsx +54 -0
  182. package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +1 -0
  183. package/jsx/core/Configuration/Configuration.mocks.d.ts +7 -0
  184. package/jsx/core/Configuration/Configuration.mocks.d.ts.map +1 -0
  185. package/jsx/core/Configuration/Configuration.mocks.jsx +9 -0
  186. package/jsx/core/Configuration/Configuration.mocks.jsx.map +1 -0
  187. package/jsx/core/Configuration/Configuration.stories.d.ts +2 -3
  188. package/jsx/core/Configuration/Configuration.stories.d.ts.map +1 -1
  189. package/jsx/core/Configuration/Configuration.stories.jsx +2 -18
  190. package/jsx/core/Configuration/Configuration.stories.jsx.map +1 -1
  191. package/jsx/core/Configuration/Configuration.styles.d.ts +6 -0
  192. package/jsx/core/Configuration/Configuration.styles.d.ts.map +1 -0
  193. package/jsx/core/Configuration/Configuration.styles.js +12 -0
  194. package/jsx/core/Configuration/Configuration.styles.js.map +1 -0
  195. package/jsx/core/CreditCard/CreditCard.stories.d.ts +14 -0
  196. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
  197. package/jsx/core/CreditCard/CreditCard.stories.jsx +52 -0
  198. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -0
  199. package/jsx/core/Currency/Currency.stories.d.ts +7 -2
  200. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
  201. package/jsx/core/Currency/Currency.stories.jsx +28 -7
  202. package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
  203. package/jsx/core/DateTime/DateTime.stories.d.ts +41 -10
  204. package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
  205. package/jsx/core/DateTime/DateTime.stories.jsx +190 -18
  206. package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
  207. package/jsx/core/DateTime/DateTimePicker.stories.d.ts.map +1 -1
  208. package/jsx/core/DateTime/DateTimePicker.stories.jsx +1 -1
  209. package/jsx/core/DateTime/DateTimePicker.stories.jsx.map +1 -1
  210. package/jsx/core/Dialog/Dialog.stories.d.ts +6 -0
  211. package/jsx/core/Dialog/Dialog.stories.d.ts.map +1 -0
  212. package/jsx/core/Dialog/Dialog.stories.jsx +79 -0
  213. package/jsx/core/Dialog/Dialog.stories.jsx.map +1 -0
  214. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +8 -4
  215. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  216. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +16 -4
  217. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
  218. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
  219. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  220. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +70 -2
  221. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -1
  222. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
  223. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  224. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +55 -88
  225. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -1
  226. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +3 -2
  227. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  228. package/jsx/core/FieldValueList/FieldValueList.stories.jsx +34 -2
  229. package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +1 -1
  230. package/jsx/core/FieldValueList/FieldValueList.styles.d.ts +2 -0
  231. package/jsx/core/FieldValueList/FieldValueList.styles.d.ts.map +1 -0
  232. package/jsx/core/FieldValueList/FieldValueList.styles.js +8 -0
  233. package/jsx/core/FieldValueList/FieldValueList.styles.js.map +1 -0
  234. package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
  235. package/jsx/core/File/FileDisplay.stories.jsx +16 -39
  236. package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
  237. package/jsx/core/Flex/FlexContainer.stories.d.ts +1 -2
  238. package/jsx/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  239. package/jsx/core/Flex/FlexContainer.stories.jsx.map +1 -1
  240. package/jsx/core/Form/Form.mocks.d.ts.map +1 -1
  241. package/jsx/core/Form/Form.mocks.jsx +7 -6
  242. package/jsx/core/Form/Form.mocks.jsx.map +1 -1
  243. package/jsx/core/Grid/GridContainer.stories.d.ts +4 -5
  244. package/jsx/core/Grid/GridContainer.stories.d.ts.map +1 -1
  245. package/jsx/core/Grid/GridContainer.stories.jsx.map +1 -1
  246. package/jsx/core/Grid/GridItem.stories.d.ts +1 -2
  247. package/jsx/core/Grid/GridItem.stories.d.ts.map +1 -1
  248. package/jsx/core/Grid/GridItem.stories.jsx.map +1 -1
  249. package/jsx/core/HTML/HTML.stories.d.ts +6 -0
  250. package/jsx/core/HTML/HTML.stories.d.ts.map +1 -0
  251. package/jsx/core/HTML/HTML.stories.jsx +13 -0
  252. package/jsx/core/HTML/HTML.stories.jsx.map +1 -0
  253. package/jsx/core/Icon/Icon.stories.d.ts +5 -6
  254. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
  255. package/jsx/core/Icon/Icon.stories.jsx +5 -27
  256. package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
  257. package/jsx/core/Icon/Icon.styles.d.ts +4 -0
  258. package/jsx/core/Icon/Icon.styles.d.ts.map +1 -0
  259. package/jsx/core/Icon/Icon.styles.js +25 -0
  260. package/jsx/core/Icon/Icon.styles.js.map +1 -0
  261. package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
  262. package/jsx/core/IconPicker/IconPicker.stories.jsx +7 -10
  263. package/jsx/core/IconPicker/IconPicker.stories.jsx.map +1 -1
  264. package/jsx/core/Image/Image.stories.d.ts +2 -3
  265. package/jsx/core/Image/Image.stories.d.ts.map +1 -1
  266. package/jsx/core/Image/Image.stories.jsx.map +1 -1
  267. package/jsx/core/Input/Input.stories.d.ts +2 -0
  268. package/jsx/core/Input/Input.stories.d.ts.map +1 -1
  269. package/jsx/core/Input/Input.stories.jsx +78 -2
  270. package/jsx/core/Input/Input.stories.jsx.map +1 -1
  271. package/jsx/core/Lightbox/Lightbox.stories.jsx +1 -1
  272. package/jsx/core/Lightbox/Lightbox.stories.jsx.map +1 -1
  273. package/jsx/core/Link/Link.stories.d.ts +1 -11
  274. package/jsx/core/Link/Link.stories.d.ts.map +1 -1
  275. package/jsx/core/Link/Link.stories.jsx +2 -1
  276. package/jsx/core/Link/Link.stories.jsx.map +1 -1
  277. package/jsx/core/List/CommaSeparatedList.stories.d.ts +2 -2
  278. package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  279. package/jsx/core/List/CommaSeparatedList.stories.jsx.map +1 -1
  280. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
  281. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
  282. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +71 -0
  283. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -0
  284. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +12 -0
  285. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
  286. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +102 -0
  287. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -0
  288. package/jsx/core/Location/Location.stories.d.ts +4 -1
  289. package/jsx/core/Location/Location.stories.d.ts.map +1 -1
  290. package/jsx/core/Location/Location.stories.jsx +13 -6
  291. package/jsx/core/Location/Location.stories.jsx.map +1 -1
  292. package/jsx/core/Location/locationTestUtils.d.ts +3 -0
  293. package/jsx/core/Location/locationTestUtils.d.ts.map +1 -0
  294. package/jsx/core/Location/locationTestUtils.js +29 -0
  295. package/jsx/core/Location/locationTestUtils.js.map +1 -0
  296. package/jsx/core/Menu/Menu.stories.d.ts.map +1 -1
  297. package/jsx/core/Menu/Menu.stories.jsx +7 -6
  298. package/jsx/core/Menu/Menu.stories.jsx.map +1 -1
  299. package/jsx/core/MenuButton/MenuButton.stories.d.ts +6 -6
  300. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  301. package/jsx/core/MenuButton/MenuButton.stories.jsx.map +1 -1
  302. package/jsx/core/Modal/Modal.stories.d.ts +19 -5
  303. package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
  304. package/jsx/core/Modal/Modal.stories.jsx +55 -27
  305. package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
  306. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +34 -0
  307. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -0
  308. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx +124 -0
  309. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +1 -0
  310. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +5 -0
  311. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -0
  312. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx +208 -0
  313. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +1 -0
  314. package/jsx/core/Number/Number.stories.d.ts +9 -3
  315. package/jsx/core/Number/Number.stories.d.ts.map +1 -1
  316. package/jsx/core/Number/Number.stories.jsx +212 -24
  317. package/jsx/core/Number/Number.stories.jsx.map +1 -1
  318. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
  319. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  320. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  321. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +21 -43
  322. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  323. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
  324. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
  325. package/jsx/core/PageTemplates/PageTemplates.styles.js +9 -0
  326. package/jsx/core/PageTemplates/PageTemplates.styles.js.map +1 -1
  327. package/jsx/core/Phone/Phone.stories.d.ts +4 -1
  328. package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
  329. package/jsx/core/Phone/Phone.stories.jsx +12 -3
  330. package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
  331. package/jsx/core/Popover/Popover.stories.d.ts +1 -1
  332. package/jsx/core/Popover/Popover.stories.d.ts.map +1 -1
  333. package/jsx/core/Popover/Popover.stories.jsx +6 -6
  334. package/jsx/core/Popover/Popover.stories.jsx.map +1 -1
  335. package/jsx/core/RadioButton/RadioButton.stories.d.ts +6 -2
  336. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  337. package/jsx/core/RadioButton/RadioButton.stories.jsx +22 -5
  338. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
  339. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +7 -3
  340. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  341. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +46 -5
  342. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
  343. package/jsx/core/SearchInput/SearchInput.mocks.d.ts +12 -0
  344. package/jsx/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
  345. package/jsx/core/SearchInput/SearchInput.mocks.js +25 -0
  346. package/jsx/core/SearchInput/SearchInput.mocks.js.map +1 -0
  347. package/jsx/core/SearchInput/SearchInput.stories.d.ts +1 -4
  348. package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  349. package/jsx/core/SearchInput/SearchInput.stories.jsx +29 -17
  350. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +1 -1
  351. package/jsx/core/Select/Select.stories.d.ts +1 -0
  352. package/jsx/core/Select/Select.stories.d.ts.map +1 -1
  353. package/jsx/core/Select/Select.stories.jsx +10 -3
  354. package/jsx/core/Select/Select.stories.jsx.map +1 -1
  355. package/jsx/core/SkipLinks/SkipLinks.stories.d.ts +6 -0
  356. package/jsx/core/SkipLinks/SkipLinks.stories.d.ts.map +1 -0
  357. package/jsx/core/SkipLinks/SkipLinks.stories.jsx +29 -0
  358. package/jsx/core/SkipLinks/SkipLinks.stories.jsx.map +1 -0
  359. package/jsx/core/SkipLinks/SkipLinks.styles.d.ts +2 -0
  360. package/jsx/core/SkipLinks/SkipLinks.styles.d.ts.map +1 -0
  361. package/jsx/core/SkipLinks/SkipLinks.styles.js +16 -0
  362. package/jsx/core/SkipLinks/SkipLinks.styles.js.map +1 -0
  363. package/jsx/core/Slider/Slider.stories.d.ts +4 -3
  364. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
  365. package/jsx/core/Slider/Slider.stories.jsx +1 -1
  366. package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
  367. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  368. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  369. package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +1 -1
  370. package/jsx/core/SummaryList/SummaryList.stories.d.ts +2 -2
  371. package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  372. package/jsx/core/SummaryList/SummaryList.stories.jsx +4 -4
  373. package/jsx/core/SummaryList/SummaryList.stories.jsx.map +1 -1
  374. package/jsx/core/Tabs/Tabs.stories.d.ts +5 -2
  375. package/jsx/core/Tabs/Tabs.stories.d.ts.map +1 -1
  376. package/jsx/core/Tabs/Tabs.stories.jsx +1 -1
  377. package/jsx/core/Tabs/Tabs.stories.jsx.map +1 -1
  378. package/jsx/core/TextArea/TextArea.stories.d.ts +4 -1
  379. package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
  380. package/jsx/core/TextArea/TextArea.stories.jsx +10 -3
  381. package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
  382. package/jsx/core/Toaster/Toaster.stories.d.ts +2 -3
  383. package/jsx/core/Toaster/Toaster.stories.d.ts.map +1 -1
  384. package/jsx/core/Toaster/Toaster.stories.jsx +3 -3
  385. package/jsx/core/Toaster/Toaster.stories.jsx.map +1 -1
  386. package/jsx/core/Tooltip/Tooltip.stories.d.ts +3 -7
  387. package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  388. package/jsx/core/Tooltip/Tooltip.stories.jsx.map +1 -1
  389. package/jsx/core/Tree/Tree.mocks.d.ts +1 -1
  390. package/jsx/core/Tree/Tree.mocks.d.ts.map +1 -1
  391. package/jsx/core/Tree/Tree.stories.d.ts +1 -2
  392. package/jsx/core/Tree/Tree.stories.d.ts.map +1 -1
  393. package/jsx/core/Tree/Tree.stories.jsx +16 -2
  394. package/jsx/core/Tree/Tree.stories.jsx.map +1 -1
  395. package/jsx/cs/Article/Article.stories.d.ts +4 -13
  396. package/jsx/cs/Article/Article.stories.d.ts.map +1 -1
  397. package/jsx/cs/Article/Article.stories.jsx.map +1 -1
  398. package/jsx/cs/ArticleList/ArticleList.stories.d.ts +4 -14
  399. package/jsx/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  400. package/jsx/cs/ArticleList/ArticleList.stories.jsx +3 -2
  401. package/jsx/cs/ArticleList/ArticleList.stories.jsx.map +1 -1
  402. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts +7 -2
  403. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +1 -1
  404. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js +151 -9
  405. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js.map +1 -1
  406. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +6 -3
  407. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  408. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +211 -93
  409. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -1
  410. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -11
  411. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  412. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx +5 -5
  413. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  414. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +8 -6
  415. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  416. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx +15 -7
  417. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -1
  418. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
  419. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
  420. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
  421. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
  422. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +3 -7
  423. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  424. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +38 -43
  425. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +1 -1
  426. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +18 -0
  427. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
  428. package/jsx/cs/TaskManager/TaskManager.mocks.js +93 -0
  429. package/jsx/cs/TaskManager/TaskManager.mocks.js.map +1 -1
  430. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +8 -6
  431. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  432. package/jsx/cs/TaskManager/TaskManager.stories.jsx +122 -48
  433. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +1 -1
  434. package/jsx/cs/TaskManager/TaskManager.styles.d.ts +3 -0
  435. package/jsx/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
  436. package/jsx/cs/TaskManager/TaskManager.styles.js +9 -0
  437. package/jsx/cs/TaskManager/TaskManager.styles.js.map +1 -0
  438. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
  439. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
  440. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx +33 -0
  441. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +1 -0
  442. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
  443. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  444. package/jsx/dnd/DragDropList/DragDropList.stories.jsx +14 -78
  445. package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +1 -1
  446. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
  447. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
  448. package/jsx/dnd/DragDropList/DragDropList.styles.js +32 -0
  449. package/jsx/dnd/DragDropList/DragDropList.styles.js.map +1 -0
  450. package/jsx/dnd/StandardDragDropList/Demo.d.ts +7 -0
  451. package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +1 -0
  452. package/jsx/dnd/StandardDragDropList/Demo.jsx +158 -0
  453. package/jsx/dnd/StandardDragDropList/Demo.jsx.map +1 -0
  454. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts +10 -0
  455. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -0
  456. package/jsx/dnd/StandardDragDropList/GroupConfig.jsx +26 -0
  457. package/jsx/dnd/StandardDragDropList/GroupConfig.jsx.map +1 -0
  458. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts +12 -0
  459. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -0
  460. package/jsx/dnd/StandardDragDropList/ItemConfig.jsx +21 -0
  461. package/jsx/dnd/StandardDragDropList/ItemConfig.jsx.map +1 -0
  462. package/jsx/dnd/StandardDragDropList/Popover.d.ts +14 -0
  463. package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +1 -0
  464. package/jsx/dnd/StandardDragDropList/Popover.jsx +51 -0
  465. package/jsx/dnd/StandardDragDropList/Popover.jsx.map +1 -0
  466. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts +16 -0
  467. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -0
  468. package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx +104 -0
  469. package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx.map +1 -0
  470. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +5 -0
  471. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -0
  472. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx +15 -0
  473. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx.map +1 -0
  474. package/jsx/dnd/StandardDragDropList/mockData.d.ts +26 -0
  475. package/jsx/dnd/StandardDragDropList/mockData.d.ts.map +1 -0
  476. package/jsx/dnd/StandardDragDropList/mockData.js +77 -0
  477. package/jsx/dnd/StandardDragDropList/mockData.js.map +1 -0
  478. package/jsx/rte/Editor/Editor.mocks.d.ts +309 -0
  479. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -0
  480. package/jsx/rte/Editor/Editor.mocks.jsx +23 -0
  481. package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -0
  482. package/jsx/rte/Editor/Editor.stories.d.ts +7 -8
  483. package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
  484. package/jsx/rte/Editor/Editor.stories.jsx +3 -21
  485. package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
  486. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -1
  487. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +6 -4
  488. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  489. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx +11 -4
  490. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -1
  491. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +5 -5
  492. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  493. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +19 -2
  494. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +1 -1
  495. package/jsx/social/Chat/Chat.mocks.d.ts +15 -2
  496. package/jsx/social/Chat/Chat.mocks.d.ts.map +1 -1
  497. package/jsx/social/Chat/Chat.mocks.js +5 -6
  498. package/jsx/social/Chat/Chat.mocks.js.map +1 -1
  499. package/jsx/social/Chat/Chat.stories.d.ts +6 -7
  500. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  501. package/jsx/social/Chat/Chat.stories.jsx +96 -14
  502. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  503. package/jsx/social/Chat/RepeatingView.mocks.d.ts +14 -0
  504. package/jsx/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
  505. package/jsx/social/Chat/RepeatingView.mocks.js +11 -0
  506. package/jsx/social/Chat/RepeatingView.mocks.js.map +1 -0
  507. package/jsx/social/Chat/RepeatingView.stories.d.ts +6 -17
  508. package/jsx/social/Chat/RepeatingView.stories.d.ts.map +1 -1
  509. package/jsx/social/Chat/RepeatingView.stories.jsx +16 -46
  510. package/jsx/social/Chat/RepeatingView.stories.jsx.map +1 -1
  511. package/jsx/social/Chat/RepeatingView.styles.d.ts +2 -0
  512. package/jsx/social/Chat/RepeatingView.styles.d.ts.map +1 -0
  513. package/jsx/social/Chat/RepeatingView.styles.js +22 -0
  514. package/jsx/social/Chat/RepeatingView.styles.js.map +1 -0
  515. package/jsx/social/Email/Email.mocks.d.ts +216 -3
  516. package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
  517. package/jsx/social/Email/Email.mocks.jsx +945 -0
  518. package/jsx/social/Email/Email.mocks.jsx.map +1 -0
  519. package/jsx/social/Email/Email.stories.d.ts +59 -26
  520. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  521. package/jsx/social/Email/Email.stories.jsx +885 -669
  522. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  523. package/jsx/social/Email/Email.styles.d.ts +3 -0
  524. package/jsx/social/Email/Email.styles.d.ts.map +1 -0
  525. package/jsx/social/Email/Email.styles.js +11 -0
  526. package/jsx/social/Email/Email.styles.js.map +1 -0
  527. package/jsx/social/Feed/Feed.mocks.d.ts +13 -18
  528. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
  529. package/jsx/social/Feed/Feed.mocks.jsx +10 -5
  530. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
  531. package/jsx/social/Feed/Feed.stories.d.ts +8 -12
  532. package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
  533. package/jsx/social/Feed/Feed.stories.jsx +32 -22
  534. package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
  535. package/jsx/social/Feed/FeedNewPost.stories.d.ts +7 -14
  536. package/jsx/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
  537. package/jsx/social/Feed/FeedNewPost.stories.jsx +4 -3
  538. package/jsx/social/Feed/FeedNewPost.stories.jsx.map +1 -1
  539. package/jsx/social/Feed/FeedPost.stories.d.ts +4 -5
  540. package/jsx/social/Feed/FeedPost.stories.d.ts.map +1 -1
  541. package/jsx/social/Feed/FeedPost.stories.jsx +42 -31
  542. package/jsx/social/Feed/FeedPost.stories.jsx.map +1 -1
  543. package/jsx/social/Feed/FeedReply.stories.d.ts +10 -10
  544. package/jsx/social/Feed/FeedReply.stories.d.ts.map +1 -1
  545. package/jsx/social/Feed/FeedReply.stories.jsx +28 -23
  546. package/jsx/social/Feed/FeedReply.stories.jsx.map +1 -1
  547. package/jsx/social/Feed/FeedReplyInput.stories.d.ts +7 -12
  548. package/jsx/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
  549. package/jsx/social/Feed/FeedReplyInput.stories.jsx +4 -3
  550. package/jsx/social/Feed/FeedReplyInput.stories.jsx.map +1 -1
  551. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts +6 -0
  552. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts.map +1 -0
  553. package/jsx/tools/Clipboard/Clipboard.mocks.jsx +81 -0
  554. package/jsx/tools/Clipboard/Clipboard.mocks.jsx.map +1 -0
  555. package/jsx/tools/Clipboard/Clipboard.stories.d.ts +6 -0
  556. package/jsx/tools/Clipboard/Clipboard.stories.d.ts.map +1 -0
  557. package/jsx/tools/Clipboard/Clipboard.stories.jsx +69 -0
  558. package/jsx/tools/Clipboard/Clipboard.stories.jsx.map +1 -0
  559. package/jsx/tools/DevTools/DevTools.mocks.d.ts +3 -0
  560. package/jsx/tools/DevTools/DevTools.mocks.d.ts.map +1 -0
  561. package/jsx/tools/DevTools/DevTools.mocks.js +3 -0
  562. package/jsx/tools/DevTools/DevTools.mocks.js.map +1 -0
  563. package/jsx/tools/DevTools/DevTools.stories.d.ts +10 -0
  564. package/jsx/tools/DevTools/DevTools.stories.d.ts.map +1 -0
  565. package/jsx/tools/DevTools/DevTools.stories.jsx +35 -0
  566. package/jsx/tools/DevTools/DevTools.stories.jsx.map +1 -0
  567. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts +9 -0
  568. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts.map +1 -0
  569. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx +58 -0
  570. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx.map +1 -0
  571. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts +16 -0
  572. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -0
  573. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx +153 -0
  574. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +1 -0
  575. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts +3 -0
  576. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts.map +1 -0
  577. package/jsx/tools/PreviewShell/PreviewShell.styles.js +7 -0
  578. package/jsx/tools/PreviewShell/PreviewShell.styles.js.map +1 -0
  579. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -1
  580. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx +5 -4
  581. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +1 -1
  582. package/jsx/work/CaseView/Attachments.mocks.jsx +5 -6
  583. package/jsx/work/CaseView/Attachments.mocks.jsx.map +1 -1
  584. package/jsx/work/CaseView/CaseView.mocks.d.ts +74 -2
  585. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  586. package/jsx/work/CaseView/CaseView.mocks.jsx +200 -11
  587. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  588. package/jsx/work/CaseView/CaseView.stories.d.ts +4 -30
  589. package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
  590. package/jsx/work/CaseView/CaseView.stories.jsx +53 -230
  591. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
  592. package/jsx/work/CaseView/MobileCaseView.stories.d.ts +3 -9
  593. package/jsx/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
  594. package/jsx/work/CaseView/MobileCaseView.stories.jsx.map +1 -1
  595. package/jsx/work/CaseView/Pulse.mocks.d.ts +4 -3
  596. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  597. package/jsx/work/CaseView/Pulse.mocks.jsx +2 -2
  598. package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -1
  599. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
  600. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
  601. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx +166 -0
  602. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx.map +1 -0
  603. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -8
  604. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  605. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +3 -174
  606. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -1
  607. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
  608. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
  609. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
  610. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
  611. package/jsx/work/Confirmation/Confirmation.stories.d.ts +3 -0
  612. package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  613. package/jsx/work/Confirmation/Confirmation.stories.jsx +12 -8
  614. package/jsx/work/Confirmation/Confirmation.stories.jsx.map +1 -1
  615. package/jsx/work/Details/Details.stories.d.ts.map +1 -1
  616. package/jsx/work/Details/Details.stories.jsx +67 -64
  617. package/jsx/work/Details/Details.stories.jsx.map +1 -1
  618. package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  619. package/jsx/work/Glimpse/Glimpse.stories.jsx.map +1 -1
  620. package/jsx/work/SearchResults/SearchResults.mocks.d.ts +6 -0
  621. package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  622. package/jsx/work/SearchResults/SearchResults.mocks.jsx +39 -38
  623. package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +1 -1
  624. package/jsx/work/SearchResults/SearchResults.stories.d.ts +1 -0
  625. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  626. package/jsx/work/SearchResults/SearchResults.stories.jsx +74 -44
  627. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -1
  628. package/jsx/work/Stages/Stages.mocks.d.ts +14 -0
  629. package/jsx/work/Stages/Stages.mocks.d.ts.map +1 -0
  630. package/jsx/work/Stages/Stages.mocks.jsx +40 -0
  631. package/jsx/work/Stages/Stages.mocks.jsx.map +1 -0
  632. package/jsx/work/Stages/Stages.stories.d.ts +1 -1
  633. package/jsx/work/Stages/Stages.stories.d.ts.map +1 -1
  634. package/jsx/work/Stages/Stages.stories.jsx +12 -46
  635. package/jsx/work/Stages/Stages.stories.jsx.map +1 -1
  636. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +2 -3
  637. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  638. package/jsx/work/Stakeholders/Stakeholders.stories.jsx +1 -0
  639. package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +1 -1
  640. package/jsx/work/Tasks/TaskList.stories.d.ts.map +1 -1
  641. package/jsx/work/Tasks/TaskList.stories.jsx +3 -1
  642. package/jsx/work/Tasks/TaskList.stories.jsx.map +1 -1
  643. package/jsx/work/Tasks/Tasks.stories.d.ts +4 -0
  644. package/jsx/work/Tasks/Tasks.stories.d.ts.map +1 -1
  645. package/jsx/work/Tasks/Tasks.stories.jsx +21 -11
  646. package/jsx/work/Tasks/Tasks.stories.jsx.map +1 -1
  647. package/jsx/work/Timeline/Timeline.stories.d.ts +1 -0
  648. package/jsx/work/Timeline/Timeline.stories.d.ts.map +1 -1
  649. package/jsx/work/Timeline/Timeline.stories.jsx +29 -1
  650. package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -1
  651. package/jsx/wss/AppShell/AppShell.mocks.d.ts +35 -0
  652. package/jsx/wss/AppShell/AppShell.mocks.d.ts.map +1 -0
  653. package/jsx/wss/AppShell/AppShell.mocks.jsx +75 -0
  654. package/jsx/wss/AppShell/AppShell.mocks.jsx.map +1 -0
  655. package/jsx/wss/AppShell/AppShell.stories.d.ts +19 -0
  656. package/jsx/wss/AppShell/AppShell.stories.d.ts.map +1 -0
  657. package/jsx/wss/AppShell/AppShell.stories.jsx +68 -0
  658. package/jsx/wss/AppShell/AppShell.stories.jsx.map +1 -0
  659. package/jsx/wss/AppShell/AppShell.styles.d.ts +2 -0
  660. package/jsx/wss/AppShell/AppShell.styles.d.ts.map +1 -0
  661. package/jsx/wss/AppShell/AppShell.styles.js +5 -0
  662. package/jsx/wss/AppShell/AppShell.styles.js.map +1 -0
  663. package/jsx/wss/CaseView/CaseView.mocks.d.ts +13 -0
  664. package/jsx/wss/CaseView/CaseView.mocks.d.ts.map +1 -0
  665. package/jsx/wss/CaseView/CaseView.mocks.jsx +34 -0
  666. package/jsx/wss/CaseView/CaseView.mocks.jsx.map +1 -0
  667. package/jsx/wss/CaseView/CaseView.stories.d.ts +12 -0
  668. package/jsx/wss/CaseView/CaseView.stories.d.ts.map +1 -0
  669. package/jsx/wss/CaseView/CaseView.stories.jsx +69 -0
  670. package/jsx/wss/CaseView/CaseView.stories.jsx.map +1 -0
  671. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts +15 -0
  672. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
  673. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx +48 -0
  674. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +1 -0
  675. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +10 -0
  676. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -0
  677. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx +37 -0
  678. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +1 -0
  679. package/lib/build/AppHeader/AppHeader.stories.d.ts +1 -1
  680. package/lib/build/AppHeader/AppHeader.stories.d.ts.map +1 -1
  681. package/lib/build/AppHeader/AppHeader.stories.js +100 -76
  682. package/lib/build/AppHeader/AppHeader.stories.js.map +1 -1
  683. package/lib/build/AppShell/AppShell.mocks.d.ts +19 -0
  684. package/lib/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  685. package/lib/build/AppShell/AppShell.mocks.js +32 -0
  686. package/lib/build/AppShell/AppShell.mocks.js.map +1 -1
  687. package/lib/build/AppShell/AppShell.stories.d.ts +2 -2
  688. package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -1
  689. package/lib/build/AppShell/AppShell.stories.js +22 -45
  690. package/lib/build/AppShell/AppShell.stories.js.map +1 -1
  691. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +5 -3
  692. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  693. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js +40 -3
  694. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -1
  695. package/lib/build/DynamicContentEditor/FieldSelector.js +1 -1
  696. package/lib/build/DynamicContentEditor/FieldSelector.js.map +1 -1
  697. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +60 -0
  698. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +1 -0
  699. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js +524 -0
  700. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +1 -0
  701. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +26 -0
  702. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -0
  703. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js +336 -0
  704. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js.map +1 -0
  705. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts +4 -4
  706. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +1 -1
  707. package/lib/build/FlowModeller/AddNodeUtils.mocks.js.map +1 -1
  708. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +21 -2
  709. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
  710. package/lib/build/FlowModeller/FlowModeller.mocks.js +158 -33
  711. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +1 -1
  712. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +9 -10
  713. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  714. package/lib/build/FlowModeller/FlowModeller.stories.js +256 -137
  715. package/lib/build/FlowModeller/FlowModeller.stories.js.map +1 -1
  716. package/lib/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
  717. package/lib/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
  718. package/lib/build/FlowModeller/FlowModeller.styles.js +8 -0
  719. package/lib/build/FlowModeller/FlowModeller.styles.js.map +1 -0
  720. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts +1 -5
  721. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -1
  722. package/lib/build/ItemLibrary/LibraryPicker.mocks.js +5 -10
  723. package/lib/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -1
  724. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -7
  725. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  726. package/lib/build/ItemLibrary/LibraryPicker.stories.js +1 -1
  727. package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +1 -1
  728. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +3 -0
  729. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -1
  730. package/lib/build/LifeCycle/LifeCycle.mocks.js +146 -18
  731. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +1 -1
  732. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +6 -9
  733. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  734. package/lib/build/LifeCycle/LifeCycle.stories.js +115 -31
  735. package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -1
  736. package/lib/build/LifeCycle/utils.d.ts.map +1 -1
  737. package/lib/build/LifeCycle/utils.js +5 -4
  738. package/lib/build/LifeCycle/utils.js.map +1 -1
  739. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +63 -0
  740. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
  741. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +369 -0
  742. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +1 -0
  743. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +8 -0
  744. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
  745. package/lib/build/ObjectSelect/ObjectSelect.stories.js +242 -0
  746. package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +1 -0
  747. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
  748. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
  749. package/lib/build/ObjectSelect/ObjectSelect.styles.js +27 -0
  750. package/lib/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
  751. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +46 -0
  752. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
  753. package/lib/build/PageTemplates/GalleryPage.mocks.js +77 -0
  754. package/lib/build/PageTemplates/GalleryPage.mocks.js.map +1 -0
  755. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  756. package/lib/build/PageTemplates/GalleryPage.stories.js +14 -92
  757. package/lib/build/PageTemplates/GalleryPage.stories.js.map +1 -1
  758. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +18 -0
  759. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
  760. package/lib/build/PageTemplates/PageTemplates.mocks.js +248 -0
  761. package/lib/build/PageTemplates/PageTemplates.mocks.js.map +1 -0
  762. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +4 -9
  763. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  764. package/lib/build/PageTemplates/PageTemplates.stories.js +114 -252
  765. package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -1
  766. package/lib/build/Workbench/Workbench.stories.d.ts +1 -0
  767. package/lib/build/Workbench/Workbench.stories.d.ts.map +1 -1
  768. package/lib/build/Workbench/Workbench.stories.js +210 -29
  769. package/lib/build/Workbench/Workbench.stories.js.map +1 -1
  770. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
  771. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
  772. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +15 -0
  773. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
  774. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +17 -8
  775. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  776. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js +78 -62
  777. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +1 -1
  778. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
  779. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
  780. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
  781. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
  782. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  783. package/lib/condition-builder/ConditionBuilder/props.mock.js +132 -31
  784. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  785. package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts +10 -0
  786. package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -0
  787. package/lib/condition-builder/ConditionInput/ConditionInput.stories.js +41 -0
  788. package/lib/condition-builder/ConditionInput/ConditionInput.stories.js.map +1 -0
  789. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +4 -0
  790. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -0
  791. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js +181 -0
  792. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -0
  793. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +8 -0
  794. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -0
  795. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js +24 -0
  796. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js.map +1 -0
  797. package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +9 -0
  798. package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +1 -0
  799. package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.js +35 -0
  800. package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.js.map +1 -0
  801. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts +9 -0
  802. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -0
  803. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js +16 -0
  804. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js.map +1 -0
  805. package/lib/core/AppShell/AppShell.mocks.d.ts +1 -1
  806. package/lib/core/AppShell/AppShell.mocks.js +10 -10
  807. package/lib/core/AppShell/AppShell.mocks.js.map +1 -1
  808. package/lib/core/AppShell/AppShell.stories.d.ts +3 -0
  809. package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -1
  810. package/lib/core/AppShell/AppShell.stories.js +56 -20
  811. package/lib/core/AppShell/AppShell.stories.js.map +1 -1
  812. package/lib/core/Avatar/Avatar.stories.js +6 -6
  813. package/lib/core/Avatar/Avatar.stories.js.map +1 -1
  814. package/lib/core/Backdrop/Backdrop.stories.js +2 -2
  815. package/lib/core/Backdrop/Backdrop.stories.js.map +1 -1
  816. package/lib/core/Badges/Alert.stories.js +1 -1
  817. package/lib/core/Badges/Alert.stories.js.map +1 -1
  818. package/lib/core/Badges/Count.stories.js +1 -1
  819. package/lib/core/Badges/Count.stories.js.map +1 -1
  820. package/lib/core/Badges/Keyboard.stories.d.ts +6 -0
  821. package/lib/core/Badges/Keyboard.stories.d.ts.map +1 -0
  822. package/lib/core/Badges/Keyboard.stories.js +16 -0
  823. package/lib/core/Badges/Keyboard.stories.js.map +1 -0
  824. package/lib/core/Badges/Selection.stories.d.ts +2 -3
  825. package/lib/core/Badges/Selection.stories.d.ts.map +1 -1
  826. package/lib/core/Badges/Selection.stories.js +1 -1
  827. package/lib/core/Badges/Selection.stories.js.map +1 -1
  828. package/lib/core/Badges/Status.stories.js +2 -2
  829. package/lib/core/Badges/Status.stories.js.map +1 -1
  830. package/lib/core/Badges/Tag.stories.d.ts +2 -3
  831. package/lib/core/Badges/Tag.stories.d.ts.map +1 -1
  832. package/lib/core/Badges/Tag.stories.js +1 -1
  833. package/lib/core/Badges/Tag.stories.js.map +1 -1
  834. package/lib/core/Banner/Banner.mocks.js +1 -1
  835. package/lib/core/Banner/Banner.mocks.js.map +1 -1
  836. package/lib/core/Banner/Banner.stories.d.ts +6 -18
  837. package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
  838. package/lib/core/Banner/Banner.stories.js +11 -22
  839. package/lib/core/Banner/Banner.stories.js.map +1 -1
  840. package/lib/core/Boolean/BooleanDisplay.stories.js +1 -1
  841. package/lib/core/Boolean/BooleanDisplay.stories.js.map +1 -1
  842. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -4
  843. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  844. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +2 -2
  845. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
  846. package/lib/core/Button/Button.stories.d.ts +2 -3
  847. package/lib/core/Button/Button.stories.d.ts.map +1 -1
  848. package/lib/core/Button/Button.stories.js +8 -8
  849. package/lib/core/Button/Button.stories.js.map +1 -1
  850. package/lib/core/Card/Card.stories.d.ts +1 -2
  851. package/lib/core/Card/Card.stories.d.ts.map +1 -1
  852. package/lib/core/Card/Card.stories.js +4 -4
  853. package/lib/core/Card/Card.stories.js.map +1 -1
  854. package/lib/core/Checkbox/Checkbox.stories.d.ts +6 -2
  855. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  856. package/lib/core/Checkbox/Checkbox.stories.js +26 -7
  857. package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
  858. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +7 -3
  859. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  860. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +41 -5
  861. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
  862. package/lib/core/ColorPicker/ColorPicker.stories.d.ts +5 -3
  863. package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  864. package/lib/core/ColorPicker/ColorPicker.stories.js +17 -18
  865. package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
  866. package/lib/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
  867. package/lib/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
  868. package/lib/core/ColorPicker/ColorPicker.styles.js +11 -0
  869. package/lib/core/ColorPicker/ColorPicker.styles.js.map +1 -0
  870. package/lib/core/ComboBox/ComboBox.stories.d.ts +1 -0
  871. package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  872. package/lib/core/ComboBox/ComboBox.stories.js +46 -14
  873. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
  874. package/lib/core/CompositeInput/CompositeInput.mocks.d.ts +8 -0
  875. package/lib/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -0
  876. package/lib/core/CompositeInput/CompositeInput.mocks.js +6 -0
  877. package/lib/core/CompositeInput/CompositeInput.mocks.js.map +1 -0
  878. package/lib/core/CompositeInput/CompositeInput.stories.d.ts +9 -0
  879. package/lib/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -0
  880. package/lib/core/CompositeInput/CompositeInput.stories.js +55 -0
  881. package/lib/core/CompositeInput/CompositeInput.stories.js.map +1 -0
  882. package/lib/core/Configuration/Configuration.mocks.d.ts +7 -0
  883. package/lib/core/Configuration/Configuration.mocks.d.ts.map +1 -0
  884. package/lib/core/Configuration/Configuration.mocks.js +6 -0
  885. package/lib/core/Configuration/Configuration.mocks.js.map +1 -0
  886. package/lib/core/Configuration/Configuration.stories.d.ts +2 -3
  887. package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -1
  888. package/lib/core/Configuration/Configuration.stories.js +13 -25
  889. package/lib/core/Configuration/Configuration.stories.js.map +1 -1
  890. package/lib/core/Configuration/Configuration.styles.d.ts +6 -0
  891. package/lib/core/Configuration/Configuration.styles.d.ts.map +1 -0
  892. package/lib/core/Configuration/Configuration.styles.js +12 -0
  893. package/lib/core/Configuration/Configuration.styles.js.map +1 -0
  894. package/lib/core/CreditCard/CreditCard.stories.d.ts +14 -0
  895. package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
  896. package/lib/core/CreditCard/CreditCard.stories.js +53 -0
  897. package/lib/core/CreditCard/CreditCard.stories.js.map +1 -0
  898. package/lib/core/Currency/Currency.stories.d.ts +7 -2
  899. package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
  900. package/lib/core/Currency/Currency.stories.js +29 -8
  901. package/lib/core/Currency/Currency.stories.js.map +1 -1
  902. package/lib/core/DateTime/DateTime.stories.d.ts +41 -10
  903. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
  904. package/lib/core/DateTime/DateTime.stories.js +191 -18
  905. package/lib/core/DateTime/DateTime.stories.js.map +1 -1
  906. package/lib/core/DateTime/DateTimeDisplay.stories.js +2 -2
  907. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
  908. package/lib/core/DateTime/DateTimePicker.stories.d.ts.map +1 -1
  909. package/lib/core/DateTime/DateTimePicker.stories.js +2 -2
  910. package/lib/core/DateTime/DateTimePicker.stories.js.map +1 -1
  911. package/lib/core/Dialog/Dialog.stories.d.ts +6 -0
  912. package/lib/core/Dialog/Dialog.stories.d.ts.map +1 -0
  913. package/lib/core/Dialog/Dialog.stories.js +47 -0
  914. package/lib/core/Dialog/Dialog.stories.js.map +1 -0
  915. package/lib/core/Drawer/Drawer.stories.js +4 -4
  916. package/lib/core/Drawer/Drawer.stories.js.map +1 -1
  917. package/lib/core/Email/EmailDisplay.stories.js +1 -1
  918. package/lib/core/Email/EmailDisplay.stories.js.map +1 -1
  919. package/lib/core/EmojiPicker/EmojiPicker.stories.js +3 -3
  920. package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +1 -1
  921. package/lib/core/EmptyState/EmptyState.stories.js +1 -1
  922. package/lib/core/EmptyState/EmptyState.stories.js.map +1 -1
  923. package/lib/core/ErrorState/ErrorState.stories.js +1 -1
  924. package/lib/core/ErrorState/ErrorState.stories.js.map +1 -1
  925. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js +2 -2
  926. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +1 -1
  927. package/lib/core/FieldGroup/FieldGroup.stories.d.ts +8 -4
  928. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  929. package/lib/core/FieldGroup/FieldGroup.stories.js +15 -3
  930. package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
  931. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
  932. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  933. package/lib/core/FieldGroup/FieldGroupList.mocks.js +47 -3
  934. package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -1
  935. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
  936. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  937. package/lib/core/FieldGroup/FieldGroupList.stories.js +58 -67
  938. package/lib/core/FieldGroup/FieldGroupList.stories.js.map +1 -1
  939. package/lib/core/FieldValueList/FieldValueList.stories.d.ts +3 -2
  940. package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  941. package/lib/core/FieldValueList/FieldValueList.stories.js +35 -5
  942. package/lib/core/FieldValueList/FieldValueList.stories.js.map +1 -1
  943. package/lib/core/FieldValueList/FieldValueList.styles.d.ts +2 -0
  944. package/lib/core/FieldValueList/FieldValueList.styles.d.ts.map +1 -0
  945. package/lib/core/FieldValueList/FieldValueList.styles.js +8 -0
  946. package/lib/core/FieldValueList/FieldValueList.styles.js.map +1 -0
  947. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
  948. package/lib/core/File/FileDisplay.stories.js +25 -38
  949. package/lib/core/File/FileDisplay.stories.js.map +1 -1
  950. package/lib/core/File/FileInput.stories.js +2 -2
  951. package/lib/core/File/FileInput.stories.js.map +1 -1
  952. package/lib/core/Flex/FlexContainer.stories.d.ts +1 -2
  953. package/lib/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  954. package/lib/core/Flex/FlexContainer.stories.js +7 -7
  955. package/lib/core/Flex/FlexContainer.stories.js.map +1 -1
  956. package/lib/core/Flex/FlexItem.stories.js +3 -3
  957. package/lib/core/Flex/FlexItem.stories.js.map +1 -1
  958. package/lib/core/Form/Form.mocks.d.ts.map +1 -1
  959. package/lib/core/Form/Form.mocks.js +6 -6
  960. package/lib/core/Form/Form.mocks.js.map +1 -1
  961. package/lib/core/Form/Form.stories.js +8 -8
  962. package/lib/core/Form/Form.stories.js.map +1 -1
  963. package/lib/core/Grid/GridContainer.stories.d.ts +4 -5
  964. package/lib/core/Grid/GridContainer.stories.d.ts.map +1 -1
  965. package/lib/core/Grid/GridContainer.stories.js +9 -9
  966. package/lib/core/Grid/GridContainer.stories.js.map +1 -1
  967. package/lib/core/Grid/GridItem.stories.d.ts +1 -2
  968. package/lib/core/Grid/GridItem.stories.d.ts.map +1 -1
  969. package/lib/core/Grid/GridItem.stories.js +3 -3
  970. package/lib/core/Grid/GridItem.stories.js.map +1 -1
  971. package/lib/core/HTML/HTML.stories.d.ts +6 -0
  972. package/lib/core/HTML/HTML.stories.d.ts.map +1 -0
  973. package/lib/core/HTML/HTML.stories.js +14 -0
  974. package/lib/core/HTML/HTML.stories.js.map +1 -0
  975. package/lib/core/Icon/Icon.mocks.js +1 -1
  976. package/lib/core/Icon/Icon.mocks.js.map +1 -1
  977. package/lib/core/Icon/Icon.stories.d.ts +5 -6
  978. package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
  979. package/lib/core/Icon/Icon.stories.js +12 -35
  980. package/lib/core/Icon/Icon.stories.js.map +1 -1
  981. package/lib/core/Icon/Icon.styles.d.ts +4 -0
  982. package/lib/core/Icon/Icon.styles.d.ts.map +1 -0
  983. package/lib/core/Icon/Icon.styles.js +25 -0
  984. package/lib/core/Icon/Icon.styles.js.map +1 -0
  985. package/lib/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
  986. package/lib/core/IconPicker/IconPicker.stories.js +8 -11
  987. package/lib/core/IconPicker/IconPicker.stories.js.map +1 -1
  988. package/lib/core/Image/Image.stories.d.ts +2 -3
  989. package/lib/core/Image/Image.stories.d.ts.map +1 -1
  990. package/lib/core/Image/Image.stories.js +1 -1
  991. package/lib/core/Image/Image.stories.js.map +1 -1
  992. package/lib/core/Input/Input.stories.d.ts +2 -0
  993. package/lib/core/Input/Input.stories.d.ts.map +1 -1
  994. package/lib/core/Input/Input.stories.js +80 -4
  995. package/lib/core/Input/Input.stories.js.map +1 -1
  996. package/lib/core/Label/Label.stories.js +2 -2
  997. package/lib/core/Label/Label.stories.js.map +1 -1
  998. package/lib/core/Lightbox/Lightbox.stories.js +3 -3
  999. package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
  1000. package/lib/core/Link/Link.stories.d.ts +1 -11
  1001. package/lib/core/Link/Link.stories.d.ts.map +1 -1
  1002. package/lib/core/Link/Link.stories.js +4 -3
  1003. package/lib/core/Link/Link.stories.js.map +1 -1
  1004. package/lib/core/List/CommaSeparatedList.stories.d.ts +2 -2
  1005. package/lib/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  1006. package/lib/core/List/CommaSeparatedList.stories.js +1 -1
  1007. package/lib/core/List/CommaSeparatedList.stories.js.map +1 -1
  1008. package/lib/core/List/OrderedList.stories.js +1 -1
  1009. package/lib/core/List/OrderedList.stories.js.map +1 -1
  1010. package/lib/core/List/UnorderedList.stories.js +1 -1
  1011. package/lib/core/List/UnorderedList.stories.js.map +1 -1
  1012. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
  1013. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
  1014. package/lib/core/ListToolbar/ListToolbar.mocks.js +50 -0
  1015. package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -0
  1016. package/lib/core/ListToolbar/ListToolbar.stories.d.ts +12 -0
  1017. package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
  1018. package/lib/core/ListToolbar/ListToolbar.stories.js +94 -0
  1019. package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -0
  1020. package/lib/core/Location/Location.stories.d.ts +4 -1
  1021. package/lib/core/Location/Location.stories.d.ts.map +1 -1
  1022. package/lib/core/Location/Location.stories.js +16 -9
  1023. package/lib/core/Location/Location.stories.js.map +1 -1
  1024. package/lib/core/Location/locationTestUtils.d.ts +3 -0
  1025. package/lib/core/Location/locationTestUtils.d.ts.map +1 -0
  1026. package/lib/core/Location/locationTestUtils.js +30 -0
  1027. package/lib/core/Location/locationTestUtils.js.map +1 -0
  1028. package/lib/core/Menu/Menu.stories.d.ts.map +1 -1
  1029. package/lib/core/Menu/Menu.stories.js +10 -9
  1030. package/lib/core/Menu/Menu.stories.js.map +1 -1
  1031. package/lib/core/MenuButton/MenuButton.stories.d.ts +6 -6
  1032. package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  1033. package/lib/core/MenuButton/MenuButton.stories.js +9 -9
  1034. package/lib/core/MenuButton/MenuButton.stories.js.map +1 -1
  1035. package/lib/core/MetaList/MetaList.stories.js +3 -3
  1036. package/lib/core/MetaList/MetaList.stories.js.map +1 -1
  1037. package/lib/core/Modal/Modal.mocks.js +8 -8
  1038. package/lib/core/Modal/Modal.mocks.js.map +1 -1
  1039. package/lib/core/Modal/Modal.stories.d.ts +19 -5
  1040. package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
  1041. package/lib/core/Modal/Modal.stories.js +81 -53
  1042. package/lib/core/Modal/Modal.stories.js.map +1 -1
  1043. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts +34 -0
  1044. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -0
  1045. package/lib/core/MultiStepForm/MultiStepForm.mocks.js +75 -0
  1046. package/lib/core/MultiStepForm/MultiStepForm.mocks.js.map +1 -0
  1047. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts +5 -0
  1048. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -0
  1049. package/lib/core/MultiStepForm/MultiStepForm.stories.js +187 -0
  1050. package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +1 -0
  1051. package/lib/core/Number/Number.stories.d.ts +9 -3
  1052. package/lib/core/Number/Number.stories.d.ts.map +1 -1
  1053. package/lib/core/Number/Number.stories.js +213 -25
  1054. package/lib/core/Number/Number.stories.js.map +1 -1
  1055. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
  1056. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  1057. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  1058. package/lib/core/PageTemplates/PageTemplates.stories.js +35 -57
  1059. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  1060. package/lib/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
  1061. package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
  1062. package/lib/core/PageTemplates/PageTemplates.styles.js +9 -0
  1063. package/lib/core/PageTemplates/PageTemplates.styles.js.map +1 -1
  1064. package/lib/core/Pagination/Pagination.stories.js +1 -1
  1065. package/lib/core/Pagination/Pagination.stories.js.map +1 -1
  1066. package/lib/core/Paragraph/ParagraphDisplay.stories.js +1 -1
  1067. package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +1 -1
  1068. package/lib/core/Phone/Phone.stories.d.ts +4 -1
  1069. package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
  1070. package/lib/core/Phone/Phone.stories.js +13 -4
  1071. package/lib/core/Phone/Phone.stories.js.map +1 -1
  1072. package/lib/core/Popover/Popover.stories.d.ts +1 -1
  1073. package/lib/core/Popover/Popover.stories.d.ts.map +1 -1
  1074. package/lib/core/Popover/Popover.stories.js +2 -2
  1075. package/lib/core/Popover/Popover.stories.js.map +1 -1
  1076. package/lib/core/Progress/Progress.stories.js +3 -3
  1077. package/lib/core/Progress/Progress.stories.js.map +1 -1
  1078. package/lib/core/RadioButton/RadioButton.stories.d.ts +6 -2
  1079. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  1080. package/lib/core/RadioButton/RadioButton.stories.js +22 -5
  1081. package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
  1082. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +7 -3
  1083. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  1084. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +41 -5
  1085. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
  1086. package/lib/core/Rating/Rating.stories.js +2 -2
  1087. package/lib/core/Rating/Rating.stories.js.map +1 -1
  1088. package/lib/core/SearchInput/SearchInput.mocks.d.ts +12 -0
  1089. package/lib/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
  1090. package/lib/core/SearchInput/SearchInput.mocks.js +25 -0
  1091. package/lib/core/SearchInput/SearchInput.mocks.js.map +1 -0
  1092. package/lib/core/SearchInput/SearchInput.stories.d.ts +1 -4
  1093. package/lib/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  1094. package/lib/core/SearchInput/SearchInput.stories.js +29 -15
  1095. package/lib/core/SearchInput/SearchInput.stories.js.map +1 -1
  1096. package/lib/core/Select/Select.stories.d.ts +1 -0
  1097. package/lib/core/Select/Select.stories.d.ts.map +1 -1
  1098. package/lib/core/Select/Select.stories.js +12 -5
  1099. package/lib/core/Select/Select.stories.js.map +1 -1
  1100. package/lib/core/Sentiment/Sentiment.stories.js +2 -2
  1101. package/lib/core/Sentiment/Sentiment.stories.js.map +1 -1
  1102. package/lib/core/SkipLinks/SkipLinks.stories.d.ts +6 -0
  1103. package/lib/core/SkipLinks/SkipLinks.stories.d.ts.map +1 -0
  1104. package/lib/core/SkipLinks/SkipLinks.stories.js +28 -0
  1105. package/lib/core/SkipLinks/SkipLinks.stories.js.map +1 -0
  1106. package/lib/core/SkipLinks/SkipLinks.styles.d.ts +2 -0
  1107. package/lib/core/SkipLinks/SkipLinks.styles.d.ts.map +1 -0
  1108. package/lib/core/SkipLinks/SkipLinks.styles.js +16 -0
  1109. package/lib/core/SkipLinks/SkipLinks.styles.js.map +1 -0
  1110. package/lib/core/Slider/Slider.stories.d.ts +4 -3
  1111. package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
  1112. package/lib/core/Slider/Slider.stories.js +2 -2
  1113. package/lib/core/Slider/Slider.stories.js.map +1 -1
  1114. package/lib/core/SummaryItem/SummaryItem.stories.d.ts +5 -5
  1115. package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  1116. package/lib/core/SummaryItem/SummaryItem.stories.js +4 -4
  1117. package/lib/core/SummaryItem/SummaryItem.stories.js.map +1 -1
  1118. package/lib/core/SummaryList/SummaryList.mocks.js +2 -2
  1119. package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -1
  1120. package/lib/core/SummaryList/SummaryList.stories.d.ts +2 -2
  1121. package/lib/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  1122. package/lib/core/SummaryList/SummaryList.stories.js +9 -9
  1123. package/lib/core/SummaryList/SummaryList.stories.js.map +1 -1
  1124. package/lib/core/Switch/Switch.stories.js +3 -3
  1125. package/lib/core/Switch/Switch.stories.js.map +1 -1
  1126. package/lib/core/Table/Table.mocks.js +1 -1
  1127. package/lib/core/Table/Table.mocks.js.map +1 -1
  1128. package/lib/core/Table/Table.stories.js +9 -9
  1129. package/lib/core/Table/Table.stories.js.map +1 -1
  1130. package/lib/core/Tabs/Tabs.stories.d.ts +5 -2
  1131. package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -1
  1132. package/lib/core/Tabs/Tabs.stories.js +3 -3
  1133. package/lib/core/Tabs/Tabs.stories.js.map +1 -1
  1134. package/lib/core/Text/Text.stories.js +2 -2
  1135. package/lib/core/Text/Text.stories.js.map +1 -1
  1136. package/lib/core/TextArea/TextArea.stories.d.ts +4 -1
  1137. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
  1138. package/lib/core/TextArea/TextArea.stories.js +11 -4
  1139. package/lib/core/TextArea/TextArea.stories.js.map +1 -1
  1140. package/lib/core/Toaster/Toaster.stories.d.ts +2 -3
  1141. package/lib/core/Toaster/Toaster.stories.d.ts.map +1 -1
  1142. package/lib/core/Toaster/Toaster.stories.js +5 -5
  1143. package/lib/core/Toaster/Toaster.stories.js.map +1 -1
  1144. package/lib/core/Tooltip/Tooltip.stories.d.ts +3 -7
  1145. package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  1146. package/lib/core/Tooltip/Tooltip.stories.js +2 -2
  1147. package/lib/core/Tooltip/Tooltip.stories.js.map +1 -1
  1148. package/lib/core/Tree/Tree.mocks.d.ts +1 -1
  1149. package/lib/core/Tree/Tree.mocks.d.ts.map +1 -1
  1150. package/lib/core/Tree/Tree.stories.d.ts +1 -2
  1151. package/lib/core/Tree/Tree.stories.d.ts.map +1 -1
  1152. package/lib/core/Tree/Tree.stories.js +21 -5
  1153. package/lib/core/Tree/Tree.stories.js.map +1 -1
  1154. package/lib/core/URL/URL.stories.js +1 -1
  1155. package/lib/core/URL/URL.stories.js.map +1 -1
  1156. package/lib/cs/Article/Article.stories.d.ts +4 -13
  1157. package/lib/cs/Article/Article.stories.d.ts.map +1 -1
  1158. package/lib/cs/Article/Article.stories.js +9 -9
  1159. package/lib/cs/Article/Article.stories.js.map +1 -1
  1160. package/lib/cs/ArticleList/ArticleList.stories.d.ts +4 -14
  1161. package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  1162. package/lib/cs/ArticleList/ArticleList.stories.js +12 -11
  1163. package/lib/cs/ArticleList/ArticleList.stories.js.map +1 -1
  1164. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +7 -2
  1165. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +1 -1
  1166. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js +151 -9
  1167. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js.map +1 -1
  1168. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +6 -3
  1169. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  1170. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +212 -98
  1171. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +1 -1
  1172. package/lib/cs/DialPad/DialPad.stories.js +1 -1
  1173. package/lib/cs/DialPad/DialPad.stories.js.map +1 -1
  1174. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -11
  1175. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  1176. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js +20 -20
  1177. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  1178. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +8 -6
  1179. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  1180. package/lib/cs/InteractionNotification/InteractionNotification.stories.js +32 -22
  1181. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +1 -1
  1182. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
  1183. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
  1184. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
  1185. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
  1186. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +3 -7
  1187. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  1188. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +38 -43
  1189. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +1 -1
  1190. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +18 -0
  1191. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
  1192. package/lib/cs/TaskManager/TaskManager.mocks.js +93 -0
  1193. package/lib/cs/TaskManager/TaskManager.mocks.js.map +1 -1
  1194. package/lib/cs/TaskManager/TaskManager.stories.d.ts +8 -6
  1195. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  1196. package/lib/cs/TaskManager/TaskManager.stories.js +130 -56
  1197. package/lib/cs/TaskManager/TaskManager.stories.js.map +1 -1
  1198. package/lib/cs/TaskManager/TaskManager.styles.d.ts +3 -0
  1199. package/lib/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
  1200. package/lib/cs/TaskManager/TaskManager.styles.js +9 -0
  1201. package/lib/cs/TaskManager/TaskManager.styles.js.map +1 -0
  1202. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
  1203. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
  1204. package/lib/dnd/DragDropList/DragDropList.mocks.js +32 -0
  1205. package/lib/dnd/DragDropList/DragDropList.mocks.js.map +1 -0
  1206. package/lib/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
  1207. package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  1208. package/lib/dnd/DragDropList/DragDropList.stories.js +16 -87
  1209. package/lib/dnd/DragDropList/DragDropList.stories.js.map +1 -1
  1210. package/lib/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
  1211. package/lib/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
  1212. package/lib/dnd/DragDropList/DragDropList.styles.js +32 -0
  1213. package/lib/dnd/DragDropList/DragDropList.styles.js.map +1 -0
  1214. package/lib/dnd/StandardDragDropList/Demo.d.ts +7 -0
  1215. package/lib/dnd/StandardDragDropList/Demo.d.ts.map +1 -0
  1216. package/lib/dnd/StandardDragDropList/Demo.js +151 -0
  1217. package/lib/dnd/StandardDragDropList/Demo.js.map +1 -0
  1218. package/lib/dnd/StandardDragDropList/GroupConfig.d.ts +10 -0
  1219. package/lib/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -0
  1220. package/lib/dnd/StandardDragDropList/GroupConfig.js +18 -0
  1221. package/lib/dnd/StandardDragDropList/GroupConfig.js.map +1 -0
  1222. package/lib/dnd/StandardDragDropList/ItemConfig.d.ts +12 -0
  1223. package/lib/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -0
  1224. package/lib/dnd/StandardDragDropList/ItemConfig.js +20 -0
  1225. package/lib/dnd/StandardDragDropList/ItemConfig.js.map +1 -0
  1226. package/lib/dnd/StandardDragDropList/Popover.d.ts +14 -0
  1227. package/lib/dnd/StandardDragDropList/Popover.d.ts.map +1 -0
  1228. package/lib/dnd/StandardDragDropList/Popover.js +33 -0
  1229. package/lib/dnd/StandardDragDropList/Popover.js.map +1 -0
  1230. package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts +16 -0
  1231. package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -0
  1232. package/lib/dnd/StandardDragDropList/SelectionMenu.js +100 -0
  1233. package/lib/dnd/StandardDragDropList/SelectionMenu.js.map +1 -0
  1234. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +5 -0
  1235. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -0
  1236. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js +13 -0
  1237. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js.map +1 -0
  1238. package/lib/dnd/StandardDragDropList/mockData.d.ts +26 -0
  1239. package/lib/dnd/StandardDragDropList/mockData.d.ts.map +1 -0
  1240. package/lib/dnd/StandardDragDropList/mockData.js +78 -0
  1241. package/lib/dnd/StandardDragDropList/mockData.js.map +1 -0
  1242. package/lib/rte/Editor/Editor.mocks.d.ts +309 -0
  1243. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -0
  1244. package/lib/rte/Editor/Editor.mocks.js +26 -0
  1245. package/lib/rte/Editor/Editor.mocks.js.map +1 -0
  1246. package/lib/rte/Editor/Editor.stories.d.ts +7 -8
  1247. package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
  1248. package/lib/rte/Editor/Editor.stories.js +8 -28
  1249. package/lib/rte/Editor/Editor.stories.js.map +1 -1
  1250. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js +5 -5
  1251. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +1 -1
  1252. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +6 -4
  1253. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  1254. package/lib/rte/RichTextEditor/RichTextEditor.stories.js +14 -7
  1255. package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +1 -1
  1256. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +5 -5
  1257. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  1258. package/lib/rte/RichTextEditor/RichTextViewer.stories.js +19 -6
  1259. package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +1 -1
  1260. package/lib/social/Chat/Chat.mocks.d.ts +15 -2
  1261. package/lib/social/Chat/Chat.mocks.d.ts.map +1 -1
  1262. package/lib/social/Chat/Chat.mocks.js +5 -6
  1263. package/lib/social/Chat/Chat.mocks.js.map +1 -1
  1264. package/lib/social/Chat/Chat.stories.d.ts +6 -7
  1265. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  1266. package/lib/social/Chat/Chat.stories.js +98 -36
  1267. package/lib/social/Chat/Chat.stories.js.map +1 -1
  1268. package/lib/social/Chat/RepeatingView.mocks.d.ts +14 -0
  1269. package/lib/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
  1270. package/lib/social/Chat/RepeatingView.mocks.js +11 -0
  1271. package/lib/social/Chat/RepeatingView.mocks.js.map +1 -0
  1272. package/lib/social/Chat/RepeatingView.stories.d.ts +6 -17
  1273. package/lib/social/Chat/RepeatingView.stories.d.ts.map +1 -1
  1274. package/lib/social/Chat/RepeatingView.stories.js +18 -48
  1275. package/lib/social/Chat/RepeatingView.stories.js.map +1 -1
  1276. package/lib/social/Chat/RepeatingView.styles.d.ts +2 -0
  1277. package/lib/social/Chat/RepeatingView.styles.d.ts.map +1 -0
  1278. package/lib/social/Chat/RepeatingView.styles.js +22 -0
  1279. package/lib/social/Chat/RepeatingView.styles.js.map +1 -0
  1280. package/lib/social/Email/Email.mocks.d.ts +216 -3
  1281. package/lib/social/Email/Email.mocks.d.ts.map +1 -1
  1282. package/lib/social/Email/Email.mocks.js +551 -0
  1283. package/lib/social/Email/Email.mocks.js.map +1 -1
  1284. package/lib/social/Email/Email.stories.d.ts +59 -26
  1285. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  1286. package/lib/social/Email/Email.stories.js +861 -714
  1287. package/lib/social/Email/Email.stories.js.map +1 -1
  1288. package/lib/social/Email/Email.styles.d.ts +3 -0
  1289. package/lib/social/Email/Email.styles.d.ts.map +1 -0
  1290. package/lib/social/Email/Email.styles.js +11 -0
  1291. package/lib/social/Email/Email.styles.js.map +1 -0
  1292. package/lib/social/Feed/Feed.mocks.d.ts +13 -18
  1293. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
  1294. package/lib/social/Feed/Feed.mocks.js +45 -40
  1295. package/lib/social/Feed/Feed.mocks.js.map +1 -1
  1296. package/lib/social/Feed/Feed.stories.d.ts +8 -12
  1297. package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
  1298. package/lib/social/Feed/Feed.stories.js +38 -28
  1299. package/lib/social/Feed/Feed.stories.js.map +1 -1
  1300. package/lib/social/Feed/FeedNewPost.stories.d.ts +7 -14
  1301. package/lib/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
  1302. package/lib/social/Feed/FeedNewPost.stories.js +5 -4
  1303. package/lib/social/Feed/FeedNewPost.stories.js.map +1 -1
  1304. package/lib/social/Feed/FeedPost.stories.d.ts +4 -5
  1305. package/lib/social/Feed/FeedPost.stories.d.ts.map +1 -1
  1306. package/lib/social/Feed/FeedPost.stories.js +47 -36
  1307. package/lib/social/Feed/FeedPost.stories.js.map +1 -1
  1308. package/lib/social/Feed/FeedReply.stories.d.ts +10 -10
  1309. package/lib/social/Feed/FeedReply.stories.d.ts.map +1 -1
  1310. package/lib/social/Feed/FeedReply.stories.js +31 -26
  1311. package/lib/social/Feed/FeedReply.stories.js.map +1 -1
  1312. package/lib/social/Feed/FeedReplyInput.stories.d.ts +7 -12
  1313. package/lib/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
  1314. package/lib/social/Feed/FeedReplyInput.stories.js +5 -4
  1315. package/lib/social/Feed/FeedReplyInput.stories.js.map +1 -1
  1316. package/lib/tools/Clipboard/Clipboard.mocks.d.ts +6 -0
  1317. package/lib/tools/Clipboard/Clipboard.mocks.d.ts.map +1 -0
  1318. package/lib/tools/Clipboard/Clipboard.mocks.js +75 -0
  1319. package/lib/tools/Clipboard/Clipboard.mocks.js.map +1 -0
  1320. package/lib/tools/Clipboard/Clipboard.stories.d.ts +6 -0
  1321. package/lib/tools/Clipboard/Clipboard.stories.d.ts.map +1 -0
  1322. package/lib/tools/Clipboard/Clipboard.stories.js +78 -0
  1323. package/lib/tools/Clipboard/Clipboard.stories.js.map +1 -0
  1324. package/lib/tools/DevTools/DevTools.mocks.d.ts +3 -0
  1325. package/lib/tools/DevTools/DevTools.mocks.d.ts.map +1 -0
  1326. package/lib/tools/DevTools/DevTools.mocks.js +3 -0
  1327. package/lib/tools/DevTools/DevTools.mocks.js.map +1 -0
  1328. package/lib/tools/DevTools/DevTools.stories.d.ts +10 -0
  1329. package/lib/tools/DevTools/DevTools.stories.d.ts.map +1 -0
  1330. package/lib/tools/DevTools/DevTools.stories.js +31 -0
  1331. package/lib/tools/DevTools/DevTools.stories.js.map +1 -0
  1332. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts +9 -0
  1333. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts.map +1 -0
  1334. package/lib/tools/PreviewShell/PreviewShell.mocks.js +57 -0
  1335. package/lib/tools/PreviewShell/PreviewShell.mocks.js.map +1 -0
  1336. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts +16 -0
  1337. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -0
  1338. package/lib/tools/PreviewShell/PreviewShell.stories.js +154 -0
  1339. package/lib/tools/PreviewShell/PreviewShell.stories.js.map +1 -0
  1340. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts +3 -0
  1341. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts.map +1 -0
  1342. package/lib/tools/PreviewShell/PreviewShell.styles.js +7 -0
  1343. package/lib/tools/PreviewShell/PreviewShell.styles.js.map +1 -0
  1344. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -1
  1345. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js +5 -4
  1346. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +1 -1
  1347. package/lib/work/CaseView/Attachments.mocks.js +20 -21
  1348. package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
  1349. package/lib/work/CaseView/CaseView.mocks.d.ts +74 -2
  1350. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  1351. package/lib/work/CaseView/CaseView.mocks.js +197 -18
  1352. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  1353. package/lib/work/CaseView/CaseView.stories.d.ts +4 -30
  1354. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
  1355. package/lib/work/CaseView/CaseView.stories.js +48 -240
  1356. package/lib/work/CaseView/CaseView.stories.js.map +1 -1
  1357. package/lib/work/CaseView/Details.mocks.js +1 -1
  1358. package/lib/work/CaseView/Details.mocks.js.map +1 -1
  1359. package/lib/work/CaseView/FileService.mock.js +1 -1
  1360. package/lib/work/CaseView/FileService.mock.js.map +1 -1
  1361. package/lib/work/CaseView/MobileCaseView.stories.d.ts +3 -9
  1362. package/lib/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
  1363. package/lib/work/CaseView/MobileCaseView.stories.js +1 -1
  1364. package/lib/work/CaseView/MobileCaseView.stories.js.map +1 -1
  1365. package/lib/work/CaseView/Pulse.mocks.d.ts +4 -3
  1366. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  1367. package/lib/work/CaseView/Pulse.mocks.js +3 -3
  1368. package/lib/work/CaseView/Pulse.mocks.js.map +1 -1
  1369. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
  1370. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
  1371. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js +165 -0
  1372. package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js.map +1 -0
  1373. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -8
  1374. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  1375. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js +5 -174
  1376. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +1 -1
  1377. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
  1378. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
  1379. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
  1380. package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
  1381. package/lib/work/Confirmation/Confirmation.stories.d.ts +3 -0
  1382. package/lib/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  1383. package/lib/work/Confirmation/Confirmation.stories.js +12 -8
  1384. package/lib/work/Confirmation/Confirmation.stories.js.map +1 -1
  1385. package/lib/work/Details/Details.stories.d.ts.map +1 -1
  1386. package/lib/work/Details/Details.stories.js +14 -59
  1387. package/lib/work/Details/Details.stories.js.map +1 -1
  1388. package/lib/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  1389. package/lib/work/Glimpse/Glimpse.stories.js +3 -3
  1390. package/lib/work/Glimpse/Glimpse.stories.js.map +1 -1
  1391. package/lib/work/SearchResults/SearchResults.mocks.d.ts +6 -0
  1392. package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  1393. package/lib/work/SearchResults/SearchResults.mocks.js +43 -42
  1394. package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -1
  1395. package/lib/work/SearchResults/SearchResults.stories.d.ts +1 -0
  1396. package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  1397. package/lib/work/SearchResults/SearchResults.stories.js +83 -53
  1398. package/lib/work/SearchResults/SearchResults.stories.js.map +1 -1
  1399. package/lib/work/Stages/Stages.mocks.d.ts +14 -0
  1400. package/lib/work/Stages/Stages.mocks.d.ts.map +1 -0
  1401. package/lib/work/Stages/Stages.mocks.js +39 -0
  1402. package/lib/work/Stages/Stages.mocks.js.map +1 -0
  1403. package/lib/work/Stages/Stages.stories.d.ts +1 -1
  1404. package/lib/work/Stages/Stages.stories.d.ts.map +1 -1
  1405. package/lib/work/Stages/Stages.stories.js +12 -44
  1406. package/lib/work/Stages/Stages.stories.js.map +1 -1
  1407. package/lib/work/Stakeholders/Stakeholders.mocks.js +2 -2
  1408. package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -1
  1409. package/lib/work/Stakeholders/Stakeholders.stories.d.ts +2 -3
  1410. package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  1411. package/lib/work/Stakeholders/Stakeholders.stories.js +2 -1
  1412. package/lib/work/Stakeholders/Stakeholders.stories.js.map +1 -1
  1413. package/lib/work/Tags/Tags.stories.js +1 -1
  1414. package/lib/work/Tags/Tags.stories.js.map +1 -1
  1415. package/lib/work/Tasks/TaskList.stories.d.ts.map +1 -1
  1416. package/lib/work/Tasks/TaskList.stories.js +6 -4
  1417. package/lib/work/Tasks/TaskList.stories.js.map +1 -1
  1418. package/lib/work/Tasks/Tasks.stories.d.ts +4 -0
  1419. package/lib/work/Tasks/Tasks.stories.d.ts.map +1 -1
  1420. package/lib/work/Tasks/Tasks.stories.js +29 -17
  1421. package/lib/work/Tasks/Tasks.stories.js.map +1 -1
  1422. package/lib/work/Timeline/Timeline.mocks.js +8 -8
  1423. package/lib/work/Timeline/Timeline.mocks.js.map +1 -1
  1424. package/lib/work/Timeline/Timeline.stories.d.ts +1 -0
  1425. package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -1
  1426. package/lib/work/Timeline/Timeline.stories.js +24 -3
  1427. package/lib/work/Timeline/Timeline.stories.js.map +1 -1
  1428. package/lib/wss/AppShell/AppShell.mocks.d.ts +35 -0
  1429. package/lib/wss/AppShell/AppShell.mocks.d.ts.map +1 -0
  1430. package/lib/wss/AppShell/AppShell.mocks.js +70 -0
  1431. package/lib/wss/AppShell/AppShell.mocks.js.map +1 -0
  1432. package/lib/wss/AppShell/AppShell.stories.d.ts +19 -0
  1433. package/lib/wss/AppShell/AppShell.stories.d.ts.map +1 -0
  1434. package/lib/wss/AppShell/AppShell.stories.js +70 -0
  1435. package/lib/wss/AppShell/AppShell.stories.js.map +1 -0
  1436. package/lib/wss/AppShell/AppShell.styles.d.ts +2 -0
  1437. package/lib/wss/AppShell/AppShell.styles.d.ts.map +1 -0
  1438. package/lib/wss/AppShell/AppShell.styles.js +5 -0
  1439. package/lib/wss/AppShell/AppShell.styles.js.map +1 -0
  1440. package/lib/wss/CaseView/CaseView.mocks.d.ts +13 -0
  1441. package/lib/wss/CaseView/CaseView.mocks.d.ts.map +1 -0
  1442. package/lib/wss/CaseView/CaseView.mocks.js +35 -0
  1443. package/lib/wss/CaseView/CaseView.mocks.js.map +1 -0
  1444. package/lib/wss/CaseView/CaseView.stories.d.ts +12 -0
  1445. package/lib/wss/CaseView/CaseView.stories.d.ts.map +1 -0
  1446. package/lib/wss/CaseView/CaseView.stories.js +70 -0
  1447. package/lib/wss/CaseView/CaseView.stories.js.map +1 -0
  1448. package/lib/wss/PageTemplates/PageTemplates.stories.d.ts +15 -0
  1449. package/lib/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
  1450. package/lib/wss/PageTemplates/PageTemplates.stories.js +41 -0
  1451. package/lib/wss/PageTemplates/PageTemplates.stories.js.map +1 -0
  1452. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts +10 -0
  1453. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -0
  1454. package/lib/wss/QuickCreate/QuickCreate.stories.js +36 -0
  1455. package/lib/wss/QuickCreate/QuickCreate.stories.js.map +1 -0
  1456. package/package.json +22 -19
  1457. package/jsx/build/AppShell/AppShell.mocks.js.map +0 -1
  1458. package/jsx/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
  1459. package/jsx/core/MultiStep/MultiStep.stories.d.ts +0 -6
  1460. package/jsx/core/MultiStep/MultiStep.stories.d.ts.map +0 -1
  1461. package/jsx/core/MultiStep/MultiStep.stories.jsx +0 -56
  1462. package/jsx/core/MultiStep/MultiStep.stories.jsx.map +0 -1
  1463. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts +0 -45
  1464. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts.map +0 -1
  1465. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx +0 -275
  1466. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx.map +0 -1
  1467. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts +0 -57
  1468. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts.map +0 -1
  1469. package/jsx/cs/CSCaseView/CSCaseView.mocks.js +0 -224
  1470. package/jsx/cs/CSCaseView/CSCaseView.mocks.js.map +0 -1
  1471. package/jsx/social/Email/Email.mocks.js +0 -395
  1472. package/jsx/social/Email/Email.mocks.js.map +0 -1
  1473. package/lib/core/MultiStep/MultiStep.stories.d.ts +0 -6
  1474. package/lib/core/MultiStep/MultiStep.stories.d.ts.map +0 -1
  1475. package/lib/core/MultiStep/MultiStep.stories.js +0 -36
  1476. package/lib/core/MultiStep/MultiStep.stories.js.map +0 -1
  1477. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts +0 -45
  1478. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts.map +0 -1
  1479. package/lib/cs/CSCaseView/CSAppShell.stories.js +0 -240
  1480. package/lib/cs/CSCaseView/CSAppShell.stories.js.map +0 -1
  1481. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts +0 -57
  1482. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts.map +0 -1
  1483. package/lib/cs/CSCaseView/CSCaseView.mocks.js +0 -224
  1484. package/lib/cs/CSCaseView/CSCaseView.mocks.js.map +0 -1
@@ -18,20 +18,20 @@ export default {
18
18
  }
19
19
  };
20
20
  export const OneColumnForm = (args) => {
21
- return _jsx(FormContent, { cols: 1, heading: args.heading, description: args.description, showActions: true }, void 0);
21
+ return _jsx(FormContent, { cols: 1, heading: args.heading, description: args.description, showActions: true });
22
22
  };
23
23
  export const TwoColumnForm = (args) => {
24
- return _jsx(FormContent, { cols: 2, heading: args.heading, description: args.description, showActions: true }, void 0);
24
+ return _jsx(FormContent, { cols: 2, heading: args.heading, description: args.description, showActions: true });
25
25
  };
26
26
  export const ThreeColumnForm = (args) => {
27
- return _jsx(FormContent, { cols: 3, heading: args.heading, description: args.description, showActions: true }, void 0);
27
+ return _jsx(FormContent, { cols: 3, heading: args.heading, description: args.description, showActions: true });
28
28
  };
29
29
  export const SimpleFormDemo = (args) => {
30
30
  const [inputValue, setInputValue] = useState('');
31
31
  const [success, setSuccess] = useState('');
32
- const actions = (_jsxs(_Fragment, { children: [_jsx(Button, { name: 'Cancel', variant: 'secondary', onClick: () => setInputValue(''), children: "Cancel" }, void 0), _jsx(Button, { name: 'Submit', type: 'submit', variant: 'primary', children: "Submit" }, void 0)] }, void 0));
33
- const successBanner = (_jsx(Banner, { id: 'success', variant: 'success', heading: 'Success', messages: ['Form submitted', `Input value: ${success}`] }, void 0));
34
- const errorBanner = (_jsx(Banner, { id: 'error', variant: 'urgent', heading: 'Error', messages: ['All required fields in the form must be completed.'] }, void 0));
32
+ const actions = (_jsxs(_Fragment, { children: [_jsx(Button, { name: 'Cancel', variant: 'secondary', onClick: () => setInputValue(''), children: "Cancel" }), _jsx(Button, { name: 'Submit', type: 'submit', variant: 'primary', children: "Submit" })] }));
33
+ const successBanner = (_jsx(Banner, { id: 'success', variant: 'success', heading: 'Success', messages: ['Form submitted', `Input value: ${success}`] }));
34
+ const errorBanner = (_jsx(Banner, { id: 'error', variant: 'urgent', heading: 'Error', messages: ['All required fields in the form must be completed.'] }));
35
35
  const banner = success ? successBanner : errorBanner;
36
36
  return (_jsx(Form, { banners: args.withBanners ? banner : undefined, actions: actions, heading: args.heading, description: args.description, onSubmit: (e) => {
37
37
  e.preventDefault();
@@ -40,7 +40,7 @@ export const SimpleFormDemo = (args) => {
40
40
  }, children: _jsx(Flex, { container: { direction: 'column', itemGap: 2 }, children: _jsx(Input, { label: 'Name', info: 'Enter your first name', required: true, value: inputValue, onChange: (e) => {
41
41
  setSuccess('');
42
42
  setInputValue(e.target.value);
43
- } }, void 0) }, void 0) }, void 0));
43
+ } }) }) }));
44
44
  };
45
45
  SimpleFormDemo.args = {
46
46
  withBanners: false
@@ -65,7 +65,7 @@ export const ConfigurableForm = (args) => {
65
65
  }
66
66
  }
67
67
  }
68
- }, children: _jsx(FormContent, { cols: 2, showActions: true }, void 0) }, void 0));
68
+ }, children: _jsx(FormContent, { cols: 2, showActions: true }) }));
69
69
  };
70
70
  ConfigurableForm.args = {
71
71
  foregroundColor: '#054a8a',
@@ -1 +1 @@
1
- {"version":3,"file":"Form.stories.js","sourceRoot":"","sources":["../../../src/core/Form/Form.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAA0B,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,EACL,MAAM,EACN,MAAM,EACN,aAAa,EACb,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,KAAK,EACN,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,eAAe;IACb,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,IAAI;IACf,aAAa,EAAE;QACb,SAAS;KACV;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,WAAW;QACpB,WAAW,EAAE,EAAE;KAChB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QACtC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;KAC3C;CACM,CAAC;AAMV,MAAM,CAAC,MAAM,aAAa,GAA0B,CAAC,IAAoB,EAAE,EAAE;IAC3E,OAAO,KAAC,WAAW,IAAC,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,iBAAG,CAAC;AACpG,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA0B,CAAC,IAAoB,EAAE,EAAE;IAC3E,OAAO,KAAC,WAAW,IAAC,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,iBAAG,CAAC;AACpG,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAA0B,CAAC,IAAoB,EA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AAC,gBAAgB;qBACtC;oBACD,QAAQ,EAAE;wBACR,cAAc,EAAE,IAAI,CAAC,gBAAgB;qBACtC;iBACF;aACF;SACF,YAED,KAAC,WAAW,IAAC,IAAI,EAAE,CAAC,EAAE,WAAW,iBAAG,WACtB,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,gBAAgB,CAAC,IAAI,GAAG;IACtB,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;IAC1B,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,WAAW;IACxB,YAAY,EAAE,GAAG;IACjB,gBAAgB,EAAE,SAAS;IAC3B,gBAAgB,EAAE,aAAa;CAChC,CAAC;AAEF,gBAAgB,CAAC,QAAQ,GAAG;IAC1B,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC/C,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC/C,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC3C,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC1C,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC7C,gBAAgB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAChD,gBAAgB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAChD,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACrC,WAAW,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;CAC1C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { ChangeEvent, FormEvent, useState } from 'react';\n\nimport {\n Banner,\n Button,\n Configuration,\n Flex,\n Form,\n FormField,\n Input\n} from '@pega/cosmos-react-core';\n\nimport { FormContent } from './Form.mocks';\n\nexport default {\n title: 'Core/Form',\n component: Form,\n subcomponents: {\n FormField\n },\n args: {\n heading: 'Form demo',\n description: ''\n },\n argTypes: {\n heading: { control: { type: 'text' } },\n description: { control: { type: 'text' } }\n }\n} as Meta;\ninterface FormStoryProps {\n heading?: string;\n description?: string;\n}\n\nexport const OneColumnForm: Story<FormStoryProps> = (args: FormStoryProps) => {\n return <FormContent cols={1} heading={args.heading} description={args.description} showActions />;\n};\n\nexport const TwoColumnForm: Story<FormStoryProps> = (args: FormStoryProps) => {\n return <FormContent cols={2} heading={args.heading} description={args.description} showActions />;\n};\n\nexport const ThreeColumnForm: Story<FormStoryProps> = (args: FormStoryProps) => {\n return <FormContent cols={3} heading={args.heading} description={args.description} showActions />;\n};\n\nexport const SimpleFormDemo: Story<FormStoryProps & { withBanners?: boolean }> = (\n args: FormStoryProps & { withBanners?: boolean }\n) => {\n const [inputValue, setInputValue] = useState('');\n const [success, setSuccess] = useState('');\n\n const actions = (\n <>\n <Button name='Cancel' variant='secondary' onClick={() => setInputValue('')}>\n Cancel\n </Button>\n <Button name='Submit' type='submit' variant='primary'>\n Submit\n </Button>\n </>\n );\n\n const successBanner = (\n <Banner\n id='success'\n variant='success'\n heading='Success'\n messages={['Form submitted', `Input value: ${success}`]}\n />\n );\n\n const errorBanner = (\n <Banner\n id='error'\n variant='urgent'\n heading='Error'\n messages={['All required fields in the form must be completed.']}\n />\n );\n\n const banner = success ? successBanner : errorBanner;\n\n return (\n <Form\n banners={args.withBanners ? banner : undefined}\n actions={actions}\n heading={args.heading}\n description={args.description}\n onSubmit={(e: FormEvent) => {\n e.preventDefault();\n setSuccess(inputValue);\n setInputValue('');\n }}\n >\n <Flex container={{ direction: 'column', itemGap: 2 }}>\n <Input\n label='Name'\n info='Enter your first name'\n required\n value={inputValue}\n onChange={(e: ChangeEvent<HTMLInputElement>) => {\n setSuccess('');\n setInputValue(e.target.value);\n }}\n />\n </Flex>\n </Form>\n );\n};\n\nSimpleFormDemo.args = {\n withBanners: false\n};\n\nSimpleFormDemo.argTypes = {\n withBanners: { control: { type: 'boolean' } }\n};\n\ninterface ConfigurableFormProps extends FormStoryProps {\n foregroundColor?: string;\n backgroundColor?: string;\n borderColor?: string;\n borderWidth?: string;\n borderRadius?: number;\n hoverBorderColor?: string;\n focusBorderColor?: string;\n}\n\nexport const ConfigurableForm: Story<ConfigurableFormProps> = (args: ConfigurableFormProps) => {\n return (\n <Configuration\n theme={{\n components: {\n 'form-control': {\n 'foreground-color': args.foregroundColor,\n 'background-color': args.backgroundColor,\n 'border-color': args.borderColor,\n 'border-width': args.borderWidth,\n 'border-radius': args.borderRadius,\n ':hover': {\n 'border-color': args.hoverBorderColor\n },\n ':focus': {\n 'border-color': args.focusBorderColor\n }\n }\n }\n }}\n >\n <FormContent cols={2} showActions />\n </Configuration>\n );\n};\n\nConfigurableForm.args = {\n foregroundColor: '#054a8a',\n backgroundColor: '#e2f1ff',\n borderColor: '#939393',\n borderWidth: '0.0625rem',\n borderRadius: 0.5,\n hoverBorderColor: '#3f3f3f',\n focusBorderColor: 'transparent'\n};\n\nConfigurableForm.argTypes = {\n foregroundColor: { control: { type: 'color' } },\n backgroundColor: { control: { type: 'color' } },\n borderColor: { control: { type: 'color' } },\n borderWidth: { control: { type: 'text' } },\n borderRadius: { control: { type: 'number' } },\n hoverBorderColor: { control: { type: 'color' } },\n focusBorderColor: { control: { type: 'color' } },\n heading: { table: { disable: true } },\n description: { table: { disable: true } }\n};\n"]}
1
+ {"version":3,"file":"Form.stories.js","sourceRoot":"","sources":["../../../src/core/Form/Form.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAA0B,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,EACL,MAAM,EACN,MAAM,EACN,aAAa,EACb,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,KAAK,EACN,MAAM,yBAAyB,CAAC;AAEjC,OAAO,E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;IACjB,gBAAgB,EAAE,SAAS;IAC3B,gBAAgB,EAAE,aAAa;CAChC,CAAC;AAEF,gBAAgB,CAAC,QAAQ,GAAG;IAC1B,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC/C,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC/C,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC3C,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC1C,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC7C,gBAAgB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAChD,gBAAgB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAChD,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACrC,WAAW,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;CAC1C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { ChangeEvent, FormEvent, useState } from 'react';\n\nimport {\n Banner,\n Button,\n Configuration,\n Flex,\n Form,\n FormField,\n Input\n} from '@pega/cosmos-react-core';\n\nimport { FormContent } from './Form.mocks';\n\nexport default {\n title: 'Core/Form',\n component: Form,\n subcomponents: {\n FormField\n },\n args: {\n heading: 'Form demo',\n description: ''\n },\n argTypes: {\n heading: { control: { type: 'text' } },\n description: { control: { type: 'text' } }\n }\n} as Meta;\ninterface FormStoryProps {\n heading?: string;\n description?: string;\n}\n\nexport const OneColumnForm: Story<FormStoryProps> = (args: FormStoryProps) => {\n return <FormContent cols={1} heading={args.heading} description={args.description} showActions />;\n};\n\nexport const TwoColumnForm: Story<FormStoryProps> = (args: FormStoryProps) => {\n return <FormContent cols={2} heading={args.heading} description={args.description} showActions />;\n};\n\nexport const ThreeColumnForm: Story<FormStoryProps> = (args: FormStoryProps) => {\n return <FormContent cols={3} heading={args.heading} description={args.description} showActions />;\n};\n\nexport const SimpleFormDemo: Story<FormStoryProps & { withBanners?: boolean }> = (\n args: FormStoryProps & { withBanners?: boolean }\n) => {\n const [inputValue, setInputValue] = useState('');\n const [success, setSuccess] = useState('');\n\n const actions = (\n <>\n <Button name='Cancel' variant='secondary' onClick={() => setInputValue('')}>\n Cancel\n </Button>\n <Button name='Submit' type='submit' variant='primary'>\n Submit\n </Button>\n </>\n );\n\n const successBanner = (\n <Banner\n id='success'\n variant='success'\n heading='Success'\n messages={['Form submitted', `Input value: ${success}`]}\n />\n );\n\n const errorBanner = (\n <Banner\n id='error'\n variant='urgent'\n heading='Error'\n messages={['All required fields in the form must be completed.']}\n />\n );\n\n const banner = success ? successBanner : errorBanner;\n\n return (\n <Form\n banners={args.withBanners ? banner : undefined}\n actions={actions}\n heading={args.heading}\n description={args.description}\n onSubmit={(e: FormEvent) => {\n e.preventDefault();\n setSuccess(inputValue);\n setInputValue('');\n }}\n >\n <Flex container={{ direction: 'column', itemGap: 2 }}>\n <Input\n label='Name'\n info='Enter your first name'\n required\n value={inputValue}\n onChange={(e: ChangeEvent<HTMLInputElement>) => {\n setSuccess('');\n setInputValue(e.target.value);\n }}\n />\n </Flex>\n </Form>\n );\n};\n\nSimpleFormDemo.args = {\n withBanners: false\n};\n\nSimpleFormDemo.argTypes = {\n withBanners: { control: { type: 'boolean' } }\n};\n\ninterface ConfigurableFormProps extends FormStoryProps {\n foregroundColor?: string;\n backgroundColor?: string;\n borderColor?: string;\n borderWidth?: string;\n borderRadius?: number;\n hoverBorderColor?: string;\n focusBorderColor?: string;\n}\n\nexport const ConfigurableForm: Story<ConfigurableFormProps> = (args: ConfigurableFormProps) => {\n return (\n <Configuration\n theme={{\n components: {\n 'form-control': {\n 'foreground-color': args.foregroundColor,\n 'background-color': args.backgroundColor,\n 'border-color': args.borderColor,\n 'border-width': args.borderWidth,\n 'border-radius': args.borderRadius,\n ':hover': {\n 'border-color': args.hoverBorderColor\n },\n ':focus': {\n 'border-color': args.focusBorderColor\n }\n }\n }\n }}\n >\n <FormContent cols={2} showActions />\n </Configuration>\n );\n};\n\nConfigurableForm.args = {\n foregroundColor: '#054a8a',\n backgroundColor: '#e2f1ff',\n borderColor: '#939393',\n borderWidth: '0.0625rem',\n borderRadius: 0.5,\n hoverBorderColor: '#3f3f3f',\n focusBorderColor: 'transparent'\n};\n\nConfigurableForm.argTypes = {\n foregroundColor: { control: { type: 'color' } },\n backgroundColor: { control: { type: 'color' } },\n borderColor: { control: { type: 'color' } },\n borderWidth: { control: { type: 'text' } },\n borderRadius: { control: { type: 'number' } },\n hoverBorderColor: { control: { type: 'color' } },\n focusBorderColor: { control: { type: 'color' } },\n heading: { table: { disable: true } },\n description: { table: { disable: true } }\n};\n"]}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Meta, Story } from '@storybook/react';
3
2
  import { GridContainerProps } from '@pega/cosmos-react-core';
4
3
  declare const _default: Meta<import("@storybook/react").Args>;
@@ -12,13 +11,13 @@ interface GridStoryProps {
12
11
  alignItems?: GridContainerProps['alignItems'];
13
12
  alignContent?: GridContainerProps['alignContent'];
14
13
  }
15
- export declare const ColumnsAndRows: () => JSX.Element;
16
- export declare const Areas: () => JSX.Element;
17
- export declare const Template: () => JSX.Element;
14
+ export declare const ColumnsAndRows: Story;
15
+ export declare const Areas: Story;
16
+ export declare const Template: Story;
18
17
  export declare const GapsAndPadding: Story<GridStoryProps>;
19
18
  export declare const JustifyGridItems: Story<GridStoryProps>;
20
19
  export declare const JustifyGridContent: Story<GridStoryProps>;
21
20
  export declare const AlignGridItems: Story<GridStoryProps>;
22
21
  export declare const AlignGridContent: Story<GridStoryProps>;
23
- export declare const ResponsiveGrid: () => JSX.Element;
22
+ export declare const ResponsiveGrid: Story;
24
23
  //# sourceMappingURL=GridContainer.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GridContainer.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Grid/GridContainer.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAQ,kBAAkB,EAAQ,MAAM,yBAAyB,CAAC;;AAIzE,wBAMU;AAEV,UAAU,cAAc;IACtB,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACtC,GAAG,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC;IAChC,YAAY,CAAC,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;IAClD,cAAc,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IACtD,UAAU,CAAC,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;CACnD;AAED,eAAO,MAAM,cAAc,mBAkB1B,CAAC;AAEF,eAAO,MAAM,KAAK,mBA0BjB,CAAC;AAEF,eAAO,MAAM,QAAQ,mBAyBpB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,cAAc,CAoBhD,CAAC;AAcF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,cAAc,CAmBlD,CAAC;AAUF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,cAAc,CAkBpD,CAAC;AAaF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,cAAc,CAmBhD,CAAC;AAUF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,cAAc,CAoBlD,CAAC;AAaF,eAAO,MAAM,cAAc,mBAkB1B,CAAC"}
1
+ {"version":3,"file":"GridContainer.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Grid/GridContainer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAQ,kBAAkB,EAAQ,MAAM,yBAAyB,CAAC;;AAIzE,wBAMU;AAEV,UAAU,cAAc;IACtB,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACtC,GAAG,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC;IAChC,YAAY,CAAC,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;IAClD,cAAc,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IACtD,UAAU,CAAC,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;CACnD;AAED,eAAO,MAAM,cAAc,EAAE,KAkB5B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KA0BnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAyBtB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,cAAc,CAoBhD,CAAC;AAcF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,cAAc,CAmBlD,CAAC;AAUF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,cAAc,CAkBpD,CAAC;AAaF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,cAAc,CAmBhD,CAAC;AAUF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,cAAc,CAoBlD,CAAC;AAaF,eAAO,MAAM,cAAc,EAAE,KAkB5B,CAAC"}
@@ -13,7 +13,7 @@ export const ColumnsAndRows = () => {
13
13
  cols: '7rem [line1] 1fr [line2] 3fr [line3]',
14
14
  rows: 'repeat(3, 3rem) auto',
15
15
  pad: 2
16
- }, as: StyledGridContainer, height: 20, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }, void 0) }, `colRows-${index}`))) }, void 0));
16
+ }, as: StyledGridContainer, height: 20, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }) }, `colRows-${index}`))) }));
17
17
  };
18
18
  export const Areas = () => {
19
19
  return (_jsxs(Grid, { container: {
@@ -21,12 +21,12 @@ export const Areas = () => {
21
21
  rows: 'repeat(3, 3rem) auto',
22
22
  areas: '"sidebar header header" "sidebar . main" "sidebar . main" "sidebar footer footer"',
23
23
  pad: 2
24
- }, as: StyledGridContainer, height: 20, children: [_jsx(Grid, { item: { area: 'header' }, as: StyledGridItem, children: _jsx(Text, { children: "Header" }, void 0) }, void 0), _jsx(Grid, { item: { area: 'sidebar' }, as: StyledGridItem, children: _jsx(Text, { children: "Side" }, void 0) }, void 0), _jsx(Grid, { item: { area: 'main' }, as: StyledGridItem, children: _jsx(Text, { children: "Main" }, void 0) }, void 0), _jsx(Grid, { item: { area: 'footer' }, as: StyledGridItem, children: _jsx(Text, { children: "Footer" }, void 0) }, void 0)] }, void 0));
24
+ }, as: StyledGridContainer, height: 20, children: [_jsx(Grid, { item: { area: 'header' }, as: StyledGridItem, children: _jsx(Text, { children: "Header" }) }), _jsx(Grid, { item: { area: 'sidebar' }, as: StyledGridItem, children: _jsx(Text, { children: "Side" }) }), _jsx(Grid, { item: { area: 'main' }, as: StyledGridItem, children: _jsx(Text, { children: "Main" }) }), _jsx(Grid, { item: { area: 'footer' }, as: StyledGridItem, children: _jsx(Text, { children: "Footer" }) })] }));
25
25
  };
26
26
  export const Template = () => {
27
27
  const rowsAndAreas = '"sidebar header header" 3rem "sidebar . main" 3rem "sidebar . main" 3rem "sidebar footer footer" auto';
28
28
  const columns = '5rem 1fr 3fr';
29
- return (_jsxs(Grid, { container: { template: `${rowsAndAreas} / ${columns}`, pad: 2 }, as: StyledGridContainer, height: 20, children: [_jsx(Grid, { item: { area: 'header' }, as: StyledGridItem, children: _jsx(Text, { children: "Header" }, void 0) }, void 0), _jsx(Grid, { item: { area: 'sidebar' }, as: StyledGridItem, children: _jsx(Text, { children: "Side" }, void 0) }, void 0), _jsx(Grid, { item: { area: 'main' }, as: StyledGridItem, children: _jsx(Text, { children: "Main" }, void 0) }, void 0), _jsx(Grid, { item: { area: 'footer' }, as: StyledGridItem, children: _jsx(Text, { children: "Footer" }, void 0) }, void 0)] }, void 0));
29
+ return (_jsxs(Grid, { container: { template: `${rowsAndAreas} / ${columns}`, pad: 2 }, as: StyledGridContainer, height: 20, children: [_jsx(Grid, { item: { area: 'header' }, as: StyledGridItem, children: _jsx(Text, { children: "Header" }) }), _jsx(Grid, { item: { area: 'sidebar' }, as: StyledGridItem, children: _jsx(Text, { children: "Side" }) }), _jsx(Grid, { item: { area: 'main' }, as: StyledGridItem, children: _jsx(Text, { children: "Main" }) }), _jsx(Grid, { item: { area: 'footer' }, as: StyledGridItem, children: _jsx(Text, { children: "Footer" }) })] }));
30
30
  };
31
31
  export const GapsAndPadding = (args) => {
32
32
  return (_jsx(Grid, { container: {
@@ -35,7 +35,7 @@ export const GapsAndPadding = (args) => {
35
35
  rows: 'repeat(3, 3rem) auto',
36
36
  rowGap: args.rowGap,
37
37
  pad: args.pad
38
- }, as: StyledGridContainer, height: 20, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }, void 0) }, `colRowGap-${index}`))) }, void 0));
38
+ }, as: StyledGridContainer, height: 20, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }) }, `colRowGap-${index}`))) }));
39
39
  };
40
40
  GapsAndPadding.args = {
41
41
  pad: 1,
@@ -53,7 +53,7 @@ export const JustifyGridItems = (args) => {
53
53
  rows: 'repeat(3, 3rem) auto',
54
54
  justifyItems: args.justifyItems,
55
55
  pad: 2
56
- }, as: StyledGridContainer, height: 20, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }, void 0) }, `justifyItems-${index}`))) }, void 0));
56
+ }, as: StyledGridContainer, height: 20, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }) }, `justifyItems-${index}`))) }));
57
57
  };
58
58
  JustifyGridItems.args = {
59
59
  justifyItems: 'stretch'
@@ -67,7 +67,7 @@ export const JustifyGridContent = (args) => {
67
67
  rows: 'repeat(4, 3rem)',
68
68
  justifyContent: args.justifyContent,
69
69
  pad: 2
70
- }, as: StyledGridContainer, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }, void 0) }, `justifyContent-${index}`))) }, void 0));
70
+ }, as: StyledGridContainer, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }) }, `justifyContent-${index}`))) }));
71
71
  };
72
72
  JustifyGridContent.args = {
73
73
  justifyContent: 'start'
@@ -84,7 +84,7 @@ export const AlignGridItems = (args) => {
84
84
  rows: 'repeat(3, 5rem) auto',
85
85
  alignItems: args.alignItems,
86
86
  pad: 2
87
- }, as: StyledGridContainer, height: 20, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }, void 0) }, `alignItems-${index}`))) }, void 0));
87
+ }, as: StyledGridContainer, height: 20, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }) }, `alignItems-${index}`))) }));
88
88
  };
89
89
  AlignGridItems.args = {
90
90
  alignItems: 'stretch'
@@ -98,7 +98,7 @@ export const AlignGridContent = (args) => {
98
98
  rows: 'repeat(4, 3rem)',
99
99
  alignContent: args.alignContent,
100
100
  pad: 2
101
- }, as: StyledGridContainer, height: 30, fitContent: true, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }, void 0) }, `alignContent-${index}`))) }, void 0));
101
+ }, as: StyledGridContainer, height: 30, fitContent: true, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }) }, `alignContent-${index}`))) }));
102
102
  };
103
103
  AlignGridContent.args = {
104
104
  alignContent: 'start'
@@ -110,6 +110,6 @@ AlignGridContent.argTypes = {
110
110
  }
111
111
  };
112
112
  export const ResponsiveGrid = () => {
113
- return (_jsx(Grid, { container: { pad: 1, cols: 'repeat(3, 7rem)', rows: 'repeat(4, 3rem)' }, xl: { container: { cols: 'repeat(12, 1fr)', rows: 'repeat(1, 3rem)' } }, lg: { container: { cols: 'repeat(6, 1fr)', rows: 'repeat(2, 3rem)' } }, md: { container: { cols: 'repeat(4, 1fr)', rows: 'repeat(3, 3rem)' } }, sm: { container: { cols: 'repeat(3, 1fr)', rows: 'repeat(4, 3rem)' } }, xs: { container: { cols: 'repeat(2, 1fr)', rows: 'repeat(6, 3rem)' } }, as: StyledGridContainer, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }, void 0) }, `colRows-${index}`))) }, void 0));
113
+ return (_jsx(Grid, { container: { pad: 1, cols: 'repeat(3, 7rem)', rows: 'repeat(4, 3rem)' }, xl: { container: { cols: 'repeat(12, 1fr)', rows: 'repeat(1, 3rem)' } }, lg: { container: { cols: 'repeat(6, 1fr)', rows: 'repeat(2, 3rem)' } }, md: { container: { cols: 'repeat(4, 1fr)', rows: 'repeat(3, 3rem)' } }, sm: { container: { cols: 'repeat(3, 1fr)', rows: 'repeat(4, 3rem)' } }, xs: { container: { cols: 'repeat(2, 1fr)', rows: 'repeat(6, 3rem)' } }, as: StyledGridContainer, children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (_jsx(StyledGridItem, { children: _jsxs(Text, { children: ["Item ", index] }) }, `colRows-${index}`))) }));
114
114
  };
115
115
  //# sourceMappingURL=GridContainer.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GridContainer.stories.js","sourceRoot":"","sources":["../../../src/core/Grid/GridContainer.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAsB,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEzE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpE,eAAe;IACb,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACM,CAAC;AAYV,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;IACjC,OAAO,CACL,KAAC,IAAI,IACH,SAAS,EAAE;YACT,IAAI,EAAE,sCAAsC;YAC5C,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EAAE,CAAC;SACP,EACD,EAAE,EAAE,mBAAmB,EACvB,MAAM,EAAE,EAAE,YAET,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CACpD,KAAC,cAAc,cACb,M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AQ,CAAC;QAClE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;IACjC,OAAO,CACL,KAAC,IAAI,IACH,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EACvE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EACvE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EACtE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EACtE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EACtE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EACtE,EAAE,EAAE,mBAAmB,YAEtB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CACpD,KAAC,cAAc,cACb,MAAC,IAAI,wBAAO,KAAK,YAAQ,IADN,WAAW,KAAK,EAAE,CAEtB,CAClB,CAAC,WACG,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Grid, GridContainerProps, Text } from '@pega/cosmos-react-core';\n\nimport { StyledGridContainer, StyledGridItem } from './Grid.styles';\n\nexport default {\n title: 'Core/Grid/Container',\n component: Grid,\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ninterface GridStoryProps {\n colGap?: GridContainerProps['colGap'];\n rowGap?: GridContainerProps['rowGap'];\n pad?: GridContainerProps['pad'];\n justifyItems?: GridContainerProps['justifyItems'];\n justifyContent?: GridContainerProps['justifyContent'];\n alignItems?: GridContainerProps['alignItems'];\n alignContent?: GridContainerProps['alignContent'];\n}\n\nexport const ColumnsAndRows = () => {\n return (\n <Grid\n container={{\n cols: '7rem [line1] 1fr [line2] 3fr [line3]',\n rows: 'repeat(3, 3rem) auto',\n pad: 2\n }}\n as={StyledGridContainer}\n height={20}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`colRows-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nexport const Areas = () => {\n return (\n <Grid\n container={{\n cols: '5rem 1fr 3fr',\n rows: 'repeat(3, 3rem) auto',\n areas: '\"sidebar header header\" \"sidebar . main\" \"sidebar . main\" \"sidebar footer footer\"',\n pad: 2\n }}\n as={StyledGridContainer}\n height={20}\n >\n <Grid item={{ area: 'header' }} as={StyledGridItem}>\n <Text>Header</Text>\n </Grid>\n <Grid item={{ area: 'sidebar' }} as={StyledGridItem}>\n <Text>Side</Text>\n </Grid>\n <Grid item={{ area: 'main' }} as={StyledGridItem}>\n <Text>Main</Text>\n </Grid>\n <Grid item={{ area: 'footer' }} as={StyledGridItem}>\n <Text>Footer</Text>\n </Grid>\n </Grid>\n );\n};\n\nexport const Template = () => {\n const rowsAndAreas =\n '\"sidebar header header\" 3rem \"sidebar . main\" 3rem \"sidebar . main\" 3rem \"sidebar footer footer\" auto';\n const columns = '5rem 1fr 3fr';\n\n return (\n <Grid\n container={{ template: `${rowsAndAreas} / ${columns}`, pad: 2 }}\n as={StyledGridContainer}\n height={20}\n >\n <Grid item={{ area: 'header' }} as={StyledGridItem}>\n <Text>Header</Text>\n </Grid>\n <Grid item={{ area: 'sidebar' }} as={StyledGridItem}>\n <Text>Side</Text>\n </Grid>\n <Grid item={{ area: 'main' }} as={StyledGridItem}>\n <Text>Main</Text>\n </Grid>\n <Grid item={{ area: 'footer' }} as={StyledGridItem}>\n <Text>Footer</Text>\n </Grid>\n </Grid>\n );\n};\n\nexport const GapsAndPadding: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{\n cols: '7rem 1fr 3fr',\n colGap: args.colGap,\n rows: 'repeat(3, 3rem) auto',\n rowGap: args.rowGap,\n pad: args.pad\n }}\n as={StyledGridContainer}\n height={20}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`colRowGap-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nGapsAndPadding.args = {\n pad: 1,\n colGap: 1,\n rowGap: 1\n};\n\nGapsAndPadding.argTypes = {\n pad: { control: { type: 'number' } },\n colGap: { control: { type: 'number' } },\n rowGap: { control: { type: 'number' } }\n};\n\nexport const JustifyGridItems: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{\n cols: '7rem 1fr 3fr',\n rows: 'repeat(3, 3rem) auto',\n justifyItems: args.justifyItems,\n pad: 2\n }}\n as={StyledGridContainer}\n height={20}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`justifyItems-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nJustifyGridItems.args = {\n justifyItems: 'stretch'\n};\n\nJustifyGridItems.argTypes = {\n justifyItems: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }\n};\n\nexport const JustifyGridContent: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{\n cols: 'repeat(3, 7rem)',\n rows: 'repeat(4, 3rem)',\n justifyContent: args.justifyContent,\n pad: 2\n }}\n as={StyledGridContainer}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`justifyContent-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nJustifyGridContent.args = {\n justifyContent: 'start'\n};\n\nJustifyGridContent.argTypes = {\n justifyContent: {\n options: ['start', 'end', 'center', 'around', 'between', 'evenly'],\n control: { type: 'select' }\n }\n};\n\nexport const AlignGridItems: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{\n cols: '7rem 1fr 3fr',\n rows: 'repeat(3, 5rem) auto',\n alignItems: args.alignItems,\n pad: 2\n }}\n as={StyledGridContainer}\n height={20}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`alignItems-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nAlignGridItems.args = {\n alignItems: 'stretch'\n};\n\nAlignGridItems.argTypes = {\n alignItems: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }\n};\n\nexport const AlignGridContent: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{\n cols: 'repeat(3, 7rem)',\n rows: 'repeat(4, 3rem)',\n alignContent: args.alignContent,\n pad: 2\n }}\n as={StyledGridContainer}\n height={30}\n fitContent\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`alignContent-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nAlignGridContent.args = {\n alignContent: 'start'\n};\n\nAlignGridContent.argTypes = {\n alignContent: {\n options: ['start', 'end', 'center', 'around', 'between', 'evenly'],\n control: { type: 'select' }\n }\n};\n\nexport const ResponsiveGrid = () => {\n return (\n <Grid\n container={{ pad: 1, cols: 'repeat(3, 7rem)', rows: 'repeat(4, 3rem)' }}\n xl={{ container: { cols: 'repeat(12, 1fr)', rows: 'repeat(1, 3rem)' } }}\n lg={{ container: { cols: 'repeat(6, 1fr)', rows: 'repeat(2, 3rem)' } }}\n md={{ container: { cols: 'repeat(4, 1fr)', rows: 'repeat(3, 3rem)' } }}\n sm={{ container: { cols: 'repeat(3, 1fr)', rows: 'repeat(4, 3rem)' } }}\n xs={{ container: { cols: 'repeat(2, 1fr)', rows: 'repeat(6, 3rem)' } }}\n as={StyledGridContainer}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`colRows-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n"]}
1
+ {"version":3,"file":"GridContainer.stories.js","sourceRoot":"","sources":["../../../src/core/Grid/GridContainer.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAsB,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEzE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpE,eAAe;IACb,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACM,CAAC;AAYV,MAAM,CAAC,MAAM,cAAc,GAAU,GAAG,EAAE;IACxC,OAAO,CACL,KAAC,IAAI,IACH,SAAS,EAAE;YACT,IAAI,EAAE,sCAAsC;YAC5C,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EAAE,CAAC;SACP,EACD,EAAE,EAAE,mBAAmB,EACvB,MAAM,EAAE,EAAE,YAET,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CACpD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AAE,SAAS,EAAE,QAAQ,CAAC;QAClE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAU,GAAG,EAAE;IACxC,OAAO,CACL,KAAC,IAAI,IACH,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EACvE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EACvE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EACtE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EACtE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EACtE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EACtE,EAAE,EAAE,mBAAmB,YAEtB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CACpD,KAAC,cAAc,cACb,MAAC,IAAI,wBAAO,KAAK,IAAQ,IADN,WAAW,KAAK,EAAE,CAEtB,CAClB,CAAC,GACG,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Grid, GridContainerProps, Text } from '@pega/cosmos-react-core';\n\nimport { StyledGridContainer, StyledGridItem } from './Grid.styles';\n\nexport default {\n title: 'Core/Grid/Container',\n component: Grid,\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ninterface GridStoryProps {\n colGap?: GridContainerProps['colGap'];\n rowGap?: GridContainerProps['rowGap'];\n pad?: GridContainerProps['pad'];\n justifyItems?: GridContainerProps['justifyItems'];\n justifyContent?: GridContainerProps['justifyContent'];\n alignItems?: GridContainerProps['alignItems'];\n alignContent?: GridContainerProps['alignContent'];\n}\n\nexport const ColumnsAndRows: Story = () => {\n return (\n <Grid\n container={{\n cols: '7rem [line1] 1fr [line2] 3fr [line3]',\n rows: 'repeat(3, 3rem) auto',\n pad: 2\n }}\n as={StyledGridContainer}\n height={20}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`colRows-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nexport const Areas: Story = () => {\n return (\n <Grid\n container={{\n cols: '5rem 1fr 3fr',\n rows: 'repeat(3, 3rem) auto',\n areas: '\"sidebar header header\" \"sidebar . main\" \"sidebar . main\" \"sidebar footer footer\"',\n pad: 2\n }}\n as={StyledGridContainer}\n height={20}\n >\n <Grid item={{ area: 'header' }} as={StyledGridItem}>\n <Text>Header</Text>\n </Grid>\n <Grid item={{ area: 'sidebar' }} as={StyledGridItem}>\n <Text>Side</Text>\n </Grid>\n <Grid item={{ area: 'main' }} as={StyledGridItem}>\n <Text>Main</Text>\n </Grid>\n <Grid item={{ area: 'footer' }} as={StyledGridItem}>\n <Text>Footer</Text>\n </Grid>\n </Grid>\n );\n};\n\nexport const Template: Story = () => {\n const rowsAndAreas =\n '\"sidebar header header\" 3rem \"sidebar . main\" 3rem \"sidebar . main\" 3rem \"sidebar footer footer\" auto';\n const columns = '5rem 1fr 3fr';\n\n return (\n <Grid\n container={{ template: `${rowsAndAreas} / ${columns}`, pad: 2 }}\n as={StyledGridContainer}\n height={20}\n >\n <Grid item={{ area: 'header' }} as={StyledGridItem}>\n <Text>Header</Text>\n </Grid>\n <Grid item={{ area: 'sidebar' }} as={StyledGridItem}>\n <Text>Side</Text>\n </Grid>\n <Grid item={{ area: 'main' }} as={StyledGridItem}>\n <Text>Main</Text>\n </Grid>\n <Grid item={{ area: 'footer' }} as={StyledGridItem}>\n <Text>Footer</Text>\n </Grid>\n </Grid>\n );\n};\n\nexport const GapsAndPadding: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{\n cols: '7rem 1fr 3fr',\n colGap: args.colGap,\n rows: 'repeat(3, 3rem) auto',\n rowGap: args.rowGap,\n pad: args.pad\n }}\n as={StyledGridContainer}\n height={20}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`colRowGap-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nGapsAndPadding.args = {\n pad: 1,\n colGap: 1,\n rowGap: 1\n};\n\nGapsAndPadding.argTypes = {\n pad: { control: { type: 'number' } },\n colGap: { control: { type: 'number' } },\n rowGap: { control: { type: 'number' } }\n};\n\nexport const JustifyGridItems: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{\n cols: '7rem 1fr 3fr',\n rows: 'repeat(3, 3rem) auto',\n justifyItems: args.justifyItems,\n pad: 2\n }}\n as={StyledGridContainer}\n height={20}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`justifyItems-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nJustifyGridItems.args = {\n justifyItems: 'stretch'\n};\n\nJustifyGridItems.argTypes = {\n justifyItems: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }\n};\n\nexport const JustifyGridContent: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{\n cols: 'repeat(3, 7rem)',\n rows: 'repeat(4, 3rem)',\n justifyContent: args.justifyContent,\n pad: 2\n }}\n as={StyledGridContainer}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`justifyContent-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nJustifyGridContent.args = {\n justifyContent: 'start'\n};\n\nJustifyGridContent.argTypes = {\n justifyContent: {\n options: ['start', 'end', 'center', 'around', 'between', 'evenly'],\n control: { type: 'select' }\n }\n};\n\nexport const AlignGridItems: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{\n cols: '7rem 1fr 3fr',\n rows: 'repeat(3, 5rem) auto',\n alignItems: args.alignItems,\n pad: 2\n }}\n as={StyledGridContainer}\n height={20}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`alignItems-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nAlignGridItems.args = {\n alignItems: 'stretch'\n};\n\nAlignGridItems.argTypes = {\n alignItems: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }\n};\n\nexport const AlignGridContent: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{\n cols: 'repeat(3, 7rem)',\n rows: 'repeat(4, 3rem)',\n alignContent: args.alignContent,\n pad: 2\n }}\n as={StyledGridContainer}\n height={30}\n fitContent\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`alignContent-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n\nAlignGridContent.args = {\n alignContent: 'start'\n};\n\nAlignGridContent.argTypes = {\n alignContent: {\n options: ['start', 'end', 'center', 'around', 'between', 'evenly'],\n control: { type: 'select' }\n }\n};\n\nexport const ResponsiveGrid: Story = () => {\n return (\n <Grid\n container={{ pad: 1, cols: 'repeat(3, 7rem)', rows: 'repeat(4, 3rem)' }}\n xl={{ container: { cols: 'repeat(12, 1fr)', rows: 'repeat(1, 3rem)' } }}\n lg={{ container: { cols: 'repeat(6, 1fr)', rows: 'repeat(2, 3rem)' } }}\n md={{ container: { cols: 'repeat(4, 1fr)', rows: 'repeat(3, 3rem)' } }}\n sm={{ container: { cols: 'repeat(3, 1fr)', rows: 'repeat(4, 3rem)' } }}\n xs={{ container: { cols: 'repeat(2, 1fr)', rows: 'repeat(6, 3rem)' } }}\n as={StyledGridContainer}\n >\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(index => (\n <StyledGridItem key={`colRows-${index}`}>\n <Text>Item {index}</Text>\n </StyledGridItem>\n ))}\n </Grid>\n );\n};\n"]}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Meta, Story } from '@storybook/react';
3
2
  import { GridItemProps } from '@pega/cosmos-react-core';
4
3
  declare const _default: Meta<import("@storybook/react").Args>;
@@ -7,7 +6,7 @@ interface GridStoryProps {
7
6
  justifySelf?: GridItemProps['justifySelf'];
8
7
  alignSelf?: GridItemProps['alignSelf'];
9
8
  }
10
- export declare const StartAndEnd: () => JSX.Element;
9
+ export declare const StartAndEnd: Story;
11
10
  export declare const JustifyGridSelf: Story<GridStoryProps>;
12
11
  export declare const AlignGridSelf: Story<GridStoryProps>;
13
12
  //# sourceMappingURL=GridItem.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GridItem.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Grid/GridItem.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAQ,aAAa,EAAQ,MAAM,yBAAyB,CAAC;;AAIpE,wBAMU;AAEV,UAAU,cAAc;IACtB,WAAW,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,WAAW,mBAkCvB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,cAAc,CAcjD,CAAC;AAUF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,cAAc,CAmB/C,CAAC"}
1
+ {"version":3,"file":"GridItem.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Grid/GridItem.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAQ,aAAa,EAAQ,MAAM,yBAAyB,CAAC;;AAIpE,wBAMU;AAEV,UAAU,cAAc;IACtB,WAAW,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,WAAW,EAAE,KAkCzB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,cAAc,CAcjD,CAAC;AAUF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,cAAc,CAmB/C,CAAC"}
@@ -13,10 +13,10 @@ export const StartAndEnd = () => {
13
13
  cols: '[line0] 7rem [line1] 1fr [col2-end col3-start] 3fr [line3]',
14
14
  rows: 'repeat(3, 3rem) auto',
15
15
  pad: 2
16
- }, as: StyledGridContainer, height: 20, children: [_jsx(Grid, { item: { colStart: 'line0', colEnd: 'col3-start' }, as: StyledGridItem, children: _jsx(Text, { children: "Item 1" }, void 0) }, void 0), _jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 2" }, void 0) }, void 0), _jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 3" }, void 0) }, void 0), _jsx(Grid, { item: { colStart: 'line1', colEnd: 'line3' }, as: StyledGridItem, children: _jsx(Text, { children: "Item 4" }, void 0) }, void 0), _jsx(Grid, { item: { rowStart: '3', rowEnd: '5' }, as: StyledGridItem, children: _jsx(Text, { children: "Item 5" }, void 0) }, void 0), _jsx(Grid, { item: { colStart: '2', colEnd: 'span line3', rowStart: '3', rowEnd: 'span 2' }, as: StyledGridItem, children: _jsx(Text, { children: "Item 6" }, void 0) }, void 0)] }, void 0));
16
+ }, as: StyledGridContainer, height: 20, children: [_jsx(Grid, { item: { colStart: 'line0', colEnd: 'col3-start' }, as: StyledGridItem, children: _jsx(Text, { children: "Item 1" }) }), _jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 2" }) }), _jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 3" }) }), _jsx(Grid, { item: { colStart: 'line1', colEnd: 'line3' }, as: StyledGridItem, children: _jsx(Text, { children: "Item 4" }) }), _jsx(Grid, { item: { rowStart: '3', rowEnd: '5' }, as: StyledGridItem, children: _jsx(Text, { children: "Item 5" }) }), _jsx(Grid, { item: { colStart: '2', colEnd: 'span line3', rowStart: '3', rowEnd: 'span 2' }, as: StyledGridItem, children: _jsx(Text, { children: "Item 6" }) })] }));
17
17
  };
18
18
  export const JustifyGridSelf = (args) => {
19
- return (_jsxs(Grid, { container: { cols: '7rem 1fr 3fr', pad: 2 }, as: StyledGridContainer, children: [_jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 1" }, void 0) }, void 0), _jsx(Grid, { item: { justifySelf: args.justifySelf }, as: StyledGridItem, editable: true, children: _jsx(Text, { children: "Item 2" }, void 0) }, void 0), _jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 3" }, void 0) }, void 0)] }, void 0));
19
+ return (_jsxs(Grid, { container: { cols: '7rem 1fr 3fr', pad: 2 }, as: StyledGridContainer, children: [_jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 1" }) }), _jsx(Grid, { item: { justifySelf: args.justifySelf }, as: StyledGridItem, editable: true, children: _jsx(Text, { children: "Item 2" }) }), _jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 3" }) })] }));
20
20
  };
21
21
  JustifyGridSelf.args = {
22
22
  justifySelf: 'stretch'
@@ -25,7 +25,7 @@ JustifyGridSelf.argTypes = {
25
25
  justifySelf: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }
26
26
  };
27
27
  export const AlignGridSelf = (args) => {
28
- return (_jsxs(Grid, { container: { cols: '7rem 1fr 3fr', pad: 2 }, as: StyledGridContainer, height: 10, fitContent: true, children: [_jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 1" }, void 0) }, void 0), _jsx(Grid, { item: { alignSelf: args.alignSelf }, as: StyledGridItem, editable: true, children: _jsx(Text, { children: "Item 2" }, void 0) }, void 0), _jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 3" }, void 0) }, void 0)] }, void 0));
28
+ return (_jsxs(Grid, { container: { cols: '7rem 1fr 3fr', pad: 2 }, as: StyledGridContainer, height: 10, fitContent: true, children: [_jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 1" }) }), _jsx(Grid, { item: { alignSelf: args.alignSelf }, as: StyledGridItem, editable: true, children: _jsx(Text, { children: "Item 2" }) }), _jsx(StyledGridItem, { children: _jsx(Text, { children: "Item 3" }) })] }));
29
29
  };
30
30
  AlignGridSelf.args = {
31
31
  alignSelf: 'stretch'
@@ -1 +1 @@
1
- {"version":3,"file":"GridItem.stories.js","sourceRoot":"","sources":["../../../src/core/Grid/GridItem.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAiB,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpE,eAAe;IACb,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACM,CAAC;AAOV,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE;IAC9B,OAAO,CACL,MAAC,IAAI,IACH,SAAS,EAAE;YACT,IAAI,EAAE,4DAA4D;YAClE,IAAI,EAAE,sBAAsB;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AAC,cAAc,cACb,KAAC,IAAI,iCAAc,WACJ,YACZ,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,CAAC,IAAI,GAAG;IACrB,WAAW,EAAE,SAAS;CACvB,CAAC;AAEF,eAAe,CAAC,QAAQ,GAAG;IACzB,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CAC7F,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA0B,CAAC,IAAoB,EAAE,EAAE;IAC3E,OAAO,CACL,MAAC,IAAI,IACH,SAAS,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,EAAE,EAC3C,EAAE,EAAE,mBAAmB,EACvB,MAAM,EAAE,EAAE,EACV,UAAU,mBAEV,KAAC,cAAc,cACb,KAAC,IAAI,iCAAc,WACJ,EACjB,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,QAAQ,kBACrE,KAAC,IAAI,iCAAc,WACd,EACP,KAAC,cAAc,cACb,KAAC,IAAI,iCAAc,WACJ,YACZ,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,aAAa,CAAC,IAAI,GAAG;IACnB,SAAS,EAAE,SAAS;CACrB,CAAC;AAEF,aAAa,CAAC,QAAQ,GAAG;IACvB,SAAS,EAAE,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CAC3F,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Grid, GridItemProps, Text } from '@pega/cosmos-react-core';\n\nimport { StyledGridContainer, StyledGridItem } from './Grid.styles';\n\nexport default {\n title: 'Core/Grid/Item',\n component: Grid,\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ninterface GridStoryProps {\n justifySelf?: GridItemProps['justifySelf'];\n alignSelf?: GridItemProps['alignSelf'];\n}\n\nexport const StartAndEnd = () => {\n return (\n <Grid\n container={{\n cols: '[line0] 7rem [line1] 1fr [col2-end col3-start] 3fr [line3]',\n rows: 'repeat(3, 3rem) auto',\n pad: 2\n }}\n as={StyledGridContainer}\n height={20}\n >\n <Grid item={{ colStart: 'line0', colEnd: 'col3-start' }} as={StyledGridItem}>\n <Text>Item 1</Text>\n </Grid>\n <StyledGridItem>\n <Text>Item 2</Text>\n </StyledGridItem>\n <StyledGridItem>\n <Text>Item 3</Text>\n </StyledGridItem>\n <Grid item={{ colStart: 'line1', colEnd: 'line3' }} as={StyledGridItem}>\n <Text>Item 4</Text>\n </Grid>\n <Grid item={{ rowStart: '3', rowEnd: '5' }} as={StyledGridItem}>\n <Text>Item 5</Text>\n </Grid>\n <Grid\n item={{ colStart: '2', colEnd: 'span line3', rowStart: '3', rowEnd: 'span 2' }}\n as={StyledGridItem}\n >\n <Text>Item 6</Text>\n </Grid>\n </Grid>\n );\n};\n\nexport const JustifyGridSelf: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid container={{ cols: '7rem 1fr 3fr', pad: 2 }} as={StyledGridContainer}>\n <StyledGridItem>\n <Text>Item 1</Text>\n </StyledGridItem>\n <Grid item={{ justifySelf: args.justifySelf }} as={StyledGridItem} editable>\n <Text>Item 2</Text>\n </Grid>\n <StyledGridItem>\n <Text>Item 3</Text>\n </StyledGridItem>\n </Grid>\n );\n};\n\nJustifyGridSelf.args = {\n justifySelf: 'stretch'\n};\n\nJustifyGridSelf.argTypes = {\n justifySelf: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }\n};\n\nexport const AlignGridSelf: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{ cols: '7rem 1fr 3fr', pad: 2 }}\n as={StyledGridContainer}\n height={10}\n fitContent\n >\n <StyledGridItem>\n <Text>Item 1</Text>\n </StyledGridItem>\n <Grid item={{ alignSelf: args.alignSelf }} as={StyledGridItem} editable>\n <Text>Item 2</Text>\n </Grid>\n <StyledGridItem>\n <Text>Item 3</Text>\n </StyledGridItem>\n </Grid>\n );\n};\n\nAlignGridSelf.args = {\n alignSelf: 'stretch'\n};\n\nAlignGridSelf.argTypes = {\n alignSelf: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }\n};\n"]}
1
+ {"version":3,"file":"GridItem.stories.js","sourceRoot":"","sources":["../../../src/core/Grid/GridItem.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAiB,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpE,eAAe;IACb,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACM,CAAC;AAOV,MAAM,CAAC,MAAM,WAAW,GAAU,GAAG,EAAE;IACrC,OAAO,CACL,MAAC,IAAI,IACH,SAAS,EAAE;YACT,IAAI,EAAE,4DAA4D;YAClE,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EAAE,CAAC;SACP,EACD,EAAE,EAAE,mBAAmB,EACvB,MAAM,EAAE,EAAE,aAEV,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,cAAc,YACzE,KAAC,IAAI,yBAAc,GACd,EACP,KAAC,cAAc,cACb,KAAC,IAAI,yBAAc,GACJ,EACjB,KAAC,cAAc,cACb,KAAC,IAAI,yBAAc,GACJ,EACjB,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,cAAc,Y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EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,EAAE,EAC3C,EAAE,EAAE,mBAAmB,EACvB,MAAM,EAAE,EAAE,EACV,UAAU,mBAEV,KAAC,cAAc,cACb,KAAC,IAAI,yBAAc,GACJ,EACjB,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,QAAQ,kBACrE,KAAC,IAAI,yBAAc,GACd,EACP,KAAC,cAAc,cACb,KAAC,IAAI,yBAAc,GACJ,IACZ,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,aAAa,CAAC,IAAI,GAAG;IACnB,SAAS,EAAE,SAAS;CACrB,CAAC;AAEF,aAAa,CAAC,QAAQ,GAAG;IACvB,SAAS,EAAE,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CAC3F,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Grid, GridItemProps, Text } from '@pega/cosmos-react-core';\n\nimport { StyledGridContainer, StyledGridItem } from './Grid.styles';\n\nexport default {\n title: 'Core/Grid/Item',\n component: Grid,\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ninterface GridStoryProps {\n justifySelf?: GridItemProps['justifySelf'];\n alignSelf?: GridItemProps['alignSelf'];\n}\n\nexport const StartAndEnd: Story = () => {\n return (\n <Grid\n container={{\n cols: '[line0] 7rem [line1] 1fr [col2-end col3-start] 3fr [line3]',\n rows: 'repeat(3, 3rem) auto',\n pad: 2\n }}\n as={StyledGridContainer}\n height={20}\n >\n <Grid item={{ colStart: 'line0', colEnd: 'col3-start' }} as={StyledGridItem}>\n <Text>Item 1</Text>\n </Grid>\n <StyledGridItem>\n <Text>Item 2</Text>\n </StyledGridItem>\n <StyledGridItem>\n <Text>Item 3</Text>\n </StyledGridItem>\n <Grid item={{ colStart: 'line1', colEnd: 'line3' }} as={StyledGridItem}>\n <Text>Item 4</Text>\n </Grid>\n <Grid item={{ rowStart: '3', rowEnd: '5' }} as={StyledGridItem}>\n <Text>Item 5</Text>\n </Grid>\n <Grid\n item={{ colStart: '2', colEnd: 'span line3', rowStart: '3', rowEnd: 'span 2' }}\n as={StyledGridItem}\n >\n <Text>Item 6</Text>\n </Grid>\n </Grid>\n );\n};\n\nexport const JustifyGridSelf: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid container={{ cols: '7rem 1fr 3fr', pad: 2 }} as={StyledGridContainer}>\n <StyledGridItem>\n <Text>Item 1</Text>\n </StyledGridItem>\n <Grid item={{ justifySelf: args.justifySelf }} as={StyledGridItem} editable>\n <Text>Item 2</Text>\n </Grid>\n <StyledGridItem>\n <Text>Item 3</Text>\n </StyledGridItem>\n </Grid>\n );\n};\n\nJustifyGridSelf.args = {\n justifySelf: 'stretch'\n};\n\nJustifyGridSelf.argTypes = {\n justifySelf: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }\n};\n\nexport const AlignGridSelf: Story<GridStoryProps> = (args: GridStoryProps) => {\n return (\n <Grid\n container={{ cols: '7rem 1fr 3fr', pad: 2 }}\n as={StyledGridContainer}\n height={10}\n fitContent\n >\n <StyledGridItem>\n <Text>Item 1</Text>\n </StyledGridItem>\n <Grid item={{ alignSelf: args.alignSelf }} as={StyledGridItem} editable>\n <Text>Item 2</Text>\n </Grid>\n <StyledGridItem>\n <Text>Item 3</Text>\n </StyledGridItem>\n </Grid>\n );\n};\n\nAlignGridSelf.args = {\n alignSelf: 'stretch'\n};\n\nAlignGridSelf.argTypes = {\n alignSelf: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }\n};\n"]}
@@ -0,0 +1,6 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import { HTMLProps } from '@pega/cosmos-react-core';
3
+ declare const _default: Meta<import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const HTMLDemo: Story<HTMLProps>;
6
+ //# sourceMappingURL=HTML.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HTML.stories.d.ts","sourceRoot":"","sources":["../../../src/core/HTML/HTML.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAQ,SAAS,EAAE,MAAM,yBAAyB,CAAC;;AAE1D,wBAGU;AAEV,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAwD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { HTML } from '@pega/cosmos-react-core';
3
+ export default {
4
+ title: 'Core/HTML',
5
+ component: HTML
6
+ };
7
+ export const HTMLDemo = (args) => _jsx(HTML, { content: args.content });
8
+ HTMLDemo.args = {
9
+ content: '<div><p>Hello, World!<p><ul><li>List item 1<ul><li>Sub list item 1</li></ul></li><li>List item 2</li></ul></div>'
10
+ };
11
+ HTMLDemo.argTypes = {
12
+ content: { control: { type: 'text' } }
13
+ };
14
+ //# sourceMappingURL=HTML.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HTML.stories.js","sourceRoot":"","sources":["../../../src/core/HTML/HTML.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAa,MAAM,yBAAyB,CAAC;AAE1D,eAAe;IACb,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,IAAI;CACR,CAAC;AAEV,MAAM,CAAC,MAAM,QAAQ,GAAqB,CAAC,IAAe,EAAE,EAAE,CAAC,KAAC,IAAI,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,GAAI,CAAC;AAE/F,QAAQ,CAAC,IAAI,GAAG;IACd,OAAO,EACL,kHAAkH;CACrH,CAAC;AAEF,QAAQ,CAAC,QAAQ,GAAG;IAClB,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CACvC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { HTML, HTMLProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/HTML',\n component: HTML\n} as Meta;\n\nexport const HTMLDemo: Story<HTMLProps> = (args: HTMLProps) => <HTML content={args.content} />;\n\nHTMLDemo.args = {\n content:\n '<div><p>Hello, World!<p><ul><li>List item 1<ul><li>Sub list item 1</li></ul></li><li>List item 2</li></ul></div>'\n};\n\nHTMLDemo.argTypes = {\n content: { control: { type: 'text' } }\n};\n"]}
@@ -3,7 +3,7 @@ import { registerIcon } from '@pega/cosmos-react-core';
3
3
  export const createCustomIcon = (theme) => {
4
4
  registerIcon({
5
5
  name: 'custom-pega',
6
- Component: () => (_jsx("path", { fill: theme.base.palette.interactive, d: 'M12.9734375,9.91015625 C12.9734375,9.91015625 12.9734375,9.91015625 12.9734375,9.91015625 C13.5960937,9.2875 14.3625,9 15.3203125,9 C15.3203125,9 15.3203125,9 15.3203125,9 C16.2304688,9 16.9484375,9.2390625 17.5234375,9.76640625 C17.5234375,9.76640625 17.5234375,9.76640625 17.5234375,9.76640625 C17.5234375,9.76640625 16.8046875,10.7242188 16.8046875,10.7242188 C16.6132812,10.5328125 16.421875,10.3890625 16.1820313,10.3414063 C16.1820313,10.3414063 16.1820313,10.3414063 16.1820313,10.3414063 C15.9429687,10.2453125 15.703125,10.1976563 15.3679687,10.1976563 C15.3679687,10.1976563 15.3679687,10.1976563 15.3679687,10.1976563 C14.7929687,10.1976563 14.3140625,10.3890625 13.93125,10.7726563 C13.5484375,11.15625 13.35625,11.634375 13.35625,12.209375 C13.35625,12.209375 13.35625,12.209375 13.35625,12.209375 C13.35625,12.8320313 13.5476562,13.3109375 13.93125,13.69375 C13.93125,13.69375 13.93125,13.69375 13.93125,13.69375 C14.3625,14.0289063 14.7929688,14.2203125 15.271875,14.2203125 C15.271875,14.2203125 15.271875,14.2203125 15.271875,14.2203125 C15.7984375,14.2203125 16.2296875,14.1242188 16.5648438,13.9328125 C16.5648438,13.9328125 16.5648438,13.9328125 16.5648438,13.9328125 C16.5648438,13.9328125 16.5648438,12.7835938 16.5648438,12.7835938 C16.5648438,12.7835938 15.2242188,12.7835938 15.2242188,12.7835938 C15.2242188,12.7835938 15.2242188,11.6820313 15.2242188,11.6820313 C15.2242188,11.6820313 17.8585938,11.6820313 17.8585938,11.6820313 C17.8585938,11.6820313 17.8585938,14.4601563 17.8585938,14.4601563 C17.8585938,14.4601563 17.8109375,14.5078125 17.8109375,14.5078125 C17.2359375,15.1304688 16.421875,15.465625 15.3203125,15.465625 C15.3203125,15.465625 15.3203125,15.465625 15.3203125,15.465625 C14.4101563,15.465625 13.64375,15.178125 12.9734375,14.5554688 C12.9734375,14.5554688 12.9734375,14.5554688 12.9734375,14.5554688 C12.3507812,13.9328125 12.015625,13.11875 12.015625,12.2085938 C12.015625,12.2085938 12.015625,12.2085938 12.015625,12.2085938 C12.015625,11.2984375 12.3507812,10.5320313 12.9734375,9.909375 L12.9734375,9.91015625 Z M1,9.23984375 C1,9.23984375 3.39453125,9.23984375 3.39453125,9.23984375 C4.11328125,9.23984375 4.6875,9.43125 5.11875,9.81484375 C5.55,10.1984375 5.74140625,10.725 5.74140625,11.3476562 C5.74140625,11.3476562 5.74140625,11.3476562 5.74140625,11.3476562 C5.74140625,12.0179687 5.50234375,12.5453125 5.07109375,12.8804688 C4.5921875,13.2632812 4.0171875,13.4554687 3.29921875,13.4554687 C3.29921875,13.4554687 3.29921875,13.4554687 3.29921875,13.4554687 C3.29921875,13.4554687 2.29375,13.4554687 2.29375,13.4554687 C2.29375,13.4554687 2.29375,15.275 2.29375,15.275 C2.29375,15.275 1.00078125,15.275 1.00078125,15.275 C1.00078125,15.275 1.00078125,9.240625 1.00078125,9.240625 L1,9.23984375 Z M10.675,12.83125 C10.675,12.83125 8.040625,12.83125 8.040625,12.83125 C8.040625,12.83125 8.040625,14.0765625 8.040625,14.0765625 C8.040625,14.0765625 11.2976563,14.0765625 11.2976563,14.0765625 C11.2976563,14.0765625 11.2976563,15.2742188 11.2976563,15.2742188 C11.2976563,15.2742188 6.7,15.2742188 6.7,15.2742188 C6.7,15.2742188 6.7,9.23984375 6.7,9.23984375 C6.7,9.23984375 11.2976563,9.23984375 11.2976563,9.23984375 C11.2976563,9.23984375 11.2976563,10.4375 11.2976563,10.4375 C11.2976563,10.4375 8.040625,10.4375 8.040625,10.4375 C8.040625,10.4375 8.040625,11.6828125 8.040625,11.6828125 C8.040625,11.6828125 10.675,11.6828125 10.675,11.6828125 C10.675,11.6828125 10.675,12.8320312 10.675,12.8320312 L10.675,12.83125 Z M18.48125,15.2742187 C18.48125,15.2742187 21.0671875,9.23984375 21.0671875,9.23984375 C21.0671875,9.23984375 22.2648438,9.23984375 22.2648438,9.23984375 C22.2648438,9.23984375 24.8507813,15.2742187 24.8507813,15.2742187 C24.8507813,15.2742187 23.4617188,15.2742187 23.4617188,15.2742187 C23.4617188,15.2742187 22.8867188,13.9335937 22.8867188,13.9335937 C22.8867188,13.9335937 20.3960938,13.9335937 20.3960938,13.9335937 C20.3960938,13.9335937 19.8210938,15.2742187 19.8210938,15.2742187 C19.8210938,15.2742187 18.4804688,15.2742187 18.4804688,15.2742187 L18.48125,15.2742187 Z M23.8453125,9.23984375 C23.8453125,9.23984375 23.8453125,9.23984375 23.8453125,9.23984375 C24.1804687,9.23984375 24.3242188,9.38359375 24.3242188,9.67109375 C24.3242188,9.67109375 24.3242188,9.67109375 24.3242188,9.67109375 C24.3242188,10.00625 24.1804687,10.15 23.8453125,10.15 C23.8453125,10.15 23.8453125,10.15 23.8453125,10.15 C23.5578125,10.15 23.4140625,10.00625 23.4140625,9.67109375 C23.4140625,9.67109375 23.4140625,9.67109375 23.4140625,9.67109375 C23.4140625,9.38359375 23.5578125,9.23984375 23.8453125,9.23984375 Z M24.228125,9.67109375 C24.228125,9.67109375 24.228125,9.67109375 24.228125,9.67109375 C24.228125,9.43203125 24.084375,9.28828125 23.8453125,9.28828125 C23.60625,9.28828125 23.4625,9.43203125 23.4625,9.67109375 C23.4625,9.67109375 23.4625,9.67109375 23.4625,9.67109375 C23.4625,9.95859375 23.60625,10.1023437 23.8453125,10.1023437 C24.084375,10.1023437 24.228125,9.95859375 24.228125,9.67109375 Z M23.796875,9.76640625 C23.796875,9.76640625 23.796875,9.9578125 23.796875,9.9578125 C23.796875,9.9578125 23.7007812,9.9578125 23.7007812,9.9578125 C23.7007812,9.9578125 23.7007812,9.43125 23.7007812,9.43125 C23.7007812,9.43125 23.8445312,9.43125 23.8445312,9.43125 C23.8445312,9.43125 23.9882812,9.43125 23.9882812,9.43125 C24.0359375,9.47890625 24.0359375,9.52734375 24.0359375,9.575 C24.0359375,9.575 24.0359375,9.575 24.0359375,9.575 C24.0359375,9.62265625 24.0359375,9.62265625 23.9882812,9.67109375 C23.9882812,9.67109375 23.9882812,9.67109375 23.9882812,9.67109375 C23.9882812,9.67109375 23.940625,9.71875 23.940625,9.71875 C23.940625,9.71875 24.084375,9.9578125 24.084375,9.9578125 C24.084375,9.9578125 23.940625,9.9578125 23.940625,9.9578125 C23.940625,9.9578125 23.8445312,9.76640625 23.8445312,9.76640625 C23.8445312,9.76640625 23.796875,9.76640625 23.796875,9.76640625 L23.796875,9.76640625 Z M23.8453125,9.47890625 C23.8453125,9.47890625 23.7976562,9.47890625 23.7976562,9.47890625 C23.7976562,9.47890625 23.7976562,9.6703125 23.7976562,9.6703125 C23.7976562,9.6703125 23.8453125,9.6703125 23.8453125,9.6703125 C23.8929687,9.6703125 23.8929687,9.6703125 23.9414062,9.62265625 C23.9414062,9.62265625 23.9414062,9.62265625 23.9414062,9.62265625 C23.9414062,9.62265625 23.9414062,9.575 23.9414062,9.575 C23.9414062,9.575 23.9414062,9.52734375 23.9414062,9.52734375 C23.89375,9.4796875 23.89375,9.4796875 23.8453125,9.4796875 C23.8453125,9.4796875 23.8453125,9.4796875 23.8453125,9.4796875 L23.8453125,9.47890625 Z M3.346875,12.2570312 C4.065625,12.2570312 4.40078125,11.9695312 4.40078125,11.346875 C4.40078125,10.7242187 4.01796875,10.4367187 3.29921875,10.4367187 C3.29921875,10.4367187 3.29921875,10.4367187 3.29921875,10.4367187 C3.29921875,10.4367187 2.29375,10.4367187 2.29375,10.4367187 C2.29375,10.4367187 2.29375,12.25625 2.29375,12.25625 C2.29375,12.25625 3.34765625,12.25625 3.34765625,12.25625 L3.346875,12.2570312 Z M21.6421875,10.8203125 C21.6421875,10.8203125 20.828125,12.7835937 20.828125,12.7835937 C20.828125,12.7835937 22.45625,12.7835937 22.45625,12.7835937 C22.45625,12.7835937 21.6421875,10.8203125 21.6421875,10.8203125 L21.6421875,10.8203125 Z' }, void 0)),
6
+ Component: () => (_jsx("path", { fill: theme.base.palette.interactive, d: 'M12.9734375,9.91015625 C12.9734375,9.91015625 12.9734375,9.91015625 12.9734375,9.91015625 C13.5960937,9.2875 14.3625,9 15.3203125,9 C15.3203125,9 15.3203125,9 15.3203125,9 C16.2304688,9 16.9484375,9.2390625 17.5234375,9.76640625 C17.5234375,9.76640625 17.5234375,9.76640625 17.5234375,9.76640625 C17.5234375,9.76640625 16.8046875,10.7242188 16.8046875,10.7242188 C16.6132812,10.5328125 16.421875,10.3890625 16.1820313,10.3414063 C16.1820313,10.3414063 16.1820313,10.3414063 16.1820313,10.3414063 C15.9429687,10.2453125 15.703125,10.1976563 15.3679687,10.1976563 C15.3679687,10.1976563 15.3679687,10.1976563 15.3679687,10.1976563 C14.7929687,10.1976563 14.3140625,10.3890625 13.93125,10.7726563 C13.5484375,11.15625 13.35625,11.634375 13.35625,12.209375 C13.35625,12.209375 13.35625,12.209375 13.35625,12.209375 C13.35625,12.8320313 13.5476562,13.3109375 13.93125,13.69375 C13.93125,13.69375 13.93125,13.69375 13.93125,13.69375 C14.3625,14.0289063 14.7929688,14.2203125 15.271875,14.2203125 C15.271875,14.2203125 15.271875,14.2203125 15.271875,14.2203125 C15.7984375,14.2203125 16.2296875,14.1242188 16.5648438,13.9328125 C16.5648438,13.9328125 16.5648438,13.9328125 16.5648438,13.9328125 C16.5648438,13.9328125 16.5648438,12.7835938 16.5648438,12.7835938 C16.5648438,12.7835938 15.2242188,12.7835938 15.2242188,12.7835938 C15.2242188,12.7835938 15.2242188,11.6820313 15.2242188,11.6820313 C15.2242188,11.6820313 17.8585938,11.6820313 17.8585938,11.6820313 C17.8585938,11.6820313 17.8585938,14.4601563 17.8585938,14.4601563 C17.8585938,14.4601563 17.8109375,14.5078125 17.8109375,14.5078125 C17.2359375,15.1304688 16.421875,15.465625 15.3203125,15.465625 C15.3203125,15.465625 15.3203125,15.465625 15.3203125,15.465625 C14.4101563,15.465625 13.64375,15.178125 12.9734375,14.5554688 C12.9734375,14.5554688 12.9734375,14.5554688 12.9734375,14.5554688 C12.3507812,13.9328125 12.015625,13.11875 12.015625,12.2085938 C12.015625,12.2085938 12.015625,12.2085938 12.015625,12.2085938 C12.015625,11.2984375 12.3507812,10.5320313 12.9734375,9.909375 L12.9734375,9.91015625 Z M1,9.23984375 C1,9.23984375 3.39453125,9.23984375 3.39453125,9.23984375 C4.11328125,9.23984375 4.6875,9.43125 5.11875,9.81484375 C5.55,10.1984375 5.74140625,10.725 5.74140625,11.3476562 C5.74140625,11.3476562 5.74140625,11.3476562 5.74140625,11.3476562 C5.74140625,12.0179687 5.50234375,12.5453125 5.07109375,12.8804688 C4.5921875,13.2632812 4.0171875,13.4554687 3.29921875,13.4554687 C3.29921875,13.4554687 3.29921875,13.4554687 3.29921875,13.4554687 C3.29921875,13.4554687 2.29375,13.4554687 2.29375,13.4554687 C2.29375,13.4554687 2.29375,15.275 2.29375,15.275 C2.29375,15.275 1.00078125,15.275 1.00078125,15.275 C1.00078125,15.275 1.00078125,9.240625 1.00078125,9.240625 L1,9.23984375 Z M10.675,12.83125 C10.675,12.83125 8.040625,12.83125 8.040625,12.83125 C8.040625,12.83125 8.040625,14.0765625 8.040625,14.0765625 C8.040625,14.0765625 11.2976563,14.0765625 11.2976563,14.0765625 C11.2976563,14.0765625 11.2976563,15.2742188 11.2976563,15.2742188 C11.2976563,15.2742188 6.7,15.2742188 6.7,15.2742188 C6.7,15.2742188 6.7,9.23984375 6.7,9.23984375 C6.7,9.23984375 11.2976563,9.23984375 11.2976563,9.23984375 C11.2976563,9.23984375 11.2976563,10.4375 11.2976563,10.4375 C11.2976563,10.4375 8.040625,10.4375 8.040625,10.4375 C8.040625,10.4375 8.040625,11.6828125 8.040625,11.6828125 C8.040625,11.6828125 10.675,11.6828125 10.675,11.6828125 C10.675,11.6828125 10.675,12.8320312 10.675,12.8320312 L10.675,12.83125 Z M18.48125,15.2742187 C18.48125,15.2742187 21.0671875,9.23984375 21.0671875,9.23984375 C21.0671875,9.23984375 22.2648438,9.23984375 22.2648438,9.23984375 C22.2648438,9.23984375 24.8507813,15.2742187 24.8507813,15.2742187 C24.8507813,15.2742187 23.4617188,15.2742187 23.4617188,15.2742187 C23.4617188,15.2742187 22.8867188,13.9335937 22.8867188,13.9335937 C22.8867188,13.9335937 20.3960938,13.9335937 20.3960938,13.9335937 C20.3960938,13.9335937 19.8210938,15.2742187 19.8210938,15.2742187 C19.8210938,15.2742187 18.4804688,15.2742187 18.4804688,15.2742187 L18.48125,15.2742187 Z M23.8453125,9.23984375 C23.8453125,9.23984375 23.8453125,9.23984375 23.8453125,9.23984375 C24.1804687,9.23984375 24.3242188,9.38359375 24.3242188,9.67109375 C24.3242188,9.67109375 24.3242188,9.67109375 24.3242188,9.67109375 C24.3242188,10.00625 24.1804687,10.15 23.8453125,10.15 C23.8453125,10.15 23.8453125,10.15 23.8453125,10.15 C23.5578125,10.15 23.4140625,10.00625 23.4140625,9.67109375 C23.4140625,9.67109375 23.4140625,9.67109375 23.4140625,9.67109375 C23.4140625,9.38359375 23.5578125,9.23984375 23.8453125,9.23984375 Z M24.228125,9.67109375 C24.228125,9.67109375 24.228125,9.67109375 24.228125,9.67109375 C24.228125,9.43203125 24.084375,9.28828125 23.8453125,9.28828125 C23.60625,9.28828125 23.4625,9.43203125 23.4625,9.67109375 C23.4625,9.67109375 23.4625,9.67109375 23.4625,9.67109375 C23.4625,9.95859375 23.60625,10.1023437 23.8453125,10.1023437 C24.084375,10.1023437 24.228125,9.95859375 24.228125,9.67109375 Z M23.796875,9.76640625 C23.796875,9.76640625 23.796875,9.9578125 23.796875,9.9578125 C23.796875,9.9578125 23.7007812,9.9578125 23.7007812,9.9578125 C23.7007812,9.9578125 23.7007812,9.43125 23.7007812,9.43125 C23.7007812,9.43125 23.8445312,9.43125 23.8445312,9.43125 C23.8445312,9.43125 23.9882812,9.43125 23.9882812,9.43125 C24.0359375,9.47890625 24.0359375,9.52734375 24.0359375,9.575 C24.0359375,9.575 24.0359375,9.575 24.0359375,9.575 C24.0359375,9.62265625 24.0359375,9.62265625 23.9882812,9.67109375 C23.9882812,9.67109375 23.9882812,9.67109375 23.9882812,9.67109375 C23.9882812,9.67109375 23.940625,9.71875 23.940625,9.71875 C23.940625,9.71875 24.084375,9.9578125 24.084375,9.9578125 C24.084375,9.9578125 23.940625,9.9578125 23.940625,9.9578125 C23.940625,9.9578125 23.8445312,9.76640625 23.8445312,9.76640625 C23.8445312,9.76640625 23.796875,9.76640625 23.796875,9.76640625 L23.796875,9.76640625 Z M23.8453125,9.47890625 C23.8453125,9.47890625 23.7976562,9.47890625 23.7976562,9.47890625 C23.7976562,9.47890625 23.7976562,9.6703125 23.7976562,9.6703125 C23.7976562,9.6703125 23.8453125,9.6703125 23.8453125,9.6703125 C23.8929687,9.6703125 23.8929687,9.6703125 23.9414062,9.62265625 C23.9414062,9.62265625 23.9414062,9.62265625 23.9414062,9.62265625 C23.9414062,9.62265625 23.9414062,9.575 23.9414062,9.575 C23.9414062,9.575 23.9414062,9.52734375 23.9414062,9.52734375 C23.89375,9.4796875 23.89375,9.4796875 23.8453125,9.4796875 C23.8453125,9.4796875 23.8453125,9.4796875 23.8453125,9.4796875 L23.8453125,9.47890625 Z M3.346875,12.2570312 C4.065625,12.2570312 4.40078125,11.9695312 4.40078125,11.346875 C4.40078125,10.7242187 4.01796875,10.4367187 3.29921875,10.4367187 C3.29921875,10.4367187 3.29921875,10.4367187 3.29921875,10.4367187 C3.29921875,10.4367187 2.29375,10.4367187 2.29375,10.4367187 C2.29375,10.4367187 2.29375,12.25625 2.29375,12.25625 C2.29375,12.25625 3.34765625,12.25625 3.34765625,12.25625 L3.346875,12.2570312 Z M21.6421875,10.8203125 C21.6421875,10.8203125 20.828125,12.7835937 20.828125,12.7835937 C20.828125,12.7835937 22.45625,12.7835937 22.45625,12.7835937 C22.45625,12.7835937 21.6421875,10.8203125 21.6421875,10.8203125 L21.6421875,10.8203125 Z' })),
7
7
  viewBox: '0 0 25 25'
8
8
  });
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.mocks.js","sourceRoot":"","sources":["../../../src/core/Icon/Icon.mocks.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAmB,EAAE,EAAE;IACtD,YAAY,CAAC;QACX,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,GAAG,EAAE,CAAC,CACf,eACE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,EACpC,CAAC,EAAC,s/NAAs/N,WACx/N,CACH;QACD,OAAO,EAAE,WAAW;KACrB,CAAC,CAAC;AACL,CAAC,CAAC","sourcesContent":["import { DefaultTheme } from 'styled-components';\n\nimport { registerIcon } from '@pega/cosmos-react-core';\n\nexport const createCustomIcon = (theme: DefaultTheme) => {\n registerIcon({\n name: 'custom-pega',\n Component: () => (\n <path\n fill={theme.base.palette.interactive}\n d='M12.9734375,9.91015625 C12.9734375,9.91015625 12.9734375,9.91015625 12.9734375,9.91015625 C13.5960937,9.2875 14.3625,9 15.3203125,9 C15.3203125,9 15.3203125,9 15.3203125,9 C16.2304688,9 16.9484375,9.2390625 17.5234375,9.76640625 C17.5234375,9.76640625 17.5234375,9.76640625 17.5234375,9.76640625 C17.5234375,9.76640625 16.8046875,10.7242188 16.8046875,10.7242188 C16.6132812,10.5328125 16.421875,10.3890625 16.1820313,10.3414063 C16.1820313,10.3414063 16.1820313,10.3414063 16.1820313,10.3414063 C15.9429687,10.2453125 15.703125,10.1976563 15.3679687,10.1976563 C15.3679687,10.1976563 15.3679687,10.1976563 15.3679687,10.1976563 C14.7929687,10.1976563 14.3140625,10.3890625 13.93125,10.7726563 C13.5484375,11.15625 13.35625,11.634375 13.35625,12.209375 C13.35625,12.209375 13.35625,12.209375 13.35625,12.209375 C13.35625,12.8320313 13.5476562,13.3109375 13.93125,13.69375 C13.93125,13.69375 13.93125,13.69375 13.93125,13.69375 C14.3625,14.0289063 14.7929688,14.2203125 15.271875,14.2203125 C15.271875,14.2203125 15.271875,14.2203125 15.271875,14.2203125 C15.7984375,14.2203125 16.2296875,14.1242188 16.5648438,13.9328125 C16.5648438,13.9328125 16.5648438,13.9328125 16.5648438,13.9328125 C16.5648438,13.9328125 16.5648438,12.7835938 16.5648438,12.7835938 C16.5648438,12.7835938 15.2242188,12.7835938 15.2242188,12.7835938 C15.2242188,12.7835938 15.2242188,11.6820313 15.2242188,11.6820313 C15.2242188,11.6820313 17.8585938,11.6820313 17.8585938,11.6820313 C17.8585938,11.6820313 17.8585938,14.4601563 17.8585938,14.4601563 C17.8585938,14.4601563 17.8109375,14.5078125 17.8109375,14.5078125 C17.2359375,15.1304688 16.421875,15.465625 15.3203125,15.465625 C15.3203125,15.465625 15.3203125,15.465625 15.3203125,15.465625 C14.4101563,15.465625 13.64375,15.178125 12.9734375,14.5554688 C12.9734375,14.5554688 12.9734375,14.5554688 12.9734375,14.5554688 C12.3507812,13.9328125 12.015625,13.11875 12.015625,12.2085938 C12.015625,12.2085938 12.015625,12.2085938 12.015625,12.2085938 C12.015625,11.2984375 12.3507812,10.5320313 12.9734375,9.909375 L12.9734375,9.91015625 Z M1,9.23984375 C1,9.23984375 3.39453125,9.23984375 3.39453125,9.23984375 C4.11328125,9.23984375 4.6875,9.43125 5.11875,9.81484375 C5.55,10.1984375 5.74140625,10.725 5.74140625,11.3476562 C5.74140625,11.3476562 5.74140625,11.3476562 5.74140625,11.3476562 C5.74140625,12.0179687 5.50234375,12.5453125 5.07109375,12.8804688 C4.5921875,13.2632812 4.0171875,13.4554687 3.29921875,13.4554687 C3.29921875,13.4554687 3.29921875,13.4554687 3.29921875,13.4554687 C3.29921875,13.4554687 2.29375,13.4554687 2.29375,13.4554687 C2.29375,13.4554687 2.29375,15.275 2.29375,15.275 C2.29375,15.275 1.00078125,15.275 1.00078125,15.275 C1.00078125,15.275 1.00078125,9.240625 1.00078125,9.240625 L1,9.23984375 Z M10.675,12.83125 C10.675,12.83125 8.040625,12.83125 8.040625,12.83125 C8.040625,12.83125 8.040625,14.0765625 8.040625,14.0765625 C8.040625,14.0765625 11.2976563,14.0765625 11.2976563,14.0765625 C11.2976563,14.0765625 11.2976563,15.2742188 11.2976563,15.2742188 C11.2976563,15.2742188 6.7,15.2742188 6.7,15.2742188 C6.7,15.2742188 6.7,9.23984375 6.7,9.23984375 C6.7,9.23984375 11.2976563,9.23984375 11.2976563,9.23984375 C11.2976563,9.23984375 11.2976563,10.4375 11.2976563,10.4375 C11.2976563,10.4375 8.040625,10.4375 8.040625,10.4375 C8.040625,10.4375 8.040625,11.6828125 8.040625,11.6828125 C8.040625,11.6828125 10.675,11.6828125 10.675,11.6828125 C10.675,11.6828125 10.675,12.8320312 10.675,12.8320312 L10.675,12.83125 Z M18.48125,15.2742187 C18.48125,15.2742187 21.0671875,9.23984375 21.0671875,9.23984375 C21.0671875,9.23984375 22.2648438,9.23984375 22.2648438,9.23984375 C22.2648438,9.23984375 24.8507813,15.2742187 24.8507813,15.2742187 C24.8507813,15.2742187 23.4617188,15.2742187 23.4617188,15.2742187 C23.4617188,15.2742187 22.8867188,13.9335937 22.8867188,13.9335937 C22.8867188,13.9335937 20.3960938,13.9335937 20.3960938,13.9335937 C20.3960938,13.9335937 19.8210938,15.2742187 19.8210938,15.2742187 C19.8210938,15.2742187 18.4804688,15.2742187 18.4804688,15.2742187 L18.48125,15.2742187 Z M23.8453125,9.23984375 C23.8453125,9.23984375 23.8453125,9.23984375 23.8453125,9.23984375 C24.1804687,9.23984375 24.3242188,9.38359375 24.3242188,9.67109375 C24.3242188,9.67109375 24.3242188,9.67109375 24.3242188,9.67109375 C24.3242188,10.00625 24.1804687,10.15 23.8453125,10.15 C23.8453125,10.15 23.8453125,10.15 23.8453125,10.15 C23.5578125,10.15 23.4140625,10.00625 23.4140625,9.67109375 C23.4140625,9.67109375 23.4140625,9.67109375 23.4140625,9.67109375 C23.4140625,9.38359375 23.5578125,9.23984375 23.8453125,9.23984375 Z M24.228125,9.67109375 C24.228125,9.67109375 24.228125,9.67109375 24.228125,9.67109375 C24.228125,9.43203125 24.084375,9.28828125 23.8453125,9.28828125 C23.60625,9.28828125 23.4625,9.43203125 23.4625,9.67109375 C23.4625,9.67109375 23.4625,9.67109375 23.4625,9.67109375 C23.4625,9.95859375 23.60625,10.1023437 23.8453125,10.1023437 C24.084375,10.1023437 24.228125,9.95859375 24.228125,9.67109375 Z M23.796875,9.76640625 C23.796875,9.76640625 23.796875,9.9578125 23.796875,9.9578125 C23.796875,9.9578125 23.7007812,9.9578125 23.7007812,9.9578125 C23.7007812,9.9578125 23.7007812,9.43125 23.7007812,9.43125 C23.7007812,9.43125 23.8445312,9.43125 23.8445312,9.43125 C23.8445312,9.43125 23.9882812,9.43125 23.9882812,9.43125 C24.0359375,9.47890625 24.0359375,9.52734375 24.0359375,9.575 C24.0359375,9.575 24.0359375,9.575 24.0359375,9.575 C24.0359375,9.62265625 24.0359375,9.62265625 23.9882812,9.67109375 C23.9882812,9.67109375 23.9882812,9.67109375 23.9882812,9.67109375 C23.9882812,9.67109375 23.940625,9.71875 23.940625,9.71875 C23.940625,9.71875 24.084375,9.9578125 24.084375,9.9578125 C24.084375,9.9578125 23.940625,9.9578125 23.940625,9.9578125 C23.940625,9.9578125 23.8445312,9.76640625 23.8445312,9.76640625 C23.8445312,9.76640625 23.796875,9.76640625 23.796875,9.76640625 L23.796875,9.76640625 Z M23.8453125,9.47890625 C23.8453125,9.47890625 23.7976562,9.47890625 23.7976562,9.47890625 C23.7976562,9.47890625 23.7976562,9.6703125 23.7976562,9.6703125 C23.7976562,9.6703125 23.8453125,9.6703125 23.8453125,9.6703125 C23.8929687,9.6703125 23.8929687,9.6703125 23.9414062,9.62265625 C23.9414062,9.62265625 23.9414062,9.62265625 23.9414062,9.62265625 C23.9414062,9.62265625 23.9414062,9.575 23.9414062,9.575 C23.9414062,9.575 23.9414062,9.52734375 23.9414062,9.52734375 C23.89375,9.4796875 23.89375,9.4796875 23.8453125,9.4796875 C23.8453125,9.4796875 23.8453125,9.4796875 23.8453125,9.4796875 L23.8453125,9.47890625 Z M3.346875,12.2570312 C4.065625,12.2570312 4.40078125,11.9695312 4.40078125,11.346875 C4.40078125,10.7242187 4.01796875,10.4367187 3.29921875,10.4367187 C3.29921875,10.4367187 3.29921875,10.4367187 3.29921875,10.4367187 C3.29921875,10.4367187 2.29375,10.4367187 2.29375,10.4367187 C2.29375,10.4367187 2.29375,12.25625 2.29375,12.25625 C2.29375,12.25625 3.34765625,12.25625 3.34765625,12.25625 L3.346875,12.2570312 Z M21.6421875,10.8203125 C21.6421875,10.8203125 20.828125,12.7835937 20.828125,12.7835937 C20.828125,12.7835937 22.45625,12.7835937 22.45625,12.7835937 C22.45625,12.7835937 21.6421875,10.8203125 21.6421875,10.8203125 L21.6421875,10.8203125 Z'\n />\n ),\n viewBox: '0 0 25 25'\n });\n};\n"]}
1
+ {"version":3,"file":"Icon.mocks.js","sourceRoot":"","sources":["../../../src/core/Icon/Icon.mocks.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAmB,EAAE,EAAE;IACtD,YAAY,CAAC;QACX,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,GAAG,EAAE,CAAC,CACf,eACE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,EACpC,CAAC,EAAC,s/NAAs/N,GACx/N,CACH;QACD,OAAO,EAAE,WAAW;KACrB,CAAC,CAAC;AACL,CAAC,CAAC","sourcesContent":["import { DefaultTheme } from 'styled-components';\n\nimport { registerIcon } from '@pega/cosmos-react-core';\n\nexport const createCustomIcon = (theme: DefaultTheme) => {\n registerIcon({\n name: 'custom-pega',\n Component: () => (\n <path\n fill={theme.base.palette.interactive}\n d='M12.9734375,9.91015625 C12.9734375,9.91015625 12.9734375,9.91015625 12.9734375,9.91015625 C13.5960937,9.2875 14.3625,9 15.3203125,9 C15.3203125,9 15.3203125,9 15.3203125,9 C16.2304688,9 16.9484375,9.2390625 17.5234375,9.76640625 C17.5234375,9.76640625 17.5234375,9.76640625 17.5234375,9.76640625 C17.5234375,9.76640625 16.8046875,10.7242188 16.8046875,10.7242188 C16.6132812,10.5328125 16.421875,10.3890625 16.1820313,10.3414063 C16.1820313,10.3414063 16.1820313,10.3414063 16.1820313,10.3414063 C15.9429687,10.2453125 15.703125,10.1976563 15.3679687,10.1976563 C15.3679687,10.1976563 15.3679687,10.1976563 15.3679687,10.1976563 C14.7929687,10.1976563 14.3140625,10.3890625 13.93125,10.7726563 C13.5484375,11.15625 13.35625,11.634375 13.35625,12.209375 C13.35625,12.209375 13.35625,12.209375 13.35625,12.209375 C13.35625,12.8320313 13.5476562,13.3109375 13.93125,13.69375 C13.93125,13.69375 13.93125,13.69375 13.93125,13.69375 C14.3625,14.0289063 14.7929688,14.2203125 15.271875,14.2203125 C15.271875,14.2203125 15.271875,14.2203125 15.271875,14.2203125 C15.7984375,14.2203125 16.2296875,14.1242188 16.5648438,13.9328125 C16.5648438,13.9328125 16.5648438,13.9328125 16.5648438,13.9328125 C16.5648438,13.9328125 16.5648438,12.7835938 16.5648438,12.7835938 C16.5648438,12.7835938 15.2242188,12.7835938 15.2242188,12.7835938 C15.2242188,12.7835938 15.2242188,11.6820313 15.2242188,11.6820313 C15.2242188,11.6820313 17.8585938,11.6820313 17.8585938,11.6820313 C17.8585938,11.6820313 17.8585938,14.4601563 17.8585938,14.4601563 C17.8585938,14.4601563 17.8109375,14.5078125 17.8109375,14.5078125 C17.2359375,15.1304688 16.421875,15.465625 15.3203125,15.465625 C15.3203125,15.465625 15.3203125,15.465625 15.3203125,15.465625 C14.4101563,15.465625 13.64375,15.178125 12.9734375,14.5554688 C12.9734375,14.5554688 12.9734375,14.5554688 12.9734375,14.5554688 C12.3507812,13.9328125 12.015625,13.11875 12.015625,12.2085938 C12.015625,12.2085938 12.015625,12.2085938 12.015625,12.2085938 C12.015625,11.2984375 12.3507812,10.5320313 12.9734375,9.909375 L12.9734375,9.91015625 Z M1,9.23984375 C1,9.23984375 3.39453125,9.23984375 3.39453125,9.23984375 C4.11328125,9.23984375 4.6875,9.43125 5.11875,9.81484375 C5.55,10.1984375 5.74140625,10.725 5.74140625,11.3476562 C5.74140625,11.3476562 5.74140625,11.3476562 5.74140625,11.3476562 C5.74140625,12.0179687 5.50234375,12.5453125 5.07109375,12.8804688 C4.5921875,13.2632812 4.0171875,13.4554687 3.29921875,13.4554687 C3.29921875,13.4554687 3.29921875,13.4554687 3.29921875,13.4554687 C3.29921875,13.4554687 2.29375,13.4554687 2.29375,13.4554687 C2.29375,13.4554687 2.29375,15.275 2.29375,15.275 C2.29375,15.275 1.00078125,15.275 1.00078125,15.275 C1.00078125,15.275 1.00078125,9.240625 1.00078125,9.240625 L1,9.23984375 Z M10.675,12.83125 C10.675,12.83125 8.040625,12.83125 8.040625,12.83125 C8.040625,12.83125 8.040625,14.0765625 8.040625,14.0765625 C8.040625,14.0765625 11.2976563,14.0765625 11.2976563,14.0765625 C11.2976563,14.0765625 11.2976563,15.2742188 11.2976563,15.2742188 C11.2976563,15.2742188 6.7,15.2742188 6.7,15.2742188 C6.7,15.2742188 6.7,9.23984375 6.7,9.23984375 C6.7,9.23984375 11.2976563,9.23984375 11.2976563,9.23984375 C11.2976563,9.23984375 11.2976563,10.4375 11.2976563,10.4375 C11.2976563,10.4375 8.040625,10.4375 8.040625,10.4375 C8.040625,10.4375 8.040625,11.6828125 8.040625,11.6828125 C8.040625,11.6828125 10.675,11.6828125 10.675,11.6828125 C10.675,11.6828125 10.675,12.8320312 10.675,12.8320312 L10.675,12.83125 Z M18.48125,15.2742187 C18.48125,15.2742187 21.0671875,9.23984375 21.0671875,9.23984375 C21.0671875,9.23984375 22.2648438,9.23984375 22.2648438,9.23984375 C22.2648438,9.23984375 24.8507813,15.2742187 24.8507813,15.2742187 C24.8507813,15.2742187 23.4617188,15.2742187 23.4617188,15.2742187 C23.4617188,15.2742187 22.8867188,13.9335937 22.8867188,13.9335937 C22.8867188,13.9335937 20.3960938,13.9335937 20.3960938,13.9335937 C20.3960938,13.9335937 19.8210938,15.2742187 19.8210938,15.2742187 C19.8210938,15.2742187 18.4804688,15.2742187 18.4804688,15.2742187 L18.48125,15.2742187 Z M23.8453125,9.23984375 C23.8453125,9.23984375 23.8453125,9.23984375 23.8453125,9.23984375 C24.1804687,9.23984375 24.3242188,9.38359375 24.3242188,9.67109375 C24.3242188,9.67109375 24.3242188,9.67109375 24.3242188,9.67109375 C24.3242188,10.00625 24.1804687,10.15 23.8453125,10.15 C23.8453125,10.15 23.8453125,10.15 23.8453125,10.15 C23.5578125,10.15 23.4140625,10.00625 23.4140625,9.67109375 C23.4140625,9.67109375 23.4140625,9.67109375 23.4140625,9.67109375 C23.4140625,9.38359375 23.5578125,9.23984375 23.8453125,9.23984375 Z M24.228125,9.67109375 C24.228125,9.67109375 24.228125,9.67109375 24.228125,9.67109375 C24.228125,9.43203125 24.084375,9.28828125 23.8453125,9.28828125 C23.60625,9.28828125 23.4625,9.43203125 23.4625,9.67109375 C23.4625,9.67109375 23.4625,9.67109375 23.4625,9.67109375 C23.4625,9.95859375 23.60625,10.1023437 23.8453125,10.1023437 C24.084375,10.1023437 24.228125,9.95859375 24.228125,9.67109375 Z M23.796875,9.76640625 C23.796875,9.76640625 23.796875,9.9578125 23.796875,9.9578125 C23.796875,9.9578125 23.7007812,9.9578125 23.7007812,9.9578125 C23.7007812,9.9578125 23.7007812,9.43125 23.7007812,9.43125 C23.7007812,9.43125 23.8445312,9.43125 23.8445312,9.43125 C23.8445312,9.43125 23.9882812,9.43125 23.9882812,9.43125 C24.0359375,9.47890625 24.0359375,9.52734375 24.0359375,9.575 C24.0359375,9.575 24.0359375,9.575 24.0359375,9.575 C24.0359375,9.62265625 24.0359375,9.62265625 23.9882812,9.67109375 C23.9882812,9.67109375 23.9882812,9.67109375 23.9882812,9.67109375 C23.9882812,9.67109375 23.940625,9.71875 23.940625,9.71875 C23.940625,9.71875 24.084375,9.9578125 24.084375,9.9578125 C24.084375,9.9578125 23.940625,9.9578125 23.940625,9.9578125 C23.940625,9.9578125 23.8445312,9.76640625 23.8445312,9.76640625 C23.8445312,9.76640625 23.796875,9.76640625 23.796875,9.76640625 L23.796875,9.76640625 Z M23.8453125,9.47890625 C23.8453125,9.47890625 23.7976562,9.47890625 23.7976562,9.47890625 C23.7976562,9.47890625 23.7976562,9.6703125 23.7976562,9.6703125 C23.7976562,9.6703125 23.8453125,9.6703125 23.8453125,9.6703125 C23.8929687,9.6703125 23.8929687,9.6703125 23.9414062,9.62265625 C23.9414062,9.62265625 23.9414062,9.62265625 23.9414062,9.62265625 C23.9414062,9.62265625 23.9414062,9.575 23.9414062,9.575 C23.9414062,9.575 23.9414062,9.52734375 23.9414062,9.52734375 C23.89375,9.4796875 23.89375,9.4796875 23.8453125,9.4796875 C23.8453125,9.4796875 23.8453125,9.4796875 23.8453125,9.4796875 L23.8453125,9.47890625 Z M3.346875,12.2570312 C4.065625,12.2570312 4.40078125,11.9695312 4.40078125,11.346875 C4.40078125,10.7242187 4.01796875,10.4367187 3.29921875,10.4367187 C3.29921875,10.4367187 3.29921875,10.4367187 3.29921875,10.4367187 C3.29921875,10.4367187 2.29375,10.4367187 2.29375,10.4367187 C2.29375,10.4367187 2.29375,12.25625 2.29375,12.25625 C2.29375,12.25625 3.34765625,12.25625 3.34765625,12.25625 L3.346875,12.2570312 Z M21.6421875,10.8203125 C21.6421875,10.8203125 20.828125,12.7835937 20.828125,12.7835937 C20.828125,12.7835937 22.45625,12.7835937 22.45625,12.7835937 C22.45625,12.7835937 21.6421875,10.8203125 21.6421875,10.8203125 L21.6421875,10.8203125 Z'\n />\n ),\n viewBox: '0 0 25 25'\n });\n};\n"]}
@@ -1,9 +1,8 @@
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 StaticIcon: () => JSX.Element;
6
- export declare const CustomIcon: () => JSX.Element;
7
- export declare const DynamicIcon: () => JSX.Element;
8
- export declare const IconList: () => JSX.Element;
4
+ export declare const StaticIcon: Story;
5
+ export declare const CustomIcon: Story;
6
+ export declare const DynamicIcon: Story;
7
+ export declare const IconList: Story;
9
8
  //# sourceMappingURL=Icon.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Icon/Icon.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;;AAuBxC,wBAGU;AAIV,eAAO,MAAM,UAAU,mBAItB,CAAC;AAEF,eAAO,MAAM,UAAU,mBAQtB,CAAC;AAEF,eAAO,MAAM,WAAW,mBAEvB,CAAC;AAkCF,eAAO,MAAM,QAAQ,mBAoEpB,CAAC"}
1
+ {"version":3,"file":"Icon.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Icon/Icon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAqB/C,wBAGU;AAIV,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAQxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAsEtB,CAAC"}
@@ -1,50 +1,27 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useMemo, useState, useCallback, useRef } from 'react';
3
- import styled, { css } from 'styled-components';
4
- import { defaultThemeProp, EmptyState, StyledEmptyState, Flex, Icon, icons, registerIcon, Progress, SearchInput, Text, useItemIntersection, useTheme } from '@pega/cosmos-react-core';
3
+ import { EmptyState, Flex, Icon, icons, registerIcon, Progress, SearchInput, Text, useItemIntersection, useTheme } from '@pega/cosmos-react-core';
5
4
  import * as pegasusIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/pegasus.icon';
6
5
  import { createCustomIcon } from './Icon.mocks';
6
+ import { StyledIconList, StyledIconListItem, StyledProgressContainer } from './Icon.styles';
7
7
  export default {
8
8
  title: 'Core/Icon',
9
9
  component: Icon
10
10
  };
11
11
  registerIcon(pegasusIcon);
12
12
  export const StaticIcon = () => {
13
- return (_jsx(Icon, { style: { height: '5rem', width: '5rem' }, name: 'pegasus', "aria-label": 'Informative label' }, void 0));
13
+ return (_jsx(Icon, { style: { height: '5rem', width: '5rem' }, name: 'pegasus', "aria-label": 'Informative label' }));
14
14
  };
15
15
  export const CustomIcon = () => {
16
16
  const theme = useTheme();
17
17
  createCustomIcon(theme);
18
- return (_jsx(Icon, { style: { height: '5rem', width: '5rem' }, name: 'custom-pega', "aria-label": 'Custom icon' }, void 0));
18
+ return (_jsx(Icon, { style: { height: '5rem', width: '5rem' }, name: 'custom-pega', "aria-label": 'Custom icon' }));
19
19
  };
20
20
  export const DynamicIcon = () => {
21
- return _jsx(Icon, { style: { height: '5rem', width: '5rem' }, name: 'pega' }, void 0);
21
+ return _jsx(Icon, { style: { height: '5rem', width: '5rem' }, name: 'pega' });
22
22
  };
23
- // Default # of icons to display in a page
24
- const PAGE_SIZE = 50;
25
- const StyledIconList = styled.ul `
26
- overflow-x: hidden;
27
- overflow-y: auto;
28
- list-style: none;
29
- height: 100%;
30
-
31
- ${StyledEmptyState} {
32
- width: 100%;
33
- height: 100%;
34
- }
35
- `;
36
- const StyledIconListItem = styled.li(({ theme }) => css `
37
- padding: calc(2 * ${theme.base.spacing});
38
- border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};
39
- width: 20%;
40
- `);
41
- StyledIconListItem.defaultProps = defaultThemeProp;
42
- const StyledProgressContainer = styled.li `
43
- position: relative;
44
- height: 2.8rem;
45
- width: 100%;
46
- `;
47
23
  export const IconList = () => {
24
+ const pageSize = 50;
48
25
  const [search, setSearch] = useState('');
49
26
  const totalMatches = useRef(0);
50
27
  const [currentPageIndex, setCurrentPageIndex] = useState(0);
@@ -53,21 +30,21 @@ export const IconList = () => {
53
30
  const matches = search
54
31
  ? icons.filter(icon => icon.includes(search))
55
32
  : icons;
56
- const totalItemsToRender = (1 + currentPageIndex) * PAGE_SIZE;
33
+ const totalItemsToRender = (1 + currentPageIndex) * pageSize;
57
34
  totalMatches.current = matches.length;
58
35
  if (matches.length === 0) {
59
- return _jsx(EmptyState, { forwardedAs: 'li' }, void 0);
36
+ return _jsx(EmptyState, { forwardedAs: 'li' });
60
37
  }
61
38
  return matches.slice(0, totalItemsToRender).map(icon => (_jsxs(Flex, { container: {
62
39
  direction: 'column',
63
40
  justify: 'center',
64
41
  alignItems: 'center',
65
42
  alignContent: 'center'
66
- }, as: StyledIconListItem, children: [_jsx(Icon, { style: { height: '3rem', width: '3rem' }, name: icon }, void 0), _jsx("p", { style: { textAlign: 'center' }, children: icon }, void 0)] }, icon)));
43
+ }, as: StyledIconListItem, children: [_jsx(Icon, { style: { height: '3rem', width: '3rem' }, name: icon }), _jsx("p", { style: { textAlign: 'center' }, children: icon })] }, icon)));
67
44
  }, [search, currentPageIndex]);
68
- const itemsShown = Math.min(totalMatches.current, (1 + currentPageIndex) * PAGE_SIZE);
45
+ const itemsShown = Math.min(totalMatches.current, (1 + currentPageIndex) * pageSize);
69
46
  const itemsToLoadMore = totalMatches.current - itemsShown;
70
- // When reaches to the bottom of the results, loads next PAGE_SIZE items
47
+ // When reaches to the bottom of the results, loads next pageSize items
71
48
  useItemIntersection(ulRef, itemsShown, () => {
72
49
  setCurrentPageIndex(prev => 1 + prev);
73
50
  }, ':scope > li');
@@ -77,6 +54,6 @@ export const IconList = () => {
77
54
  setCurrentPageIndex(0);
78
55
  ulRef?.current?.scrollIntoView();
79
56
  }, []);
80
- return (_jsxs(Flex, { container: { direction: 'column', gap: 1 }, style: { height: '90vh' }, children: [_jsx(SearchInput, { value: search, onSearchChange: onSearchChange }, void 0), itemsShown > 0 && _jsxs(Text, { variant: 'secondary', children: [totalMatches.current, " results"] }, void 0), _jsxs(Flex, { container: { wrap: 'wrap', alignContent: 'start' }, as: StyledIconList, ref: ulRef, children: [listContent, itemsToLoadMore > 0 && (_jsx(StyledProgressContainer, { children: _jsx(Progress, { placement: 'local' }, void 0) }, void 0))] }, void 0)] }, void 0));
57
+ return (_jsxs(Flex, { container: { direction: 'column', gap: 1 }, style: { height: '90vh' }, children: [_jsx(SearchInput, { value: search, onSearchChange: onSearchChange }), itemsShown > 0 && _jsxs(Text, { variant: 'secondary', children: [totalMatches.current, " results"] }), _jsxs(Flex, { container: { wrap: 'wrap', alignContent: 'start' }, as: StyledIconList, ref: ulRef, children: [listContent, itemsToLoadMore > 0 && (_jsx(StyledProgressContainer, { children: _jsx(Progress, { placement: 'local' }) }))] })] }));
81
58
  };
82
59
  //# sourceMappingURL=Icon.stories.js.map