@pega/cosmos-react-demos 4.0.0-dev.20.0 → 4.0.0-dev.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (993) hide show
  1. package/jsx/build/AppShell/AppShell.stories.d.ts +5 -5
  2. package/jsx/build/AppShell/AppShell.stories.d.ts.map +1 -1
  3. package/jsx/build/AppShell/AppShell.stories.jsx.map +1 -1
  4. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +3 -3
  5. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  6. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -1
  7. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +8 -8
  8. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -1
  9. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx +1 -2
  10. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx.map +1 -1
  11. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +5 -5
  12. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  13. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +1 -1
  14. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -3
  15. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  16. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx +1 -2
  17. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +1 -1
  18. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +6 -6
  19. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  20. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -1
  21. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +3 -3
  22. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +1 -1
  23. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx.map +1 -1
  24. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +6 -6
  25. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -1
  26. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +1 -1
  27. package/jsx/build/PageBanner/PageBanner.stories.d.ts +5 -5
  28. package/jsx/build/PageBanner/PageBanner.stories.d.ts.map +1 -1
  29. package/jsx/build/PageBanner/PageBanner.stories.jsx.map +1 -1
  30. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +4 -4
  31. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  32. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +1 -1
  33. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +5 -5
  34. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  35. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  36. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts +5 -5
  37. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts.map +1 -1
  38. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx.map +1 -1
  39. package/jsx/build/Workbench/Workbench.stories.d.ts +4 -4
  40. package/jsx/build/Workbench/Workbench.stories.d.ts.map +1 -1
  41. package/jsx/build/Workbench/Workbench.stories.jsx.map +1 -1
  42. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +5 -5
  43. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  44. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -1
  45. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts +4 -4
  46. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -1
  47. package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx.map +1 -1
  48. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +3 -3
  49. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -1
  50. package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx.map +1 -1
  51. package/jsx/core/AIButton/AIButton.stories.d.ts +7 -7
  52. package/jsx/core/AIButton/AIButton.stories.d.ts.map +1 -1
  53. package/jsx/core/AIButton/AIButton.stories.jsx.map +1 -1
  54. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +4 -4
  55. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
  56. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +1 -1
  57. package/jsx/core/AppShell/AppShell.stories.d.ts +5 -5
  58. package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -1
  59. package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -1
  60. package/jsx/core/Avatar/Avatar.stories.d.ts +9 -9
  61. package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -1
  62. package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -1
  63. package/jsx/core/Backdrop/Backdrop.stories.d.ts +5 -5
  64. package/jsx/core/Backdrop/Backdrop.stories.d.ts.map +1 -1
  65. package/jsx/core/Backdrop/Backdrop.stories.jsx.map +1 -1
  66. package/jsx/core/Badges/Alert.stories.d.ts +4 -4
  67. package/jsx/core/Badges/Alert.stories.d.ts.map +1 -1
  68. package/jsx/core/Badges/Alert.stories.jsx.map +1 -1
  69. package/jsx/core/Badges/Count.stories.d.ts +4 -4
  70. package/jsx/core/Badges/Count.stories.d.ts.map +1 -1
  71. package/jsx/core/Badges/Count.stories.jsx.map +1 -1
  72. package/jsx/core/Badges/Keyboard.stories.d.ts +4 -4
  73. package/jsx/core/Badges/Keyboard.stories.d.ts.map +1 -1
  74. package/jsx/core/Badges/Keyboard.stories.jsx.map +1 -1
  75. package/jsx/core/Badges/Selection.stories.d.ts +3 -3
  76. package/jsx/core/Badges/Selection.stories.d.ts.map +1 -1
  77. package/jsx/core/Badges/Selection.stories.jsx.map +1 -1
  78. package/jsx/core/Badges/Status.stories.d.ts +5 -5
  79. package/jsx/core/Badges/Status.stories.d.ts.map +1 -1
  80. package/jsx/core/Badges/Status.stories.jsx.map +1 -1
  81. package/jsx/core/Badges/Tag.stories.d.ts +3 -3
  82. package/jsx/core/Badges/Tag.stories.d.ts.map +1 -1
  83. package/jsx/core/Badges/Tag.stories.jsx.map +1 -1
  84. package/jsx/core/Banner/Banner.stories.d.ts +7 -7
  85. package/jsx/core/Banner/Banner.stories.d.ts.map +1 -1
  86. package/jsx/core/Banner/Banner.stories.jsx.map +1 -1
  87. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts +4 -4
  88. package/jsx/core/Boolean/BooleanDisplay.stories.d.ts.map +1 -1
  89. package/jsx/core/Boolean/BooleanDisplay.stories.jsx.map +1 -1
  90. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +4 -4
  91. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  92. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
  93. package/jsx/core/Button/Button.stories.d.ts +9 -9
  94. package/jsx/core/Button/Button.stories.d.ts.map +1 -1
  95. package/jsx/core/Button/Button.stories.jsx.map +1 -1
  96. package/jsx/core/Card/Card.stories.d.ts +6 -6
  97. package/jsx/core/Card/Card.stories.d.ts.map +1 -1
  98. package/jsx/core/Card/Card.stories.jsx.map +1 -1
  99. package/jsx/core/Checkbox/Checkbox.stories.d.ts +6 -6
  100. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  101. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
  102. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +5 -5
  103. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  104. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
  105. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +5 -5
  106. package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  107. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
  108. package/jsx/core/ComboBox/ComboBox.stories.d.ts +9 -9
  109. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  110. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -1
  111. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts +3 -3
  112. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
  113. package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +1 -1
  114. package/jsx/core/Configuration/Configuration.stories.d.ts +8 -8
  115. package/jsx/core/Configuration/Configuration.stories.d.ts.map +1 -1
  116. package/jsx/core/Configuration/Configuration.stories.jsx.map +1 -1
  117. package/jsx/core/CreditCard/CreditCard.stories.d.ts +4 -4
  118. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
  119. package/jsx/core/CreditCard/CreditCard.stories.jsx +1 -2
  120. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -1
  121. package/jsx/core/Currency/Currency.stories.d.ts +5 -5
  122. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
  123. package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
  124. package/jsx/core/DangerButton/DangerButton.stories.d.ts +4 -4
  125. package/jsx/core/DangerButton/DangerButton.stories.d.ts.map +1 -1
  126. package/jsx/core/DangerButton/DangerButton.stories.jsx.map +1 -1
  127. package/jsx/core/DateTime/DateTime.stories.d.ts +13 -13
  128. package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
  129. package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
  130. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts +5 -5
  131. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
  132. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +1 -1
  133. package/jsx/core/DateTime/DateTimePicker.stories.d.ts +5 -5
  134. package/jsx/core/DateTime/DateTimePicker.stories.d.ts.map +1 -1
  135. package/jsx/core/DateTime/DateTimePicker.stories.jsx.map +1 -1
  136. package/jsx/core/Dialog/Dialog.stories.d.ts +5 -5
  137. package/jsx/core/Dialog/Dialog.stories.d.ts.map +1 -1
  138. package/jsx/core/Dialog/Dialog.stories.jsx.map +1 -1
  139. package/jsx/core/Drawer/Drawer.stories.d.ts +5 -5
  140. package/jsx/core/Drawer/Drawer.stories.d.ts.map +1 -1
  141. package/jsx/core/Drawer/Drawer.stories.jsx.map +1 -1
  142. package/jsx/core/Email/EmailDisplay.stories.d.ts +4 -4
  143. package/jsx/core/Email/EmailDisplay.stories.d.ts.map +1 -1
  144. package/jsx/core/Email/EmailDisplay.stories.jsx.map +1 -1
  145. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts +6 -6
  146. package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -1
  147. package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx.map +1 -1
  148. package/jsx/core/EmptyState/EmptyState.stories.d.ts +4 -4
  149. package/jsx/core/EmptyState/EmptyState.stories.d.ts.map +1 -1
  150. package/jsx/core/EmptyState/EmptyState.stories.jsx.map +1 -1
  151. package/jsx/core/ErrorState/ErrorState.stories.d.ts +4 -4
  152. package/jsx/core/ErrorState/ErrorState.stories.d.ts.map +1 -1
  153. package/jsx/core/ErrorState/ErrorState.stories.jsx.map +1 -1
  154. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts +5 -5
  155. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +1 -1
  156. package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx.map +1 -1
  157. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +4 -4
  158. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  159. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
  160. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +5 -5
  161. package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  162. package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -1
  163. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +4 -4
  164. package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  165. package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +1 -1
  166. package/jsx/core/File/FileDisplay.stories.d.ts +6 -6
  167. package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
  168. package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
  169. package/jsx/core/File/FileInput.stories.d.ts +4 -4
  170. package/jsx/core/File/FileInput.stories.d.ts.map +1 -1
  171. package/jsx/core/File/FileInput.stories.jsx.map +1 -1
  172. package/jsx/core/Flex/FlexContainer.stories.d.ts +10 -10
  173. package/jsx/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  174. package/jsx/core/Flex/FlexContainer.stories.jsx.map +1 -1
  175. package/jsx/core/Flex/FlexItem.stories.d.ts +6 -6
  176. package/jsx/core/Flex/FlexItem.stories.d.ts.map +1 -1
  177. package/jsx/core/Flex/FlexItem.stories.jsx.map +1 -1
  178. package/jsx/core/Form/Form.stories.d.ts +8 -8
  179. package/jsx/core/Form/Form.stories.d.ts.map +1 -1
  180. package/jsx/core/Form/Form.stories.jsx.map +1 -1
  181. package/jsx/core/Grid/GridContainer.stories.d.ts +12 -12
  182. package/jsx/core/Grid/GridContainer.stories.d.ts.map +1 -1
  183. package/jsx/core/Grid/GridContainer.stories.jsx.map +1 -1
  184. package/jsx/core/Grid/GridItem.stories.d.ts +6 -6
  185. package/jsx/core/Grid/GridItem.stories.d.ts.map +1 -1
  186. package/jsx/core/Grid/GridItem.stories.jsx.map +1 -1
  187. package/jsx/core/HTML/HTML.stories.d.ts +4 -4
  188. package/jsx/core/HTML/HTML.stories.d.ts.map +1 -1
  189. package/jsx/core/HTML/HTML.stories.jsx.map +1 -1
  190. package/jsx/core/Icon/Icon.stories.d.ts +6 -6
  191. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
  192. package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
  193. package/jsx/core/IconPicker/IconPicker.stories.d.ts +4 -4
  194. package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
  195. package/jsx/core/IconPicker/IconPicker.stories.jsx.map +1 -1
  196. package/jsx/core/Image/Image.stories.d.ts +3 -3
  197. package/jsx/core/Image/Image.stories.d.ts.map +1 -1
  198. package/jsx/core/Image/Image.stories.jsx.map +1 -1
  199. package/jsx/core/Input/Input.stories.d.ts +6 -6
  200. package/jsx/core/Input/Input.stories.d.ts.map +1 -1
  201. package/jsx/core/Input/Input.stories.jsx.map +1 -1
  202. package/jsx/core/Label/Label.stories.d.ts +5 -5
  203. package/jsx/core/Label/Label.stories.d.ts.map +1 -1
  204. package/jsx/core/Label/Label.stories.jsx.map +1 -1
  205. package/jsx/core/Lightbox/Lightbox.stories.d.ts +3 -3
  206. package/jsx/core/Lightbox/Lightbox.stories.d.ts.map +1 -1
  207. package/jsx/core/Lightbox/Lightbox.stories.jsx.map +1 -1
  208. package/jsx/core/Link/Link.stories.d.ts +7 -7
  209. package/jsx/core/Link/Link.stories.d.ts.map +1 -1
  210. package/jsx/core/Link/Link.stories.jsx.map +1 -1
  211. package/jsx/core/List/CommaSeparatedList.stories.d.ts +4 -4
  212. package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  213. package/jsx/core/List/CommaSeparatedList.stories.jsx.map +1 -1
  214. package/jsx/core/List/OrderedList.stories.d.ts +4 -4
  215. package/jsx/core/List/OrderedList.stories.d.ts.map +1 -1
  216. package/jsx/core/List/OrderedList.stories.jsx.map +1 -1
  217. package/jsx/core/List/UnorderedList.stories.d.ts +4 -4
  218. package/jsx/core/List/UnorderedList.stories.d.ts.map +1 -1
  219. package/jsx/core/List/UnorderedList.stories.jsx.map +1 -1
  220. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +5 -5
  221. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  222. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -1
  223. package/jsx/core/LiveLog/LiveLog.stories.d.ts +4 -4
  224. package/jsx/core/LiveLog/LiveLog.stories.d.ts.map +1 -1
  225. package/jsx/core/LiveLog/LiveLog.stories.jsx.map +1 -1
  226. package/jsx/core/Location/Location.stories.d.ts +7 -7
  227. package/jsx/core/Location/Location.stories.d.ts.map +1 -1
  228. package/jsx/core/Location/Location.stories.jsx +6 -2
  229. package/jsx/core/Location/Location.stories.jsx.map +1 -1
  230. package/jsx/core/Menu/Menu.stories.d.ts +6 -6
  231. package/jsx/core/Menu/Menu.stories.d.ts.map +1 -1
  232. package/jsx/core/Menu/Menu.stories.jsx.map +1 -1
  233. package/jsx/core/MenuButton/MenuButton.stories.d.ts +7 -7
  234. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  235. package/jsx/core/MenuButton/MenuButton.stories.jsx.map +1 -1
  236. package/jsx/core/MetaList/MetaList.stories.d.ts +4 -4
  237. package/jsx/core/MetaList/MetaList.stories.d.ts.map +1 -1
  238. package/jsx/core/MetaList/MetaList.stories.jsx.map +1 -1
  239. package/jsx/core/Modal/Modal.stories.d.ts +11 -11
  240. package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
  241. package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
  242. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +5 -5
  243. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  244. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +1 -1
  245. package/jsx/core/NoValue/NoValue.stories.d.ts +4 -4
  246. package/jsx/core/NoValue/NoValue.stories.d.ts.map +1 -1
  247. package/jsx/core/NoValue/NoValue.stories.jsx.map +1 -1
  248. package/jsx/core/Number/Number.stories.d.ts +7 -7
  249. package/jsx/core/Number/Number.stories.d.ts.map +1 -1
  250. package/jsx/core/Number/Number.stories.jsx.map +1 -1
  251. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +7 -7
  252. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  253. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  254. package/jsx/core/Pagination/Pagination.stories.d.ts +4 -4
  255. package/jsx/core/Pagination/Pagination.stories.d.ts.map +1 -1
  256. package/jsx/core/Pagination/Pagination.stories.jsx.map +1 -1
  257. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts +4 -4
  258. package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts.map +1 -1
  259. package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx.map +1 -1
  260. package/jsx/core/Phone/Phone.stories.d.ts +5 -5
  261. package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
  262. package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
  263. package/jsx/core/Popover/Popover.stories.d.ts +7 -7
  264. package/jsx/core/Popover/Popover.stories.d.ts.map +1 -1
  265. package/jsx/core/Popover/Popover.stories.jsx.map +1 -1
  266. package/jsx/core/Progress/Progress.stories.d.ts +5 -5
  267. package/jsx/core/Progress/Progress.stories.d.ts.map +1 -1
  268. package/jsx/core/Progress/Progress.stories.jsx.map +1 -1
  269. package/jsx/core/QRCode/QRCode.stories.d.ts +3 -3
  270. package/jsx/core/QRCode/QRCode.stories.d.ts.map +1 -1
  271. package/jsx/core/QRCode/QRCode.stories.jsx.map +1 -1
  272. package/jsx/core/RadioButton/RadioButton.stories.d.ts +6 -6
  273. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  274. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
  275. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +5 -5
  276. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  277. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
  278. package/jsx/core/Rating/Rating.stories.d.ts +5 -5
  279. package/jsx/core/Rating/Rating.stories.d.ts.map +1 -1
  280. package/jsx/core/Rating/Rating.stories.jsx.map +1 -1
  281. package/jsx/core/SearchInput/SearchInput.stories.d.ts +5 -5
  282. package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  283. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +1 -1
  284. package/jsx/core/Select/Select.stories.d.ts +5 -5
  285. package/jsx/core/Select/Select.stories.d.ts.map +1 -1
  286. package/jsx/core/Select/Select.stories.jsx.map +1 -1
  287. package/jsx/core/Sentiment/Sentiment.stories.d.ts +5 -5
  288. package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
  289. package/jsx/core/Sentiment/Sentiment.stories.jsx.map +1 -1
  290. package/jsx/core/SkipLinks/SkipLinks.stories.d.ts +4 -4
  291. package/jsx/core/SkipLinks/SkipLinks.stories.d.ts.map +1 -1
  292. package/jsx/core/SkipLinks/SkipLinks.stories.jsx.map +1 -1
  293. package/jsx/core/Slider/Slider.stories.d.ts +4 -4
  294. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
  295. package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
  296. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +4 -4
  297. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  298. package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +1 -1
  299. package/jsx/core/SummaryList/SummaryList.stories.d.ts +5 -5
  300. package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  301. package/jsx/core/SummaryList/SummaryList.stories.jsx.map +1 -1
  302. package/jsx/core/Switch/Switch.stories.d.ts +6 -6
  303. package/jsx/core/Switch/Switch.stories.d.ts.map +1 -1
  304. package/jsx/core/Switch/Switch.stories.jsx.map +1 -1
  305. package/jsx/core/Table/Table.stories.d.ts +6 -6
  306. package/jsx/core/Table/Table.stories.d.ts.map +1 -1
  307. package/jsx/core/Table/Table.stories.jsx.map +1 -1
  308. package/jsx/core/Tabs/Tabs.stories.d.ts +4 -4
  309. package/jsx/core/Tabs/Tabs.stories.d.ts.map +1 -1
  310. package/jsx/core/Tabs/Tabs.stories.jsx.map +1 -1
  311. package/jsx/core/Text/Text.stories.d.ts +5 -5
  312. package/jsx/core/Text/Text.stories.d.ts.map +1 -1
  313. package/jsx/core/Text/Text.stories.jsx.map +1 -1
  314. package/jsx/core/TextArea/TextArea.stories.d.ts +5 -5
  315. package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
  316. package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
  317. package/jsx/core/Toaster/Toaster.stories.d.ts +3 -3
  318. package/jsx/core/Toaster/Toaster.stories.d.ts.map +1 -1
  319. package/jsx/core/Toaster/Toaster.stories.jsx.map +1 -1
  320. package/jsx/core/Tooltip/Tooltip.stories.d.ts +5 -5
  321. package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  322. package/jsx/core/Tooltip/Tooltip.stories.jsx.map +1 -1
  323. package/jsx/core/Tree/Tree.stories.d.ts +5 -5
  324. package/jsx/core/Tree/Tree.stories.d.ts.map +1 -1
  325. package/jsx/core/Tree/Tree.stories.jsx.map +1 -1
  326. package/jsx/core/URL/URL.stories.d.ts +4 -4
  327. package/jsx/core/URL/URL.stories.d.ts.map +1 -1
  328. package/jsx/core/URL/URL.stories.jsx.map +1 -1
  329. package/jsx/cs/Article/Article.stories.d.ts +3 -3
  330. package/jsx/cs/Article/Article.stories.d.ts.map +1 -1
  331. package/jsx/cs/Article/Article.stories.jsx.map +1 -1
  332. package/jsx/cs/ArticleList/ArticleList.mocks.js +1 -1
  333. package/jsx/cs/ArticleList/ArticleList.mocks.js.map +1 -1
  334. package/jsx/cs/ArticleList/ArticleList.stories.d.ts +3 -3
  335. package/jsx/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  336. package/jsx/cs/ArticleList/ArticleList.stories.jsx.map +1 -1
  337. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts +4 -4
  338. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts.map +1 -1
  339. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx.map +1 -1
  340. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +5 -5
  341. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  342. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -1
  343. package/jsx/cs/DialPad/DialPad.stories.d.ts +4 -4
  344. package/jsx/cs/DialPad/DialPad.stories.d.ts.map +1 -1
  345. package/jsx/cs/DialPad/DialPad.stories.jsx.map +1 -1
  346. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +3 -3
  347. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  348. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -1
  349. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +4 -4
  350. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  351. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +1 -1
  352. package/jsx/cs/Picker/Picker.stories.d.ts +6 -6
  353. package/jsx/cs/Picker/Picker.stories.d.ts.map +1 -1
  354. package/jsx/cs/Picker/Picker.stories.jsx.map +1 -1
  355. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +5 -5
  356. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  357. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +1 -1
  358. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +4 -4
  359. package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  360. package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +1 -1
  361. package/jsx/dnd/StandardDragDropList/Demo.d.ts +1 -0
  362. package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
  363. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +3 -3
  364. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -1
  365. package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx.map +1 -1
  366. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +3 -3
  367. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  368. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -1
  369. package/jsx/rte/Editor/Editor.stories.d.ts +8 -8
  370. package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
  371. package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
  372. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +4 -4
  373. package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  374. package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -1
  375. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +6 -6
  376. package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  377. package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +1 -1
  378. package/jsx/social/Chat/Chat.stories.d.ts +11 -11
  379. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  380. package/jsx/social/Chat/Chat.stories.jsx +8 -2
  381. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  382. package/jsx/social/Email/Email.stories.d.ts +15 -15
  383. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  384. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  385. package/jsx/social/Feed/Feed.mocks.d.ts +18 -13
  386. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
  387. package/jsx/social/Feed/Feed.mocks.jsx +74 -8
  388. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
  389. package/jsx/social/Feed/Feed.stories.d.ts +5 -5
  390. package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
  391. package/jsx/social/Feed/Feed.stories.jsx +12 -12
  392. package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
  393. package/jsx/social/Feed/FeedNewPost.mocks.d.ts +8 -0
  394. package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +1 -0
  395. package/jsx/social/Feed/FeedNewPost.mocks.jsx +44 -0
  396. package/jsx/social/Feed/FeedNewPost.mocks.jsx.map +1 -0
  397. package/jsx/social/Feed/FeedPost.mocks.d.ts +4 -0
  398. package/jsx/social/Feed/FeedPost.mocks.d.ts.map +1 -0
  399. package/jsx/social/Feed/FeedPost.mocks.jsx +167 -0
  400. package/jsx/social/Feed/FeedPost.mocks.jsx.map +1 -0
  401. package/jsx/social/Feed/FeedReply.mocks.d.ts +13 -0
  402. package/jsx/social/Feed/FeedReply.mocks.d.ts.map +1 -0
  403. package/jsx/social/Feed/FeedReply.mocks.jsx +76 -0
  404. package/jsx/social/Feed/FeedReply.mocks.jsx.map +1 -0
  405. package/jsx/tools/Clipboard/Clipboard.stories.d.ts +4 -4
  406. package/jsx/tools/Clipboard/Clipboard.stories.d.ts.map +1 -1
  407. package/jsx/tools/Clipboard/Clipboard.stories.jsx.map +1 -1
  408. package/jsx/tools/DevTools/DevTools.stories.d.ts +4 -4
  409. package/jsx/tools/DevTools/DevTools.stories.d.ts.map +1 -1
  410. package/jsx/tools/DevTools/DevTools.stories.jsx.map +1 -1
  411. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts +7 -7
  412. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -1
  413. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +1 -1
  414. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts +4 -4
  415. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -1
  416. package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +1 -1
  417. package/jsx/work/Assignments/Assignments.stories.d.ts +4 -4
  418. package/jsx/work/Assignments/Assignments.stories.d.ts.map +1 -1
  419. package/jsx/work/Assignments/Assignments.stories.jsx.map +1 -1
  420. package/jsx/work/CaseView/CaseView.mocks.d.ts +1 -1
  421. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  422. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  423. package/jsx/work/CaseView/CaseView.stories.d.ts +3 -3
  424. package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
  425. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
  426. package/jsx/work/CaseView/Pulse.mocks.d.ts +1 -1
  427. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  428. package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -1
  429. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -3
  430. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  431. package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -1
  432. package/jsx/work/Confirmation/Confirmation.stories.d.ts +4 -4
  433. package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  434. package/jsx/work/Confirmation/Confirmation.stories.jsx.map +1 -1
  435. package/jsx/work/Details/Details.stories.d.ts +3 -3
  436. package/jsx/work/Details/Details.stories.d.ts.map +1 -1
  437. package/jsx/work/Details/Details.stories.jsx.map +1 -1
  438. package/jsx/work/Glimpse/Glimpse.stories.d.ts +3 -3
  439. package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  440. package/jsx/work/Glimpse/Glimpse.stories.jsx.map +1 -1
  441. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -4
  442. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  443. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  444. package/jsx/work/Predictions/Predictions.stories.d.ts +3 -3
  445. package/jsx/work/Predictions/Predictions.stories.d.ts.map +1 -1
  446. package/jsx/work/Predictions/Predictions.stories.jsx.map +1 -1
  447. package/jsx/work/SearchResults/SearchResults.stories.d.ts +3 -3
  448. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  449. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -1
  450. package/jsx/work/Stages/Stages.stories.d.ts +4 -4
  451. package/jsx/work/Stages/Stages.stories.d.ts.map +1 -1
  452. package/jsx/work/Stages/Stages.stories.jsx.map +1 -1
  453. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +3 -3
  454. package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  455. package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +1 -1
  456. package/jsx/work/Tags/Tags.stories.d.ts +3 -3
  457. package/jsx/work/Tags/Tags.stories.d.ts.map +1 -1
  458. package/jsx/work/Tags/Tags.stories.jsx.map +1 -1
  459. package/jsx/work/Tasks/TaskList.stories.d.ts +3 -3
  460. package/jsx/work/Tasks/TaskList.stories.d.ts.map +1 -1
  461. package/jsx/work/Tasks/TaskList.stories.jsx.map +1 -1
  462. package/jsx/work/Tasks/Tasks.stories.d.ts +4 -4
  463. package/jsx/work/Tasks/Tasks.stories.d.ts.map +1 -1
  464. package/jsx/work/Tasks/Tasks.stories.jsx.map +1 -1
  465. package/jsx/work/Timeline/Timeline.stories.d.ts +6 -6
  466. package/jsx/work/Timeline/Timeline.stories.d.ts.map +1 -1
  467. package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -1
  468. package/jsx/wss/AppShell/AppShell.stories.d.ts +5 -5
  469. package/jsx/wss/AppShell/AppShell.stories.d.ts.map +1 -1
  470. package/jsx/wss/AppShell/AppShell.stories.jsx.map +1 -1
  471. package/jsx/wss/CaseView/CaseView.stories.d.ts +3 -3
  472. package/jsx/wss/CaseView/CaseView.stories.d.ts.map +1 -1
  473. package/jsx/wss/CaseView/CaseView.stories.jsx +2 -2
  474. package/jsx/wss/CaseView/CaseView.stories.jsx.map +1 -1
  475. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts +3 -3
  476. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  477. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  478. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +3 -3
  479. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
  480. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +1 -1
  481. package/lib/build/AppShell/AppShell.stories.d.ts +5 -5
  482. package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -1
  483. package/lib/build/AppShell/AppShell.stories.js.map +1 -1
  484. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +3 -3
  485. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  486. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -1
  487. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +8 -8
  488. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -1
  489. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js +1 -2
  490. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js.map +1 -1
  491. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +5 -5
  492. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  493. package/lib/build/FlowModeller/FlowModeller.stories.js.map +1 -1
  494. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -3
  495. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
  496. package/lib/build/ItemLibrary/LibraryPicker.stories.js +1 -2
  497. package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +1 -1
  498. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +6 -6
  499. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  500. package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -1
  501. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +3 -3
  502. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +1 -1
  503. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js.map +1 -1
  504. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +6 -6
  505. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -1
  506. package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +1 -1
  507. package/lib/build/PageBanner/PageBanner.stories.d.ts +5 -5
  508. package/lib/build/PageBanner/PageBanner.stories.d.ts.map +1 -1
  509. package/lib/build/PageBanner/PageBanner.stories.js.map +1 -1
  510. package/lib/build/PageTemplates/GalleryPage.stories.d.ts +4 -4
  511. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  512. package/lib/build/PageTemplates/GalleryPage.stories.js.map +1 -1
  513. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +5 -5
  514. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  515. package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -1
  516. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts +5 -5
  517. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts.map +1 -1
  518. package/lib/build/PageTemplates/ShowcasePage.stories.js.map +1 -1
  519. package/lib/build/Workbench/Workbench.stories.d.ts +4 -4
  520. package/lib/build/Workbench/Workbench.stories.d.ts.map +1 -1
  521. package/lib/build/Workbench/Workbench.stories.js.map +1 -1
  522. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +5 -5
  523. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
  524. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +1 -1
  525. package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts +4 -4
  526. package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -1
  527. package/lib/condition-builder/ConditionInput/ConditionInput.stories.js.map +1 -1
  528. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +3 -3
  529. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -1
  530. package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js.map +1 -1
  531. package/lib/core/AIButton/AIButton.stories.d.ts +7 -7
  532. package/lib/core/AIButton/AIButton.stories.d.ts.map +1 -1
  533. package/lib/core/AIButton/AIButton.stories.js.map +1 -1
  534. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts +4 -4
  535. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
  536. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js.map +1 -1
  537. package/lib/core/AppShell/AppShell.stories.d.ts +5 -5
  538. package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -1
  539. package/lib/core/AppShell/AppShell.stories.js.map +1 -1
  540. package/lib/core/Avatar/Avatar.stories.d.ts +9 -9
  541. package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -1
  542. package/lib/core/Avatar/Avatar.stories.js.map +1 -1
  543. package/lib/core/Backdrop/Backdrop.stories.d.ts +5 -5
  544. package/lib/core/Backdrop/Backdrop.stories.d.ts.map +1 -1
  545. package/lib/core/Backdrop/Backdrop.stories.js.map +1 -1
  546. package/lib/core/Badges/Alert.stories.d.ts +4 -4
  547. package/lib/core/Badges/Alert.stories.d.ts.map +1 -1
  548. package/lib/core/Badges/Alert.stories.js.map +1 -1
  549. package/lib/core/Badges/Count.stories.d.ts +4 -4
  550. package/lib/core/Badges/Count.stories.d.ts.map +1 -1
  551. package/lib/core/Badges/Count.stories.js.map +1 -1
  552. package/lib/core/Badges/Keyboard.stories.d.ts +4 -4
  553. package/lib/core/Badges/Keyboard.stories.d.ts.map +1 -1
  554. package/lib/core/Badges/Keyboard.stories.js.map +1 -1
  555. package/lib/core/Badges/Selection.stories.d.ts +3 -3
  556. package/lib/core/Badges/Selection.stories.d.ts.map +1 -1
  557. package/lib/core/Badges/Selection.stories.js.map +1 -1
  558. package/lib/core/Badges/Status.stories.d.ts +5 -5
  559. package/lib/core/Badges/Status.stories.d.ts.map +1 -1
  560. package/lib/core/Badges/Status.stories.js.map +1 -1
  561. package/lib/core/Badges/Tag.stories.d.ts +3 -3
  562. package/lib/core/Badges/Tag.stories.d.ts.map +1 -1
  563. package/lib/core/Badges/Tag.stories.js.map +1 -1
  564. package/lib/core/Banner/Banner.stories.d.ts +7 -7
  565. package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
  566. package/lib/core/Banner/Banner.stories.js.map +1 -1
  567. package/lib/core/Boolean/BooleanDisplay.stories.d.ts +4 -4
  568. package/lib/core/Boolean/BooleanDisplay.stories.d.ts.map +1 -1
  569. package/lib/core/Boolean/BooleanDisplay.stories.js.map +1 -1
  570. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +4 -4
  571. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  572. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
  573. package/lib/core/Button/Button.stories.d.ts +9 -9
  574. package/lib/core/Button/Button.stories.d.ts.map +1 -1
  575. package/lib/core/Button/Button.stories.js.map +1 -1
  576. package/lib/core/Card/Card.stories.d.ts +6 -6
  577. package/lib/core/Card/Card.stories.d.ts.map +1 -1
  578. package/lib/core/Card/Card.stories.js.map +1 -1
  579. package/lib/core/Checkbox/Checkbox.stories.d.ts +6 -6
  580. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  581. package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
  582. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +5 -5
  583. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  584. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
  585. package/lib/core/ColorPicker/ColorPicker.stories.d.ts +5 -5
  586. package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  587. package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
  588. package/lib/core/ComboBox/ComboBox.stories.d.ts +9 -9
  589. package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  590. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
  591. package/lib/core/CompositeInput/CompositeInput.stories.d.ts +3 -3
  592. package/lib/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
  593. package/lib/core/CompositeInput/CompositeInput.stories.js.map +1 -1
  594. package/lib/core/Configuration/Configuration.stories.d.ts +8 -8
  595. package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -1
  596. package/lib/core/Configuration/Configuration.stories.js.map +1 -1
  597. package/lib/core/CreditCard/CreditCard.stories.d.ts +4 -4
  598. package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
  599. package/lib/core/CreditCard/CreditCard.stories.js +1 -2
  600. package/lib/core/CreditCard/CreditCard.stories.js.map +1 -1
  601. package/lib/core/Currency/Currency.stories.d.ts +5 -5
  602. package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
  603. package/lib/core/Currency/Currency.stories.js.map +1 -1
  604. package/lib/core/DangerButton/DangerButton.stories.d.ts +4 -4
  605. package/lib/core/DangerButton/DangerButton.stories.d.ts.map +1 -1
  606. package/lib/core/DangerButton/DangerButton.stories.js.map +1 -1
  607. package/lib/core/DateTime/DateTime.stories.d.ts +13 -13
  608. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
  609. package/lib/core/DateTime/DateTime.stories.js.map +1 -1
  610. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts +5 -5
  611. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
  612. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
  613. package/lib/core/DateTime/DateTimePicker.stories.d.ts +5 -5
  614. package/lib/core/DateTime/DateTimePicker.stories.d.ts.map +1 -1
  615. package/lib/core/DateTime/DateTimePicker.stories.js.map +1 -1
  616. package/lib/core/Dialog/Dialog.stories.d.ts +5 -5
  617. package/lib/core/Dialog/Dialog.stories.d.ts.map +1 -1
  618. package/lib/core/Dialog/Dialog.stories.js.map +1 -1
  619. package/lib/core/Drawer/Drawer.stories.d.ts +5 -5
  620. package/lib/core/Drawer/Drawer.stories.d.ts.map +1 -1
  621. package/lib/core/Drawer/Drawer.stories.js.map +1 -1
  622. package/lib/core/Email/EmailDisplay.stories.d.ts +4 -4
  623. package/lib/core/Email/EmailDisplay.stories.d.ts.map +1 -1
  624. package/lib/core/Email/EmailDisplay.stories.js.map +1 -1
  625. package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts +6 -6
  626. package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -1
  627. package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +1 -1
  628. package/lib/core/EmptyState/EmptyState.stories.d.ts +4 -4
  629. package/lib/core/EmptyState/EmptyState.stories.d.ts.map +1 -1
  630. package/lib/core/EmptyState/EmptyState.stories.js.map +1 -1
  631. package/lib/core/ErrorState/ErrorState.stories.d.ts +4 -4
  632. package/lib/core/ErrorState/ErrorState.stories.d.ts.map +1 -1
  633. package/lib/core/ErrorState/ErrorState.stories.js.map +1 -1
  634. package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts +5 -5
  635. package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +1 -1
  636. package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +1 -1
  637. package/lib/core/FieldGroup/FieldGroup.stories.d.ts +4 -4
  638. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  639. package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
  640. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +5 -5
  641. package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
  642. package/lib/core/FieldGroup/FieldGroupList.stories.js.map +1 -1
  643. package/lib/core/FieldValueList/FieldValueList.stories.d.ts +4 -4
  644. package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
  645. package/lib/core/FieldValueList/FieldValueList.stories.js.map +1 -1
  646. package/lib/core/File/FileDisplay.stories.d.ts +6 -6
  647. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
  648. package/lib/core/File/FileDisplay.stories.js.map +1 -1
  649. package/lib/core/File/FileInput.stories.d.ts +4 -4
  650. package/lib/core/File/FileInput.stories.d.ts.map +1 -1
  651. package/lib/core/File/FileInput.stories.js.map +1 -1
  652. package/lib/core/Flex/FlexContainer.stories.d.ts +10 -10
  653. package/lib/core/Flex/FlexContainer.stories.d.ts.map +1 -1
  654. package/lib/core/Flex/FlexContainer.stories.js.map +1 -1
  655. package/lib/core/Flex/FlexItem.stories.d.ts +6 -6
  656. package/lib/core/Flex/FlexItem.stories.d.ts.map +1 -1
  657. package/lib/core/Flex/FlexItem.stories.js.map +1 -1
  658. package/lib/core/Form/Form.stories.d.ts +8 -8
  659. package/lib/core/Form/Form.stories.d.ts.map +1 -1
  660. package/lib/core/Form/Form.stories.js.map +1 -1
  661. package/lib/core/Grid/GridContainer.stories.d.ts +12 -12
  662. package/lib/core/Grid/GridContainer.stories.d.ts.map +1 -1
  663. package/lib/core/Grid/GridContainer.stories.js.map +1 -1
  664. package/lib/core/Grid/GridItem.stories.d.ts +6 -6
  665. package/lib/core/Grid/GridItem.stories.d.ts.map +1 -1
  666. package/lib/core/Grid/GridItem.stories.js.map +1 -1
  667. package/lib/core/HTML/HTML.stories.d.ts +4 -4
  668. package/lib/core/HTML/HTML.stories.d.ts.map +1 -1
  669. package/lib/core/HTML/HTML.stories.js.map +1 -1
  670. package/lib/core/Icon/Icon.stories.d.ts +6 -6
  671. package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
  672. package/lib/core/Icon/Icon.stories.js.map +1 -1
  673. package/lib/core/IconPicker/IconPicker.stories.d.ts +4 -4
  674. package/lib/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
  675. package/lib/core/IconPicker/IconPicker.stories.js.map +1 -1
  676. package/lib/core/Image/Image.stories.d.ts +3 -3
  677. package/lib/core/Image/Image.stories.d.ts.map +1 -1
  678. package/lib/core/Image/Image.stories.js.map +1 -1
  679. package/lib/core/Input/Input.stories.d.ts +6 -6
  680. package/lib/core/Input/Input.stories.d.ts.map +1 -1
  681. package/lib/core/Input/Input.stories.js.map +1 -1
  682. package/lib/core/Label/Label.stories.d.ts +5 -5
  683. package/lib/core/Label/Label.stories.d.ts.map +1 -1
  684. package/lib/core/Label/Label.stories.js.map +1 -1
  685. package/lib/core/Lightbox/Lightbox.stories.d.ts +3 -3
  686. package/lib/core/Lightbox/Lightbox.stories.d.ts.map +1 -1
  687. package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
  688. package/lib/core/Link/Link.stories.d.ts +7 -7
  689. package/lib/core/Link/Link.stories.d.ts.map +1 -1
  690. package/lib/core/Link/Link.stories.js.map +1 -1
  691. package/lib/core/List/CommaSeparatedList.stories.d.ts +4 -4
  692. package/lib/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
  693. package/lib/core/List/CommaSeparatedList.stories.js.map +1 -1
  694. package/lib/core/List/OrderedList.stories.d.ts +4 -4
  695. package/lib/core/List/OrderedList.stories.d.ts.map +1 -1
  696. package/lib/core/List/OrderedList.stories.js.map +1 -1
  697. package/lib/core/List/UnorderedList.stories.d.ts +4 -4
  698. package/lib/core/List/UnorderedList.stories.d.ts.map +1 -1
  699. package/lib/core/List/UnorderedList.stories.js.map +1 -1
  700. package/lib/core/ListToolbar/ListToolbar.stories.d.ts +5 -5
  701. package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  702. package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -1
  703. package/lib/core/LiveLog/LiveLog.stories.d.ts +4 -4
  704. package/lib/core/LiveLog/LiveLog.stories.d.ts.map +1 -1
  705. package/lib/core/LiveLog/LiveLog.stories.js.map +1 -1
  706. package/lib/core/Location/Location.stories.d.ts +7 -7
  707. package/lib/core/Location/Location.stories.d.ts.map +1 -1
  708. package/lib/core/Location/Location.stories.js +6 -2
  709. package/lib/core/Location/Location.stories.js.map +1 -1
  710. package/lib/core/Menu/Menu.stories.d.ts +6 -6
  711. package/lib/core/Menu/Menu.stories.d.ts.map +1 -1
  712. package/lib/core/Menu/Menu.stories.js.map +1 -1
  713. package/lib/core/MenuButton/MenuButton.stories.d.ts +7 -7
  714. package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  715. package/lib/core/MenuButton/MenuButton.stories.js.map +1 -1
  716. package/lib/core/MetaList/MetaList.stories.d.ts +4 -4
  717. package/lib/core/MetaList/MetaList.stories.d.ts.map +1 -1
  718. package/lib/core/MetaList/MetaList.stories.js.map +1 -1
  719. package/lib/core/Modal/Modal.stories.d.ts +11 -11
  720. package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
  721. package/lib/core/Modal/Modal.stories.js.map +1 -1
  722. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts +5 -5
  723. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  724. package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +1 -1
  725. package/lib/core/NoValue/NoValue.stories.d.ts +4 -4
  726. package/lib/core/NoValue/NoValue.stories.d.ts.map +1 -1
  727. package/lib/core/NoValue/NoValue.stories.js.map +1 -1
  728. package/lib/core/Number/Number.stories.d.ts +7 -7
  729. package/lib/core/Number/Number.stories.d.ts.map +1 -1
  730. package/lib/core/Number/Number.stories.js.map +1 -1
  731. package/lib/core/PageTemplates/PageTemplates.stories.d.ts +7 -7
  732. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  733. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  734. package/lib/core/Pagination/Pagination.stories.d.ts +4 -4
  735. package/lib/core/Pagination/Pagination.stories.d.ts.map +1 -1
  736. package/lib/core/Pagination/Pagination.stories.js.map +1 -1
  737. package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts +4 -4
  738. package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts.map +1 -1
  739. package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +1 -1
  740. package/lib/core/Phone/Phone.stories.d.ts +5 -5
  741. package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
  742. package/lib/core/Phone/Phone.stories.js.map +1 -1
  743. package/lib/core/Popover/Popover.stories.d.ts +7 -7
  744. package/lib/core/Popover/Popover.stories.d.ts.map +1 -1
  745. package/lib/core/Popover/Popover.stories.js.map +1 -1
  746. package/lib/core/Progress/Progress.stories.d.ts +5 -5
  747. package/lib/core/Progress/Progress.stories.d.ts.map +1 -1
  748. package/lib/core/Progress/Progress.stories.js.map +1 -1
  749. package/lib/core/QRCode/QRCode.stories.d.ts +3 -3
  750. package/lib/core/QRCode/QRCode.stories.d.ts.map +1 -1
  751. package/lib/core/QRCode/QRCode.stories.js.map +1 -1
  752. package/lib/core/RadioButton/RadioButton.stories.d.ts +6 -6
  753. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  754. package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
  755. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +5 -5
  756. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  757. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
  758. package/lib/core/Rating/Rating.stories.d.ts +5 -5
  759. package/lib/core/Rating/Rating.stories.d.ts.map +1 -1
  760. package/lib/core/Rating/Rating.stories.js.map +1 -1
  761. package/lib/core/SearchInput/SearchInput.stories.d.ts +5 -5
  762. package/lib/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
  763. package/lib/core/SearchInput/SearchInput.stories.js.map +1 -1
  764. package/lib/core/Select/Select.stories.d.ts +5 -5
  765. package/lib/core/Select/Select.stories.d.ts.map +1 -1
  766. package/lib/core/Select/Select.stories.js.map +1 -1
  767. package/lib/core/Sentiment/Sentiment.stories.d.ts +5 -5
  768. package/lib/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
  769. package/lib/core/Sentiment/Sentiment.stories.js.map +1 -1
  770. package/lib/core/SkipLinks/SkipLinks.stories.d.ts +4 -4
  771. package/lib/core/SkipLinks/SkipLinks.stories.d.ts.map +1 -1
  772. package/lib/core/SkipLinks/SkipLinks.stories.js.map +1 -1
  773. package/lib/core/Slider/Slider.stories.d.ts +4 -4
  774. package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
  775. package/lib/core/Slider/Slider.stories.js.map +1 -1
  776. package/lib/core/SummaryItem/SummaryItem.stories.d.ts +4 -4
  777. package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  778. package/lib/core/SummaryItem/SummaryItem.stories.js.map +1 -1
  779. package/lib/core/SummaryList/SummaryList.stories.d.ts +5 -5
  780. package/lib/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
  781. package/lib/core/SummaryList/SummaryList.stories.js.map +1 -1
  782. package/lib/core/Switch/Switch.stories.d.ts +6 -6
  783. package/lib/core/Switch/Switch.stories.d.ts.map +1 -1
  784. package/lib/core/Switch/Switch.stories.js.map +1 -1
  785. package/lib/core/Table/Table.stories.d.ts +6 -6
  786. package/lib/core/Table/Table.stories.d.ts.map +1 -1
  787. package/lib/core/Table/Table.stories.js.map +1 -1
  788. package/lib/core/Tabs/Tabs.stories.d.ts +4 -4
  789. package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -1
  790. package/lib/core/Tabs/Tabs.stories.js.map +1 -1
  791. package/lib/core/Text/Text.stories.d.ts +5 -5
  792. package/lib/core/Text/Text.stories.d.ts.map +1 -1
  793. package/lib/core/Text/Text.stories.js.map +1 -1
  794. package/lib/core/TextArea/TextArea.stories.d.ts +5 -5
  795. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
  796. package/lib/core/TextArea/TextArea.stories.js.map +1 -1
  797. package/lib/core/Toaster/Toaster.stories.d.ts +3 -3
  798. package/lib/core/Toaster/Toaster.stories.d.ts.map +1 -1
  799. package/lib/core/Toaster/Toaster.stories.js.map +1 -1
  800. package/lib/core/Tooltip/Tooltip.stories.d.ts +5 -5
  801. package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
  802. package/lib/core/Tooltip/Tooltip.stories.js.map +1 -1
  803. package/lib/core/Tree/Tree.stories.d.ts +5 -5
  804. package/lib/core/Tree/Tree.stories.d.ts.map +1 -1
  805. package/lib/core/Tree/Tree.stories.js.map +1 -1
  806. package/lib/core/URL/URL.stories.d.ts +4 -4
  807. package/lib/core/URL/URL.stories.d.ts.map +1 -1
  808. package/lib/core/URL/URL.stories.js.map +1 -1
  809. package/lib/cs/Article/Article.stories.d.ts +3 -3
  810. package/lib/cs/Article/Article.stories.d.ts.map +1 -1
  811. package/lib/cs/Article/Article.stories.js.map +1 -1
  812. package/lib/cs/ArticleList/ArticleList.mocks.js +1 -1
  813. package/lib/cs/ArticleList/ArticleList.mocks.js.map +1 -1
  814. package/lib/cs/ArticleList/ArticleList.stories.d.ts +3 -3
  815. package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
  816. package/lib/cs/ArticleList/ArticleList.stories.js.map +1 -1
  817. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts +4 -4
  818. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts.map +1 -1
  819. package/lib/cs/CSAppShell/CSAppShell.stories.js.map +1 -1
  820. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +5 -5
  821. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  822. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +1 -1
  823. package/lib/cs/DialPad/DialPad.stories.d.ts +4 -4
  824. package/lib/cs/DialPad/DialPad.stories.d.ts.map +1 -1
  825. package/lib/cs/DialPad/DialPad.stories.js.map +1 -1
  826. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +3 -3
  827. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  828. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +1 -1
  829. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +4 -4
  830. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
  831. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +1 -1
  832. package/lib/cs/Picker/Picker.stories.d.ts +6 -6
  833. package/lib/cs/Picker/Picker.stories.d.ts.map +1 -1
  834. package/lib/cs/Picker/Picker.stories.js.map +1 -1
  835. package/lib/cs/TaskManager/TaskManager.stories.d.ts +5 -5
  836. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  837. package/lib/cs/TaskManager/TaskManager.stories.js.map +1 -1
  838. package/lib/dnd/DragDropList/DragDropList.stories.d.ts +4 -4
  839. package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
  840. package/lib/dnd/DragDropList/DragDropList.stories.js.map +1 -1
  841. package/lib/dnd/StandardDragDropList/Demo.d.ts +1 -0
  842. package/lib/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
  843. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +3 -3
  844. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -1
  845. package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js.map +1 -1
  846. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +3 -3
  847. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  848. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -1
  849. package/lib/rte/Editor/Editor.stories.d.ts +8 -8
  850. package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
  851. package/lib/rte/Editor/Editor.stories.js.map +1 -1
  852. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +4 -4
  853. package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
  854. package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +1 -1
  855. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +6 -6
  856. package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
  857. package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +1 -1
  858. package/lib/social/Chat/Chat.stories.d.ts +11 -11
  859. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  860. package/lib/social/Chat/Chat.stories.js +8 -2
  861. package/lib/social/Chat/Chat.stories.js.map +1 -1
  862. package/lib/social/Email/Email.stories.d.ts +15 -15
  863. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  864. package/lib/social/Email/Email.stories.js.map +1 -1
  865. package/lib/social/Feed/Feed.mocks.d.ts +18 -13
  866. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
  867. package/lib/social/Feed/Feed.mocks.js +74 -8
  868. package/lib/social/Feed/Feed.mocks.js.map +1 -1
  869. package/lib/social/Feed/Feed.stories.d.ts +5 -5
  870. package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
  871. package/lib/social/Feed/Feed.stories.js +12 -12
  872. package/lib/social/Feed/Feed.stories.js.map +1 -1
  873. package/lib/social/Feed/FeedNewPost.mocks.d.ts +8 -0
  874. package/lib/social/Feed/FeedNewPost.mocks.d.ts.map +1 -0
  875. package/lib/social/Feed/FeedNewPost.mocks.js +46 -0
  876. package/lib/social/Feed/FeedNewPost.mocks.js.map +1 -0
  877. package/lib/social/Feed/FeedPost.mocks.d.ts +4 -0
  878. package/lib/social/Feed/FeedPost.mocks.d.ts.map +1 -0
  879. package/lib/social/Feed/FeedPost.mocks.js +165 -0
  880. package/lib/social/Feed/FeedPost.mocks.js.map +1 -0
  881. package/lib/social/Feed/FeedReply.mocks.d.ts +13 -0
  882. package/lib/social/Feed/FeedReply.mocks.d.ts.map +1 -0
  883. package/lib/social/Feed/FeedReply.mocks.js +74 -0
  884. package/lib/social/Feed/FeedReply.mocks.js.map +1 -0
  885. package/lib/tools/Clipboard/Clipboard.stories.d.ts +4 -4
  886. package/lib/tools/Clipboard/Clipboard.stories.d.ts.map +1 -1
  887. package/lib/tools/Clipboard/Clipboard.stories.js.map +1 -1
  888. package/lib/tools/DevTools/DevTools.stories.d.ts +4 -4
  889. package/lib/tools/DevTools/DevTools.stories.d.ts.map +1 -1
  890. package/lib/tools/DevTools/DevTools.stories.js.map +1 -1
  891. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts +7 -7
  892. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -1
  893. package/lib/tools/PreviewShell/PreviewShell.stories.js.map +1 -1
  894. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts +4 -4
  895. package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -1
  896. package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +1 -1
  897. package/lib/work/Assignments/Assignments.stories.d.ts +4 -4
  898. package/lib/work/Assignments/Assignments.stories.d.ts.map +1 -1
  899. package/lib/work/Assignments/Assignments.stories.js.map +1 -1
  900. package/lib/work/CaseView/CaseView.mocks.d.ts +1 -1
  901. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  902. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  903. package/lib/work/CaseView/CaseView.stories.d.ts +3 -3
  904. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
  905. package/lib/work/CaseView/CaseView.stories.js.map +1 -1
  906. package/lib/work/CaseView/Pulse.mocks.d.ts +1 -1
  907. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  908. package/lib/work/CaseView/Pulse.mocks.js.map +1 -1
  909. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -3
  910. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
  911. package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +1 -1
  912. package/lib/work/Confirmation/Confirmation.stories.d.ts +4 -4
  913. package/lib/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
  914. package/lib/work/Confirmation/Confirmation.stories.js.map +1 -1
  915. package/lib/work/Details/Details.stories.d.ts +3 -3
  916. package/lib/work/Details/Details.stories.d.ts.map +1 -1
  917. package/lib/work/Details/Details.stories.js.map +1 -1
  918. package/lib/work/Glimpse/Glimpse.stories.d.ts +3 -3
  919. package/lib/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
  920. package/lib/work/Glimpse/Glimpse.stories.js.map +1 -1
  921. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -4
  922. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  923. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  924. package/lib/work/Predictions/Predictions.stories.d.ts +3 -3
  925. package/lib/work/Predictions/Predictions.stories.d.ts.map +1 -1
  926. package/lib/work/Predictions/Predictions.stories.js.map +1 -1
  927. package/lib/work/SearchResults/SearchResults.stories.d.ts +3 -3
  928. package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  929. package/lib/work/SearchResults/SearchResults.stories.js.map +1 -1
  930. package/lib/work/Stages/Stages.stories.d.ts +4 -4
  931. package/lib/work/Stages/Stages.stories.d.ts.map +1 -1
  932. package/lib/work/Stages/Stages.stories.js.map +1 -1
  933. package/lib/work/Stakeholders/Stakeholders.stories.d.ts +3 -3
  934. package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
  935. package/lib/work/Stakeholders/Stakeholders.stories.js.map +1 -1
  936. package/lib/work/Tags/Tags.stories.d.ts +3 -3
  937. package/lib/work/Tags/Tags.stories.d.ts.map +1 -1
  938. package/lib/work/Tags/Tags.stories.js.map +1 -1
  939. package/lib/work/Tasks/TaskList.stories.d.ts +3 -3
  940. package/lib/work/Tasks/TaskList.stories.d.ts.map +1 -1
  941. package/lib/work/Tasks/TaskList.stories.js.map +1 -1
  942. package/lib/work/Tasks/Tasks.stories.d.ts +4 -4
  943. package/lib/work/Tasks/Tasks.stories.d.ts.map +1 -1
  944. package/lib/work/Tasks/Tasks.stories.js.map +1 -1
  945. package/lib/work/Timeline/Timeline.stories.d.ts +6 -6
  946. package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -1
  947. package/lib/work/Timeline/Timeline.stories.js.map +1 -1
  948. package/lib/wss/AppShell/AppShell.stories.d.ts +5 -5
  949. package/lib/wss/AppShell/AppShell.stories.d.ts.map +1 -1
  950. package/lib/wss/AppShell/AppShell.stories.js.map +1 -1
  951. package/lib/wss/CaseView/CaseView.stories.d.ts +3 -3
  952. package/lib/wss/CaseView/CaseView.stories.d.ts.map +1 -1
  953. package/lib/wss/CaseView/CaseView.stories.js +2 -2
  954. package/lib/wss/CaseView/CaseView.stories.js.map +1 -1
  955. package/lib/wss/PageTemplates/PageTemplates.stories.d.ts +3 -3
  956. package/lib/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  957. package/lib/wss/PageTemplates/PageTemplates.stories.js.map +1 -1
  958. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts +3 -3
  959. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
  960. package/lib/wss/QuickCreate/QuickCreate.stories.js.map +1 -1
  961. package/package.json +17 -17
  962. package/jsx/social/Feed/FeedNewPost.stories.d.ts +0 -10
  963. package/jsx/social/Feed/FeedNewPost.stories.d.ts.map +0 -1
  964. package/jsx/social/Feed/FeedNewPost.stories.jsx +0 -81
  965. package/jsx/social/Feed/FeedNewPost.stories.jsx.map +0 -1
  966. package/jsx/social/Feed/FeedPost.stories.d.ts +0 -8
  967. package/jsx/social/Feed/FeedPost.stories.d.ts.map +0 -1
  968. package/jsx/social/Feed/FeedPost.stories.jsx +0 -266
  969. package/jsx/social/Feed/FeedPost.stories.jsx.map +0 -1
  970. package/jsx/social/Feed/FeedReply.stories.d.ts +0 -16
  971. package/jsx/social/Feed/FeedReply.stories.d.ts.map +0 -1
  972. package/jsx/social/Feed/FeedReply.stories.jsx +0 -112
  973. package/jsx/social/Feed/FeedReply.stories.jsx.map +0 -1
  974. package/jsx/social/Feed/FeedReplyInput.stories.d.ts +0 -10
  975. package/jsx/social/Feed/FeedReplyInput.stories.d.ts.map +0 -1
  976. package/jsx/social/Feed/FeedReplyInput.stories.jsx +0 -60
  977. package/jsx/social/Feed/FeedReplyInput.stories.jsx.map +0 -1
  978. package/lib/social/Feed/FeedNewPost.stories.d.ts +0 -10
  979. package/lib/social/Feed/FeedNewPost.stories.d.ts.map +0 -1
  980. package/lib/social/Feed/FeedNewPost.stories.js +0 -83
  981. package/lib/social/Feed/FeedNewPost.stories.js.map +0 -1
  982. package/lib/social/Feed/FeedPost.stories.d.ts +0 -8
  983. package/lib/social/Feed/FeedPost.stories.d.ts.map +0 -1
  984. package/lib/social/Feed/FeedPost.stories.js +0 -259
  985. package/lib/social/Feed/FeedPost.stories.js.map +0 -1
  986. package/lib/social/Feed/FeedReply.stories.d.ts +0 -16
  987. package/lib/social/Feed/FeedReply.stories.d.ts.map +0 -1
  988. package/lib/social/Feed/FeedReply.stories.js +0 -108
  989. package/lib/social/Feed/FeedReply.stories.js.map +0 -1
  990. package/lib/social/Feed/FeedReplyInput.stories.d.ts +0 -10
  991. package/lib/social/Feed/FeedReplyInput.stories.d.ts.map +0 -1
  992. package/lib/social/Feed/FeedReplyInput.stories.js +0 -61
  993. package/lib/social/Feed/FeedReplyInput.stories.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"MultiStepForm.stories.jsx","sourceRoot":"","sources":["../../../src/core/MultiStepForm/MultiStepForm.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,UAAU,EACV,OAAO,EACP,QAAQ,EACR,SAAS,EACT,MAAM,EACP,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,MAAM,EACN,MAAM,EAEN,IAAI,EACJ,aAAa,EACb,IAAI,EACJ,eAAe,EAChB,MAAM,yBAAyB,CAAC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AA4B,EAC5B,EAAE;IACF,MAAM,EAAE,MAAM,EAAE,GAAG,eAAe,EAAE,CAAC;IAErC,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,CAAC,MAAM,CACL,OAAO,CAAC,CAAC,GAAG,EAAE;YACZ,MAAM,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;QAC/B,CAAC,CAAC,CAEF;;IACF,EAAE,MAAM,CAAC,CACV,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport {\n type ReactNode,\n type Reducer,\n type MouseEvent,\n useReducer,\n useMemo,\n useState,\n useEffect,\n useRef\n} from 'react';\n\nimport {\n Button,\n Banner,\n BannerHandleValue,\n Flex,\n MultiStepForm,\n Text,\n useModalManager\n} from '@pega/cosmos-react-core';\nimport { Step } from '@pega/cosmos-react-core/lib/components/MultiStepForm/MultiStepForm.types';\n\nimport { loadingTimeoutMS } from '../Progress/Progress.mocks';\n\nimport {\n ApplicantDetailsFields,\n DemoMultiStepState,\n initialState,\n InterviewNotesFields,\n MultiStepFormDemoProps,\n MultiStepModal,\n NextInterviewFields,\n RecommendationsFields,\n reducer,\n ReducerAction,\n stepFields\n} from './MultiStepForm.mocks';\n\nexport default {\n title: 'Core/MultiStepForm',\n component: MultiStepForm,\n args: {\n heading: 'HR Screening',\n stepIndicator: 'horizontal'\n },\n argTypes: {\n heading: { control: { type: 'text' } },\n stepIndicator: { options: ['horizontal', 'vertical', 'none'], control: { type: 'select' } }\n }\n} as Meta;\n\nexport const MultiStepFormDemo: Story<MultiStepFormDemoProps> = (args: MultiStepFormDemoProps) => {\n const [loading, setLoading] = useState(false);\n const [banners, setBanners] = useState<ReactNode | undefined>();\n const bannerHandleRef = useRef<BannerHandleValue>(null);\n\n const [state, dispatch] = useReducer<Reducer<DemoMultiStepState, ReducerAction>>(\n reducer,\n initialState\n );\n\n const submitStep = () => {\n setLoading(true);\n setTimeout(() => {\n dispatch({ type: 'submitCurrentStep' });\n setLoading(false);\n }, loadingTimeoutMS);\n };\n\n useEffect(() => {\n if (banners && bannerHandleRef.current) bannerHandleRef.current.focus();\n }, [banners]);\n\n useEffect(() => {\n // Need to adjust which set of fields is represented by the 3rd index depending on the conditional step being shown or not.\n const fieldIndex =\n state.numSteps === 3 && state.currentStepIndex === 2 ? 3 : state.currentStepIndex;\n\n const bannerErrors = Object.keys(state.formErrors)\n .filter(errorField => {\n return stepFields[fieldIndex].find(field => field.name === errorField);\n })\n .map(errorField => state.formErrors[errorField]);\n\n if (bannerErrors.length) {\n setBanners(<Banner messages={bannerErrors} variant='urgent' handle={bannerHandleRef} />);\n } else {\n setBanners(undefined);\n }\n }, [state.currentStepIndex, state.formErrors, state.numSteps]);\n\n const stepData: Step[] = useMemo(() => {\n const stepActions: ReactNode = (\n <>\n <Button\n onClick={() => {\n dispatch({ type: 'cancel' });\n }}\n disabled={loading}\n >\n Cancel\n </Button>\n <div>\n {state.currentStepIndex > 0 && (\n <Button\n onClick={() => dispatch({ type: 'setStep', payload: state.currentStepIndex - 1 })}\n disabled={loading}\n >\n Previous\n </Button>\n )}\n {state.currentStepIndex !== state.numSteps - 1 && (\n <Button variant='primary' onClick={submitStep} disabled={loading}>\n Next\n </Button>\n )}\n {state.currentStepIndex === state.numSteps - 1 && (\n <Button\n type='submit'\n variant='primary'\n onClick={(e: MouseEvent<HTMLButtonElement>) => {\n e.preventDefault();\n submitStep();\n }}\n disabled={loading}\n >\n Finish\n </Button>\n )}\n </div>\n </>\n );\n\n const steps = [\n {\n id: 'applicant_details',\n name: 'Applicant details - personal information',\n description:\n 'This applicant has passed initial screening and has been cleared to have an interview scheduled. ' +\n 'Please confirm their details and have a discussion regarding the open position and the company.',\n banners,\n content: (\n <ApplicantDetailsFields\n formData={state.formData}\n formErrors={state.formErrors}\n dispatch={dispatch}\n />\n ),\n actions: stepActions\n },\n {\n id: 'interview_notes',\n name: 'Interview notes',\n banners,\n content: (\n <InterviewNotesFields\n formData={state.formData}\n formErrors={state.formErrors}\n dispatch={dispatch}\n />\n ),\n actions: stepActions\n },\n {\n id: 'recommendations',\n name: 'Final recommendations',\n description:\n 'Based on your screening call with the applicant please submit your recomendations.',\n banners,\n content: (\n <RecommendationsFields\n formData={state.formData}\n formErrors={state.formErrors}\n dispatch={dispatch}\n />\n ),\n actions: stepActions\n }\n ];\n\n if (state.numSteps === 4) {\n steps.splice(2, 0, {\n id: 'next_interview',\n name: 'Next interview',\n description: 'Please select an individual to conduct the next interview.',\n banners,\n content: (\n <NextInterviewFields\n formData={state.formData}\n formErrors={state.formErrors}\n dispatch={dispatch}\n />\n ),\n actions: stepActions\n });\n }\n\n return steps;\n }, [state.formData, state.formErrors, state.currentStepIndex, banners, loading]);\n\n return (\n <>\n {(state.cancelled || state.finished) && (\n <Flex container={{ gap: 2, alignItems: 'center' }}>\n <Text variant='h1'>HR screening {state.cancelled ? 'cancelled' : 'finished'}</Text>\n <Button\n onClick={() => {\n dispatch({ type: 'restart' });\n }}\n >\n Restart\n </Button>\n </Flex>\n )}\n\n {!state.cancelled && !state.finished && (\n <MultiStepForm\n heading={args.heading}\n steps={stepData}\n currentStepId={stepData[state.currentStepIndex].id}\n stepIndicator={args.stepIndicator}\n progress={\n loading\n ? `Submitting ${stepData[state.currentStepIndex].name.toLowerCase()}...`\n : undefined\n }\n />\n )}\n </>\n );\n};\n\nexport const MultiStepFormInModalDemo: Story<MultiStepFormDemoProps> = (\n args: MultiStepFormDemoProps\n) => {\n const { create } = useModalManager();\n\n useEffect(() => {\n create(MultiStepModal, args);\n }, []);\n\n return (\n <Button\n onClick={() => {\n create(MultiStepModal, args);\n }}\n >\n Open Modal\n </Button>\n );\n};\n"]}
