@pega/cosmos-react-demos 2.1.5 → 2.1.6

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 (1425) hide show
  1. package/package.json +9 -9
  2. package/jsx/build/AppHeader/AppHeader.stories.d.ts +0 -8
  3. package/jsx/build/AppHeader/AppHeader.stories.d.ts.map +0 -1
  4. package/jsx/build/AppHeader/AppHeader.stories.jsx +0 -65
  5. package/jsx/build/AppHeader/AppHeader.stories.jsx.map +0 -1
  6. package/jsx/build/AppShell/AppShell.mocks.d.ts +0 -50
  7. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +0 -1
  8. package/jsx/build/AppShell/AppShell.mocks.js +0 -503
  9. package/jsx/build/AppShell/AppShell.mocks.js.map +0 -1
  10. package/jsx/build/AppShell/AppShell.stories.d.ts +0 -12
  11. package/jsx/build/AppShell/AppShell.stories.d.ts.map +0 -1
  12. package/jsx/build/AppShell/AppShell.stories.jsx +0 -194
  13. package/jsx/build/AppShell/AppShell.stories.jsx.map +0 -1
  14. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
  15. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
  16. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
  17. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
  18. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +0 -9
  19. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
  20. package/jsx/build/FlowModeller/FlowModeller.mocks.js +0 -411
  21. package/jsx/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
  22. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +0 -12
  23. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
  24. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +0 -214
  25. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +0 -1
  26. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +0 -201
  27. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
  28. package/jsx/build/LifeCycle/LifeCycle.mocks.js +0 -1128
  29. package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
  30. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
  31. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
  32. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +0 -491
  33. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +0 -1
  34. package/jsx/build/LifeCycle/utils.d.ts +0 -65
  35. package/jsx/build/LifeCycle/utils.d.ts.map +0 -1
  36. package/jsx/build/LifeCycle/utils.js +0 -218
  37. package/jsx/build/LifeCycle/utils.js.map +0 -1
  38. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +0 -12
  39. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
  40. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +0 -126
  41. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +0 -1
  42. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +0 -26
  43. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  44. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +0 -434
  45. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +0 -1
  46. package/jsx/build/Workbench/Workbench.mocks.d.ts +0 -9
  47. package/jsx/build/Workbench/Workbench.mocks.d.ts.map +0 -1
  48. package/jsx/build/Workbench/Workbench.mocks.js +0 -67
  49. package/jsx/build/Workbench/Workbench.mocks.js.map +0 -1
  50. package/jsx/build/Workbench/Workbench.stories.d.ts +0 -10
  51. package/jsx/build/Workbench/Workbench.stories.d.ts.map +0 -1
  52. package/jsx/build/Workbench/Workbench.stories.jsx +0 -124
  53. package/jsx/build/Workbench/Workbench.stories.jsx.map +0 -1
  54. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +0 -10
  55. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +0 -1
  56. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +0 -263
  57. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +0 -1
  58. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts +0 -6
  59. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +0 -1
  60. package/jsx/condition-builder/ConditionBuilder/props.mock.js +0 -113
  61. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +0 -1
  62. package/jsx/core/AppShell/AppShell.mocks.d.ts +0 -15
  63. package/jsx/core/AppShell/AppShell.mocks.d.ts.map +0 -1
  64. package/jsx/core/AppShell/AppShell.mocks.jsx +0 -147
  65. package/jsx/core/AppShell/AppShell.mocks.jsx.map +0 -1
  66. package/jsx/core/AppShell/AppShell.stories.d.ts +0 -31
  67. package/jsx/core/AppShell/AppShell.stories.d.ts.map +0 -1
  68. package/jsx/core/AppShell/AppShell.stories.jsx +0 -222
  69. package/jsx/core/AppShell/AppShell.stories.jsx.map +0 -1
  70. package/jsx/core/AppShell/AppShell.styles.d.ts +0 -2
  71. package/jsx/core/AppShell/AppShell.styles.d.ts.map +0 -1
  72. package/jsx/core/AppShell/AppShell.styles.js +0 -5
  73. package/jsx/core/AppShell/AppShell.styles.js.map +0 -1
  74. package/jsx/core/Avatar/Avatar.stories.d.ts +0 -10
  75. package/jsx/core/Avatar/Avatar.stories.d.ts.map +0 -1
  76. package/jsx/core/Avatar/Avatar.stories.jsx +0 -50
  77. package/jsx/core/Avatar/Avatar.stories.jsx.map +0 -1
  78. package/jsx/core/Backdrop/Backdrop.stories.d.ts +0 -7
  79. package/jsx/core/Backdrop/Backdrop.stories.d.ts.map +0 -1
  80. package/jsx/core/Backdrop/Backdrop.stories.jsx +0 -43
  81. package/jsx/core/Backdrop/Backdrop.stories.jsx.map +0 -1
  82. package/jsx/core/Badges/Alert.stories.d.ts +0 -6
  83. package/jsx/core/Badges/Alert.stories.d.ts.map +0 -1
  84. package/jsx/core/Badges/Alert.stories.jsx +0 -15
  85. package/jsx/core/Badges/Alert.stories.jsx.map +0 -1
  86. package/jsx/core/Badges/Count.stories.d.ts +0 -6
  87. package/jsx/core/Badges/Count.stories.d.ts.map +0 -1
  88. package/jsx/core/Badges/Count.stories.jsx +0 -20
  89. package/jsx/core/Badges/Count.stories.jsx.map +0 -1
  90. package/jsx/core/Badges/Selection.stories.d.ts +0 -6
  91. package/jsx/core/Badges/Selection.stories.d.ts.map +0 -1
  92. package/jsx/core/Badges/Selection.stories.jsx +0 -9
  93. package/jsx/core/Badges/Selection.stories.jsx.map +0 -1
  94. package/jsx/core/Badges/Status.stories.d.ts +0 -6
  95. package/jsx/core/Badges/Status.stories.d.ts.map +0 -1
  96. package/jsx/core/Badges/Status.stories.jsx +0 -18
  97. package/jsx/core/Badges/Status.stories.jsx.map +0 -1
  98. package/jsx/core/Badges/Tag.stories.d.ts +0 -6
  99. package/jsx/core/Badges/Tag.stories.d.ts.map +0 -1
  100. package/jsx/core/Badges/Tag.stories.jsx +0 -9
  101. package/jsx/core/Badges/Tag.stories.jsx.map +0 -1
  102. package/jsx/core/Banner/Banner.mocks.d.ts +0 -18
  103. package/jsx/core/Banner/Banner.mocks.d.ts.map +0 -1
  104. package/jsx/core/Banner/Banner.mocks.jsx +0 -41
  105. package/jsx/core/Banner/Banner.mocks.jsx.map +0 -1
  106. package/jsx/core/Banner/Banner.stories.d.ts +0 -22
  107. package/jsx/core/Banner/Banner.stories.d.ts.map +0 -1
  108. package/jsx/core/Banner/Banner.stories.jsx +0 -87
  109. package/jsx/core/Banner/Banner.stories.jsx.map +0 -1
  110. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts +0 -6
  111. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts.map +0 -1
  112. package/jsx/core/Boolean/BooleanDisplay.stories.jsx +0 -19
  113. package/jsx/core/Boolean/BooleanDisplay.stories.jsx.map +0 -1
  114. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -7
  115. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
  116. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +0 -29
  117. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +0 -1
  118. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
  119. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts.map +0 -1
  120. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js +0 -12
  121. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js.map +0 -1
  122. package/jsx/core/Button/Button.stories.d.ts +0 -12
  123. package/jsx/core/Button/Button.stories.d.ts.map +0 -1
  124. package/jsx/core/Button/Button.stories.jsx +0 -103
  125. package/jsx/core/Button/Button.stories.jsx.map +0 -1
  126. package/jsx/core/Card/Card.stories.d.ts +0 -8
  127. package/jsx/core/Card/Card.stories.d.ts.map +0 -1
  128. package/jsx/core/Card/Card.stories.jsx +0 -55
  129. package/jsx/core/Card/Card.stories.jsx.map +0 -1
  130. package/jsx/core/Card/Card.styles.d.ts +0 -2
  131. package/jsx/core/Card/Card.styles.d.ts.map +0 -1
  132. package/jsx/core/Card/Card.styles.js +0 -5
  133. package/jsx/core/Card/Card.styles.js.map +0 -1
  134. package/jsx/core/Checkbox/Checkbox.stories.d.ts +0 -7
  135. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +0 -1
  136. package/jsx/core/Checkbox/Checkbox.stories.jsx +0 -28
  137. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +0 -1
  138. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +0 -7
  139. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +0 -1
  140. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +0 -60
  141. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +0 -1
  142. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts +0 -4
  143. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +0 -1
  144. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js +0 -9
  145. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js.map +0 -1
  146. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +0 -8
  147. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +0 -1
  148. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +0 -91
  149. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +0 -1
  150. package/jsx/core/ComboBox/ComboBox.mocks.d.ts +0 -24
  151. package/jsx/core/ComboBox/ComboBox.mocks.d.ts.map +0 -1
  152. package/jsx/core/ComboBox/ComboBox.mocks.js +0 -54
  153. package/jsx/core/ComboBox/ComboBox.mocks.js.map +0 -1
  154. package/jsx/core/ComboBox/ComboBox.stories.d.ts +0 -21
  155. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +0 -1
  156. package/jsx/core/ComboBox/ComboBox.stories.jsx +0 -323
  157. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +0 -1
  158. package/jsx/core/Configuration/Configuration.stories.d.ts +0 -10
  159. package/jsx/core/Configuration/Configuration.stories.d.ts.map +0 -1
  160. package/jsx/core/Configuration/Configuration.stories.jsx +0 -125
  161. package/jsx/core/Configuration/Configuration.stories.jsx.map +0 -1
  162. package/jsx/core/Currency/Currency.stories.d.ts +0 -11
  163. package/jsx/core/Currency/Currency.stories.d.ts.map +0 -1
  164. package/jsx/core/Currency/Currency.stories.jsx +0 -65
  165. package/jsx/core/Currency/Currency.stories.jsx.map +0 -1
  166. package/jsx/core/DateTime/DateTime.stories.d.ts +0 -20
  167. package/jsx/core/DateTime/DateTime.stories.d.ts.map +0 -1
  168. package/jsx/core/DateTime/DateTime.stories.jsx +0 -127
  169. package/jsx/core/DateTime/DateTime.stories.jsx.map +0 -1
  170. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts +0 -7
  171. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +0 -1
  172. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +0 -47
  173. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +0 -1
  174. package/jsx/core/DateTime/DateTimePicker.stories.d.ts +0 -7
  175. package/jsx/core/DateTime/DateTimePicker.stories.d.ts.map +0 -1
  176. package/jsx/core/DateTime/DateTimePicker.stories.jsx +0 -34
  177. package/jsx/core/DateTime/DateTimePicker.stories.jsx.map +0 -1
  178. package/jsx/core/Drawer/Drawer.stories.d.ts +0 -7
  179. package/jsx/core/Drawer/Drawer.stories.d.ts.map +0 -1
  180. package/jsx/core/Drawer/Drawer.stories.jsx +0 -98
  181. package/jsx/core/Drawer/Drawer.stories.jsx.map +0 -1
  182. package/jsx/core/Drawer/Drawer.styles.d.ts +0 -2
  183. package/jsx/core/Drawer/Drawer.styles.d.ts.map +0 -1
  184. package/jsx/core/Drawer/Drawer.styles.js +0 -11
  185. package/jsx/core/Drawer/Drawer.styles.js.map +0 -1
  186. package/jsx/core/Email/EmailDisplay.stories.d.ts +0 -6
  187. package/jsx/core/Email/EmailDisplay.stories.d.ts.map +0 -1
  188. package/jsx/core/Email/EmailDisplay.stories.jsx +0 -19
  189. package/jsx/core/Email/EmailDisplay.stories.jsx.map +0 -1
  190. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts +0 -8
  191. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts.map +0 -1
  192. package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx +0 -52
  193. package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx.map +0 -1
  194. package/jsx/core/EmptyState/EmptyState.stories.d.ts +0 -6
  195. package/jsx/core/EmptyState/EmptyState.stories.d.ts.map +0 -1
  196. package/jsx/core/EmptyState/EmptyState.stories.jsx +0 -18
  197. package/jsx/core/EmptyState/EmptyState.stories.jsx.map +0 -1
  198. package/jsx/core/ErrorState/ErrorState.stories.d.ts +0 -9
  199. package/jsx/core/ErrorState/ErrorState.stories.d.ts.map +0 -1
  200. package/jsx/core/ErrorState/ErrorState.stories.jsx +0 -20
  201. package/jsx/core/ErrorState/ErrorState.stories.jsx.map +0 -1
  202. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts +0 -7
  203. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +0 -1
  204. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx +0 -73
  205. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx.map +0 -1
  206. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts +0 -4
  207. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts.map +0 -1
  208. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js +0 -17
  209. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js.map +0 -1
  210. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +0 -11
  211. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +0 -1
  212. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +0 -52
  213. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +0 -1
  214. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +0 -21
  215. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +0 -1
  216. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +0 -36
  217. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +0 -1
  218. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +0 -10
  219. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +0 -1
  220. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +0 -150
  221. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +0 -1
  222. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +0 -10
  223. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +0 -1
  224. package/jsx/core/FieldValueList/FieldValueList.stories.jsx +0 -54
  225. package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +0 -1
  226. package/jsx/core/File/FileDisplay.stories.d.ts +0 -20
  227. package/jsx/core/File/FileDisplay.stories.d.ts.map +0 -1
  228. package/jsx/core/File/FileDisplay.stories.jsx +0 -135
  229. package/jsx/core/File/FileDisplay.stories.jsx.map +0 -1
  230. package/jsx/core/File/FileInput.stories.d.ts +0 -9
  231. package/jsx/core/File/FileInput.stories.d.ts.map +0 -1
  232. package/jsx/core/File/FileInput.stories.jsx +0 -76
  233. package/jsx/core/File/FileInput.stories.jsx.map +0 -1
  234. package/jsx/core/Flex/Flex.styles.d.ts +0 -10
  235. package/jsx/core/Flex/Flex.styles.d.ts.map +0 -1
  236. package/jsx/core/Flex/Flex.styles.js +0 -41
  237. package/jsx/core/Flex/Flex.styles.js.map +0 -1
  238. package/jsx/core/Flex/FlexContainer.stories.d.ts +0 -22
  239. package/jsx/core/Flex/FlexContainer.stories.d.ts.map +0 -1
  240. package/jsx/core/Flex/FlexContainer.stories.jsx +0 -164
  241. package/jsx/core/Flex/FlexContainer.stories.jsx.map +0 -1
  242. package/jsx/core/Flex/FlexItem.stories.d.ts +0 -13
  243. package/jsx/core/Flex/FlexItem.stories.d.ts.map +0 -1
  244. package/jsx/core/Flex/FlexItem.stories.jsx +0 -71
  245. package/jsx/core/Flex/FlexItem.stories.jsx.map +0 -1
  246. package/jsx/core/Form/Form.mocks.d.ts +0 -8
  247. package/jsx/core/Form/Form.mocks.d.ts.map +0 -1
  248. package/jsx/core/Form/Form.mocks.jsx +0 -138
  249. package/jsx/core/Form/Form.mocks.jsx.map +0 -1
  250. package/jsx/core/Form/Form.stories.d.ts +0 -14
  251. package/jsx/core/Form/Form.stories.d.ts.map +0 -1
  252. package/jsx/core/Form/Form.stories.jsx +0 -62
  253. package/jsx/core/Form/Form.stories.jsx.map +0 -1
  254. package/jsx/core/Grid/Grid.styles.d.ts +0 -6
  255. package/jsx/core/Grid/Grid.styles.d.ts.map +0 -1
  256. package/jsx/core/Grid/Grid.styles.js +0 -36
  257. package/jsx/core/Grid/Grid.styles.js.map +0 -1
  258. package/jsx/core/Grid/GridContainer.stories.d.ts +0 -24
  259. package/jsx/core/Grid/GridContainer.stories.d.ts.map +0 -1
  260. package/jsx/core/Grid/GridContainer.stories.jsx +0 -168
  261. package/jsx/core/Grid/GridContainer.stories.jsx.map +0 -1
  262. package/jsx/core/Grid/GridItem.stories.d.ts +0 -13
  263. package/jsx/core/Grid/GridItem.stories.d.ts.map +0 -1
  264. package/jsx/core/Grid/GridItem.stories.jsx +0 -74
  265. package/jsx/core/Grid/GridItem.stories.jsx.map +0 -1
  266. package/jsx/core/Icon/Icon.mocks.d.ts +0 -3
  267. package/jsx/core/Icon/Icon.mocks.d.ts.map +0 -1
  268. package/jsx/core/Icon/Icon.mocks.jsx +0 -9
  269. package/jsx/core/Icon/Icon.mocks.jsx.map +0 -1
  270. package/jsx/core/Icon/Icon.stories.d.ts +0 -9
  271. package/jsx/core/Icon/Icon.stories.d.ts.map +0 -1
  272. package/jsx/core/Icon/Icon.stories.jsx +0 -90
  273. package/jsx/core/Icon/Icon.stories.jsx.map +0 -1
  274. package/jsx/core/IconPicker/IconPicker.stories.d.ts +0 -6
  275. package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +0 -1
  276. package/jsx/core/IconPicker/IconPicker.stories.jsx +0 -38
  277. package/jsx/core/IconPicker/IconPicker.stories.jsx.map +0 -1
  278. package/jsx/core/Image/Image.stories.d.ts +0 -6
  279. package/jsx/core/Image/Image.stories.d.ts.map +0 -1
  280. package/jsx/core/Image/Image.stories.jsx +0 -9
  281. package/jsx/core/Image/Image.stories.jsx.map +0 -1
  282. package/jsx/core/Input/Input.stories.d.ts +0 -9
  283. package/jsx/core/Input/Input.stories.d.ts.map +0 -1
  284. package/jsx/core/Input/Input.stories.jsx +0 -44
  285. package/jsx/core/Input/Input.stories.jsx.map +0 -1
  286. package/jsx/core/Label/Label.stories.d.ts +0 -6
  287. package/jsx/core/Label/Label.stories.d.ts.map +0 -1
  288. package/jsx/core/Label/Label.stories.jsx +0 -15
  289. package/jsx/core/Label/Label.stories.jsx.map +0 -1
  290. package/jsx/core/Lightbox/Lightbox.mocks.d.ts +0 -15
  291. package/jsx/core/Lightbox/Lightbox.mocks.d.ts.map +0 -1
  292. package/jsx/core/Lightbox/Lightbox.mocks.js +0 -59
  293. package/jsx/core/Lightbox/Lightbox.mocks.js.map +0 -1
  294. package/jsx/core/Lightbox/Lightbox.stories.d.ts +0 -10
  295. package/jsx/core/Lightbox/Lightbox.stories.d.ts.map +0 -1
  296. package/jsx/core/Lightbox/Lightbox.stories.jsx +0 -55
  297. package/jsx/core/Lightbox/Lightbox.stories.jsx.map +0 -1
  298. package/jsx/core/Link/Link.stories.d.ts +0 -18
  299. package/jsx/core/Link/Link.stories.d.ts.map +0 -1
  300. package/jsx/core/Link/Link.stories.jsx +0 -49
  301. package/jsx/core/Link/Link.stories.jsx.map +0 -1
  302. package/jsx/core/List/CommaSeparatedList.stories.d.ts +0 -6
  303. package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +0 -1
  304. package/jsx/core/List/CommaSeparatedList.stories.jsx +0 -31
  305. package/jsx/core/List/CommaSeparatedList.stories.jsx.map +0 -1
  306. package/jsx/core/List/OrderedList.stories.d.ts +0 -10
  307. package/jsx/core/List/OrderedList.stories.d.ts.map +0 -1
  308. package/jsx/core/List/OrderedList.stories.jsx +0 -38
  309. package/jsx/core/List/OrderedList.stories.jsx.map +0 -1
  310. package/jsx/core/List/UnorderedList.stories.d.ts +0 -10
  311. package/jsx/core/List/UnorderedList.stories.d.ts.map +0 -1
  312. package/jsx/core/List/UnorderedList.stories.jsx +0 -38
  313. package/jsx/core/List/UnorderedList.stories.jsx.map +0 -1
  314. package/jsx/core/Location/Location.stories.d.ts +0 -12
  315. package/jsx/core/Location/Location.stories.d.ts.map +0 -1
  316. package/jsx/core/Location/Location.stories.jsx +0 -130
  317. package/jsx/core/Location/Location.stories.jsx.map +0 -1
  318. package/jsx/core/Menu/Menu.mocks.d.ts +0 -4
  319. package/jsx/core/Menu/Menu.mocks.d.ts.map +0 -1
  320. package/jsx/core/Menu/Menu.mocks.js +0 -179
  321. package/jsx/core/Menu/Menu.mocks.js.map +0 -1
  322. package/jsx/core/Menu/Menu.stories.d.ts +0 -17
  323. package/jsx/core/Menu/Menu.stories.d.ts.map +0 -1
  324. package/jsx/core/Menu/Menu.stories.jsx +0 -162
  325. package/jsx/core/Menu/Menu.stories.jsx.map +0 -1
  326. package/jsx/core/Menu/Menu.styles.d.ts +0 -2
  327. package/jsx/core/Menu/Menu.styles.d.ts.map +0 -1
  328. package/jsx/core/Menu/Menu.styles.js +0 -6
  329. package/jsx/core/Menu/Menu.styles.js.map +0 -1
  330. package/jsx/core/MenuButton/MenuButton.stories.d.ts +0 -15
  331. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +0 -1
  332. package/jsx/core/MenuButton/MenuButton.stories.jsx +0 -188
  333. package/jsx/core/MenuButton/MenuButton.stories.jsx.map +0 -1
  334. package/jsx/core/MetaList/MetaList.stories.d.ts +0 -9
  335. package/jsx/core/MetaList/MetaList.stories.d.ts.map +0 -1
  336. package/jsx/core/MetaList/MetaList.stories.jsx +0 -24
  337. package/jsx/core/MetaList/MetaList.stories.jsx.map +0 -1
  338. package/jsx/core/Modal/Modal.mocks.d.ts +0 -4
  339. package/jsx/core/Modal/Modal.mocks.d.ts.map +0 -1
  340. package/jsx/core/Modal/Modal.mocks.jsx +0 -44
  341. package/jsx/core/Modal/Modal.mocks.jsx.map +0 -1
  342. package/jsx/core/Modal/Modal.stories.d.ts +0 -20
  343. package/jsx/core/Modal/Modal.stories.d.ts.map +0 -1
  344. package/jsx/core/Modal/Modal.stories.jsx +0 -305
  345. package/jsx/core/Modal/Modal.stories.jsx.map +0 -1
  346. package/jsx/core/MultiStep/MultiStep.stories.d.ts +0 -6
  347. package/jsx/core/MultiStep/MultiStep.stories.d.ts.map +0 -1
  348. package/jsx/core/MultiStep/MultiStep.stories.jsx +0 -56
  349. package/jsx/core/MultiStep/MultiStep.stories.jsx.map +0 -1
  350. package/jsx/core/Number/Number.stories.d.ts +0 -13
  351. package/jsx/core/Number/Number.stories.d.ts.map +0 -1
  352. package/jsx/core/Number/Number.stories.jsx +0 -110
  353. package/jsx/core/Number/Number.stories.jsx.map +0 -1
  354. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +0 -3
  355. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  356. package/jsx/core/PageTemplates/PageTemplates.mocks.js +0 -10
  357. package/jsx/core/PageTemplates/PageTemplates.mocks.js.map +0 -1
  358. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +0 -31
  359. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  360. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +0 -233
  361. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +0 -1
  362. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +0 -4
  363. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +0 -1
  364. package/jsx/core/PageTemplates/PageTemplates.styles.js +0 -31
  365. package/jsx/core/PageTemplates/PageTemplates.styles.js.map +0 -1
  366. package/jsx/core/Pagination/Pagination.stories.d.ts +0 -6
  367. package/jsx/core/Pagination/Pagination.stories.d.ts.map +0 -1
  368. package/jsx/core/Pagination/Pagination.stories.jsx +0 -19
  369. package/jsx/core/Pagination/Pagination.stories.jsx.map +0 -1
  370. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts +0 -6
  371. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts.map +0 -1
  372. package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx +0 -15
  373. package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx.map +0 -1
  374. package/jsx/core/Phone/Phone.stories.d.ts +0 -7
  375. package/jsx/core/Phone/Phone.stories.d.ts.map +0 -1
  376. package/jsx/core/Phone/Phone.stories.jsx +0 -42
  377. package/jsx/core/Phone/Phone.stories.jsx.map +0 -1
  378. package/jsx/core/Popover/Popover.stories.d.ts +0 -7
  379. package/jsx/core/Popover/Popover.stories.d.ts.map +0 -1
  380. package/jsx/core/Popover/Popover.stories.jsx +0 -182
  381. package/jsx/core/Popover/Popover.stories.jsx.map +0 -1
  382. package/jsx/core/Progress/Progress.stories.d.ts +0 -7
  383. package/jsx/core/Progress/Progress.stories.d.ts.map +0 -1
  384. package/jsx/core/Progress/Progress.stories.jsx +0 -71
  385. package/jsx/core/Progress/Progress.stories.jsx.map +0 -1
  386. package/jsx/core/Progress/Progress.styles.d.ts +0 -2
  387. package/jsx/core/Progress/Progress.styles.d.ts.map +0 -1
  388. package/jsx/core/Progress/Progress.styles.js +0 -13
  389. package/jsx/core/Progress/Progress.styles.js.map +0 -1
  390. package/jsx/core/RadioButton/RadioButton.stories.d.ts +0 -7
  391. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +0 -1
  392. package/jsx/core/RadioButton/RadioButton.stories.jsx +0 -26
  393. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +0 -1
  394. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +0 -7
  395. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +0 -1
  396. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +0 -62
  397. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +0 -1
  398. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +0 -4
  399. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +0 -1
  400. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js +0 -9
  401. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js.map +0 -1
  402. package/jsx/core/Rating/Rating.stories.d.ts +0 -9
  403. package/jsx/core/Rating/Rating.stories.d.ts.map +0 -1
  404. package/jsx/core/Rating/Rating.stories.jsx +0 -21
  405. package/jsx/core/Rating/Rating.stories.jsx.map +0 -1
  406. package/jsx/core/SearchInput/SearchInput.stories.d.ts +0 -6
  407. package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +0 -1
  408. package/jsx/core/SearchInput/SearchInput.stories.jsx +0 -15
  409. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +0 -1
  410. package/jsx/core/Select/Select.stories.d.ts +0 -9
  411. package/jsx/core/Select/Select.stories.d.ts.map +0 -1
  412. package/jsx/core/Select/Select.stories.jsx +0 -42
  413. package/jsx/core/Select/Select.stories.jsx.map +0 -1
  414. package/jsx/core/Sentiment/Sentiment.stories.d.ts +0 -14
  415. package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +0 -1
  416. package/jsx/core/Sentiment/Sentiment.stories.jsx +0 -39
  417. package/jsx/core/Sentiment/Sentiment.stories.jsx.map +0 -1
  418. package/jsx/core/Slider/Slider.stories.d.ts +0 -11
  419. package/jsx/core/Slider/Slider.stories.d.ts.map +0 -1
  420. package/jsx/core/Slider/Slider.stories.jsx +0 -58
  421. package/jsx/core/Slider/Slider.stories.jsx.map +0 -1
  422. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +0 -11
  423. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +0 -1
  424. package/jsx/core/SummaryItem/SummaryItem.stories.jsx +0 -36
  425. package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +0 -1
  426. package/jsx/core/SummaryList/SummaryList.mocks.d.ts +0 -32
  427. package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +0 -1
  428. package/jsx/core/SummaryList/SummaryList.mocks.jsx +0 -35
  429. package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +0 -1
  430. package/jsx/core/SummaryList/SummaryList.stories.d.ts +0 -13
  431. package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +0 -1
  432. package/jsx/core/SummaryList/SummaryList.stories.jsx +0 -131
  433. package/jsx/core/SummaryList/SummaryList.stories.jsx.map +0 -1
  434. package/jsx/core/Switch/Switch.stories.d.ts +0 -7
  435. package/jsx/core/Switch/Switch.stories.d.ts.map +0 -1
  436. package/jsx/core/Switch/Switch.stories.jsx +0 -26
  437. package/jsx/core/Switch/Switch.stories.jsx.map +0 -1
  438. package/jsx/core/Switch/Switch.styles.d.ts +0 -2
  439. package/jsx/core/Switch/Switch.styles.d.ts.map +0 -1
  440. package/jsx/core/Switch/Switch.styles.js +0 -13
  441. package/jsx/core/Switch/Switch.styles.js.map +0 -1
  442. package/jsx/core/Table/Table.mocks.d.ts +0 -19
  443. package/jsx/core/Table/Table.mocks.d.ts.map +0 -1
  444. package/jsx/core/Table/Table.mocks.jsx +0 -32
  445. package/jsx/core/Table/Table.mocks.jsx.map +0 -1
  446. package/jsx/core/Table/Table.stories.d.ts +0 -14
  447. package/jsx/core/Table/Table.stories.d.ts.map +0 -1
  448. package/jsx/core/Table/Table.stories.jsx +0 -58
  449. package/jsx/core/Table/Table.stories.jsx.map +0 -1
  450. package/jsx/core/Table/Table.styles.d.ts +0 -4
  451. package/jsx/core/Table/Table.styles.d.ts.map +0 -1
  452. package/jsx/core/Table/Table.styles.js +0 -9
  453. package/jsx/core/Table/Table.styles.js.map +0 -1
  454. package/jsx/core/Tabs/Tabs.stories.d.ts +0 -7
  455. package/jsx/core/Tabs/Tabs.stories.d.ts.map +0 -1
  456. package/jsx/core/Tabs/Tabs.stories.jsx +0 -59
  457. package/jsx/core/Tabs/Tabs.stories.jsx.map +0 -1
  458. package/jsx/core/Text/Text.stories.d.ts +0 -6
  459. package/jsx/core/Text/Text.stories.d.ts.map +0 -1
  460. package/jsx/core/Text/Text.stories.jsx +0 -22
  461. package/jsx/core/Text/Text.stories.jsx.map +0 -1
  462. package/jsx/core/TextArea/TextArea.stories.d.ts +0 -6
  463. package/jsx/core/TextArea/TextArea.stories.d.ts.map +0 -1
  464. package/jsx/core/TextArea/TextArea.stories.jsx +0 -43
  465. package/jsx/core/TextArea/TextArea.stories.jsx.map +0 -1
  466. package/jsx/core/Toaster/Toaster.stories.d.ts +0 -6
  467. package/jsx/core/Toaster/Toaster.stories.d.ts.map +0 -1
  468. package/jsx/core/Toaster/Toaster.stories.jsx +0 -22
  469. package/jsx/core/Toaster/Toaster.stories.jsx.map +0 -1
  470. package/jsx/core/Tooltip/Tooltip.stories.d.ts +0 -8
  471. package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +0 -1
  472. package/jsx/core/Tooltip/Tooltip.stories.jsx +0 -18
  473. package/jsx/core/Tooltip/Tooltip.stories.jsx.map +0 -1
  474. package/jsx/core/Tree/Tree.mocks.d.ts +0 -2
  475. package/jsx/core/Tree/Tree.mocks.d.ts.map +0 -1
  476. package/jsx/core/Tree/Tree.mocks.js +0 -20
  477. package/jsx/core/Tree/Tree.mocks.js.map +0 -1
  478. package/jsx/core/Tree/Tree.stories.d.ts +0 -8
  479. package/jsx/core/Tree/Tree.stories.d.ts.map +0 -1
  480. package/jsx/core/Tree/Tree.stories.jsx +0 -89
  481. package/jsx/core/Tree/Tree.stories.jsx.map +0 -1
  482. package/jsx/core/Tree/Tree.styles.d.ts +0 -3
  483. package/jsx/core/Tree/Tree.styles.d.ts.map +0 -1
  484. package/jsx/core/Tree/Tree.styles.js +0 -10
  485. package/jsx/core/Tree/Tree.styles.js.map +0 -1
  486. package/jsx/core/URL/URL.stories.d.ts +0 -6
  487. package/jsx/core/URL/URL.stories.d.ts.map +0 -1
  488. package/jsx/core/URL/URL.stories.jsx +0 -17
  489. package/jsx/core/URL/URL.stories.jsx.map +0 -1
  490. package/jsx/cs/Article/Article.mocks.d.ts +0 -14
  491. package/jsx/cs/Article/Article.mocks.d.ts.map +0 -1
  492. package/jsx/cs/Article/Article.mocks.js +0 -14
  493. package/jsx/cs/Article/Article.mocks.js.map +0 -1
  494. package/jsx/cs/Article/Article.stories.d.ts +0 -15
  495. package/jsx/cs/Article/Article.stories.d.ts.map +0 -1
  496. package/jsx/cs/Article/Article.stories.jsx +0 -126
  497. package/jsx/cs/Article/Article.stories.jsx.map +0 -1
  498. package/jsx/cs/ArticleList/ArticleList.mocks.d.ts +0 -21
  499. package/jsx/cs/ArticleList/ArticleList.mocks.d.ts.map +0 -1
  500. package/jsx/cs/ArticleList/ArticleList.mocks.js +0 -102
  501. package/jsx/cs/ArticleList/ArticleList.mocks.js.map +0 -1
  502. package/jsx/cs/ArticleList/ArticleList.stories.d.ts +0 -16
  503. package/jsx/cs/ArticleList/ArticleList.stories.d.ts.map +0 -1
  504. package/jsx/cs/ArticleList/ArticleList.stories.jsx +0 -110
  505. package/jsx/cs/ArticleList/ArticleList.stories.jsx.map +0 -1
  506. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts +0 -45
  507. package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts.map +0 -1
  508. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx +0 -275
  509. package/jsx/cs/CSCaseView/CSAppShell.stories.jsx.map +0 -1
  510. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts +0 -57
  511. package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts.map +0 -1
  512. package/jsx/cs/CSCaseView/CSCaseView.mocks.js +0 -224
  513. package/jsx/cs/CSCaseView/CSCaseView.mocks.js.map +0 -1
  514. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -16
  515. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
  516. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js +0 -110
  517. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
  518. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -13
  519. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
  520. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +0 -188
  521. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +0 -1
  522. package/jsx/cs/DialPad/DialPad.stories.d.ts +0 -9
  523. package/jsx/cs/DialPad/DialPad.stories.d.ts.map +0 -1
  524. package/jsx/cs/DialPad/DialPad.stories.jsx +0 -18
  525. package/jsx/cs/DialPad/DialPad.stories.jsx.map +0 -1
  526. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
  527. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
  528. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
  529. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
  530. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -13
  531. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +0 -1
  532. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx +0 -356
  533. package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +0 -1
  534. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +0 -8
  535. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  536. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx +0 -32
  537. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +0 -1
  538. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -14
  539. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
  540. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +0 -85
  541. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +0 -1
  542. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +0 -13
  543. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
  544. package/jsx/cs/TaskManager/TaskManager.mocks.js +0 -140
  545. package/jsx/cs/TaskManager/TaskManager.mocks.js.map +0 -1
  546. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +0 -8
  547. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
  548. package/jsx/cs/TaskManager/TaskManager.stories.jsx +0 -314
  549. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +0 -1
  550. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +0 -11
  551. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +0 -1
  552. package/jsx/dnd/DragDropList/DragDropList.stories.jsx +0 -119
  553. package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +0 -1
  554. package/jsx/rte/Editor/Editor.stories.d.ts +0 -11
  555. package/jsx/rte/Editor/Editor.stories.d.ts.map +0 -1
  556. package/jsx/rte/Editor/Editor.stories.jsx +0 -119
  557. package/jsx/rte/Editor/Editor.stories.jsx.map +0 -1
  558. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts +0 -3
  559. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +0 -1
  560. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx +0 -34
  561. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +0 -1
  562. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +0 -10
  563. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +0 -1
  564. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx +0 -145
  565. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +0 -1
  566. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +0 -8
  567. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +0 -1
  568. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +0 -79
  569. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +0 -1
  570. package/jsx/social/Chat/Chat.mocks.d.ts +0 -385
  571. package/jsx/social/Chat/Chat.mocks.d.ts.map +0 -1
  572. package/jsx/social/Chat/Chat.mocks.js +0 -648
  573. package/jsx/social/Chat/Chat.mocks.js.map +0 -1
  574. package/jsx/social/Chat/Chat.stories.d.ts +0 -34
  575. package/jsx/social/Chat/Chat.stories.d.ts.map +0 -1
  576. package/jsx/social/Chat/Chat.stories.jsx +0 -490
  577. package/jsx/social/Chat/Chat.stories.jsx.map +0 -1
  578. package/jsx/social/Chat/RepeatingView.stories.d.ts +0 -20
  579. package/jsx/social/Chat/RepeatingView.stories.d.ts.map +0 -1
  580. package/jsx/social/Chat/RepeatingView.stories.jsx +0 -90
  581. package/jsx/social/Chat/RepeatingView.stories.jsx.map +0 -1
  582. package/jsx/social/Email/Email.mocks.d.ts +0 -87
  583. package/jsx/social/Email/Email.mocks.d.ts.map +0 -1
  584. package/jsx/social/Email/Email.mocks.jsx +0 -349
  585. package/jsx/social/Email/Email.mocks.jsx.map +0 -1
  586. package/jsx/social/Email/Email.stories.d.ts +0 -28
  587. package/jsx/social/Email/Email.stories.d.ts.map +0 -1
  588. package/jsx/social/Email/Email.stories.jsx +0 -798
  589. package/jsx/social/Email/Email.stories.jsx.map +0 -1
  590. package/jsx/social/Feed/Feed.mocks.d.ts +0 -52
  591. package/jsx/social/Feed/Feed.mocks.d.ts.map +0 -1
  592. package/jsx/social/Feed/Feed.mocks.jsx +0 -315
  593. package/jsx/social/Feed/Feed.mocks.jsx.map +0 -1
  594. package/jsx/social/Feed/Feed.stories.d.ts +0 -15
  595. package/jsx/social/Feed/Feed.stories.d.ts.map +0 -1
  596. package/jsx/social/Feed/Feed.stories.jsx +0 -146
  597. package/jsx/social/Feed/Feed.stories.jsx.map +0 -1
  598. package/jsx/social/Feed/FeedNewPost.stories.d.ts +0 -17
  599. package/jsx/social/Feed/FeedNewPost.stories.d.ts.map +0 -1
  600. package/jsx/social/Feed/FeedNewPost.stories.jsx +0 -80
  601. package/jsx/social/Feed/FeedNewPost.stories.jsx.map +0 -1
  602. package/jsx/social/Feed/FeedPost.stories.d.ts +0 -9
  603. package/jsx/social/Feed/FeedPost.stories.d.ts.map +0 -1
  604. package/jsx/social/Feed/FeedPost.stories.jsx +0 -248
  605. package/jsx/social/Feed/FeedPost.stories.jsx.map +0 -1
  606. package/jsx/social/Feed/FeedReply.stories.d.ts +0 -16
  607. package/jsx/social/Feed/FeedReply.stories.d.ts.map +0 -1
  608. package/jsx/social/Feed/FeedReply.stories.jsx +0 -99
  609. package/jsx/social/Feed/FeedReply.stories.jsx.map +0 -1
  610. package/jsx/social/Feed/FeedReplyInput.stories.d.ts +0 -15
  611. package/jsx/social/Feed/FeedReplyInput.stories.d.ts.map +0 -1
  612. package/jsx/social/Feed/FeedReplyInput.stories.jsx +0 -59
  613. package/jsx/social/Feed/FeedReplyInput.stories.jsx.map +0 -1
  614. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts +0 -6
  615. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +0 -1
  616. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx +0 -29
  617. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +0 -1
  618. package/jsx/work/CaseView/Attachments.mocks.d.ts +0 -3
  619. package/jsx/work/CaseView/Attachments.mocks.d.ts.map +0 -1
  620. package/jsx/work/CaseView/Attachments.mocks.jsx +0 -388
  621. package/jsx/work/CaseView/Attachments.mocks.jsx.map +0 -1
  622. package/jsx/work/CaseView/CaseView.mocks.d.ts +0 -11
  623. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +0 -1
  624. package/jsx/work/CaseView/CaseView.mocks.jsx +0 -126
  625. package/jsx/work/CaseView/CaseView.mocks.jsx.map +0 -1
  626. package/jsx/work/CaseView/CaseView.stories.d.ts +0 -34
  627. package/jsx/work/CaseView/CaseView.stories.d.ts.map +0 -1
  628. package/jsx/work/CaseView/CaseView.stories.jsx +0 -264
  629. package/jsx/work/CaseView/CaseView.stories.jsx.map +0 -1
  630. package/jsx/work/CaseView/Details.mocks.d.ts +0 -3
  631. package/jsx/work/CaseView/Details.mocks.d.ts.map +0 -1
  632. package/jsx/work/CaseView/Details.mocks.jsx +0 -21
  633. package/jsx/work/CaseView/Details.mocks.jsx.map +0 -1
  634. package/jsx/work/CaseView/FileService.mock.d.ts +0 -28
  635. package/jsx/work/CaseView/FileService.mock.d.ts.map +0 -1
  636. package/jsx/work/CaseView/FileService.mock.jsx +0 -143
  637. package/jsx/work/CaseView/FileService.mock.jsx.map +0 -1
  638. package/jsx/work/CaseView/MobileCaseView.stories.d.ts +0 -11
  639. package/jsx/work/CaseView/MobileCaseView.stories.d.ts.map +0 -1
  640. package/jsx/work/CaseView/MobileCaseView.stories.jsx +0 -27
  641. package/jsx/work/CaseView/MobileCaseView.stories.jsx.map +0 -1
  642. package/jsx/work/CaseView/Pulse.mocks.d.ts +0 -6
  643. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +0 -1
  644. package/jsx/work/CaseView/Pulse.mocks.jsx +0 -35
  645. package/jsx/work/CaseView/Pulse.mocks.jsx.map +0 -1
  646. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +0 -10
  647. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +0 -1
  648. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +0 -195
  649. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +0 -1
  650. package/jsx/work/Confirmation/Confirmation.stories.d.ts +0 -9
  651. package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +0 -1
  652. package/jsx/work/Confirmation/Confirmation.stories.jsx +0 -28
  653. package/jsx/work/Confirmation/Confirmation.stories.jsx.map +0 -1
  654. package/jsx/work/Confirmation/Confirmation.styles.d.ts +0 -2
  655. package/jsx/work/Confirmation/Confirmation.styles.d.ts.map +0 -1
  656. package/jsx/work/Confirmation/Confirmation.styles.js +0 -7
  657. package/jsx/work/Confirmation/Confirmation.styles.js.map +0 -1
  658. package/jsx/work/Details/Details.stories.d.ts +0 -5
  659. package/jsx/work/Details/Details.stories.d.ts.map +0 -1
  660. package/jsx/work/Details/Details.stories.jsx +0 -65
  661. package/jsx/work/Details/Details.stories.jsx.map +0 -1
  662. package/jsx/work/Glimpse/Glimpse.stories.d.ts +0 -10
  663. package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +0 -1
  664. package/jsx/work/Glimpse/Glimpse.stories.jsx +0 -39
  665. package/jsx/work/Glimpse/Glimpse.stories.jsx.map +0 -1
  666. package/jsx/work/SearchResults/SearchResults.mocks.d.ts +0 -8
  667. package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +0 -1
  668. package/jsx/work/SearchResults/SearchResults.mocks.jsx +0 -96
  669. package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +0 -1
  670. package/jsx/work/SearchResults/SearchResults.stories.d.ts +0 -8
  671. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +0 -1
  672. package/jsx/work/SearchResults/SearchResults.stories.jsx +0 -199
  673. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +0 -1
  674. package/jsx/work/SearchResults/SearchResults.styles.d.ts +0 -5
  675. package/jsx/work/SearchResults/SearchResults.styles.d.ts.map +0 -1
  676. package/jsx/work/SearchResults/SearchResults.styles.js +0 -12
  677. package/jsx/work/SearchResults/SearchResults.styles.js.map +0 -1
  678. package/jsx/work/Stages/Stages.stories.d.ts +0 -11
  679. package/jsx/work/Stages/Stages.stories.d.ts.map +0 -1
  680. package/jsx/work/Stages/Stages.stories.jsx +0 -65
  681. package/jsx/work/Stages/Stages.stories.jsx.map +0 -1
  682. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +0 -17
  683. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +0 -1
  684. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +0 -32
  685. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +0 -1
  686. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +0 -6
  687. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +0 -1
  688. package/jsx/work/Stakeholders/Stakeholders.stories.jsx +0 -90
  689. package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +0 -1
  690. package/jsx/work/Tags/Tags.mocks.d.ts +0 -3
  691. package/jsx/work/Tags/Tags.mocks.d.ts.map +0 -1
  692. package/jsx/work/Tags/Tags.mocks.js +0 -76
  693. package/jsx/work/Tags/Tags.mocks.js.map +0 -1
  694. package/jsx/work/Tags/Tags.stories.d.ts +0 -10
  695. package/jsx/work/Tags/Tags.stories.d.ts.map +0 -1
  696. package/jsx/work/Tags/Tags.stories.jsx +0 -61
  697. package/jsx/work/Tags/Tags.stories.jsx.map +0 -1
  698. package/jsx/work/Tasks/TaskList.stories.d.ts +0 -5
  699. package/jsx/work/Tasks/TaskList.stories.d.ts.map +0 -1
  700. package/jsx/work/Tasks/TaskList.stories.jsx +0 -17
  701. package/jsx/work/Tasks/TaskList.stories.jsx.map +0 -1
  702. package/jsx/work/Tasks/Tasks.stories.d.ts +0 -9
  703. package/jsx/work/Tasks/Tasks.stories.d.ts.map +0 -1
  704. package/jsx/work/Tasks/Tasks.stories.jsx +0 -101
  705. package/jsx/work/Tasks/Tasks.stories.jsx.map +0 -1
  706. package/jsx/work/Timeline/Timeline.mocks.d.ts +0 -3
  707. package/jsx/work/Timeline/Timeline.mocks.d.ts.map +0 -1
  708. package/jsx/work/Timeline/Timeline.mocks.jsx +0 -129
  709. package/jsx/work/Timeline/Timeline.mocks.jsx.map +0 -1
  710. package/jsx/work/Timeline/Timeline.stories.d.ts +0 -7
  711. package/jsx/work/Timeline/Timeline.stories.d.ts.map +0 -1
  712. package/jsx/work/Timeline/Timeline.stories.jsx +0 -43
  713. package/jsx/work/Timeline/Timeline.stories.jsx.map +0 -1
  714. package/lib/build/AppHeader/AppHeader.stories.d.ts +0 -8
  715. package/lib/build/AppHeader/AppHeader.stories.d.ts.map +0 -1
  716. package/lib/build/AppHeader/AppHeader.stories.js +0 -66
  717. package/lib/build/AppHeader/AppHeader.stories.js.map +0 -1
  718. package/lib/build/AppShell/AppShell.mocks.d.ts +0 -50
  719. package/lib/build/AppShell/AppShell.mocks.d.ts.map +0 -1
  720. package/lib/build/AppShell/AppShell.mocks.js +0 -503
  721. package/lib/build/AppShell/AppShell.mocks.js.map +0 -1
  722. package/lib/build/AppShell/AppShell.stories.d.ts +0 -12
  723. package/lib/build/AppShell/AppShell.stories.d.ts.map +0 -1
  724. package/lib/build/AppShell/AppShell.stories.js +0 -192
  725. package/lib/build/AppShell/AppShell.stories.js.map +0 -1
  726. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
  727. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
  728. package/lib/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
  729. package/lib/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
  730. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +0 -9
  731. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
  732. package/lib/build/FlowModeller/FlowModeller.mocks.js +0 -411
  733. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
  734. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +0 -12
  735. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
  736. package/lib/build/FlowModeller/FlowModeller.stories.js +0 -197
  737. package/lib/build/FlowModeller/FlowModeller.stories.js.map +0 -1
  738. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +0 -201
  739. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
  740. package/lib/build/LifeCycle/LifeCycle.mocks.js +0 -1128
  741. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
  742. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
  743. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
  744. package/lib/build/LifeCycle/LifeCycle.stories.js +0 -511
  745. package/lib/build/LifeCycle/LifeCycle.stories.js.map +0 -1
  746. package/lib/build/LifeCycle/utils.d.ts +0 -65
  747. package/lib/build/LifeCycle/utils.d.ts.map +0 -1
  748. package/lib/build/LifeCycle/utils.js +0 -218
  749. package/lib/build/LifeCycle/utils.js.map +0 -1
  750. package/lib/build/PageTemplates/GalleryPage.stories.d.ts +0 -12
  751. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
  752. package/lib/build/PageTemplates/GalleryPage.stories.js +0 -127
  753. package/lib/build/PageTemplates/GalleryPage.stories.js.map +0 -1
  754. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +0 -26
  755. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  756. package/lib/build/PageTemplates/PageTemplates.stories.js +0 -388
  757. package/lib/build/PageTemplates/PageTemplates.stories.js.map +0 -1
  758. package/lib/build/Workbench/Workbench.mocks.d.ts +0 -9
  759. package/lib/build/Workbench/Workbench.mocks.d.ts.map +0 -1
  760. package/lib/build/Workbench/Workbench.mocks.js +0 -67
  761. package/lib/build/Workbench/Workbench.mocks.js.map +0 -1
  762. package/lib/build/Workbench/Workbench.stories.d.ts +0 -10
  763. package/lib/build/Workbench/Workbench.stories.d.ts.map +0 -1
  764. package/lib/build/Workbench/Workbench.stories.js +0 -114
  765. package/lib/build/Workbench/Workbench.stories.js.map +0 -1
  766. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +0 -10
  767. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +0 -1
  768. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js +0 -166
  769. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +0 -1
  770. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts +0 -6
  771. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +0 -1
  772. package/lib/condition-builder/ConditionBuilder/props.mock.js +0 -113
  773. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +0 -1
  774. package/lib/core/AppShell/AppShell.mocks.d.ts +0 -15
  775. package/lib/core/AppShell/AppShell.mocks.d.ts.map +0 -1
  776. package/lib/core/AppShell/AppShell.mocks.js +0 -142
  777. package/lib/core/AppShell/AppShell.mocks.js.map +0 -1
  778. package/lib/core/AppShell/AppShell.stories.d.ts +0 -33
  779. package/lib/core/AppShell/AppShell.stories.d.ts.map +0 -1
  780. package/lib/core/AppShell/AppShell.stories.js +0 -191
  781. package/lib/core/AppShell/AppShell.stories.js.map +0 -1
  782. package/lib/core/AppShell/AppShell.styles.d.ts +0 -2
  783. package/lib/core/AppShell/AppShell.styles.d.ts.map +0 -1
  784. package/lib/core/AppShell/AppShell.styles.js +0 -5
  785. package/lib/core/AppShell/AppShell.styles.js.map +0 -1
  786. package/lib/core/Avatar/Avatar.stories.d.ts +0 -10
  787. package/lib/core/Avatar/Avatar.stories.d.ts.map +0 -1
  788. package/lib/core/Avatar/Avatar.stories.js +0 -51
  789. package/lib/core/Avatar/Avatar.stories.js.map +0 -1
  790. package/lib/core/Backdrop/Backdrop.stories.d.ts +0 -7
  791. package/lib/core/Backdrop/Backdrop.stories.d.ts.map +0 -1
  792. package/lib/core/Backdrop/Backdrop.stories.js +0 -26
  793. package/lib/core/Backdrop/Backdrop.stories.js.map +0 -1
  794. package/lib/core/Badges/Alert.stories.d.ts +0 -6
  795. package/lib/core/Badges/Alert.stories.d.ts.map +0 -1
  796. package/lib/core/Badges/Alert.stories.js +0 -16
  797. package/lib/core/Badges/Alert.stories.js.map +0 -1
  798. package/lib/core/Badges/Count.stories.d.ts +0 -6
  799. package/lib/core/Badges/Count.stories.d.ts.map +0 -1
  800. package/lib/core/Badges/Count.stories.js +0 -21
  801. package/lib/core/Badges/Count.stories.js.map +0 -1
  802. package/lib/core/Badges/Selection.stories.d.ts +0 -6
  803. package/lib/core/Badges/Selection.stories.d.ts.map +0 -1
  804. package/lib/core/Badges/Selection.stories.js +0 -10
  805. package/lib/core/Badges/Selection.stories.js.map +0 -1
  806. package/lib/core/Badges/Status.stories.d.ts +0 -6
  807. package/lib/core/Badges/Status.stories.d.ts.map +0 -1
  808. package/lib/core/Badges/Status.stories.js +0 -19
  809. package/lib/core/Badges/Status.stories.js.map +0 -1
  810. package/lib/core/Badges/Tag.stories.d.ts +0 -6
  811. package/lib/core/Badges/Tag.stories.d.ts.map +0 -1
  812. package/lib/core/Badges/Tag.stories.js +0 -10
  813. package/lib/core/Badges/Tag.stories.js.map +0 -1
  814. package/lib/core/Banner/Banner.mocks.d.ts +0 -18
  815. package/lib/core/Banner/Banner.mocks.d.ts.map +0 -1
  816. package/lib/core/Banner/Banner.mocks.js +0 -36
  817. package/lib/core/Banner/Banner.mocks.js.map +0 -1
  818. package/lib/core/Banner/Banner.stories.d.ts +0 -22
  819. package/lib/core/Banner/Banner.stories.d.ts.map +0 -1
  820. package/lib/core/Banner/Banner.stories.js +0 -81
  821. package/lib/core/Banner/Banner.stories.js.map +0 -1
  822. package/lib/core/Boolean/BooleanDisplay.stories.d.ts +0 -6
  823. package/lib/core/Boolean/BooleanDisplay.stories.d.ts.map +0 -1
  824. package/lib/core/Boolean/BooleanDisplay.stories.js +0 -20
  825. package/lib/core/Boolean/BooleanDisplay.stories.js.map +0 -1
  826. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -7
  827. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
  828. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +0 -28
  829. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +0 -1
  830. package/lib/core/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
  831. package/lib/core/Breadcrumbs/Breadcrumbs.styles.d.ts.map +0 -1
  832. package/lib/core/Breadcrumbs/Breadcrumbs.styles.js +0 -12
  833. package/lib/core/Breadcrumbs/Breadcrumbs.styles.js.map +0 -1
  834. package/lib/core/Button/Button.stories.d.ts +0 -12
  835. package/lib/core/Button/Button.stories.d.ts.map +0 -1
  836. package/lib/core/Button/Button.stories.js +0 -64
  837. package/lib/core/Button/Button.stories.js.map +0 -1
  838. package/lib/core/Card/Card.stories.d.ts +0 -8
  839. package/lib/core/Card/Card.stories.d.ts.map +0 -1
  840. package/lib/core/Card/Card.stories.js +0 -32
  841. package/lib/core/Card/Card.stories.js.map +0 -1
  842. package/lib/core/Card/Card.styles.d.ts +0 -2
  843. package/lib/core/Card/Card.styles.d.ts.map +0 -1
  844. package/lib/core/Card/Card.styles.js +0 -5
  845. package/lib/core/Card/Card.styles.js.map +0 -1
  846. package/lib/core/Checkbox/Checkbox.stories.d.ts +0 -7
  847. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +0 -1
  848. package/lib/core/Checkbox/Checkbox.stories.js +0 -29
  849. package/lib/core/Checkbox/Checkbox.stories.js.map +0 -1
  850. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +0 -7
  851. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +0 -1
  852. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +0 -32
  853. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +0 -1
  854. package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts +0 -4
  855. package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +0 -1
  856. package/lib/core/CheckboxGroup/CheckboxGroup.styles.js +0 -9
  857. package/lib/core/CheckboxGroup/CheckboxGroup.styles.js.map +0 -1
  858. package/lib/core/ColorPicker/ColorPicker.stories.d.ts +0 -8
  859. package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +0 -1
  860. package/lib/core/ColorPicker/ColorPicker.stories.js +0 -76
  861. package/lib/core/ColorPicker/ColorPicker.stories.js.map +0 -1
  862. package/lib/core/ComboBox/ComboBox.mocks.d.ts +0 -24
  863. package/lib/core/ComboBox/ComboBox.mocks.d.ts.map +0 -1
  864. package/lib/core/ComboBox/ComboBox.mocks.js +0 -54
  865. package/lib/core/ComboBox/ComboBox.mocks.js.map +0 -1
  866. package/lib/core/ComboBox/ComboBox.stories.d.ts +0 -31
  867. package/lib/core/ComboBox/ComboBox.stories.d.ts.map +0 -1
  868. package/lib/core/ComboBox/ComboBox.stories.js +0 -376
  869. package/lib/core/ComboBox/ComboBox.stories.js.map +0 -1
  870. package/lib/core/Configuration/Configuration.stories.d.ts +0 -10
  871. package/lib/core/Configuration/Configuration.stories.d.ts.map +0 -1
  872. package/lib/core/Configuration/Configuration.stories.js +0 -75
  873. package/lib/core/Configuration/Configuration.stories.js.map +0 -1
  874. package/lib/core/Currency/Currency.stories.d.ts +0 -11
  875. package/lib/core/Currency/Currency.stories.d.ts.map +0 -1
  876. package/lib/core/Currency/Currency.stories.js +0 -66
  877. package/lib/core/Currency/Currency.stories.js.map +0 -1
  878. package/lib/core/DateTime/DateTime.stories.d.ts +0 -20
  879. package/lib/core/DateTime/DateTime.stories.d.ts.map +0 -1
  880. package/lib/core/DateTime/DateTime.stories.js +0 -128
  881. package/lib/core/DateTime/DateTime.stories.js.map +0 -1
  882. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts +0 -7
  883. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +0 -1
  884. package/lib/core/DateTime/DateTimeDisplay.stories.js +0 -48
  885. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +0 -1
  886. package/lib/core/DateTime/DateTimePicker.stories.d.ts +0 -7
  887. package/lib/core/DateTime/DateTimePicker.stories.d.ts.map +0 -1
  888. package/lib/core/DateTime/DateTimePicker.stories.js +0 -35
  889. package/lib/core/DateTime/DateTimePicker.stories.js.map +0 -1
  890. package/lib/core/Drawer/Drawer.stories.d.ts +0 -7
  891. package/lib/core/Drawer/Drawer.stories.d.ts.map +0 -1
  892. package/lib/core/Drawer/Drawer.stories.js +0 -71
  893. package/lib/core/Drawer/Drawer.stories.js.map +0 -1
  894. package/lib/core/Drawer/Drawer.styles.d.ts +0 -2
  895. package/lib/core/Drawer/Drawer.styles.d.ts.map +0 -1
  896. package/lib/core/Drawer/Drawer.styles.js +0 -11
  897. package/lib/core/Drawer/Drawer.styles.js.map +0 -1
  898. package/lib/core/Email/EmailDisplay.stories.d.ts +0 -6
  899. package/lib/core/Email/EmailDisplay.stories.d.ts.map +0 -1
  900. package/lib/core/Email/EmailDisplay.stories.js +0 -20
  901. package/lib/core/Email/EmailDisplay.stories.js.map +0 -1
  902. package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts +0 -8
  903. package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts.map +0 -1
  904. package/lib/core/EmojiPicker/EmojiPicker.stories.js +0 -42
  905. package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +0 -1
  906. package/lib/core/EmptyState/EmptyState.stories.d.ts +0 -6
  907. package/lib/core/EmptyState/EmptyState.stories.d.ts.map +0 -1
  908. package/lib/core/EmptyState/EmptyState.stories.js +0 -19
  909. package/lib/core/EmptyState/EmptyState.stories.js.map +0 -1
  910. package/lib/core/ErrorState/ErrorState.stories.d.ts +0 -9
  911. package/lib/core/ErrorState/ErrorState.stories.d.ts.map +0 -1
  912. package/lib/core/ErrorState/ErrorState.stories.js +0 -21
  913. package/lib/core/ErrorState/ErrorState.stories.js.map +0 -1
  914. package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts +0 -7
  915. package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +0 -1
  916. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js +0 -28
  917. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +0 -1
  918. package/lib/core/ExpandCollapse/ExpandCollapse.styles.d.ts +0 -4
  919. package/lib/core/ExpandCollapse/ExpandCollapse.styles.d.ts.map +0 -1
  920. package/lib/core/ExpandCollapse/ExpandCollapse.styles.js +0 -17
  921. package/lib/core/ExpandCollapse/ExpandCollapse.styles.js.map +0 -1
  922. package/lib/core/FieldGroup/FieldGroup.stories.d.ts +0 -11
  923. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +0 -1
  924. package/lib/core/FieldGroup/FieldGroup.stories.js +0 -22
  925. package/lib/core/FieldGroup/FieldGroup.stories.js.map +0 -1
  926. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +0 -21
  927. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +0 -1
  928. package/lib/core/FieldGroup/FieldGroupList.mocks.js +0 -38
  929. package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +0 -1
  930. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +0 -10
  931. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +0 -1
  932. package/lib/core/FieldGroup/FieldGroupList.stories.js +0 -106
  933. package/lib/core/FieldGroup/FieldGroupList.stories.js.map +0 -1
  934. package/lib/core/FieldValueList/FieldValueList.stories.d.ts +0 -10
  935. package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +0 -1
  936. package/lib/core/FieldValueList/FieldValueList.stories.js +0 -51
  937. package/lib/core/FieldValueList/FieldValueList.stories.js.map +0 -1
  938. package/lib/core/File/FileDisplay.stories.d.ts +0 -20
  939. package/lib/core/File/FileDisplay.stories.d.ts.map +0 -1
  940. package/lib/core/File/FileDisplay.stories.js +0 -126
  941. package/lib/core/File/FileDisplay.stories.js.map +0 -1
  942. package/lib/core/File/FileInput.stories.d.ts +0 -9
  943. package/lib/core/File/FileInput.stories.d.ts.map +0 -1
  944. package/lib/core/File/FileInput.stories.js +0 -78
  945. package/lib/core/File/FileInput.stories.js.map +0 -1
  946. package/lib/core/Flex/Flex.styles.d.ts +0 -10
  947. package/lib/core/Flex/Flex.styles.d.ts.map +0 -1
  948. package/lib/core/Flex/Flex.styles.js +0 -41
  949. package/lib/core/Flex/Flex.styles.js.map +0 -1
  950. package/lib/core/Flex/FlexContainer.stories.d.ts +0 -22
  951. package/lib/core/Flex/FlexContainer.stories.d.ts.map +0 -1
  952. package/lib/core/Flex/FlexContainer.stories.js +0 -82
  953. package/lib/core/Flex/FlexContainer.stories.js.map +0 -1
  954. package/lib/core/Flex/FlexItem.stories.d.ts +0 -13
  955. package/lib/core/Flex/FlexItem.stories.d.ts.map +0 -1
  956. package/lib/core/Flex/FlexItem.stories.js +0 -41
  957. package/lib/core/Flex/FlexItem.stories.js.map +0 -1
  958. package/lib/core/Form/Form.mocks.d.ts +0 -8
  959. package/lib/core/Form/Form.mocks.d.ts.map +0 -1
  960. package/lib/core/Form/Form.mocks.js +0 -97
  961. package/lib/core/Form/Form.mocks.js.map +0 -1
  962. package/lib/core/Form/Form.stories.d.ts +0 -14
  963. package/lib/core/Form/Form.stories.d.ts.map +0 -1
  964. package/lib/core/Form/Form.stories.js +0 -52
  965. package/lib/core/Form/Form.stories.js.map +0 -1
  966. package/lib/core/Grid/Grid.styles.d.ts +0 -6
  967. package/lib/core/Grid/Grid.styles.d.ts.map +0 -1
  968. package/lib/core/Grid/Grid.styles.js +0 -36
  969. package/lib/core/Grid/Grid.styles.js.map +0 -1
  970. package/lib/core/Grid/GridContainer.stories.d.ts +0 -24
  971. package/lib/core/Grid/GridContainer.stories.d.ts.map +0 -1
  972. package/lib/core/Grid/GridContainer.stories.js +0 -115
  973. package/lib/core/Grid/GridContainer.stories.js.map +0 -1
  974. package/lib/core/Grid/GridItem.stories.d.ts +0 -13
  975. package/lib/core/Grid/GridItem.stories.d.ts.map +0 -1
  976. package/lib/core/Grid/GridItem.stories.js +0 -36
  977. package/lib/core/Grid/GridItem.stories.js.map +0 -1
  978. package/lib/core/Icon/Icon.mocks.d.ts +0 -3
  979. package/lib/core/Icon/Icon.mocks.d.ts.map +0 -1
  980. package/lib/core/Icon/Icon.mocks.js +0 -10
  981. package/lib/core/Icon/Icon.mocks.js.map +0 -1
  982. package/lib/core/Icon/Icon.stories.d.ts +0 -9
  983. package/lib/core/Icon/Icon.stories.d.ts.map +0 -1
  984. package/lib/core/Icon/Icon.stories.js +0 -82
  985. package/lib/core/Icon/Icon.stories.js.map +0 -1
  986. package/lib/core/IconPicker/IconPicker.stories.d.ts +0 -6
  987. package/lib/core/IconPicker/IconPicker.stories.d.ts.map +0 -1
  988. package/lib/core/IconPicker/IconPicker.stories.js +0 -39
  989. package/lib/core/IconPicker/IconPicker.stories.js.map +0 -1
  990. package/lib/core/Image/Image.stories.d.ts +0 -6
  991. package/lib/core/Image/Image.stories.d.ts.map +0 -1
  992. package/lib/core/Image/Image.stories.js +0 -10
  993. package/lib/core/Image/Image.stories.js.map +0 -1
  994. package/lib/core/Input/Input.stories.d.ts +0 -9
  995. package/lib/core/Input/Input.stories.d.ts.map +0 -1
  996. package/lib/core/Input/Input.stories.js +0 -45
  997. package/lib/core/Input/Input.stories.js.map +0 -1
  998. package/lib/core/Label/Label.stories.d.ts +0 -6
  999. package/lib/core/Label/Label.stories.d.ts.map +0 -1
  1000. package/lib/core/Label/Label.stories.js +0 -16
  1001. package/lib/core/Label/Label.stories.js.map +0 -1
  1002. package/lib/core/Lightbox/Lightbox.mocks.d.ts +0 -15
  1003. package/lib/core/Lightbox/Lightbox.mocks.d.ts.map +0 -1
  1004. package/lib/core/Lightbox/Lightbox.mocks.js +0 -67
  1005. package/lib/core/Lightbox/Lightbox.mocks.js.map +0 -1
  1006. package/lib/core/Lightbox/Lightbox.stories.d.ts +0 -10
  1007. package/lib/core/Lightbox/Lightbox.stories.d.ts.map +0 -1
  1008. package/lib/core/Lightbox/Lightbox.stories.js +0 -51
  1009. package/lib/core/Lightbox/Lightbox.stories.js.map +0 -1
  1010. package/lib/core/Link/Link.stories.d.ts +0 -18
  1011. package/lib/core/Link/Link.stories.d.ts.map +0 -1
  1012. package/lib/core/Link/Link.stories.js +0 -30
  1013. package/lib/core/Link/Link.stories.js.map +0 -1
  1014. package/lib/core/List/CommaSeparatedList.stories.d.ts +0 -6
  1015. package/lib/core/List/CommaSeparatedList.stories.d.ts.map +0 -1
  1016. package/lib/core/List/CommaSeparatedList.stories.js +0 -32
  1017. package/lib/core/List/CommaSeparatedList.stories.js.map +0 -1
  1018. package/lib/core/List/OrderedList.stories.d.ts +0 -10
  1019. package/lib/core/List/OrderedList.stories.d.ts.map +0 -1
  1020. package/lib/core/List/OrderedList.stories.js +0 -39
  1021. package/lib/core/List/OrderedList.stories.js.map +0 -1
  1022. package/lib/core/List/UnorderedList.stories.d.ts +0 -10
  1023. package/lib/core/List/UnorderedList.stories.d.ts.map +0 -1
  1024. package/lib/core/List/UnorderedList.stories.js +0 -39
  1025. package/lib/core/List/UnorderedList.stories.js.map +0 -1
  1026. package/lib/core/Location/Location.stories.d.ts +0 -12
  1027. package/lib/core/Location/Location.stories.d.ts.map +0 -1
  1028. package/lib/core/Location/Location.stories.js +0 -123
  1029. package/lib/core/Location/Location.stories.js.map +0 -1
  1030. package/lib/core/Menu/Menu.mocks.d.ts +0 -4
  1031. package/lib/core/Menu/Menu.mocks.d.ts.map +0 -1
  1032. package/lib/core/Menu/Menu.mocks.js +0 -179
  1033. package/lib/core/Menu/Menu.mocks.js.map +0 -1
  1034. package/lib/core/Menu/Menu.stories.d.ts +0 -17
  1035. package/lib/core/Menu/Menu.stories.d.ts.map +0 -1
  1036. package/lib/core/Menu/Menu.stories.js +0 -146
  1037. package/lib/core/Menu/Menu.stories.js.map +0 -1
  1038. package/lib/core/Menu/Menu.styles.d.ts +0 -2
  1039. package/lib/core/Menu/Menu.styles.d.ts.map +0 -1
  1040. package/lib/core/Menu/Menu.styles.js +0 -6
  1041. package/lib/core/Menu/Menu.styles.js.map +0 -1
  1042. package/lib/core/MenuButton/MenuButton.stories.d.ts +0 -15
  1043. package/lib/core/MenuButton/MenuButton.stories.d.ts.map +0 -1
  1044. package/lib/core/MenuButton/MenuButton.stories.js +0 -185
  1045. package/lib/core/MenuButton/MenuButton.stories.js.map +0 -1
  1046. package/lib/core/MetaList/MetaList.stories.d.ts +0 -9
  1047. package/lib/core/MetaList/MetaList.stories.d.ts.map +0 -1
  1048. package/lib/core/MetaList/MetaList.stories.js +0 -20
  1049. package/lib/core/MetaList/MetaList.stories.js.map +0 -1
  1050. package/lib/core/Modal/Modal.mocks.d.ts +0 -4
  1051. package/lib/core/Modal/Modal.mocks.d.ts.map +0 -1
  1052. package/lib/core/Modal/Modal.mocks.js +0 -36
  1053. package/lib/core/Modal/Modal.mocks.js.map +0 -1
  1054. package/lib/core/Modal/Modal.stories.d.ts +0 -20
  1055. package/lib/core/Modal/Modal.stories.d.ts.map +0 -1
  1056. package/lib/core/Modal/Modal.stories.js +0 -232
  1057. package/lib/core/Modal/Modal.stories.js.map +0 -1
  1058. package/lib/core/MultiStep/MultiStep.stories.d.ts +0 -6
  1059. package/lib/core/MultiStep/MultiStep.stories.d.ts.map +0 -1
  1060. package/lib/core/MultiStep/MultiStep.stories.js +0 -36
  1061. package/lib/core/MultiStep/MultiStep.stories.js.map +0 -1
  1062. package/lib/core/Number/Number.stories.d.ts +0 -13
  1063. package/lib/core/Number/Number.stories.d.ts.map +0 -1
  1064. package/lib/core/Number/Number.stories.js +0 -111
  1065. package/lib/core/Number/Number.stories.js.map +0 -1
  1066. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts +0 -3
  1067. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  1068. package/lib/core/PageTemplates/PageTemplates.mocks.js +0 -10
  1069. package/lib/core/PageTemplates/PageTemplates.mocks.js.map +0 -1
  1070. package/lib/core/PageTemplates/PageTemplates.stories.d.ts +0 -31
  1071. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  1072. package/lib/core/PageTemplates/PageTemplates.stories.js +0 -226
  1073. package/lib/core/PageTemplates/PageTemplates.stories.js.map +0 -1
  1074. package/lib/core/PageTemplates/PageTemplates.styles.d.ts +0 -4
  1075. package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +0 -1
  1076. package/lib/core/PageTemplates/PageTemplates.styles.js +0 -31
  1077. package/lib/core/PageTemplates/PageTemplates.styles.js.map +0 -1
  1078. package/lib/core/Pagination/Pagination.stories.d.ts +0 -6
  1079. package/lib/core/Pagination/Pagination.stories.d.ts.map +0 -1
  1080. package/lib/core/Pagination/Pagination.stories.js +0 -20
  1081. package/lib/core/Pagination/Pagination.stories.js.map +0 -1
  1082. package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts +0 -6
  1083. package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts.map +0 -1
  1084. package/lib/core/Paragraph/ParagraphDisplay.stories.js +0 -16
  1085. package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +0 -1
  1086. package/lib/core/Phone/Phone.stories.d.ts +0 -7
  1087. package/lib/core/Phone/Phone.stories.d.ts.map +0 -1
  1088. package/lib/core/Phone/Phone.stories.js +0 -43
  1089. package/lib/core/Phone/Phone.stories.js.map +0 -1
  1090. package/lib/core/Popover/Popover.stories.d.ts +0 -7
  1091. package/lib/core/Popover/Popover.stories.d.ts.map +0 -1
  1092. package/lib/core/Popover/Popover.stories.js +0 -95
  1093. package/lib/core/Popover/Popover.stories.js.map +0 -1
  1094. package/lib/core/Progress/Progress.stories.d.ts +0 -7
  1095. package/lib/core/Progress/Progress.stories.d.ts.map +0 -1
  1096. package/lib/core/Progress/Progress.stories.js +0 -64
  1097. package/lib/core/Progress/Progress.stories.js.map +0 -1
  1098. package/lib/core/Progress/Progress.styles.d.ts +0 -2
  1099. package/lib/core/Progress/Progress.styles.d.ts.map +0 -1
  1100. package/lib/core/Progress/Progress.styles.js +0 -13
  1101. package/lib/core/Progress/Progress.styles.js.map +0 -1
  1102. package/lib/core/RadioButton/RadioButton.stories.d.ts +0 -7
  1103. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +0 -1
  1104. package/lib/core/RadioButton/RadioButton.stories.js +0 -27
  1105. package/lib/core/RadioButton/RadioButton.stories.js.map +0 -1
  1106. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +0 -7
  1107. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +0 -1
  1108. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +0 -34
  1109. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +0 -1
  1110. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +0 -4
  1111. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +0 -1
  1112. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.js +0 -9
  1113. package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.js.map +0 -1
  1114. package/lib/core/Rating/Rating.stories.d.ts +0 -9
  1115. package/lib/core/Rating/Rating.stories.d.ts.map +0 -1
  1116. package/lib/core/Rating/Rating.stories.js +0 -22
  1117. package/lib/core/Rating/Rating.stories.js.map +0 -1
  1118. package/lib/core/SearchInput/SearchInput.stories.d.ts +0 -6
  1119. package/lib/core/SearchInput/SearchInput.stories.d.ts.map +0 -1
  1120. package/lib/core/SearchInput/SearchInput.stories.js +0 -16
  1121. package/lib/core/SearchInput/SearchInput.stories.js.map +0 -1
  1122. package/lib/core/Select/Select.stories.d.ts +0 -9
  1123. package/lib/core/Select/Select.stories.d.ts.map +0 -1
  1124. package/lib/core/Select/Select.stories.js +0 -38
  1125. package/lib/core/Select/Select.stories.js.map +0 -1
  1126. package/lib/core/Sentiment/Sentiment.stories.d.ts +0 -14
  1127. package/lib/core/Sentiment/Sentiment.stories.d.ts.map +0 -1
  1128. package/lib/core/Sentiment/Sentiment.stories.js +0 -40
  1129. package/lib/core/Sentiment/Sentiment.stories.js.map +0 -1
  1130. package/lib/core/Slider/Slider.stories.d.ts +0 -11
  1131. package/lib/core/Slider/Slider.stories.d.ts.map +0 -1
  1132. package/lib/core/Slider/Slider.stories.js +0 -59
  1133. package/lib/core/Slider/Slider.stories.js.map +0 -1
  1134. package/lib/core/SummaryItem/SummaryItem.stories.d.ts +0 -11
  1135. package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +0 -1
  1136. package/lib/core/SummaryItem/SummaryItem.stories.js +0 -32
  1137. package/lib/core/SummaryItem/SummaryItem.stories.js.map +0 -1
  1138. package/lib/core/SummaryList/SummaryList.mocks.d.ts +0 -32
  1139. package/lib/core/SummaryList/SummaryList.mocks.d.ts.map +0 -1
  1140. package/lib/core/SummaryList/SummaryList.mocks.js +0 -34
  1141. package/lib/core/SummaryList/SummaryList.mocks.js.map +0 -1
  1142. package/lib/core/SummaryList/SummaryList.stories.d.ts +0 -13
  1143. package/lib/core/SummaryList/SummaryList.stories.d.ts.map +0 -1
  1144. package/lib/core/SummaryList/SummaryList.stories.js +0 -126
  1145. package/lib/core/SummaryList/SummaryList.stories.js.map +0 -1
  1146. package/lib/core/Switch/Switch.stories.d.ts +0 -7
  1147. package/lib/core/Switch/Switch.stories.d.ts.map +0 -1
  1148. package/lib/core/Switch/Switch.stories.js +0 -25
  1149. package/lib/core/Switch/Switch.stories.js.map +0 -1
  1150. package/lib/core/Switch/Switch.styles.d.ts +0 -2
  1151. package/lib/core/Switch/Switch.styles.d.ts.map +0 -1
  1152. package/lib/core/Switch/Switch.styles.js +0 -13
  1153. package/lib/core/Switch/Switch.styles.js.map +0 -1
  1154. package/lib/core/Table/Table.mocks.d.ts +0 -19
  1155. package/lib/core/Table/Table.mocks.d.ts.map +0 -1
  1156. package/lib/core/Table/Table.mocks.js +0 -30
  1157. package/lib/core/Table/Table.mocks.js.map +0 -1
  1158. package/lib/core/Table/Table.stories.d.ts +0 -14
  1159. package/lib/core/Table/Table.stories.d.ts.map +0 -1
  1160. package/lib/core/Table/Table.stories.js +0 -54
  1161. package/lib/core/Table/Table.stories.js.map +0 -1
  1162. package/lib/core/Table/Table.styles.d.ts +0 -4
  1163. package/lib/core/Table/Table.styles.d.ts.map +0 -1
  1164. package/lib/core/Table/Table.styles.js +0 -9
  1165. package/lib/core/Table/Table.styles.js.map +0 -1
  1166. package/lib/core/Tabs/Tabs.stories.d.ts +0 -7
  1167. package/lib/core/Tabs/Tabs.stories.d.ts.map +0 -1
  1168. package/lib/core/Tabs/Tabs.stories.js +0 -42
  1169. package/lib/core/Tabs/Tabs.stories.js.map +0 -1
  1170. package/lib/core/Text/Text.stories.d.ts +0 -6
  1171. package/lib/core/Text/Text.stories.d.ts.map +0 -1
  1172. package/lib/core/Text/Text.stories.js +0 -21
  1173. package/lib/core/Text/Text.stories.js.map +0 -1
  1174. package/lib/core/TextArea/TextArea.stories.d.ts +0 -6
  1175. package/lib/core/TextArea/TextArea.stories.d.ts.map +0 -1
  1176. package/lib/core/TextArea/TextArea.stories.js +0 -44
  1177. package/lib/core/TextArea/TextArea.stories.js.map +0 -1
  1178. package/lib/core/Toaster/Toaster.stories.d.ts +0 -6
  1179. package/lib/core/Toaster/Toaster.stories.d.ts.map +0 -1
  1180. package/lib/core/Toaster/Toaster.stories.js +0 -30
  1181. package/lib/core/Toaster/Toaster.stories.js.map +0 -1
  1182. package/lib/core/Tooltip/Tooltip.stories.d.ts +0 -8
  1183. package/lib/core/Tooltip/Tooltip.stories.d.ts.map +0 -1
  1184. package/lib/core/Tooltip/Tooltip.stories.js +0 -11
  1185. package/lib/core/Tooltip/Tooltip.stories.js.map +0 -1
  1186. package/lib/core/Tree/Tree.mocks.d.ts +0 -2
  1187. package/lib/core/Tree/Tree.mocks.d.ts.map +0 -1
  1188. package/lib/core/Tree/Tree.mocks.js +0 -22
  1189. package/lib/core/Tree/Tree.mocks.js.map +0 -1
  1190. package/lib/core/Tree/Tree.stories.d.ts +0 -8
  1191. package/lib/core/Tree/Tree.stories.d.ts.map +0 -1
  1192. package/lib/core/Tree/Tree.stories.js +0 -85
  1193. package/lib/core/Tree/Tree.stories.js.map +0 -1
  1194. package/lib/core/Tree/Tree.styles.d.ts +0 -3
  1195. package/lib/core/Tree/Tree.styles.d.ts.map +0 -1
  1196. package/lib/core/Tree/Tree.styles.js +0 -10
  1197. package/lib/core/Tree/Tree.styles.js.map +0 -1
  1198. package/lib/core/URL/URL.stories.d.ts +0 -6
  1199. package/lib/core/URL/URL.stories.d.ts.map +0 -1
  1200. package/lib/core/URL/URL.stories.js +0 -18
  1201. package/lib/core/URL/URL.stories.js.map +0 -1
  1202. package/lib/cs/Article/Article.mocks.d.ts +0 -14
  1203. package/lib/cs/Article/Article.mocks.d.ts.map +0 -1
  1204. package/lib/cs/Article/Article.mocks.js +0 -14
  1205. package/lib/cs/Article/Article.mocks.js.map +0 -1
  1206. package/lib/cs/Article/Article.stories.d.ts +0 -15
  1207. package/lib/cs/Article/Article.stories.d.ts.map +0 -1
  1208. package/lib/cs/Article/Article.stories.js +0 -85
  1209. package/lib/cs/Article/Article.stories.js.map +0 -1
  1210. package/lib/cs/ArticleList/ArticleList.mocks.d.ts +0 -21
  1211. package/lib/cs/ArticleList/ArticleList.mocks.d.ts.map +0 -1
  1212. package/lib/cs/ArticleList/ArticleList.mocks.js +0 -102
  1213. package/lib/cs/ArticleList/ArticleList.mocks.js.map +0 -1
  1214. package/lib/cs/ArticleList/ArticleList.stories.d.ts +0 -16
  1215. package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +0 -1
  1216. package/lib/cs/ArticleList/ArticleList.stories.js +0 -83
  1217. package/lib/cs/ArticleList/ArticleList.stories.js.map +0 -1
  1218. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts +0 -45
  1219. package/lib/cs/CSCaseView/CSAppShell.stories.d.ts.map +0 -1
  1220. package/lib/cs/CSCaseView/CSAppShell.stories.js +0 -240
  1221. package/lib/cs/CSCaseView/CSAppShell.stories.js.map +0 -1
  1222. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts +0 -57
  1223. package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts.map +0 -1
  1224. package/lib/cs/CSCaseView/CSCaseView.mocks.js +0 -224
  1225. package/lib/cs/CSCaseView/CSCaseView.mocks.js.map +0 -1
  1226. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -16
  1227. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
  1228. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js +0 -110
  1229. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
  1230. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -13
  1231. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
  1232. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +0 -193
  1233. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +0 -1
  1234. package/lib/cs/DialPad/DialPad.stories.d.ts +0 -9
  1235. package/lib/cs/DialPad/DialPad.stories.d.ts.map +0 -1
  1236. package/lib/cs/DialPad/DialPad.stories.js +0 -17
  1237. package/lib/cs/DialPad/DialPad.stories.js.map +0 -1
  1238. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
  1239. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
  1240. package/lib/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
  1241. package/lib/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
  1242. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -13
  1243. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +0 -1
  1244. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js +0 -335
  1245. package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js.map +0 -1
  1246. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +0 -8
  1247. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  1248. package/lib/cs/InteractionNotification/InteractionNotification.stories.js +0 -31
  1249. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +0 -1
  1250. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -14
  1251. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
  1252. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +0 -86
  1253. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +0 -1
  1254. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +0 -13
  1255. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
  1256. package/lib/cs/TaskManager/TaskManager.mocks.js +0 -140
  1257. package/lib/cs/TaskManager/TaskManager.mocks.js.map +0 -1
  1258. package/lib/cs/TaskManager/TaskManager.stories.d.ts +0 -8
  1259. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
  1260. package/lib/cs/TaskManager/TaskManager.stories.js +0 -299
  1261. package/lib/cs/TaskManager/TaskManager.stories.js.map +0 -1
  1262. package/lib/dnd/DragDropList/DragDropList.stories.d.ts +0 -11
  1263. package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +0 -1
  1264. package/lib/dnd/DragDropList/DragDropList.stories.js +0 -113
  1265. package/lib/dnd/DragDropList/DragDropList.stories.js.map +0 -1
  1266. package/lib/rte/Editor/Editor.stories.d.ts +0 -11
  1267. package/lib/rte/Editor/Editor.stories.d.ts.map +0 -1
  1268. package/lib/rte/Editor/Editor.stories.js +0 -100
  1269. package/lib/rte/Editor/Editor.stories.js.map +0 -1
  1270. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts +0 -3
  1271. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +0 -1
  1272. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js +0 -36
  1273. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +0 -1
  1274. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +0 -10
  1275. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +0 -1
  1276. package/lib/rte/RichTextEditor/RichTextEditor.stories.js +0 -114
  1277. package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +0 -1
  1278. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +0 -8
  1279. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +0 -1
  1280. package/lib/rte/RichTextEditor/RichTextViewer.stories.js +0 -66
  1281. package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +0 -1
  1282. package/lib/social/Chat/Chat.mocks.d.ts +0 -385
  1283. package/lib/social/Chat/Chat.mocks.d.ts.map +0 -1
  1284. package/lib/social/Chat/Chat.mocks.js +0 -648
  1285. package/lib/social/Chat/Chat.mocks.js.map +0 -1
  1286. package/lib/social/Chat/Chat.stories.d.ts +0 -54
  1287. package/lib/social/Chat/Chat.stories.d.ts.map +0 -1
  1288. package/lib/social/Chat/Chat.stories.js +0 -435
  1289. package/lib/social/Chat/Chat.stories.js.map +0 -1
  1290. package/lib/social/Chat/RepeatingView.stories.d.ts +0 -20
  1291. package/lib/social/Chat/RepeatingView.stories.d.ts.map +0 -1
  1292. package/lib/social/Chat/RepeatingView.stories.js +0 -89
  1293. package/lib/social/Chat/RepeatingView.stories.js.map +0 -1
  1294. package/lib/social/Email/Email.mocks.d.ts +0 -87
  1295. package/lib/social/Email/Email.mocks.d.ts.map +0 -1
  1296. package/lib/social/Email/Email.mocks.js +0 -350
  1297. package/lib/social/Email/Email.mocks.js.map +0 -1
  1298. package/lib/social/Email/Email.stories.d.ts +0 -28
  1299. package/lib/social/Email/Email.stories.d.ts.map +0 -1
  1300. package/lib/social/Email/Email.stories.js +0 -845
  1301. package/lib/social/Email/Email.stories.js.map +0 -1
  1302. package/lib/social/Feed/Feed.mocks.d.ts +0 -52
  1303. package/lib/social/Feed/Feed.mocks.d.ts.map +0 -1
  1304. package/lib/social/Feed/Feed.mocks.js +0 -307
  1305. package/lib/social/Feed/Feed.mocks.js.map +0 -1
  1306. package/lib/social/Feed/Feed.stories.d.ts +0 -15
  1307. package/lib/social/Feed/Feed.stories.d.ts.map +0 -1
  1308. package/lib/social/Feed/Feed.stories.js +0 -145
  1309. package/lib/social/Feed/Feed.stories.js.map +0 -1
  1310. package/lib/social/Feed/FeedNewPost.stories.d.ts +0 -17
  1311. package/lib/social/Feed/FeedNewPost.stories.d.ts.map +0 -1
  1312. package/lib/social/Feed/FeedNewPost.stories.js +0 -82
  1313. package/lib/social/Feed/FeedNewPost.stories.js.map +0 -1
  1314. package/lib/social/Feed/FeedPost.stories.d.ts +0 -9
  1315. package/lib/social/Feed/FeedPost.stories.d.ts.map +0 -1
  1316. package/lib/social/Feed/FeedPost.stories.js +0 -239
  1317. package/lib/social/Feed/FeedPost.stories.js.map +0 -1
  1318. package/lib/social/Feed/FeedReply.stories.d.ts +0 -16
  1319. package/lib/social/Feed/FeedReply.stories.d.ts.map +0 -1
  1320. package/lib/social/Feed/FeedReply.stories.js +0 -95
  1321. package/lib/social/Feed/FeedReply.stories.js.map +0 -1
  1322. package/lib/social/Feed/FeedReplyInput.stories.d.ts +0 -15
  1323. package/lib/social/Feed/FeedReplyInput.stories.d.ts.map +0 -1
  1324. package/lib/social/Feed/FeedReplyInput.stories.js +0 -60
  1325. package/lib/social/Feed/FeedReplyInput.stories.js.map +0 -1
  1326. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts +0 -6
  1327. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +0 -1
  1328. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js +0 -30
  1329. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +0 -1
  1330. package/lib/work/CaseView/Attachments.mocks.d.ts +0 -3
  1331. package/lib/work/CaseView/Attachments.mocks.d.ts.map +0 -1
  1332. package/lib/work/CaseView/Attachments.mocks.js +0 -373
  1333. package/lib/work/CaseView/Attachments.mocks.js.map +0 -1
  1334. package/lib/work/CaseView/CaseView.mocks.d.ts +0 -11
  1335. package/lib/work/CaseView/CaseView.mocks.d.ts.map +0 -1
  1336. package/lib/work/CaseView/CaseView.mocks.js +0 -116
  1337. package/lib/work/CaseView/CaseView.mocks.js.map +0 -1
  1338. package/lib/work/CaseView/CaseView.stories.d.ts +0 -34
  1339. package/lib/work/CaseView/CaseView.stories.d.ts.map +0 -1
  1340. package/lib/work/CaseView/CaseView.stories.js +0 -276
  1341. package/lib/work/CaseView/CaseView.stories.js.map +0 -1
  1342. package/lib/work/CaseView/Details.mocks.d.ts +0 -3
  1343. package/lib/work/CaseView/Details.mocks.d.ts.map +0 -1
  1344. package/lib/work/CaseView/Details.mocks.js +0 -7
  1345. package/lib/work/CaseView/Details.mocks.js.map +0 -1
  1346. package/lib/work/CaseView/FileService.mock.d.ts +0 -28
  1347. package/lib/work/CaseView/FileService.mock.d.ts.map +0 -1
  1348. package/lib/work/CaseView/FileService.mock.js +0 -162
  1349. package/lib/work/CaseView/FileService.mock.js.map +0 -1
  1350. package/lib/work/CaseView/MobileCaseView.stories.d.ts +0 -11
  1351. package/lib/work/CaseView/MobileCaseView.stories.d.ts.map +0 -1
  1352. package/lib/work/CaseView/MobileCaseView.stories.js +0 -28
  1353. package/lib/work/CaseView/MobileCaseView.stories.js.map +0 -1
  1354. package/lib/work/CaseView/Pulse.mocks.d.ts +0 -6
  1355. package/lib/work/CaseView/Pulse.mocks.d.ts.map +0 -1
  1356. package/lib/work/CaseView/Pulse.mocks.js +0 -25
  1357. package/lib/work/CaseView/Pulse.mocks.js.map +0 -1
  1358. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +0 -10
  1359. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +0 -1
  1360. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js +0 -194
  1361. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +0 -1
  1362. package/lib/work/Confirmation/Confirmation.stories.d.ts +0 -9
  1363. package/lib/work/Confirmation/Confirmation.stories.d.ts.map +0 -1
  1364. package/lib/work/Confirmation/Confirmation.stories.js +0 -26
  1365. package/lib/work/Confirmation/Confirmation.stories.js.map +0 -1
  1366. package/lib/work/Confirmation/Confirmation.styles.d.ts +0 -2
  1367. package/lib/work/Confirmation/Confirmation.styles.d.ts.map +0 -1
  1368. package/lib/work/Confirmation/Confirmation.styles.js +0 -7
  1369. package/lib/work/Confirmation/Confirmation.styles.js.map +0 -1
  1370. package/lib/work/Details/Details.stories.d.ts +0 -5
  1371. package/lib/work/Details/Details.stories.d.ts.map +0 -1
  1372. package/lib/work/Details/Details.stories.js +0 -62
  1373. package/lib/work/Details/Details.stories.js.map +0 -1
  1374. package/lib/work/Glimpse/Glimpse.stories.d.ts +0 -10
  1375. package/lib/work/Glimpse/Glimpse.stories.d.ts.map +0 -1
  1376. package/lib/work/Glimpse/Glimpse.stories.js +0 -40
  1377. package/lib/work/Glimpse/Glimpse.stories.js.map +0 -1
  1378. package/lib/work/SearchResults/SearchResults.mocks.d.ts +0 -8
  1379. package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +0 -1
  1380. package/lib/work/SearchResults/SearchResults.mocks.js +0 -97
  1381. package/lib/work/SearchResults/SearchResults.mocks.js.map +0 -1
  1382. package/lib/work/SearchResults/SearchResults.stories.d.ts +0 -8
  1383. package/lib/work/SearchResults/SearchResults.stories.d.ts.map +0 -1
  1384. package/lib/work/SearchResults/SearchResults.stories.js +0 -192
  1385. package/lib/work/SearchResults/SearchResults.stories.js.map +0 -1
  1386. package/lib/work/SearchResults/SearchResults.styles.d.ts +0 -5
  1387. package/lib/work/SearchResults/SearchResults.styles.d.ts.map +0 -1
  1388. package/lib/work/SearchResults/SearchResults.styles.js +0 -12
  1389. package/lib/work/SearchResults/SearchResults.styles.js.map +0 -1
  1390. package/lib/work/Stages/Stages.stories.d.ts +0 -11
  1391. package/lib/work/Stages/Stages.stories.d.ts.map +0 -1
  1392. package/lib/work/Stages/Stages.stories.js +0 -64
  1393. package/lib/work/Stages/Stages.stories.js.map +0 -1
  1394. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts +0 -22
  1395. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +0 -1
  1396. package/lib/work/Stakeholders/Stakeholders.mocks.js +0 -36
  1397. package/lib/work/Stakeholders/Stakeholders.mocks.js.map +0 -1
  1398. package/lib/work/Stakeholders/Stakeholders.stories.d.ts +0 -6
  1399. package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +0 -1
  1400. package/lib/work/Stakeholders/Stakeholders.stories.js +0 -111
  1401. package/lib/work/Stakeholders/Stakeholders.stories.js.map +0 -1
  1402. package/lib/work/Tags/Tags.mocks.d.ts +0 -3
  1403. package/lib/work/Tags/Tags.mocks.d.ts.map +0 -1
  1404. package/lib/work/Tags/Tags.mocks.js +0 -76
  1405. package/lib/work/Tags/Tags.mocks.js.map +0 -1
  1406. package/lib/work/Tags/Tags.stories.d.ts +0 -10
  1407. package/lib/work/Tags/Tags.stories.d.ts.map +0 -1
  1408. package/lib/work/Tags/Tags.stories.js +0 -62
  1409. package/lib/work/Tags/Tags.stories.js.map +0 -1
  1410. package/lib/work/Tasks/TaskList.stories.d.ts +0 -5
  1411. package/lib/work/Tasks/TaskList.stories.d.ts.map +0 -1
  1412. package/lib/work/Tasks/TaskList.stories.js +0 -18
  1413. package/lib/work/Tasks/TaskList.stories.js.map +0 -1
  1414. package/lib/work/Tasks/Tasks.stories.d.ts +0 -9
  1415. package/lib/work/Tasks/Tasks.stories.d.ts.map +0 -1
  1416. package/lib/work/Tasks/Tasks.stories.js +0 -80
  1417. package/lib/work/Tasks/Tasks.stories.js.map +0 -1
  1418. package/lib/work/Timeline/Timeline.mocks.d.ts +0 -3
  1419. package/lib/work/Timeline/Timeline.mocks.d.ts.map +0 -1
  1420. package/lib/work/Timeline/Timeline.mocks.js +0 -117
  1421. package/lib/work/Timeline/Timeline.mocks.js.map +0 -1
  1422. package/lib/work/Timeline/Timeline.stories.d.ts +0 -7
  1423. package/lib/work/Timeline/Timeline.stories.d.ts.map +0 -1
  1424. package/lib/work/Timeline/Timeline.stories.js +0 -44
  1425. package/lib/work/Timeline/Timeline.stories.js.map +0 -1
