@pega/cosmos-react-demos 6.5.3 → 6.6.1

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 (899) hide show
  1. package/lib/core/Form/Form.mocks.d.ts.map +1 -1
  2. package/lib/core/Form/Form.mocks.js +1 -1
  3. package/lib/core/Form/Form.mocks.js.map +1 -1
  4. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +1 -3
  5. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  6. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
  7. package/package.json +7 -7
  8. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +0 -3
  9. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +0 -1
  10. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +0 -15
  11. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +0 -1
  12. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +0 -19
  13. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +0 -1
  14. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +0 -297
  15. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +0 -1
  16. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +0 -5
  17. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +0 -1
  18. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +0 -15
  19. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +0 -1
  20. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts +0 -6
  21. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +0 -1
  22. package/jsx/condition-builder/ConditionBuilder/props.mock.js +0 -229
  23. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +0 -1
  24. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts +0 -10
  25. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +0 -1
  26. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx +0 -40
  27. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx.map +0 -1
  28. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +0 -4
  29. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +0 -1
  30. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js +0 -233
  31. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +0 -1
  32. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +0 -8
  33. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +0 -1
  34. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx +0 -31
  35. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx.map +0 -1
  36. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +0 -9
  37. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +0 -1
  38. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js +0 -35
  39. package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js.map +0 -1
  40. package/jsx/core/AIButton/AIButton.mocks.d.ts +0 -22
  41. package/jsx/core/AIButton/AIButton.mocks.d.ts.map +0 -1
  42. package/jsx/core/AIButton/AIButton.mocks.js +0 -136
  43. package/jsx/core/AIButton/AIButton.mocks.js.map +0 -1
  44. package/jsx/core/AIButton/AIButton.stories.d.ts +0 -23
  45. package/jsx/core/AIButton/AIButton.stories.d.ts.map +0 -1
  46. package/jsx/core/AIButton/AIButton.stories.jsx +0 -306
  47. package/jsx/core/AIButton/AIButton.stories.jsx.map +0 -1
  48. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +0 -9
  49. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +0 -1
  50. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx +0 -25
  51. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +0 -1
  52. package/jsx/core/AppShell/AppShell.mocks.d.ts +0 -15
  53. package/jsx/core/AppShell/AppShell.mocks.d.ts.map +0 -1
  54. package/jsx/core/AppShell/AppShell.mocks.jsx +0 -132
  55. package/jsx/core/AppShell/AppShell.mocks.jsx.map +0 -1
  56. package/jsx/core/AppShell/AppShell.stories.d.ts +0 -39
  57. package/jsx/core/AppShell/AppShell.stories.d.ts.map +0 -1
  58. package/jsx/core/AppShell/AppShell.stories.jsx +0 -266
  59. package/jsx/core/AppShell/AppShell.stories.jsx.map +0 -1
  60. package/jsx/core/AppShell/AppShell.styles.d.ts +0 -2
  61. package/jsx/core/AppShell/AppShell.styles.d.ts.map +0 -1
  62. package/jsx/core/AppShell/AppShell.styles.js +0 -5
  63. package/jsx/core/AppShell/AppShell.styles.js.map +0 -1
  64. package/jsx/core/Avatar/Avatar.stories.d.ts +0 -15
  65. package/jsx/core/Avatar/Avatar.stories.d.ts.map +0 -1
  66. package/jsx/core/Avatar/Avatar.stories.jsx +0 -75
  67. package/jsx/core/Avatar/Avatar.stories.jsx.map +0 -1
  68. package/jsx/core/Backdrop/Backdrop.stories.d.ts +0 -7
  69. package/jsx/core/Backdrop/Backdrop.stories.d.ts.map +0 -1
  70. package/jsx/core/Backdrop/Backdrop.stories.jsx +0 -43
  71. package/jsx/core/Backdrop/Backdrop.stories.jsx.map +0 -1
  72. package/jsx/core/Badges/Alert.stories.d.ts +0 -6
  73. package/jsx/core/Badges/Alert.stories.d.ts.map +0 -1
  74. package/jsx/core/Badges/Alert.stories.jsx +0 -15
  75. package/jsx/core/Badges/Alert.stories.jsx.map +0 -1
  76. package/jsx/core/Badges/Count.stories.d.ts +0 -6
  77. package/jsx/core/Badges/Count.stories.d.ts.map +0 -1
  78. package/jsx/core/Badges/Count.stories.jsx +0 -20
  79. package/jsx/core/Badges/Count.stories.jsx.map +0 -1
  80. package/jsx/core/Badges/Keyboard.stories.d.ts +0 -6
  81. package/jsx/core/Badges/Keyboard.stories.d.ts.map +0 -1
  82. package/jsx/core/Badges/Keyboard.stories.jsx +0 -17
  83. package/jsx/core/Badges/Keyboard.stories.jsx.map +0 -1
  84. package/jsx/core/Badges/Selection.stories.d.ts +0 -5
  85. package/jsx/core/Badges/Selection.stories.d.ts.map +0 -1
  86. package/jsx/core/Badges/Selection.stories.jsx +0 -9
  87. package/jsx/core/Badges/Selection.stories.jsx.map +0 -1
  88. package/jsx/core/Badges/Status.stories.d.ts +0 -11
  89. package/jsx/core/Badges/Status.stories.d.ts.map +0 -1
  90. package/jsx/core/Badges/Status.stories.jsx +0 -43
  91. package/jsx/core/Badges/Status.stories.jsx.map +0 -1
  92. package/jsx/core/Badges/Tag.stories.d.ts +0 -5
  93. package/jsx/core/Badges/Tag.stories.d.ts.map +0 -1
  94. package/jsx/core/Badges/Tag.stories.jsx +0 -9
  95. package/jsx/core/Badges/Tag.stories.jsx.map +0 -1
  96. package/jsx/core/Banner/Banner.mocks.d.ts +0 -18
  97. package/jsx/core/Banner/Banner.mocks.d.ts.map +0 -1
  98. package/jsx/core/Banner/Banner.mocks.jsx +0 -41
  99. package/jsx/core/Banner/Banner.mocks.jsx.map +0 -1
  100. package/jsx/core/Banner/Banner.stories.d.ts +0 -18
  101. package/jsx/core/Banner/Banner.stories.d.ts.map +0 -1
  102. package/jsx/core/Banner/Banner.stories.jsx +0 -156
  103. package/jsx/core/Banner/Banner.stories.jsx.map +0 -1
  104. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts +0 -6
  105. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts.map +0 -1
  106. package/jsx/core/Boolean/BooleanDisplay.stories.jsx +0 -19
  107. package/jsx/core/Boolean/BooleanDisplay.stories.jsx.map +0 -1
  108. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +0 -2
  109. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +0 -1
  110. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js +0 -8
  111. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js.map +0 -1
  112. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -11
  113. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
  114. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +0 -69
  115. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +0 -1
  116. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
  117. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts.map +0 -1
  118. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js +0 -12
  119. package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js.map +0 -1
  120. package/jsx/core/Button/Button.stories.d.ts +0 -18
  121. package/jsx/core/Button/Button.stories.d.ts.map +0 -1
  122. package/jsx/core/Button/Button.stories.jsx +0 -119
  123. package/jsx/core/Button/Button.stories.jsx.map +0 -1
  124. package/jsx/core/Card/Card.stories.d.ts +0 -12
  125. package/jsx/core/Card/Card.stories.d.ts.map +0 -1
  126. package/jsx/core/Card/Card.stories.jsx +0 -85
  127. package/jsx/core/Card/Card.stories.jsx.map +0 -1
  128. package/jsx/core/Card/Card.styles.d.ts +0 -2
  129. package/jsx/core/Card/Card.styles.d.ts.map +0 -1
  130. package/jsx/core/Card/Card.styles.js +0 -5
  131. package/jsx/core/Card/Card.styles.js.map +0 -1
  132. package/jsx/core/Checkbox/Checkbox.stories.d.ts +0 -23
  133. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +0 -1
  134. package/jsx/core/Checkbox/Checkbox.stories.jsx +0 -100
  135. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +0 -1
  136. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +0 -11
  137. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +0 -1
  138. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +0 -99
  139. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +0 -1
  140. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts +0 -4
  141. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +0 -1
  142. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js +0 -9
  143. package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js.map +0 -1
  144. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +0 -10
  145. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +0 -1
  146. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +0 -89
  147. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +0 -1
  148. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts +0 -4
  149. package/jsx/core/ColorPicker/ColorPicker.styles.d.ts.map +0 -1
  150. package/jsx/core/ColorPicker/ColorPicker.styles.js +0 -11
  151. package/jsx/core/ColorPicker/ColorPicker.styles.js.map +0 -1
  152. package/jsx/core/ComboBox/ComboBox.mocks.d.ts +0 -26
  153. package/jsx/core/ComboBox/ComboBox.mocks.d.ts.map +0 -1
  154. package/jsx/core/ComboBox/ComboBox.mocks.jsx +0 -58
  155. package/jsx/core/ComboBox/ComboBox.mocks.jsx.map +0 -1
  156. package/jsx/core/ComboBox/ComboBox.stories.d.ts +0 -24
  157. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +0 -1
  158. package/jsx/core/ComboBox/ComboBox.stories.jsx +0 -369
  159. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +0 -1
  160. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts +0 -8
  161. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts.map +0 -1
  162. package/jsx/core/CompositeInput/CompositeInput.mocks.jsx +0 -8
  163. package/jsx/core/CompositeInput/CompositeInput.mocks.jsx.map +0 -1
  164. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts +0 -9
  165. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +0 -1
  166. package/jsx/core/CompositeInput/CompositeInput.stories.jsx +0 -52
  167. package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +0 -1
  168. package/jsx/core/Configuration/Configuration.mocks.d.ts +0 -7
  169. package/jsx/core/Configuration/Configuration.mocks.d.ts.map +0 -1
  170. package/jsx/core/Configuration/Configuration.mocks.jsx +0 -9
  171. package/jsx/core/Configuration/Configuration.mocks.jsx.map +0 -1
  172. package/jsx/core/Configuration/Configuration.stories.d.ts +0 -25
  173. package/jsx/core/Configuration/Configuration.stories.d.ts.map +0 -1
  174. package/jsx/core/Configuration/Configuration.stories.jsx +0 -196
  175. package/jsx/core/Configuration/Configuration.stories.jsx.map +0 -1
  176. package/jsx/core/Configuration/Configuration.styles.d.ts +0 -6
  177. package/jsx/core/Configuration/Configuration.styles.d.ts.map +0 -1
  178. package/jsx/core/Configuration/Configuration.styles.js +0 -12
  179. package/jsx/core/Configuration/Configuration.styles.js.map +0 -1
  180. package/jsx/core/CreditCard/CreditCard.stories.d.ts +0 -14
  181. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +0 -1
  182. package/jsx/core/CreditCard/CreditCard.stories.jsx +0 -50
  183. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +0 -1
  184. package/jsx/core/Currency/Currency.stories.d.ts +0 -19
  185. package/jsx/core/Currency/Currency.stories.d.ts.map +0 -1
  186. package/jsx/core/Currency/Currency.stories.jsx +0 -105
  187. package/jsx/core/Currency/Currency.stories.jsx.map +0 -1
  188. package/jsx/core/DangerButton/DangerButton.stories.d.ts +0 -6
  189. package/jsx/core/DangerButton/DangerButton.stories.d.ts.map +0 -1
  190. package/jsx/core/DangerButton/DangerButton.stories.jsx +0 -17
  191. package/jsx/core/DangerButton/DangerButton.stories.jsx.map +0 -1
  192. package/jsx/core/DateTime/DateTime.stories.d.ts +0 -51
  193. package/jsx/core/DateTime/DateTime.stories.d.ts.map +0 -1
  194. package/jsx/core/DateTime/DateTime.stories.jsx +0 -291
  195. package/jsx/core/DateTime/DateTime.stories.jsx.map +0 -1
  196. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts +0 -7
  197. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +0 -1
  198. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +0 -54
  199. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +0 -1
  200. package/jsx/core/DateTime/DateTimePicker.stories.d.ts +0 -7
  201. package/jsx/core/DateTime/DateTimePicker.stories.d.ts.map +0 -1
  202. package/jsx/core/DateTime/DateTimePicker.stories.jsx +0 -34
  203. package/jsx/core/DateTime/DateTimePicker.stories.jsx.map +0 -1
  204. package/jsx/core/Dialog/Dialog.stories.d.ts +0 -7
  205. package/jsx/core/Dialog/Dialog.stories.d.ts.map +0 -1
  206. package/jsx/core/Dialog/Dialog.stories.jsx +0 -15
  207. package/jsx/core/Dialog/Dialog.stories.jsx.map +0 -1
  208. package/jsx/core/Dialog/FormDialog.mocks.d.ts +0 -27
  209. package/jsx/core/Dialog/FormDialog.mocks.d.ts.map +0 -1
  210. package/jsx/core/Dialog/FormDialog.mocks.jsx +0 -194
  211. package/jsx/core/Dialog/FormDialog.mocks.jsx.map +0 -1
  212. package/jsx/core/Dialog/InfoDialog.mocks.d.ts +0 -4
  213. package/jsx/core/Dialog/InfoDialog.mocks.d.ts.map +0 -1
  214. package/jsx/core/Dialog/InfoDialog.mocks.jsx +0 -64
  215. package/jsx/core/Dialog/InfoDialog.mocks.jsx.map +0 -1
  216. package/jsx/core/Drawer/Drawer.stories.d.ts +0 -7
  217. package/jsx/core/Drawer/Drawer.stories.d.ts.map +0 -1
  218. package/jsx/core/Drawer/Drawer.stories.jsx +0 -98
  219. package/jsx/core/Drawer/Drawer.stories.jsx.map +0 -1
  220. package/jsx/core/Drawer/Drawer.styles.d.ts +0 -2
  221. package/jsx/core/Drawer/Drawer.styles.d.ts.map +0 -1
  222. package/jsx/core/Drawer/Drawer.styles.js +0 -11
  223. package/jsx/core/Drawer/Drawer.styles.js.map +0 -1
  224. package/jsx/core/Email/EmailDisplay.stories.d.ts +0 -6
  225. package/jsx/core/Email/EmailDisplay.stories.d.ts.map +0 -1
  226. package/jsx/core/Email/EmailDisplay.stories.jsx +0 -19
  227. package/jsx/core/Email/EmailDisplay.stories.jsx.map +0 -1
  228. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts +0 -8
  229. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts.map +0 -1
  230. package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx +0 -53
  231. package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx.map +0 -1
  232. package/jsx/core/EmptyState/EmptyState.stories.d.ts +0 -6
  233. package/jsx/core/EmptyState/EmptyState.stories.d.ts.map +0 -1
  234. package/jsx/core/EmptyState/EmptyState.stories.jsx +0 -18
  235. package/jsx/core/EmptyState/EmptyState.stories.jsx.map +0 -1
  236. package/jsx/core/ErrorState/ErrorState.stories.d.ts +0 -9
  237. package/jsx/core/ErrorState/ErrorState.stories.d.ts.map +0 -1
  238. package/jsx/core/ErrorState/ErrorState.stories.jsx +0 -20
  239. package/jsx/core/ErrorState/ErrorState.stories.jsx.map +0 -1
  240. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts +0 -7
  241. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +0 -1
  242. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx +0 -73
  243. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx.map +0 -1
  244. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts +0 -4
  245. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts.map +0 -1
  246. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js +0 -17
  247. package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js.map +0 -1
  248. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +0 -20
  249. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +0 -1
  250. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +0 -93
  251. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +0 -1
  252. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +0 -25
  253. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +0 -1
  254. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +0 -109
  255. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +0 -1
  256. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +0 -12
  257. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +0 -1
  258. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +0 -134
  259. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +0 -1
  260. package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts +0 -20
  261. package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts.map +0 -1
  262. package/jsx/core/FieldValueList/FieldValueList.mocks.jsx +0 -54
  263. package/jsx/core/FieldValueList/FieldValueList.mocks.jsx.map +0 -1
  264. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +0 -11
  265. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +0 -1
  266. package/jsx/core/FieldValueList/FieldValueList.stories.jsx +0 -37
  267. package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +0 -1
  268. package/jsx/core/FieldValueList/FieldValueList.styles.d.ts +0 -2
  269. package/jsx/core/FieldValueList/FieldValueList.styles.d.ts.map +0 -1
  270. package/jsx/core/FieldValueList/FieldValueList.styles.js +0 -8
  271. package/jsx/core/FieldValueList/FieldValueList.styles.js.map +0 -1
  272. package/jsx/core/File/FileDisplay.stories.d.ts +0 -20
  273. package/jsx/core/File/FileDisplay.stories.d.ts.map +0 -1
  274. package/jsx/core/File/FileDisplay.stories.jsx +0 -140
  275. package/jsx/core/File/FileDisplay.stories.jsx.map +0 -1
  276. package/jsx/core/File/FileInput.stories.d.ts +0 -10
  277. package/jsx/core/File/FileInput.stories.d.ts.map +0 -1
  278. package/jsx/core/File/FileInput.stories.jsx +0 -103
  279. package/jsx/core/File/FileInput.stories.jsx.map +0 -1
  280. package/jsx/core/File/FileService.mock.d.ts +0 -28
  281. package/jsx/core/File/FileService.mock.d.ts.map +0 -1
  282. package/jsx/core/File/FileService.mock.jsx +0 -139
  283. package/jsx/core/File/FileService.mock.jsx.map +0 -1
  284. package/jsx/core/File/MockFileInput.d.ts +0 -6
  285. package/jsx/core/File/MockFileInput.d.ts.map +0 -1
  286. package/jsx/core/File/MockFileInput.jsx +0 -24
  287. package/jsx/core/File/MockFileInput.jsx.map +0 -1
  288. package/jsx/core/Flex/Flex.styles.d.ts +0 -10
  289. package/jsx/core/Flex/Flex.styles.d.ts.map +0 -1
  290. package/jsx/core/Flex/Flex.styles.js +0 -41
  291. package/jsx/core/Flex/Flex.styles.js.map +0 -1
  292. package/jsx/core/Flex/FlexContainer.stories.d.ts +0 -21
  293. package/jsx/core/Flex/FlexContainer.stories.d.ts.map +0 -1
  294. package/jsx/core/Flex/FlexContainer.stories.jsx +0 -164
  295. package/jsx/core/Flex/FlexContainer.stories.jsx.map +0 -1
  296. package/jsx/core/Flex/FlexItem.stories.d.ts +0 -13
  297. package/jsx/core/Flex/FlexItem.stories.d.ts.map +0 -1
  298. package/jsx/core/Flex/FlexItem.stories.jsx +0 -71
  299. package/jsx/core/Flex/FlexItem.stories.jsx.map +0 -1
  300. package/jsx/core/Form/Form.mocks.d.ts +0 -14
  301. package/jsx/core/Form/Form.mocks.d.ts.map +0 -1
  302. package/jsx/core/Form/Form.mocks.jsx +0 -265
  303. package/jsx/core/Form/Form.mocks.jsx.map +0 -1
  304. package/jsx/core/Form/Form.stories.d.ts +0 -25
  305. package/jsx/core/Form/Form.stories.d.ts.map +0 -1
  306. package/jsx/core/Form/Form.stories.jsx +0 -106
  307. package/jsx/core/Form/Form.stories.jsx.map +0 -1
  308. package/jsx/core/Grid/Grid.styles.d.ts +0 -6
  309. package/jsx/core/Grid/Grid.styles.d.ts.map +0 -1
  310. package/jsx/core/Grid/Grid.styles.js +0 -36
  311. package/jsx/core/Grid/Grid.styles.js.map +0 -1
  312. package/jsx/core/Grid/GridContainer.stories.d.ts +0 -23
  313. package/jsx/core/Grid/GridContainer.stories.d.ts.map +0 -1
  314. package/jsx/core/Grid/GridContainer.stories.jsx +0 -168
  315. package/jsx/core/Grid/GridContainer.stories.jsx.map +0 -1
  316. package/jsx/core/Grid/GridItem.stories.d.ts +0 -12
  317. package/jsx/core/Grid/GridItem.stories.d.ts.map +0 -1
  318. package/jsx/core/Grid/GridItem.stories.jsx +0 -74
  319. package/jsx/core/Grid/GridItem.stories.jsx.map +0 -1
  320. package/jsx/core/HTML/HTML.stories.d.ts +0 -6
  321. package/jsx/core/HTML/HTML.stories.d.ts.map +0 -1
  322. package/jsx/core/HTML/HTML.stories.jsx +0 -13
  323. package/jsx/core/HTML/HTML.stories.jsx.map +0 -1
  324. package/jsx/core/Icon/Icon.mocks.d.ts +0 -26
  325. package/jsx/core/Icon/Icon.mocks.d.ts.map +0 -1
  326. package/jsx/core/Icon/Icon.mocks.jsx +0 -32
  327. package/jsx/core/Icon/Icon.mocks.jsx.map +0 -1
  328. package/jsx/core/Icon/Icon.stories.d.ts +0 -21
  329. package/jsx/core/Icon/Icon.stories.d.ts.map +0 -1
  330. package/jsx/core/Icon/Icon.stories.jsx +0 -112
  331. package/jsx/core/Icon/Icon.stories.jsx.map +0 -1
  332. package/jsx/core/Icon/Icon.styles.d.ts +0 -4
  333. package/jsx/core/Icon/Icon.styles.d.ts.map +0 -1
  334. package/jsx/core/Icon/Icon.styles.js +0 -25
  335. package/jsx/core/Icon/Icon.styles.js.map +0 -1
  336. package/jsx/core/IconPicker/IconPicker.stories.d.ts +0 -6
  337. package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +0 -1
  338. package/jsx/core/IconPicker/IconPicker.stories.jsx +0 -35
  339. package/jsx/core/IconPicker/IconPicker.stories.jsx.map +0 -1
  340. package/jsx/core/Image/Image.stories.d.ts +0 -5
  341. package/jsx/core/Image/Image.stories.d.ts.map +0 -1
  342. package/jsx/core/Image/Image.stories.jsx +0 -9
  343. package/jsx/core/Image/Image.stories.jsx.map +0 -1
  344. package/jsx/core/Input/Input.stories.d.ts +0 -20
  345. package/jsx/core/Input/Input.stories.d.ts.map +0 -1
  346. package/jsx/core/Input/Input.stories.jsx +0 -159
  347. package/jsx/core/Input/Input.stories.jsx.map +0 -1
  348. package/jsx/core/Label/Label.stories.d.ts +0 -10
  349. package/jsx/core/Label/Label.stories.d.ts.map +0 -1
  350. package/jsx/core/Label/Label.stories.jsx +0 -33
  351. package/jsx/core/Label/Label.stories.jsx.map +0 -1
  352. package/jsx/core/Lightbox/Lightbox.mocks.d.ts +0 -22
  353. package/jsx/core/Lightbox/Lightbox.mocks.d.ts.map +0 -1
  354. package/jsx/core/Lightbox/Lightbox.mocks.js +0 -97
  355. package/jsx/core/Lightbox/Lightbox.mocks.js.map +0 -1
  356. package/jsx/core/Lightbox/Lightbox.stories.d.ts +0 -10
  357. package/jsx/core/Lightbox/Lightbox.stories.d.ts.map +0 -1
  358. package/jsx/core/Lightbox/Lightbox.stories.jsx +0 -70
  359. package/jsx/core/Lightbox/Lightbox.stories.jsx.map +0 -1
  360. package/jsx/core/Link/Link.stories.d.ts +0 -13
  361. package/jsx/core/Link/Link.stories.d.ts.map +0 -1
  362. package/jsx/core/Link/Link.stories.jsx +0 -43
  363. package/jsx/core/Link/Link.stories.jsx.map +0 -1
  364. package/jsx/core/List/CommaSeparatedList.stories.d.ts +0 -6
  365. package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +0 -1
  366. package/jsx/core/List/CommaSeparatedList.stories.jsx +0 -31
  367. package/jsx/core/List/CommaSeparatedList.stories.jsx.map +0 -1
  368. package/jsx/core/List/OrderedList.stories.d.ts +0 -10
  369. package/jsx/core/List/OrderedList.stories.d.ts.map +0 -1
  370. package/jsx/core/List/OrderedList.stories.jsx +0 -38
  371. package/jsx/core/List/OrderedList.stories.jsx.map +0 -1
  372. package/jsx/core/List/UnorderedList.stories.d.ts +0 -10
  373. package/jsx/core/List/UnorderedList.stories.d.ts.map +0 -1
  374. package/jsx/core/List/UnorderedList.stories.jsx +0 -38
  375. package/jsx/core/List/UnorderedList.stories.jsx.map +0 -1
  376. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +0 -9
  377. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +0 -1
  378. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +0 -58
  379. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +0 -1
  380. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +0 -17
  381. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +0 -1
  382. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +0 -141
  383. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +0 -1
  384. package/jsx/core/LiveLog/LiveLog.mocks.d.ts +0 -5
  385. package/jsx/core/LiveLog/LiveLog.mocks.d.ts.map +0 -1
  386. package/jsx/core/LiveLog/LiveLog.mocks.jsx +0 -47
  387. package/jsx/core/LiveLog/LiveLog.mocks.jsx.map +0 -1
  388. package/jsx/core/LiveLog/LiveLog.stories.d.ts +0 -9
  389. package/jsx/core/LiveLog/LiveLog.stories.d.ts.map +0 -1
  390. package/jsx/core/LiveLog/LiveLog.stories.jsx +0 -19
  391. package/jsx/core/LiveLog/LiveLog.stories.jsx.map +0 -1
  392. package/jsx/core/Location/Location.stories.d.ts +0 -15
  393. package/jsx/core/Location/Location.stories.d.ts.map +0 -1
  394. package/jsx/core/Location/Location.stories.jsx +0 -142
  395. package/jsx/core/Location/Location.stories.jsx.map +0 -1
  396. package/jsx/core/Location/locationTestUtils.d.ts +0 -3
  397. package/jsx/core/Location/locationTestUtils.d.ts.map +0 -1
  398. package/jsx/core/Location/locationTestUtils.js +0 -29
  399. package/jsx/core/Location/locationTestUtils.js.map +0 -1
  400. package/jsx/core/Menu/Menu.mocks.d.ts +0 -4
  401. package/jsx/core/Menu/Menu.mocks.d.ts.map +0 -1
  402. package/jsx/core/Menu/Menu.mocks.js +0 -179
  403. package/jsx/core/Menu/Menu.mocks.js.map +0 -1
  404. package/jsx/core/Menu/Menu.stories.d.ts +0 -18
  405. package/jsx/core/Menu/Menu.stories.d.ts.map +0 -1
  406. package/jsx/core/Menu/Menu.stories.jsx +0 -196
  407. package/jsx/core/Menu/Menu.stories.jsx.map +0 -1
  408. package/jsx/core/Menu/Menu.styles.d.ts +0 -2
  409. package/jsx/core/Menu/Menu.styles.d.ts.map +0 -1
  410. package/jsx/core/Menu/Menu.styles.js +0 -6
  411. package/jsx/core/Menu/Menu.styles.js.map +0 -1
  412. package/jsx/core/MenuButton/MenuButton.stories.d.ts +0 -16
  413. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +0 -1
  414. package/jsx/core/MenuButton/MenuButton.stories.jsx +0 -188
  415. package/jsx/core/MenuButton/MenuButton.stories.jsx.map +0 -1
  416. package/jsx/core/MetaList/MetaList.stories.d.ts +0 -9
  417. package/jsx/core/MetaList/MetaList.stories.d.ts.map +0 -1
  418. package/jsx/core/MetaList/MetaList.stories.jsx +0 -24
  419. package/jsx/core/MetaList/MetaList.stories.jsx.map +0 -1
  420. package/jsx/core/Modal/Modal.mocks.d.ts +0 -4
  421. package/jsx/core/Modal/Modal.mocks.d.ts.map +0 -1
  422. package/jsx/core/Modal/Modal.mocks.jsx +0 -44
  423. package/jsx/core/Modal/Modal.mocks.jsx.map +0 -1
  424. package/jsx/core/Modal/Modal.stories.d.ts +0 -36
  425. package/jsx/core/Modal/Modal.stories.d.ts.map +0 -1
  426. package/jsx/core/Modal/Modal.stories.jsx +0 -332
  427. package/jsx/core/Modal/Modal.stories.jsx.map +0 -1
  428. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +0 -70
  429. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +0 -1
  430. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx +0 -401
  431. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +0 -1
  432. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +0 -7
  433. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +0 -1
  434. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx +0 -133
  435. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +0 -1
  436. package/jsx/core/NoValue/NoValue.stories.d.ts +0 -6
  437. package/jsx/core/NoValue/NoValue.stories.d.ts.map +0 -1
  438. package/jsx/core/NoValue/NoValue.stories.jsx +0 -30
  439. package/jsx/core/NoValue/NoValue.stories.jsx.map +0 -1
  440. package/jsx/core/Number/Number.stories.d.ts +0 -19
  441. package/jsx/core/Number/Number.stories.d.ts.map +0 -1
  442. package/jsx/core/Number/Number.stories.jsx +0 -303
  443. package/jsx/core/Number/Number.stories.jsx.map +0 -1
  444. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +0 -3
  445. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  446. package/jsx/core/PageTemplates/PageTemplates.mocks.js +0 -10
  447. package/jsx/core/PageTemplates/PageTemplates.mocks.js.map +0 -1
  448. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +0 -33
  449. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  450. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +0 -287
  451. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +0 -1
  452. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +0 -5
  453. package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +0 -1
  454. package/jsx/core/PageTemplates/PageTemplates.styles.js +0 -40
  455. package/jsx/core/PageTemplates/PageTemplates.styles.js.map +0 -1
  456. package/jsx/core/Pagination/Pagination.stories.d.ts +0 -6
  457. package/jsx/core/Pagination/Pagination.stories.d.ts.map +0 -1
  458. package/jsx/core/Pagination/Pagination.stories.jsx +0 -19
  459. package/jsx/core/Pagination/Pagination.stories.jsx.map +0 -1
  460. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts +0 -6
  461. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts.map +0 -1
  462. package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx +0 -15
  463. package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx.map +0 -1
  464. package/jsx/core/Phone/Phone.stories.d.ts +0 -13
  465. package/jsx/core/Phone/Phone.stories.d.ts.map +0 -1
  466. package/jsx/core/Phone/Phone.stories.jsx +0 -52
  467. package/jsx/core/Phone/Phone.stories.jsx.map +0 -1
  468. package/jsx/core/Popover/Popover.mocks.d.ts +0 -9
  469. package/jsx/core/Popover/Popover.mocks.d.ts.map +0 -1
  470. package/jsx/core/Popover/Popover.mocks.jsx +0 -114
  471. package/jsx/core/Popover/Popover.mocks.jsx.map +0 -1
  472. package/jsx/core/Popover/Popover.stories.d.ts +0 -13
  473. package/jsx/core/Popover/Popover.stories.d.ts.map +0 -1
  474. package/jsx/core/Popover/Popover.stories.jsx +0 -209
  475. package/jsx/core/Popover/Popover.stories.jsx.map +0 -1
  476. package/jsx/core/Progress/Progress.mocks.d.ts +0 -2
  477. package/jsx/core/Progress/Progress.mocks.d.ts.map +0 -1
  478. package/jsx/core/Progress/Progress.mocks.js +0 -2
  479. package/jsx/core/Progress/Progress.mocks.js.map +0 -1
  480. package/jsx/core/Progress/Progress.stories.d.ts +0 -16
  481. package/jsx/core/Progress/Progress.stories.d.ts.map +0 -1
  482. package/jsx/core/Progress/Progress.stories.jsx +0 -124
  483. package/jsx/core/Progress/Progress.stories.jsx.map +0 -1
  484. package/jsx/core/Progress/Progress.styles.d.ts +0 -2
  485. package/jsx/core/Progress/Progress.styles.d.ts.map +0 -1
  486. package/jsx/core/Progress/Progress.styles.js +0 -14
  487. package/jsx/core/Progress/Progress.styles.js.map +0 -1
  488. package/jsx/core/QRCode/QRCode.stories.d.ts +0 -9
  489. package/jsx/core/QRCode/QRCode.stories.d.ts.map +0 -1
  490. package/jsx/core/QRCode/QRCode.stories.jsx +0 -17
  491. package/jsx/core/QRCode/QRCode.stories.jsx.map +0 -1
  492. package/jsx/core/RadioButton/RadioButton.stories.d.ts +0 -23
  493. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +0 -1
  494. package/jsx/core/RadioButton/RadioButton.stories.jsx +0 -95
  495. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +0 -1
  496. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +0 -14
  497. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +0 -1
  498. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +0 -101
  499. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +0 -1
  500. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +0 -4
  501. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +0 -1
  502. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js +0 -9
  503. package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js.map +0 -1
  504. package/jsx/core/Rating/Rating.stories.d.ts +0 -13
  505. package/jsx/core/Rating/Rating.stories.d.ts.map +0 -1
  506. package/jsx/core/Rating/Rating.stories.jsx +0 -39
  507. package/jsx/core/Rating/Rating.stories.jsx.map +0 -1
  508. package/jsx/core/SearchInput/SearchInput.mocks.d.ts +0 -12
  509. package/jsx/core/SearchInput/SearchInput.mocks.d.ts.map +0 -1
  510. package/jsx/core/SearchInput/SearchInput.mocks.js +0 -25
  511. package/jsx/core/SearchInput/SearchInput.mocks.js.map +0 -1
  512. package/jsx/core/SearchInput/SearchInput.stories.d.ts +0 -7
  513. package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +0 -1
  514. package/jsx/core/SearchInput/SearchInput.stories.jsx +0 -44
  515. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +0 -1
  516. package/jsx/core/Select/Select.stories.d.ts +0 -18
  517. package/jsx/core/Select/Select.stories.d.ts.map +0 -1
  518. package/jsx/core/Select/Select.stories.jsx +0 -83
  519. package/jsx/core/Select/Select.stories.jsx.map +0 -1
  520. package/jsx/core/Sentiment/Sentiment.stories.d.ts +0 -20
  521. package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +0 -1
  522. package/jsx/core/Sentiment/Sentiment.stories.jsx +0 -71
  523. package/jsx/core/Sentiment/Sentiment.stories.jsx.map +0 -1
  524. package/jsx/core/SkipLinks/SkipLinks.stories.d.ts +0 -6
  525. package/jsx/core/SkipLinks/SkipLinks.stories.d.ts.map +0 -1
  526. package/jsx/core/SkipLinks/SkipLinks.stories.jsx +0 -29
  527. package/jsx/core/SkipLinks/SkipLinks.stories.jsx.map +0 -1
  528. package/jsx/core/SkipLinks/SkipLinks.styles.d.ts +0 -2
  529. package/jsx/core/SkipLinks/SkipLinks.styles.d.ts.map +0 -1
  530. package/jsx/core/SkipLinks/SkipLinks.styles.js +0 -16
  531. package/jsx/core/SkipLinks/SkipLinks.styles.js.map +0 -1
  532. package/jsx/core/Slider/Slider.stories.d.ts +0 -13
  533. package/jsx/core/Slider/Slider.stories.d.ts.map +0 -1
  534. package/jsx/core/Slider/Slider.stories.jsx +0 -78
  535. package/jsx/core/Slider/Slider.stories.jsx.map +0 -1
  536. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +0 -11
  537. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +0 -1
  538. package/jsx/core/SummaryItem/SummaryItem.stories.jsx +0 -36
  539. package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +0 -1
  540. package/jsx/core/SummaryList/SummaryList.mocks.d.ts +0 -20
  541. package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +0 -1
  542. package/jsx/core/SummaryList/SummaryList.mocks.jsx +0 -48
  543. package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +0 -1
  544. package/jsx/core/SummaryList/SummaryList.stories.d.ts +0 -13
  545. package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +0 -1
  546. package/jsx/core/SummaryList/SummaryList.stories.jsx +0 -131
  547. package/jsx/core/SummaryList/SummaryList.stories.jsx.map +0 -1
  548. package/jsx/core/SummaryList/mockUsers.d.ts +0 -16
  549. package/jsx/core/SummaryList/mockUsers.d.ts.map +0 -1
  550. package/jsx/core/SummaryList/mockUsers.js +0 -904
  551. package/jsx/core/SummaryList/mockUsers.js.map +0 -1
  552. package/jsx/core/Switch/Switch.stories.d.ts +0 -14
  553. package/jsx/core/Switch/Switch.stories.d.ts.map +0 -1
  554. package/jsx/core/Switch/Switch.stories.jsx +0 -60
  555. package/jsx/core/Switch/Switch.stories.jsx.map +0 -1
  556. package/jsx/core/Switch/Switch.styles.d.ts +0 -2
  557. package/jsx/core/Switch/Switch.styles.d.ts.map +0 -1
  558. package/jsx/core/Switch/Switch.styles.js +0 -13
  559. package/jsx/core/Switch/Switch.styles.js.map +0 -1
  560. package/jsx/core/Table/Table.mocks.d.ts +0 -25
  561. package/jsx/core/Table/Table.mocks.d.ts.map +0 -1
  562. package/jsx/core/Table/Table.mocks.jsx +0 -166
  563. package/jsx/core/Table/Table.mocks.jsx.map +0 -1
  564. package/jsx/core/Table/Table.stories.d.ts +0 -39
  565. package/jsx/core/Table/Table.stories.d.ts.map +0 -1
  566. package/jsx/core/Table/Table.stories.jsx +0 -178
  567. package/jsx/core/Table/Table.stories.jsx.map +0 -1
  568. package/jsx/core/Table/Table.styles.d.ts +0 -4
  569. package/jsx/core/Table/Table.styles.d.ts.map +0 -1
  570. package/jsx/core/Table/Table.styles.js +0 -9
  571. package/jsx/core/Table/Table.styles.js.map +0 -1
  572. package/jsx/core/Tabs/Tabs.stories.d.ts +0 -9
  573. package/jsx/core/Tabs/Tabs.stories.d.ts.map +0 -1
  574. package/jsx/core/Tabs/Tabs.stories.jsx +0 -59
  575. package/jsx/core/Tabs/Tabs.stories.jsx.map +0 -1
  576. package/jsx/core/Text/Text.stories.d.ts +0 -25
  577. package/jsx/core/Text/Text.stories.d.ts.map +0 -1
  578. package/jsx/core/Text/Text.stories.jsx +0 -134
  579. package/jsx/core/Text/Text.stories.jsx.map +0 -1
  580. package/jsx/core/TextArea/TextArea.stories.d.ts +0 -14
  581. package/jsx/core/TextArea/TextArea.stories.d.ts.map +0 -1
  582. package/jsx/core/TextArea/TextArea.stories.jsx +0 -71
  583. package/jsx/core/TextArea/TextArea.stories.jsx.map +0 -1
  584. package/jsx/core/Toaster/Toaster.stories.d.ts +0 -5
  585. package/jsx/core/Toaster/Toaster.stories.d.ts.map +0 -1
  586. package/jsx/core/Toaster/Toaster.stories.jsx +0 -27
  587. package/jsx/core/Toaster/Toaster.stories.jsx.map +0 -1
  588. package/jsx/core/Tooltip/Tooltip.stories.d.ts +0 -11
  589. package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +0 -1
  590. package/jsx/core/Tooltip/Tooltip.stories.jsx +0 -66
  591. package/jsx/core/Tooltip/Tooltip.stories.jsx.map +0 -1
  592. package/jsx/core/Tooltip/Tooltip.styles.d.ts +0 -2
  593. package/jsx/core/Tooltip/Tooltip.styles.d.ts.map +0 -1
  594. package/jsx/core/Tooltip/Tooltip.styles.js +0 -23
  595. package/jsx/core/Tooltip/Tooltip.styles.js.map +0 -1
  596. package/jsx/core/Tree/Tree.mocks.d.ts +0 -2
  597. package/jsx/core/Tree/Tree.mocks.d.ts.map +0 -1
  598. package/jsx/core/Tree/Tree.mocks.js +0 -20
  599. package/jsx/core/Tree/Tree.mocks.js.map +0 -1
  600. package/jsx/core/Tree/Tree.stories.d.ts +0 -7
  601. package/jsx/core/Tree/Tree.stories.d.ts.map +0 -1
  602. package/jsx/core/Tree/Tree.stories.jsx +0 -95
  603. package/jsx/core/Tree/Tree.stories.jsx.map +0 -1
  604. package/jsx/core/Tree/Tree.styles.d.ts +0 -3
  605. package/jsx/core/Tree/Tree.styles.d.ts.map +0 -1
  606. package/jsx/core/Tree/Tree.styles.js +0 -10
  607. package/jsx/core/Tree/Tree.styles.js.map +0 -1
  608. package/jsx/core/URL/URL.stories.d.ts +0 -6
  609. package/jsx/core/URL/URL.stories.d.ts.map +0 -1
  610. package/jsx/core/URL/URL.stories.jsx +0 -17
  611. package/jsx/core/URL/URL.stories.jsx.map +0 -1
  612. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +0 -15
  613. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +0 -1
  614. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx +0 -33
  615. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +0 -1
  616. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +0 -10
  617. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +0 -1
  618. package/jsx/dnd/DragDropList/DragDropList.stories.jsx +0 -55
  619. package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +0 -1
  620. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts +0 -6
  621. package/jsx/dnd/DragDropList/DragDropList.styles.d.ts.map +0 -1
  622. package/jsx/dnd/DragDropList/DragDropList.styles.js +0 -32
  623. package/jsx/dnd/DragDropList/DragDropList.styles.js.map +0 -1
  624. package/jsx/dnd/StandardDragDropList/Demo.d.ts +0 -7
  625. package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +0 -1
  626. package/jsx/dnd/StandardDragDropList/Demo.jsx +0 -156
  627. package/jsx/dnd/StandardDragDropList/Demo.jsx.map +0 -1
  628. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts +0 -10
  629. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts.map +0 -1
  630. package/jsx/dnd/StandardDragDropList/GroupConfig.jsx +0 -26
  631. package/jsx/dnd/StandardDragDropList/GroupConfig.jsx.map +0 -1
  632. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts +0 -12
  633. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts.map +0 -1
  634. package/jsx/dnd/StandardDragDropList/ItemConfig.jsx +0 -21
  635. package/jsx/dnd/StandardDragDropList/ItemConfig.jsx.map +0 -1
  636. package/jsx/dnd/StandardDragDropList/Popover.d.ts +0 -14
  637. package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +0 -1
  638. package/jsx/dnd/StandardDragDropList/Popover.jsx +0 -51
  639. package/jsx/dnd/StandardDragDropList/Popover.jsx.map +0 -1
  640. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts +0 -16
  641. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts.map +0 -1
  642. package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx +0 -104
  643. package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx.map +0 -1
  644. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +0 -5
  645. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +0 -1
  646. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx +0 -15
  647. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx.map +0 -1
  648. package/jsx/dnd/StandardDragDropList/mockData.d.ts +0 -26
  649. package/jsx/dnd/StandardDragDropList/mockData.d.ts.map +0 -1
  650. package/jsx/dnd/StandardDragDropList/mockData.js +0 -77
  651. package/jsx/dnd/StandardDragDropList/mockData.js.map +0 -1
  652. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
  653. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
  654. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx +0 -103
  655. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +0 -1
  656. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts +0 -11
  657. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
  658. package/jsx/rte/DynamicContentEditor/FieldSelector.jsx +0 -82
  659. package/jsx/rte/DynamicContentEditor/FieldSelector.jsx.map +0 -1
  660. package/jsx/rte/Editor/Editor.mocks.d.ts +0 -329
  661. package/jsx/rte/Editor/Editor.mocks.d.ts.map +0 -1
  662. package/jsx/rte/Editor/Editor.mocks.jsx +0 -22
  663. package/jsx/rte/Editor/Editor.mocks.jsx.map +0 -1
  664. package/jsx/rte/Editor/Editor.stories.d.ts +0 -14
  665. package/jsx/rte/Editor/Editor.stories.d.ts.map +0 -1
  666. package/jsx/rte/Editor/Editor.stories.jsx +0 -159
  667. package/jsx/rte/Editor/Editor.stories.jsx.map +0 -1
  668. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts +0 -3
  669. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +0 -1
  670. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx +0 -34
  671. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +0 -1
  672. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +0 -7
  673. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +0 -1
  674. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx +0 -108
  675. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +0 -1
  676. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +0 -13
  677. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +0 -1
  678. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +0 -151
  679. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +0 -1
  680. package/jsx/social/Chat/Chat.mocks.d.ts +0 -52
  681. package/jsx/social/Chat/Chat.mocks.d.ts.map +0 -1
  682. package/jsx/social/Chat/Chat.mocks.js +0 -767
  683. package/jsx/social/Chat/Chat.mocks.js.map +0 -1
  684. package/jsx/social/Chat/Chat.stories.d.ts +0 -55
  685. package/jsx/social/Chat/Chat.stories.d.ts.map +0 -1
  686. package/jsx/social/Chat/Chat.stories.jsx +0 -678
  687. package/jsx/social/Chat/Chat.stories.jsx.map +0 -1
  688. package/jsx/social/Email/Email.mocks.d.ts +0 -352
  689. package/jsx/social/Email/Email.mocks.d.ts.map +0 -1
  690. package/jsx/social/Email/Email.mocks.jsx +0 -1215
  691. package/jsx/social/Email/Email.mocks.jsx.map +0 -1
  692. package/jsx/social/Email/Email.stories.d.ts +0 -83
  693. package/jsx/social/Email/Email.stories.d.ts.map +0 -1
  694. package/jsx/social/Email/Email.stories.jsx +0 -1219
  695. package/jsx/social/Email/Email.stories.jsx.map +0 -1
  696. package/jsx/social/Email/Email.styles.d.ts +0 -3
  697. package/jsx/social/Email/Email.styles.d.ts.map +0 -1
  698. package/jsx/social/Email/Email.styles.js +0 -11
  699. package/jsx/social/Email/Email.styles.js.map +0 -1
  700. package/jsx/social/Feed/Feed.mocks.d.ts +0 -53
  701. package/jsx/social/Feed/Feed.mocks.d.ts.map +0 -1
  702. package/jsx/social/Feed/Feed.mocks.jsx +0 -412
  703. package/jsx/social/Feed/Feed.mocks.jsx.map +0 -1
  704. package/jsx/social/Feed/Feed.stories.d.ts +0 -11
  705. package/jsx/social/Feed/Feed.stories.d.ts.map +0 -1
  706. package/jsx/social/Feed/Feed.stories.jsx +0 -222
  707. package/jsx/social/Feed/Feed.stories.jsx.map +0 -1
  708. package/jsx/social/Feed/FeedNewPost.mocks.d.ts +0 -8
  709. package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +0 -1
  710. package/jsx/social/Feed/FeedNewPost.mocks.jsx +0 -29
  711. package/jsx/social/Feed/FeedNewPost.mocks.jsx.map +0 -1
  712. package/jsx/social/Feed/FeedPost.mocks.d.ts +0 -4
  713. package/jsx/social/Feed/FeedPost.mocks.d.ts.map +0 -1
  714. package/jsx/social/Feed/FeedPost.mocks.jsx +0 -182
  715. package/jsx/social/Feed/FeedPost.mocks.jsx.map +0 -1
  716. package/jsx/social/Feed/FeedReply.mocks.d.ts +0 -13
  717. package/jsx/social/Feed/FeedReply.mocks.d.ts.map +0 -1
  718. package/jsx/social/Feed/FeedReply.mocks.jsx +0 -83
  719. package/jsx/social/Feed/FeedReply.mocks.jsx.map +0 -1
  720. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts +0 -6
  721. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +0 -1
  722. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx +0 -30
  723. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +0 -1
  724. package/jsx/work/Article/Article.mocks.d.ts +0 -18
  725. package/jsx/work/Article/Article.mocks.d.ts.map +0 -1
  726. package/jsx/work/Article/Article.mocks.js +0 -18
  727. package/jsx/work/Article/Article.mocks.js.map +0 -1
  728. package/jsx/work/Article/Article.stories.d.ts +0 -18
  729. package/jsx/work/Article/Article.stories.d.ts.map +0 -1
  730. package/jsx/work/Article/Article.stories.jsx +0 -243
  731. package/jsx/work/Article/Article.stories.jsx.map +0 -1
  732. package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts +0 -12
  733. package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts.map +0 -1
  734. package/jsx/work/ArticleList/ArticleBuddy.stories.jsx +0 -87
  735. package/jsx/work/ArticleList/ArticleBuddy.stories.jsx.map +0 -1
  736. package/jsx/work/ArticleList/ArticleList.mocks.d.ts +0 -222
  737. package/jsx/work/ArticleList/ArticleList.mocks.d.ts.map +0 -1
  738. package/jsx/work/ArticleList/ArticleList.mocks.js +0 -490
  739. package/jsx/work/ArticleList/ArticleList.mocks.js.map +0 -1
  740. package/jsx/work/ArticleList/ArticleList.stories.d.ts +0 -15
  741. package/jsx/work/ArticleList/ArticleList.stories.d.ts.map +0 -1
  742. package/jsx/work/ArticleList/ArticleList.stories.jsx +0 -517
  743. package/jsx/work/ArticleList/ArticleList.stories.jsx.map +0 -1
  744. package/jsx/work/Assignments/Assignments.stories.d.ts +0 -11
  745. package/jsx/work/Assignments/Assignments.stories.d.ts.map +0 -1
  746. package/jsx/work/Assignments/Assignments.stories.jsx +0 -64
  747. package/jsx/work/Assignments/Assignments.stories.jsx.map +0 -1
  748. package/jsx/work/CaseView/Attachments.mocks.d.ts +0 -3
  749. package/jsx/work/CaseView/Attachments.mocks.d.ts.map +0 -1
  750. package/jsx/work/CaseView/Attachments.mocks.jsx +0 -397
  751. package/jsx/work/CaseView/Attachments.mocks.jsx.map +0 -1
  752. package/jsx/work/CaseView/CaseView.mocks.d.ts +0 -117
  753. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +0 -1
  754. package/jsx/work/CaseView/CaseView.mocks.jsx +0 -642
  755. package/jsx/work/CaseView/CaseView.mocks.jsx.map +0 -1
  756. package/jsx/work/CaseView/CaseView.stories.d.ts +0 -6
  757. package/jsx/work/CaseView/CaseView.stories.d.ts.map +0 -1
  758. package/jsx/work/CaseView/CaseView.stories.jsx +0 -57
  759. package/jsx/work/CaseView/CaseView.stories.jsx.map +0 -1
  760. package/jsx/work/CaseView/Details.mocks.d.ts +0 -3
  761. package/jsx/work/CaseView/Details.mocks.d.ts.map +0 -1
  762. package/jsx/work/CaseView/Details.mocks.jsx +0 -21
  763. package/jsx/work/CaseView/Details.mocks.jsx.map +0 -1
  764. package/jsx/work/CaseView/Pulse.mocks.d.ts +0 -7
  765. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +0 -1
  766. package/jsx/work/CaseView/Pulse.mocks.jsx +0 -35
  767. package/jsx/work/CaseView/Pulse.mocks.jsx.map +0 -1
  768. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +0 -45
  769. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +0 -1
  770. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx +0 -166
  771. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx.map +0 -1
  772. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +0 -5
  773. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +0 -1
  774. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +0 -24
  775. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +0 -1
  776. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +0 -4
  777. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +0 -1
  778. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js +0 -11
  779. package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +0 -1
  780. package/jsx/work/Confirmation/Confirmation.stories.d.ts +0 -13
  781. package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +0 -1
  782. package/jsx/work/Confirmation/Confirmation.stories.jsx +0 -39
  783. package/jsx/work/Confirmation/Confirmation.stories.jsx.map +0 -1
  784. package/jsx/work/Confirmation/Confirmation.styles.d.ts +0 -2
  785. package/jsx/work/Confirmation/Confirmation.styles.d.ts.map +0 -1
  786. package/jsx/work/Confirmation/Confirmation.styles.js +0 -7
  787. package/jsx/work/Confirmation/Confirmation.styles.js.map +0 -1
  788. package/jsx/work/Details/Details.stories.d.ts +0 -10
  789. package/jsx/work/Details/Details.stories.d.ts.map +0 -1
  790. package/jsx/work/Details/Details.stories.jsx +0 -109
  791. package/jsx/work/Details/Details.stories.jsx.map +0 -1
  792. package/jsx/work/DetailsV2/DetailsV2.stories.d.ts +0 -10
  793. package/jsx/work/DetailsV2/DetailsV2.stories.d.ts.map +0 -1
  794. package/jsx/work/DetailsV2/DetailsV2.stories.jsx +0 -215
  795. package/jsx/work/DetailsV2/DetailsV2.stories.jsx.map +0 -1
  796. package/jsx/work/Glimpse/Glimpse.stories.d.ts +0 -5
  797. package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +0 -1
  798. package/jsx/work/Glimpse/Glimpse.stories.jsx +0 -42
  799. package/jsx/work/Glimpse/Glimpse.stories.jsx.map +0 -1
  800. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -5
  801. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +0 -1
  802. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx +0 -115
  803. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +0 -1
  804. package/jsx/work/InteractionNotification/InteractionNotification.stories.d.ts +0 -13
  805. package/jsx/work/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  806. package/jsx/work/InteractionNotification/InteractionNotification.stories.jsx +0 -56
  807. package/jsx/work/InteractionNotification/InteractionNotification.stories.jsx.map +0 -1
  808. package/jsx/work/Predictions/Predictions.mocks.d.ts +0 -3
  809. package/jsx/work/Predictions/Predictions.mocks.d.ts.map +0 -1
  810. package/jsx/work/Predictions/Predictions.mocks.jsx +0 -18
  811. package/jsx/work/Predictions/Predictions.mocks.jsx.map +0 -1
  812. package/jsx/work/Predictions/Predictions.stories.d.ts +0 -5
  813. package/jsx/work/Predictions/Predictions.stories.d.ts.map +0 -1
  814. package/jsx/work/Predictions/Predictions.stories.jsx +0 -53
  815. package/jsx/work/Predictions/Predictions.stories.jsx.map +0 -1
  816. package/jsx/work/SearchResults/SearchResults.mocks.d.ts +0 -14
  817. package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +0 -1
  818. package/jsx/work/SearchResults/SearchResults.mocks.jsx +0 -97
  819. package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +0 -1
  820. package/jsx/work/SearchResults/SearchResults.stories.d.ts +0 -9
  821. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +0 -1
  822. package/jsx/work/SearchResults/SearchResults.stories.jsx +0 -242
  823. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +0 -1
  824. package/jsx/work/SearchResults/SearchResults.styles.d.ts +0 -5
  825. package/jsx/work/SearchResults/SearchResults.styles.d.ts.map +0 -1
  826. package/jsx/work/SearchResults/SearchResults.styles.js +0 -12
  827. package/jsx/work/SearchResults/SearchResults.styles.js.map +0 -1
  828. package/jsx/work/Stages/Stages.mocks.d.ts +0 -14
  829. package/jsx/work/Stages/Stages.mocks.d.ts.map +0 -1
  830. package/jsx/work/Stages/Stages.mocks.jsx +0 -40
  831. package/jsx/work/Stages/Stages.mocks.jsx.map +0 -1
  832. package/jsx/work/Stages/Stages.stories.d.ts +0 -11
  833. package/jsx/work/Stages/Stages.stories.d.ts.map +0 -1
  834. package/jsx/work/Stages/Stages.stories.jsx +0 -45
  835. package/jsx/work/Stages/Stages.stories.jsx.map +0 -1
  836. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +0 -17
  837. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +0 -1
  838. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +0 -36
  839. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +0 -1
  840. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +0 -8
  841. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +0 -1
  842. package/jsx/work/Stakeholders/Stakeholders.stories.jsx +0 -99
  843. package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +0 -1
  844. package/jsx/work/Tags/Tags.mocks.d.ts +0 -3
  845. package/jsx/work/Tags/Tags.mocks.d.ts.map +0 -1
  846. package/jsx/work/Tags/Tags.mocks.js +0 -76
  847. package/jsx/work/Tags/Tags.mocks.js.map +0 -1
  848. package/jsx/work/Tags/Tags.stories.d.ts +0 -10
  849. package/jsx/work/Tags/Tags.stories.d.ts.map +0 -1
  850. package/jsx/work/Tags/Tags.stories.jsx +0 -66
  851. package/jsx/work/Tags/Tags.stories.jsx.map +0 -1
  852. package/jsx/work/Tasks/TaskList.stories.d.ts +0 -5
  853. package/jsx/work/Tasks/TaskList.stories.d.ts.map +0 -1
  854. package/jsx/work/Tasks/TaskList.stories.jsx +0 -19
  855. package/jsx/work/Tasks/TaskList.stories.jsx.map +0 -1
  856. package/jsx/work/Tasks/Tasks.mocks.d.ts +0 -22
  857. package/jsx/work/Tasks/Tasks.mocks.d.ts.map +0 -1
  858. package/jsx/work/Tasks/Tasks.mocks.js +0 -51
  859. package/jsx/work/Tasks/Tasks.mocks.js.map +0 -1
  860. package/jsx/work/Tasks/Tasks.stories.d.ts +0 -15
  861. package/jsx/work/Tasks/Tasks.stories.d.ts.map +0 -1
  862. package/jsx/work/Tasks/Tasks.stories.jsx +0 -79
  863. package/jsx/work/Tasks/Tasks.stories.jsx.map +0 -1
  864. package/jsx/work/Timeline/Timeline.mocks.d.ts +0 -3
  865. package/jsx/work/Timeline/Timeline.mocks.d.ts.map +0 -1
  866. package/jsx/work/Timeline/Timeline.mocks.jsx +0 -144
  867. package/jsx/work/Timeline/Timeline.mocks.jsx.map +0 -1
  868. package/jsx/work/Timeline/Timeline.stories.d.ts +0 -11
  869. package/jsx/work/Timeline/Timeline.stories.d.ts.map +0 -1
  870. package/jsx/work/Timeline/Timeline.stories.jsx +0 -78
  871. package/jsx/work/Timeline/Timeline.stories.jsx.map +0 -1
  872. package/jsx/wss/AppShell/AppShell.mocks.d.ts +0 -24
  873. package/jsx/wss/AppShell/AppShell.mocks.d.ts.map +0 -1
  874. package/jsx/wss/AppShell/AppShell.mocks.jsx +0 -64
  875. package/jsx/wss/AppShell/AppShell.mocks.jsx.map +0 -1
  876. package/jsx/wss/AppShell/AppShell.stories.d.ts +0 -19
  877. package/jsx/wss/AppShell/AppShell.stories.d.ts.map +0 -1
  878. package/jsx/wss/AppShell/AppShell.stories.jsx +0 -96
  879. package/jsx/wss/AppShell/AppShell.stories.jsx.map +0 -1
  880. package/jsx/wss/AppShell/AppShell.styles.d.ts +0 -2
  881. package/jsx/wss/AppShell/AppShell.styles.d.ts.map +0 -1
  882. package/jsx/wss/AppShell/AppShell.styles.js +0 -5
  883. package/jsx/wss/AppShell/AppShell.styles.js.map +0 -1
  884. package/jsx/wss/CaseView/CaseView.mocks.d.ts +0 -13
  885. package/jsx/wss/CaseView/CaseView.mocks.d.ts.map +0 -1
  886. package/jsx/wss/CaseView/CaseView.mocks.jsx +0 -34
  887. package/jsx/wss/CaseView/CaseView.mocks.jsx.map +0 -1
  888. package/jsx/wss/CaseView/CaseView.stories.d.ts +0 -12
  889. package/jsx/wss/CaseView/CaseView.stories.d.ts.map +0 -1
  890. package/jsx/wss/CaseView/CaseView.stories.jsx +0 -74
  891. package/jsx/wss/CaseView/CaseView.stories.jsx.map +0 -1
  892. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts +0 -15
  893. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  894. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx +0 -41
  895. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +0 -1
  896. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +0 -11
  897. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +0 -1
  898. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx +0 -28
  899. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +0 -1
