@pega/cosmos-react-work 5.0.0-dev.4.6 → 5.0.0-dev.4.8

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 (329) hide show
  1. package/package.json +2 -2
  2. package/lib/components/AppAnnouncement/AppAnnouncement.d.ts +0 -23
  3. package/lib/components/AppAnnouncement/AppAnnouncement.d.ts.map +0 -1
  4. package/lib/components/AppAnnouncement/AppAnnouncement.js +0 -93
  5. package/lib/components/AppAnnouncement/AppAnnouncement.js.map +0 -1
  6. package/lib/components/AppAnnouncement/index.d.ts +0 -3
  7. package/lib/components/AppAnnouncement/index.d.ts.map +0 -1
  8. package/lib/components/AppAnnouncement/index.js +0 -2
  9. package/lib/components/AppAnnouncement/index.js.map +0 -1
  10. package/lib/components/Article/Article.d.ts +0 -49
  11. package/lib/components/Article/Article.d.ts.map +0 -1
  12. package/lib/components/Article/Article.js +0 -73
  13. package/lib/components/Article/Article.js.map +0 -1
  14. package/lib/components/Article/ArticleFooter.d.ts +0 -40
  15. package/lib/components/Article/ArticleFooter.d.ts.map +0 -1
  16. package/lib/components/Article/ArticleFooter.js +0 -54
  17. package/lib/components/Article/ArticleFooter.js.map +0 -1
  18. package/lib/components/Article/ArticleMeta.d.ts +0 -13
  19. package/lib/components/Article/ArticleMeta.d.ts.map +0 -1
  20. package/lib/components/Article/ArticleMeta.js +0 -24
  21. package/lib/components/Article/ArticleMeta.js.map +0 -1
  22. package/lib/components/Article/index.d.ts +0 -5
  23. package/lib/components/Article/index.d.ts.map +0 -1
  24. package/lib/components/Article/index.js +0 -3
  25. package/lib/components/Article/index.js.map +0 -1
  26. package/lib/components/ArticleList/ArticleList.d.ts +0 -6
  27. package/lib/components/ArticleList/ArticleList.d.ts.map +0 -1
  28. package/lib/components/ArticleList/ArticleList.js +0 -132
  29. package/lib/components/ArticleList/ArticleList.js.map +0 -1
  30. package/lib/components/ArticleList/ArticleList.types.d.ts +0 -87
  31. package/lib/components/ArticleList/ArticleList.types.d.ts.map +0 -1
  32. package/lib/components/ArticleList/ArticleList.types.js +0 -2
  33. package/lib/components/ArticleList/ArticleList.types.js.map +0 -1
  34. package/lib/components/ArticleList/ArticleListFilter.d.ts +0 -6
  35. package/lib/components/ArticleList/ArticleListFilter.d.ts.map +0 -1
  36. package/lib/components/ArticleList/ArticleListFilter.js +0 -61
  37. package/lib/components/ArticleList/ArticleListFilter.js.map +0 -1
  38. package/lib/components/ArticleList/ArticleListHeader.d.ts +0 -5
  39. package/lib/components/ArticleList/ArticleListHeader.d.ts.map +0 -1
  40. package/lib/components/ArticleList/ArticleListHeader.js +0 -20
  41. package/lib/components/ArticleList/ArticleListHeader.js.map +0 -1
  42. package/lib/components/ArticleList/ArticleSummary.d.ts +0 -7
  43. package/lib/components/ArticleList/ArticleSummary.d.ts.map +0 -1
  44. package/lib/components/ArticleList/ArticleSummary.js +0 -56
  45. package/lib/components/ArticleList/ArticleSummary.js.map +0 -1
  46. package/lib/components/ArticleList/index.d.ts +0 -6
  47. package/lib/components/ArticleList/index.d.ts.map +0 -1
  48. package/lib/components/ArticleList/index.js +0 -4
  49. package/lib/components/ArticleList/index.js.map +0 -1
  50. package/lib/components/Assignments/Assignments.d.ts +0 -21
  51. package/lib/components/Assignments/Assignments.d.ts.map +0 -1
  52. package/lib/components/Assignments/Assignments.js +0 -20
  53. package/lib/components/Assignments/Assignments.js.map +0 -1
  54. package/lib/components/Assignments/Assignments.styles.d.ts +0 -8
  55. package/lib/components/Assignments/Assignments.styles.d.ts.map +0 -1
  56. package/lib/components/Assignments/Assignments.styles.js +0 -41
  57. package/lib/components/Assignments/Assignments.styles.js.map +0 -1
  58. package/lib/components/Assignments/index.d.ts +0 -2
  59. package/lib/components/Assignments/index.d.ts.map +0 -1
  60. package/lib/components/Assignments/index.js +0 -2
  61. package/lib/components/Assignments/index.js.map +0 -1
  62. package/lib/components/CasePreview/CasePreview.d.ts +0 -27
  63. package/lib/components/CasePreview/CasePreview.d.ts.map +0 -1
  64. package/lib/components/CasePreview/CasePreview.js +0 -82
  65. package/lib/components/CasePreview/CasePreview.js.map +0 -1
  66. package/lib/components/CasePreview/CasePreview.test-ids.d.ts +0 -2
  67. package/lib/components/CasePreview/CasePreview.test-ids.d.ts.map +0 -1
  68. package/lib/components/CasePreview/CasePreview.test-ids.js +0 -3
  69. package/lib/components/CasePreview/CasePreview.test-ids.js.map +0 -1
  70. package/lib/components/CasePreview/index.d.ts +0 -3
  71. package/lib/components/CasePreview/index.d.ts.map +0 -1
  72. package/lib/components/CasePreview/index.js +0 -2
  73. package/lib/components/CasePreview/index.js.map +0 -1
  74. package/lib/components/CaseView/CaseHeader/CaseHeader.d.ts +0 -4
  75. package/lib/components/CaseView/CaseHeader/CaseHeader.d.ts.map +0 -1
  76. package/lib/components/CaseView/CaseHeader/CaseHeader.js +0 -127
  77. package/lib/components/CaseView/CaseHeader/CaseHeader.js.map +0 -1
  78. package/lib/components/CaseView/CaseHeader/Summary.d.ts +0 -6
  79. package/lib/components/CaseView/CaseHeader/Summary.d.ts.map +0 -1
  80. package/lib/components/CaseView/CaseHeader/Summary.js +0 -182
  81. package/lib/components/CaseView/CaseHeader/Summary.js.map +0 -1
  82. package/lib/components/CaseView/CaseSummary.d.ts +0 -4
  83. package/lib/components/CaseView/CaseSummary.d.ts.map +0 -1
  84. package/lib/components/CaseView/CaseSummary.js +0 -18
  85. package/lib/components/CaseView/CaseSummary.js.map +0 -1
  86. package/lib/components/CaseView/CaseSummaryFields.d.ts +0 -6
  87. package/lib/components/CaseView/CaseSummaryFields.d.ts.map +0 -1
  88. package/lib/components/CaseView/CaseSummaryFields.js +0 -18
  89. package/lib/components/CaseView/CaseSummaryFields.js.map +0 -1
  90. package/lib/components/CaseView/CaseView.context.d.ts +0 -5
  91. package/lib/components/CaseView/CaseView.context.d.ts.map +0 -1
  92. package/lib/components/CaseView/CaseView.context.js +0 -5
  93. package/lib/components/CaseView/CaseView.context.js.map +0 -1
  94. package/lib/components/CaseView/CaseView.d.ts +0 -8
  95. package/lib/components/CaseView/CaseView.d.ts.map +0 -1
  96. package/lib/components/CaseView/CaseView.js +0 -421
  97. package/lib/components/CaseView/CaseView.js.map +0 -1
  98. package/lib/components/CaseView/CaseView.styles.d.ts +0 -45
  99. package/lib/components/CaseView/CaseView.styles.d.ts.map +0 -1
  100. package/lib/components/CaseView/CaseView.styles.js +0 -559
  101. package/lib/components/CaseView/CaseView.styles.js.map +0 -1
  102. package/lib/components/CaseView/CaseView.test-ids.d.ts +0 -2
  103. package/lib/components/CaseView/CaseView.test-ids.d.ts.map +0 -1
  104. package/lib/components/CaseView/CaseView.test-ids.js +0 -18
  105. package/lib/components/CaseView/CaseView.test-ids.js.map +0 -1
  106. package/lib/components/CaseView/CaseView.types.d.ts +0 -98
  107. package/lib/components/CaseView/CaseView.types.d.ts.map +0 -1
  108. package/lib/components/CaseView/CaseView.types.js +0 -2
  109. package/lib/components/CaseView/CaseView.types.js.map +0 -1
  110. package/lib/components/CaseView/UtilitiesSummary.d.ts +0 -9
  111. package/lib/components/CaseView/UtilitiesSummary.d.ts.map +0 -1
  112. package/lib/components/CaseView/UtilitiesSummary.js +0 -53
  113. package/lib/components/CaseView/UtilitiesSummary.js.map +0 -1
  114. package/lib/components/CaseView/UtilitySummaryItemDialog.d.ts +0 -9
  115. package/lib/components/CaseView/UtilitySummaryItemDialog.d.ts.map +0 -1
  116. package/lib/components/CaseView/UtilitySummaryItemDialog.js +0 -29
  117. package/lib/components/CaseView/UtilitySummaryItemDialog.js.map +0 -1
  118. package/lib/components/CaseView/index.d.ts +0 -5
  119. package/lib/components/CaseView/index.d.ts.map +0 -1
  120. package/lib/components/CaseView/index.js +0 -4
  121. package/lib/components/CaseView/index.js.map +0 -1
  122. package/lib/components/ConfigurableLayout/ConfigurableLayout.d.ts +0 -4
  123. package/lib/components/ConfigurableLayout/ConfigurableLayout.d.ts.map +0 -1
  124. package/lib/components/ConfigurableLayout/ConfigurableLayout.js +0 -86
  125. package/lib/components/ConfigurableLayout/ConfigurableLayout.js.map +0 -1
  126. package/lib/components/ConfigurableLayout/ConfigurableLayout.types.d.ts +0 -41
  127. package/lib/components/ConfigurableLayout/ConfigurableLayout.types.d.ts.map +0 -1
  128. package/lib/components/ConfigurableLayout/ConfigurableLayout.types.js +0 -2
  129. package/lib/components/ConfigurableLayout/ConfigurableLayout.types.js.map +0 -1
  130. package/lib/components/ConfigurableLayout/LayoutCell.d.ts +0 -6
  131. package/lib/components/ConfigurableLayout/LayoutCell.d.ts.map +0 -1
  132. package/lib/components/ConfigurableLayout/LayoutCell.js +0 -64
  133. package/lib/components/ConfigurableLayout/LayoutCell.js.map +0 -1
  134. package/lib/components/ConfigurableLayout/defaults.d.ts +0 -4
  135. package/lib/components/ConfigurableLayout/defaults.d.ts.map +0 -1
  136. package/lib/components/ConfigurableLayout/defaults.js +0 -4
  137. package/lib/components/ConfigurableLayout/defaults.js.map +0 -1
  138. package/lib/components/ConfigurableLayout/index.d.ts +0 -4
  139. package/lib/components/ConfigurableLayout/index.d.ts.map +0 -1
  140. package/lib/components/ConfigurableLayout/index.js +0 -3
  141. package/lib/components/ConfigurableLayout/index.js.map +0 -1
  142. package/lib/components/ConfigurableLayout/options.d.ts +0 -10
  143. package/lib/components/ConfigurableLayout/options.d.ts.map +0 -1
  144. package/lib/components/ConfigurableLayout/options.js +0 -10
  145. package/lib/components/ConfigurableLayout/options.js.map +0 -1
  146. package/lib/components/ConfigurableLayout/useTrackWrappedRegions.d.ts +0 -7
  147. package/lib/components/ConfigurableLayout/useTrackWrappedRegions.d.ts.map +0 -1
  148. package/lib/components/ConfigurableLayout/useTrackWrappedRegions.js +0 -37
  149. package/lib/components/ConfigurableLayout/useTrackWrappedRegions.js.map +0 -1
  150. package/lib/components/Confirmation/Confirmation.d.ts +0 -19
  151. package/lib/components/Confirmation/Confirmation.d.ts.map +0 -1
  152. package/lib/components/Confirmation/Confirmation.js +0 -29
  153. package/lib/components/Confirmation/Confirmation.js.map +0 -1
  154. package/lib/components/Confirmation/index.d.ts +0 -3
  155. package/lib/components/Confirmation/index.d.ts.map +0 -1
  156. package/lib/components/Confirmation/index.js +0 -2
  157. package/lib/components/Confirmation/index.js.map +0 -1
  158. package/lib/components/Details/Details.d.ts +0 -38
  159. package/lib/components/Details/Details.d.ts.map +0 -1
  160. package/lib/components/Details/Details.js +0 -92
  161. package/lib/components/Details/Details.js.map +0 -1
  162. package/lib/components/Details/Details.styles.d.ts +0 -50
  163. package/lib/components/Details/Details.styles.d.ts.map +0 -1
  164. package/lib/components/Details/Details.styles.js +0 -204
  165. package/lib/components/Details/Details.styles.js.map +0 -1
  166. package/lib/components/Details/Details.test-ids.d.ts +0 -2
  167. package/lib/components/Details/Details.test-ids.d.ts.map +0 -1
  168. package/lib/components/Details/Details.test-ids.js +0 -9
  169. package/lib/components/Details/Details.test-ids.js.map +0 -1
  170. package/lib/components/Details/DetailsContext.d.ts +0 -9
  171. package/lib/components/Details/DetailsContext.d.ts.map +0 -1
  172. package/lib/components/Details/DetailsContext.js +0 -9
  173. package/lib/components/Details/DetailsContext.js.map +0 -1
  174. package/lib/components/Details/index.d.ts +0 -4
  175. package/lib/components/Details/index.d.ts.map +0 -1
  176. package/lib/components/Details/index.js +0 -4
  177. package/lib/components/Details/index.js.map +0 -1
  178. package/lib/components/Glimpse/Glimpse.d.ts +0 -20
  179. package/lib/components/Glimpse/Glimpse.d.ts.map +0 -1
  180. package/lib/components/Glimpse/Glimpse.js +0 -12
  181. package/lib/components/Glimpse/Glimpse.js.map +0 -1
  182. package/lib/components/Glimpse/index.d.ts +0 -3
  183. package/lib/components/Glimpse/index.d.ts.map +0 -1
  184. package/lib/components/Glimpse/index.js +0 -2
  185. package/lib/components/Glimpse/index.js.map +0 -1
  186. package/lib/components/IntelligentGuidance/IntelligentGuidance.d.ts +0 -6
  187. package/lib/components/IntelligentGuidance/IntelligentGuidance.d.ts.map +0 -1
  188. package/lib/components/IntelligentGuidance/IntelligentGuidance.js +0 -83
  189. package/lib/components/IntelligentGuidance/IntelligentGuidance.js.map +0 -1
  190. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.d.ts +0 -9
  191. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.d.ts.map +0 -1
  192. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.js +0 -199
  193. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.js.map +0 -1
  194. package/lib/components/IntelligentGuidance/IntelligentGuidance.types.d.ts +0 -35
  195. package/lib/components/IntelligentGuidance/IntelligentGuidance.types.d.ts.map +0 -1
  196. package/lib/components/IntelligentGuidance/IntelligentGuidance.types.js +0 -2
  197. package/lib/components/IntelligentGuidance/IntelligentGuidance.types.js.map +0 -1
  198. package/lib/components/IntelligentGuidance/index.d.ts +0 -3
  199. package/lib/components/IntelligentGuidance/index.d.ts.map +0 -1
  200. package/lib/components/IntelligentGuidance/index.js +0 -2
  201. package/lib/components/IntelligentGuidance/index.js.map +0 -1
  202. package/lib/components/Predictions/Predictions.d.ts +0 -6
  203. package/lib/components/Predictions/Predictions.d.ts.map +0 -1
  204. package/lib/components/Predictions/Predictions.js +0 -68
  205. package/lib/components/Predictions/Predictions.js.map +0 -1
  206. package/lib/components/Predictions/Predictions.types.d.ts +0 -23
  207. package/lib/components/Predictions/Predictions.types.d.ts.map +0 -1
  208. package/lib/components/Predictions/Predictions.types.js +0 -2
  209. package/lib/components/Predictions/Predictions.types.js.map +0 -1
  210. package/lib/components/Predictions/index.d.ts +0 -3
  211. package/lib/components/Predictions/index.d.ts.map +0 -1
  212. package/lib/components/Predictions/index.js +0 -2
  213. package/lib/components/Predictions/index.js.map +0 -1
  214. package/lib/components/SearchResults/Filter.d.ts +0 -8
  215. package/lib/components/SearchResults/Filter.d.ts.map +0 -1
  216. package/lib/components/SearchResults/Filter.js +0 -45
  217. package/lib/components/SearchResults/Filter.js.map +0 -1
  218. package/lib/components/SearchResults/SearchResult.d.ts +0 -4
  219. package/lib/components/SearchResults/SearchResult.d.ts.map +0 -1
  220. package/lib/components/SearchResults/SearchResult.js +0 -27
  221. package/lib/components/SearchResults/SearchResult.js.map +0 -1
  222. package/lib/components/SearchResults/SearchResults.d.ts +0 -6
  223. package/lib/components/SearchResults/SearchResults.d.ts.map +0 -1
  224. package/lib/components/SearchResults/SearchResults.js +0 -121
  225. package/lib/components/SearchResults/SearchResults.js.map +0 -1
  226. package/lib/components/SearchResults/SearchResults.styles.d.ts +0 -11
  227. package/lib/components/SearchResults/SearchResults.styles.d.ts.map +0 -1
  228. package/lib/components/SearchResults/SearchResults.styles.js +0 -88
  229. package/lib/components/SearchResults/SearchResults.styles.js.map +0 -1
  230. package/lib/components/SearchResults/SearchResults.types.d.ts +0 -100
  231. package/lib/components/SearchResults/SearchResults.types.d.ts.map +0 -1
  232. package/lib/components/SearchResults/SearchResults.types.js +0 -2
  233. package/lib/components/SearchResults/SearchResults.types.js.map +0 -1
  234. package/lib/components/SearchResults/index.d.ts +0 -3
  235. package/lib/components/SearchResults/index.d.ts.map +0 -1
  236. package/lib/components/SearchResults/index.js +0 -2
  237. package/lib/components/SearchResults/index.js.map +0 -1
  238. package/lib/components/Stages/StageGlimpse.d.ts +0 -8
  239. package/lib/components/Stages/StageGlimpse.d.ts.map +0 -1
  240. package/lib/components/Stages/StageGlimpse.js +0 -11
  241. package/lib/components/Stages/StageGlimpse.js.map +0 -1
  242. package/lib/components/Stages/Stages.d.ts +0 -6
  243. package/lib/components/Stages/Stages.d.ts.map +0 -1
  244. package/lib/components/Stages/Stages.js +0 -107
  245. package/lib/components/Stages/Stages.js.map +0 -1
  246. package/lib/components/Stages/Stages.styles.d.ts +0 -14
  247. package/lib/components/Stages/Stages.styles.d.ts.map +0 -1
  248. package/lib/components/Stages/Stages.styles.js +0 -270
  249. package/lib/components/Stages/Stages.styles.js.map +0 -1
  250. package/lib/components/Stages/Stages.types.d.ts +0 -38
  251. package/lib/components/Stages/Stages.types.d.ts.map +0 -1
  252. package/lib/components/Stages/Stages.types.js +0 -2
  253. package/lib/components/Stages/Stages.types.js.map +0 -1
  254. package/lib/components/Stages/index.d.ts +0 -3
  255. package/lib/components/Stages/index.d.ts.map +0 -1
  256. package/lib/components/Stages/index.js +0 -2
  257. package/lib/components/Stages/index.js.map +0 -1
  258. package/lib/components/Stakeholders/StakeholderForm.d.ts +0 -7
  259. package/lib/components/Stakeholders/StakeholderForm.d.ts.map +0 -1
  260. package/lib/components/Stakeholders/StakeholderForm.js +0 -49
  261. package/lib/components/Stakeholders/StakeholderForm.js.map +0 -1
  262. package/lib/components/Stakeholders/Stakeholders.d.ts +0 -6
  263. package/lib/components/Stakeholders/Stakeholders.d.ts.map +0 -1
  264. package/lib/components/Stakeholders/Stakeholders.js +0 -220
  265. package/lib/components/Stakeholders/Stakeholders.js.map +0 -1
  266. package/lib/components/Stakeholders/Stakeholders.types.d.ts +0 -75
  267. package/lib/components/Stakeholders/Stakeholders.types.d.ts.map +0 -1
  268. package/lib/components/Stakeholders/Stakeholders.types.js +0 -2
  269. package/lib/components/Stakeholders/Stakeholders.types.js.map +0 -1
  270. package/lib/components/Stakeholders/index.d.ts +0 -3
  271. package/lib/components/Stakeholders/index.d.ts.map +0 -1
  272. package/lib/components/Stakeholders/index.js +0 -2
  273. package/lib/components/Stakeholders/index.js.map +0 -1
  274. package/lib/components/Tags/Tags.d.ts +0 -34
  275. package/lib/components/Tags/Tags.d.ts.map +0 -1
  276. package/lib/components/Tags/Tags.js +0 -230
  277. package/lib/components/Tags/Tags.js.map +0 -1
  278. package/lib/components/Tags/index.d.ts +0 -3
  279. package/lib/components/Tags/index.d.ts.map +0 -1
  280. package/lib/components/Tags/index.js +0 -2
  281. package/lib/components/Tags/index.js.map +0 -1
  282. package/lib/components/Tasks/TaskList.d.ts +0 -39
  283. package/lib/components/Tasks/TaskList.d.ts.map +0 -1
  284. package/lib/components/Tasks/TaskList.js +0 -71
  285. package/lib/components/Tasks/TaskList.js.map +0 -1
  286. package/lib/components/Tasks/Tasks.d.ts +0 -29
  287. package/lib/components/Tasks/Tasks.d.ts.map +0 -1
  288. package/lib/components/Tasks/Tasks.js +0 -52
  289. package/lib/components/Tasks/Tasks.js.map +0 -1
  290. package/lib/components/Tasks/Tasks.test-ids.d.ts +0 -4
  291. package/lib/components/Tasks/Tasks.test-ids.d.ts.map +0 -1
  292. package/lib/components/Tasks/Tasks.test-ids.js +0 -5
  293. package/lib/components/Tasks/Tasks.test-ids.js.map +0 -1
  294. package/lib/components/Tasks/index.d.ts +0 -4
  295. package/lib/components/Tasks/index.d.ts.map +0 -1
  296. package/lib/components/Tasks/index.js +0 -4
  297. package/lib/components/Tasks/index.js.map +0 -1
  298. package/lib/components/Timeline/Timeline.d.ts +0 -6
  299. package/lib/components/Timeline/Timeline.d.ts.map +0 -1
  300. package/lib/components/Timeline/Timeline.js +0 -26
  301. package/lib/components/Timeline/Timeline.js.map +0 -1
  302. package/lib/components/Timeline/Timeline.styles.d.ts +0 -21
  303. package/lib/components/Timeline/Timeline.styles.d.ts.map +0 -1
  304. package/lib/components/Timeline/Timeline.styles.js +0 -165
  305. package/lib/components/Timeline/Timeline.styles.js.map +0 -1
  306. package/lib/components/Timeline/Timeline.types.d.ts +0 -66
  307. package/lib/components/Timeline/Timeline.types.d.ts.map +0 -1
  308. package/lib/components/Timeline/Timeline.types.js +0 -2
  309. package/lib/components/Timeline/Timeline.types.js.map +0 -1
  310. package/lib/components/Timeline/TimelineItem.d.ts +0 -13
  311. package/lib/components/Timeline/TimelineItem.d.ts.map +0 -1
  312. package/lib/components/Timeline/TimelineItem.js +0 -33
  313. package/lib/components/Timeline/TimelineItem.js.map +0 -1
  314. package/lib/components/Timeline/TimelineToolbar.d.ts +0 -6
  315. package/lib/components/Timeline/TimelineToolbar.d.ts.map +0 -1
  316. package/lib/components/Timeline/TimelineToolbar.js +0 -68
  317. package/lib/components/Timeline/TimelineToolbar.js.map +0 -1
  318. package/lib/components/Timeline/index.d.ts +0 -4
  319. package/lib/components/Timeline/index.d.ts.map +0 -1
  320. package/lib/components/Timeline/index.js +0 -3
  321. package/lib/components/Timeline/index.js.map +0 -1
  322. package/lib/components/Timeline/utils.d.ts +0 -15
  323. package/lib/components/Timeline/utils.d.ts.map +0 -1
  324. package/lib/components/Timeline/utils.js +0 -75
  325. package/lib/components/Timeline/utils.js.map +0 -1
  326. package/lib/index.d.ts +0 -37
  327. package/lib/index.d.ts.map +0 -1
  328. package/lib/index.js +0 -38
  329. package/lib/index.js.map +0 -1
@@ -1,559 +0,0 @@
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
@@ -1 +0,0 @@
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,UAA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A;;;;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"]}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,18 +0,0 @@
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
@@ -1 +0,0 @@
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"]}