@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":"Count.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Count.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,KAAK,EAAc,MAAM,yBAAyB,CAAC;AAE5D,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,KAAK;CACT,CAAC;AAEV,MAAM,CAAC,MAAM,UAAU,GAAsB,CAAC,IAAgB,EAAE,EAAE;IAChE,OAAO,KAAC,KAAK,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,YAAG,IAAI,CAAC,QAAQ,GAAS,CAAC;AAC/D,CAAC,CAAC;AAEF,UAAU,CAAC,IAAI,GAAG;IAChB,QAAQ,EAAE,CAAC;IACX,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,UAAU,CAAC,QAAQ,GAAG;IACpB,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACzC,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;QAC9B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Count, CountProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Count',\n component: Count\n} as Meta;\n\nexport const CountBadge: Story<CountProps> = (args: CountProps) => {\n return <Count variant={args.variant}>{args.children}</Count>;\n};\n\nCountBadge.args = {\n children: 3,\n variant: 'default'\n};\n\nCountBadge.argTypes = {\n children: { control: { type: 'number' } },\n variant: {\n options: ['default', 'urgent'],\n control: { type: 'select' }\n }\n};\n"]}
1
+ {"version":3,"file":"Count.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Count.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGhD,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,KAAK;CACT,CAAC;AAEV,MAAM,CAAC,MAAM,UAAU,GAAwB,CAAC,IAAgB,EAAE,EAAE;IAClE,OAAO,KAAC,KAAK,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,YAAG,IAAI,CAAC,QAAQ,GAAS,CAAC;AAC/D,CAAC,CAAC;AAEF,UAAU,CAAC,IAAI,GAAG;IAChB,QAAQ,EAAE,CAAC;IACX,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,UAAU,CAAC,QAAQ,GAAG;IACpB,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACzC,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;QAC9B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Count } from '@pega/cosmos-react-core';\nimport type { CountProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Count',\n component: Count\n} as Meta;\n\nexport const CountBadge: StoryFn<CountProps> = (args: CountProps) => {\n return <Count variant={args.variant}>{args.children}</Count>;\n};\n\nCountBadge.args = {\n children: 3,\n variant: 'default'\n};\n\nCountBadge.argTypes = {\n children: { control: { type: 'number' } },\n variant: {\n options: ['default', 'urgent'],\n control: { type: 'select' }\n }\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { KeyboardProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { KeyboardProps } 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 KeyboardBadge: Story<KeyboardProps>;
5
+ export declare const KeyboardBadge: StoryFn<KeyboardProps>;
6
6
  //# sourceMappingURL=Keyboard.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Keyboard.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Keyboard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAY,aAAa,EAAQ,MAAM,yBAAyB,CAAC;;AAExE,wBAGU;AAEV,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,aAAa,CAM9C,CAAC"}
1
+ {"version":3,"file":"Keyboard.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Keyboard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;;AAE7D,wBAGU;AAEV,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,aAAa,CAMhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Keyboard.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Keyboard.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAiB,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAExE,eAAe;IACb,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,QAAQ;CACZ,CAAC;AAEV,MAAM,CAAC,MAAM,aAAa,GAAyB,CAAC,IAAmB,EAAE,EAAE;IACzE,OAAO,CACL,MAAC,IAAI,IAAC,OAAO,EAAC,SAAS,2BACX,KAAC,QAAQ,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,GAAI,kCACxC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,aAAa,CAAC,IAAI,GAAG;IACnB,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,aAAa,CAAC,QAAQ,GAAG;IACvB,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CACvC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Keyboard, KeyboardProps, Text } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Keyboard',\n component: Keyboard\n} as Meta;\n\nexport const KeyboardBadge: Story<KeyboardProps> = (args: KeyboardProps) => {\n return (\n <Text variant='primary'>\n Generally <Keyboard keyName={args.keyName} /> is used as a modifier key\n </Text>\n );\n};\n\nKeyboardBadge.args = {\n keyName: 'Command'\n};\n\nKeyboardBadge.argTypes = {\n keyName: { control: { type: 'text' } }\n};\n"]}
1
+ {"version":3,"file":"Keyboard.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Keyboard.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAGzD,eAAe;IACb,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,QAAQ;CACZ,CAAC;AAEV,MAAM,CAAC,MAAM,aAAa,GAA2B,CAAC,IAAmB,EAAE,EAAE;IAC3E,OAAO,CACL,MAAC,IAAI,IAAC,OAAO,EAAC,SAAS,2BACX,KAAC,QAAQ,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,GAAI,kCACxC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,aAAa,CAAC,IAAI,GAAG;IACnB,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,aAAa,CAAC,QAAQ,GAAG;IACvB,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CACvC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Keyboard, Text } from '@pega/cosmos-react-core';\nimport type { KeyboardProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Keyboard',\n component: Keyboard\n} as Meta;\n\nexport const KeyboardBadge: StoryFn<KeyboardProps> = (args: KeyboardProps) => {\n return (\n <Text variant='primary'>\n Generally <Keyboard keyName={args.keyName} /> is used as a modifier key\n </Text>\n );\n};\n\nKeyboardBadge.args = {\n keyName: 'Command'\n};\n\nKeyboardBadge.argTypes = {\n keyName: { control: { type: 'text' } }\n};\n"]}
@@ -1,5 +1,5 @@
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 SelectableBadge: Story;
4
+ export declare const SelectableBadge: StoryFn;
5
5
  //# sourceMappingURL=Selection.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Selection.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Selection.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAI/C,wBAGU;AAEV,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAC"}