@@ -1,25 +0,0 @@
1
- import styled, { css } from 'styled-components';
2
- import { defaultThemeProp, StyledEmptyState } from '@pega/cosmos-react-core';
3
- export const StyledIconList = styled.ul `
4
- overflow-x: hidden;
5
- overflow-y: auto;
6
- list-style: none;
7
- height: 100%;
8
-
9
- ${StyledEmptyState} {
10
- width: 100%;
11
- height: 100%;
12
- }
13
- `;
14
- export const StyledIconListItem = styled.li(({ theme }) => css `
15
- padding: calc(2 * ${theme.base.spacing});
16
- border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};
17
- width: 20%;
18
- `);
19
- StyledIconListItem.defaultProps = defaultThemeProp;
20
- export const StyledProgressContainer = styled.li `
21
- position: relative;
22
- height: 2.8rem;
23
- width: 100%;
24
- `;
25
- //# sourceMappingURL=Icon.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Icon.styles.js","sourceRoot":"","sources":["../../../src/core/Icon/Icon.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE7E,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;IAMnC,gBAAgB;;;;CAInB,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,EAAE,CACzC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACZ,GAAG,CAAA;0BACmB,KAAK,CAAC,IAAI,CAAC,OAAO;uCACL,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC;;KAEnE,CACJ,CAAC;AAEF,kBAAkB,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAEnD,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,EAAE,CAAA;;;;CAI/C,CAAC","sourcesContent":["import styled, { css } from 'styled-components';\n\nimport { defaultThemeProp, StyledEmptyState } from '@pega/cosmos-react-core';\n\nexport const StyledIconList = styled.ul`\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n height: 100%;\n\n ${StyledEmptyState} {\n width: 100%;\n height: 100%;\n }\n`;\n\nexport const StyledIconListItem = styled.li(\n ({ theme }) =>\n css`\n padding: calc(2 * ${theme.base.spacing});\n border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};\n width: 20%;\n `\n);\n\nStyledIconListItem.defaultProps = defaultThemeProp;\n\nexport const StyledProgressContainer = styled.li`\n position: relative;\n height: 2.8rem;\n width: 100%;\n`;\n"]}
@@ -1,6 +0,0 @@
1
- import type { StoryFn } from '@storybook/react';
2
- import type { IconPickerProps } from '@pega/cosmos-react-core';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
- export default _default;
5
- export declare const IconPickerDemo: StoryFn<IconPickerProps>;
6
- //# sourceMappingURL=IconPicker.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconPicker.stories.d.ts","sourceRoot":"","sources":["../../../src/core/IconPicker/IconPicker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAItD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;;AAE/D,wBAyBU;AAEV,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,eAAe,CAmBnD,CAAC"}
@@ -1,35 +0,0 @@
1
- import { useState } from 'react';
2
- import { IconPicker, icons } from '@pega/cosmos-react-core';
3
- export default {
4
- title: 'Core/IconPicker',
5
- component: IconPicker,
6
- args: {
7
- defaultSelection: 'pegasus',
8
- label: 'IconPicker input',
9
- labelHidden: false,
10
- info: 'Type in or click to expand the Popover',
11
- placeholder: '',
12
- status: undefined,
13
- required: false,
14
- disabled: false,
15
- readOnly: false
16
- },
17
- argTypes: {
18
- defaultSelection: { options: icons, control: { type: 'select', icons: true } },
19
- label: { control: { type: 'text' } },
20
- labelHidden: { control: { type: 'boolean' } },
21
- info: { control: { type: 'text', label: 'Helper text' } },
22
- placeholder: { control: { type: 'text' } },
23
- status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } },
24
- required: { control: { type: 'boolean' } },
25
- disabled: { control: { type: 'boolean' } },
26
- readOnly: { control: { type: 'boolean' } }
27
- }
28
- };
29
- export const IconPickerDemo = (args) => {
30
- const [iconValue, setIconValue] = useState(args.defaultSelection);
31
- return (<IconPicker defaultSelection={iconValue} label={args.label} labelHidden={args.labelHidden} info={args.info} placeholder={args.placeholder} status={args.status} required={args.required} disabled={args.disabled} readOnly={args.readOnly} onSelect={(icon) => {
32
- setIconValue(icon);
33
- }}/>);
34
- };
35
- //# sourceMappingURL=IconPicker.stories.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconPicker.stories.jsx","sourceRoot":"","sources":["../../../src/core/IconPicker/IconPicker.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAG5D,eAAe;IACb,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE;QACJ,gBAAgB,EAAE,SAAS;QAC3B,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,wCAAwC;QAC9C,WAAW,EAAE,EAAE;QACf,MAAM,EAAE,SAAS;QACjB,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;KAChB;IACD,QAAQ,EAAE;QACR,gBAAgB,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;QAC9E,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QACpC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;QAC7C,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE;QACzD,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QAC1C,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;QAC5F,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;QAC1C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;QAC1C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;KAC3C;CACM,CAAC;AAEV,MAAM,CAAC,MAAM,cAAc,GAA6B,CAAC,IAAqB,EAAE,EAAE;IAChF,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAElE,OAAO,CACL,CAAC,UAAU,CACT,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAC5B,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAClB,WAAW,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAC9B,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAChB,WAAW,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAC9B,MAAM,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CACpB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,QAAQ,CAAC,CAAC,CAAC,IAAY,EAAE,EAAE;YACzB,YAAY,CAAC,IAAI,CAAC,CAAC;QACrB,CAAC,CAAC,EACF,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useState } from 'react';\n\nimport { IconPicker, icons } from '@pega/cosmos-react-core';\nimport type { IconPickerProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/IconPicker',\n component: IconPicker,\n args: {\n defaultSelection: 'pegasus',\n label: 'IconPicker input',\n labelHidden: false,\n info: 'Type in or click to expand the Popover',\n placeholder: '',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false\n },\n argTypes: {\n defaultSelection: { options: icons, control: { type: 'select', icons: true } },\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { control: { type: 'text', label: 'Helper text' } },\n placeholder: { control: { type: 'text' } },\n status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } },\n required: { control: { type: 'boolean' } },\n disabled: { control: { type: 'boolean' } },\n readOnly: { control: { type: 'boolean' } }\n }\n} as Meta;\n\nexport const IconPickerDemo: StoryFn<IconPickerProps> = (args: IconPickerProps) => {\n const [iconValue, setIconValue] = useState(args.defaultSelection);\n\n return (\n <IconPicker\n defaultSelection={iconValue}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n placeholder={args.placeholder}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n onSelect={(icon: string) => {\n setIconValue(icon);\n }}\n />\n );\n};\n"]}
@@ -1,5 +0,0 @@
1
- import type { StoryFn } from '@storybook/react';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
3
- export default _default;
4
- export declare const ImageDemo: StoryFn;
5
- //# sourceMappingURL=Image.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Image.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Image/Image.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;;AAItD,wBAGU;AAEV,eAAO,MAAM,SAAS,EAAE,OAIvB,CAAC"}
@@ -1,9 +0,0 @@
1
- import { Image } from '@pega/cosmos-react-core';
2
- export default {
3
- title: 'Core/Image',
4
- component: Image
5
- };
6
- export const ImageDemo = () => {
7
- return (<Image src='https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg' alt='Pega'/>);
8
- };
9
- //# sourceMappingURL=Image.stories.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Image.stories.jsx","sourceRoot":"","sources":["../../../src/core/Image/Image.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,eAAe;IACb,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,KAAK;CACT,CAAC;AAEV,MAAM,CAAC,MAAM,SAAS,GAAY,GAAG,EAAE;IACrC,OAAO,CACL,CAAC,KAAK,CAAC,GAAG,CAAC,uEAAuE,CAAC,GAAG,CAAC,MAAM,EAAG,CACjG,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Image } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Image',\n component: Image\n} as Meta;\n\nexport const ImageDemo: StoryFn = () => {\n return (\n <Image src='https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg' alt='Pega' />\n );\n};\n"]}
@@ -1,20 +0,0 @@
1
- import type { StoryFn } from '@storybook/react';
2
- import type { InputProps } from '@pega/cosmos-react-core';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
- export default _default;
5
- interface InputStoryProps extends InputProps {
6
- showAction: boolean;
7
- showAdditionalInfo?: boolean;
8
- }
9
- export declare const InputDemo: StoryFn<InputStoryProps>;
10
- interface ConfigurableInputProps {
11
- height?: string;
12
- padding?: string;
13
- errorStatusColor?: string;
14
- successStatusColor?: string;
15
- warningStatusColor?: string;
16
- status?: InputProps['status'];
17
- }
18
- export declare const ConfigurableInput: StoryFn<ConfigurableInputProps>;
19
- export declare const InputWithSuggestion: StoryFn<InputStoryProps>;
20
- //# sourceMappingURL=Input.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Input/Input.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAKtD,OAAO,KAAK,EAAoB,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAE5E,wBAIU;AAEV,UAAU,eAAgB,SAAQ,UAAU;IAC1C,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,SAAS,EAAE,OAAO,CAAC,eAAe,CAiC9C,CAAC;AAoCF,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;CAC/B;AAED,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,sBAAsB,CAiC7D,CAAC;AAoBF,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,eAAe,CA4DxD,CAAC"}
@@ -1,159 +0,0 @@
1
- import { useEffect, useRef, useState } from 'react';
2
- import { Configuration, Input } from '@pega/cosmos-react-core';
3
- export default {
4
- title: 'Core/Input',
5
- component: Input,
6
- excludeStories: ['ConfigurableInput']
7
- };
8
- export const InputDemo = (args) => {
9
- return (<Input additionalInfo={args.showAdditionalInfo
10
- ? {
11
- content: 'Some additional info'
12
- }
13
- : undefined} id='input-demo' type={args.type} label={args.label} labelHidden={args.labelHidden} info={args.info} placeholder={args.placeholder} status={args.status} required={args.required} disabled={args.disabled} readOnly={args.readOnly} actions={args.showAction
14
- ? [
15
- {
16
- id: 'config',
17
- text: 'Configure',
18
- icon: 'gear'
19
- }
20
- ]
21
- : undefined}/>);
22
- };
23
- InputDemo.args = {
24
- type: 'text',
25
- showAction: false,
26
- showAdditionalInfo: false,
27
- label: 'Input',
28
- labelHidden: false,
29
- info: 'Enter some value',
30
- placeholder: 'Enter your input',
31
- status: undefined,
32
- required: false,
33
- disabled: false,
34
- readOnly: false
35
- };
36
- InputDemo.argTypes = {
37
- type: {
38
- options: ['text', 'password', 'email', 'url'],
39
- control: { type: 'select' }
40
- },
41
- showAdditionalInfo: { control: { type: 'boolean' } },
42
- showAction: { control: { type: 'boolean' } },
43
- label: { control: { type: 'text' } },
44
- labelHidden: { control: { type: 'boolean' } },
45
- info: { control: { type: 'text', label: 'Helper text' } },
46
- placeholder: { control: { type: 'text' } },
47
- status: {
48
- options: [undefined, 'success', 'warning', 'error', 'pending'],
49
- control: { type: 'select' }
50
- },
51
- required: { control: { type: 'boolean' } },
52
- disabled: { control: { type: 'boolean' } },
53
- readOnly: { control: { type: 'boolean' } }
54
- };
55
- export const ConfigurableInput = (args) => {
56
- return (<Configuration theme={{
57
- components: {
58
- input: {
59
- height: args.height,
60
- padding: args.padding
61
- },
62
- 'form-field': {
63
- error: {
64
- 'status-color': args.errorStatusColor
65
- },
66
- success: {
67
- 'status-color': args.successStatusColor
68
- },
69
- warning: {
70
- 'status-color': args.warningStatusColor
71
- }
72
- }
73
- }
74
- }}>
75
- <Input status={args.status} label='Input' placeholder='Enter your input' info='Enter some value'/>
76
- </Configuration>);
77
- };
78
- ConfigurableInput.args = {
79
- height: '2rem',
80
- padding: '0.5rem',
81
- errorStatusColor: '#d91c29',
82
- successStatusColor: '#20aa50',
83
- warningStatusColor: '#fd6000',
84
- status: undefined
85
- };
86
- ConfigurableInput.argTypes = {
87
- height: { control: { type: 'text' } },
88
- padding: { control: { type: 'text' } },
89
- errorStatusColor: { control: { type: 'color' } },
90
- successStatusColor: { control: { type: 'color' } },
91
- warningStatusColor: { control: { type: 'color' } },
92
- status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } }
93
- };
94
- export const InputWithSuggestion = (args) => {
95
- const [status, setStatus] = useState(undefined);
96
- const [inputValue, setInputValue] = useState('');
97
- const timerRef = useRef();
98
- const timer = () => {
99
- window.clearTimeout(timerRef.current);
100
- timerRef.current = window.setTimeout(() => {
101
- setInputValue('AI suggestion value');
102
- setStatus('pending');
103
- }, 3000);
104
- };
105
- useEffect(() => {
106
- timer();
107
- return () => {
108
- window.clearTimeout(timerRef.current);
109
- };
110
- }, []);
111
- return (<Input id='input-demo' value={inputValue} type={args.type} label={args.label} labelHidden={args.labelHidden} info={args.info} placeholder={args.placeholder} status={status} required={args.required} disabled={args.disabled} readOnly={args.readOnly} actions={args.showAction
112
- ? [
113
- {
114
- id: 'config',
115
- text: 'Configure',
116
- icon: 'gear'
117
- }
118
- ]
119
- : undefined} onChange={(e) => {
120
- setInputValue(e.target.value);
121
- setStatus(undefined);
122
- timer();
123
- }} onResolveSuggestion={accepted => {
124
- if (accepted) {
125
- setStatus('success');
126
- }
127
- else {
128
- setStatus(undefined);
129
- setInputValue('');
130
- }
131
- timer();
132
- }}/>);
133
- };
134
- InputWithSuggestion.args = {
135
- type: 'text',
136
- showAction: false,
137
- label: 'Input',
138
- labelHidden: false,
139
- info: 'Enter some value',
140
- placeholder: 'Enter your input',
141
- required: false,
142
- disabled: false,
143
- readOnly: false
144
- };
145
- InputWithSuggestion.argTypes = {
146
- type: {
147
- options: ['text', 'password', 'email', 'url'],
148
- control: { type: 'select' }
149
- },
150
- showAction: { control: { type: 'boolean' } },
151
- label: { control: { type: 'text' } },
152
- labelHidden: { control: { type: 'boolean' } },
153
- info: { control: { type: 'text', label: 'Helper text' } },
154
- placeholder: { control: { type: 'text' } },
155
- required: { control: { type: 'boolean' } },
156
- disabled: { control: { type: 'boolean' } },
157
- readOnly: { control: { type: 'boolean' } }
158
- };
159
- //# sourceMappingURL=Input.stories.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Input.stories.jsx","sourceRoot":"","sources":["../../../src/core/Input/Input.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAe;IACb,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EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC5C,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACpC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC7C,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE;IACzD,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC1C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC1C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC1C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC3C,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useEffect, useRef, useState } from 'react';\nimport type { ChangeEvent } from 'react';\n\nimport { Configuration, Input } from '@pega/cosmos-react-core';\nimport type { FormControlProps, InputProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Input',\n component: Input,\n excludeStories: ['ConfigurableInput']\n} as Meta;\n\ninterface InputStoryProps extends InputProps {\n showAction: boolean;\n showAdditionalInfo?: boolean;\n}\n\nexport const InputDemo: StoryFn<InputStoryProps> = (args: InputStoryProps) => {\n return (\n <Input\n additionalInfo={\n args.showAdditionalInfo\n ? {\n content: 'Some additional info'\n }\n : undefined\n }\n id='input-demo'\n type={args.type}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n placeholder={args.placeholder}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n actions={\n args.showAction\n ? [\n {\n id: 'config',\n text: 'Configure',\n icon: 'gear'\n }\n ]\n : undefined\n }\n />\n );\n};\n\nInputDemo.args = {\n type: 'text',\n showAction: false,\n showAdditionalInfo: false,\n label: 'Input',\n labelHidden: false,\n info: 'Enter some value',\n placeholder: 'Enter your input',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false\n};\n\nInputDemo.argTypes = {\n type: {\n options: ['text', 'password', 'email', 'url'],\n control: { type: 'select' }\n },\n showAdditionalInfo: { control: { type: 'boolean' } },\n showAction: { control: { type: 'boolean' } },\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { control: { type: 'text', label: 'Helper text' } },\n placeholder: { control: { type: 'text' } },\n status: {\n options: [undefined, 'success', 'warning', 'error', 'pending'],\n control: { type: 'select' }\n },\n required: { control: { type: 'boolean' } },\n disabled: { control: { type: 'boolean' } },\n readOnly: { control: { type: 'boolean' } }\n};\n\ninterface ConfigurableInputProps {\n height?: string;\n padding?: string;\n errorStatusColor?: string;\n successStatusColor?: string;\n warningStatusColor?: string;\n status?: InputProps['status'];\n}\n\nexport const ConfigurableInput: StoryFn<ConfigurableInputProps> = (\n args: ConfigurableInputProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n input: {\n height: args.height,\n padding: args.padding\n },\n 'form-field': {\n error: {\n 'status-color': args.errorStatusColor\n },\n success: {\n 'status-color': args.successStatusColor\n },\n warning: {\n 'status-color': args.warningStatusColor\n }\n }\n }\n }}\n >\n <Input\n status={args.status}\n label='Input'\n placeholder='Enter your input'\n info='Enter some value'\n />\n </Configuration>\n );\n};\n\nConfigurableInput.args = {\n height: '2rem',\n padding: '0.5rem',\n errorStatusColor: '#d91c29',\n successStatusColor: '#20aa50',\n warningStatusColor: '#fd6000',\n status: undefined\n};\n\nConfigurableInput.argTypes = {\n height: { control: { type: 'text' } },\n padding: { control: { type: 'text' } },\n errorStatusColor: { control: { type: 'color' } },\n successStatusColor: { control: { type: 'color' } },\n warningStatusColor: { control: { type: 'color' } },\n status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } }\n};\n\nexport const InputWithSuggestion: StoryFn<InputStoryProps> = (args: InputStoryProps) => {\n const [status, setStatus] = useState<FormControlProps['status']>(undefined);\n const [inputValue, setInputValue] = useState('');\n const timerRef = useRef<number>();\n\n const timer = () => {\n window.clearTimeout(timerRef.current);\n timerRef.current = window.setTimeout(() => {\n setInputValue('AI suggestion value');\n setStatus('pending');\n }, 3000);\n };\n\n useEffect(() => {\n timer();\n return () => {\n window.clearTimeout(timerRef.current);\n };\n }, []);\n\n return (\n <Input\n id='input-demo'\n value={inputValue}\n type={args.type}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n placeholder={args.placeholder}\n status={status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n actions={\n args.showAction\n ? [\n {\n id: 'config',\n text: 'Configure',\n icon: 'gear'\n }\n ]\n : undefined\n }\n onChange={(e: ChangeEvent<HTMLInputElement>) => {\n setInputValue(e.target.value);\n setStatus(undefined);\n timer();\n }}\n onResolveSuggestion={accepted => {\n if (accepted) {\n setStatus('success');\n } else {\n setStatus(undefined);\n setInputValue('');\n }\n timer();\n }}\n />\n );\n};\n\nInputWithSuggestion.args = {\n type: 'text',\n showAction: false,\n label: 'Input',\n labelHidden: false,\n info: 'Enter some value',\n placeholder: 'Enter your input',\n required: false,\n disabled: false,\n readOnly: false\n};\n\nInputWithSuggestion.argTypes = {\n type: {\n options: ['text', 'password', 'email', 'url'],\n control: { type: 'select' }\n },\n showAction: { control: { type: 'boolean' } },\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { control: { type: 'text', label: 'Helper text' } },\n placeholder: { control: { type: 'text' } },\n required: { control: { type: 'boolean' } },\n disabled: { control: { type: 'boolean' } },\n readOnly: { control: { type: 'boolean' } }\n};\n"]}
@@ -1,10 +0,0 @@
1
- import type { StoryFn } from '@storybook/react';
2
- import type { LabelProps } from '@pega/cosmos-react-core';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
- export default _default;
5
- export declare const LabelDemo: StoryFn<LabelProps>;
6
- interface ConfigurableLabelProps {
7
- fontSize?: string;
8
- }
9
- export declare const ConfigurableLabel: StoryFn<ConfigurableLabelProps>;
10
- //# sourceMappingURL=Label.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Label.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Label/Label.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAE1D,wBAIU;AAEV,eAAO,MAAM,SAAS,EAAE,OAAO,CAAC,UAAU,CAEzC,CAAC;AAUF,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,sBAAsB,CAgB7D,CAAC"}
@@ -1,33 +0,0 @@
1
- import { Configuration, Label } from '@pega/cosmos-react-core';
2
- export default {
3
- title: 'Core/Label',
4
- component: Label,
5
- excludeStories: ['ConfigurableLabel']
6
- };
7
- export const LabelDemo = (args) => {
8
- return <Label labelHidden={args.labelHidden}>Label</Label>;
9
- };
10
- LabelDemo.args = {
11
- labelHidden: false
12
- };
13
- LabelDemo.argTypes = {
14
- labelHidden: { control: { type: 'boolean' } }
15
- };
16
- export const ConfigurableLabel = (args) => {
17
- return (<Configuration theme={{
18
- components: {
19
- label: {
20
- 'font-size': args.fontSize
21
- }
22
- }
23
- }}>
24
- <Label>Label</Label>
25
- </Configuration>);
26
- };
27
- ConfigurableLabel.args = {
28
- fontSize: 'xs'
29
- };
30
- ConfigurableLabel.argTypes = {
31
- fontSize: { options: ['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl'], control: { type: 'select' } }
32
- };
33
- //# sourceMappingURL=Label.stories.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Label.stories.jsx","sourceRoot":"","sources":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} from '@storybook/react';\n\nimport { Configuration, Label } from '@pega/cosmos-react-core';\nimport type { LabelProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Label',\n component: Label,\n excludeStories: ['ConfigurableLabel']\n} as Meta;\n\nexport const LabelDemo: StoryFn<LabelProps> = (args: LabelProps) => {\n return <Label labelHidden={args.labelHidden}>Label</Label>;\n};\n\nLabelDemo.args = {\n labelHidden: false\n};\n\nLabelDemo.argTypes = {\n labelHidden: { control: { type: 'boolean' } }\n};\n\ninterface ConfigurableLabelProps {\n fontSize?: string;\n}\n\nexport const ConfigurableLabel: StoryFn<ConfigurableLabelProps> = (\n args: ConfigurableLabelProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n label: {\n 'font-size': args.fontSize\n }\n }\n }}\n >\n <Label>Label</Label>\n </Configuration>\n );\n};\n\nConfigurableLabel.args = {\n fontSize: 'xs'\n};\n\nConfigurableLabel.argTypes = {\n fontSize: { options: ['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl'], control: { type: 'select' } }\n};\n"]}
@@ -1,22 +0,0 @@
1
- export declare const mockData: ({
2
- id: string;
3
- name: string;
4
- description: string;
5
- format: string;
6
- src: string;
7
- } | {
8
- id: string;
9
- name: string;
10
- description: string;
11
- format: string;
12
- src: null;
13
- })[];
14
- export declare const mockBadResources: {
15
- id: string;
16
- name: string;
17
- description: string;
18
- src: string;
19
- format: undefined;
20
- error: boolean;
21
- }[];
22
- //# sourceMappingURL=Lightbox.mocks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Lightbox.mocks.d.ts","sourceRoot":"","sources":["../../../src/core/Lightbox/Lightbox.mocks.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ;;;;;;;;;;;;IAsFpB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;GAS5B,CAAC"}
@@ -1,97 +0,0 @@
1
- export const mockData = [
2
- {
3
- id: 'photo-1497752531616-c3afd9760a11',
4
- name: 'Image 1',
5
- description: 'Descriptive text about Image 1',
6
- format: 'jpeg',
7
- src: 'https://images.unsplash.com/photo-1497752531616-c3afd9760a11?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2100&q=80'
8
- },
9
- {
10
- id: 'pdf-1',
11
- name: 'Sample-PDF 1',
12
- description: 'Descriptive text about Dictionary of old Icelandic',
13
- src: 'https://css4.pub/2015/icelandic/dictionary.pdf',
14
- format: 'pdf'
15
- },
16
- {
17
- id: 'photo-1470093851219-69951fcbb533',
18
- name: 'Image 2',
19
- description: 'Descriptive text about Image 2',
20
- format: 'jpeg',
21
- src: 'https://images.unsplash.com/photo-1470093851219-69951fcbb533?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2100&q=80'
22
- },
23
- {
24
- id: 'photo-1447684808650-354ae64db5b8',
25
- name: 'Image 3',
26
- description: 'Descriptive text about Image 3',
27
- format: 'jpeg',
28
- src: 'https://images.unsplash.com/photo-1447684808650-354ae64db5b8?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2094&q=80'
29
- },
30
- {
31
- id: 'photo-1425082661705-1834bfd09dca',
32
- name: 'Image 4',
33
- description: 'Descriptive text about Image 4',
34
- format: 'jpeg',
35
- src: 'https://images.unsplash.com/photo-1425082661705-1834bfd09dca?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2110&q=80'
36
- },
37
- {
38
- id: 'photo-1494256997604-768d1f608cac',
39
- name: 'Image 5',
40
- description: 'Descriptive text about Image 5',
41
- format: 'jpeg',
42
- src: 'https://images.unsplash.com/photo-1494256997604-768d1f608cac?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2301&q=80'
43
- },
44
- {
45
- id: 'photo-1500694216671-a4e54fc4b513',
46
- name: 'Image 6',
47
- description: 'Descriptive text about Image 6',
48
- format: 'jpeg',
49
- src: 'https://images.unsplash.com/photo-1500694216671-a4e54fc4b513?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2092&q=80'
50
- },
51
- {
52
- id: 'doc1',
53
- name: 'Pega.docx',
54
- description: 'Descriptive text about Pega document',
55
- format: 'docx',
56
- src: null
57
- },
58
- {
59
- id: 'ppt2',
60
- name: 'Pega.odp',
61
- description: 'Descriptive text about Presentation file',
62
- format: 'odp',
63
- src: null
64
- },
65
- {
66
- id: 'attachment_link',
67
- name: 'Link file',
68
- description: 'Descriptive text about Image 7',
69
- format: 'url',
70
- src: 'https://images.unsplash.com/photo-1638292597251-6fe6b2ba50f9?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1287&q=80'
71
- },
72
- {
73
- id: 'generic',
74
- name: 'Pega file',
75
- description: 'Descriptive text about file',
76
- format: '3ds',
77
- src: null
78
- },
79
- {
80
- id: 'error',
81
- name: 'Pega file',
82
- description: 'Error showing content',
83
- format: 'jpeg',
84
- src: 'https://images.unsplash.com/photo'
85
- }
86
- ];
87
- export const mockBadResources = [
88
- {
89
- id: 'image-error',
90
- name: 'Some image',
91
- description: 'Descriptive text about Some image',
92
- src: '',
93
- format: undefined,
94
- error: true
95
- }
96
- ];
97
- //# sourceMappingURL=Lightbox.mocks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Lightbox.mocks.js","sourceRoot":"","sources":["../../../src/core/Lightbox/Lightbox.mocks.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB;QACE,EAAE,EAAE,kCAAkC;QACtC,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,gCAAgC;QAC7C,MAAM,EAAE,MAAM;QACd,GAAG,EAAE,wIAAwI;KAC9I;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,oD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EAAE,KAAK;QACb,GAAG,EAAE,IAAI;KACV;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,uBAAuB;QACpC,MAAM,EAAE,MAAM;QAEd,GAAG,EAAE,mCAAmC;KACzC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B;QACE,EAAE,EAAE,aAAa;QACjB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,mCAAmC;QAChD,GAAG,EAAE,EAAE;QACP,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,IAAI;KACZ;CACF,CAAC","sourcesContent":["// cspell:words wordprocessingml\nexport const mockData = [\n {\n id: 'photo-1497752531616-c3afd9760a11',\n name: 'Image 1',\n description: 'Descriptive text about Image 1',\n format: 'jpeg',\n src: 'https://images.unsplash.com/photo-1497752531616-c3afd9760a11?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2100&q=80'\n },\n {\n id: 'pdf-1',\n name: 'Sample-PDF 1',\n description: 'Descriptive text about Dictionary of old Icelandic',\n src: 'https://css4.pub/2015/icelandic/dictionary.pdf',\n format: 'pdf'\n },\n {\n id: 'photo-1470093851219-69951fcbb533',\n name: 'Image 2',\n description: 'Descriptive text about Image 2',\n format: 'jpeg',\n src: 'https://images.unsplash.com/photo-1470093851219-69951fcbb533?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2100&q=80'\n },\n {\n id: 'photo-1447684808650-354ae64db5b8',\n name: 'Image 3',\n description: 'Descriptive text about Image 3',\n format: 'jpeg',\n src: 'https://images.unsplash.com/photo-1447684808650-354ae64db5b8?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2094&q=80'\n },\n {\n id: 'photo-1425082661705-1834bfd09dca',\n name: 'Image 4',\n description: 'Descriptive text about Image 4',\n format: 'jpeg',\n src: 'https://images.unsplash.com/photo-1425082661705-1834bfd09dca?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2110&q=80'\n },\n {\n id: 'photo-1494256997604-768d1f608cac',\n name: 'Image 5',\n description: 'Descriptive text about Image 5',\n format: 'jpeg',\n src: 'https://images.unsplash.com/photo-1494256997604-768d1f608cac?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2301&q=80'\n },\n {\n id: 'photo-1500694216671-a4e54fc4b513',\n name: 'Image 6',\n description: 'Descriptive text about Image 6',\n format: 'jpeg',\n src: 'https://images.unsplash.com/photo-1500694216671-a4e54fc4b513?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2092&q=80'\n },\n {\n id: 'doc1',\n name: 'Pega.docx',\n description: 'Descriptive text about Pega document',\n format: 'docx',\n src: null\n },\n {\n id: 'ppt2',\n name: 'Pega.odp',\n description: 'Descriptive text about Presentation file',\n format: 'odp',\n src: null\n },\n {\n id: 'attachment_link',\n name: 'Link file',\n description: 'Descriptive text about Image 7',\n format: 'url',\n src: 'https://images.unsplash.com/photo-1638292597251-6fe6b2ba50f9?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1287&q=80'\n },\n {\n id: 'generic',\n name: 'Pega file',\n description: 'Descriptive text about file',\n format: '3ds',\n src: null\n },\n {\n id: 'error',\n name: 'Pega file',\n description: 'Error showing content',\n format: 'jpeg',\n // invalid url\n src: 'https://images.unsplash.com/photo'\n }\n];\n\nexport const mockBadResources = [\n {\n id: 'image-error',\n name: 'Some image',\n description: 'Descriptive text about Some image',\n src: '',\n format: undefined,\n error: true\n }\n];\n"]}
@@ -1,10 +0,0 @@
1
- import type { StoryFn } from '@storybook/react';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
3
- export default _default;
4
- interface LightboxStoryProps {
5
- limit?: number;
6
- cycle?: boolean;
7
- error?: boolean;
8
- }
9
- export declare const LightboxDemo: StoryFn<LightboxStoryProps>;
10
- //# sourceMappingURL=Lightbox.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Lightbox.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Lightbox/Lightbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;;AAQtD,wBAMU;AAEV,UAAU,kBAAkB;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,kBAAkB,CAoEpD,CAAC"}
@@ -1,70 +0,0 @@
1
- import { useRef, useState } from 'react';
2
- import { Button, DateTimeDisplay, Lightbox } from '@pega/cosmos-react-core';
3
- import { mockData, mockBadResources } from './Lightbox.mocks';
4
- export default {
5
- title: 'Core/Lightbox',
6
- component: Lightbox,
7
- parameters: {
8
- layout: 'centered'
9
- }
10
- };
11
- export const LightboxDemo = (args) => {
12
- const demoButtonRef = useRef(null);
13
- const [open, setOpen] = useState(false);
14
- const [items, setItems] = useState();
15
- const onClick = () => {
16
- setItems((args.error ? mockBadResources : mockData.slice(0, args.limit)).map(item => {
17
- return {
18
- ...item,
19
- metadata: [
20
- item.format,
21
- 'John smith',
22
- <DateTimeDisplay value={new Date()} variant='date'/>
23
- ]
24
- };
25
- }));
26
- };
27
- const onItemDownload = async (id) => {
28
- const currentItem = items?.find(item => item.id === id);
29
- if (!currentItem)
30
- return;
31
- if (currentItem.src) {
32
- const objectURL = URL.createObjectURL(await (await fetch(currentItem.src)).blob());
33
- const a = document.createElement('a');
34
- a.href = objectURL;
35
- a.download = currentItem.name ?? id;
36
- document.body.appendChild(a);
37
- a.click();
38
- document.body.removeChild(a);
39
- URL.revokeObjectURL(objectURL);
40
- }
41
- };
42
- const onItemError = (id) => {
43
- setItems(item => {
44
- return item?.map(obj => (obj.id === id ? { ...obj, error: true } : obj));
45
- });
46
- };
47
- return (<>
48
- <Button ref={demoButtonRef} onClick={() => {
49
- setOpen(true);
50
- onClick();
51
- }}>
52
- Open Lightbox
53
- </Button>
54
- {open && (<Lightbox items={items ?? []} cycle={args.cycle || undefined} onAfterClose={() => {
55
- setOpen(false);
56
- demoButtonRef.current?.focus();
57
- }} onItemDownload={onItemDownload} onItemError={onItemError}/>)}
58
- </>);
59
- };
60
- LightboxDemo.args = {
61
- limit: 12,
62
- cycle: false,
63
- error: false
64
- };
65
- LightboxDemo.argTypes = {
66
- limit: { control: { type: 'number' } },
67
- cycle: { control: { type: 'boolean' } },
68
- error: { control: { type: 'boolean' } }
69
- };
70
- //# sourceMappingURL=Lightbox.stories.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Lightbox.stories.jsx","sourceRoot":"","sources":["../../../src/core/Lightbox/Lightbox.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAG5E,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAe;IACb,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,QAAQ;IACnB,UAAU,EAAE;QACV,MAAM,EAAE,UAAU;KACnB;CACM,CAAC;AAQV,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,IAAwB,EAAE,EAAE;IACpF,MAAM,aAAa,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAC;IACtD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IACjD,MAAM,CAAC,KAAK,EAAE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AI,EAAE,QAAQ,EAAE,EAAE;IACtC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACvC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CACxC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useRef, useState } from 'react';\n\nimport { Button, DateTimeDisplay, Lightbox } from '@pega/cosmos-react-core';\nimport type { LightboxItem, LightboxProps } from '@pega/cosmos-react-core';\n\nimport { mockData, mockBadResources } from './Lightbox.mocks';\n\nexport default {\n title: 'Core/Lightbox',\n component: Lightbox,\n parameters: {\n layout: 'centered'\n }\n} as Meta;\n\ninterface LightboxStoryProps {\n limit?: number;\n cycle?: boolean;\n error?: boolean;\n}\n\nexport const LightboxDemo: StoryFn<LightboxStoryProps> = (args: LightboxStoryProps) => {\n const demoButtonRef = useRef<HTMLButtonElement>(null);\n const [open, setOpen] = useState<boolean>(false);\n const [items, setItems] = useState<LightboxProps['items']>();\n\n const onClick = () => {\n setItems(\n (args.error ? mockBadResources : mockData.slice(0, args.limit)).map(item => {\n return {\n ...item,\n metadata: [\n item.format,\n 'John smith',\n <DateTimeDisplay value={new Date()} variant='date' />\n ]\n };\n })\n );\n };\n\n const onItemDownload = async (id: LightboxItem['id']) => {\n const currentItem = items?.find(item => item.id === id);\n if (!currentItem) return;\n\n if (currentItem.src) {\n const objectURL = URL.createObjectURL(await (await fetch(currentItem.src)).blob());\n\n const a = document.createElement('a');\n a.href = objectURL;\n a.download = currentItem.name ?? id;\n document.body.appendChild(a);\n a.click();\n document.body.removeChild(a);\n URL.revokeObjectURL(objectURL);\n }\n };\n\n const onItemError = (id: LightboxItem['id']) => {\n setItems(item => {\n return item?.map(obj => (obj.id === id ? { ...obj, error: true } : obj));\n });\n };\n\n return (\n <>\n <Button\n ref={demoButtonRef}\n onClick={() => {\n setOpen(true);\n onClick();\n }}\n >\n Open Lightbox\n </Button>\n {open && (\n <Lightbox\n items={items ?? []}\n cycle={args.cycle || undefined}\n onAfterClose={() => {\n setOpen(false);\n demoButtonRef.current?.focus();\n }}\n onItemDownload={onItemDownload}\n onItemError={onItemError}\n />\n )}\n </>\n );\n};\n\nLightboxDemo.args = {\n limit: 12,\n cycle: false,\n error: false\n};\n\nLightboxDemo.argTypes = {\n limit: { control: { type: 'number' } },\n cycle: { control: { type: 'boolean' } },\n error: { control: { type: 'boolean' } }\n};\n"]}