@pega/cosmos-react-work 5.0.0-dev.4.9 → 5.0.0-dev.5.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 (333) hide show
  1. package/lib/components/AppAnnouncement/AppAnnouncement.d.ts +23 -0
  2. package/lib/components/AppAnnouncement/AppAnnouncement.d.ts.map +1 -0
  3. package/lib/components/AppAnnouncement/AppAnnouncement.js +93 -0
  4. package/lib/components/AppAnnouncement/AppAnnouncement.js.map +1 -0
  5. package/lib/components/AppAnnouncement/index.d.ts +3 -0
  6. package/lib/components/AppAnnouncement/index.d.ts.map +1 -0
  7. package/lib/components/AppAnnouncement/index.js +2 -0
  8. package/lib/components/AppAnnouncement/index.js.map +1 -0
  9. package/lib/components/Article/Article.d.ts +60 -0
  10. package/lib/components/Article/Article.d.ts.map +1 -0
  11. package/lib/components/Article/Article.js +87 -0
  12. package/lib/components/Article/Article.js.map +1 -0
  13. package/lib/components/Article/ArticleFooter.d.ts +38 -0
  14. package/lib/components/Article/ArticleFooter.d.ts.map +1 -0
  15. package/lib/components/Article/ArticleFooter.js +58 -0
  16. package/lib/components/Article/ArticleFooter.js.map +1 -0
  17. package/lib/components/Article/ArticleMeta.d.ts +13 -0
  18. package/lib/components/Article/ArticleMeta.d.ts.map +1 -0
  19. package/lib/components/Article/ArticleMeta.js +27 -0
  20. package/lib/components/Article/ArticleMeta.js.map +1 -0
  21. package/lib/components/Article/ArticleRating.d.ts +13 -0
  22. package/lib/components/Article/ArticleRating.d.ts.map +1 -0
  23. package/lib/components/Article/ArticleRating.js +43 -0
  24. package/lib/components/Article/ArticleRating.js.map +1 -0
  25. package/lib/components/Article/index.d.ts +7 -0
  26. package/lib/components/Article/index.d.ts.map +1 -0
  27. package/lib/components/Article/index.js +4 -0
  28. package/lib/components/Article/index.js.map +1 -0
  29. package/lib/components/ArticleList/ArticleList.d.ts +6 -0
  30. package/lib/components/ArticleList/ArticleList.d.ts.map +1 -0
  31. package/lib/components/ArticleList/ArticleList.js +132 -0
  32. package/lib/components/ArticleList/ArticleList.js.map +1 -0
  33. package/lib/components/ArticleList/ArticleList.types.d.ts +92 -0
  34. package/lib/components/ArticleList/ArticleList.types.d.ts.map +1 -0
  35. package/lib/components/ArticleList/ArticleList.types.js +2 -0
  36. package/lib/components/ArticleList/ArticleList.types.js.map +1 -0
  37. package/lib/components/ArticleList/ArticleListFilter.d.ts +6 -0
  38. package/lib/components/ArticleList/ArticleListFilter.d.ts.map +1 -0
  39. package/lib/components/ArticleList/ArticleListFilter.js +67 -0
  40. package/lib/components/ArticleList/ArticleListFilter.js.map +1 -0
  41. package/lib/components/ArticleList/ArticleListHeader.d.ts +5 -0
  42. package/lib/components/ArticleList/ArticleListHeader.d.ts.map +1 -0
  43. package/lib/components/ArticleList/ArticleListHeader.js +20 -0
  44. package/lib/components/ArticleList/ArticleListHeader.js.map +1 -0
  45. package/lib/components/ArticleList/ArticleSummary.d.ts +7 -0
  46. package/lib/components/ArticleList/ArticleSummary.d.ts.map +1 -0
  47. package/lib/components/ArticleList/ArticleSummary.js +63 -0
  48. package/lib/components/ArticleList/ArticleSummary.js.map +1 -0
  49. package/lib/components/ArticleList/index.d.ts +6 -0
  50. package/lib/components/ArticleList/index.d.ts.map +1 -0
  51. package/lib/components/ArticleList/index.js +4 -0
  52. package/lib/components/ArticleList/index.js.map +1 -0
  53. package/lib/components/Assignments/Assignments.d.ts +21 -0
  54. package/lib/components/Assignments/Assignments.d.ts.map +1 -0
  55. package/lib/components/Assignments/Assignments.js +20 -0
  56. package/lib/components/Assignments/Assignments.js.map +1 -0
  57. package/lib/components/Assignments/Assignments.styles.d.ts +8 -0
  58. package/lib/components/Assignments/Assignments.styles.d.ts.map +1 -0
  59. package/lib/components/Assignments/Assignments.styles.js +41 -0
  60. package/lib/components/Assignments/Assignments.styles.js.map +1 -0
  61. package/lib/components/Assignments/index.d.ts +2 -0
  62. package/lib/components/Assignments/index.d.ts.map +1 -0
  63. package/lib/components/Assignments/index.js +2 -0
  64. package/lib/components/Assignments/index.js.map +1 -0
  65. package/lib/components/CasePreview/CasePreview.d.ts +27 -0
  66. package/lib/components/CasePreview/CasePreview.d.ts.map +1 -0
  67. package/lib/components/CasePreview/CasePreview.js +82 -0
  68. package/lib/components/CasePreview/CasePreview.js.map +1 -0
  69. package/lib/components/CasePreview/CasePreview.test-ids.d.ts +2 -0
  70. package/lib/components/CasePreview/CasePreview.test-ids.d.ts.map +1 -0
  71. package/lib/components/CasePreview/CasePreview.test-ids.js +3 -0
  72. package/lib/components/CasePreview/CasePreview.test-ids.js.map +1 -0
  73. package/lib/components/CasePreview/index.d.ts +3 -0
  74. package/lib/components/CasePreview/index.d.ts.map +1 -0
  75. package/lib/components/CasePreview/index.js +2 -0
  76. package/lib/components/CasePreview/index.js.map +1 -0
  77. package/lib/components/CaseView/CaseHeader/CaseHeader.d.ts +4 -0
  78. package/lib/components/CaseView/CaseHeader/CaseHeader.d.ts.map +1 -0
  79. package/lib/components/CaseView/CaseHeader/CaseHeader.js +127 -0
  80. package/lib/components/CaseView/CaseHeader/CaseHeader.js.map +1 -0
  81. package/lib/components/CaseView/CaseHeader/Summary.d.ts +6 -0
  82. package/lib/components/CaseView/CaseHeader/Summary.d.ts.map +1 -0
  83. package/lib/components/CaseView/CaseHeader/Summary.js +182 -0
  84. package/lib/components/CaseView/CaseHeader/Summary.js.map +1 -0
  85. package/lib/components/CaseView/CaseSummary.d.ts +4 -0
  86. package/lib/components/CaseView/CaseSummary.d.ts.map +1 -0
  87. package/lib/components/CaseView/CaseSummary.js +18 -0
  88. package/lib/components/CaseView/CaseSummary.js.map +1 -0
  89. package/lib/components/CaseView/CaseSummaryFields.d.ts +6 -0
  90. package/lib/components/CaseView/CaseSummaryFields.d.ts.map +1 -0
  91. package/lib/components/CaseView/CaseSummaryFields.js +18 -0
  92. package/lib/components/CaseView/CaseSummaryFields.js.map +1 -0
  93. package/lib/components/CaseView/CaseView.context.d.ts +5 -0
  94. package/lib/components/CaseView/CaseView.context.d.ts.map +1 -0
  95. package/lib/components/CaseView/CaseView.context.js +5 -0
  96. package/lib/components/CaseView/CaseView.context.js.map +1 -0
  97. package/lib/components/CaseView/CaseView.d.ts +8 -0
  98. package/lib/components/CaseView/CaseView.d.ts.map +1 -0
  99. package/lib/components/CaseView/CaseView.js +421 -0
  100. package/lib/components/CaseView/CaseView.js.map +1 -0
  101. package/lib/components/CaseView/CaseView.styles.d.ts +45 -0
  102. package/lib/components/CaseView/CaseView.styles.d.ts.map +1 -0
  103. package/lib/components/CaseView/CaseView.styles.js +559 -0
  104. package/lib/components/CaseView/CaseView.styles.js.map +1 -0
  105. package/lib/components/CaseView/CaseView.test-ids.d.ts +2 -0
  106. package/lib/components/CaseView/CaseView.test-ids.d.ts.map +1 -0
  107. package/lib/components/CaseView/CaseView.test-ids.js +18 -0
  108. package/lib/components/CaseView/CaseView.test-ids.js.map +1 -0
  109. package/lib/components/CaseView/CaseView.types.d.ts +98 -0
  110. package/lib/components/CaseView/CaseView.types.d.ts.map +1 -0
  111. package/lib/components/CaseView/CaseView.types.js +2 -0
  112. package/lib/components/CaseView/CaseView.types.js.map +1 -0
  113. package/lib/components/CaseView/UtilitiesSummary.d.ts +9 -0
  114. package/lib/components/CaseView/UtilitiesSummary.d.ts.map +1 -0
  115. package/lib/components/CaseView/UtilitiesSummary.js +53 -0
  116. package/lib/components/CaseView/UtilitiesSummary.js.map +1 -0
  117. package/lib/components/CaseView/UtilitySummaryItemDialog.d.ts +9 -0
  118. package/lib/components/CaseView/UtilitySummaryItemDialog.d.ts.map +1 -0
  119. package/lib/components/CaseView/UtilitySummaryItemDialog.js +29 -0
  120. package/lib/components/CaseView/UtilitySummaryItemDialog.js.map +1 -0
  121. package/lib/components/CaseView/index.d.ts +5 -0
  122. package/lib/components/CaseView/index.d.ts.map +1 -0
  123. package/lib/components/CaseView/index.js +4 -0
  124. package/lib/components/CaseView/index.js.map +1 -0
  125. package/lib/components/ConfigurableLayout/ConfigurableLayout.d.ts +4 -0
  126. package/lib/components/ConfigurableLayout/ConfigurableLayout.d.ts.map +1 -0
  127. package/lib/components/ConfigurableLayout/ConfigurableLayout.js +86 -0
  128. package/lib/components/ConfigurableLayout/ConfigurableLayout.js.map +1 -0
  129. package/lib/components/ConfigurableLayout/ConfigurableLayout.types.d.ts +41 -0
  130. package/lib/components/ConfigurableLayout/ConfigurableLayout.types.d.ts.map +1 -0
  131. package/lib/components/ConfigurableLayout/ConfigurableLayout.types.js +2 -0
  132. package/lib/components/ConfigurableLayout/ConfigurableLayout.types.js.map +1 -0
  133. package/lib/components/ConfigurableLayout/LayoutCell.d.ts +6 -0
  134. package/lib/components/ConfigurableLayout/LayoutCell.d.ts.map +1 -0
  135. package/lib/components/ConfigurableLayout/LayoutCell.js +64 -0
  136. package/lib/components/ConfigurableLayout/LayoutCell.js.map +1 -0
  137. package/lib/components/ConfigurableLayout/defaults.d.ts +4 -0
  138. package/lib/components/ConfigurableLayout/defaults.d.ts.map +1 -0
  139. package/lib/components/ConfigurableLayout/defaults.js +4 -0
  140. package/lib/components/ConfigurableLayout/defaults.js.map +1 -0
  141. package/lib/components/ConfigurableLayout/index.d.ts +4 -0
  142. package/lib/components/ConfigurableLayout/index.d.ts.map +1 -0
  143. package/lib/components/ConfigurableLayout/index.js +3 -0
  144. package/lib/components/ConfigurableLayout/index.js.map +1 -0
  145. package/lib/components/ConfigurableLayout/options.d.ts +10 -0
  146. package/lib/components/ConfigurableLayout/options.d.ts.map +1 -0
  147. package/lib/components/ConfigurableLayout/options.js +10 -0
  148. package/lib/components/ConfigurableLayout/options.js.map +1 -0
  149. package/lib/components/ConfigurableLayout/useTrackWrappedRegions.d.ts +7 -0
  150. package/lib/components/ConfigurableLayout/useTrackWrappedRegions.d.ts.map +1 -0
  151. package/lib/components/ConfigurableLayout/useTrackWrappedRegions.js +37 -0
  152. package/lib/components/ConfigurableLayout/useTrackWrappedRegions.js.map +1 -0
  153. package/lib/components/Confirmation/Confirmation.d.ts +19 -0
  154. package/lib/components/Confirmation/Confirmation.d.ts.map +1 -0
  155. package/lib/components/Confirmation/Confirmation.js +29 -0
  156. package/lib/components/Confirmation/Confirmation.js.map +1 -0
  157. package/lib/components/Confirmation/index.d.ts +3 -0
  158. package/lib/components/Confirmation/index.d.ts.map +1 -0
  159. package/lib/components/Confirmation/index.js +2 -0
  160. package/lib/components/Confirmation/index.js.map +1 -0
  161. package/lib/components/Details/Details.d.ts +43 -0
  162. package/lib/components/Details/Details.d.ts.map +1 -0
  163. package/lib/components/Details/Details.js +95 -0
  164. package/lib/components/Details/Details.js.map +1 -0
  165. package/lib/components/Details/Details.styles.d.ts +50 -0
  166. package/lib/components/Details/Details.styles.d.ts.map +1 -0
  167. package/lib/components/Details/Details.styles.js +204 -0
  168. package/lib/components/Details/Details.styles.js.map +1 -0
  169. package/lib/components/Details/Details.test-ids.d.ts +2 -0
  170. package/lib/components/Details/Details.test-ids.d.ts.map +1 -0
  171. package/lib/components/Details/Details.test-ids.js +9 -0
  172. package/lib/components/Details/Details.test-ids.js.map +1 -0
  173. package/lib/components/Details/DetailsContext.d.ts +9 -0
  174. package/lib/components/Details/DetailsContext.d.ts.map +1 -0
  175. package/lib/components/Details/DetailsContext.js +9 -0
  176. package/lib/components/Details/DetailsContext.js.map +1 -0
  177. package/lib/components/Details/index.d.ts +4 -0
  178. package/lib/components/Details/index.d.ts.map +1 -0
  179. package/lib/components/Details/index.js +4 -0
  180. package/lib/components/Details/index.js.map +1 -0
  181. package/lib/components/Glimpse/Glimpse.d.ts +20 -0
  182. package/lib/components/Glimpse/Glimpse.d.ts.map +1 -0
  183. package/lib/components/Glimpse/Glimpse.js +12 -0
  184. package/lib/components/Glimpse/Glimpse.js.map +1 -0
  185. package/lib/components/Glimpse/index.d.ts +3 -0
  186. package/lib/components/Glimpse/index.d.ts.map +1 -0
  187. package/lib/components/Glimpse/index.js +2 -0
  188. package/lib/components/Glimpse/index.js.map +1 -0
  189. package/lib/components/IntelligentGuidance/IntelligentGuidance.d.ts +6 -0
  190. package/lib/components/IntelligentGuidance/IntelligentGuidance.d.ts.map +1 -0
  191. package/lib/components/IntelligentGuidance/IntelligentGuidance.js +83 -0
  192. package/lib/components/IntelligentGuidance/IntelligentGuidance.js.map +1 -0
  193. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.d.ts +9 -0
  194. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.d.ts.map +1 -0
  195. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.js +199 -0
  196. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.js.map +1 -0
  197. package/lib/components/IntelligentGuidance/IntelligentGuidance.types.d.ts +35 -0
  198. package/lib/components/IntelligentGuidance/IntelligentGuidance.types.d.ts.map +1 -0
  199. package/lib/components/IntelligentGuidance/IntelligentGuidance.types.js +2 -0
  200. package/lib/components/IntelligentGuidance/IntelligentGuidance.types.js.map +1 -0
  201. package/lib/components/IntelligentGuidance/index.d.ts +3 -0
  202. package/lib/components/IntelligentGuidance/index.d.ts.map +1 -0
  203. package/lib/components/IntelligentGuidance/index.js +2 -0
  204. package/lib/components/IntelligentGuidance/index.js.map +1 -0
  205. package/lib/components/Predictions/Predictions.d.ts +6 -0
  206. package/lib/components/Predictions/Predictions.d.ts.map +1 -0
  207. package/lib/components/Predictions/Predictions.js +68 -0
  208. package/lib/components/Predictions/Predictions.js.map +1 -0
  209. package/lib/components/Predictions/Predictions.types.d.ts +23 -0
  210. package/lib/components/Predictions/Predictions.types.d.ts.map +1 -0
  211. package/lib/components/Predictions/Predictions.types.js +2 -0
  212. package/lib/components/Predictions/Predictions.types.js.map +1 -0
  213. package/lib/components/Predictions/index.d.ts +3 -0
  214. package/lib/components/Predictions/index.d.ts.map +1 -0
  215. package/lib/components/Predictions/index.js +2 -0
  216. package/lib/components/Predictions/index.js.map +1 -0
  217. package/lib/components/SearchResults/Filter.d.ts +8 -0
  218. package/lib/components/SearchResults/Filter.d.ts.map +1 -0
  219. package/lib/components/SearchResults/Filter.js +45 -0
  220. package/lib/components/SearchResults/Filter.js.map +1 -0
  221. package/lib/components/SearchResults/SearchResult.d.ts +4 -0
  222. package/lib/components/SearchResults/SearchResult.d.ts.map +1 -0
  223. package/lib/components/SearchResults/SearchResult.js +27 -0
  224. package/lib/components/SearchResults/SearchResult.js.map +1 -0
  225. package/lib/components/SearchResults/SearchResults.d.ts +6 -0
  226. package/lib/components/SearchResults/SearchResults.d.ts.map +1 -0
  227. package/lib/components/SearchResults/SearchResults.js +121 -0
  228. package/lib/components/SearchResults/SearchResults.js.map +1 -0
  229. package/lib/components/SearchResults/SearchResults.styles.d.ts +11 -0
  230. package/lib/components/SearchResults/SearchResults.styles.d.ts.map +1 -0
  231. package/lib/components/SearchResults/SearchResults.styles.js +88 -0
  232. package/lib/components/SearchResults/SearchResults.styles.js.map +1 -0
  233. package/lib/components/SearchResults/SearchResults.types.d.ts +100 -0
  234. package/lib/components/SearchResults/SearchResults.types.d.ts.map +1 -0
  235. package/lib/components/SearchResults/SearchResults.types.js +2 -0
  236. package/lib/components/SearchResults/SearchResults.types.js.map +1 -0
  237. package/lib/components/SearchResults/index.d.ts +3 -0
  238. package/lib/components/SearchResults/index.d.ts.map +1 -0
  239. package/lib/components/SearchResults/index.js +2 -0
  240. package/lib/components/SearchResults/index.js.map +1 -0
  241. package/lib/components/Stages/StageGlimpse.d.ts +8 -0
  242. package/lib/components/Stages/StageGlimpse.d.ts.map +1 -0
  243. package/lib/components/Stages/StageGlimpse.js +11 -0
  244. package/lib/components/Stages/StageGlimpse.js.map +1 -0
  245. package/lib/components/Stages/Stages.d.ts +6 -0
  246. package/lib/components/Stages/Stages.d.ts.map +1 -0
  247. package/lib/components/Stages/Stages.js +107 -0
  248. package/lib/components/Stages/Stages.js.map +1 -0
  249. package/lib/components/Stages/Stages.styles.d.ts +14 -0
  250. package/lib/components/Stages/Stages.styles.d.ts.map +1 -0
  251. package/lib/components/Stages/Stages.styles.js +270 -0
  252. package/lib/components/Stages/Stages.styles.js.map +1 -0
  253. package/lib/components/Stages/Stages.types.d.ts +38 -0
  254. package/lib/components/Stages/Stages.types.d.ts.map +1 -0
  255. package/lib/components/Stages/Stages.types.js +2 -0
  256. package/lib/components/Stages/Stages.types.js.map +1 -0
  257. package/lib/components/Stages/index.d.ts +3 -0
  258. package/lib/components/Stages/index.d.ts.map +1 -0
  259. package/lib/components/Stages/index.js +2 -0
  260. package/lib/components/Stages/index.js.map +1 -0
  261. package/lib/components/Stakeholders/StakeholderForm.d.ts +7 -0
  262. package/lib/components/Stakeholders/StakeholderForm.d.ts.map +1 -0
  263. package/lib/components/Stakeholders/StakeholderForm.js +49 -0
  264. package/lib/components/Stakeholders/StakeholderForm.js.map +1 -0
  265. package/lib/components/Stakeholders/Stakeholders.d.ts +6 -0
  266. package/lib/components/Stakeholders/Stakeholders.d.ts.map +1 -0
  267. package/lib/components/Stakeholders/Stakeholders.js +220 -0
  268. package/lib/components/Stakeholders/Stakeholders.js.map +1 -0
  269. package/lib/components/Stakeholders/Stakeholders.types.d.ts +75 -0
  270. package/lib/components/Stakeholders/Stakeholders.types.d.ts.map +1 -0
  271. package/lib/components/Stakeholders/Stakeholders.types.js +2 -0
  272. package/lib/components/Stakeholders/Stakeholders.types.js.map +1 -0
  273. package/lib/components/Stakeholders/index.d.ts +3 -0
  274. package/lib/components/Stakeholders/index.d.ts.map +1 -0
  275. package/lib/components/Stakeholders/index.js +2 -0
  276. package/lib/components/Stakeholders/index.js.map +1 -0
  277. package/lib/components/Tags/Tags.d.ts +34 -0
  278. package/lib/components/Tags/Tags.d.ts.map +1 -0
  279. package/lib/components/Tags/Tags.js +230 -0
  280. package/lib/components/Tags/Tags.js.map +1 -0
  281. package/lib/components/Tags/index.d.ts +3 -0
  282. package/lib/components/Tags/index.d.ts.map +1 -0
  283. package/lib/components/Tags/index.js +2 -0
  284. package/lib/components/Tags/index.js.map +1 -0
  285. package/lib/components/Tasks/TaskList.d.ts +39 -0
  286. package/lib/components/Tasks/TaskList.d.ts.map +1 -0
  287. package/lib/components/Tasks/TaskList.js +71 -0
  288. package/lib/components/Tasks/TaskList.js.map +1 -0
  289. package/lib/components/Tasks/Tasks.d.ts +29 -0
  290. package/lib/components/Tasks/Tasks.d.ts.map +1 -0
  291. package/lib/components/Tasks/Tasks.js +52 -0
  292. package/lib/components/Tasks/Tasks.js.map +1 -0
  293. package/lib/components/Tasks/Tasks.test-ids.d.ts +4 -0
  294. package/lib/components/Tasks/Tasks.test-ids.d.ts.map +1 -0
  295. package/lib/components/Tasks/Tasks.test-ids.js +5 -0
  296. package/lib/components/Tasks/Tasks.test-ids.js.map +1 -0
  297. package/lib/components/Tasks/index.d.ts +4 -0
  298. package/lib/components/Tasks/index.d.ts.map +1 -0
  299. package/lib/components/Tasks/index.js +4 -0
  300. package/lib/components/Tasks/index.js.map +1 -0
  301. package/lib/components/Timeline/Timeline.d.ts +6 -0
  302. package/lib/components/Timeline/Timeline.d.ts.map +1 -0
  303. package/lib/components/Timeline/Timeline.js +26 -0
  304. package/lib/components/Timeline/Timeline.js.map +1 -0
  305. package/lib/components/Timeline/Timeline.styles.d.ts +21 -0
  306. package/lib/components/Timeline/Timeline.styles.d.ts.map +1 -0
  307. package/lib/components/Timeline/Timeline.styles.js +165 -0
  308. package/lib/components/Timeline/Timeline.styles.js.map +1 -0
  309. package/lib/components/Timeline/Timeline.types.d.ts +66 -0
  310. package/lib/components/Timeline/Timeline.types.d.ts.map +1 -0
  311. package/lib/components/Timeline/Timeline.types.js +2 -0
  312. package/lib/components/Timeline/Timeline.types.js.map +1 -0
  313. package/lib/components/Timeline/TimelineItem.d.ts +13 -0
  314. package/lib/components/Timeline/TimelineItem.d.ts.map +1 -0
  315. package/lib/components/Timeline/TimelineItem.js +33 -0
  316. package/lib/components/Timeline/TimelineItem.js.map +1 -0
  317. package/lib/components/Timeline/TimelineToolbar.d.ts +6 -0
  318. package/lib/components/Timeline/TimelineToolbar.d.ts.map +1 -0
  319. package/lib/components/Timeline/TimelineToolbar.js +68 -0
  320. package/lib/components/Timeline/TimelineToolbar.js.map +1 -0
  321. package/lib/components/Timeline/index.d.ts +4 -0
  322. package/lib/components/Timeline/index.d.ts.map +1 -0
  323. package/lib/components/Timeline/index.js +3 -0
  324. package/lib/components/Timeline/index.js.map +1 -0
  325. package/lib/components/Timeline/utils.d.ts +15 -0
  326. package/lib/components/Timeline/utils.d.ts.map +1 -0
  327. package/lib/components/Timeline/utils.js +75 -0
  328. package/lib/components/Timeline/utils.js.map +1 -0
  329. package/lib/index.d.ts +37 -0
  330. package/lib/index.d.ts.map +1 -0
  331. package/lib/index.js +38 -0
  332. package/lib/index.js.map +1 -0
  333. package/package.json +2 -2