1
+ {"version":3,"file":"Selection.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Selection.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;;AAItD,wBAGU;AAEV,eAAO,MAAM,eAAe,EAAE,OAE7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Selection.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Selection.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,eAAe;IACb,KAAK,EAAE,wBAAwB;IAC/B,SAAS,EAAE,UAAU;CACd,CAAC;AAEV,MAAM,CAAC,MAAM,eAAe,GAAU,GAAG,EAAE;IACzC,OAAO,KAAC,UAAU,IAAC,EAAE,EAAC,YAAY,2BAAwB,CAAC;AAC7D,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Selectable } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Selectable',\n component: Selectable\n} as Meta;\n\nexport const SelectableBadge: Story = () => {\n return <Selectable id='selectable'>Selectable</Selectable>;\n};\n"]}
1
+ {"version":3,"file":"Selection.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Selection.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,eAAe;IACb,KAAK,EAAE,wBAAwB;IAC/B,SAAS,EAAE,UAAU;CACd,CAAC;AAEV,MAAM,CAAC,MAAM,eAAe,GAAY,GAAG,EAAE;IAC3C,OAAO,KAAC,UAAU,IAAC,EAAE,EAAC,YAAY,2BAAwB,CAAC;AAC7D,CAAC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Selectable } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Selectable',\n component: Selectable\n} as Meta;\n\nexport const SelectableBadge: StoryFn = () => {\n return <Selectable id='selectable'>Selectable</Selectable>;\n};\n"]}
@@ -1,11 +1,11 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { StatusProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { StatusProps } 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 StatusBadge: Story<StatusProps>;
5
+ export declare const StatusBadge: StoryFn<StatusProps>;
6
6
  interface ConfigurableStatusBadgeProps {
7
7
  foreground?: string;
8
8
  background?: string;
9
9
  }
10
- export declare const ConfigurableStatusBadge: Story<ConfigurableStatusBadgeProps>;
10
+ export declare const ConfigurableStatusBadge: StoryFn<ConfigurableStatusBadgeProps>;
11
11
  //# sourceMappingURL=Status.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Status.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Status.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAyB,WAAW,EAAE,MAAM,yBAAyB,CAAC;;AAE7E,wBAIU;AAEV,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,WAAW,CAE1C,CAAC;AAaF,UAAU,4BAA4B;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,4BAA4B,CAqBvE,CAAC"}
1
+ {"version":3,"file":"Status.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Status.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;;AAE3D,wBAIU;AAEV,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,WAAW,CAE5C,CAAC;AAaF,UAAU,4BAA4B;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAAC,4BAA4B,CAqBzE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Status.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Status.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAe,MAAM,yBAAyB,CAAC;AAE7E,eAAe;IACb,SAAS,EAAE,MAAM;IACjB,KAAK,EAAE,oBAAoB;IAC3B,cAAc,EAAE,CAAC,yBAAyB,CAAC;CACpC,CAAC;AAEV,MAAM,CAAC,MAAM,WAAW,GAAuB,CAAC,IAAiB,EAAE,EAAE;IACnE,OAAO,KAAC,MAAM,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,YAAG,IAAI,CAAC,OAAO,GAAU,CAAC;AAChE,CAAC,CAAC;AAEF,WAAW,CAAC,IAAI,GAAG;IACjB,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,WAAW,CAAC,QAAQ,GAAG;IACrB,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC;QACzD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC;AAOF,MAAM,CAAC,MAAM,uBAAuB,GAAwC,CAC1E,IAAkC,EAClC,EAAE;IACF,OAAO,CACL,KAAC,aAAa,IACZ,KAAK,EAAE;YACL,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,MAAM,EAAE;wBACN,OAAO,EAAE;4BACP,UAAU,EAAE,IAAI,CAAC,UAAU;4BAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;yBAC5B;qBACF;iBACF;aACF;SACF,YAED,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,qCAA8B,GACzC,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,uBAAuB,CAAC,IAAI,GAAG;IAC7B,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;CACtB,CAAC;AAEF,uBAAuB,CAAC,QAAQ,GAAG;IACjC,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC1C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;CAC3C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Configuration, Status, StatusProps } from '@pega/cosmos-react-core';\n\nexport default {\n component: Status,\n title: 'Core/Badges/Status',\n excludeStories: ['ConfigurableStatusBadge']\n} as Meta;\n\nexport const StatusBadge: Story<StatusProps> = (args: StatusProps) => {\n return <Status variant={args.variant}>{args.variant}</Status>;\n};\n\nStatusBadge.args = {\n variant: 'success'\n};\n\nStatusBadge.argTypes = {\n variant: {\n options: ['success', 'urgent', 'warn', 'pending', 'info'],\n control: { type: 'select' }\n }\n};\n\ninterface ConfigurableStatusBadgeProps {\n foreground?: string;\n background?: string;\n}\n\nexport const ConfigurableStatusBadge: Story<ConfigurableStatusBadgeProps> = (\n args: ConfigurableStatusBadgeProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n badges: {\n status: {\n success: {\n foreground: args.foreground,\n background: args.background\n }\n }\n }\n }\n }}\n >\n <Status variant='success'>Configurable Success</Status>\n </Configuration>\n );\n};\n\nConfigurableStatusBadge.args = {\n foreground: '#156f35',\n background: '#d4f7d5'\n};\n\nConfigurableStatusBadge.argTypes = {\n foreground: { control: { type: 'color' } },\n background: { control: { type: 'color' } }\n};\n"]}
1
+ {"version":3,"file":"Status.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Status.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGhE,eAAe;IACb,SAAS,EAAE,MAAM;IACjB,KAAK,EAAE,oBAAoB;IAC3B,cAAc,EAAE,CAAC,yBAAyB,CAAC;CACpC,CAAC;AAEV,MAAM,CAAC,MAAM,WAAW,GAAyB,CAAC,IAAiB,EAAE,EAAE;IACrE,OAAO,KAAC,MAAM,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,YAAG,IAAI,CAAC,OAAO,GAAU,CAAC;AAChE,CAAC,CAAC;AAEF,WAAW,CAAC,IAAI,GAAG;IACjB,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,WAAW,CAAC,QAAQ,GAAG;IACrB,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC;QACzD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC;AAOF,MAAM,CAAC,MAAM,uBAAuB,GAA0C,CAC5E,IAAkC,EAClC,EAAE;IACF,OAAO,CACL,KAAC,aAAa,IACZ,KAAK,EAAE;YACL,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,MAAM,EAAE;wBACN,OAAO,EAAE;4BACP,UAAU,EAAE,IAAI,CAAC,UAAU;4BAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;yBAC5B;qBACF;iBACF;aACF;SACF,YAED,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,qCAA8B,GACzC,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,uBAAuB,CAAC,IAAI,GAAG;IAC7B,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;CACtB,CAAC;AAEF,uBAAuB,CAAC,QAAQ,GAAG;IACjC,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC1C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;CAC3C,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Configuration, Status } from '@pega/cosmos-react-core';\nimport type { StatusProps } from '@pega/cosmos-react-core';\n\nexport default {\n component: Status,\n title: 'Core/Badges/Status',\n excludeStories: ['ConfigurableStatusBadge']\n} as Meta;\n\nexport const StatusBadge: StoryFn<StatusProps> = (args: StatusProps) => {\n return <Status variant={args.variant}>{args.variant}</Status>;\n};\n\nStatusBadge.args = {\n variant: 'success'\n};\n\nStatusBadge.argTypes = {\n variant: {\n options: ['success', 'urgent', 'warn', 'pending', 'info'],\n control: { type: 'select' }\n }\n};\n\ninterface ConfigurableStatusBadgeProps {\n foreground?: string;\n background?: string;\n}\n\nexport const ConfigurableStatusBadge: StoryFn<ConfigurableStatusBadgeProps> = (\n args: ConfigurableStatusBadgeProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n badges: {\n status: {\n success: {\n foreground: args.foreground,\n background: args.background\n }\n }\n }\n }\n }}\n >\n <Status variant='success'>Configurable Success</Status>\n </Configuration>\n );\n};\n\nConfigurableStatusBadge.args = {\n foreground: '#156f35',\n background: '#d4f7d5'\n};\n\nConfigurableStatusBadge.argTypes = {\n foreground: { control: { type: 'color' } },\n background: { control: { type: 'color' } }\n};\n"]}
@@ -1,5 +1,5 @@
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 TagBadge: Story;
4
+ export declare const TagBadge: StoryFn;
5
5
  //# sourceMappingURL=Tag.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Tag.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAI/C,wBAGU;AAEV,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC"}