@@ -1,97 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useReducer, useRef, useContext } from 'react';
3
- import { Button, Checkbox, CheckboxGroup, Form, Grid, Input, RadioButton, RadioButtonGroup, Select, Option, TextArea, ToasterContext } from '@pega/cosmos-react-core';
4
- import { Editor as RichTextEditor } from '@pega/cosmos-react-rte';
5
- import { FileInputDemo } from '@pega/cosmos-react-demos/lib/core/File/FileInput.stories';
6
- import { FilterableSingleSelect as ComboboxFilterableStory } from '@pega/cosmos-react-demos/lib/core/ComboBox/ComboBox.stories';
7
- // Get initial field properties
8
- const initFields = () => {
9
- const common = { value: undefined, status: undefined };
10
- return [
11
- {
12
- ...common,
13
- name: 'name',
14
- required: true,
15
- error: 'Please enter first and last name',
16
- validator() {
17
- if (!this.value)
18
- return false;
19
- return /^[a-z]+\s[a-z]+$/i.test(this.value);
20
- }
21
- },
22
- {
23
- ...common,
24
- name: 'email',
25
- required: true,
26
- error: 'Enter a @pega.com address',
27
- validator() {
28
- if (!this.value)
29
- return false;
30
- return /^\S+@pega\.com$/.test(this.value);
31
- }
32
- },
33
- {
34
- ...common,
35
- name: 'notes',
36
- required: true,
37
- help: 'See how fast you can type 20 characters…go',
38
- error: 'You need to tell us more than 20 characters',
39
- validator() {
40
- if (!this.value)
41
- return false;
42
- return this.value.length >= 20;
43
- }
44
- }
45
- ];
46
- };
47
- // Handles setting of state for all fields
48
- const fieldReducer = (fields, { target, type }) => {
49
- return fields.map(field => {
50
- if (field.name === target.name) {
51
- field.value = target.value;
52
- if (type === 'blur' || field.status === 'error') {
53
- if ((field.required || field.value) && !field.validator()) {
54
- field.status = 'error';
55
- field.info = field.error;
56
- }
57
- else {
58
- field.status = undefined;
59
- field.info = field.help;
60
- }
61
- }
62
- }
63
- return field;
64
- });
65
- };
66
- export const FormContent = ({ cols, heading, description, showActions }) => {
67
- const editorRef = useRef(null);
68
- const [fields, setField] = useReducer(fieldReducer, undefined, initFields);
69
- const { push } = useContext(ToasterContext);
70
- const name = fields.find(field => field.name === 'name');
71
- const email = fields.find(field => field.name === 'email');
72
- const notes = fields.find(field => field.name === 'notes');
73
- if (!name || !email || !notes)
74
- return null;
75
- const canSubmit = fields.every(field => field.value && field.validator());
76
- const actions = (_jsxs(_Fragment, { children: [_jsx(Button, { name: 'Cancel', variant: 'secondary', onClick: () => {
77
- push({ content: 'Form cancelled!' });
78
- }, children: "Cancel" }, void 0), _jsx(Button, { name: 'Submit', type: 'submit', variant: 'primary', disabled: !canSubmit, children: "Submit" }, void 0)] }, void 0));
79
- const onImageAdded = (image, id) => {
80
- const src = URL.createObjectURL(image);
81
- editorRef.current?.appendImage({ src, alt: image.name }, id);
82
- };
83
- return (_jsx(Form, { actions: showActions ? actions : undefined, description: description, heading: heading, onSubmit: (e) => {
84
- e.preventDefault();
85
- push({ content: 'Form submitted!' });
86
- }, style: { margin: 'auto', maxWidth: '37.5rem' }, children: _jsxs(Grid, { container: { gap: 1, cols: `repeat(${cols}, minmax(0, 1fr))` }, children: [_jsx(Input, { name: 'name', label: 'Name', value: name.value, required: name.required, status: name.status, info: 'some help text here', onChange: (e) => setField({ ...e }), onBlur: (e) => setField({ ...e }), autoComplete: 'off' }, void 0), _jsx(Input, { name: 'email', value: email.value, type: 'email', label: 'Email', required: email.required, status: email.status, info: 'some help text here', onChange: (e) => setField({ ...e }), onBlur: (e) => setField({ ...e }), autoComplete: 'off' }, void 0), _jsx(Grid, { item: { colStartEnd: '1/-1' }, children: _jsx(CheckboxGroup, { name: 'visited', label: 'Places you have worked', children: ['Cambridge', 'Krakow', 'Hyderabad', 'Bangalore'].map(office => (_jsx(Checkbox, { label: office, onChange: (e) => setField({ ...e }) }, office))) }, void 0) }, void 0), _jsx(Grid, { item: { colStartEnd: '1/-1' }, children: _jsx(RadioButtonGroup, { name: 'meetings', label: 'Do you enjoy early morning meetings?', children: ['Yes', "No… no I don't"].map(option => (_jsx(RadioButton, { label: option, onChange: (e) => setField({ ...e }) }, option))) }, void 0) }, void 0), _jsxs(Select, { label: 'What would you like to eat?', info: 'FYI: options are limited', children: [_jsx(Option, { children: "choose meal\u2026" }, void 0), _jsx(Option, { children: "Pizza" }, void 0), _jsx(Option, { children: "Sandwich" }, void 0), _jsx(Option, { children: "Salad" }, void 0)] }, void 0), _jsx(Grid, { item: { colStartEnd: '1/-1' }, children: _jsx(TextArea, { name: 'notes', required: notes.required, label: 'Meeting Notes', status: notes.status, info: notes.info || notes.help, onChange: (e) => setField({ ...e }), onBlur: (e) => setField({ ...e }) }, void 0) }, void 0), _jsx(Grid, { item: { colStartEnd: '1/-1' }, children: _jsx(RichTextEditor, { label: 'Detailed meeting notes', info: 'The rich text editor can be used in forms, comments, and documents', toolbar: [
87
- 'inline-styling',
88
- 'headers',
89
- 'tables',
90
- 'links',
91
- 'images',
92
- 'lists',
93
- 'cut-copy-paste',
94
- 'indentation'
95
- ], onImageAdded: onImageAdded, ref: editorRef }, void 0) }, void 0), _jsx(Grid, { item: { colStartEnd: '1/-1' }, children: _jsx(FileInputDemo, {}, void 0) }, void 0), _jsx(ComboboxFilterableStory, {}, void 0)] }, void 0) }, void 0));
96
- };
97
- //# sourceMappingURL=Form.mocks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Form.mocks.js","sourceRoot":"","sources":["../../../src/core/Form/Form.mocks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAsC,MAAM,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE3F,OAAO,EACL,MAAM,EACN,QAAQ,EACR,aAAa,EACb,IAAI,EAEJ,IAAI,EACJ,KAAK,EACL,WAAW,EACX,gBAAgB,EAChB,MAAM,EACN,MAAM,EACN,QAAQ,EACR,cAAc,EACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,MAAM,IAAI,cAAc,EAEzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,0DAA0D,CAAC;AACzF,OAAO,EAAE,sBAAsB,IAAI,uBAAuB,EAAE,MAAM,6DAA6D,CAAC;AAQhI,+BAA+B;AAC/B,MAAM,UAAU,GAAG,GAAY,EAAE;IAC/B,MAAM,MAAM,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IACvD,OAAO;QACL;YACE,GAAG,MAAM;YACT,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,kCAAkC;YACzC,SAAS;gBACP,IAAI,CAAC,IAAI,CAAC,KAAK;oBAAE,OAAO,KAAK,CAAC;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tB,WACF,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useReducer, ChangeEvent, FocusEvent, FormEvent, useRef, useContext } from 'react';\n\nimport {\n Button,\n Checkbox,\n CheckboxGroup,\n Form,\n FormControlProps,\n Grid,\n Input,\n RadioButton,\n RadioButtonGroup,\n Select,\n Option,\n TextArea,\n ToasterContext\n} from '@pega/cosmos-react-core';\nimport {\n Editor as RichTextEditor,\n EditorState as RichTextEditorState\n} from '@pega/cosmos-react-rte';\nimport { FileInputDemo } from '@pega/cosmos-react-demos/lib/core/File/FileInput.stories';\nimport { FilterableSingleSelect as ComboboxFilterableStory } from '@pega/cosmos-react-demos/lib/core/ComboBox/ComboBox.stories';\n\ninterface Field extends FormControlProps {\n help?: string;\n error?: string;\n validator: (this: Field) => boolean;\n}\n\n// Get initial field properties\nconst initFields = (): Field[] => {\n const common = { value: undefined, status: undefined };\n return [\n {\n ...common,\n name: 'name',\n required: true,\n error: 'Please enter first and last name',\n validator() {\n if (!this.value) return false;\n return /^[a-z]+\\s[a-z]+$/i.test(this.value);\n }\n },\n {\n ...common,\n name: 'email',\n required: true,\n error: 'Enter a @pega.com address',\n validator() {\n if (!this.value) return false;\n return /^\\S+@pega\\.com$/.test(this.value);\n }\n },\n {\n ...common,\n name: 'notes',\n required: true,\n help: 'See how fast you can type 20 characters…go',\n error: 'You need to tell us more than 20 characters',\n validator() {\n if (!this.value) return false;\n return this.value.length >= 20;\n }\n }\n ];\n};\n\n// Handles setting of state for all fields\nconst fieldReducer = (\n fields: Field[],\n {\n target,\n type\n }:\n | ChangeEvent<HTMLInputElement | HTMLTextAreaElement>\n | FocusEvent<HTMLInputElement | HTMLTextAreaElement>\n) => {\n return fields.map(field => {\n if (field.name === target.name) {\n field.value = target.value;\n if (type === 'blur' || field.status === 'error') {\n if ((field.required || field.value) && !field.validator()) {\n field.status = 'error';\n field.info = field.error;\n } else {\n field.status = undefined;\n field.info = field.help;\n }\n }\n }\n return field;\n });\n};\n\nexport const FormContent = ({\n cols,\n heading,\n description,\n showActions\n}: {\n cols: number;\n showActions: boolean;\n heading?: string;\n description?: string;\n}) => {\n const editorRef = useRef<RichTextEditorState>(null);\n const [fields, setField] = useReducer(fieldReducer, undefined, initFields);\n const { push } = useContext(ToasterContext);\n\n const name = fields.find(field => field.name === 'name');\n const email = fields.find(field => field.name === 'email');\n const notes = fields.find(field => field.name === 'notes');\n\n if (!name || !email || !notes) return null;\n\n const canSubmit = fields.every(field => field.value && field.validator());\n\n const actions = (\n <>\n <Button\n name='Cancel'\n variant='secondary'\n onClick={() => {\n push({ content: 'Form cancelled!' });\n }}\n >\n Cancel\n </Button>\n <Button name='Submit' type='submit' variant='primary' disabled={!canSubmit}>\n Submit\n </Button>\n </>\n );\n\n const onImageAdded = (image: File, id: string) => {\n const src = URL.createObjectURL(image);\n editorRef.current?.appendImage({ src, alt: image.name }, id);\n };\n return (\n <Form\n actions={showActions ? actions : undefined}\n description={description}\n heading={heading}\n onSubmit={(e: FormEvent) => {\n e.preventDefault();\n push({ content: 'Form submitted!' });\n }}\n style={{ margin: 'auto', maxWidth: '37.5rem' }}\n >\n <Grid container={{ gap: 1, cols: `repeat(${cols}, minmax(0, 1fr))` }}>\n <Input\n name='name'\n label='Name'\n value={name.value}\n required={name.required}\n status={name.status}\n info='some help text here'\n onChange={(e: ChangeEvent<HTMLInputElement>) => setField({ ...e })}\n onBlur={(e: FocusEvent<HTMLInputElement>) => setField({ ...e })}\n autoComplete='off'\n />\n\n <Input\n name='email'\n value={email.value}\n type='email'\n label='Email'\n required={email.required}\n status={email.status}\n info='some help text here'\n onChange={(e: ChangeEvent<HTMLInputElement>) => setField({ ...e })}\n onBlur={(e: FocusEvent<HTMLInputElement>) => setField({ ...e })}\n autoComplete='off'\n />\n\n <Grid item={{ colStartEnd: '1/-1' }}>\n <CheckboxGroup name='visited' label='Places you have worked'>\n {['Cambridge', 'Krakow', 'Hyderabad', 'Bangalore'].map(office => (\n <Checkbox\n key={office}\n label={office}\n onChange={(e: ChangeEvent<HTMLInputElement>) => setField({ ...e })}\n />\n ))}\n </CheckboxGroup>\n </Grid>\n\n <Grid item={{ colStartEnd: '1/-1' }}>\n <RadioButtonGroup name='meetings' label='Do you enjoy early morning meetings?'>\n {['Yes', \"No… no I don't\"].map(option => (\n <RadioButton\n key={option}\n label={option}\n onChange={(e: ChangeEvent<HTMLInputElement>) => setField({ ...e })}\n />\n ))}\n </RadioButtonGroup>\n </Grid>\n\n <Select label='What would you like to eat?' info='FYI: options are limited'>\n <Option>choose meal…</Option>\n <Option>Pizza</Option>\n <Option>Sandwich</Option>\n <Option>Salad</Option>\n </Select>\n\n <Grid item={{ colStartEnd: '1/-1' }}>\n <TextArea\n name='notes'\n required={notes.required}\n label='Meeting Notes'\n status={notes.status}\n info={notes.info || notes.help}\n onChange={(e: ChangeEvent<HTMLTextAreaElement>) => setField({ ...e })}\n onBlur={(e: FocusEvent<HTMLInputElement>) => setField({ ...e })}\n />\n </Grid>\n\n <Grid item={{ colStartEnd: '1/-1' }}>\n <RichTextEditor\n label='Detailed meeting notes'\n info='The rich text editor can be used in forms, comments, and documents'\n toolbar={[\n 'inline-styling',\n 'headers',\n 'tables',\n 'links',\n 'images',\n 'lists',\n 'cut-copy-paste',\n 'indentation'\n ]}\n onImageAdded={onImageAdded}\n ref={editorRef}\n />\n </Grid>\n <Grid item={{ colStartEnd: '1/-1' }}>\n <FileInputDemo />\n </Grid>\n <ComboboxFilterableStory />\n </Grid>\n </Form>\n );\n};\n"]}
@@ -1,14 +0,0 @@
1
- import { Meta, Story } from '@storybook/react';
2
- declare const _default: Meta<import("@storybook/react").Args>;
3
- export default _default;
4
- interface FormStoryProps {
5
- heading?: string;
6
- description?: string;
7
- }
8
- export declare const OneColumnForm: Story<FormStoryProps>;
9
- export declare const TwoColumnForm: Story<FormStoryProps>;
10
- export declare const ThreeColumnForm: Story<FormStoryProps>;
11
- export declare const SimpleFormDemo: Story<FormStoryProps & {
12
- withBanners?: boolean;
13
- }>;
14
- //# sourceMappingURL=Form.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Form.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Form/Form.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAO/C,wBAeU;AACV,UAAU,cAAc;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,cAAc,CAE/C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,cAAc,CAE/C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,cAAc,CAEjD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,cAAc,GAAG;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,CA+D5E,CAAC"}
@@ -1,52 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useState } from 'react';
3
- import { Banner, Button, Flex, Form, FormField, Input } from '@pega/cosmos-react-core';
4
- import { FormContent } from './Form.mocks';
5
- export default {
6
- title: 'Core/Form',
7
- component: Form,
8
- subcomponents: {
9
- FormField
10
- },
11
- includeStories: ['OneColumnForm', 'TwoColumnForm', 'ThreeColumnForm', 'SimpleFormDemo'],
12
- args: {
13
- heading: 'Form demo',
14
- description: ''
15
- },
16
- argTypes: {
17
- heading: { control: { type: 'text' } },
18
- description: { control: { type: 'text' } }
19
- }
20
- };
21
- export const OneColumnForm = (args) => {
22
- return _jsx(FormContent, { cols: 1, heading: args.heading, description: args.description, showActions: true }, void 0);
23
- };
24
- export const TwoColumnForm = (args) => {
25
- return _jsx(FormContent, { cols: 2, heading: args.heading, description: args.description, showActions: true }, void 0);
26
- };
27
- export const ThreeColumnForm = (args) => {
28
- return _jsx(FormContent, { cols: 3, heading: args.heading, description: args.description, showActions: true }, void 0);
29
- };
30
- export const SimpleFormDemo = (args) => {
31
- const [inputValue, setInputValue] = useState('');
32
- const [success, setSuccess] = useState('');
33
- 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));
34
- const successBanner = (_jsx(Banner, { id: 'success', variant: 'success', heading: 'Success', messages: ['Form submitted', `Input value: ${success}`] }, void 0));
35
- const errorBanner = (_jsx(Banner, { id: 'error', variant: 'urgent', heading: 'Error', messages: ['All required fields in the form must be completed.'] }, void 0));
36
- const banner = success ? successBanner : errorBanner;
37
- return (_jsx(Form, { banners: args.withBanners ? banner : undefined, actions: actions, heading: args.heading, description: args.description, onSubmit: (e) => {
38
- e.preventDefault();
39
- setSuccess(inputValue);
40
- setInputValue('');
41
- }, children: _jsx(Flex, { container: { direction: 'column', itemGap: 2 }, children: _jsx(Input, { label: 'Name', info: 'Enter your first name', required: true, value: inputValue, onChange: (e) => {
42
- setSuccess('');
43
- setInputValue(e.target.value);
44
- } }, void 0) }, void 0) }, void 0));
45
- };
46
- SimpleFormDemo.args = {
47
- withBanners: false
48
- };
49
- SimpleFormDemo.argTypes = {
50
- withBanners: { control: { type: 'boolean' } }
51
- };
52
- //# sourceMappingURL=Form.stories.js.map
@@ -1 +0,0 @@
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,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEvF,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,eAAe;IACb,KAAK,EAAE,WAAW;IAClB,SAAS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C,EAAE,YAClD,KAAC,KAAK,IACJ,KAAK,EAAC,MAAM,EACZ,IAAI,EAAC,uBAAuB,EAC5B,QAAQ,QACR,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,CAAC,CAAgC,EAAE,EAAE;oBAC7C,UAAU,CAAC,EAAE,CAAC,CAAC;oBACf,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;gBAChC,CAAC,WACD,WACG,WACF,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,cAAc,CAAC,IAAI,GAAG;IACpB,WAAW,EAAE,KAAK;CACnB,CAAC;AAEF,cAAc,CAAC,QAAQ,GAAG;IACxB,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC9C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { ChangeEvent, FormEvent, useState } from 'react';\n\nimport { Banner, Button, Flex, Form, FormField, Input } 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 includeStories: ['OneColumnForm', 'TwoColumnForm', 'ThreeColumnForm', 'SimpleFormDemo'],\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"]}
@@ -1,6 +0,0 @@
1
- export declare const StyledGridContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
- fitContent?: boolean | undefined;
3
- height?: number | undefined;
4
- }, never>;
5
- export declare const StyledGridItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
- //# sourceMappingURL=Grid.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Grid.styles.d.ts","sourceRoot":"","sources":["../../../src/core/Grid/Grid.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;SAiB/B,CAAC;AAIF,eAAO,MAAM,cAAc,yGAezB,CAAC"}
@@ -1,36 +0,0 @@
1
- import styled, { css } from 'styled-components';
2
- import { calculateFontSize, defaultThemeProp } from '@pega/cosmos-react-core';
3
- export const StyledGridContainer = styled.div(({ fitContent, height, theme }) => {
4
- return css `
5
- border: calc(0.5 * ${theme.base.spacing}) solid ${theme.base.colors.black};
6
- background-color: ${theme.base.colors.blue.light};
7
-
8
- ${height &&
9
- css `
10
- height: ${height}rem;
11
- `}
12
-
13
- ${fitContent &&
14
- css `
15
- width: fit-content;
16
- `}
17
- `;
18
- });
19
- StyledGridContainer.defaultProps = defaultThemeProp;
20
- export const StyledGridItem = styled.div(({ theme }) => {
21
- const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);
22
- return css `
23
- border: calc(0.5 * ${theme.base.spacing}) solid ${theme.base.colors.black};
24
- padding: ${theme.base.spacing};
25
- text-align: center;
26
- background-color: ${theme.base.colors.orange.light};
27
- color: ${theme.base.colors.black};
28
-
29
- span {
30
- font-size: ${fontSize.xl};
31
- font-weight: ${theme.base['font-weight'].bold};
32
- }
33
- `;
34
- });
35
- StyledGridItem.defaultProps = defaultThemeProp;
36
- //# sourceMappingURL=Grid.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Grid.styles.js","sourceRoot":"","sources":["../../../src/core/Grid/Grid.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE9E,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAC3C,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IAChC,OAAO,GAAG,CAAA;2BACa,KAAK,CAAC,IAAI,CAAC,OAAO,WAAW,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK;0BACrD,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK;;QAE9C,MAAM;QACR,GAAG,CAAA;kBACS,MAAM;OACjB;;QAEC,UAAU;QACZ,GAAG,CAAA;;OAEF;KACF,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,mBAAmB,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAEpD,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACrD,MAAM,QAAQ,GAAG,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAEtF,OAAO,GAAG,CAAA;yBACa,KAAK,CAAC,IAAI,CAAC,OAAO,WAAW,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK;eAC9D,KAAK,CAAC,IAAI,CAAC,OAAO;;wBAET,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK;aACzC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK;;;mBAGjB,QAAQ,CAAC,EAAE;qBACT,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,IAAI;;GAEhD,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,cAAc,CAAC,YAAY,GAAG,gBAAgB,CAAC","sourcesContent":["import styled, { css } from 'styled-components';\n\nimport { calculateFontSize, defaultThemeProp } from '@pega/cosmos-react-core';\n\nexport const StyledGridContainer = styled.div<{ fitContent?: boolean; height?: number }>(\n ({ fitContent, height, theme }) => {\n return css`\n border: calc(0.5 * ${theme.base.spacing}) solid ${theme.base.colors.black};\n background-color: ${theme.base.colors.blue.light};\n\n ${height &&\n css`\n height: ${height}rem;\n `}\n\n ${fitContent &&\n css`\n width: fit-content;\n `}\n `;\n }\n);\n\nStyledGridContainer.defaultProps = defaultThemeProp;\n\nexport const StyledGridItem = styled.div(({ theme }) => {\n const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n\n return css`\n border: calc(0.5 * ${theme.base.spacing}) solid ${theme.base.colors.black};\n padding: ${theme.base.spacing};\n text-align: center;\n background-color: ${theme.base.colors.orange.light};\n color: ${theme.base.colors.black};\n\n span {\n font-size: ${fontSize.xl};\n font-weight: ${theme.base['font-weight'].bold};\n }\n `;\n});\n\nStyledGridItem.defaultProps = defaultThemeProp;\n"]}
@@ -1,24 +0,0 @@
1
- /// <reference types="react" />
2
- import { Meta, Story } from '@storybook/react';
3
- import { GridContainerProps } from '@pega/cosmos-react-core';
4
- declare const _default: Meta<import("@storybook/react").Args>;
5
- export default _default;
6
- interface GridStoryProps {
7
- colGap?: GridContainerProps['colGap'];
8
- rowGap?: GridContainerProps['rowGap'];
9
- pad?: GridContainerProps['pad'];
10
- justifyItems?: GridContainerProps['justifyItems'];
11
- justifyContent?: GridContainerProps['justifyContent'];
12
- alignItems?: GridContainerProps['alignItems'];
13
- alignContent?: GridContainerProps['alignContent'];
14
- }
15
- export declare const ColumnsAndRows: () => JSX.Element;
16
- export declare const Areas: () => JSX.Element;
17
- export declare const Template: () => JSX.Element;
18
- export declare const GapsAndPadding: Story<GridStoryProps>;
19
- export declare const JustifyGridItems: Story<GridStoryProps>;
20
- export declare const JustifyGridContent: Story<GridStoryProps>;
21
- export declare const AlignGridItems: Story<GridStoryProps>;
22
- export declare const AlignGridContent: Story<GridStoryProps>;
23
- export declare const ResponsiveGrid: () => JSX.Element;
24
- //# sourceMappingURL=GridContainer.stories.d.ts.map
@@ -1 +0,0 @@
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,115 +0,0 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
- import { Grid, Text } from '@pega/cosmos-react-core';
3
- import { StyledGridContainer, StyledGridItem } from './Grid.styles';
4
- export default {
5
- title: 'Core/Grid/Container',
6
- component: Grid,
7
- parameters: {
8
- layout: 'fullscreen'
9
- }
10
- };
11
- export const ColumnsAndRows = () => {
12
- return (_jsx(Grid, { container: {
13
- cols: '7rem [line1] 1fr [line2] 3fr [line3]',
14
- rows: 'repeat(3, 3rem) auto',
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));
17
- };
18
- export const Areas = () => {
19
- return (_jsxs(Grid, { container: {
20
- cols: '5rem 1fr 3fr',
21
- rows: 'repeat(3, 3rem) auto',
22
- areas: '"sidebar header header" "sidebar . main" "sidebar . main" "sidebar footer footer"',
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));
25
- };
26
- export const Template = () => {
27
- const rowsAndAreas = '"sidebar header header" 3rem "sidebar . main" 3rem "sidebar . main" 3rem "sidebar footer footer" auto';
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));
30
- };
31
- export const GapsAndPadding = (args) => {
32
- return (_jsx(Grid, { container: {
33
- cols: '7rem 1fr 3fr',
34
- colGap: args.colGap,
35
- rows: 'repeat(3, 3rem) auto',
36
- rowGap: args.rowGap,
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));
39
- };
40
- GapsAndPadding.args = {
41
- pad: 1,
42
- colGap: 1,
43
- rowGap: 1
44
- };
45
- GapsAndPadding.argTypes = {
46
- pad: { control: { type: 'number' } },
47
- colGap: { control: { type: 'number' } },
48
- rowGap: { control: { type: 'number' } }
49
- };
50
- export const JustifyGridItems = (args) => {
51
- return (_jsx(Grid, { container: {
52
- cols: '7rem 1fr 3fr',
53
- rows: 'repeat(3, 3rem) auto',
54
- justifyItems: args.justifyItems,
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));
57
- };
58
- JustifyGridItems.args = {
59
- justifyItems: 'stretch'
60
- };
61
- JustifyGridItems.argTypes = {
62
- justifyItems: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }
63
- };
64
- export const JustifyGridContent = (args) => {
65
- return (_jsx(Grid, { container: {
66
- cols: 'repeat(3, 7rem)',
67
- rows: 'repeat(4, 3rem)',
68
- justifyContent: args.justifyContent,
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));
71
- };
72
- JustifyGridContent.args = {
73
- justifyContent: 'start'
74
- };
75
- JustifyGridContent.argTypes = {
76
- justifyContent: {
77
- options: ['start', 'end', 'center', 'around', 'between', 'evenly'],
78
- control: { type: 'select' }
79
- }
80
- };
81
- export const AlignGridItems = (args) => {
82
- return (_jsx(Grid, { container: {
83
- cols: '7rem 1fr 3fr',
84
- rows: 'repeat(3, 5rem) auto',
85
- alignItems: args.alignItems,
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));
88
- };
89
- AlignGridItems.args = {
90
- alignItems: 'stretch'
91
- };
92
- AlignGridItems.argTypes = {
93
- alignItems: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }
94
- };
95
- export const AlignGridContent = (args) => {
96
- return (_jsx(Grid, { container: {
97
- cols: 'repeat(3, 7rem)',
98
- rows: 'repeat(4, 3rem)',
99
- alignContent: args.alignContent,
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));
102
- };
103
- AlignGridContent.args = {
104
- alignContent: 'start'
105
- };
106
- AlignGridContent.argTypes = {
107
- alignContent: {
108
- options: ['start', 'end', 'center', 'around', 'between', 'evenly'],
109
- control: { type: 'select' }
110
- }
111
- };
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));
114
- };
115
- //# sourceMappingURL=GridContainer.stories.js.map
@@ -1 +0,0 @@
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,MAAC,IAAI,wBAAO,KAAK,YAAQ,IADN,WAAW,KAAK,EAAE,CAEtB,CAClB,CAAC,WACG,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,EAAE;IACxB,OAAO,CACL,MAAC,IAAI,IACH,SAAS,EAAE;YACT,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,sBAAsB;YAC5B,KAAK,EAAE,mFAAmF;YAC1F,GAAG,EAAE,CAAC;SACP,EACD,EAAE,EAAE,mBAAmB,EACvB,MAAM,EAAE,EAAE,aAEV,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AAE,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,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { Meta, Story } from '@storybook/react';
3
- import { GridItemProps } from '@pega/cosmos-react-core';
4
- declare const _default: Meta<import("@storybook/react").Args>;
5
- export default _default;
6
- interface GridStoryProps {
7
- justifySelf?: GridItemProps['justifySelf'];
8
- alignSelf?: GridItemProps['alignSelf'];
9
- }
10
- export declare const StartAndEnd: () => JSX.Element;
11
- export declare const JustifyGridSelf: Story<GridStoryProps>;
12
- export declare const AlignGridSelf: Story<GridStoryProps>;
13
- //# sourceMappingURL=GridItem.stories.d.ts.map
@@ -1 +0,0 @@
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,36 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Grid, Text } from '@pega/cosmos-react-core';
3
- import { StyledGridContainer, StyledGridItem } from './Grid.styles';
4
- export default {
5
- title: 'Core/Grid/Item',
6
- component: Grid,
7
- parameters: {
8
- layout: 'fullscreen'
9
- }
10
- };
11
- export const StartAndEnd = () => {
12
- return (_jsxs(Grid, { container: {
13
- cols: '[line0] 7rem [line1] 1fr [col2-end col3-start] 3fr [line3]',
14
- rows: 'repeat(3, 3rem) auto',
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));
17
- };
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));
20
- };
21
- JustifyGridSelf.args = {
22
- justifySelf: 'stretch'
23
- };
24
- JustifyGridSelf.argTypes = {
25
- justifySelf: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }
26
- };
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));
29
- };
30
- AlignGridSelf.args = {
31
- alignSelf: 'stretch'
32
- };
33
- AlignGridSelf.argTypes = {
34
- alignSelf: { options: ['stretch', 'start', 'center', 'end'], control: { type: 'select' } }
35
- };
36
- //# sourceMappingURL=GridItem.stories.js.map
@@ -1 +0,0 @@
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;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,iCAAc,WACd,EACP,KAAC,cAAc,cACb,KAAC,IAAI,iCAAc,WACJ,EACjB,KAAC,cAAc,cACb,KAAC,IAAI,iCAAc,WACJ,EACjB,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,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3E,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,3 +0,0 @@
1
- import { DefaultTheme } from 'styled-components';
2
- export declare const createCustomIcon: (theme: DefaultTheme) => void;
3
- //# sourceMappingURL=Icon.mocks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Icon.mocks.d.ts","sourceRoot":"","sources":["../../../src/core/Icon/Icon.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,eAAO,MAAM,gBAAgB,UAAW,YAAY,SAWnD,CAAC"}
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { registerIcon } from '@pega/cosmos-react-core';
3
- export const createCustomIcon = (theme) => {
4
- registerIcon({
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)),
7
- viewBox: '0 0 25 25'
8
- });
9
- };
10
- //# sourceMappingURL=Icon.mocks.js.map
@@ -1 +0,0 @@
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,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { Meta } from '@storybook/react';
3
- declare const _default: Meta<import("@storybook/react").Args>;
4
- 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;
9
- //# sourceMappingURL=Icon.stories.d.ts.map
@@ -1 +0,0 @@
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"}