@@ -0,0 +1,559 @@
1
+ import styled, { css } from 'styled-components';
2
+ import { getContrast, hideVisually, meetsContrastGuidelines, readableColor, rgba, transparentize } from 'polished';
3
+ import { Button, calculateFontSize, CardContent, defaultThemeProp, StyledBreadcrumbs, StyledButtonLink, StyledFieldValue, StyledStackedFieldValue, StyledIcon, StyledLabel, StyledPopover, StyledText, StyledTooltip, tryCatch, FieldValueList, StyledLink, readableHue, StyledCard, Text, useDirection } from '@pega/cosmos-react-core';
4
+ import { StyledMenu } from '@pega/cosmos-react-core/lib/components/Menu/Menu.styles';
5
+ import { colCountChWidth } from '@pega/cosmos-react-work/lib/components/Details/Details.styles';
6
+ import { StyledStage, StyledStages } from '../Stages/Stages.styles';
7
+ import { StyledAssignments } from '../Assignments/Assignments.styles';
8
+ import { useCaseViewContext } from './CaseView.context';
9
+ const labelChWidth = 16;
10
+ const inlineEndButtonOffset = '0.375rem';
11
+ export const StyledCaseSummaryFields = styled.div ``;
12
+ StyledCaseSummaryFields.defaultProps = defaultThemeProp;
13
+ export const StyledSummaryPrimaryList = styled(FieldValueList)(({ theme, wrapped }) => {
14
+ const fontSizes = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);
15
+ return css `
16
+ ${wrapped
17
+ ? css `
18
+ grid-template-columns: minmax(0, 1fr);
19
+ `
20
+ : css `
21
+ grid-template-columns: ${labelChWidth}ch auto;
22
+ `}
23
+
24
+ ${StyledFieldValue} {
25
+ font-size: ${fontSizes[theme.components.text.h1['font-size']]};
26
+ font-weight: ${theme.components.text.h1['font-weight']};
27
+ }
28
+ `;
29
+ });
30
+ StyledSummaryPrimaryList.defaultProps = defaultThemeProp;
31
+ export const StyledSummarySecondaryList = styled(FieldValueList)(() => {
32
+ return css `
33
+ ${StyledStackedFieldValue} {
34
+ grid-column: 1 / -1;
35
+ }
36
+ `;
37
+ });
38
+ export const StyledSummaryTabContent = styled(CardContent)(({ theme }) => {
39
+ const { base: { spacing } } = theme;
40
+ const containerWidthCh = colCountChWidth[1].containerWidth;
41
+ const containerWidthMinusLabel = `${containerWidthCh - labelChWidth}ch`;
42
+ return css `
43
+ ${StyledSummarySecondaryList} {
44
+ > ${StyledStackedFieldValue} {
45
+ max-width: ${containerWidthCh}ch;
46
+ }
47
+
48
+ > ${StyledFieldValue} {
49
+ max-width: calc(${containerWidthMinusLabel} - 2 * ${spacing});
50
+ }
51
+ }
52
+ `;
53
+ });
54
+ StyledSummaryTabContent.defaultProps = defaultThemeProp;
55
+ export const StyledCaseHeader = styled.header(({ theme }) => {
56
+ const color = tryCatch(() => readableColor(theme.base.palette['brand-primary']));
57
+ return css `
58
+ background-color: ${theme.base.palette['brand-primary']};
59
+ color: ${color};
60
+ padding: ${theme.base.spacing} calc(2 * ${theme.base.spacing});
61
+ position: relative;
62
+
63
+ h1:focus-visible {
64
+ outline: transparent;
65
+ box-shadow: ${theme.base.shadow.focus};
66
+ }
67
+
68
+ ${StyledMenu} {
69
+ color: ${theme.base.palette['foreground-color']};
70
+ z-index: ${theme.base['z-index'].popover + 1};
71
+ }
72
+ `;
73
+ });
74
+ StyledCaseHeader.defaultProps = defaultThemeProp;
75
+ export const StyledFollowIconWrap = styled.label `
76
+ font-size: 1.25rem;
77
+ input {
78
+ ${hideVisually}
79
+ }
80
+
81
+ input:focus + svg {
82
+ box-shadow: ${({ theme }) => theme.base.shadow.focus};
83
+ }
84
+ `;
85
+ StyledFollowIconWrap.defaultProps = defaultThemeProp;
86
+ export const StyledSubheading = styled.p ``;
87
+ StyledSubheading.defaultProps = defaultThemeProp;
88
+ export const StyledHeaderActions = styled.div(({ offsetEnd, theme }) => {
89
+ return css `
90
+ margin-inline-start: auto;
91
+ padding-block: ${theme.base.spacing};
92
+ padding-inline-start: calc(2 * ${theme.base.spacing});
93
+
94
+ ${offsetEnd &&
95
+ css `
96
+ padding-inline-end: ${inlineEndButtonOffset};
97
+ `};
98
+ `;
99
+ });
100
+ StyledHeaderActions.defaultProps = defaultThemeProp;
101
+ export const StyledCaseHeaderText = styled.hgroup(({ theme }) => {
102
+ const color = readableColor(theme.base.palette['brand-primary']);
103
+ const transparentColor = tryCatch(() => transparentize(0.1, color));
104
+ const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);
105
+ const idStyle = css `
106
+ color: ${transparentColor};
107
+ font-size: ${fontSize.s};
108
+ font-weight: normal;
109
+ `;
110
+ return css `
111
+ word-break: break-word;
112
+
113
+ ${StyledSubheading} {
114
+ ${idStyle}
115
+ }
116
+
117
+ ${StyledBreadcrumbs} {
118
+ max-width: 100%;
119
+
120
+ > a,
121
+ > span,
122
+ > button,
123
+ > svg {
124
+ ${idStyle}
125
+ }
126
+
127
+ > a,
128
+ > button {
129
+ &:focus {
130
+ box-shadow: ${theme.base.shadow.focus};
131
+ }
132
+ }
133
+
134
+ ${StyledPopover}:not(${StyledTooltip}) {
135
+ color: ${theme.base.palette['foreground-color']};
136
+ }
137
+ }
138
+
139
+ > ${StyledText} > ${StyledLink} {
140
+ color: ${color};
141
+ }
142
+
143
+ + ${StyledHeaderActions} {
144
+ padding-inline-start: 0;
145
+ }
146
+ `;
147
+ });
148
+ StyledCaseHeaderText.defaultProps = defaultThemeProp;
149
+ export const StyledCaseHeaderPromotedAction = styled(Button)(({ theme }) => {
150
+ const { base: { palette: { 'brand-primary': primary, interactive } } } = theme;
151
+ const interactiveUsable = getContrast(primary, interactive) >= 4.5;
152
+ const color = interactiveUsable ? interactive : readableColor(primary);
153
+ let hoverBackground = rgba(color, 0.15);
154
+ if (interactiveUsable) {
155
+ hoverBackground = readableHue(hoverBackground, color);
156
+ }
157
+ return css `
158
+ --button-background-color: ${primary};
159
+ color: ${color};
160
+ background-color: ${primary};
161
+ border-color: ${color};
162
+
163
+ @media (hover: hover) {
164
+ &:hover {
165
+ --button-background-color: ${hoverBackground};
166
+ color: ${color};
167
+ background-color: ${hoverBackground};
168
+ border-color: ${color};
169
+ }
170
+ }
171
+ `;
172
+ });
173
+ StyledCaseHeaderPromotedAction.defaultProps = defaultThemeProp;
174
+ export const StyledHeaderSummaryBlock = styled.div(({ hasItems, theme }) => {
175
+ const { base: { spacing, palette: { 'brand-primary': primary } } } = theme;
176
+ const color = readableColor(primary);
177
+ const transparentColor = tryCatch(() => transparentize(0.5, color));
178
+ return css `
179
+ ${hasItems &&
180
+ css `
181
+ border-inline-start: 0.0625rem solid ${transparentColor};
182
+ `}
183
+
184
+ ${StyledStackedFieldValue}:first-child {
185
+ margin-inline-start: calc(2 * ${spacing});
186
+ }
187
+ `;
188
+ });
189
+ StyledHeaderSummaryBlock.defaultProps = defaultThemeProp;
190
+ const popoverColorReset = (theme) => {
191
+ const { base: { palette: { interactive, light, 'foreground-color': baseForeground } } } = theme;
192
+ return css `
193
+ ${StyledPopover}:not(${StyledTooltip}) {
194
+ color: ${baseForeground};
195
+
196
+ ${StyledButtonLink},
197
+ ${StyledLink} {
198
+ color: ${interactive};
199
+ text-decoration: none;
200
+
201
+ &:hover,
202
+ &:active {
203
+ text-decoration: underline;
204
+ }
205
+
206
+ &:focus {
207
+ box-shadow: inset 0 0 0 0.0625rem ${light}, 0 0 0.125rem 0.0625rem ${interactive};
208
+ }
209
+ }
210
+ }
211
+ `;
212
+ };
213
+ export const StyledHeaderSummary = styled.dl(({ theme }) => {
214
+ const { base: { palette: { 'brand-primary': primary, interactive } } } = theme;
215
+ const interactiveUsable = meetsContrastGuidelines(primary, interactive).AA;
216
+ const color = readableColor(primary);
217
+ const transparentColor = tryCatch(() => transparentize(0.1, color));
218
+ return css `
219
+ max-width: 100%;
220
+ min-width: 0;
221
+
222
+ > ${StyledStackedFieldValue} {
223
+ > ${StyledLabel} {
224
+ color: ${transparentColor};
225
+ white-space: nowrap;
226
+ }
227
+
228
+ > ${StyledFieldValue} {
229
+ color: ${color};
230
+ white-space: nowrap;
231
+ }
232
+
233
+ ${StyledButtonLink},
234
+ ${StyledLink} {
235
+ &:focus-visible {
236
+ box-shadow: inset 0 0 0 0.0625rem ${color};
237
+ }
238
+
239
+ ${!interactiveUsable &&
240
+ css `
241
+ color: ${color};
242
+ text-decoration: underline;
243
+ `}
244
+ }
245
+
246
+ ${popoverColorReset(theme)}
247
+ }
248
+ `;
249
+ });
250
+ StyledHeaderSummary.defaultProps = defaultThemeProp;
251
+ export const StyledHeaderSummaryValue = styled(StyledFieldValue)(({ bold, truncate, theme }) => {
252
+ const { base: { 'content-width': { xs } }, components: { text: { h1: { 'font-weight': h1Weight } } } } = theme;
253
+ return css `
254
+ overflow: hidden;
255
+ text-overflow: ellipsis;
256
+
257
+ ${truncate &&
258
+ css `
259
+ max-width: ${xs};
260
+ `}
261
+
262
+ ${bold &&
263
+ css `
264
+ font-weight: ${h1Weight};
265
+ `}
266
+
267
+ /*
268
+ * :not([hidden]) necessary to prevent hidden span with preview a11y instructions from
269
+ * factoring into scrollWidth of element when determining truncation.
270
+ */
271
+ > :not([hidden]) {
272
+ display: inline;
273
+ }
274
+ `;
275
+ });
276
+ StyledHeaderSummaryValue.defaultProps = defaultThemeProp;
277
+ export const StyledCaseSummaryInfo = styled.div(() => {
278
+ const { intelligentGuidance } = useCaseViewContext();
279
+ return css `
280
+ overflow: auto;
281
+ flex: 1;
282
+ ${intelligentGuidance &&
283
+ css `
284
+ /* Accounts for collapsed intelligentGuidance list covering summary panel content when fully scrolled. */
285
+ padding-block-end: 4rem;
286
+ `}
287
+ `;
288
+ });
289
+ StyledCaseSummaryInfo.defaultProps = defaultThemeProp;
290
+ export const StyledCaseSummaryContainer = styled.div(({ theme }) => {
291
+ return css `
292
+ padding: calc(1.5 * ${theme.base.spacing}) calc(${theme.components.card.padding} * 2);
293
+ `;
294
+ });
295
+ StyledCaseSummaryContainer.defaultProps = defaultThemeProp;
296
+ export const StyledExpandCollapseButton = styled(Button)(() => {
297
+ return css `
298
+ border: none;
299
+
300
+ ${StyledIcon} {
301
+ width: 1.5rem;
302
+ height: 1.5rem;
303
+ }
304
+ `;
305
+ });
306
+ StyledExpandCollapseButton.defaultProps = defaultThemeProp;
307
+ export const StyledExpandCollapseSummaryButton = styled(StyledExpandCollapseButton)(({ theme }) => {
308
+ const { summaryExpanded } = useCaseViewContext();
309
+ const { rtl } = useDirection();
310
+ return css `
311
+ --half-compact-btn-height: calc(${theme.base['hit-area'].compact} / 2);
312
+ --half-btn-compact-difference: calc(
313
+ (${theme.base['hit-area'].mouse} - ${theme.base['hit-area'].compact}) / 2
314
+ );
315
+ --half-case-icon-compact-difference: calc(
316
+ ((4 * ${theme.base.spacing}) - ${theme.base['hit-area'].compact}) / 2
317
+ );
318
+ @media (pointer: coarse) {
319
+ --half-btn-compact-difference: calc(
320
+ (${theme.base['hit-area'].finger} - ${theme.base['hit-area'].compact}) / 2
321
+ );
322
+ }
323
+ position: absolute;
324
+ z-index: 1;
325
+ box-shadow: ${theme.base.shadow.low};
326
+
327
+ ${summaryExpanded
328
+ ? css `
329
+ inset-block-start: calc(2 * ${theme.base.spacing} + var(--half-btn-compact-difference));
330
+ inset-inline-start: calc(100% - var(--half-compact-btn-height));
331
+ `
332
+ : css `
333
+ inset-block-end: calc(var(--half-compact-btn-height) * -1);
334
+ inset-inline-start: calc(
335
+ 2 * ${theme.base.spacing} + var(--half-case-icon-compact-difference)
336
+ );
337
+ `}
338
+
339
+ ${StyledIcon} {
340
+ ${summaryExpanded
341
+ ? css `
342
+ transform: rotate(${rtl ? '180deg' : '0'});
343
+ `
344
+ : css `
345
+ transform: rotate(-90deg);
346
+ `}
347
+ }
348
+ `;
349
+ });
350
+ StyledExpandCollapseSummaryButton.defaultProps = defaultThemeProp;
351
+ export const StyledCaseSummary = styled.div(() => {
352
+ const { summaryExpanded, aboveMD } = useCaseViewContext();
353
+ return css `
354
+ position: relative;
355
+ height: 100%;
356
+ ${aboveMD &&
357
+ summaryExpanded &&
358
+ css `
359
+ width: 25rem;
360
+ `}
361
+ `;
362
+ });
363
+ export const StyledWorkArea = styled.div(({ theme }) => {
364
+ const { summaryExpanded, aboveMD, intelligentGuidance, stages, tasks } = useCaseViewContext();
365
+ let pbeRem = 0;
366
+ if (intelligentGuidance) {
367
+ pbeRem = aboveMD && !summaryExpanded ? 4 : 6;
368
+ }
369
+ return css `
370
+ grid-area: work-area;
371
+ padding: calc(2 * ${theme.base.spacing});
372
+
373
+ ${aboveMD &&
374
+ css `
375
+ padding: calc(2 * ${theme.base.spacing}) 0;
376
+
377
+ /* This is required to make scrollStick work. */
378
+ height: max-content;
379
+
380
+ ${!summaryExpanded &&
381
+ css `
382
+ margin-inline-start: calc(2 * ${theme.base.spacing});
383
+ `}
384
+ `}
385
+
386
+ /* Order of style here is necessary for overriding styles above. */
387
+ ${pbeRem > 0 &&
388
+ css `
389
+ /* Accounts for collapsed intelligentGuidance bubble covering work area content when fully scrolled. */
390
+ padding-block-end: ${pbeRem}rem;
391
+ `}
392
+
393
+ ${stages &&
394
+ tasks &&
395
+ css `
396
+ ${StyledStages} {
397
+ border-block-end: 0.0625rem solid ${theme.base.palette['border-line']};
398
+
399
+ &,
400
+ > ${StyledStage}:first-child {
401
+ border-end-start-radius: 0;
402
+ }
403
+
404
+ &,
405
+ > ${StyledStage}:last-child {
406
+ border-end-end-radius: 0;
407
+ }
408
+ }
409
+
410
+ ${StyledCard}${StyledAssignments} {
411
+ margin-block-start: calc(-2 * ${theme.base.spacing});
412
+ border-start-start-radius: 0;
413
+ border-start-end-radius: 0;
414
+ }
415
+ `}
416
+ `;
417
+ });
418
+ StyledWorkArea.defaultProps = defaultThemeProp;
419
+ export const StyledUtilitiesHeading = styled(Text) ``;
420
+ export const StyledExpandCollapseUtilitiesButton = styled(StyledExpandCollapseButton)(() => {
421
+ const { utilitiesExpanded } = useCaseViewContext();
422
+ const { rtl } = useDirection();
423
+ return css `
424
+ /* Centers button over the utilities summary */
425
+ margin-inline-end: ${utilitiesExpanded && '0.625rem'};
426
+
427
+ ${StyledIcon} {
428
+ ${utilitiesExpanded !== rtl
429
+ ? css `
430
+ transform: rotate(180deg);
431
+ `
432
+ : css `
433
+ transform: rotate(0);
434
+ `}
435
+ }
436
+ `;
437
+ });
438
+ StyledExpandCollapseUtilitiesButton.defaultProps = defaultThemeProp;
439
+ export const StyledUtilities = styled.div(({ theme }) => {
440
+ const { utilitiesExpanded, aboveLG, aboveMD } = useCaseViewContext();
441
+ return css `
442
+ height: max-content;
443
+ margin-block: calc(2 * ${theme.base.spacing});
444
+
445
+ /* If utilities are in an expanded drawer. */
446
+ ${utilitiesExpanded &&
447
+ aboveMD &&
448
+ !aboveLG &&
449
+ css `
450
+ /* Maintains the column width to avoid page content shift. */
451
+ visibility: hidden;
452
+ `}
453
+
454
+ ${aboveLG &&
455
+ utilitiesExpanded &&
456
+ css `
457
+ width: 25rem;
458
+ `}
459
+
460
+
461
+ /* Selects the h2 in the utilities column, not the drawer. */
462
+ ${StyledUtilitiesHeading} {
463
+ /* Hide the utilities h2 under certain conditions.*/
464
+ ${((aboveMD && !utilitiesExpanded) || (aboveMD && utilitiesExpanded && !aboveLG)) &&
465
+ hideVisually()}
466
+ }
467
+ `;
468
+ });
469
+ StyledUtilities.defaultProps = defaultThemeProp;
470
+ export const StyledSummary = styled.div(({ theme }) => {
471
+ const { summaryExpanded, aboveMD } = useCaseViewContext();
472
+ return css `
473
+ top: ${summaryExpanded ? 'var(--top-offset)' : 'var(--appshell-offset, 0)'};
474
+ width: 100%;
475
+ background-color: ${theme.base.palette['primary-background']};
476
+ z-index: ${theme.base['z-index'].popover};
477
+
478
+ ${aboveMD &&
479
+ summaryExpanded &&
480
+ css `
481
+ height: var(--case-view-height);
482
+ `}
483
+
484
+ ${aboveMD
485
+ ? css `
486
+ position: sticky;
487
+ `
488
+ : css `
489
+ @media (min-height: ${theme.base.breakpoints.sm}) {
490
+ position: sticky;
491
+ }
492
+ `}
493
+ `;
494
+ });
495
+ StyledSummary.defaultProps = defaultThemeProp;
496
+ export const StyledCaseDrawer = styled.div(({ theme }) => {
497
+ return css `
498
+ min-width: 21.875rem;
499
+ max-width: 31.25rem;
500
+ width: calc((100vw - 31.25rem) / 10 + 21.875rem);
501
+ background-color: ${theme.base.palette['primary-background']};
502
+ height: var(--case-view-height);
503
+ top: var(--top-offset);
504
+ z-index: ${theme.base['z-index'].drawer - 1};
505
+ `;
506
+ });
507
+ StyledCaseDrawer.defaultProps = defaultThemeProp;
508
+ export const StyledCaseDrawerContent = styled.div(({ theme }) => {
509
+ return css `
510
+ background-color: ${theme.base.palette['app-background']};
511
+ padding: calc(2 * ${theme.base.spacing});
512
+ height: 100%;
513
+ overflow: auto;
514
+ `;
515
+ });
516
+ StyledCaseDrawerContent.defaultProps = defaultThemeProp;
517
+ export const StyledPersistentUtility = styled.div(({ theme }) => {
518
+ return css `
519
+ width: ${theme.base['content-width'].md};
520
+ overflow: auto;
521
+ position: sticky;
522
+ z-index: 1;
523
+ height: var(--case-view-height);
524
+ top: var(--top-offset);
525
+ padding-block: calc(2 * ${theme.base.spacing});
526
+ `;
527
+ });
528
+ StyledPersistentUtility.defaultProps = defaultThemeProp;
529
+ export const ScrollStick = styled.div `
530
+ position: sticky;
531
+ top: 0;
532
+ `;
533
+ export const StyledCaseView = styled.div(({ theme }) => {
534
+ const { aboveMD } = useCaseViewContext();
535
+ return css `
536
+ --top-offset: calc(var(--appshell-offset, 0rem) + var(--summary-height));
537
+ --case-view-height: calc(100vh - var(--top-offset));
538
+ position: relative;
539
+ min-height: var(--case-view-height);
540
+ background-color: ${theme.base.palette['app-background']};
541
+
542
+ ${aboveMD &&
543
+ css `
544
+ ${StyledUtilities}:last-child {
545
+ margin-inline-end: calc(2 * ${theme.base.spacing});
546
+ }
547
+ `}
548
+ `;
549
+ });
550
+ StyledCaseView.defaultProps = defaultThemeProp;
551
+ export const StyledUtilitiesHeader = styled(Text) `
552
+ align-self: center;
553
+
554
+ &:not(:focus) {
555
+ ${hideVisually}
556
+ }
557
+ `;
558
+ StyledUtilitiesHeader.defaultProps = defaultThemeProp;
559
+ //# sourceMappingURL=CaseView.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CaseView.styles.js","sourceRoot":"","sources":["../../../src/components/CaseView/CaseView.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAgB,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,uBAAuB,EACvB,aAAa,EACb,IAAI,EACJ,cAAc,EACf,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,UAAU,EACV,WAAW,EACX,aAAa,EACb,UAAU,EACV,aAAa,EACb,QAAQ,EAER,cAAc,EACd,UAAU,EACV,WAAW,EACX,UAAU,EACV,IAAI,EACJ,YAAY,EACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,yDAAyD,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,+DAA+D,CAAC;AAEhG,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,YAAY,GAAG,EAAE,CAAC;AACxB,MAAM,qBAAqB,GAAG,UAAU,CAAC;AAEzC,M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AAE;IAC9D,OAAO,GAAG,CAAA;aACC,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,EAAE;;;;;;8BAMb,KAAK,CAAC,IAAI,CAAC,OAAO;GAC7C,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,uBAAuB,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAExD,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAA;;;CAGpC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACrD,MAAM,EAAE,OAAO,EAAE,GAAG,kBAAkB,EAAE,CAAC;IAEzC,OAAO,GAAG,CAAA;;;;;wBAKY,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC;;MAEtD,OAAO;QACT,GAAG,CAAA;QACC,eAAe;sCACe,KAAK,CAAC,IAAI,CAAC,OAAO;;KAEnD;GACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,cAAc,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;;;;MAI3C,YAAY;;CAEjB,CAAC;AAEF,qBAAqB,CAAC,YAAY,GAAG,gBAAgB,CAAC","sourcesContent":["import styled, { css, DefaultTheme } from 'styled-components';\nimport {\n getContrast,\n hideVisually,\n meetsContrastGuidelines,\n readableColor,\n rgba,\n transparentize\n} from 'polished';\n\nimport {\n Button,\n calculateFontSize,\n CardContent,\n defaultThemeProp,\n StyledBreadcrumbs,\n StyledButtonLink,\n StyledFieldValue,\n StyledStackedFieldValue,\n StyledIcon,\n StyledLabel,\n StyledPopover,\n StyledText,\n StyledTooltip,\n tryCatch,\n FontSize,\n FieldValueList,\n StyledLink,\n readableHue,\n StyledCard,\n Text,\n useDirection\n} from '@pega/cosmos-react-core';\nimport { StyledMenu } from '@pega/cosmos-react-core/lib/components/Menu/Menu.styles';\nimport { colCountChWidth } from '@pega/cosmos-react-work/lib/components/Details/Details.styles';\n\nimport { StyledStage, StyledStages } from '../Stages/Stages.styles';\nimport { StyledAssignments } from '../Assignments/Assignments.styles';\n\nimport { useCaseViewContext } from './CaseView.context';\n\nconst labelChWidth = 16;\nconst inlineEndButtonOffset = '0.375rem';\n\nexport const StyledCaseSummaryFields = styled.div``;\n\nStyledCaseSummaryFields.defaultProps = defaultThemeProp;\n\nexport const StyledSummaryPrimaryList = styled(FieldValueList)<{ wrapped?: boolean }>(\n ({ theme, wrapped }) => {\n const fontSizes = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n\n return css`\n ${wrapped\n ? css`\n grid-template-columns: minmax(0, 1fr);\n `\n : css`\n grid-template-columns: ${labelChWidth}ch auto;\n `}\n\n ${StyledFieldValue} {\n font-size: ${fontSizes[theme.components.text.h1['font-size'] as FontSize]};\n font-weight: ${theme.components.text.h1['font-weight']};\n }\n `;\n }\n);\n\nStyledSummaryPrimaryList.defaultProps = defaultThemeProp;\n\nexport const StyledSummarySecondaryList = styled(FieldValueList)(() => {\n return css`\n ${StyledStackedFieldValue} {\n grid-column: 1 / -1;\n }\n `;\n});\n\nexport const StyledSummaryTabContent = styled(CardContent)(({ theme }) => {\n const {\n base: { spacing }\n } = theme;\n const containerWidthCh = colCountChWidth[1].containerWidth;\n const containerWidthMinusLabel = `${containerWidthCh - labelChWidth}ch`;\n\n return css`\n ${StyledSummarySecondaryList} {\n > ${StyledStackedFieldValue} {\n max-width: ${containerWidthCh}ch;\n }\n\n > ${StyledFieldValue} {\n max-width: calc(${containerWidthMinusLabel} - 2 * ${spacing});\n }\n }\n `;\n});\n\nStyledSummaryTabContent.defaultProps = defaultThemeProp;\n\nexport const StyledCaseHeader = styled.header(({ theme }) => {\n const color = tryCatch(() => readableColor(theme.base.palette['brand-primary']));\n\n return css`\n background-color: ${theme.base.palette['brand-primary']};\n color: ${color};\n padding: ${theme.base.spacing} calc(2 * ${theme.base.spacing});\n position: relative;\n\n h1:focus-visible {\n outline: transparent;\n box-shadow: ${theme.base.shadow.focus};\n }\n\n ${StyledMenu} {\n color: ${theme.base.palette['foreground-color']};\n z-index: ${theme.base['z-index'].popover + 1};\n }\n `;\n});\n\nStyledCaseHeader.defaultProps = defaultThemeProp;\n\nexport const StyledFollowIconWrap = styled.label`\n font-size: 1.25rem;\n input {\n ${hideVisually}\n }\n\n input:focus + svg {\n box-shadow: ${({ theme }) => theme.base.shadow.focus};\n }\n`;\n\nStyledFollowIconWrap.defaultProps = defaultThemeProp;\n\nexport const StyledSubheading = styled.p``;\n\nStyledSubheading.defaultProps = defaultThemeProp;\n\nexport const StyledHeaderActions = styled.div<{ offsetEnd: boolean }>(({ offsetEnd, theme }) => {\n return css`\n margin-inline-start: auto;\n padding-block: ${theme.base.spacing};\n padding-inline-start: calc(2 * ${theme.base.spacing});\n\n ${offsetEnd &&\n css`\n padding-inline-end: ${inlineEndButtonOffset};\n `};\n `;\n});\n\nStyledHeaderActions.defaultProps = defaultThemeProp;\n\nexport const StyledCaseHeaderText = styled.hgroup(({ theme }) => {\n const color = readableColor(theme.base.palette['brand-primary']);\n const transparentColor = tryCatch(() => transparentize(0.1, color));\n const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n\n const idStyle = css`\n color: ${transparentColor};\n font-size: ${fontSize.s};\n font-weight: normal;\n `;\n\n return css`\n word-break: break-word;\n\n ${StyledSubheading} {\n ${idStyle}\n }\n\n ${StyledBreadcrumbs} {\n max-width: 100%;\n\n > a,\n > span,\n > button,\n > svg {\n ${idStyle}\n }\n\n > a,\n > button {\n &:focus {\n box-shadow: ${theme.base.shadow.focus};\n }\n }\n\n ${StyledPopover}:not(${StyledTooltip}) {\n color: ${theme.base.palette['foreground-color']};\n }\n }\n\n > ${StyledText} > ${StyledLink} {\n color: ${color};\n }\n\n + ${StyledHeaderActions} {\n padding-inline-start: 0;\n }\n `;\n});\n\nStyledCaseHeaderText.defaultProps = defaultThemeProp;\n\nexport const StyledCaseHeaderPromotedAction = styled(Button)(({ theme }) => {\n const {\n base: {\n palette: { 'brand-primary': primary, interactive }\n }\n } = theme;\n\n const interactiveUsable = getContrast(primary, interactive) >= 4.5;\n const color = interactiveUsable ? interactive : readableColor(primary);\n let hoverBackground = rgba(color, 0.15);\n\n if (interactiveUsable) {\n hoverBackground = readableHue(hoverBackground, color);\n }\n\n return css`\n --button-background-color: ${primary};\n color: ${color};\n background-color: ${primary};\n border-color: ${color};\n\n @media (hover: hover) {\n &:hover {\n --button-background-color: ${hoverBackground};\n color: ${color};\n background-color: ${hoverBackground};\n border-color: ${color};\n }\n }\n `;\n});\n\nStyledCaseHeaderPromotedAction.defaultProps = defaultThemeProp;\n\nexport const StyledHeaderSummaryBlock = styled.div<{ hasItems: boolean }>(({ hasItems, theme }) => {\n const {\n base: {\n spacing,\n palette: { 'brand-primary': primary }\n }\n } = theme;\n\n const color = readableColor(primary);\n const transparentColor = tryCatch(() => transparentize(0.5, color));\n\n return css`\n ${hasItems &&\n css`\n border-inline-start: 0.0625rem solid ${transparentColor};\n `}\n\n ${StyledStackedFieldValue}:first-child {\n margin-inline-start: calc(2 * ${spacing});\n }\n `;\n});\n\nStyledHeaderSummaryBlock.defaultProps = defaultThemeProp;\n\nconst popoverColorReset = (theme: DefaultTheme) => {\n const {\n base: {\n palette: { interactive, light, 'foreground-color': baseForeground }\n }\n } = theme;\n\n return css`\n ${StyledPopover}:not(${StyledTooltip}) {\n color: ${baseForeground};\n\n ${StyledButtonLink},\n ${StyledLink} {\n color: ${interactive};\n text-decoration: none;\n\n &:hover,\n &:active {\n text-decoration: underline;\n }\n\n &:focus {\n box-shadow: inset 0 0 0 0.0625rem ${light}, 0 0 0.125rem 0.0625rem ${interactive};\n }\n }\n }\n `;\n};\n\nexport const StyledHeaderSummary = styled.dl(({ theme }) => {\n const {\n base: {\n palette: { 'brand-primary': primary, interactive }\n }\n } = theme;\n\n const interactiveUsable = meetsContrastGuidelines(primary, interactive).AA;\n const color = readableColor(primary);\n const transparentColor = tryCatch(() => transparentize(0.1, color));\n\n return css`\n max-width: 100%;\n min-width: 0;\n\n > ${StyledStackedFieldValue} {\n > ${StyledLabel} {\n color: ${transparentColor};\n white-space: nowrap;\n }\n\n > ${StyledFieldValue} {\n color: ${color};\n white-space: nowrap;\n }\n\n ${StyledButtonLink},\n ${StyledLink} {\n &:focus-visible {\n box-shadow: inset 0 0 0 0.0625rem ${color};\n }\n\n ${!interactiveUsable &&\n css`\n color: ${color};\n text-decoration: underline;\n `}\n }\n\n ${popoverColorReset(theme)}\n }\n `;\n});\n\nStyledHeaderSummary.defaultProps = defaultThemeProp;\n\nexport const StyledHeaderSummaryValue = styled(StyledFieldValue)(\n ({ bold, truncate, theme }: { bold?: boolean; truncate?: boolean; theme: DefaultTheme }) => {\n const {\n base: {\n 'content-width': { xs }\n },\n components: {\n text: {\n h1: { 'font-weight': h1Weight }\n }\n }\n } = theme;\n\n return css`\n overflow: hidden;\n text-overflow: ellipsis;\n\n ${truncate &&\n css`\n max-width: ${xs};\n `}\n\n ${bold &&\n css`\n font-weight: ${h1Weight};\n `}\n\n /*\n * :not([hidden]) necessary to prevent hidden span with preview a11y instructions from\n * factoring into scrollWidth of element when determining truncation.\n */\n > :not([hidden]) {\n display: inline;\n }\n `;\n }\n);\n\nStyledHeaderSummaryValue.defaultProps = defaultThemeProp;\n\nexport const StyledCaseSummaryInfo = styled.div(() => {\n const { intelligentGuidance } = useCaseViewContext();\n\n return css`\n overflow: auto;\n flex: 1;\n ${intelligentGuidance &&\n css`\n /* Accounts for collapsed intelligentGuidance list covering summary panel content when fully scrolled. */\n padding-block-end: 4rem;\n `}\n `;\n});\n\nStyledCaseSummaryInfo.defaultProps = defaultThemeProp;\n\nexport const StyledCaseSummaryContainer = styled.div(({ theme }) => {\n return css`\n padding: calc(1.5 * ${theme.base.spacing}) calc(${theme.components.card.padding} * 2);\n `;\n});\n\nStyledCaseSummaryContainer.defaultProps = defaultThemeProp;\n\nexport const StyledExpandCollapseButton = styled(Button)(() => {\n return css`\n border: none;\n\n ${StyledIcon} {\n width: 1.5rem;\n height: 1.5rem;\n }\n `;\n});\n\nStyledExpandCollapseButton.defaultProps = defaultThemeProp;\n\nexport const StyledExpandCollapseSummaryButton = styled(StyledExpandCollapseButton)(({ theme }) => {\n const { summaryExpanded } = useCaseViewContext();\n const { rtl } = useDirection();\n\n return css`\n --half-compact-btn-height: calc(${theme.base['hit-area'].compact} / 2);\n --half-btn-compact-difference: calc(\n (${theme.base['hit-area'].mouse} - ${theme.base['hit-area'].compact}) / 2\n );\n --half-case-icon-compact-difference: calc(\n ((4 * ${theme.base.spacing}) - ${theme.base['hit-area'].compact}) / 2\n );\n @media (pointer: coarse) {\n --half-btn-compact-difference: calc(\n (${theme.base['hit-area'].finger} - ${theme.base['hit-area'].compact}) / 2\n );\n }\n position: absolute;\n z-index: 1;\n box-shadow: ${theme.base.shadow.low};\n\n ${summaryExpanded\n ? css`\n inset-block-start: calc(2 * ${theme.base.spacing} + var(--half-btn-compact-difference));\n inset-inline-start: calc(100% - var(--half-compact-btn-height));\n `\n : css`\n inset-block-end: calc(var(--half-compact-btn-height) * -1);\n inset-inline-start: calc(\n 2 * ${theme.base.spacing} + var(--half-case-icon-compact-difference)\n );\n `}\n\n ${StyledIcon} {\n ${summaryExpanded\n ? css`\n transform: rotate(${rtl ? '180deg' : '0'});\n `\n : css`\n transform: rotate(-90deg);\n `}\n }\n `;\n});\n\nStyledExpandCollapseSummaryButton.defaultProps = defaultThemeProp;\n\nexport const StyledCaseSummary = styled.div(() => {\n const { summaryExpanded, aboveMD } = useCaseViewContext();\n\n return css`\n position: relative;\n height: 100%;\n ${aboveMD &&\n summaryExpanded &&\n css`\n width: 25rem;\n `}\n `;\n});\n\nexport const StyledWorkArea = styled.div(({ theme }) => {\n const { summaryExpanded, aboveMD, intelligentGuidance, stages, tasks } = useCaseViewContext();\n let pbeRem = 0;\n\n if (intelligentGuidance) {\n pbeRem = aboveMD && !summaryExpanded ? 4 : 6;\n }\n\n return css`\n grid-area: work-area;\n padding: calc(2 * ${theme.base.spacing});\n\n ${aboveMD &&\n css`\n padding: calc(2 * ${theme.base.spacing}) 0;\n\n /* This is required to make scrollStick work. */\n height: max-content;\n\n ${!summaryExpanded &&\n css`\n margin-inline-start: calc(2 * ${theme.base.spacing});\n `}\n `}\n\n /* Order of style here is necessary for overriding styles above. */\n ${pbeRem > 0 &&\n css`\n /* Accounts for collapsed intelligentGuidance bubble covering work area content when fully scrolled. */\n padding-block-end: ${pbeRem}rem;\n `}\n\n ${stages &&\n tasks &&\n css`\n ${StyledStages} {\n border-block-end: 0.0625rem solid ${theme.base.palette['border-line']};\n\n &,\n > ${StyledStage}:first-child {\n border-end-start-radius: 0;\n }\n\n &,\n > ${StyledStage}:last-child {\n border-end-end-radius: 0;\n }\n }\n\n ${StyledCard}${StyledAssignments} {\n margin-block-start: calc(-2 * ${theme.base.spacing});\n border-start-start-radius: 0;\n border-start-end-radius: 0;\n }\n `}\n `;\n});\n\nStyledWorkArea.defaultProps = defaultThemeProp;\n\nexport const StyledUtilitiesHeading = styled(Text)``;\n\nexport const StyledExpandCollapseUtilitiesButton = styled(StyledExpandCollapseButton)(() => {\n const { utilitiesExpanded } = useCaseViewContext();\n const { rtl } = useDirection();\n\n return css`\n /* Centers button over the utilities summary */\n margin-inline-end: ${utilitiesExpanded && '0.625rem'};\n\n ${StyledIcon} {\n ${utilitiesExpanded !== rtl\n ? css`\n transform: rotate(180deg);\n `\n : css`\n transform: rotate(0);\n `}\n }\n `;\n});\n\nStyledExpandCollapseUtilitiesButton.defaultProps = defaultThemeProp;\n\nexport const StyledUtilities = styled.div(({ theme }) => {\n const { utilitiesExpanded, aboveLG, aboveMD } = useCaseViewContext();\n\n return css`\n height: max-content;\n margin-block: calc(2 * ${theme.base.spacing});\n\n /* If utilities are in an expanded drawer. */\n ${utilitiesExpanded &&\n aboveMD &&\n !aboveLG &&\n css`\n /* Maintains the column width to avoid page content shift. */\n visibility: hidden;\n `}\n\n ${aboveLG &&\n utilitiesExpanded &&\n css`\n width: 25rem;\n `}\n\n\n /* Selects the h2 in the utilities column, not the drawer. */\n ${StyledUtilitiesHeading} {\n /* Hide the utilities h2 under certain conditions.*/\n ${((aboveMD && !utilitiesExpanded) || (aboveMD && utilitiesExpanded && !aboveLG)) &&\n hideVisually()}\n }\n `;\n});\n\nStyledUtilities.defaultProps = defaultThemeProp;\n\nexport const StyledSummary = styled.div(({ theme }) => {\n const { summaryExpanded, aboveMD } = useCaseViewContext();\n\n return css`\n top: ${summaryExpanded ? 'var(--top-offset)' : 'var(--appshell-offset, 0)'};\n width: 100%;\n background-color: ${theme.base.palette['primary-background']};\n z-index: ${theme.base['z-index'].popover};\n\n ${aboveMD &&\n summaryExpanded &&\n css`\n height: var(--case-view-height);\n `}\n\n ${aboveMD\n ? css`\n position: sticky;\n `\n : css`\n @media (min-height: ${theme.base.breakpoints.sm}) {\n position: sticky;\n }\n `}\n `;\n});\n\nStyledSummary.defaultProps = defaultThemeProp;\n\nexport const StyledCaseDrawer = styled.div(({ theme }) => {\n return css`\n min-width: 21.875rem;\n max-width: 31.25rem;\n width: calc((100vw - 31.25rem) / 10 + 21.875rem);\n background-color: ${theme.base.palette['primary-background']};\n height: var(--case-view-height);\n top: var(--top-offset);\n z-index: ${theme.base['z-index'].drawer - 1};\n `;\n});\n\nStyledCaseDrawer.defaultProps = defaultThemeProp;\n\nexport const StyledCaseDrawerContent = styled.div(({ theme }) => {\n return css`\n background-color: ${theme.base.palette['app-background']};\n padding: calc(2 * ${theme.base.spacing});\n height: 100%;\n overflow: auto;\n `;\n});\n\nStyledCaseDrawerContent.defaultProps = defaultThemeProp;\n\nexport const StyledPersistentUtility = styled.div(({ theme }) => {\n return css`\n width: ${theme.base['content-width'].md};\n overflow: auto;\n position: sticky;\n z-index: 1;\n height: var(--case-view-height);\n top: var(--top-offset);\n padding-block: calc(2 * ${theme.base.spacing});\n `;\n});\n\nStyledPersistentUtility.defaultProps = defaultThemeProp;\n\nexport const ScrollStick = styled.div`\n position: sticky;\n top: 0;\n`;\n\nexport const StyledCaseView = styled.div(({ theme }) => {\n const { aboveMD } = useCaseViewContext();\n\n return css`\n --top-offset: calc(var(--appshell-offset, 0rem) + var(--summary-height));\n --case-view-height: calc(100vh - var(--top-offset));\n position: relative;\n min-height: var(--case-view-height);\n background-color: ${theme.base.palette['app-background']};\n\n ${aboveMD &&\n css`\n ${StyledUtilities}:last-child {\n margin-inline-end: calc(2 * ${theme.base.spacing});\n }\n `}\n `;\n});\n\nStyledCaseView.defaultProps = defaultThemeProp;\n\nexport const StyledUtilitiesHeader = styled(Text)`\n align-self: center;\n\n &:not(:focus) {\n ${hideVisually}\n }\n`;\n\nStyledUtilitiesHeader.defaultProps = defaultThemeProp;\n"]}
@@ -0,0 +1,2 @@
1
+ export declare const getCaseViewTestIds: (testIdProp?: string | undefined) => import("@pega/cosmos-react-core").TestIdsRecord<readonly ["header", "heading", "subheading", "icon", "edit", "actions", "promoted-actions", "summary-fields", "banners", "stages", "tasks", "tabs", "tab-content", "utilities"]>;
2
+ //# sourceMappingURL=CaseView.test-ids.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CaseView.test-ids.d.ts","sourceRoot":"","sources":["../../../src/components/CaseView/CaseView.test-ids.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,uQAepB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { createTestIds } from '@pega/cosmos-react-core';
2
+ export const getCaseViewTestIds = createTestIds('case-view', [
3
+ 'header',
4
+ 'heading',
5
+ 'subheading',
6
+ 'icon',
7
+ 'edit',
8
+ 'actions',
9
+ 'promoted-actions',
10
+ 'summary-fields',
11
+ 'banners',
12
+ 'stages',
13
+ 'tasks',
14
+ 'tabs',
15
+ 'tab-content',
16
+ 'utilities'
17
+ ]);
18
+ //# sourceMappingURL=CaseView.test-ids.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CaseView.test-ids.js","sourceRoot":"","sources":["../../../src/components/CaseView/CaseView.test-ids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,WAAW,EAAE;IAC3D,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,MAAM;IACN,MAAM;IACN,SAAS;IACT,kBAAkB;IAClB,gBAAgB;IAChB,SAAS;IACT,QAAQ;IACR,OAAO;IACP,MAAM;IACN,aAAa;IACb,WAAW;CACH,CAAC,CAAC","sourcesContent":["import { createTestIds } from '@pega/cosmos-react-core';\n\nexport const getCaseViewTestIds = createTestIds('case-view', [\n 'header',\n 'heading',\n 'subheading',\n 'icon',\n 'edit',\n 'actions',\n 'promoted-actions',\n 'summary-fields',\n 'banners',\n 'stages',\n 'tasks',\n 'tabs',\n 'tab-content',\n 'utilities'\n] as const);\n"]}