1
+ {"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Badges/Tag.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;;AAItD,wBAGU;AAEV,eAAO,MAAM,QAAQ,EAAE,OAEtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Tag.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAE9C,eAAe;IACb,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,GAAG;CACP,CAAC;AAEV,MAAM,CAAC,MAAM,QAAQ,GAAU,GAAG,EAAE;IAClC,OAAO,KAAC,GAAG,8BAAkB,CAAC;AAChC,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Tag } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Tag',\n component: Tag\n} as Meta;\n\nexport const TagBadge: Story = () => {\n return <Tag>#PegaCosmos</Tag>;\n};\n"]}
1
+ {"version":3,"file":"Tag.stories.js","sourceRoot":"","sources":["../../../src/core/Badges/Tag.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAE9C,eAAe;IACb,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,GAAG;CACP,CAAC;AAEV,MAAM,CAAC,MAAM,QAAQ,GAAY,GAAG,EAAE;IACpC,OAAO,KAAC,GAAG,8BAAkB,CAAC;AAChC,CAAC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Tag } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Badges/Tag',\n component: Tag\n} as Meta;\n\nexport const TagBadge: StoryFn = () => {\n return <Tag>#PegaCosmos</Tag>;\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { BannerProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { BannerProps } 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 BannerDemoProps extends Pick<BannerProps, 'variant'> {
6
6
  count?: number;
@@ -8,11 +8,11 @@ interface BannerDemoProps extends Pick<BannerProps, 'variant'> {
8
8
  actions?: boolean;
9
9
  disableFocusControl?: boolean;
10
10
  }
11
- export declare const BannerDemo: Story<BannerDemoProps>;
11
+ export declare const BannerDemo: StoryFn<BannerDemoProps>;
12
12
  interface ConfigurableErrorBannerProps {
13
13
  background?: string;
14
14
  }
15
- export declare const ConfigurableErrorBanner: Story<ConfigurableErrorBannerProps>;
16
- export declare const ShownInForm: Story;
17
- export declare const ShownInAppShell: Story;
15
+ export declare const ConfigurableErrorBanner: StoryFn<ConfigurableErrorBannerProps>;
16
+ export declare const ShownInForm: StoryFn;
17
+ export declare const ShownInAppShell: StoryFn;
18
18
  //# sourceMappingURL=Banner.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Banner/Banner.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAA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Ae,CAAC,UAAU,GAAG;IAC3B,MAAM,EAAE,YAAY;CACrB,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\nimport { useEffect, useState, useCallback, FormEvent, useReducer, useRef } from 'react';\n\nimport {\n Banner,\n BannerProps,\n BannerMessage,\n BannerHandleValue,\n Button,\n Configuration,\n Flex,\n Form,\n Input\n} from '@pega/cosmos-react-core';\n\nimport { AppShellDemo } from '../AppShell/AppShell.stories';\nimport { loadingTimeoutMS } from '../Progress/Progress.mocks';\n\nimport { demoFields, DemoFormField, fieldReducer, formActions } from './Banner.mocks';\n\nexport default {\n title: 'Core/Banner',\n component: Banner,\n excludeStories: ['ConfigurableErrorBanner']\n} as Meta;\n\ninterface BannerDemoProps extends Pick<BannerProps, 'variant'> {\n count?: number;\n descriptions?: boolean;\n actions?: boolean;\n disableFocusControl?: boolean;\n}\n\nexport const BannerDemo: Story<BannerDemoProps> = (args: BannerDemoProps) => {\n const [show, setShow] = useState(true);\n const bannerHandleRef = useRef<BannerHandleValue>(null);\n\n const action: BannerMessage['action'] = args.actions\n ? {\n text: `Individual ${args.variant} action.`,\n onClick: e => {\n e.preventDefault();\n },\n href: 'https://pega.com'\n }\n : undefined;\n\n const sliceMessages = (\n messages: BannerProps['messages'],\n count: number\n ): [messages: BannerProps['messages'], count: number] => {\n const currentMessages: BannerProps['messages'] = [];\n let currentCount = 0;\n\n messages.forEach(msg => {\n if (currentCount < count) {\n currentCount += 1;\n\n if (typeof msg === 'string') {\n currentMessages.push(msg);\n } else if (!msg.items) {\n currentMessages.push({ ...msg, action });\n } else {\n const [items, subCount] = sliceMessages(msg.items, count - currentCount);\n currentCount += subCount;\n currentMessages.push({\n ...msg,\n action,\n items: items.length > 0 ? items : undefined\n });\n }\n }\n });\n\n return [currentMessages, currentCount];\n };\n\n const [messagesToRender] = sliceMessages(\n [\n {\n label: `Individual ${args.variant} label.`,\n description: args.descriptions\n ? 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'\n : undefined\n },\n {\n label: `Individual ${args.variant} label.`,\n description: args.descriptions ? `Individual ${args.variant} description.` : undefined\n },\n `Individual ${args.variant} label.`,\n {\n label: `Individual ${args.variant} label.`,\n description: args.descriptions\n ? 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'\n : undefined\n },\n {\n label: `Grandparent ${args.variant} label.`,\n items: [\n {\n label: `Parent ${args.variant} label.`,\n items: [`Child ${args.variant} label.`]\n }\n ]\n }\n ],\n args.count ?? Infinity\n );\n\n return (\n <Flex container={{ direction: 'column', gap: 2 }}>\n {show ? (\n <Banner\n variant={args.variant}\n messages={messagesToRender}\n onDismiss={() => setShow(false)}\n handle={bannerHandleRef}\n />\n ) : (\n <Button onClick={() => setShow(true)}>Open banner</Button>\n )}\n {!args.disableFocusControl && (\n <Button\n onClick={() => bannerHandleRef.current?.focus()}\n style={{ maxWidth: 'fit-content' }}\n >\n Focus\n </Button>\n )}\n </Flex>\n );\n};\n\nBannerDemo.args = {\n variant: 'info',\n count: 7,\n descriptions: true,\n actions: true\n};\n\nBannerDemo.argTypes = {\n variant: { options: ['urgent', 'warning', 'success', 'info'], control: { type: 'select' } },\n count: { control: { type: 'range', min: 1, max: 7 } },\n descriptions: { control: { type: 'boolean' } },\n actions: { control: { type: 'boolean' } }\n};\n\ninterface ConfigurableErrorBannerProps {\n background?: string;\n}\n\nexport const ConfigurableErrorBanner: Story<ConfigurableErrorBannerProps> = (\n args: ConfigurableErrorBannerProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n banner: {\n urgent: {\n background: args.background\n }\n }\n }\n }}\n >\n <Banner\n variant='urgent'\n messages={['Your request failed to send!', 'Please review your request and try again']}\n />\n </Configuration>\n );\n};\n\nConfigurableErrorBanner.args = {\n background: '#d91c29'\n};\n\nConfigurableErrorBanner.argTypes = {\n background: { control: { type: 'color' } }\n};\n\n// -----------------------------------------------------------------------------\n// Form story\n// -----------------------------------------------------------------------------\n\nexport const ShownInForm: Story = () => {\n const [fields, setField] = useReducer(fieldReducer, demoFields);\n const [loading, setLoading] = useState(false);\n const [banner, setBanner] = useState<any>();\n const bannerHandleRef = useRef<BannerHandleValue>(null);\n\n const onSubmit = useCallback((e: FormEvent) => {\n e.preventDefault();\n setLoading(true);\n setTimeout(() => {\n const errorFields = fields.filter(field => !field.validator(field.value));\n let variant: 'success' | 'urgent' = 'success';\n let messages = fields.map(f => `${f.name} was typed perfectly`);\n\n if (errorFields.length > 0) {\n variant = 'urgent';\n messages = errorFields.map(f => `${f.name} was not typed correctly`);\n }\n\n setLoading(false);\n setBanner(\n <Banner\n variant={variant}\n messages={messages}\n onDismiss={() => {\n setBanner(false);\n }}\n handle={bannerHandleRef}\n />\n );\n }, loadingTimeoutMS);\n }, []);\n\n useEffect(() => {\n if (banner && fields.some(field => !field.validator(field.value)) && bannerHandleRef.current)\n bannerHandleRef.current.focus();\n }, [banner]);\n\n return (\n <Form\n banners={banner}\n actions={formActions}\n onSubmit={onSubmit}\n progress={loading ? 'Submitting...' : undefined}\n style={{ margin: 'auto', padding: '2.5rem', maxWidth: '37.5rem' }}\n >\n {fields.map((field: DemoFormField) => {\n return (\n <Input\n key={field.name}\n name={field.name}\n label={field.label}\n info={field.info}\n value={field.value}\n onChange={(e: InputEvent) => setField(e.target as any)}\n />\n );\n })}\n </Form>\n );\n};\n\n// -----------------------------------------------------------------------------\n// AppShell story\n// -----------------------------------------------------------------------------\nexport const ShownInAppShell: Story = () => {\n const [hasBanner, setHasBanner] = useState(true);\n return (\n <AppShellDemo\n banners={\n hasBanner && (\n <Banner\n onDismiss={() => setHasBanner(false)}\n variant='success'\n messages={[\n 'Uploaded pega_data.json successfully',\n 'Uploaded business-earnings.xlsx successfully'\n ]}\n />\n )\n }\n />\n );\n};\n\nShownInAppShell.parameters = {\n layout: 'fullscreen'\n};\n"]}
1
+ {"version":3,"file":"Banner.stories.js","sourceRoot":"","sources":["../../../src/core/Banner/Banner.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAG7E,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAG3F,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAGvE,eAAe;IACb,KAAK,EAAE,aAAa;IACpB,SAAS,EAAE,MAAM;IACjB,cAAc,EAAE,CAAC,yBAAyB,CAAC;CACpC,CAAC;AASV,MAAM,CAAC,MAAM,UAAU,GAA6B,CAAC,IAAqB,EAAE,EAAE;IAC5E,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IACvC,MAAM,eAAe,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAC;IAExD,MAAM,MAAM,GAA4B,IAAI,CAAC,OAAO;QAClD,CAAC,CAAC;YACE,IAAI,EAAE,cAAc,IAAI,CAAC,OAAO,UAAU;YAC1C,OAAO,EAAE,CAAC,CAAC,EAAE;gBACX,CAAC,CA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CACX,KAAC,MAAM,IACL,SAAS,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,EACpC,OAAO,EAAC,SAAS,EACjB,QAAQ,EAAE;gBACR,sCAAsC;gBACtC,8CAA8C;aAC/C,GACD,CACH,GAEH,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,CAAC,UAAU,GAAG;IAC3B,MAAM,EAAE,YAAY;CACrB,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useEffect, useState, useCallback, useReducer, useRef } from 'react';\nimport type { FormEvent } from 'react';\n\nimport { Banner, Button, Configuration, Flex, Form, Input } from '@pega/cosmos-react-core';\nimport type { BannerProps, BannerMessage, BannerHandleValue } from '@pega/cosmos-react-core';\n\nimport { AppShellDemo } from '../AppShell/AppShell.stories';\nimport { loadingTimeoutMS } from '../Progress/Progress.mocks';\n\nimport { demoFields, fieldReducer, formActions } from './Banner.mocks';\nimport type { DemoFormField } from './Banner.mocks';\n\nexport default {\n title: 'Core/Banner',\n component: Banner,\n excludeStories: ['ConfigurableErrorBanner']\n} as Meta;\n\ninterface BannerDemoProps extends Pick<BannerProps, 'variant'> {\n count?: number;\n descriptions?: boolean;\n actions?: boolean;\n disableFocusControl?: boolean;\n}\n\nexport const BannerDemo: StoryFn<BannerDemoProps> = (args: BannerDemoProps) => {\n const [show, setShow] = useState(true);\n const bannerHandleRef = useRef<BannerHandleValue>(null);\n\n const action: BannerMessage['action'] = args.actions\n ? {\n text: `Individual ${args.variant} action.`,\n onClick: e => {\n e.preventDefault();\n },\n href: 'https://pega.com'\n }\n : undefined;\n\n const sliceMessages = (\n messages: BannerProps['messages'],\n count: number\n ): [messages: BannerProps['messages'], count: number] => {\n const currentMessages: BannerProps['messages'] = [];\n let currentCount = 0;\n\n messages.forEach(msg => {\n if (currentCount < count) {\n currentCount += 1;\n\n if (typeof msg === 'string') {\n currentMessages.push(msg);\n } else if (!msg.items) {\n currentMessages.push({ ...msg, action });\n } else {\n const [items, subCount] = sliceMessages(msg.items, count - currentCount);\n currentCount += subCount;\n currentMessages.push({\n ...msg,\n action,\n items: items.length > 0 ? items : undefined\n });\n }\n }\n });\n\n return [currentMessages, currentCount];\n };\n\n const [messagesToRender] = sliceMessages(\n [\n {\n label: `Individual ${args.variant} label.`,\n description: args.descriptions\n ? 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'\n : undefined\n },\n {\n label: `Individual ${args.variant} label.`,\n description: args.descriptions ? `Individual ${args.variant} description.` : undefined\n },\n `Individual ${args.variant} label.`,\n {\n label: `Individual ${args.variant} label.`,\n description: args.descriptions\n ? 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'\n : undefined\n },\n {\n label: `Grandparent ${args.variant} label.`,\n items: [\n {\n label: `Parent ${args.variant} label.`,\n items: [`Child ${args.variant} label.`]\n }\n ]\n }\n ],\n args.count ?? Infinity\n );\n\n return (\n <Flex container={{ direction: 'column', gap: 2 }}>\n {show ? (\n <Banner\n variant={args.variant}\n messages={messagesToRender}\n onDismiss={() => setShow(false)}\n handle={bannerHandleRef}\n />\n ) : (\n <Button onClick={() => setShow(true)}>Open banner</Button>\n )}\n {!args.disableFocusControl && (\n <Button\n onClick={() => bannerHandleRef.current?.focus()}\n style={{ maxWidth: 'fit-content' }}\n >\n Focus\n </Button>\n )}\n </Flex>\n );\n};\n\nBannerDemo.args = {\n variant: 'info',\n count: 7,\n descriptions: true,\n actions: true\n};\n\nBannerDemo.argTypes = {\n variant: { options: ['urgent', 'warning', 'success', 'info'], control: { type: 'select' } },\n count: { control: { type: 'range', min: 1, max: 7 } },\n descriptions: { control: { type: 'boolean' } },\n actions: { control: { type: 'boolean' } }\n};\n\ninterface ConfigurableErrorBannerProps {\n background?: string;\n}\n\nexport const ConfigurableErrorBanner: StoryFn<ConfigurableErrorBannerProps> = (\n args: ConfigurableErrorBannerProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n banner: {\n urgent: {\n background: args.background\n }\n }\n }\n }}\n >\n <Banner\n variant='urgent'\n messages={['Your request failed to send!', 'Please review your request and try again']}\n />\n </Configuration>\n );\n};\n\nConfigurableErrorBanner.args = {\n background: '#d91c29'\n};\n\nConfigurableErrorBanner.argTypes = {\n background: { control: { type: 'color' } }\n};\n\n// -----------------------------------------------------------------------------\n// Form story\n// -----------------------------------------------------------------------------\n\nexport const ShownInForm: StoryFn = () => {\n const [fields, setField] = useReducer(fieldReducer, demoFields);\n const [loading, setLoading] = useState(false);\n const [banner, setBanner] = useState<any>();\n const bannerHandleRef = useRef<BannerHandleValue>(null);\n\n const onSubmit = useCallback((e: FormEvent) => {\n e.preventDefault();\n setLoading(true);\n setTimeout(() => {\n const errorFields = fields.filter(field => !field.validator(field.value));\n let variant: 'success' | 'urgent' = 'success';\n let messages = fields.map(f => `${f.name} was typed perfectly`);\n\n if (errorFields.length > 0) {\n variant = 'urgent';\n messages = errorFields.map(f => `${f.name} was not typed correctly`);\n }\n\n setLoading(false);\n setBanner(\n <Banner\n variant={variant}\n messages={messages}\n onDismiss={() => {\n setBanner(false);\n }}\n handle={bannerHandleRef}\n />\n );\n }, loadingTimeoutMS);\n }, []);\n\n useEffect(() => {\n if (banner && fields.some(field => !field.validator(field.value)) && bannerHandleRef.current)\n bannerHandleRef.current.focus();\n }, [banner]);\n\n return (\n <Form\n banners={banner}\n actions={formActions}\n onSubmit={onSubmit}\n progress={loading ? 'Submitting...' : undefined}\n style={{ margin: 'auto', padding: '2.5rem', maxWidth: '37.5rem' }}\n >\n {fields.map((field: DemoFormField) => {\n return (\n <Input\n key={field.name}\n name={field.name}\n label={field.label}\n info={field.info}\n value={field.value}\n onChange={(e: InputEvent) => setField(e.target as any)}\n />\n );\n })}\n </Form>\n );\n};\n\n// -----------------------------------------------------------------------------\n// AppShell story\n// -----------------------------------------------------------------------------\nexport const ShownInAppShell: StoryFn = () => {\n const [hasBanner, setHasBanner] = useState(true);\n return (\n <AppShellDemo\n banners={\n hasBanner && (\n <Banner\n onDismiss={() => setHasBanner(false)}\n variant='success'\n messages={[\n 'Uploaded pega_data.json successfully',\n 'Uploaded business-earnings.xlsx successfully'\n ]}\n />\n )\n }\n />\n );\n};\n\nShownInAppShell.parameters = {\n layout: 'fullscreen'\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { BooleanDisplayProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { BooleanDisplayProps } 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 BooleanDisplayDemo: Story<BooleanDisplayProps>;
5
+ export declare const BooleanDisplayDemo: StoryFn<BooleanDisplayProps>;
6
6
  //# sourceMappingURL=BooleanDisplay.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BooleanDisplay.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Boolean/BooleanDisplay.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAkB,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;;AAE9E,wBAGU;AAEV,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,mBAAmB,CAIzD,CAAC"}
1
+ {"version":3,"file":"BooleanDisplay.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Boolean/BooleanDisplay.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;;AAEnE,wBAGU;AAEV,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,mBAAmB,CAI3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BooleanDisplay.stories.js","sourceRoot":"","sources":["../../../src/core/Boolean/BooleanDisplay.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,EAAuB,MAAM,yBAAyB,CAAC;AAE9E,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,cAAc;CAClB,CAAC;AAEV,MAAM,CAAC,MAAM,kBAAkB,GAA+B,CAAC,IAAyB,EAAE,EAAE;IAC1F,OAAO,CACL,KAAC,cAAc,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,GAAI,CAC9F,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAkB,CAAC,IAAI,GAAG;IACxB,KAAK,EAAE,IAAI;IACX,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,IAAI;CACjB,CAAC;AAEF,kBAAkB,CAAC,QAAQ,GAAG;IAC5B,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACvC,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACxC,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CAC1C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { BooleanDisplay, BooleanDisplayProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Boolean',\n component: BooleanDisplay\n} as Meta;\n\nexport const BooleanDisplayDemo: Story<BooleanDisplayProps> = (args: BooleanDisplayProps) => {\n return (\n <BooleanDisplay value={args.value} trueLabel={args.trueLabel} falseLabel={args.falseLabel} />\n );\n};\n\nBooleanDisplayDemo.args = {\n value: true,\n trueLabel: 'Yes',\n falseLabel: 'No'\n};\n\nBooleanDisplayDemo.argTypes = {\n value: { control: { type: 'boolean' } },\n trueLabel: { control: { type: 'text' } },\n falseLabel: { control: { type: 'text' } }\n};\n"]}
1
+ {"version":3,"file":"BooleanDisplay.stories.js","sourceRoot":"","sources":["../../../src/core/Boolean/BooleanDisplay.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAGzD,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,cAAc;CAClB,CAAC;AAEV,MAAM,CAAC,MAAM,kBAAkB,GAAiC,CAAC,IAAyB,EAAE,EAAE;IAC5F,OAAO,CACL,KAAC,cAAc,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,GAAI,CAC9F,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAkB,CAAC,IAAI,GAAG;IACxB,KAAK,EAAE,IAAI;IACX,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,IAAI;CACjB,CAAC;AAEF,kBAAkB,CAAC,QAAQ,GAAG;IAC5B,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACvC,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACxC,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CAC1C,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { BooleanDisplay } from '@pega/cosmos-react-core';\nimport type { BooleanDisplayProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Boolean',\n component: BooleanDisplay\n} as Meta;\n\nexport const BooleanDisplayDemo: StoryFn<BooleanDisplayProps> = (args: BooleanDisplayProps) => {\n return (\n <BooleanDisplay value={args.value} trueLabel={args.trueLabel} falseLabel={args.falseLabel} />\n );\n};\n\nBooleanDisplayDemo.args = {\n value: true,\n trueLabel: 'Yes',\n falseLabel: 'No'\n};\n\nBooleanDisplayDemo.argTypes = {\n value: { control: { type: 'boolean' } },\n trueLabel: { control: { type: 'text' } },\n falseLabel: { control: { type: 'text' } }\n};\n"]}
@@ -1,10 +1,10 @@
1
- import { Meta, Story } from '@storybook/react';
1
+ import type { StoryFn } from '@storybook/react';
2
2
  import { BreadcrumbsProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
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 StoryArgs {
6
6
  leafOnly?: BreadcrumbsProps['leafOnly'];
7
7
  }
8
- export declare const BreadcrumbsDemo: Story<StoryArgs>;
9
- export declare const ContainedBreadcrumbs: Story<StoryArgs>;
8
+ export declare const BreadcrumbsDemo: StoryFn<StoryArgs>;
9
+ export declare const ContainedBreadcrumbs: StoryFn<StoryArgs>;
10
10
  //# sourceMappingURL=Breadcrumbs.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAe,gBAAgB,EAAQ,MAAM,yBAAyB,CAAC;;AAI9E,wBAGU;AAEV,UAAU,SAAS;IACjB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,SAAS,CAU5C,CAAC;AAUF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,SAAS,CAcjD,CAAC"}
1
+ {"version":3,"file":"Breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAe,gBAAgB,EAAQ,MAAM,yBAAyB,CAAC;;AAI9E,wBAGU;AAEV,UAAU,SAAS;IACjB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,SAAS,CAU9C,CAAC;AAUF,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,SAAS,CAcnD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.stories.js","sourceRoot":"","sources":["../../../src/core/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAoB,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,WAAW;CACf,CAAC;AAMV,MAAM,CAAC,MAAM,eAAe,GAAqB,CAAC,IAAe,EAAE,EAAE;IACnE,MAAM,MAAM,GAAG;QACb,EAAE,EAAE,EAAE,kBAAkB,EAAE,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE,mBAAmB,EAAE;QAClF,EAAE,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,eAAe,EAAE;QACtE,EAAE,EAAE,EAAE,eAAe,EAAE,OAAO,E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,QAAQ,EAAE,KAAK;CAChB,CAAC;AAEF,oBAAoB,CAAC,QAAQ,GAAG;IAC9B,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC3C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Breadcrumbs, BreadcrumbsProps, Card } from '@pega/cosmos-react-core';\n\nimport { StyledCard } from './Breadcrumbs.styles';\n\nexport default {\n title: 'Core/Breadcrumbs',\n component: Breadcrumbs\n} as Meta;\n\ninterface StoryArgs {\n leafOnly?: BreadcrumbsProps['leafOnly'];\n}\n\nexport const BreadcrumbsDemo: Story<StoryArgs> = (args: StoryArgs) => {\n const crumbs = [\n { id: 'Plan information', primary: 'Plan information', href: '#plan-information' },\n { id: 'View benefit', primary: 'View benefit', href: '#view-benefit' },\n { id: 'Benefit usage', primary: 'Benefit usage', href: '#benefit-usage' },\n { id: 'Plan claims', primary: 'Plan claims', href: '#plan-claims' },\n { id: 'View benefit claims', primary: 'View benefit claims' }\n ];\n\n return <Breadcrumbs path={crumbs} leafOnly={args.leafOnly} />;\n};\n\nBreadcrumbsDemo.args = {\n leafOnly: false\n};\n\nBreadcrumbsDemo.argTypes = {\n leafOnly: { control: { type: 'boolean' } }\n};\n\nexport const ContainedBreadcrumbs: Story<StoryArgs> = (args: StoryArgs) => {\n const crumbs = [\n { id: 'Plan information', primary: 'Plan information', href: '#plan-information' },\n { id: 'View benefit', primary: 'View benefit', href: '#view-benefit' },\n { id: 'Benefit usage', primary: 'Benefit usage', href: '#benefit-usage' },\n { id: 'Plan claims', primary: 'Plan claims', href: '#plan-claims' },\n { id: 'View benefit claims', primary: 'View benefit claims' }\n ];\n\n return (\n <Card as={StyledCard}>\n <Breadcrumbs path={crumbs} leafOnly={args.leafOnly} />\n </Card>\n );\n};\n\nContainedBreadcrumbs.args = {\n leafOnly: false\n};\n\nContainedBreadcrumbs.argTypes = {\n leafOnly: { control: { type: 'boolean' } }\n};\n"]}
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,EAAE,kBAAkB,EAAE,IAAI,EAAE,mBAAmB,EAAE;QAClF,EAAE,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,eAAe,EAAE;QACtE,EAAE,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACzE,EAAE,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,cAAc,EAAE;QACnE,EAAE,EAAE,EAAE,qBAAqB,EAAE,OAAO,EAAE,qBAAqB,EAAE;KAC9D,CAAC;IAEF,OAAO,CACL,KAAC,IAAI,IAAC,EAAE,EAAE,UAAU,YAClB,KAAC,WAAW,IAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAI,GACjD,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,oBAAoB,CAAC,IAAI,GAAG;IAC1B,QAAQ,EAAE,KAAK;CAChB,CAAC;AAEF,oBAAoB,CAAC,QAAQ,GAAG;IAC9B,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC3C,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Breadcrumbs, BreadcrumbsProps, Card } from '@pega/cosmos-react-core';\n\nimport { StyledCard } from './Breadcrumbs.styles';\n\nexport default {\n title: 'Core/Breadcrumbs',\n component: Breadcrumbs\n} as Meta;\n\ninterface StoryArgs {\n leafOnly?: BreadcrumbsProps['leafOnly'];\n}\n\nexport const BreadcrumbsDemo: StoryFn<StoryArgs> = (args: StoryArgs) => {\n const crumbs = [\n { id: 'Plan information', primary: 'Plan information', href: '#plan-information' },\n { id: 'View benefit', primary: 'View benefit', href: '#view-benefit' },\n { id: 'Benefit usage', primary: 'Benefit usage', href: '#benefit-usage' },\n { id: 'Plan claims', primary: 'Plan claims', href: '#plan-claims' },\n { id: 'View benefit claims', primary: 'View benefit claims' }\n ];\n\n return <Breadcrumbs path={crumbs} leafOnly={args.leafOnly} />;\n};\n\nBreadcrumbsDemo.args = {\n leafOnly: false\n};\n\nBreadcrumbsDemo.argTypes = {\n leafOnly: { control: { type: 'boolean' } }\n};\n\nexport const ContainedBreadcrumbs: StoryFn<StoryArgs> = (args: StoryArgs) => {\n const crumbs = [\n { id: 'Plan information', primary: 'Plan information', href: '#plan-information' },\n { id: 'View benefit', primary: 'View benefit', href: '#view-benefit' },\n { id: 'Benefit usage', primary: 'Benefit usage', href: '#benefit-usage' },\n { id: 'Plan claims', primary: 'Plan claims', href: '#plan-claims' },\n { id: 'View benefit claims', primary: 'View benefit claims' }\n ];\n\n return (\n <Card as={StyledCard}>\n <Breadcrumbs path={crumbs} leafOnly={args.leafOnly} />\n </Card>\n );\n};\n\nContainedBreadcrumbs.args = {\n leafOnly: false\n};\n\nContainedBreadcrumbs.argTypes = {\n leafOnly: { control: { type: 'boolean' } }\n};\n"]}
@@ -1,12 +1,12 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { ButtonProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { ButtonProps } 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 ButtonVariants: Story<ButtonProps>;
6
- export declare const DisabledButtons: Story;
7
- export declare const IconButtons: Story<ButtonProps>;
8
- export declare const LoadingButtons: Story<ButtonProps>;
9
- export declare const ButtonAsLink: Story;
5
+ export declare const ButtonVariants: StoryFn<ButtonProps>;
6
+ export declare const DisabledButtons: StoryFn;
7
+ export declare const IconButtons: StoryFn<ButtonProps>;
8
+ export declare const LoadingButtons: StoryFn<ButtonProps>;
9
+ export declare const ButtonAsLink: StoryFn;
10
10
  interface ConfigurableButtonProps {
11
11
  borderWidth?: string;
12
12
  borderRadius?: number;
@@ -14,5 +14,5 @@ interface ConfigurableButtonProps {
14
14
  secondaryColor?: string;
15
15
  padding?: string;
16
16
  }
17
- export declare const ConfigurableButton: Story<ConfigurableButtonProps>;
17
+ export declare const ConfigurableButton: StoryFn<ConfigurableButtonProps>;
18
18
  //# sourceMappingURL=Button.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAEL,WAAW,EAKZ,MAAM,yBAAyB,CAAC;;AAKjC,wBAOU;AAEV,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,WAAW,CAM7C,CAAC;AAeF,eAAO,MAAM,eAAe,EAAE,KAoB7B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,WAAW,CAoB1C,CAAC;AAUF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,WAAW,CAM7C,CAAC;AAYF,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF,UAAU,uBAAuB;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,uBAAuB,CAoB7D,CAAC"}
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;;AAK3D,wBAOU;AAEV,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,WAA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AI,EAAE,MAAM,EAAE,EAAE;CACvC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport {\n Button,\n ButtonProps,\n Configuration,\n Flex,\n Icon,\n registerIcon\n} from '@pega/cosmos-react-core';\nimport * as plusIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/plus.icon';\n\nregisterIcon(plusIcon);\n\nexport default {\n title: 'Core/Button',\n component: Button,\n excludeStories: ['ConfigurableButton'],\n parameters: {\n layout: 'centered'\n }\n} as Meta;\n\nexport const ButtonVariants: Story<ButtonProps> = (args: ButtonProps) => {\n return (\n <Button variant={args.variant} compact={args.compact}>\n Click me\n </Button>\n );\n};\n\nButtonVariants.args = {\n variant: 'primary',\n compact: false\n};\n\nButtonVariants.argTypes = {\n variant: {\n options: ['primary', 'secondary', 'simple', 'link', 'text'],\n control: { type: 'select' }\n },\n compact: { control: { type: 'boolean' } }\n};\n\nexport const DisabledButtons: Story = () => {\n return (\n <>\n <Button variant='primary' disabled>\n Primary disabled\n </Button>\n <Button variant='secondary' disabled>\n Secondary disabled\n </Button>\n <Button variant='simple' disabled>\n Simple disabled\n </Button>\n <Button variant='link' disabled>\n Link disabled\n </Button>\n <Button variant='text' disabled>\n Text disabled\n </Button>\n </>\n );\n};\n\nexport const IconButtons: Story<ButtonProps> = (args: ButtonProps) => {\n return (\n <Flex container={{ alignItems: 'center' }}>\n <Button variant='primary' label='Icon button primary' icon compact={args.compact}>\n <Icon name='plus' />\n </Button>\n <Button variant='secondary' label='Icon button secondary' icon compact={args.compact}>\n <Icon name='plus' />\n </Button>\n <Button variant='simple' label='Icon button simple' icon compact={args.compact}>\n <Icon name='plus' />\n </Button>\n <Button variant='link' label='Icon button link' icon compact={args.compact}>\n <Icon name='plus' />\n </Button>\n <Button variant='text' label='Icon button text' icon compact={args.compact}>\n <Icon name='plus' />\n </Button>\n </Flex>\n );\n};\n\nIconButtons.args = {\n compact: false\n};\n\nIconButtons.argTypes = {\n compact: { control: { type: 'boolean' } }\n};\n\nexport const LoadingButtons: Story<ButtonProps> = (args: ButtonProps) => {\n return (\n <Button variant={args.variant} icon={args.icon} label='Loading' loading>\n {args.icon ? <Icon name='plus' /> : 'Loading'}\n </Button>\n );\n};\n\nLoadingButtons.args = {\n variant: 'primary',\n icon: false\n};\n\nLoadingButtons.argTypes = {\n variant: { options: ['primary', 'secondary'], control: { type: 'select' } },\n icon: { control: { type: 'boolean' } }\n};\n\nexport const ButtonAsLink: Story = () => {\n return (\n <Button variant='primary' href='https://www.pega.com' target='_blank'>\n Go to pega.com\n </Button>\n );\n};\n\ninterface ConfigurableButtonProps {\n borderWidth?: string;\n borderRadius?: number;\n color?: string;\n secondaryColor?: string;\n padding?: string;\n}\n\nexport const ConfigurableButton: Story<ConfigurableButtonProps> = (\n args: ConfigurableButtonProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n button: {\n 'border-width': args.borderWidth,\n 'border-radius': args.borderRadius,\n color: args.color,\n 'secondary-color': args.secondaryColor,\n padding: args.padding\n }\n }\n }}\n >\n <Button>Configurable Button</Button>\n </Configuration>\n );\n};\n\nConfigurableButton.args = {\n borderWidth: '0.0625rem',\n borderRadius: 9999,\n color: '#076bc9',\n secondaryColor: '#ffffff',\n padding: '0rem 1rem'\n};\n\nConfigurableButton.argTypes = {\n borderWidth: { control: { type: 'text' } },\n borderRadius: { control: { type: 'number' } },\n color: { control: { type: 'color' } },\n secondaryColor: { control: { type: 'color' } },\n padding: { control: { type: 'text' } }\n};\n"]}
1
+ {"version":3,"file":"Button.stories.js","sourceRoot":"","sources":["../../../src/core/Button/Button.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE1F,OAAO,KAAK,QAAQ,MAAM,6DAA6D,CAAC;AAExF,YAAY,CAAC,QAAQ,CAAC,CAAC;AAEvB,eAAe;IACb,KAAK,EAAE,aAAa;IACpB,SAAS,EA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ACzB,OAAO,EAAE,WAAW;CACrB,CAAC;AAEF,kBAAkB,CAAC,QAAQ,GAAG;IAC5B,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC1C,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC7C,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACrC,cAAc,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC9C,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CACvC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Button, Configuration, Flex, Icon, registerIcon } from '@pega/cosmos-react-core';\nimport type { ButtonProps } from '@pega/cosmos-react-core';\nimport * as plusIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/plus.icon';\n\nregisterIcon(plusIcon);\n\nexport default {\n title: 'Core/Button',\n component: Button,\n excludeStories: ['ConfigurableButton'],\n parameters: {\n layout: 'centered'\n }\n} as Meta;\n\nexport const ButtonVariants: StoryFn<ButtonProps> = (args: ButtonProps) => {\n return (\n <Button variant={args.variant} compact={args.compact}>\n Click me\n </Button>\n );\n};\n\nButtonVariants.args = {\n variant: 'primary',\n compact: false\n};\n\nButtonVariants.argTypes = {\n variant: {\n options: ['primary', 'secondary', 'simple', 'link', 'text'],\n control: { type: 'select' }\n },\n compact: { control: { type: 'boolean' } }\n};\n\nexport const DisabledButtons: StoryFn = () => {\n return (\n <>\n <Button variant='primary' disabled>\n Primary disabled\n </Button>\n <Button variant='secondary' disabled>\n Secondary disabled\n </Button>\n <Button variant='simple' disabled>\n Simple disabled\n </Button>\n <Button variant='link' disabled>\n Link disabled\n </Button>\n <Button variant='text' disabled>\n Text disabled\n </Button>\n </>\n );\n};\n\nexport const IconButtons: StoryFn<ButtonProps> = (args: ButtonProps) => {\n return (\n <Flex container={{ alignItems: 'center' }}>\n <Button variant='primary' label='Icon button primary' icon compact={args.compact}>\n <Icon name='plus' />\n </Button>\n <Button variant='secondary' label='Icon button secondary' icon compact={args.compact}>\n <Icon name='plus' />\n </Button>\n <Button variant='simple' label='Icon button simple' icon compact={args.compact}>\n <Icon name='plus' />\n </Button>\n <Button variant='link' label='Icon button link' icon compact={args.compact}>\n <Icon name='plus' />\n </Button>\n <Button variant='text' label='Icon button text' icon compact={args.compact}>\n <Icon name='plus' />\n </Button>\n </Flex>\n );\n};\n\nIconButtons.args = {\n compact: false\n};\n\nIconButtons.argTypes = {\n compact: { control: { type: 'boolean' } }\n};\n\nexport const LoadingButtons: StoryFn<ButtonProps> = (args: ButtonProps) => {\n return (\n <Button variant={args.variant} icon={args.icon} label='Loading' loading>\n {args.icon ? <Icon name='plus' /> : 'Loading'}\n </Button>\n );\n};\n\nLoadingButtons.args = {\n variant: 'primary',\n icon: false\n};\n\nLoadingButtons.argTypes = {\n variant: { options: ['primary', 'secondary'], control: { type: 'select' } },\n icon: { control: { type: 'boolean' } }\n};\n\nexport const ButtonAsLink: StoryFn = () => {\n return (\n <Button variant='primary' href='https://www.pega.com' target='_blank'>\n Go to pega.com\n </Button>\n );\n};\n\ninterface ConfigurableButtonProps {\n borderWidth?: string;\n borderRadius?: number;\n color?: string;\n secondaryColor?: string;\n padding?: string;\n}\n\nexport const ConfigurableButton: StoryFn<ConfigurableButtonProps> = (\n args: ConfigurableButtonProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n button: {\n 'border-width': args.borderWidth,\n 'border-radius': args.borderRadius,\n color: args.color,\n 'secondary-color': args.secondaryColor,\n padding: args.padding\n }\n }\n }}\n >\n <Button>Configurable Button</Button>\n </Configuration>\n );\n};\n\nConfigurableButton.args = {\n borderWidth: '0.0625rem',\n borderRadius: 9999,\n color: '#076bc9',\n secondaryColor: '#ffffff',\n padding: '0rem 1rem'\n};\n\nConfigurableButton.argTypes = {\n borderWidth: { control: { type: 'text' } },\n borderRadius: { control: { type: 'number' } },\n color: { control: { type: 'color' } },\n secondaryColor: { control: { type: 'color' } },\n padding: { control: { type: 'text' } }\n};\n"]}
@@ -1,12 +1,12 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { CardFooterProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { CardFooterProps } 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 SimpleCard: Story;
6
- export declare const FullCard: Story<CardFooterProps>;
5
+ export declare const SimpleCard: StoryFn;
6
+ export declare const FullCard: StoryFn<CardFooterProps>;
7
7
  interface ConfigurableCardProps {
8
8
  borderRadius?: string;
9
9
  background?: string;
10
10
  }
11
- export declare const ConfigurableCard: Story<ConfigurableCardProps>;
11
+ export declare const ConfigurableCard: StoryFn<ConfigurableCardProps>;
12
12
  //# sourceMappingURL=Card.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Card/Card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAML,eAAe,EAKhB,MAAM,yBAAyB,CAAC;;AAIjC,wBAOU;AAEV,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,eAAe,CAwC3C,CAAC;AAaF,UAAU,qBAAqB;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,qBAAqB,CAwBzD,CAAC"}
1
+ {"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Card/Card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAatD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;;AAI/D,wBAOU;AAEV,eAAO,MAAM,UAAU,EAAE,OAaxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,OAAO,CAAC,eAAe,CAwC7C,CAAC;AAaF,UAAU,qBAAqB;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,qBAAqB,CAwB3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Card.stories.js","sourceRoot":"","sources":["../../../src/core/Card/Card.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,IAAI,EACJ,UAAU,EACV,SAAS,EACT,WAAW,EACX,UAAU,EAEV,KAAK,EACL,UAAU,EACV,IAAI,EACJ,aAAa,EACd,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAe;IACb,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,CAAC,kBAAkB,CAAC;IACpC,UAAU,EAAE;QACV,MAAM,EAAE,UAAU;KACnB;CACM,CAAC;AAEV,MAAM,CAAC,MAAM,UAAU,GAAU,GAAG,EAAE;IACpC,OAAO,CACL,MAAC,IAAI,IAAC,EAAE,EAAE,UAAU,aAClB,KAAC,UAAU,cACT,KAAC,IAAI,IAAC,OAAO,EAAC,IAAI,4BAAmB,GAC1B,EACb,KAAC,WAAW,0PAIE,IACT,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA2B,CAAC,IAAqB,EAAE,EAAE;IACxE,OAAO,CACL,MAAC,IAAI,IAAC,EAAE,EAAE,UAAU,aAClB,KA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5B;aACF;SACF,YAED,MAAC,IAAI,IAAC,EAAE,EAAE,UAAU,aAClB,KAAC,UAAU,cACT,KAAC,IAAI,IAAC,OAAO,EAAC,IAAI,4BAAmB,GAC1B,EACb,KAAC,WAAW,0PAIE,IACT,GACO,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,gBAAgB,CAAC,IAAI,GAAG;IACtB,YAAY,EAAE,QAAQ;IACtB,UAAU,EAAE,SAAS;CACtB,CAAC;AAEF,gBAAgB,CAAC,QAAQ,GAAG;IAC1B,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC3C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;CAC3C,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport {\n Card,\n CardHeader,\n CardMedia,\n CardContent,\n CardFooter,\n CardFooterProps,\n Image,\n MenuButton,\n Text,\n Configuration\n} from '@pega/cosmos-react-core';\n\nimport { StyledCard } from './Card.styles';\n\nexport default {\n title: 'Core/Card',\n component: Card,\n excludeStories: ['ConfigurableCard'],\n parameters: {\n layout: 'centered'\n }\n} as Meta;\n\nexport const SimpleCard: Story = () => {\n return (\n <Card as={StyledCard}>\n <CardHeader>\n <Text variant='h2'>Simple Card</Text>\n </CardHeader>\n <CardContent>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut\n labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco\n laboris nisi ut aliquip ex ea commodo consequat.\n </CardContent>\n </Card>\n );\n};\n\nexport const FullCard: Story<CardFooterProps> = (args: CardFooterProps) => {\n return (\n <Card as={StyledCard}>\n <CardMedia>\n <Image\n src='https://www.pega.com/sites/default/files/default-og.jpg'\n height='100'\n alt='Media'\n />\n </CardMedia>\n <CardHeader\n actions={\n <MenuButton\n portal\n variant='simple'\n text='Card actions'\n icon='more'\n iconOnly\n menu={{\n items: [\n { id: 'action-1', primary: 'Card action 1' },\n { id: 'action-2', primary: 'Card action 2' },\n { id: 'action-3', primary: 'Card action 3' }\n ]\n }}\n />\n }\n >\n <Text variant='h2'>Full Card</Text>\n </CardHeader>\n <CardContent>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut\n labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco\n laboris nisi ut aliquip ex ea commodo consequat.\n </CardContent>\n <CardFooter justify={args.justify}>\n <Text variant='secondary'>This is the CardFooter</Text>\n </CardFooter>\n </Card>\n );\n};\n\nFullCard.args = {\n justify: 'start'\n};\n\nFullCard.argTypes = {\n justify: {\n options: ['start', 'end', 'center', 'between', 'around', 'evenly'],\n control: { type: 'select' }\n }\n};\n\ninterface ConfigurableCardProps {\n borderRadius?: string;\n background?: string;\n}\n\nexport const ConfigurableCard: Story<ConfigurableCardProps> = (args: ConfigurableCardProps) => {\n return (\n <Configuration\n theme={{\n components: {\n card: {\n 'border-radius': args.borderRadius,\n background: args.background\n }\n }\n }}\n >\n <Card as={StyledCard}>\n <CardHeader>\n <Text variant='h2'>Simple Card</Text>\n </CardHeader>\n <CardContent>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt\n ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation\n ullamco laboris nisi ut aliquip ex ea commodo consequat.\n </CardContent>\n </Card>\n </Configuration>\n );\n};\n\nConfigurableCard.args = {\n borderRadius: '0.5rem',\n background: '#71baff'\n};\n\nConfigurableCard.argTypes = {\n borderRadius: { control: { type: 'text' } },\n background: { control: { type: 'color' } }\n};\n"]}
1
+ {"version":3,"file":"Card.stories.js","sourceRoot":"","sources":["../../../src/core/Card/Card.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,IAAI,EACJ,UAAU,EACV,SAAS,EACT,WAAW,EACX,UAAU,EACV,KAAK,EACL,UAAU,EACV,IAAI,EACJ,aAAa,EAC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AI,IAAC,OAAO,EAAC,WAAW,uCAA8B,GAC5C,IACR,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,QAAQ,CAAC,IAAI,GAAG;IACd,OAAO,EAAE,OAAO;CACjB,CAAC;AAEF,QAAQ,CAAC,QAAQ,GAAG;IAClB,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAC;QAClE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;CACF,CAAC;AAOF,MAAM,CAAC,MAAM,gBAAgB,GAAmC,CAAC,IAA2B,EAAE,EAAE;IAC9F,OAAO,CACL,KAAC,aAAa,IACZ,KAAK,EAAE;YACL,UAAU,EAAE;gBACV,IAAI,EAAE;oBACJ,eAAe,EAAE,IAAI,CAAC,YAAY;oBAClC,UAAU,EAAE,IAAI,CAAC,UAAU;iBAC5B;aACF;SACF,YAED,MAAC,IAAI,IAAC,EAAE,EAAE,UAAU,aAClB,KAAC,UAAU,cACT,KAAC,IAAI,IAAC,OAAO,EAAC,IAAI,4BAAmB,GAC1B,EACb,KAAC,WAAW,0PAIE,IACT,GACO,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,gBAAgB,CAAC,IAAI,GAAG;IACtB,YAAY,EAAE,QAAQ;IACtB,UAAU,EAAE,SAAS;CACtB,CAAC;AAEF,gBAAgB,CAAC,QAAQ,GAAG;IAC1B,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC3C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;CAC3C,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport {\n Card,\n CardHeader,\n CardMedia,\n CardContent,\n CardFooter,\n Image,\n MenuButton,\n Text,\n Configuration\n} from '@pega/cosmos-react-core';\nimport type { CardFooterProps } from '@pega/cosmos-react-core';\n\nimport { StyledCard } from './Card.styles';\n\nexport default {\n title: 'Core/Card',\n component: Card,\n excludeStories: ['ConfigurableCard'],\n parameters: {\n layout: 'centered'\n }\n} as Meta;\n\nexport const SimpleCard: StoryFn = () => {\n return (\n <Card as={StyledCard}>\n <CardHeader>\n <Text variant='h2'>Simple Card</Text>\n </CardHeader>\n <CardContent>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut\n labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco\n laboris nisi ut aliquip ex ea commodo consequat.\n </CardContent>\n </Card>\n );\n};\n\nexport const FullCard: StoryFn<CardFooterProps> = (args: CardFooterProps) => {\n return (\n <Card as={StyledCard}>\n <CardMedia>\n <Image\n src='https://www.pega.com/sites/default/files/default-og.jpg'\n height='100'\n alt='Media'\n />\n </CardMedia>\n <CardHeader\n actions={\n <MenuButton\n portal\n variant='simple'\n text='Card actions'\n icon='more'\n iconOnly\n menu={{\n items: [\n { id: 'action-1', primary: 'Card action 1' },\n { id: 'action-2', primary: 'Card action 2' },\n { id: 'action-3', primary: 'Card action 3' }\n ]\n }}\n />\n }\n >\n <Text variant='h2'>Full Card</Text>\n </CardHeader>\n <CardContent>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut\n labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco\n laboris nisi ut aliquip ex ea commodo consequat.\n </CardContent>\n <CardFooter justify={args.justify}>\n <Text variant='secondary'>This is the CardFooter</Text>\n </CardFooter>\n </Card>\n );\n};\n\nFullCard.args = {\n justify: 'start'\n};\n\nFullCard.argTypes = {\n justify: {\n options: ['start', 'end', 'center', 'between', 'around', 'evenly'],\n control: { type: 'select' }\n }\n};\n\ninterface ConfigurableCardProps {\n borderRadius?: string;\n background?: string;\n}\n\nexport const ConfigurableCard: StoryFn<ConfigurableCardProps> = (args: ConfigurableCardProps) => {\n return (\n <Configuration\n theme={{\n components: {\n card: {\n 'border-radius': args.borderRadius,\n background: args.background\n }\n }\n }}\n >\n <Card as={StyledCard}>\n <CardHeader>\n <Text variant='h2'>Simple Card</Text>\n </CardHeader>\n <CardContent>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt\n ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation\n ullamco laboris nisi ut aliquip ex ea commodo consequat.\n </CardContent>\n </Card>\n </Configuration>\n );\n};\n\nConfigurableCard.args = {\n borderRadius: '0.5rem',\n background: '#71baff'\n};\n\nConfigurableCard.argTypes = {\n borderRadius: { control: { type: 'text' } },\n background: { control: { type: 'color' } }\n};\n"]}
@@ -1,12 +1,12 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { RadioCheckProps } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { RadioCheckProps } 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 CheckboxStoryProps extends RadioCheckProps {
6
6
  showAdditionalInfo: boolean;
7
7
  }
8
- export declare const DefaultCheckbox: Story<CheckboxStoryProps>;
9
- export declare const CheckboxCard: Story<CheckboxStoryProps>;
8
+ export declare const DefaultCheckbox: StoryFn<CheckboxStoryProps>;
9
+ export declare const CheckboxCard: StoryFn<CheckboxStoryProps>;
10
10
  interface ConfigurableCheckboxProps extends RadioCheckProps {
11
11
  size?: string;
12
12
  backgroundColor?: string;
@@ -19,5 +19,5 @@ interface ConfigurableCheckboxProps extends RadioCheckProps {
19
19
  checkedBorderColor?: string;
20
20
  showAdditionalInfo?: boolean;
21
21
  }
22
- export declare const ConfigurableCheckbox: Story<ConfigurableCheckboxProps>;
22
+ export declare const ConfigurableCheckbox: StoryFn<ConfigurableCheckboxProps>;
23
23
  //# sourceMappingURL=Checkbox.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAA2B,eAAe,EAAE,MAAM,yBAAyB,CAAC;;AAEnF,wBAwBU;AAEV,UAAU,kBAAmB,SAAQ,eAAe;IAClD,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,kBAAkB,CAoBrD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,kBAAkB,CAoBlD,CAAC;AAEF,UAAU,yBAA0B,SAAQ,eAAe;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,yBAAyB,CAwCjE,CAAC"}
1
+ {"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;;AAE/D,wBAwBU;AAEV,UAAU,kBAAmB,SAAQ,eAAe;IAClD,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,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AQ,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACtC,aAAa,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IAC3C,kBAAkB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CACrD,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { Checkbox, Configuration, RadioCheckProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Checkbox',\n component: Checkbox,\n excludeStories: ['ConfigurableCheckbox'],\n args: {\n status: undefined,\n info: 'You must check this',\n label: 'Check me, please',\n required: false,\n disabled: false,\n readOnly: false,\n indeterminate: false,\n showAdditionalInfo: true\n },\n argTypes: {\n status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } },\n info: { control: { type: 'text' } },\n label: { control: { type: 'text' } },\n required: { control: { type: 'boolean' } },\n disabled: { control: { type: 'boolean' } },\n readOnly: { control: { type: 'boolean' } },\n indeterminate: { control: { type: 'boolean' } },\n showAdditionalInfo: { control: { type: 'boolean' } }\n }\n} as Meta;\n\ninterface CheckboxStoryProps extends RadioCheckProps {\n showAdditionalInfo: boolean;\n}\n\nexport const DefaultCheckbox: Story<CheckboxStoryProps> = (args: CheckboxStoryProps) => {\n return (\n <Checkbox\n additionalInfo={\n args.showAdditionalInfo\n ? {\n heading: 'Additional Info',\n content: 'Some additional info'\n }\n : undefined\n }\n info={args.info}\n status={args.status}\n label={args.label}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n indeterminate={args.indeterminate}\n />\n );\n};\n\nexport const CheckboxCard: Story<CheckboxStoryProps> = (args: CheckboxStoryProps) => {\n return (\n <Checkbox\n additionalInfo={\n args.showAdditionalInfo\n ? {\n heading: 'Additional Info',\n content: 'Some additional info'\n }\n : undefined\n }\n variant='card'\n status={args.status}\n label={args.label}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n indeterminate={args.indeterminate}\n />\n );\n};\n\ninterface ConfigurableCheckboxProps extends RadioCheckProps {\n size?: string;\n backgroundColor?: string;\n borderColor?: string;\n borderWidth?: string;\n borderRadius?: string;\n labelColor?: string;\n labelFontWeight?: string;\n checkedBackgroundColor?: string;\n checkedBorderColor?: string;\n showAdditionalInfo?: boolean;\n}\n\nexport const ConfigurableCheckbox: Story<ConfigurableCheckboxProps> = (\n args: ConfigurableCheckboxProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n checkbox: {\n 'border-radius': args.borderRadius\n },\n 'radio-check': {\n 'border-color': args.borderColor,\n 'border-width': args.borderWidth,\n 'background-color': args.backgroundColor,\n label: {\n color: args.labelColor,\n 'font-weight': args.labelFontWeight\n },\n size: args.size,\n ':checked': {\n 'background-color': args.checkedBackgroundColor,\n 'border-color': args.checkedBorderColor\n }\n }\n }\n }}\n >\n <Checkbox\n additionalInfo={\n args.showAdditionalInfo\n ? {\n heading: 'Additional Info',\n content: 'Some additional info'\n }\n : undefined\n }\n label='Configurable Checkbox'\n />\n </Configuration>\n );\n};\n\nConfigurableCheckbox.args = {\n size: '1.25rem',\n backgroundColor: '#ffffff',\n borderColor: '#939393',\n borderWidth: '0.0625rem',\n borderRadius: '0.5',\n labelColor: '#939393',\n labelFontWeight: '400',\n checkedBackgroundColor: '#076bc9',\n checkedBorderColor: '#076bc9',\n showAdditionalInfo: true\n};\n\nConfigurableCheckbox.argTypes = {\n size: { control: { type: 'text' } },\n backgroundColor: { control: { type: 'color' } },\n borderColor: { control: { type: 'color' } },\n borderWidth: { control: { type: 'text' } },\n borderRadius: { control: { type: 'text' } },\n labelColor: { control: { type: 'color' } },\n labelFontWeight: { control: { type: 'text' } },\n checkedBackgroundColor: { control: { type: 'color' } },\n checkedBorderColor: { control: { type: 'color' } },\n status: { table: { disable: true } },\n label: { table: { disable: true } },\n required: { table: { disable: true } },\n disabled: { table: { disable: true } },\n readOnly: { table: { disable: true } },\n indeterminate: { table: { disable: true } },\n showAdditionalInfo: { control: { type: 'boolean' } }\n};\n"]}
1
+ {"version":3,"file":"Checkbox.stories.js","sourceRoot":"","sources":["../../../src/core/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAGlE,eAAe;IACb,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,QAAQ;IACnB,cAAc,EAAE,CAAC,sBAAsB,CAAC;IACxC,IAAI,EAAE;QACJ,MAAM,EAAE,SAAS;QACjB,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE,kBAAkB;QACzB,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;QACf,aAAa,EAAE,KAAK;QACpB,kBAAkB,EAAE,IAAI;KACzB;IACD,QAAQ,EAAE;QACR,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;QAC5F,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QACnC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QACpC,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;QAC1C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;QAC1C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;QAC1C,aAAa,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;QAC/C,kBAAkB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;KACrD;CACM,CAAC;AAMV,MAAM,CAA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AAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC3C,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC1C,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC9C,sBAAsB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACtD,kBAAkB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAClD,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACpC,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACnC,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACtC,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACtC,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACtC,aAAa,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IAC3C,kBAAkB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CACrD,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { Checkbox, Configuration } from '@pega/cosmos-react-core';\nimport type { RadioCheckProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/Checkbox',\n component: Checkbox,\n excludeStories: ['ConfigurableCheckbox'],\n args: {\n status: undefined,\n info: 'You must check this',\n label: 'Check me, please',\n required: false,\n disabled: false,\n readOnly: false,\n indeterminate: false,\n showAdditionalInfo: true\n },\n argTypes: {\n status: { options: [undefined, 'success', 'warning', 'error'], control: { type: 'select' } },\n info: { control: { type: 'text' } },\n label: { control: { type: 'text' } },\n required: { control: { type: 'boolean' } },\n disabled: { control: { type: 'boolean' } },\n readOnly: { control: { type: 'boolean' } },\n indeterminate: { control: { type: 'boolean' } },\n showAdditionalInfo: { control: { type: 'boolean' } }\n }\n} as Meta;\n\ninterface CheckboxStoryProps extends RadioCheckProps {\n showAdditionalInfo: boolean;\n}\n\nexport const DefaultCheckbox: StoryFn<CheckboxStoryProps> = (args: CheckboxStoryProps) => {\n return (\n <Checkbox\n additionalInfo={\n args.showAdditionalInfo\n ? {\n heading: 'Additional Info',\n content: 'Some additional info'\n }\n : undefined\n }\n info={args.info}\n status={args.status}\n label={args.label}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n indeterminate={args.indeterminate}\n />\n );\n};\n\nexport const CheckboxCard: StoryFn<CheckboxStoryProps> = (args: CheckboxStoryProps) => {\n return (\n <Checkbox\n additionalInfo={\n args.showAdditionalInfo\n ? {\n heading: 'Additional Info',\n content: 'Some additional info'\n }\n : undefined\n }\n variant='card'\n status={args.status}\n label={args.label}\n required={args.required}\n disabled={args.disabled}\n readOnly={args.readOnly}\n indeterminate={args.indeterminate}\n />\n );\n};\n\ninterface ConfigurableCheckboxProps extends RadioCheckProps {\n size?: string;\n backgroundColor?: string;\n borderColor?: string;\n borderWidth?: string;\n borderRadius?: string;\n labelColor?: string;\n labelFontWeight?: string;\n checkedBackgroundColor?: string;\n checkedBorderColor?: string;\n showAdditionalInfo?: boolean;\n}\n\nexport const ConfigurableCheckbox: StoryFn<ConfigurableCheckboxProps> = (\n args: ConfigurableCheckboxProps\n) => {\n return (\n <Configuration\n theme={{\n components: {\n checkbox: {\n 'border-radius': args.borderRadius\n },\n 'radio-check': {\n 'border-color': args.borderColor,\n 'border-width': args.borderWidth,\n 'background-color': args.backgroundColor,\n label: {\n color: args.labelColor,\n 'font-weight': args.labelFontWeight\n },\n size: args.size,\n ':checked': {\n 'background-color': args.checkedBackgroundColor,\n 'border-color': args.checkedBorderColor\n }\n }\n }\n }}\n >\n <Checkbox\n additionalInfo={\n args.showAdditionalInfo\n ? {\n heading: 'Additional Info',\n content: 'Some additional info'\n }\n : undefined\n }\n label='Configurable Checkbox'\n />\n </Configuration>\n );\n};\n\nConfigurableCheckbox.args = {\n size: '1.25rem',\n backgroundColor: '#ffffff',\n borderColor: '#939393',\n borderWidth: '0.0625rem',\n borderRadius: '0.5',\n labelColor: '#939393',\n labelFontWeight: '400',\n checkedBackgroundColor: '#076bc9',\n checkedBorderColor: '#076bc9',\n showAdditionalInfo: true\n};\n\nConfigurableCheckbox.argTypes = {\n size: { control: { type: 'text' } },\n backgroundColor: { control: { type: 'color' } },\n borderColor: { control: { type: 'color' } },\n borderWidth: { control: { type: 'text' } },\n borderRadius: { control: { type: 'text' } },\n labelColor: { control: { type: 'color' } },\n labelFontWeight: { control: { type: 'text' } },\n checkedBackgroundColor: { control: { type: 'color' } },\n checkedBorderColor: { control: { type: 'color' } },\n status: { table: { disable: true } },\n label: { table: { disable: true } },\n required: { table: { disable: true } },\n disabled: { table: { disable: true } },\n readOnly: { table: { disable: true } },\n indeterminate: { table: { disable: true } },\n showAdditionalInfo: { control: { type: 'boolean' } }\n};\n"]}
@@ -1,11 +1,11 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { RadioCheckGroupProps, OmitStrict } from '@pega/cosmos-react-core';
3
- declare const _default: Meta;
1
+ import type { StoryFn } from '@storybook/react';
2
+ import type { RadioCheckGroupProps, 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 RadioCheckGroupStoryProps extends RadioCheckGroupProps {
6
6
  showAdditionalInfo?: boolean;
7
7
  showNestedAdditionalInfo?: boolean;
8
8
  }
9
- export declare const CheckboxGroupDemo: Story<OmitStrict<RadioCheckGroupStoryProps, 'children'>>;
10
- export declare const CheckboxCardGroup: Story<OmitStrict<RadioCheckGroupStoryProps, 'children'>>;
9
+ export declare const CheckboxGroupDemo: StoryFn<OmitStrict<RadioCheckGroupStoryProps, 'children'>>;
10
+ export declare const CheckboxCardGroup: StoryFn<OmitStrict<RadioCheckGroupStoryProps, 'children'>>;
11
11
  //# sourceMappingURL=CheckboxGroup.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/core/CheckboxGroup/CheckboxGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAML,oBAAoB,EAEpB,UAAU,EACX,MAAM,yBAAyB,CAAC;;AAIjC,wBAwBU;AAEV,UAAU,yBAA0B,SAAQ,oBAAoB;IAC9D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,UAAU,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAmFtF,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,UAAU,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAuFtF,CAAC"}
1
+ {"version":3,"file":"CheckboxGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/core/CheckboxGroup/CheckboxGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAUtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAIhF,wBAwBU;AAEV,UAAU,yBAA0B,SAAQ,oBAAoB;IAC9D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAmFxF,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAuFxF,CAAC"}