1
+ {"version":3,"file":"MultiStepForm.stories.jsx","sourceRoot":"","sources":["../../../src/core/MultiStepForm/MultiStepForm.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAA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gBAAgB,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK;gBACxE,CAAC,CAAC,SAAS,CACd,EACD,CACH,CACH;IAAA,GAAG,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAoC,CACvE,IAA4B,EAC5B,EAAE;IACF,MAAM,EAAE,MAAM,EAAE,GAAG,eAAe,EAAE,CAAC;IAErC,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,CAAC,MAAM,CACL,OAAO,CAAC,CAAC,GAAG,EAAE;YACZ,MAAM,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;QAC/B,CAAC,CAAC,CAEF;;IACF,EAAE,MAAM,CAAC,CACV,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, StoryFn } from '@storybook/react';\nimport { useReducer, useMemo, useState, useEffect, useRef } from 'react';\nimport type { ReactNode, Reducer, MouseEvent } from 'react';\n\nimport {\n Button,\n Banner,\n BannerHandleValue,\n Flex,\n MultiStepForm,\n Text,\n useModalManager\n} from '@pega/cosmos-react-core';\nimport { Step } from '@pega/cosmos-react-core/lib/components/MultiStepForm/MultiStepForm.types';\n\nimport { loadingTimeoutMS } from '../Progress/Progress.mocks';\n\nimport {\n ApplicantDetailsFields,\n initialState,\n InterviewNotesFields,\n MultiStepModal,\n NextInterviewFields,\n RecommendationsFields,\n reducer,\n stepFields\n} from './MultiStepForm.mocks';\nimport type {\n DemoMultiStepState,\n MultiStepFormDemoProps,\n ReducerAction\n} from './MultiStepForm.mocks';\n\nexport default {\n title: 'Core/MultiStepForm',\n component: MultiStepForm,\n args: {\n heading: 'HR Screening',\n stepIndicator: 'horizontal'\n },\n argTypes: {\n heading: { control: { type: 'text' } },\n stepIndicator: { options: ['horizontal', 'vertical', 'none'], control: { type: 'select' } }\n }\n} as Meta;\n\nexport const MultiStepFormDemo: StoryFn<MultiStepFormDemoProps> = (\n args: MultiStepFormDemoProps\n) => {\n const [loading, setLoading] = useState(false);\n const [banners, setBanners] = useState<ReactNode | undefined>();\n const bannerHandleRef = useRef<BannerHandleValue>(null);\n\n const [state, dispatch] = useReducer<Reducer<DemoMultiStepState, ReducerAction>>(\n reducer,\n initialState\n );\n\n const submitStep = () => {\n setLoading(true);\n setTimeout(() => {\n dispatch({ type: 'submitCurrentStep' });\n setLoading(false);\n }, loadingTimeoutMS);\n };\n\n useEffect(() => {\n if (banners && bannerHandleRef.current) bannerHandleRef.current.focus();\n }, [banners]);\n\n useEffect(() => {\n // Need to adjust which set of fields is represented by the 3rd index depending on the conditional step being shown or not.\n const fieldIndex =\n state.numSteps === 3 && state.currentStepIndex === 2 ? 3 : state.currentStepIndex;\n\n const bannerErrors = Object.keys(state.formErrors)\n .filter(errorField => {\n return stepFields[fieldIndex].find(field => field.name === errorField);\n })\n .map(errorField => state.formErrors[errorField]);\n\n if (bannerErrors.length) {\n setBanners(<Banner messages={bannerErrors} variant='urgent' handle={bannerHandleRef} />);\n } else {\n setBanners(undefined);\n }\n }, [state.currentStepIndex, state.formErrors, state.numSteps]);\n\n const stepData: Step[] = useMemo(() => {\n const stepActions: ReactNode = (\n <>\n <Button\n onClick={() => {\n dispatch({ type: 'cancel' });\n }}\n disabled={loading}\n >\n Cancel\n </Button>\n <div>\n {state.currentStepIndex > 0 && (\n <Button\n onClick={() => dispatch({ type: 'setStep', payload: state.currentStepIndex - 1 })}\n disabled={loading}\n >\n Previous\n </Button>\n )}\n {state.currentStepIndex !== state.numSteps - 1 && (\n <Button variant='primary' onClick={submitStep} disabled={loading}>\n Next\n </Button>\n )}\n {state.currentStepIndex === state.numSteps - 1 && (\n <Button\n type='submit'\n variant='primary'\n onClick={(e: MouseEvent<HTMLButtonElement>) => {\n e.preventDefault();\n submitStep();\n }}\n disabled={loading}\n >\n Finish\n </Button>\n )}\n </div>\n </>\n );\n\n const steps = [\n {\n id: 'applicant_details',\n name: 'Applicant details - personal information',\n description:\n 'This applicant has passed initial screening and has been cleared to have an interview scheduled. ' +\n 'Please confirm their details and have a discussion regarding the open position and the company.',\n banners,\n content: (\n <ApplicantDetailsFields\n formData={state.formData}\n formErrors={state.formErrors}\n dispatch={dispatch}\n />\n ),\n actions: stepActions\n },\n {\n id: 'interview_notes',\n name: 'Interview notes',\n banners,\n content: (\n <InterviewNotesFields\n formData={state.formData}\n formErrors={state.formErrors}\n dispatch={dispatch}\n />\n ),\n actions: stepActions\n },\n {\n id: 'recommendations',\n name: 'Final recommendations',\n description:\n 'Based on your screening call with the applicant please submit your recomendations.',\n banners,\n content: (\n <RecommendationsFields\n formData={state.formData}\n formErrors={state.formErrors}\n dispatch={dispatch}\n />\n ),\n actions: stepActions\n }\n ];\n\n if (state.numSteps === 4) {\n steps.splice(2, 0, {\n id: 'next_interview',\n name: 'Next interview',\n description: 'Please select an individual to conduct the next interview.',\n banners,\n content: (\n <NextInterviewFields\n formData={state.formData}\n formErrors={state.formErrors}\n dispatch={dispatch}\n />\n ),\n actions: stepActions\n });\n }\n\n return steps;\n }, [state.formData, state.formErrors, state.currentStepIndex, banners, loading]);\n\n return (\n <>\n {(state.cancelled || state.finished) && (\n <Flex container={{ gap: 2, alignItems: 'center' }}>\n <Text variant='h1'>HR screening {state.cancelled ? 'cancelled' : 'finished'}</Text>\n <Button\n onClick={() => {\n dispatch({ type: 'restart' });\n }}\n >\n Restart\n </Button>\n </Flex>\n )}\n\n {!state.cancelled && !state.finished && (\n <MultiStepForm\n heading={args.heading}\n steps={stepData}\n currentStepId={stepData[state.currentStepIndex].id}\n stepIndicator={args.stepIndicator}\n progress={\n loading\n ? `Submitting ${stepData[state.currentStepIndex].name.toLowerCase()}...`\n : undefined\n }\n />\n )}\n </>\n );\n};\n\nexport const MultiStepFormInModalDemo: StoryFn<MultiStepFormDemoProps> = (\n args: MultiStepFormDemoProps\n) => {\n const { create } = useModalManager();\n\n useEffect(() => {\n create(MultiStepModal, args);\n }, []);\n\n return (\n <Button\n onClick={() => {\n create(MultiStepModal, args);\n }}\n >\n Open Modal\n </Button>\n );\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { Meta, Story } from '@storybook/react';
2
- declare const _default: Meta;
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
3
  export default _default;
4
- export declare const Base: Story;
5
- export declare const InFVL: Story;
4
+ export declare const Base: StoryFn;
5
+ export declare const InFVL: StoryFn;
6
6
  //# sourceMappingURL=NoValue.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NoValue.stories.d.ts","sourceRoot":"","sources":["../../../src/core/NoValue/NoValue.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAI/C,wBAGU;AAEV,eAAO,MAAM,IAAI,EAAE,KAElB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KA0BnB,CAAC"}
1
+ {"version":3,"file":"NoValue.stories.d.ts","sourceRoot":"","sources":["../../../src/core/NoValue/NoValue.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;;AAItD,wBAGU;AAEV,eAAO,MAAM,IAAI,EAAE,OAElB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,OA0BnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NoValue.stories.jsx","sourceRoot":"","sources":["../../../src/core/NoValue/NoValue.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEhF,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,OAAO;CACX,CAAC;AAEV,MAAM,CAAC,MAAM,IAAI,GAAU,GAAG,EAAE;IAC9B,OAAO,CAAC,OAAO,CAAC,AAAD,EAAG,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU,GAAG,EAAE;IAC/B,OAAO,CACL,CAAC,cAAc,CACb,MAAM,CAAC,CAAC;YACN;gBACE,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,CAAC,OAAO,CAAC,AAAD,EAAG;aACnB;YACD;gBACE,EAAE,EAAE,IAAI;gBACR,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,CACL,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAC1B;;YACF,EAAE,IAAI,CAAC,CACR;aACF;YACD;gBACE,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC;aAClD;SACF,CAAC,EACF,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { FieldValueList, NoValue, Status, Text } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/NoValue',\n component: NoValue\n} as Meta;\n\nexport const Base: Story = () => {\n return <NoValue />;\n};\n\nexport const InFVL: Story = () => {\n return (\n <FieldValueList\n fields={[\n {\n id: 'dynamic',\n name: 'Name',\n value: <NoValue />\n },\n {\n id: 'id',\n name: 'ID',\n value: (\n <Text variant='h1' as='span'>\n C-1234\n </Text>\n )\n },\n {\n id: 'status',\n name: 'Status',\n value: <Status variant='pending'>pending</Status>\n }\n ]}\n />\n );\n};\n"]}
1
+ {"version":3,"file":"NoValue.stories.jsx","sourceRoot":"","sources":["../../../src/core/NoValue/NoValue.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEhF,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,OAAO;CACX,CAAC;AAEV,MAAM,CAAC,MAAM,IAAI,GAAY,GAAG,EAAE;IAChC,OAAO,CAAC,OAAO,CAAC,AAAD,EAAG,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAY,GAAG,EAAE;IACjC,OAAO,CACL,CAAC,cAAc,CACb,MAAM,CAAC,CAAC;YACN;gBACE,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,CAAC,OAAO,CAAC,AAAD,EAAG;aACnB;YACD;gBACE,EAAE,EAAE,IAAI;gBACR,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,CACL,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAC1B;;YACF,EAAE,IAAI,CAAC,CACR;aACF;YACD;gBACE,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC;aAClD;SACF,CAAC,EACF,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { FieldValueList, NoValue, Status, Text } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/NoValue',\n component: NoValue\n} as Meta;\n\nexport const Base: StoryFn = () => {\n return <NoValue />;\n};\n\nexport const InFVL: StoryFn = () => {\n return (\n <FieldValueList\n fields={[\n {\n id: 'dynamic',\n name: 'Name',\n value: <NoValue />\n },\n {\n id: 'id',\n name: 'ID',\n value: (\n <Text variant='h1' as='span'>\n C-1234\n </Text>\n )\n },\n {\n id: 'status',\n name: 'Status',\n value: <Status variant='pending'>pending</Status>\n }\n ]}\n />\n );\n};\n"]}
@@ -1,19 +1,19 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { NumberDisplayProps, NumberInputProps, NumberRangeInputProps, OmitStrict } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { NumberDisplayProps, NumberInputProps, NumberRangeInputProps, OmitStrict } 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
4
  export default _default;
5
5
  export type NumberInputStory = OmitStrict<NumberInputProps, 'value' | 'onChange'> & {
6
6
  value?: number;
7
7
  onChange?: (value: string) => void;
8
8
  showAdditionalInfo?: boolean;
9
9
  };
10
- export declare const NumberInputDemo: Story<NumberInputStory>;
11
- export declare const NumberRangeInputDemo: Story<NumberRangeInputProps>;
12
- export declare const StepperDemo: Story<NumberInputStory>;
10
+ export declare const NumberInputDemo: StoryFn<NumberInputStory>;
11
+ export declare const NumberRangeInputDemo: StoryFn<NumberRangeInputProps>;
12
+ export declare const StepperDemo: StoryFn<NumberInputStory>;
13
13
  interface NumberDisplayStoryProps extends NumberDisplayProps {
14
14
  fractionDigits: number;
15
15
  groupSeparators: boolean;
16
16
  notation: 'standard' | 'compact';
17
17
  }
18
- export declare const NumberDisplayDemo: Story<NumberDisplayStoryProps>;
18
+ export declare const NumberDisplayDemo: StoryFn<NumberDisplayStoryProps>;
19
19
  //# sourceMappingURL=Number.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Number.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Number/Number.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAEL,kBAAkB,EAElB,gBAAgB,EAEhB,qBAAqB,EACrB,UAAU,EAEX,MAAM,yBAAyB,CAAC;;AAEjC,wBAGU;AAEV,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IAClF,KAAK,CAAC,EAAE,MAAM,CA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QAAQ;YACR,YAAY;YACZ,MAAM;YACN,UAAU;YACV,MAAM;YACN,SAAS;YACT,MAAM;YACN,MAAM;YACN,UAAU;YACV,UAAU;YACV,WAAW;YACX,oBAAoB;YACpB,OAAO;YACP,iBAAiB;YACjB,UAAU;YACV,OAAO;YACP,kBAAkB;YAClB,MAAM;YACN,YAAY;YACZ,aAAa;YACb,QAAQ;YACR,OAAO;YACP,SAAS;YACT,OAAO;YACP,QAAQ;YACR,UAAU;YACV,MAAM;YACN,MAAM;YACN,OAAO;SACR;QACD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;IACD,cAAc,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE;IACzE,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACjD,QAAQ,EAAE;QACR,OAAO,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;QACjC,OAAO,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC;KACjC;CACF,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { useEffect, useState } from 'react';\n\nimport {\n NumberDisplay,\n NumberDisplayProps,\n NumberInput,\n NumberInputProps,\n NumberRangeInput,\n NumberRangeInputProps,\n OmitStrict,\n usePrevious\n} from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Number',\n component: NumberInput\n} as Meta;\n\nexport type NumberInputStory = OmitStrict<NumberInputProps, 'value' | 'onChange'> & {\n value?: number;\n onChange?: (value: string) => void;\n showAdditionalInfo?: boolean;\n};\n\nexport const NumberInputDemo: Story<NumberInputStory> = (args: NumberInputStory) => {\n const [value, setValue] = useState<string | undefined>(\n args.value === undefined ? undefined : `${args.value}`\n );\n\n const prev = usePrevious(args.value);\n useEffect(() => {\n if (prev !== args.value) setValue(args.value === undefined ? undefined : `${args.value}`);\n }, [prev, args.value]);\n\n return (\n <NumberInput\n {...args}\n value={value}\n onChange={inputValue => {\n setValue(inputValue);\n args.onChange?.(inputValue);\n }}\n onBlur={inputValue => {\n args.onBlur?.(inputValue);\n }}\n onFocus={inputValue => {\n args.onFocus?.(inputValue);\n }}\n numberOfDecimals={args.numberOfDecimals}\n showDecimal={args.showDecimal}\n showGroupSeparators={args.showGroupSeparators}\n step={args.step}\n unit={args.unit}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n additionalInfo={\n args.showAdditionalInfo\n ? { heading: 'Additional Info', content: 'Input a number' }\n : undefined\n }\n />\n );\n};\n\nNumberInputDemo.args = {\n value: undefined,\n numberOfDecimals: 20,\n showDecimal: true,\n showGroupSeparators: true,\n step: 1,\n unit: undefined,\n label: 'Number input',\n labelHidden: false,\n info: 'Enter a numerical value',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false,\n showAdditionalInfo: true\n};\n\nNumberInputDemo.argTypes = {\n value: { control: { type: 'number' } },\n numberOfDecimals: { control: { type: 'number' } },\n showDecimal: { control: { type: 'boolean' } },\n showGroupSeparators: { control: { type: 'boolean' } },\n step: { control: { type: 'number' } },\n unit: {\n options: [\n undefined,\n 'acre',\n 'byte',\n 'celsius',\n 'centimeter',\n 'day',\n 'degree',\n 'fahrenheit',\n 'foot',\n 'gigabyte',\n 'gram',\n 'hectare',\n 'hour',\n 'inch',\n 'kilobyte',\n 'kilogram',\n 'kilometer',\n 'kilometer-per-hour',\n 'liter',\n 'liter-per-meter',\n 'megabyte',\n 'meter',\n 'meter-per-second',\n 'mile',\n 'millimeter',\n 'millisecond',\n 'minute',\n 'month',\n 'percent',\n 'pound',\n 'second',\n 'terabyte',\n 'week',\n 'year',\n 'token'\n ],\n control: { type: 'select' }\n },\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { 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 showAdditionalInfo: { control: { type: 'boolean' } }\n};\n\nexport const NumberRangeInputDemo: Story<NumberRangeInputProps> = (args: NumberRangeInputProps) => {\n const [value, setValue] = useState(args.value);\n\n const prevValue = usePrevious(args.value);\n\n useEffect(() => {\n if (prevValue?.start !== args.value?.start || prevValue?.end !== args.value?.end) {\n setValue(args.value);\n }\n }, [prevValue?.start, prevValue?.end, args.value?.start, args.value?.end]);\n\n return (\n <NumberRangeInput\n {...args}\n value={value}\n onChange={newValue => {\n setValue(newValue);\n args.onChange?.(newValue);\n }}\n onBlur={newValue => {\n setValue(newValue);\n args.onBlur?.(newValue);\n }}\n onFocus={newValue => {\n setValue(newValue);\n args.onFocus?.(newValue);\n }}\n numberOfDecimals={args.numberOfDecimals}\n showDecimal={args.showDecimal}\n showGroupSeparators={args.showGroupSeparators}\n step={args.step}\n unit={args.unit}\n label={args.label}\n fromLabel={args.fromLabel}\n toLabel={args.toLabel}\n labelHidden={args.labelHidden}\n info={args.info}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n />\n );\n};\n\nNumberRangeInputDemo.args = {\n numberOfDecimals: 20,\n showDecimal: true,\n showGroupSeparators: true,\n step: 1,\n unit: undefined,\n fromLabel: 'Min value',\n toLabel: 'Max value',\n labelHidden: false,\n info: 'Enter a numerical value',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false,\n label: 'Numeric value'\n};\n\nNumberRangeInputDemo.argTypes = {\n numberOfDecimals: { control: { type: 'number' } },\n showDecimal: { control: { type: 'boolean' } },\n showGroupSeparators: { control: { type: 'boolean' } },\n step: { control: { type: 'number' } },\n unit: {\n options: [\n undefined,\n 'acre',\n 'byte',\n 'celsius',\n 'centimeter',\n 'day',\n 'degree',\n 'fahrenheit',\n 'foot',\n 'gigabyte',\n 'gram',\n 'hectare',\n 'hour',\n 'inch',\n 'kilobyte',\n 'kilogram',\n 'kilometer',\n 'kilometer-per-hour',\n 'liter',\n 'liter-per-meter',\n 'megabyte',\n 'meter',\n 'meter-per-second',\n 'mile',\n 'millimeter',\n 'millisecond',\n 'minute',\n 'month',\n 'percent',\n 'pound',\n 'second',\n 'terabyte',\n 'week',\n 'year',\n 'token'\n ],\n control: { type: 'select' }\n },\n label: { control: { type: 'text' } },\n fromLabel: { control: { type: 'text' } },\n toLabel: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { 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\nexport const StepperDemo: Story<NumberInputStory> = (args: NumberInputStory) => {\n const [value, setValue] = useState<string | undefined>(\n args.value === undefined ? undefined : `${args.value}`\n );\n\n const prev = usePrevious(args.value);\n useEffect(() => {\n if (prev !== args.value) setValue(args.value === undefined ? undefined : `${args.value}`);\n }, [prev, args.value]);\n\n return (\n <NumberInput\n {...args}\n variant='stepper'\n value={value}\n onChange={inputValue => {\n setValue(inputValue);\n args.onChange?.(inputValue);\n }}\n onBlur={inputValue => {\n args.onBlur?.(inputValue);\n }}\n onFocus={inputValue => {\n args.onFocus?.(inputValue);\n }}\n numberOfDecimals={args.numberOfDecimals}\n showDecimal={args.showDecimal}\n showGroupSeparators={args.showGroupSeparators}\n step={args.step}\n unit={args.unit}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n additionalInfo={\n args.showAdditionalInfo\n ? { heading: 'Additional Info', content: 'Input a stepper value' }\n : undefined\n }\n />\n );\n};\n\nStepperDemo.args = {\n value: undefined,\n numberOfDecimals: 20,\n showDecimal: true,\n showGroupSeparators: true,\n step: 1,\n unit: undefined,\n label: 'Stepper input',\n labelHidden: false,\n info: 'Enter a numerical value',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false,\n showAdditionalInfo: true\n};\n\nStepperDemo.argTypes = {\n value: { control: { type: 'number' } },\n numberOfDecimals: { control: { type: 'number' } },\n showDecimal: { control: { type: 'boolean' } },\n showGroupSeparators: { control: { type: 'boolean' } },\n step: { control: { type: 'number' } },\n unit: { control: { type: 'text' } },\n\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { 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 showAdditionalInfo: { control: { type: 'boolean' } }\n};\n\ninterface NumberDisplayStoryProps extends NumberDisplayProps {\n fractionDigits: number;\n groupSeparators: boolean;\n notation: 'standard' | 'compact';\n}\n\nexport const NumberDisplayDemo: Story<NumberDisplayStoryProps> = (\n args: NumberDisplayStoryProps\n) => {\n return (\n <NumberDisplay\n value={args.value}\n unit={args.unit}\n formattingOptions={{\n fractionDigits: args.fractionDigits,\n groupSeparators: args.groupSeparators,\n notation: args.notation\n }}\n />\n );\n};\n\nNumberDisplayDemo.args = {\n value: undefined,\n unit: undefined,\n fractionDigits: undefined,\n notation: 'standard',\n groupSeparators: true\n};\n\nNumberDisplayDemo.argTypes = {\n value: { control: { type: 'number' } },\n unit: {\n options: [\n undefined,\n 'acre',\n 'byte',\n 'celsius',\n 'centimeter',\n 'day',\n 'degree',\n 'fahrenheit',\n 'foot',\n 'gigabyte',\n 'gram',\n 'hectare',\n 'hour',\n 'inch',\n 'kilobyte',\n 'kilogram',\n 'kilometer',\n 'kilometer-per-hour',\n 'liter',\n 'liter-per-meter',\n 'megabyte',\n 'meter',\n 'meter-per-second',\n 'mile',\n 'millimeter',\n 'millisecond',\n 'minute',\n 'month',\n 'percent',\n 'pound',\n 'second',\n 'terabyte',\n 'week',\n 'year',\n 'token'\n ],\n control: { type: 'select' }\n },\n fractionDigits: { control: { type: 'number', min: 0, max: 20, step: 1 } },\n groupSeparators: { control: { type: 'boolean' } },\n notation: {\n control: { type: 'inline-radio' },\n options: ['standard', 'compact']\n }\n};\n"]}
1
+ {"version":3,"file":"Number.stories.jsx","sourceRoot":"","sources":["../../../src/core/Number/Number.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAQpG,eAAe;IACb,KAAK,EAAE,aAAa;IACpB,SAAS,EAAE,WAAW;CACf,CAAC;AAQV,MAAM,CAAC,MAAM,eAAe,GAA8B,CAAC,IAAsB,EAAE,EAAE;IACnF,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAChC,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE,CACvD,CAAC;IAEF,MAAM,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACrC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,IAAI,KAAK,IAAI,CAAC,KAAK;YAAE,QAAQ,CAAC,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;IAC5F,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IAEvB,OAAO,CACL,CAAC,WAAW,CACV,IAAI,IAAI,CAAC,CACT,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,QAAQ,CAAC,CAAC,UAAU,CAAC,EAAE;YACrB,QAAQ,CAAC,UAAU,CAAC,CAAC;YACrB,IAAI,CAAC,QAAQ,EAAE,CAAC,UA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YACV,UAAU;YACV,WAAW;YACX,oBAAoB;YACpB,OAAO;YACP,iBAAiB;YACjB,UAAU;YACV,OAAO;YACP,kBAAkB;YAClB,MAAM;YACN,YAAY;YACZ,aAAa;YACb,QAAQ;YACR,OAAO;YACP,SAAS;YACT,OAAO;YACP,QAAQ;YACR,UAAU;YACV,MAAM;YACN,MAAM;YACN,OAAO;SACR;QACD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;IACD,cAAc,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE;IACzE,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACjD,QAAQ,EAAE;QACR,OAAO,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;QACjC,OAAO,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC;KACjC;CACF,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useEffect, useState } from 'react';\n\nimport { NumberDisplay, NumberInput, NumberRangeInput, usePrevious } from '@pega/cosmos-react-core';\nimport type {\n NumberDisplayProps,\n NumberInputProps,\n NumberRangeInputProps,\n OmitStrict\n} from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Number',\n component: NumberInput\n} as Meta;\n\nexport type NumberInputStory = OmitStrict<NumberInputProps, 'value' | 'onChange'> & {\n value?: number;\n onChange?: (value: string) => void;\n showAdditionalInfo?: boolean;\n};\n\nexport const NumberInputDemo: StoryFn<NumberInputStory> = (args: NumberInputStory) => {\n const [value, setValue] = useState<string | undefined>(\n args.value === undefined ? undefined : `${args.value}`\n );\n\n const prev = usePrevious(args.value);\n useEffect(() => {\n if (prev !== args.value) setValue(args.value === undefined ? undefined : `${args.value}`);\n }, [prev, args.value]);\n\n return (\n <NumberInput\n {...args}\n value={value}\n onChange={inputValue => {\n setValue(inputValue);\n args.onChange?.(inputValue);\n }}\n onBlur={inputValue => {\n args.onBlur?.(inputValue);\n }}\n onFocus={inputValue => {\n args.onFocus?.(inputValue);\n }}\n numberOfDecimals={args.numberOfDecimals}\n showDecimal={args.showDecimal}\n showGroupSeparators={args.showGroupSeparators}\n step={args.step}\n unit={args.unit}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n additionalInfo={\n args.showAdditionalInfo\n ? { heading: 'Additional Info', content: 'Input a number' }\n : undefined\n }\n />\n );\n};\n\nNumberInputDemo.args = {\n value: undefined,\n numberOfDecimals: 20,\n showDecimal: true,\n showGroupSeparators: true,\n step: 1,\n unit: undefined,\n label: 'Number input',\n labelHidden: false,\n info: 'Enter a numerical value',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false,\n showAdditionalInfo: true\n};\n\nNumberInputDemo.argTypes = {\n value: { control: { type: 'number' } },\n numberOfDecimals: { control: { type: 'number' } },\n showDecimal: { control: { type: 'boolean' } },\n showGroupSeparators: { control: { type: 'boolean' } },\n step: { control: { type: 'number' } },\n unit: {\n options: [\n undefined,\n 'acre',\n 'byte',\n 'celsius',\n 'centimeter',\n 'day',\n 'degree',\n 'fahrenheit',\n 'foot',\n 'gigabyte',\n 'gram',\n 'hectare',\n 'hour',\n 'inch',\n 'kilobyte',\n 'kilogram',\n 'kilometer',\n 'kilometer-per-hour',\n 'liter',\n 'liter-per-meter',\n 'megabyte',\n 'meter',\n 'meter-per-second',\n 'mile',\n 'millimeter',\n 'millisecond',\n 'minute',\n 'month',\n 'percent',\n 'pound',\n 'second',\n 'terabyte',\n 'week',\n 'year',\n 'token'\n ],\n control: { type: 'select' }\n },\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { 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 showAdditionalInfo: { control: { type: 'boolean' } }\n};\n\nexport const NumberRangeInputDemo: StoryFn<NumberRangeInputProps> = (\n args: NumberRangeInputProps\n) => {\n const [value, setValue] = useState(args.value);\n\n const prevValue = usePrevious(args.value);\n\n useEffect(() => {\n if (prevValue?.start !== args.value?.start || prevValue?.end !== args.value?.end) {\n setValue(args.value);\n }\n }, [prevValue?.start, prevValue?.end, args.value?.start, args.value?.end]);\n\n return (\n <NumberRangeInput\n {...args}\n value={value}\n onChange={newValue => {\n setValue(newValue);\n args.onChange?.(newValue);\n }}\n onBlur={newValue => {\n setValue(newValue);\n args.onBlur?.(newValue);\n }}\n onFocus={newValue => {\n setValue(newValue);\n args.onFocus?.(newValue);\n }}\n numberOfDecimals={args.numberOfDecimals}\n showDecimal={args.showDecimal}\n showGroupSeparators={args.showGroupSeparators}\n step={args.step}\n unit={args.unit}\n label={args.label}\n fromLabel={args.fromLabel}\n toLabel={args.toLabel}\n labelHidden={args.labelHidden}\n info={args.info}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n />\n );\n};\n\nNumberRangeInputDemo.args = {\n numberOfDecimals: 20,\n showDecimal: true,\n showGroupSeparators: true,\n step: 1,\n unit: undefined,\n fromLabel: 'Min value',\n toLabel: 'Max value',\n labelHidden: false,\n info: 'Enter a numerical value',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false,\n label: 'Numeric value'\n};\n\nNumberRangeInputDemo.argTypes = {\n numberOfDecimals: { control: { type: 'number' } },\n showDecimal: { control: { type: 'boolean' } },\n showGroupSeparators: { control: { type: 'boolean' } },\n step: { control: { type: 'number' } },\n unit: {\n options: [\n undefined,\n 'acre',\n 'byte',\n 'celsius',\n 'centimeter',\n 'day',\n 'degree',\n 'fahrenheit',\n 'foot',\n 'gigabyte',\n 'gram',\n 'hectare',\n 'hour',\n 'inch',\n 'kilobyte',\n 'kilogram',\n 'kilometer',\n 'kilometer-per-hour',\n 'liter',\n 'liter-per-meter',\n 'megabyte',\n 'meter',\n 'meter-per-second',\n 'mile',\n 'millimeter',\n 'millisecond',\n 'minute',\n 'month',\n 'percent',\n 'pound',\n 'second',\n 'terabyte',\n 'week',\n 'year',\n 'token'\n ],\n control: { type: 'select' }\n },\n label: { control: { type: 'text' } },\n fromLabel: { control: { type: 'text' } },\n toLabel: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { 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\nexport const StepperDemo: StoryFn<NumberInputStory> = (args: NumberInputStory) => {\n const [value, setValue] = useState<string | undefined>(\n args.value === undefined ? undefined : `${args.value}`\n );\n\n const prev = usePrevious(args.value);\n useEffect(() => {\n if (prev !== args.value) setValue(args.value === undefined ? undefined : `${args.value}`);\n }, [prev, args.value]);\n\n return (\n <NumberInput\n {...args}\n variant='stepper'\n value={value}\n onChange={inputValue => {\n setValue(inputValue);\n args.onChange?.(inputValue);\n }}\n onBlur={inputValue => {\n args.onBlur?.(inputValue);\n }}\n onFocus={inputValue => {\n args.onFocus?.(inputValue);\n }}\n numberOfDecimals={args.numberOfDecimals}\n showDecimal={args.showDecimal}\n showGroupSeparators={args.showGroupSeparators}\n step={args.step}\n unit={args.unit}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n additionalInfo={\n args.showAdditionalInfo\n ? { heading: 'Additional Info', content: 'Input a stepper value' }\n : undefined\n }\n />\n );\n};\n\nStepperDemo.args = {\n value: undefined,\n numberOfDecimals: 20,\n showDecimal: true,\n showGroupSeparators: true,\n step: 1,\n unit: undefined,\n label: 'Stepper input',\n labelHidden: false,\n info: 'Enter a numerical value',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false,\n showAdditionalInfo: true\n};\n\nStepperDemo.argTypes = {\n value: { control: { type: 'number' } },\n numberOfDecimals: { control: { type: 'number' } },\n showDecimal: { control: { type: 'boolean' } },\n showGroupSeparators: { control: { type: 'boolean' } },\n step: { control: { type: 'number' } },\n unit: { control: { type: 'text' } },\n\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { 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 showAdditionalInfo: { control: { type: 'boolean' } }\n};\n\ninterface NumberDisplayStoryProps extends NumberDisplayProps {\n fractionDigits: number;\n groupSeparators: boolean;\n notation: 'standard' | 'compact';\n}\n\nexport const NumberDisplayDemo: StoryFn<NumberDisplayStoryProps> = (\n args: NumberDisplayStoryProps\n) => {\n return (\n <NumberDisplay\n value={args.value}\n unit={args.unit}\n formattingOptions={{\n fractionDigits: args.fractionDigits,\n groupSeparators: args.groupSeparators,\n notation: args.notation\n }}\n />\n );\n};\n\nNumberDisplayDemo.args = {\n value: undefined,\n unit: undefined,\n fractionDigits: undefined,\n notation: 'standard',\n groupSeparators: true\n};\n\nNumberDisplayDemo.argTypes = {\n value: { control: { type: 'number' } },\n unit: {\n options: [\n undefined,\n 'acre',\n 'byte',\n 'celsius',\n 'centimeter',\n 'day',\n 'degree',\n 'fahrenheit',\n 'foot',\n 'gigabyte',\n 'gram',\n 'hectare',\n 'hour',\n 'inch',\n 'kilobyte',\n 'kilogram',\n 'kilometer',\n 'kilometer-per-hour',\n 'liter',\n 'liter-per-meter',\n 'megabyte',\n 'meter',\n 'meter-per-second',\n 'mile',\n 'millimeter',\n 'millisecond',\n 'minute',\n 'month',\n 'percent',\n 'pound',\n 'second',\n 'terabyte',\n 'week',\n 'year',\n 'token'\n ],\n control: { type: 'select' }\n },\n fractionDigits: { control: { type: 'number', min: 0, max: 20, step: 1 } },\n groupSeparators: { control: { type: 'boolean' } },\n notation: {\n control: { type: 'inline-radio' },\n options: ['standard', 'compact']\n }\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { DashboardPageLayoutProps, PageTemplateProps, TemplateProps, OmitStrict } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { DashboardPageLayoutProps, PageTemplateProps, TemplateProps, OmitStrict } 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
4
  export default _default;
5
5
  interface PageTemplatesStoryProps {
6
6
  template?: 'demo page' | 'one column' | 'two column' | 'three column' | 'four column' | 'wide narrow' | 'narrow wide' | 'wide wide narrow' | 'narrow wide wide' | 'narrow wide narrow';
@@ -13,13 +13,13 @@ interface PageTemplatesStoryProps {
13
13
  showActions?: boolean;
14
14
  showBanners?: boolean;
15
15
  }
16
- export declare const ColumnPageDemo: Story<PageTemplatesStoryProps>;
16
+ export declare const ColumnPageDemo: StoryFn<PageTemplatesStoryProps>;
17
17
  interface DashboardPageStoryProps {
18
18
  title?: DashboardPageLayoutProps['title'];
19
19
  filterPosition?: DashboardPageLayoutProps['filterPosition'];
20
20
  numberOfFilters?: number;
21
21
  }
22
- export declare const DashboardPageDemo: Story<DashboardPageStoryProps>;
22
+ export declare const DashboardPageDemo: StoryFn<DashboardPageStoryProps>;
23
23
  interface CategorySubPageStoryProps {
24
24
  category?: TemplateProps['category'];
25
25
  categoryIcon?: TemplateProps['categoryIcon'];
@@ -27,7 +27,7 @@ interface CategorySubPageStoryProps {
27
27
  viewLoading?: TemplateProps['viewLoading'];
28
28
  maxActions?: TemplateProps['maxActions'];
29
29
  }
30
- export declare const CategorySubPageDemo: Story<CategorySubPageStoryProps>;
30
+ export declare const CategorySubPageDemo: StoryFn<CategorySubPageStoryProps>;
31
31
  type TabbedPageStoryProps = OmitStrict<PageTemplatesStoryProps, 'template'>;
32
- export declare const TabbedPageDemo: Story<TabbedPageStoryProps>;
32
+ export declare const TabbedPageDemo: StoryFn<TabbedPageStoryProps>;
33
33
  //# sourceMappingURL=PageTemplates.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageTemplates.stories.d.ts","sourceRoot":"","sources":["../../../src/core/PageTemplates/PageTemplates.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAML,wBAAwB,EAWxB,iBAAiB,EAKjB,aAAa,EAMb,UAAU,EACX,MAAM,yBAAyB,CAAC;;AAWjC,wBAKU;AAEV,UAAU,uBAAuB;IAC/B,QAAQ,CAAC,EACL,WAAW,GACX,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,aAAa,GACb,aAAa,GACb,aAAa,GACb,kBAAkB,GAClB,kBAAkB,GAClB,oBAAoB,CAAC;IACzB,KAAK,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACnC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,iBAAiB,CAAC,eAAe,CAAC,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,uBAAuB,CAsEzD,CAAC;AAwCF,UAAU,uBAAuB;IAC/B,KAAK,CAAC,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAC1C,cAAc,CAAC,EAAE,wBAAwB,CAAC,gBAAgB,CAAC,CAAC;IAC5D,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,iBA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AD,EAAG;qBACtB;iBACF;gBACD,IAAI,EAAE,YAAY;gBAClB,YAAY,EAAE,MAAM;aACrB,CAAC,EACF,CACH,CACD,SAAS,EACT,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,cAAc,CAAC,IAAI,GAAG;IACpB,aAAa,EAAE,KAAK;IACpB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,IAAI;IACd,eAAe,EAAE,IAAI;IACrB,QAAQ,EAAE,mCAAmC;IAC7C,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,KAAK;CACnB,CAAC;AAEF,cAAc,CAAC,QAAQ,GAAG;IACxB,aAAa,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC/C,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACpC,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;IAClE,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC1C,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACjD,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACvC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC7C,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC9C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { useState, useMemo, MouseEvent } from 'react';\n\nimport {\n Banner,\n Button,\n CategorySubPage,\n ComboBox,\n DashboardPage,\n DashboardPageLayoutProps,\n TabbedPage,\n OneColumnPage,\n TwoColumnPage,\n ThreeColumnPage,\n FourColumnPage,\n WideNarrowPage,\n NarrowWidePage,\n WideWideNarrowPage,\n NarrowWideWidePage,\n NarrowWideNarrowPage,\n PageTemplateProps,\n icons,\n menuHelpers,\n MenuItemProps,\n MenuProps,\n TemplateProps,\n createUID,\n Table,\n ColumnProps,\n Text,\n StyledRegion,\n OmitStrict\n} from '@pega/cosmos-react-core';\n\nimport { FeedDemo } from '../../social/Feed/Feed.stories';\nimport { TasksDemo } from '../../work/Tasks/Tasks.stories';\nimport { MockSummaryList } from '../../work/CaseView/CaseView.mocks';\nimport { commitsData } from '../Table/Table.mocks';\nimport { AppShellDemo } from '../AppShell/AppShell.stories';\n\nimport { StyledDemoTableWrapper, StyledStoryPage } from './PageTemplates.styles';\nimport { getPath } from './PageTemplates.mocks';\n\nexport default {\n title: 'Core/PageTemplates',\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ninterface PageTemplatesStoryProps {\n template?:\n | 'demo page'\n | 'one column'\n | 'two column'\n | 'three column'\n | 'four column'\n | 'wide narrow'\n | 'narrow wide'\n | 'wide wide narrow'\n | 'narrow wide wide'\n | 'narrow wide narrow';\n title?: PageTemplateProps['title'];\n icon?: PageTemplateProps['icon'];\n scrollContent?: PageTemplateProps['scrollContent'];\n showIcon?: boolean;\n showBreadcrumbs?: boolean;\n pathData?: string;\n showActions?: boolean;\n showBanners?: boolean;\n}\n\nexport const ColumnPageDemo: Story<PageTemplatesStoryProps> = (args: PageTemplatesStoryProps) => {\n const actions: PageTemplateProps['actions'] = args.showActions && (\n <>\n <Button>Page action 1</Button>\n <Button>Page action 2</Button>\n </>\n );\n\n const banners: PageTemplateProps['banners'] = args.showBanners && (\n <Banner variant='warning' messages={['This is a warning banner. You have been warned!']} />\n );\n\n const pageTemplateProps = {\n scrollContent: args.scrollContent,\n title: args.title || 'Demo page',\n icon: args.showIcon ? args.icon : undefined,\n actions,\n banners,\n path: getPath(args.showBreadcrumbs, args.pathData),\n as: args.template !== 'demo page' ? StyledStoryPage : undefined\n };\n\n let page;\n\n switch (args.template) {\n case 'one column':\n page = <OneColumnPage a='a' {...pageTemplateProps} />;\n break;\n case 'two column':\n page = <TwoColumnPage a='a' b='b' {...pageTemplateProps} />;\n break;\n case 'three column':\n page = <ThreeColumnPage a='a' b='b' c='c' {...pageTemplateProps} />;\n break;\n case 'four column':\n page = <FourColumnPage a='a' b='b' c='c' d='d' {...pageTemplateProps} />;\n break;\n case 'wide narrow':\n page = <WideNarrowPage a='a' b='b' {...pageTemplateProps} />;\n break;\n case 'narrow wide':\n page = <NarrowWidePage a='a' b='b' {...pageTemplateProps} />;\n break;\n case 'wide wide narrow':\n page = <WideWideNarrowPage a='a' b='b' c='c' {...pageTemplateProps} />;\n break;\n case 'narrow wide wide':\n page = <NarrowWideWidePage a='a' b='b' c='c' {...pageTemplateProps} />;\n break;\n case 'narrow wide narrow':\n page = <NarrowWideNarrowPage a='a' b='b' c='c' {...pageTemplateProps} />;\n break;\n case 'demo page':\n default:\n page = (\n <TwoColumnPage\n a={<FeedDemo />}\n b={\n <>\n <TasksDemo />\n <MockSummaryList name='My team' limit={10} actions={null} />\n </>\n }\n {...pageTemplateProps}\n />\n );\n break;\n }\n\n return <AppShellDemo main={page} appHeader />;\n};\n\nColumnPageDemo.args = {\n template: 'demo page',\n scrollContent: false,\n title: 'Demo page',\n icon: 'home-solid',\n showIcon: true,\n showBreadcrumbs: true,\n pathData: 'Page 1,Page2,Page 3,Page 4,Page 5',\n showActions: true,\n showBanners: false\n};\n\nColumnPageDemo.argTypes = {\n template: {\n options: [\n 'demo page',\n 'one column',\n 'two column',\n 'three column',\n 'four column',\n 'wide narrow',\n 'narrow wide',\n 'wide wide narrow',\n 'narrow wide wide',\n 'narrow wide narrow'\n ],\n control: { type: 'select' }\n },\n scrollContent: { control: { type: 'boolean' } },\n title: { control: { type: 'text' } },\n icon: { options: icons, control: { type: 'select', icons: true } },\n showIcon: { control: { type: 'boolean' } },\n showBreadcrumbs: { control: { type: 'boolean' } },\n pathData: { control: { type: 'text' } },\n showActions: { control: { type: 'boolean' } },\n showBanners: { control: { type: 'boolean' } }\n};\n\ninterface DashboardPageStoryProps {\n title?: DashboardPageLayoutProps['title'];\n filterPosition?: DashboardPageLayoutProps['filterPosition'];\n numberOfFilters?: number;\n}\n\nexport const DashboardPageDemo: Story<DashboardPageStoryProps> = (\n args: DashboardPageStoryProps\n) => {\n const FilterComboBox = () => {\n const [filterSearchValue, setFilterSearchValue] = useState('');\n const [filterOptions, setFilterOptions] = useState<MenuProps['items']>(() =>\n Array.from({ length: 10 }, (_, i) => ({\n id: createUID(),\n primary: `Filter ${i + 1}`,\n selected: false\n }))\n );\n\n const selected = useMemo(() => {\n return menuHelpers\n .getSelected(filterOptions)\n .map(item => ({ text: item.primary, id: item.id }));\n }, [filterOptions]);\n\n const toggleItem = (id: MenuItemProps['id']) => {\n setFilterOptions(cur => menuHelpers.toggleSelected(cur, id, 'multi-select'));\n };\n\n return (\n <ComboBox\n mode='multi-select'\n label='Filters'\n placeholder='Choose filters'\n value={filterSearchValue}\n onChange={e => {\n setFilterSearchValue(e.target.value);\n }}\n selected={{ items: selected, onRemove: toggleItem }}\n menu={{\n items: filterSearchValue\n ? menuHelpers\n .flatten(filterOptions)\n .filter(({ primary }) => primary.includes(filterSearchValue))\n : filterOptions,\n emptyText: 'No filters',\n onItemClick: toggleItem\n }}\n />\n );\n };\n\n const filterControls = Array.from({ length: args.numberOfFilters || 3 }, (_, i) => (\n <FilterComboBox key={i} />\n ));\n\n return (\n <AppShellDemo\n main={\n <DashboardPage\n a='a'\n b='b'\n c='c'\n path={getPath()}\n filters={filterControls}\n filterPosition={args.filterPosition}\n fitToViewport\n title={args.title || 'Dashboard'}\n as={StyledStoryPage}\n />\n }\n appHeader\n />\n );\n};\n\nDashboardPageDemo.args = {\n title: 'Dashboard',\n filterPosition: 'block-start',\n numberOfFilters: 3\n};\n\nDashboardPageDemo.argTypes = {\n title: { control: { type: 'text' } },\n filterPosition: {\n options: ['block-start', 'inline-start', 'inline-end'],\n control: { type: 'select' }\n },\n numberOfFilters: { control: { type: 'number' } }\n};\n\ninterface CategorySubPageStoryProps {\n category?: TemplateProps['category'];\n categoryIcon?: TemplateProps['categoryIcon'];\n showIcon?: boolean;\n viewLoading?: TemplateProps['viewLoading'];\n maxActions?: TemplateProps['maxActions'];\n}\n\nexport const CategorySubPageDemo: Story<CategorySubPageStoryProps> = (\n args: CategorySubPageStoryProps\n) => {\n const [activeItem, setActiveItem] = useState('Profile');\n\n const mockNavLinks = (itemTextArray: string[]) => {\n return itemTextArray.map(itemText => {\n return {\n text: itemText,\n active: itemText === activeItem,\n href: '#',\n onClick: (event: MouseEvent) => setActiveItem((event.target as Element).textContent || '')\n };\n });\n };\n\n return (\n <AppShellDemo\n main={\n <CategorySubPage\n viewLoading={args.viewLoading}\n category={args.category || 'Administration'}\n categoryIcon={args.showIcon ? args.categoryIcon : undefined}\n navItemGroups={[\n {\n title: 'General',\n items: useMemo(\n () => mockNavLinks(['Configurations', 'Profile', 'Authentication', 'Connections']),\n [activeItem]\n )\n },\n {\n title: 'Second Group',\n items: useMemo(() => mockNavLinks(['Option 1', 'Option 2']), [activeItem])\n },\n {\n items: useMemo(() => mockNavLinks(['All configurations']), [activeItem])\n },\n {\n items: useMemo(\n () => mockNavLinks(['Visually Grouped SubPage A', 'Visually Grouped SubPage B']),\n [activeItem]\n )\n },\n {\n items: [\n {\n text: 'Button Item'\n }\n ]\n }\n ]}\n pageTitle={activeItem}\n maxActions={args.maxActions}\n pageActions={[\n {\n id: 'saveChanges',\n text: 'Save'\n },\n {\n id: 'cancelChanges',\n text: 'Cancel'\n },\n {\n id: 'goToRule',\n text: 'Go to Rule'\n },\n {\n id: 'viewInClipboard',\n text: 'View in Clipboard'\n }\n ]}\n region={\n <StyledStoryPage secondary>\n <StyledRegion style={{ minHeight: '150vh' }} />\n </StyledStoryPage>\n }\n />\n }\n appHeader\n />\n );\n};\n\nCategorySubPageDemo.args = {\n category: 'Administration',\n categoryIcon: 'gear-solid',\n showIcon: true,\n viewLoading: false,\n maxActions: 3\n};\n\nCategorySubPageDemo.argTypes = {\n category: { control: { type: 'text' } },\n categoryIcon: { options: icons, control: { type: 'select', icons: true } },\n showIcon: { control: { type: 'boolean' } },\n viewLoading: { control: { type: 'boolean' } },\n maxActions: { control: { type: 'number' } }\n};\n\ntype TabbedPageStoryProps = OmitStrict<PageTemplatesStoryProps, 'template'>;\n\nexport const TabbedPageDemo: Story<TabbedPageStoryProps> = (args: TabbedPageStoryProps) => {\n const actions: PageTemplateProps['actions'] = args.showActions && (\n <>\n <Button>Page action 1</Button>\n <Button>Page action 2</Button>\n </>\n );\n\n const banners: PageTemplateProps['banners'] = args.showBanners && (\n <Banner variant='warning' messages={['This is a warning banner. You have been warned!']} />\n );\n\n const pageTemplateProps = {\n scrollContent: args.scrollContent,\n title: args.title || 'Tabbed page',\n icon: args.showIcon ? args.icon : undefined,\n actions,\n banners,\n path: getPath(args.showBreadcrumbs, args.pathData)\n };\n\n const tableData = commitsData;\n\n const columns: ColumnProps<(typeof tableData)[number]>[] = [\n { renderer: data => <Text>{data.id}</Text>, label: 'ID' },\n { renderer: data => <Text>{data.author}</Text>, label: 'Author' },\n { renderer: data => <Text>{data.date}</Text>, label: 'Date' },\n { renderer: data => <Text>{data.message}</Text>, label: 'Message' }\n ];\n\n return (\n <AppShellDemo\n main={\n <TabbedPage\n {...pageTemplateProps}\n tabs={{\n tabs: [\n {\n id: 'table',\n name: 'Audit',\n content: (\n <StyledDemoTableWrapper>\n <Table\n title='Commit History'\n hoverHighlight={false}\n data={tableData}\n columns={columns}\n />\n </StyledDemoTableWrapper>\n )\n },\n {\n id: 'team',\n name: 'My Team',\n content: (\n <>\n <TasksDemo />\n <MockSummaryList name='My team' limit={10} actions={null} />\n </>\n )\n },\n {\n id: 'chat',\n name: 'Chat',\n content: <FeedDemo />\n }\n ],\n type: 'horizontal',\n defaultTabId: 'chat'\n }}\n />\n }\n appHeader\n />\n );\n};\n\nTabbedPageDemo.args = {\n scrollContent: false,\n title: 'Tabbed page',\n icon: 'home-solid',\n showIcon: true,\n showBreadcrumbs: true,\n pathData: 'Page 1,Page2,Page 3,Page 4,Page 5',\n showActions: true,\n showBanners: false\n};\n\nTabbedPageDemo.argTypes = {\n scrollContent: { control: { type: 'boolean' } },\n title: { control: { type: 'text' } },\n icon: { options: icons, control: { type: 'select', icons: true } },\n showIcon: { control: { type: 'boolean' } },\n showBreadcrumbs: { control: { type: 'boolean' } },\n pathData: { control: { type: 'text' } },\n showActions: { control: { type: 'boolean' } },\n showBanners: { control: { type: 'boolean' } }\n};\n"]}
1
+ {"version":3,"file":"PageTemplates.stories.jsx","sourceRoot":"","sources":["../../../src/core/PageTemplates/PageTemplates.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EACL,MAAM,EACN,MAAM,EACN,eAAe,EACf,QAAQ,EACR,aAAa,EACb,UAAU,EACV,aAAa,EACb,aAAa,EACb,eAAe,EACf,cAAc,EACd,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,KAAK,EACL,WAAW,EACX,SAAS,EACT,KAAK,EACL,IAAI,EACJ,YAAY,EACb,MAAM,yBAAyB,CAAC;AAWjC,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,eAAe;IACb,KAAK,EAAE,oBAAoB;IAC3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IACpC,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;IAClE,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC1C,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACjD,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACvC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC7C,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC9C,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useState, useMemo } from 'react';\nimport type { MouseEvent } from 'react';\n\nimport {\n Banner,\n Button,\n CategorySubPage,\n ComboBox,\n DashboardPage,\n TabbedPage,\n OneColumnPage,\n TwoColumnPage,\n ThreeColumnPage,\n FourColumnPage,\n WideNarrowPage,\n NarrowWidePage,\n WideWideNarrowPage,\n NarrowWideWidePage,\n NarrowWideNarrowPage,\n icons,\n menuHelpers,\n createUID,\n Table,\n Text,\n StyledRegion\n} from '@pega/cosmos-react-core';\nimport type {\n DashboardPageLayoutProps,\n PageTemplateProps,\n MenuItemProps,\n MenuProps,\n TemplateProps,\n ColumnProps,\n OmitStrict\n} from '@pega/cosmos-react-core';\n\nimport { FeedDemo } from '../../social/Feed/Feed.stories';\nimport { TasksDemo } from '../../work/Tasks/Tasks.stories';\nimport { MockSummaryList } from '../../work/CaseView/CaseView.mocks';\nimport { commitsData } from '../Table/Table.mocks';\nimport { AppShellDemo } from '../AppShell/AppShell.stories';\n\nimport { StyledDemoTableWrapper, StyledStoryPage } from './PageTemplates.styles';\nimport { getPath } from './PageTemplates.mocks';\n\nexport default {\n title: 'Core/PageTemplates',\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ninterface PageTemplatesStoryProps {\n template?:\n | 'demo page'\n | 'one column'\n | 'two column'\n | 'three column'\n | 'four column'\n | 'wide narrow'\n | 'narrow wide'\n | 'wide wide narrow'\n | 'narrow wide wide'\n | 'narrow wide narrow';\n title?: PageTemplateProps['title'];\n icon?: PageTemplateProps['icon'];\n scrollContent?: PageTemplateProps['scrollContent'];\n showIcon?: boolean;\n showBreadcrumbs?: boolean;\n pathData?: string;\n showActions?: boolean;\n showBanners?: boolean;\n}\n\nexport const ColumnPageDemo: StoryFn<PageTemplatesStoryProps> = (args: PageTemplatesStoryProps) => {\n const actions: PageTemplateProps['actions'] = args.showActions && (\n <>\n <Button>Page action 1</Button>\n <Button>Page action 2</Button>\n </>\n );\n\n const banners: PageTemplateProps['banners'] = args.showBanners && (\n <Banner variant='warning' messages={['This is a warning banner. You have been warned!']} />\n );\n\n const pageTemplateProps = {\n scrollContent: args.scrollContent,\n title: args.title || 'Demo page',\n icon: args.showIcon ? args.icon : undefined,\n actions,\n banners,\n path: getPath(args.showBreadcrumbs, args.pathData),\n as: args.template !== 'demo page' ? StyledStoryPage : undefined\n };\n\n let page;\n\n switch (args.template) {\n case 'one column':\n page = <OneColumnPage a='a' {...pageTemplateProps} />;\n break;\n case 'two column':\n page = <TwoColumnPage a='a' b='b' {...pageTemplateProps} />;\n break;\n case 'three column':\n page = <ThreeColumnPage a='a' b='b' c='c' {...pageTemplateProps} />;\n break;\n case 'four column':\n page = <FourColumnPage a='a' b='b' c='c' d='d' {...pageTemplateProps} />;\n break;\n case 'wide narrow':\n page = <WideNarrowPage a='a' b='b' {...pageTemplateProps} />;\n break;\n case 'narrow wide':\n page = <NarrowWidePage a='a' b='b' {...pageTemplateProps} />;\n break;\n case 'wide wide narrow':\n page = <WideWideNarrowPage a='a' b='b' c='c' {...pageTemplateProps} />;\n break;\n case 'narrow wide wide':\n page = <NarrowWideWidePage a='a' b='b' c='c' {...pageTemplateProps} />;\n break;\n case 'narrow wide narrow':\n page = <NarrowWideNarrowPage a='a' b='b' c='c' {...pageTemplateProps} />;\n break;\n case 'demo page':\n default:\n page = (\n <TwoColumnPage\n a={<FeedDemo />}\n b={\n <>\n <TasksDemo />\n <MockSummaryList name='My team' limit={10} actions={null} />\n </>\n }\n {...pageTemplateProps}\n />\n );\n break;\n }\n\n return <AppShellDemo main={page} appHeader />;\n};\n\nColumnPageDemo.args = {\n template: 'demo page',\n scrollContent: false,\n title: 'Demo page',\n icon: 'home-solid',\n showIcon: true,\n showBreadcrumbs: true,\n pathData: 'Page 1,Page2,Page 3,Page 4,Page 5',\n showActions: true,\n showBanners: false\n};\n\nColumnPageDemo.argTypes = {\n template: {\n options: [\n 'demo page',\n 'one column',\n 'two column',\n 'three column',\n 'four column',\n 'wide narrow',\n 'narrow wide',\n 'wide wide narrow',\n 'narrow wide wide',\n 'narrow wide narrow'\n ],\n control: { type: 'select' }\n },\n scrollContent: { control: { type: 'boolean' } },\n title: { control: { type: 'text' } },\n icon: { options: icons, control: { type: 'select', icons: true } },\n showIcon: { control: { type: 'boolean' } },\n showBreadcrumbs: { control: { type: 'boolean' } },\n pathData: { control: { type: 'text' } },\n showActions: { control: { type: 'boolean' } },\n showBanners: { control: { type: 'boolean' } }\n};\n\ninterface DashboardPageStoryProps {\n title?: DashboardPageLayoutProps['title'];\n filterPosition?: DashboardPageLayoutProps['filterPosition'];\n numberOfFilters?: number;\n}\n\nexport const DashboardPageDemo: StoryFn<DashboardPageStoryProps> = (\n args: DashboardPageStoryProps\n) => {\n const FilterComboBox = () => {\n const [filterSearchValue, setFilterSearchValue] = useState('');\n const [filterOptions, setFilterOptions] = useState<MenuProps['items']>(() =>\n Array.from({ length: 10 }, (_, i) => ({\n id: createUID(),\n primary: `Filter ${i + 1}`,\n selected: false\n }))\n );\n\n const selected = useMemo(() => {\n return menuHelpers\n .getSelected(filterOptions)\n .map(item => ({ text: item.primary, id: item.id }));\n }, [filterOptions]);\n\n const toggleItem = (id: MenuItemProps['id']) => {\n setFilterOptions(cur => menuHelpers.toggleSelected(cur, id, 'multi-select'));\n };\n\n return (\n <ComboBox\n mode='multi-select'\n label='Filters'\n placeholder='Choose filters'\n value={filterSearchValue}\n onChange={e => {\n setFilterSearchValue(e.target.value);\n }}\n selected={{ items: selected, onRemove: toggleItem }}\n menu={{\n items: filterSearchValue\n ? menuHelpers\n .flatten(filterOptions)\n .filter(({ primary }) => primary.includes(filterSearchValue))\n : filterOptions,\n emptyText: 'No filters',\n onItemClick: toggleItem\n }}\n />\n );\n };\n\n const filterControls = Array.from({ length: args.numberOfFilters || 3 }, (_, i) => (\n <FilterComboBox key={i} />\n ));\n\n return (\n <AppShellDemo\n main={\n <DashboardPage\n a='a'\n b='b'\n c='c'\n path={getPath()}\n filters={filterControls}\n filterPosition={args.filterPosition}\n fitToViewport\n title={args.title || 'Dashboard'}\n as={StyledStoryPage}\n />\n }\n appHeader\n />\n );\n};\n\nDashboardPageDemo.args = {\n title: 'Dashboard',\n filterPosition: 'block-start',\n numberOfFilters: 3\n};\n\nDashboardPageDemo.argTypes = {\n title: { control: { type: 'text' } },\n filterPosition: {\n options: ['block-start', 'inline-start', 'inline-end'],\n control: { type: 'select' }\n },\n numberOfFilters: { control: { type: 'number' } }\n};\n\ninterface CategorySubPageStoryProps {\n category?: TemplateProps['category'];\n categoryIcon?: TemplateProps['categoryIcon'];\n showIcon?: boolean;\n viewLoading?: TemplateProps['viewLoading'];\n maxActions?: TemplateProps['maxActions'];\n}\n\nexport const CategorySubPageDemo: StoryFn<CategorySubPageStoryProps> = (\n args: CategorySubPageStoryProps\n) => {\n const [activeItem, setActiveItem] = useState('Profile');\n\n const mockNavLinks = (itemTextArray: string[]) => {\n return itemTextArray.map(itemText => {\n return {\n text: itemText,\n active: itemText === activeItem,\n href: '#',\n onClick: (event: MouseEvent) => setActiveItem((event.target as Element).textContent || '')\n };\n });\n };\n\n return (\n <AppShellDemo\n main={\n <CategorySubPage\n viewLoading={args.viewLoading}\n category={args.category || 'Administration'}\n categoryIcon={args.showIcon ? args.categoryIcon : undefined}\n navItemGroups={[\n {\n title: 'General',\n items: useMemo(\n () => mockNavLinks(['Configurations', 'Profile', 'Authentication', 'Connections']),\n [activeItem]\n )\n },\n {\n title: 'Second Group',\n items: useMemo(() => mockNavLinks(['Option 1', 'Option 2']), [activeItem])\n },\n {\n items: useMemo(() => mockNavLinks(['All configurations']), [activeItem])\n },\n {\n items: useMemo(\n () => mockNavLinks(['Visually Grouped SubPage A', 'Visually Grouped SubPage B']),\n [activeItem]\n )\n },\n {\n items: [\n {\n text: 'Button Item'\n }\n ]\n }\n ]}\n pageTitle={activeItem}\n maxActions={args.maxActions}\n pageActions={[\n {\n id: 'saveChanges',\n text: 'Save'\n },\n {\n id: 'cancelChanges',\n text: 'Cancel'\n },\n {\n id: 'goToRule',\n text: 'Go to Rule'\n },\n {\n id: 'viewInClipboard',\n text: 'View in Clipboard'\n }\n ]}\n region={\n <StyledStoryPage secondary>\n <StyledRegion style={{ minHeight: '150vh' }} />\n </StyledStoryPage>\n }\n />\n }\n appHeader\n />\n );\n};\n\nCategorySubPageDemo.args = {\n category: 'Administration',\n categoryIcon: 'gear-solid',\n showIcon: true,\n viewLoading: false,\n maxActions: 3\n};\n\nCategorySubPageDemo.argTypes = {\n category: { control: { type: 'text' } },\n categoryIcon: { options: icons, control: { type: 'select', icons: true } },\n showIcon: { control: { type: 'boolean' } },\n viewLoading: { control: { type: 'boolean' } },\n maxActions: { control: { type: 'number' } }\n};\n\ntype TabbedPageStoryProps = OmitStrict<PageTemplatesStoryProps, 'template'>;\n\nexport const TabbedPageDemo: StoryFn<TabbedPageStoryProps> = (args: TabbedPageStoryProps) => {\n const actions: PageTemplateProps['actions'] = args.showActions && (\n <>\n <Button>Page action 1</Button>\n <Button>Page action 2</Button>\n </>\n );\n\n const banners: PageTemplateProps['banners'] = args.showBanners && (\n <Banner variant='warning' messages={['This is a warning banner. You have been warned!']} />\n );\n\n const pageTemplateProps = {\n scrollContent: args.scrollContent,\n title: args.title || 'Tabbed page',\n icon: args.showIcon ? args.icon : undefined,\n actions,\n banners,\n path: getPath(args.showBreadcrumbs, args.pathData)\n };\n\n const tableData = commitsData;\n\n const columns: ColumnProps<(typeof tableData)[number]>[] = [\n { renderer: data => <Text>{data.id}</Text>, label: 'ID' },\n { renderer: data => <Text>{data.author}</Text>, label: 'Author' },\n { renderer: data => <Text>{data.date}</Text>, label: 'Date' },\n { renderer: data => <Text>{data.message}</Text>, label: 'Message' }\n ];\n\n return (\n <AppShellDemo\n main={\n <TabbedPage\n {...pageTemplateProps}\n tabs={{\n tabs: [\n {\n id: 'table',\n name: 'Audit',\n content: (\n <StyledDemoTableWrapper>\n <Table\n title='Commit History'\n hoverHighlight={false}\n data={tableData}\n columns={columns}\n />\n </StyledDemoTableWrapper>\n )\n },\n {\n id: 'team',\n name: 'My Team',\n content: (\n <>\n <TasksDemo />\n <MockSummaryList name='My team' limit={10} actions={null} />\n </>\n )\n },\n {\n id: 'chat',\n name: 'Chat',\n content: <FeedDemo />\n }\n ],\n type: 'horizontal',\n defaultTabId: 'chat'\n }}\n />\n }\n appHeader\n />\n );\n};\n\nTabbedPageDemo.args = {\n scrollContent: false,\n title: 'Tabbed page',\n icon: 'home-solid',\n showIcon: true,\n showBreadcrumbs: true,\n pathData: 'Page 1,Page2,Page 3,Page 4,Page 5',\n showActions: true,\n showBanners: false\n};\n\nTabbedPageDemo.argTypes = {\n scrollContent: { control: { type: 'boolean' } },\n title: { control: { type: 'text' } },\n icon: { options: icons, control: { type: 'select', icons: true } },\n showIcon: { control: { type: 'boolean' } },\n showBreadcrumbs: { control: { type: 'boolean' } },\n pathData: { control: { type: 'text' } },\n showActions: { control: { type: 'boolean' } },\n showBanners: { control: { type: 'boolean' } }\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { PaginationProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { PaginationProps } 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
4
  export default _default;
5
- export declare const PaginationDemo: Story<PaginationProps>;
5
+ export declare const PaginationDemo: StoryFn<PaginationProps>;
6
6
  //# sourceMappingURL=Pagination.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Pagination/Pagination.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAAc,eAAe,EAAE,MAAM,yBAAyB,CAAC;;AAEtE,wBAGU;AAEV,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,eAAe,CAWjD,CAAC"}
1
+ {"version":3,"file":"Pagination.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Pagination/Pagination.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAItD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;;AAE/D,wBAGU;AAEV,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,eAAe,CAWnD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.stories.jsx","sourceRoot":"","sources":["../../../src/core/Pagination/Pagination.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAmB,MAAM,yBAAyB,CAAC;AAEtE,eAAe;IACb,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,UAAU;CACd,CAAC;AAEV,MAAM,CAAC,MAAM,cAAc,GAA2B,CAAC,IAAqB,EAAE,EAAE;IAC9E,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAElD,OAAO,CACL,CAAC,UAAU,CACT,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAClB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,UAAU,CAAC,CAAC,WAAW,CAAC,CACxB,YAAY,CAAC,CAAC,UAAU,CAAC,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,EACvD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,cAAc,CAAC,IAAI,GAAG;IACpB,KAAK,EAAE,EAAE;IACT,QAAQ,EAAE,EAAE;CACb,CAAC;AAEF,cAAc,CAAC,QAAQ,GAAG;IACxB,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACtC,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CAC1C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { useState } from 'react';\n\nimport { Pagination, PaginationProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Pagination',\n component: Pagination\n} as Meta;\n\nexport const PaginationDemo: Story<PaginationProps> = (args: PaginationProps) => {\n const [currentPage, setCurrentPage] = useState(1);\n\n return (\n <Pagination\n total={args.total}\n pageSize={args.pageSize}\n pageNumber={currentPage}\n onPageChange={pageNumber => setCurrentPage(pageNumber)}\n />\n );\n};\n\nPaginationDemo.args = {\n total: 50,\n pageSize: 10\n};\n\nPaginationDemo.argTypes = {\n total: { control: { type: 'number' } },\n pageSize: { control: { type: 'number' } }\n};\n"]}
1
+ {"version":3,"file":"Pagination.stories.jsx","sourceRoot":"","sources":["../../../src/core/Pagination/Pagination.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGrD,eAAe;IACb,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,UAAU;CACd,CAAC;AAEV,MAAM,CAAC,MAAM,cAAc,GAA6B,CAAC,IAAqB,EAAE,EAAE;IAChF,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAElD,OAAO,CACL,CAAC,UAAU,CACT,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAClB,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,UAAU,CAAC,CAAC,WAAW,CAAC,CACxB,YAAY,CAAC,CAAC,UAAU,CAAC,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,EACvD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,cAAc,CAAC,IAAI,GAAG;IACpB,KAAK,EAAE,EAAE;IACT,QAAQ,EAAE,EAAE;CACb,CAAC;AAEF,cAAc,CAAC,QAAQ,GAAG;IACxB,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACtC,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CAC1C,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useState } from 'react';\n\nimport { Pagination } from '@pega/cosmos-react-core';\nimport type { PaginationProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Pagination',\n component: Pagination\n} as Meta;\n\nexport const PaginationDemo: StoryFn<PaginationProps> = (args: PaginationProps) => {\n const [currentPage, setCurrentPage] = useState(1);\n\n return (\n <Pagination\n total={args.total}\n pageSize={args.pageSize}\n pageNumber={currentPage}\n onPageChange={pageNumber => setCurrentPage(pageNumber)}\n />\n );\n};\n\nPaginationDemo.args = {\n total: 50,\n pageSize: 10\n};\n\nPaginationDemo.argTypes = {\n total: { control: { type: 'number' } },\n pageSize: { control: { type: 'number' } }\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { ParagraphDisplayProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { ParagraphDisplayProps } 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
4
  export default _default;
5
- export declare const ParagraphDisplayDemo: Story<ParagraphDisplayProps>;
5
+ export declare const ParagraphDisplayDemo: StoryFn<ParagraphDisplayProps>;
6
6
  //# sourceMappingURL=ParagraphDisplay.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ParagraphDisplay.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Paragraph/ParagraphDisplay.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAoB,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;AAElF,wBAGU;AAEV,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,qBAAqB,CAE7D,CAAC"}
1
+ {"version":3,"file":"ParagraphDisplay.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Paragraph/ParagraphDisplay.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;AAErE,wBAGU;AAEV,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,qBAAqB,CAI/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ParagraphDisplay.stories.jsx","sourceRoot":"","sources":["../../../src/core/Paragraph/ParagraphDisplay.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAyB,MAAM,yBAAyB,CAAC;AAElF,eAAe;IACb,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,gBAAgB;CACpB,CAAC;AAEV,MAAM,CAAC,MAAM,oBAAoB,GAAiC,CAAC,IAA2B,EAAE,EAAE;IAChG,OAAO,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAG,CAAC;AACjD,CAAC,CAAC;AAEF,oBAAoB,CAAC,IAAI,GAAG;IAC1B,KAAK,EAAE,yCAAyC;CACjD,CAAC;AAEF,oBAAoB,CAAC,QAAQ,GAAG;IAC9B,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE;CACtD,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { ParagraphDisplay, ParagraphDisplayProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Paragraph',\n component: ParagraphDisplay\n} as Meta;\n\nexport const ParagraphDisplayDemo: Story<ParagraphDisplayProps> = (args: ParagraphDisplayProps) => {\n return <ParagraphDisplay value={args.value} />;\n};\n\nParagraphDisplayDemo.args = {\n value: \"Here's a string with\\na new line in it.\"\n};\n\nParagraphDisplayDemo.argTypes = {\n value: { control: { type: 'text', multiLine: true } }\n};\n"]}
1
+ {"version":3,"file":"ParagraphDisplay.stories.jsx","sourceRoot":"","sources":["../../../src/core/Paragraph/ParagraphDisplay.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAG3D,eAAe;IACb,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,gBAAgB;CACpB,CAAC;AAEV,MAAM,CAAC,MAAM,oBAAoB,GAAmC,CAClE,IAA2B,EAC3B,EAAE;IACF,OAAO,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAG,CAAC;AACjD,CAAC,CAAC;AAEF,oBAAoB,CAAC,IAAI,GAAG;IAC1B,KAAK,EAAE,yCAAyC;CACjD,CAAC;AAEF,oBAAoB,CAAC,QAAQ,GAAG;IAC9B,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE;CACtD,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { ParagraphDisplay } from '@pega/cosmos-react-core';\nimport type { ParagraphDisplayProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Paragraph',\n component: ParagraphDisplay\n} as Meta;\n\nexport const ParagraphDisplayDemo: StoryFn<ParagraphDisplayProps> = (\n args: ParagraphDisplayProps\n) => {\n return <ParagraphDisplay value={args.value} />;\n};\n\nParagraphDisplayDemo.args = {\n value: \"Here's a string with\\na new line in it.\"\n};\n\nParagraphDisplayDemo.argTypes = {\n value: { control: { type: 'text', multiLine: true } }\n};\n"]}
@@ -1,13 +1,13 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { PhoneDisplayProps, PhoneInputProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { PhoneDisplayProps, PhoneInputProps } 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
4
  export default _default;
5
5
  interface PhoneInputStoryProps extends PhoneInputProps {
6
6
  showAdditionalInfo?: boolean;
7
7
  }
8
- export declare const PhoneInputDemo: Story<PhoneInputStoryProps>;
8
+ export declare const PhoneInputDemo: StoryFn<PhoneInputStoryProps>;
9
9
  interface PhoneDisplayStoryProps extends PhoneDisplayProps {
10
10
  showCountryCode?: boolean;
11
11
  }
12
- export declare const PhoneDisplayDemo: Story<PhoneDisplayStoryProps>;
12
+ export declare const PhoneDisplayDemo: StoryFn<PhoneDisplayStoryProps>;
13
13
  //# sourceMappingURL=Phone.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Phone.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Phone/Phone.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAEL,iBAAiB,EAEjB,eAAe,EAChB,MAAM,yBAAyB,CAAC;;AAEjC,wBAGU;AAEV,UAAU,oBAAqB,SAAQ,eAAe;IACpD,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,oBAAoB,CAwBtD,CAAC;AA0BF,UAAU,sBAAuB,SAAQ,iBAAiB;IACxD,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,sBAAsB,CAS1D,CAAC"}
1
+ {"version":3,"file":"Phone.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Phone/Phone.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAItD,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;;AAElF,wBAGU;AAEV,UAAU,oBAAqB,SAAQ,eAAe;IACpD,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,oBAAoB,CAwBxD,CAAC;AA0BF,UAAU,sBAAuB,SAAQ,iBAAiB;IACxD,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,sBAAsB,CAS5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Phone.stories.jsx","sourceRoot":"","sources":["../../../src/core/Phone/Phone.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EACL,YAAY,EAEZ,UAAU,EAEX,MAAM,yBAAyB,CAAC;AAEjC,eAAe;IACb,KAAK,EAAE,YAAY;IACnB,SAAS,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AE,MAAM,EAAE,EAAE;IACpC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC1C,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACnE,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAClD,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { useState } from 'react';\n\nimport {\n PhoneDisplay,\n PhoneDisplayProps,\n PhoneInput,\n PhoneInputProps\n} from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Phone',\n component: PhoneInput\n} as Meta;\n\ninterface PhoneInputStoryProps extends PhoneInputProps {\n showAdditionalInfo?: boolean;\n}\n\nexport const PhoneInputDemo: Story<PhoneInputStoryProps> = (args: PhoneInputStoryProps) => {\n const [phoneNumber, setPhoneNumber] = useState<string>('');\n return (\n <PhoneInput\n additionalInfo={\n args.showAdditionalInfo\n ? {\n heading: 'Additional Info',\n content: 'Some additional info'\n }\n : undefined\n }\n value={phoneNumber}\n onChange={setPhoneNumber}\n showCountryCode={args.showCountryCode}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n />\n );\n};\n\nPhoneInputDemo.args = {\n showCountryCode: true,\n label: 'Phone input',\n labelHidden: false,\n info: 'Enter a phone number',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false,\n showAdditionalInfo: true\n};\n\nPhoneInputDemo.argTypes = {\n showCountryCode: { control: { type: 'boolean' } },\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { 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 showAdditionalInfo: { control: { type: 'boolean' } }\n};\n\ninterface PhoneDisplayStoryProps extends PhoneDisplayProps {\n showCountryCode?: boolean;\n}\n\nexport const PhoneDisplayDemo: Story<PhoneDisplayStoryProps> = (args: PhoneDisplayStoryProps) => {\n return (\n <PhoneDisplay\n value={args.value}\n displayText={args.displayText}\n variant={args.variant}\n formattingOptions={{ showCountryCode: args.showCountryCode }}\n />\n );\n};\n\nPhoneDisplayDemo.args = {\n value: '+12345678900',\n displayText: 'Example Phone',\n variant: 'link',\n showCountryCode: true\n};\n\nPhoneDisplayDemo.argTypes = {\n value: { control: { type: 'text' } },\n displayText: { control: { type: 'text' } },\n variant: { options: ['link', 'text'], control: { type: 'select' } },\n showCountryCode: { control: { type: 'boolean' } }\n};\n"]}
1
+ {"version":3,"file":"Phone.stories.jsx","sourceRoot":"","sources":["../../../src/core/Phone/Phone.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGnE,eAAe;IACb,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,UAAU;CACd,CAAC;AAMV,MAAM,CAAC,MAAM,cAAc,GAAkC,CAAC,IAA0B,EAAE,EAAE;IAC1F,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAS,EAAE,CAAC,CAAC;IAC3D,OAAO,CACL,CAAC,UAAU,CACT,cAAc,CAAC,CACb,IAAI,CAAC,kBAAkB;YACrB,CAAC,CAAC;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,OAAO,EAAE,sBAAsB;aAChC;YACH,CAAC,CAAC,SAAS,CACd,CACD,KAAK,CAAC,CAAC,WAAW,CAAC,CACnB,QAAQ,CAAC,CAAC,cAAc,CAAC,CACzB,eAAe,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CACtC,KAAK,CAAC,CAAC,IAAI,CA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1C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC1C,kBAAkB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CACrD,CAAC;AAMF,MAAM,CAAC,MAAM,gBAAgB,GAAoC,CAAC,IAA4B,EAAE,EAAE;IAChG,OAAO,CACL,CAAC,YAAY,CACX,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAClB,WAAW,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAC9B,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CACtB,iBAAiB,CAAC,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC,EAC7D,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,gBAAgB,CAAC,IAAI,GAAG;IACtB,KAAK,EAAE,cAAc;IACrB,WAAW,EAAE,eAAe;IAC5B,OAAO,EAAE,MAAM;IACf,eAAe,EAAE,IAAI;CACtB,CAAC;AAEF,gBAAgB,CAAC,QAAQ,GAAG;IAC1B,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACpC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC1C,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACnE,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAClD,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useState } from 'react';\n\nimport { PhoneDisplay, PhoneInput } from '@pega/cosmos-react-core';\nimport type { PhoneDisplayProps, PhoneInputProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Phone',\n component: PhoneInput\n} as Meta;\n\ninterface PhoneInputStoryProps extends PhoneInputProps {\n showAdditionalInfo?: boolean;\n}\n\nexport const PhoneInputDemo: StoryFn<PhoneInputStoryProps> = (args: PhoneInputStoryProps) => {\n const [phoneNumber, setPhoneNumber] = useState<string>('');\n return (\n <PhoneInput\n additionalInfo={\n args.showAdditionalInfo\n ? {\n heading: 'Additional Info',\n content: 'Some additional info'\n }\n : undefined\n }\n value={phoneNumber}\n onChange={setPhoneNumber}\n showCountryCode={args.showCountryCode}\n label={args.label}\n labelHidden={args.labelHidden}\n info={args.info}\n status={args.status}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n />\n );\n};\n\nPhoneInputDemo.args = {\n showCountryCode: true,\n label: 'Phone input',\n labelHidden: false,\n info: 'Enter a phone number',\n status: undefined,\n required: false,\n disabled: false,\n readOnly: false,\n showAdditionalInfo: true\n};\n\nPhoneInputDemo.argTypes = {\n showCountryCode: { control: { type: 'boolean' } },\n label: { control: { type: 'text' } },\n labelHidden: { control: { type: 'boolean' } },\n info: { 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 showAdditionalInfo: { control: { type: 'boolean' } }\n};\n\ninterface PhoneDisplayStoryProps extends PhoneDisplayProps {\n showCountryCode?: boolean;\n}\n\nexport const PhoneDisplayDemo: StoryFn<PhoneDisplayStoryProps> = (args: PhoneDisplayStoryProps) => {\n return (\n <PhoneDisplay\n value={args.value}\n displayText={args.displayText}\n variant={args.variant}\n formattingOptions={{ showCountryCode: args.showCountryCode }}\n />\n );\n};\n\nPhoneDisplayDemo.args = {\n value: '+12345678900',\n displayText: 'Example Phone',\n variant: 'link',\n showCountryCode: true\n};\n\nPhoneDisplayDemo.argTypes = {\n value: { control: { type: 'text' } },\n displayText: { control: { type: 'text' } },\n variant: { options: ['link', 'text'], control: { type: 'select' } },\n showCountryCode: { control: { type: 'boolean' } }\n};\n"]}
@@ -1,11 +1,11 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { PopoverProps } from '@pega/cosmos-react-core';
3
- import { PlaceAndContainMockProps } from './Popover.mocks';
4
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { PopoverProps } from '@pega/cosmos-react-core';
3
+ import type { PlaceAndContainMockProps } from './Popover.mocks';
4
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
5
5
  export default _default;
6
- export declare const PopoverDemo: Story<Pick<PopoverProps, 'arrow' | 'showDelay' | 'hideDelay' | 'placement'>>;
7
- export declare const PopoverGroups: Story;
8
- export declare const PlaceAndContain: Story<PlaceAndContainMockProps & {
6
+ export declare const PopoverDemo: StoryFn<Pick<PopoverProps, 'arrow' | 'showDelay' | 'hideDelay' | 'placement'>>;
7
+ export declare const PopoverGroups: StoryFn;
8
+ export declare const PlaceAndContain: StoryFn<PlaceAndContainMockProps & {
9
9
  placement?: never;
10
10
  showDelay?: never;
11
11
  hideDelay?: never;
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Popover/Popover.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAOL,YAAY,EAIb,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAuB,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;;AAEhF,wBAkCU;AAEV,eAAO,MAAM,WAAW,EAAE,KAAK,CAC7B,IAAI,CAAC,YAAY,EAAE,OAAO,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC,CAqFtE,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAmF3B,CAAC;AASF,eAAO,MAAM,eAAe,EAAE,KAAK,CACjC,wBAAwB,GAAG;IAAE,SAAS,CAAC,EAAE,KAAK,CAAC;IAAC,SAAS,CAAC,EAAE,KAAK,CAAC;IAAC,SAAS,CAAC,EAAE,KAAK,CAAA;CAAE,CAGvF,CAAC"}
1
+ {"version":3,"file":"Popover.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Popover/Popover.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AActD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAG5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;;AAEhE,wBAkCU;AAEV,eAAO,MAAM,WAAW,EAAE,OAAO,CAC/B,IAAI,CAAC,YAAY,EAAE,OAAO,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC,CAqFtE,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,OAmF3B,CAAC;AASF,eAAO,MAAM,eAAe,EAAE,OAAO,CACnC,wBAAwB,GAAG;IAAE,SAAS,CAAC,EAAE,KAAK,CAAC;IAAC,SAAS,CAAC,EAAE,KAAK,CAAC;IAAC,SAAS,CAAC,EAAE,KAAK,CAAA;CAAE,CAGvF,CAAC"}