@pega/cosmos-react-work 4.0.0-dev.9.1 → 4.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. package/lib/components/AppAnnouncement/AppAnnouncement.d.ts +7 -21
  2. package/lib/components/AppAnnouncement/AppAnnouncement.d.ts.map +1 -1
  3. package/lib/components/AppAnnouncement/AppAnnouncement.js +3 -2
  4. package/lib/components/AppAnnouncement/AppAnnouncement.js.map +1 -1
  5. package/lib/components/AppAnnouncement/index.d.ts +1 -1
  6. package/lib/components/AppAnnouncement/index.d.ts.map +1 -1
  7. package/lib/components/AppAnnouncement/index.js.map +1 -1
  8. package/lib/components/Article/Article.d.ts +49 -0
  9. package/lib/components/Article/Article.d.ts.map +1 -0
  10. package/lib/components/Article/Article.js +73 -0
  11. package/lib/components/Article/Article.js.map +1 -0
  12. package/lib/components/Article/ArticleFooter.d.ts +40 -0
  13. package/lib/components/Article/ArticleFooter.d.ts.map +1 -0
  14. package/lib/components/Article/ArticleFooter.js +54 -0
  15. package/lib/components/Article/ArticleFooter.js.map +1 -0
  16. package/lib/components/Article/ArticleMeta.d.ts +13 -0
  17. package/lib/components/Article/ArticleMeta.d.ts.map +1 -0
  18. package/lib/components/Article/ArticleMeta.js +24 -0
  19. package/lib/components/Article/ArticleMeta.js.map +1 -0
  20. package/lib/components/Article/index.d.ts +5 -0
  21. package/lib/components/Article/index.d.ts.map +1 -0
  22. package/lib/components/Article/index.js +3 -0
  23. package/lib/components/Article/index.js.map +1 -0
  24. package/lib/components/ArticleList/ArticleList.d.ts +6 -0
  25. package/lib/components/ArticleList/ArticleList.d.ts.map +1 -0
  26. package/lib/components/ArticleList/ArticleList.js +137 -0
  27. package/lib/components/ArticleList/ArticleList.js.map +1 -0
  28. package/lib/components/ArticleList/ArticleList.types.d.ts +87 -0
  29. package/lib/components/ArticleList/ArticleList.types.d.ts.map +1 -0
  30. package/lib/components/ArticleList/ArticleList.types.js +2 -0
  31. package/lib/components/ArticleList/ArticleList.types.js.map +1 -0
  32. package/lib/components/ArticleList/ArticleListFilter.d.ts +6 -0
  33. package/lib/components/ArticleList/ArticleListFilter.d.ts.map +1 -0
  34. package/lib/components/ArticleList/ArticleListFilter.js +61 -0
  35. package/lib/components/ArticleList/ArticleListFilter.js.map +1 -0
  36. package/lib/components/ArticleList/ArticleListHeader.d.ts +5 -0
  37. package/lib/components/ArticleList/ArticleListHeader.d.ts.map +1 -0
  38. package/lib/components/ArticleList/ArticleListHeader.js +20 -0
  39. package/lib/components/ArticleList/ArticleListHeader.js.map +1 -0
  40. package/lib/components/ArticleList/ArticleSummary.d.ts +7 -0
  41. package/lib/components/ArticleList/ArticleSummary.d.ts.map +1 -0
  42. package/lib/components/ArticleList/ArticleSummary.js +56 -0
  43. package/lib/components/ArticleList/ArticleSummary.js.map +1 -0
  44. package/lib/components/ArticleList/index.d.ts +6 -0
  45. package/lib/components/ArticleList/index.d.ts.map +1 -0
  46. package/lib/components/ArticleList/index.js +4 -0
  47. package/lib/components/ArticleList/index.js.map +1 -0
  48. package/lib/components/Assignments/Assignments.d.ts +21 -0
  49. package/lib/components/Assignments/Assignments.d.ts.map +1 -0
  50. package/lib/components/Assignments/Assignments.js +20 -0
  51. package/lib/components/Assignments/Assignments.js.map +1 -0
  52. package/lib/components/Assignments/Assignments.styles.d.ts +8 -0
  53. package/lib/components/Assignments/Assignments.styles.d.ts.map +1 -0
  54. package/lib/components/Assignments/Assignments.styles.js +41 -0
  55. package/lib/components/Assignments/Assignments.styles.js.map +1 -0
  56. package/lib/components/Assignments/index.d.ts +2 -0
  57. package/lib/components/Assignments/index.d.ts.map +1 -0
  58. package/lib/components/Assignments/index.js +2 -0
  59. package/lib/components/Assignments/index.js.map +1 -0
  60. package/lib/components/CasePreview/CasePreview.d.ts +9 -4
  61. package/lib/components/CasePreview/CasePreview.d.ts.map +1 -1
  62. package/lib/components/CasePreview/CasePreview.js +7 -10
  63. package/lib/components/CasePreview/CasePreview.js.map +1 -1
  64. package/lib/components/CasePreview/CasePreview.test-ids.d.ts +2 -0
  65. package/lib/components/CasePreview/CasePreview.test-ids.d.ts.map +1 -0
  66. package/lib/components/CasePreview/CasePreview.test-ids.js +3 -0
  67. package/lib/components/CasePreview/CasePreview.test-ids.js.map +1 -0
  68. package/lib/components/CasePreview/index.d.ts +1 -1
  69. package/lib/components/CasePreview/index.d.ts.map +1 -1
  70. package/lib/components/CasePreview/index.js.map +1 -1
  71. package/lib/components/CaseView/CaseHeader/CaseHeader.d.ts.map +1 -0
  72. package/lib/components/CaseView/CaseHeader/CaseHeader.js +119 -0
  73. package/lib/components/CaseView/CaseHeader/CaseHeader.js.map +1 -0
  74. package/lib/components/CaseView/CaseHeader/Summary.d.ts +6 -0
  75. package/lib/components/CaseView/CaseHeader/Summary.d.ts.map +1 -0
  76. package/lib/components/CaseView/CaseHeader/Summary.js +182 -0
  77. package/lib/components/CaseView/CaseHeader/Summary.js.map +1 -0
  78. package/lib/components/CaseView/CaseSummary.d.ts.map +1 -1
  79. package/lib/components/CaseView/CaseSummary.js +9 -4
  80. package/lib/components/CaseView/CaseSummary.js.map +1 -1
  81. package/lib/components/CaseView/CaseSummaryFields.d.ts.map +1 -1
  82. package/lib/components/CaseView/CaseSummaryFields.js +12 -3
  83. package/lib/components/CaseView/CaseSummaryFields.js.map +1 -1
  84. package/lib/components/CaseView/CaseView.d.ts +4 -2
  85. package/lib/components/CaseView/CaseView.d.ts.map +1 -1
  86. package/lib/components/CaseView/CaseView.js +174 -67
  87. package/lib/components/CaseView/CaseView.js.map +1 -1
  88. package/lib/components/CaseView/CaseView.styles.d.ts +45 -22
  89. package/lib/components/CaseView/CaseView.styles.d.ts.map +1 -1
  90. package/lib/components/CaseView/CaseView.styles.js +298 -79
  91. package/lib/components/CaseView/CaseView.styles.js.map +1 -1
  92. package/lib/components/CaseView/CaseView.test-ids.d.ts +2 -0
  93. package/lib/components/CaseView/CaseView.test-ids.d.ts.map +1 -0
  94. package/lib/components/CaseView/CaseView.test-ids.js +17 -0
  95. package/lib/components/CaseView/CaseView.test-ids.js.map +1 -0
  96. package/lib/components/CaseView/CaseView.types.d.ts +23 -24
  97. package/lib/components/CaseView/CaseView.types.d.ts.map +1 -1
  98. package/lib/components/CaseView/CaseView.types.js.map +1 -1
  99. package/lib/components/CaseView/UtilitiesSummary.d.ts +0 -1
  100. package/lib/components/CaseView/UtilitiesSummary.d.ts.map +1 -1
  101. package/lib/components/CaseView/UtilitiesSummary.js +4 -8
  102. package/lib/components/CaseView/UtilitiesSummary.js.map +1 -1
  103. package/lib/components/CaseView/index.d.ts +1 -6
  104. package/lib/components/CaseView/index.d.ts.map +1 -1
  105. package/lib/components/CaseView/index.js +0 -4
  106. package/lib/components/CaseView/index.js.map +1 -1
  107. package/lib/components/ConfigurableLayout/ConfigurableLayout.d.ts.map +1 -1
  108. package/lib/components/ConfigurableLayout/ConfigurableLayout.js +1 -1
  109. package/lib/components/ConfigurableLayout/ConfigurableLayout.js.map +1 -1
  110. package/lib/components/ConfigurableLayout/ConfigurableLayout.types.d.ts +1 -3
  111. package/lib/components/ConfigurableLayout/ConfigurableLayout.types.d.ts.map +1 -1
  112. package/lib/components/ConfigurableLayout/ConfigurableLayout.types.js.map +1 -1
  113. package/lib/components/ConfigurableLayout/index.d.ts +1 -1
  114. package/lib/components/ConfigurableLayout/index.d.ts.map +1 -1
  115. package/lib/components/ConfigurableLayout/index.js.map +1 -1
  116. package/lib/components/Confirmation/Confirmation.d.ts +1 -1
  117. package/lib/components/Confirmation/Confirmation.d.ts.map +1 -1
  118. package/lib/components/Confirmation/Confirmation.js +20 -5
  119. package/lib/components/Confirmation/Confirmation.js.map +1 -1
  120. package/lib/components/Confirmation/index.d.ts +1 -1
  121. package/lib/components/Confirmation/index.d.ts.map +1 -1
  122. package/lib/components/Confirmation/index.js.map +1 -1
  123. package/lib/components/Details/Details.d.ts +8 -4
  124. package/lib/components/Details/Details.d.ts.map +1 -1
  125. package/lib/components/Details/Details.js +33 -21
  126. package/lib/components/Details/Details.js.map +1 -1
  127. package/lib/components/Details/Details.styles.d.ts +7 -4
  128. package/lib/components/Details/Details.styles.d.ts.map +1 -1
  129. package/lib/components/Details/Details.styles.js +46 -101
  130. package/lib/components/Details/Details.styles.js.map +1 -1
  131. package/lib/components/Details/Details.test-ids.d.ts +2 -0
  132. package/lib/components/Details/Details.test-ids.d.ts.map +1 -0
  133. package/lib/components/Details/Details.test-ids.js +9 -0
  134. package/lib/components/Details/Details.test-ids.js.map +1 -0
  135. package/lib/components/Glimpse/Glimpse.d.ts +10 -10
  136. package/lib/components/Glimpse/Glimpse.d.ts.map +1 -1
  137. package/lib/components/Glimpse/Glimpse.js +7 -17
  138. package/lib/components/Glimpse/Glimpse.js.map +1 -1
  139. package/lib/components/Glimpse/index.d.ts +1 -1
  140. package/lib/components/Glimpse/index.d.ts.map +1 -1
  141. package/lib/components/Glimpse/index.js +0 -1
  142. package/lib/components/Glimpse/index.js.map +1 -1
  143. package/lib/components/IntelligentGuidance/IntelligentGuidance.d.ts.map +1 -1
  144. package/lib/components/IntelligentGuidance/IntelligentGuidance.js +38 -27
  145. package/lib/components/IntelligentGuidance/IntelligentGuidance.js.map +1 -1
  146. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.d.ts +3 -2
  147. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.d.ts.map +1 -1
  148. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.js +137 -81
  149. package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.js.map +1 -1
  150. package/lib/components/IntelligentGuidance/IntelligentGuidance.types.d.ts +9 -9
  151. package/lib/components/IntelligentGuidance/IntelligentGuidance.types.d.ts.map +1 -1
  152. package/lib/components/IntelligentGuidance/IntelligentGuidance.types.js.map +1 -1
  153. package/lib/components/IntelligentGuidance/index.d.ts +1 -1
  154. package/lib/components/IntelligentGuidance/index.d.ts.map +1 -1
  155. package/lib/components/IntelligentGuidance/index.js.map +1 -1
  156. package/lib/components/Predictions/Predictions.d.ts +6 -0
  157. package/lib/components/Predictions/Predictions.d.ts.map +1 -0
  158. package/lib/components/Predictions/Predictions.js +68 -0
  159. package/lib/components/Predictions/Predictions.js.map +1 -0
  160. package/lib/components/Predictions/Predictions.types.d.ts +23 -0
  161. package/lib/components/Predictions/Predictions.types.d.ts.map +1 -0
  162. package/lib/components/Predictions/Predictions.types.js +2 -0
  163. package/lib/components/Predictions/Predictions.types.js.map +1 -0
  164. package/lib/components/Predictions/index.d.ts +3 -0
  165. package/lib/components/Predictions/index.d.ts.map +1 -0
  166. package/lib/components/Predictions/index.js +2 -0
  167. package/lib/components/Predictions/index.js.map +1 -0
  168. package/lib/components/SearchResults/SearchResults.js +1 -1
  169. package/lib/components/SearchResults/SearchResults.js.map +1 -1
  170. package/lib/components/SearchResults/SearchResults.types.d.ts +5 -5
  171. package/lib/components/SearchResults/SearchResults.types.d.ts.map +1 -1
  172. package/lib/components/SearchResults/SearchResults.types.js.map +1 -1
  173. package/lib/components/SearchResults/index.d.ts +1 -1
  174. package/lib/components/SearchResults/index.d.ts.map +1 -1
  175. package/lib/components/SearchResults/index.js.map +1 -1
  176. package/lib/components/Stages/Stages.d.ts.map +1 -1
  177. package/lib/components/Stages/Stages.js +8 -8
  178. package/lib/components/Stages/Stages.js.map +1 -1
  179. package/lib/components/Stages/Stages.styles.d.ts.map +1 -1
  180. package/lib/components/Stages/Stages.styles.js +0 -2
  181. package/lib/components/Stages/Stages.styles.js.map +1 -1
  182. package/lib/components/Stages/index.d.ts +1 -1
  183. package/lib/components/Stages/index.d.ts.map +1 -1
  184. package/lib/components/Stages/index.js.map +1 -1
  185. package/lib/components/Stakeholders/Stakeholders.d.ts.map +1 -1
  186. package/lib/components/Stakeholders/Stakeholders.js +3 -3
  187. package/lib/components/Stakeholders/Stakeholders.js.map +1 -1
  188. package/lib/components/Stakeholders/Stakeholders.types.d.ts +5 -13
  189. package/lib/components/Stakeholders/Stakeholders.types.d.ts.map +1 -1
  190. package/lib/components/Stakeholders/Stakeholders.types.js.map +1 -1
  191. package/lib/components/Stakeholders/index.d.ts +1 -1
  192. package/lib/components/Stakeholders/index.d.ts.map +1 -1
  193. package/lib/components/Stakeholders/index.js.map +1 -1
  194. package/lib/components/Tags/Tags.d.ts +1 -1
  195. package/lib/components/Tags/Tags.d.ts.map +1 -1
  196. package/lib/components/Tags/Tags.js +5 -21
  197. package/lib/components/Tags/Tags.js.map +1 -1
  198. package/lib/components/Tags/index.d.ts +2 -1
  199. package/lib/components/Tags/index.d.ts.map +1 -1
  200. package/lib/components/Tags/index.js.map +1 -1
  201. package/lib/components/Tasks/TaskList.d.ts +18 -7
  202. package/lib/components/Tasks/TaskList.d.ts.map +1 -1
  203. package/lib/components/Tasks/TaskList.js +48 -10
  204. package/lib/components/Tasks/TaskList.js.map +1 -1
  205. package/lib/components/Tasks/Tasks.d.ts +21 -15
  206. package/lib/components/Tasks/Tasks.d.ts.map +1 -1
  207. package/lib/components/Tasks/Tasks.js +9 -9
  208. package/lib/components/Tasks/Tasks.js.map +1 -1
  209. package/lib/components/Tasks/Tasks.test-ids.d.ts +4 -0
  210. package/lib/components/Tasks/Tasks.test-ids.d.ts.map +1 -0
  211. package/lib/components/Tasks/Tasks.test-ids.js +5 -0
  212. package/lib/components/Tasks/Tasks.test-ids.js.map +1 -0
  213. package/lib/components/Tasks/index.d.ts +3 -5
  214. package/lib/components/Tasks/index.d.ts.map +1 -1
  215. package/lib/components/Tasks/index.js +1 -0
  216. package/lib/components/Tasks/index.js.map +1 -1
  217. package/lib/components/Timeline/Timeline.d.ts.map +1 -1
  218. package/lib/components/Timeline/Timeline.js +15 -13
  219. package/lib/components/Timeline/Timeline.js.map +1 -1
  220. package/lib/components/Timeline/Timeline.styles.d.ts +4 -5
  221. package/lib/components/Timeline/Timeline.styles.d.ts.map +1 -1
  222. package/lib/components/Timeline/Timeline.styles.js +28 -53
  223. package/lib/components/Timeline/Timeline.styles.js.map +1 -1
  224. package/lib/components/Timeline/Timeline.types.d.ts +8 -8
  225. package/lib/components/Timeline/Timeline.types.d.ts.map +1 -1
  226. package/lib/components/Timeline/Timeline.types.js.map +1 -1
  227. package/lib/components/Timeline/TimelineItem.d.ts.map +1 -1
  228. package/lib/components/Timeline/TimelineItem.js +19 -7
  229. package/lib/components/Timeline/TimelineItem.js.map +1 -1
  230. package/lib/components/Timeline/TimelineToolbar.js +1 -1
  231. package/lib/components/Timeline/TimelineToolbar.js.map +1 -1
  232. package/lib/components/Timeline/index.d.ts +1 -1
  233. package/lib/components/Timeline/index.d.ts.map +1 -1
  234. package/lib/components/Timeline/index.js.map +1 -1
  235. package/lib/components/Timeline/utils.d.ts +1 -0
  236. package/lib/components/Timeline/utils.d.ts.map +1 -1
  237. package/lib/components/Timeline/utils.js +12 -0
  238. package/lib/components/Timeline/utils.js.map +1 -1
  239. package/lib/index.d.ts +8 -0
  240. package/lib/index.d.ts.map +1 -1
  241. package/lib/index.js +8 -0
  242. package/lib/index.js.map +1 -1
  243. package/package.json +14 -14
  244. package/lib/components/CaseView/CaseHeader.d.ts.map +0 -1
  245. package/lib/components/CaseView/CaseHeader.js +0 -49
  246. package/lib/components/CaseView/CaseHeader.js.map +0 -1
  247. package/lib/components/CaseView/MobileCaseView.d.ts +0 -13
  248. package/lib/components/CaseView/MobileCaseView.d.ts.map +0 -1
  249. package/lib/components/CaseView/MobileCaseView.js +0 -25
  250. package/lib/components/CaseView/MobileCaseView.js.map +0 -1
  251. /package/lib/components/CaseView/{CaseHeader.d.ts → CaseHeader/CaseHeader.d.ts} +0 -0
@@ -1,27 +1,31 @@
1
1
  import styled, { css } from 'styled-components';
2
- import { hideVisually, parseToHsl, readableColor, transparentize } from 'polished';
3
- import { Button, calculateFontSize, CardContent, defaultThemeProp, StyledBreadcrumbs, StyledButton, StyledFieldValue, StyledStackedFieldValue, StyledIcon, StyledPopover, StyledText, StyledTooltip, tryCatch, FieldValueList } from '@pega/cosmos-react-core';
2
+ import { getContrast, hideVisually, meetsContrastGuidelines, parseToHsl, 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
4
  import { StyledMenu } from '@pega/cosmos-react-core/lib/components/Menu/Menu.styles';
5
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';
6
8
  import { useCaseViewContext } from './CaseView.context';
7
9
  const labelChWidth = 16;
8
- export const StyledCaseSummaryFields = styled.div(({ theme }) => {
9
- return css `
10
- padding-block: calc(1.5 * ${theme.base.spacing});
11
- padding-inline: calc(2 * ${theme.base.spacing});
12
- `;
13
- });
10
+ const inlineEndButtonOffset = '0.375rem';
11
+ export const StyledCaseSummaryFields = styled.div ``;
14
12
  StyledCaseSummaryFields.defaultProps = defaultThemeProp;
15
- export const StyledSummaryPrimaryList = styled(FieldValueList)(({ theme }) => {
13
+ export const StyledSummaryPrimaryList = styled(FieldValueList)(({ theme, wrapped }) => {
16
14
  const fontSizes = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);
17
15
  return css `
18
- grid-template-columns: ${labelChWidth}ch auto;
16
+ ${wrapped
17
+ ? css `
18
+ grid-template-columns: minmax(0, 1fr);
19
+ `
20
+ : css `
21
+ grid-template-columns: ${labelChWidth}ch auto;
22
+ `}
19
23
 
20
- ${StyledFieldValue} {
21
- font-size: ${fontSizes[theme.components.text.h1['font-size']]};
22
- font-weight: ${theme.components.text.h1['font-weight']};
23
- }
24
- `;
24
+ ${StyledFieldValue} {
25
+ font-size: ${fontSizes[theme.components.text.h1['font-size']]};
26
+ font-weight: ${theme.components.text.h1['font-weight']};
27
+ }
28
+ `;
25
29
  });
26
30
  StyledSummaryPrimaryList.defaultProps = defaultThemeProp;
27
31
  export const StyledSummarySecondaryList = styled(FieldValueList)(() => {
@@ -36,10 +40,6 @@ export const StyledSummaryTabContent = styled(CardContent)(({ theme }) => {
36
40
  const containerWidthCh = colCountChWidth[1].containerWidth;
37
41
  const containerWidthMinusLabel = `${containerWidthCh - labelChWidth}ch`;
38
42
  return css `
39
- ${StyledCaseSummaryFields} {
40
- padding: 0;
41
- }
42
-
43
43
  ${StyledSummarySecondaryList} {
44
44
  > ${StyledStackedFieldValue} {
45
45
  max-width: ${containerWidthCh}ch;
@@ -57,7 +57,7 @@ export const StyledCaseHeader = styled.header(({ theme }) => {
57
57
  return css `
58
58
  background-color: ${theme.base.palette['brand-primary']};
59
59
  color: ${color};
60
- padding: calc(2 * ${theme.base.spacing});
60
+ padding: ${theme.base.spacing} calc(2 * ${theme.base.spacing});
61
61
  position: relative;
62
62
 
63
63
  h1:focus-visible {
@@ -81,11 +81,13 @@ export const StyledCaseIconWrap = styled.div(({ theme }) => {
81
81
  });
82
82
  return css `
83
83
  background: ${backgroundColor};
84
+ width: calc(4 * ${spacing});
85
+ height: calc(4 * ${spacing});
84
86
  border-radius: calc(${borderRadius} / 2);
85
- width: calc(5 * ${spacing});
86
- height: calc(5 * ${spacing});
87
+ margin-block-start: ${spacing};
88
+
87
89
  ${StyledIcon} {
88
- font-size: calc(3 * ${spacing});
90
+ font-size: calc(2 * ${spacing});
89
91
  margin: auto;
90
92
  }
91
93
  `;
@@ -104,6 +106,19 @@ export const StyledFollowIconWrap = styled.label `
104
106
  StyledFollowIconWrap.defaultProps = defaultThemeProp;
105
107
  export const StyledSubheading = styled.p ``;
106
108
  StyledSubheading.defaultProps = defaultThemeProp;
109
+ export const StyledHeaderActions = styled.div(({ offsetEnd, theme }) => {
110
+ return css `
111
+ margin-inline-start: auto;
112
+ padding-block: ${theme.base.spacing};
113
+ padding-inline-start: calc(2 * ${theme.base.spacing});
114
+
115
+ ${offsetEnd &&
116
+ css `
117
+ padding-inline-end: ${inlineEndButtonOffset};
118
+ `};
119
+ `;
120
+ });
121
+ StyledHeaderActions.defaultProps = defaultThemeProp;
107
122
  export const StyledCaseHeaderText = styled.hgroup(({ theme }) => {
108
123
  const color = readableColor(theme.base.palette['brand-primary']);
109
124
  const transparentColor = tryCatch(() => transparentize(0.1, color));
@@ -121,6 +136,8 @@ export const StyledCaseHeaderText = styled.hgroup(({ theme }) => {
121
136
  }
122
137
 
123
138
  ${StyledBreadcrumbs} {
139
+ max-width: 100%;
140
+
124
141
  > a,
125
142
  > span,
126
143
  > button,
@@ -140,18 +157,144 @@ export const StyledCaseHeaderText = styled.hgroup(({ theme }) => {
140
157
  }
141
158
  }
142
159
 
143
- > ${StyledText} > ${StyledButton} {
160
+ > ${StyledText} > ${StyledLink} {
144
161
  color: ${color};
145
162
  }
163
+
164
+ + ${StyledHeaderActions} {
165
+ padding-inline-start: 0;
166
+ }
146
167
  `;
147
168
  });
148
169
  StyledCaseHeaderText.defaultProps = defaultThemeProp;
149
- export const StyledPromotedActions = styled.div(({ theme }) => {
170
+ export const StyledCaseHeaderPromotedAction = styled(Button)(({ theme }) => {
171
+ const { base: { palette: { 'brand-primary': primary, interactive } } } = theme;
172
+ const interactiveUsable = getContrast(primary, interactive) >= 4.5;
173
+ const color = interactiveUsable ? interactive : readableColor(primary);
174
+ let hoverBackground = rgba(color, 0.15);
175
+ if (interactiveUsable) {
176
+ hoverBackground = readableHue(hoverBackground, color);
177
+ }
150
178
  return css `
151
- border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};
179
+ --button-background-color: ${primary};
180
+ color: ${color};
181
+ background-color: ${primary};
182
+ border-color: ${color};
183
+
184
+ @media (hover: hover) {
185
+ &:hover {
186
+ --button-background-color: ${hoverBackground};
187
+ color: ${color};
188
+ background-color: ${hoverBackground};
189
+ border-color: ${color};
190
+ }
191
+ }
192
+ `;
193
+ });
194
+ StyledCaseHeaderPromotedAction.defaultProps = defaultThemeProp;
195
+ export const StyledHeaderSummaryBlock = styled.div(({ hasItems, theme }) => {
196
+ const { base: { spacing, palette: { 'brand-primary': primary } } } = theme;
197
+ const color = readableColor(primary);
198
+ const transparentColor = tryCatch(() => transparentize(0.5, color));
199
+ return css `
200
+ ${hasItems &&
201
+ css `
202
+ border-inline-start: 0.0625rem solid ${transparentColor};
203
+ `}
204
+
205
+ ${StyledStackedFieldValue}:first-child {
206
+ margin-inline-start: calc(2 * ${spacing});
207
+ }
152
208
  `;
153
209
  });
154
- StyledPromotedActions.defaultProps = defaultThemeProp;
210
+ StyledHeaderSummaryBlock.defaultProps = defaultThemeProp;
211
+ const popoverColorReset = (theme) => {
212
+ const { base: { palette: { interactive, light, 'foreground-color': baseForeground } } } = theme;
213
+ return css `
214
+ ${StyledPopover}:not(${StyledTooltip}) {
215
+ color: ${baseForeground};
216
+
217
+ ${StyledButtonLink},
218
+ ${StyledLink} {
219
+ color: ${interactive};
220
+ text-decoration: none;
221
+
222
+ &:hover,
223
+ &:active {
224
+ text-decoration: underline;
225
+ }
226
+
227
+ &:focus {
228
+ box-shadow: inset 0 0 0 0.0625rem ${light}, 0 0 0.125rem 0.0625rem ${interactive};
229
+ }
230
+ }
231
+ }
232
+ `;
233
+ };
234
+ export const StyledHeaderSummary = styled.dl(({ theme }) => {
235
+ const { base: { palette: { 'brand-primary': primary, interactive } } } = theme;
236
+ const interactiveUsable = meetsContrastGuidelines(primary, interactive).AA;
237
+ const color = readableColor(primary);
238
+ const transparentColor = tryCatch(() => transparentize(0.1, color));
239
+ return css `
240
+ max-width: 100%;
241
+ min-width: 0;
242
+
243
+ > ${StyledStackedFieldValue} {
244
+ > ${StyledLabel} {
245
+ color: ${transparentColor};
246
+ white-space: nowrap;
247
+ }
248
+
249
+ > ${StyledFieldValue} {
250
+ color: ${color};
251
+ white-space: nowrap;
252
+ }
253
+
254
+ ${StyledButtonLink},
255
+ ${StyledLink} {
256
+ &:focus-visible {
257
+ box-shadow: inset 0 0 0 0.0625rem ${color};
258
+ }
259
+
260
+ ${!interactiveUsable &&
261
+ css `
262
+ color: ${color};
263
+ text-decoration: underline;
264
+ `}
265
+ }
266
+
267
+ ${popoverColorReset(theme)}
268
+ }
269
+ `;
270
+ });
271
+ StyledHeaderSummary.defaultProps = defaultThemeProp;
272
+ export const StyledHeaderSummaryValue = styled(StyledFieldValue)(({ bold, truncate, theme }) => {
273
+ const { base: { 'content-width': { xs } }, components: { text: { h1: { 'font-weight': h1Weight } } } } = theme;
274
+ return css `
275
+ overflow: hidden;
276
+ text-overflow: ellipsis;
277
+
278
+ ${truncate &&
279
+ css `
280
+ max-width: ${xs};
281
+ `}
282
+
283
+ ${bold &&
284
+ css `
285
+ font-weight: ${h1Weight};
286
+ `}
287
+
288
+ /*
289
+ * :not([hidden]) necessary to prevent hidden span with preview a11y instructions from
290
+ * factoring into scrollWidth of element when determining truncation.
291
+ */
292
+ > :not([hidden]) {
293
+ display: inline;
294
+ }
295
+ `;
296
+ });
297
+ StyledHeaderSummaryValue.defaultProps = defaultThemeProp;
155
298
  export const StyledCaseSummaryInfo = styled.div(() => {
156
299
  const { intelligentGuidance } = useCaseViewContext();
157
300
  return css `
@@ -165,70 +308,81 @@ export const StyledCaseSummaryInfo = styled.div(() => {
165
308
  `;
166
309
  });
167
310
  StyledCaseSummaryInfo.defaultProps = defaultThemeProp;
168
- export const StyledExpandCollapseButton = styled(Button)(({ theme }) => {
311
+ export const StyledCaseSummaryContainer = styled.div(({ theme }) => {
312
+ return css `
313
+ padding: calc(1.5 * ${theme.base.spacing}) calc(${theme.components.card.padding} * 2);
314
+ `;
315
+ });
316
+ StyledCaseSummaryContainer.defaultProps = defaultThemeProp;
317
+ export const StyledExpandCollapseButton = styled(Button)(() => {
318
+ return css `
319
+ border: none;
320
+
321
+ ${StyledIcon} {
322
+ width: 1.5rem;
323
+ height: 1.5rem;
324
+ }
325
+ `;
326
+ });
327
+ StyledExpandCollapseButton.defaultProps = defaultThemeProp;
328
+ export const StyledExpandCollapseSummaryButton = styled(StyledExpandCollapseButton)(({ theme }) => {
169
329
  const { summaryExpanded } = useCaseViewContext();
330
+ const { rtl } = useDirection();
170
331
  return css `
332
+ --half-compact-btn-height: calc(${theme.base['hit-area'].compact} / 2);
333
+ --half-btn-compact-difference: calc(
334
+ (${theme.base['hit-area'].mouse} - ${theme.base['hit-area'].compact}) / 2
335
+ );
336
+ --half-case-icon-compact-difference: calc(
337
+ ((4 * ${theme.base.spacing}) - ${theme.base['hit-area'].compact}) / 2
338
+ );
339
+ @media (pointer: coarse) {
340
+ --half-btn-compact-difference: calc(
341
+ (${theme.base['hit-area'].finger} - ${theme.base['hit-area'].compact}) / 2
342
+ );
343
+ }
171
344
  position: absolute;
172
345
  z-index: 1;
173
- bottom: 0;
174
- inset-inline-start: ${summaryExpanded ? 'calc(100% - 0.75rem)' : '0'};
175
- border-radius: ${summaryExpanded ? '1.5rem' : '0 1.5rem 1.5rem 0'};
176
346
  box-shadow: ${theme.base.shadow.low};
177
- border: none;
178
- opacity: 0;
179
347
 
180
- &:focus {
181
- opacity: 1;
182
- }
348
+ ${summaryExpanded
349
+ ? css `
350
+ inset-block-start: calc(2 * ${theme.base.spacing} + var(--half-btn-compact-difference));
351
+ inset-inline-start: calc(100% - var(--half-compact-btn-height));
352
+ `
353
+ : css `
354
+ inset-block-end: calc(var(--half-compact-btn-height) * -1);
355
+ inset-inline-start: calc(
356
+ 2 * ${theme.base.spacing} + var(--half-case-icon-compact-difference)
357
+ );
358
+ `}
183
359
 
184
360
  ${StyledIcon} {
185
- width: 1.5rem;
186
- height: 1.5rem;
187
- transform: rotate(${summaryExpanded ? 0 : css `180deg`});
361
+ ${summaryExpanded
362
+ ? css `
363
+ transform: rotate(${rtl ? '180deg' : '0'});
364
+ `
365
+ : css `
366
+ transform: rotate(-90deg);
367
+ `}
188
368
  }
189
369
  `;
190
370
  });
191
- StyledExpandCollapseButton.defaultProps = defaultThemeProp;
371
+ StyledExpandCollapseSummaryButton.defaultProps = defaultThemeProp;
192
372
  export const StyledCaseSummary = styled.div(() => {
193
- const { summaryExpanded, aboveMD, aboveLG } = useCaseViewContext();
373
+ const { summaryExpanded, aboveMD } = useCaseViewContext();
194
374
  return css `
195
375
  position: relative;
196
376
  height: 100%;
197
-
198
377
  ${aboveMD &&
378
+ summaryExpanded &&
199
379
  css `
200
- ${summaryExpanded
201
- ? css `
202
- width: ${aboveLG ? css `25rem` : css `22rem`};
203
-
204
- &:focus-within,
205
- &:hover {
206
- &::after {
207
- content: '';
208
- position: absolute;
209
- top: 0;
210
- bottom: 0;
211
- inset-inline-start: 100%;
212
- width: 0.75rem;
213
- }
214
-
215
- ${StyledExpandCollapseButton} {
216
- opacity: 1;
217
- }
218
- }
219
- `
220
- : css `
221
- width: 100%;
222
- ${StyledExpandCollapseButton} {
223
- opacity: 1;
224
- }
225
- `}
380
+ width: 25rem;
226
381
  `}
227
382
  `;
228
383
  });
229
- StyledCaseSummary.defaultProps = defaultThemeProp;
230
384
  export const StyledWorkArea = styled.div(({ theme }) => {
231
- const { summaryExpanded, aboveMD, intelligentGuidance } = useCaseViewContext();
385
+ const { summaryExpanded, aboveMD, intelligentGuidance, stages, tasks } = useCaseViewContext();
232
386
  let pbeRem = 0;
233
387
  if (intelligentGuidance) {
234
388
  pbeRem = aboveMD && !summaryExpanded ? 4 : 6;
@@ -241,6 +395,9 @@ export const StyledWorkArea = styled.div(({ theme }) => {
241
395
  css `
242
396
  padding: calc(2 * ${theme.base.spacing}) 0;
243
397
 
398
+ /* This is required to make scrollStick work. */
399
+ height: max-content;
400
+
244
401
  ${!summaryExpanded &&
245
402
  css `
246
403
  margin-inline-start: calc(2 * ${theme.base.spacing});
@@ -253,27 +410,81 @@ export const StyledWorkArea = styled.div(({ theme }) => {
253
410
  /* Accounts for collapsed intelligentGuidance bubble covering work area content when fully scrolled. */
254
411
  padding-block-end: ${pbeRem}rem;
255
412
  `}
413
+
414
+ ${stages &&
415
+ tasks &&
416
+ css `
417
+ ${StyledStages} {
418
+ border-block-end: 0.0625rem solid ${theme.base.palette['border-line']};
419
+
420
+ &,
421
+ > ${StyledStage}:first-child {
422
+ border-end-start-radius: 0;
423
+ }
424
+
425
+ &,
426
+ > ${StyledStage}:last-child {
427
+ border-end-end-radius: 0;
428
+ }
429
+ }
430
+
431
+ ${StyledCard}${StyledAssignments} {
432
+ margin-block-start: calc(-2 * ${theme.base.spacing});
433
+ border-start-start-radius: 0;
434
+ border-start-end-radius: 0;
435
+ }
436
+ `}
256
437
  `;
257
438
  });
258
439
  StyledWorkArea.defaultProps = defaultThemeProp;
259
- export const StyledUtilToggle = styled.button(({ theme }) => {
440
+ export const StyledUtilitiesHeading = styled(Text) ``;
441
+ export const StyledExpandCollapseUtilitiesButton = styled(StyledExpandCollapseButton)(() => {
442
+ const { utilitiesExpanded } = useCaseViewContext();
443
+ const { rtl } = useDirection();
260
444
  return css `
261
- align-self: flex-end;
262
- color: ${theme.base.palette['foreground-color']};
263
- margin-inline-end: 0.375rem;
445
+ /* Centers button over the utilities summary */
446
+ margin-inline-end: ${utilitiesExpanded && '0.625rem'};
447
+
448
+ ${StyledIcon} {
449
+ ${utilitiesExpanded !== rtl
450
+ ? css `
451
+ transform: rotate(180deg);
452
+ `
453
+ : css `
454
+ transform: rotate(0);
455
+ `}
456
+ }
264
457
  `;
265
458
  });
266
- StyledUtilToggle.defaultProps = defaultThemeProp;
267
- export const StyledUtilities = styled.div(() => {
268
- const { utilitiesExpanded, aboveLG } = useCaseViewContext();
459
+ StyledExpandCollapseUtilitiesButton.defaultProps = defaultThemeProp;
460
+ export const StyledUtilities = styled.div(({ theme }) => {
461
+ const { utilitiesExpanded, aboveLG, aboveMD } = useCaseViewContext();
269
462
  return css `
270
463
  height: max-content;
464
+ margin-block: calc(2 * ${theme.base.spacing});
465
+
466
+ /* If utilities are in an expanded drawer. */
467
+ ${utilitiesExpanded &&
468
+ aboveMD &&
469
+ !aboveLG &&
470
+ css `
471
+ /* Maintains the column width to avoid page content shift. */
472
+ visibility: hidden;
473
+ `}
271
474
 
272
475
  ${aboveLG &&
273
476
  utilitiesExpanded &&
274
477
  css `
275
478
  width: 25rem;
276
479
  `}
480
+
481
+
482
+ /* Selects the h2 in the utilities column, not the drawer. */
483
+ ${StyledUtilitiesHeading} {
484
+ /* Hide the utilities h2 under certain conditions.*/
485
+ ${((aboveMD && !utilitiesExpanded) || (aboveMD && utilitiesExpanded && !aboveLG)) &&
486
+ hideVisually()}
487
+ }
277
488
  `;
278
489
  });
279
490
  StyledUtilities.defaultProps = defaultThemeProp;
@@ -326,13 +537,13 @@ export const StyledCaseDrawerContent = styled.div(({ theme }) => {
326
537
  StyledCaseDrawerContent.defaultProps = defaultThemeProp;
327
538
  export const StyledPersistentUtility = styled.div(({ theme }) => {
328
539
  return css `
329
- min-width: ${theme.base['content-width'].sm};
330
- max-width: ${theme.base['content-width'].md};
540
+ width: ${theme.base['content-width'].md};
331
541
  overflow: auto;
332
542
  position: sticky;
333
543
  z-index: 1;
334
544
  height: var(--case-view-height);
335
545
  top: var(--top-offset);
546
+ padding-block: calc(2 * ${theme.base.spacing});
336
547
  `;
337
548
  });
338
549
  StyledPersistentUtility.defaultProps = defaultThemeProp;
@@ -358,4 +569,12 @@ export const StyledCaseView = styled.div(({ theme }) => {
358
569
  `;
359
570
  });
360
571
  StyledCaseView.defaultProps = defaultThemeProp;
572
+ export const StyledUtilitiesHeader = styled(Text) `
573
+ align-self: center;
574
+
575
+ &:not(:focus) {
576
+ ${hideVisually}
577
+ }
578
+ `;
579
+ StyledUtilitiesHeader.defaultProps = defaultThemeProp;
361
580
  //# sourceMappingURL=CaseView.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CaseView.styles.js","sourceRoot":"","sources":["../../../src/components/CaseView/CaseView.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;A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AG,gBAAgB,CAAC;AAExD,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IAC9D,OAAO,GAAG,CAAA;iBACK,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,EAAE;iBAC9B,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,EAAE;;;;;;GAM5C,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","sourcesContent":["import styled, { css } from 'styled-components';\nimport { hideVisually, parseToHsl, readableColor, transparentize } from 'polished';\n\nimport {\n Button,\n calculateFontSize,\n CardContent,\n defaultThemeProp,\n StyledBreadcrumbs,\n StyledButton,\n StyledFieldValue,\n StyledStackedFieldValue,\n StyledIcon,\n StyledPopover,\n StyledText,\n StyledTooltip,\n tryCatch,\n FontSize,\n FieldValueList\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 { useCaseViewContext } from './CaseView.context';\n\nconst labelChWidth = 16;\n\nexport const StyledCaseSummaryFields = styled.div(({ theme }) => {\n return css`\n padding-block: calc(1.5 * ${theme.base.spacing});\n padding-inline: calc(2 * ${theme.base.spacing});\n `;\n});\n\nStyledCaseSummaryFields.defaultProps = defaultThemeProp;\n\nexport const StyledSummaryPrimaryList = styled(FieldValueList)(({ theme }) => {\n const fontSizes = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n\n return css`\n grid-template-columns: ${labelChWidth}ch auto;\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\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 ${StyledCaseSummaryFields} {\n padding: 0;\n }\n\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: 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 StyledCaseIconWrap = styled.div(({ theme }) => {\n const spacing = theme.base.spacing;\n const borderRadius = theme.base['border-radius'];\n const backgroundColor = tryCatch(() => {\n const { lightness } = parseToHsl(theme.base.palette['brand-primary']);\n return lightness > 0.35 ? 'rgba(0, 0, 0, 0.2)' : 'rgba(255, 255, 255, 0.2)';\n });\n\n return css`\n background: ${backgroundColor};\n border-radius: calc(${borderRadius} / 2);\n width: calc(5 * ${spacing});\n height: calc(5 * ${spacing});\n ${StyledIcon} {\n font-size: calc(3 * ${spacing});\n margin: auto;\n }\n `;\n});\n\nStyledCaseIconWrap.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 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 > 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} > ${StyledButton} {\n color: ${color};\n }\n `;\n});\n\nStyledCaseHeaderText.defaultProps = defaultThemeProp;\n\nexport const StyledPromotedActions = styled.div(({ theme }) => {\n return css`\n border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};\n `;\n});\n\nStyledPromotedActions.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 StyledExpandCollapseButton = styled(Button)(({ theme }) => {\n const { summaryExpanded } = useCaseViewContext();\n\n return css`\n position: absolute;\n z-index: 1;\n bottom: 0;\n inset-inline-start: ${summaryExpanded ? 'calc(100% - 0.75rem)' : '0'};\n border-radius: ${summaryExpanded ? '1.5rem' : '0 1.5rem 1.5rem 0'};\n box-shadow: ${theme.base.shadow.low};\n border: none;\n opacity: 0;\n\n &:focus {\n opacity: 1;\n }\n\n ${StyledIcon} {\n width: 1.5rem;\n height: 1.5rem;\n transform: rotate(${summaryExpanded ? 0 : css`180deg`});\n }\n `;\n});\n\nStyledExpandCollapseButton.defaultProps = defaultThemeProp;\n\nexport const StyledCaseSummary = styled.div(() => {\n const { summaryExpanded, aboveMD, aboveLG } = useCaseViewContext();\n\n return css`\n position: relative;\n height: 100%;\n\n ${aboveMD &&\n css`\n ${summaryExpanded\n ? css`\n width: ${aboveLG ? css`25rem` : css`22rem`};\n\n &:focus-within,\n &:hover {\n &::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n inset-inline-start: 100%;\n width: 0.75rem;\n }\n\n ${StyledExpandCollapseButton} {\n opacity: 1;\n }\n }\n `\n : css`\n width: 100%;\n ${StyledExpandCollapseButton} {\n opacity: 1;\n }\n `}\n `}\n `;\n});\n\nStyledCaseSummary.defaultProps = defaultThemeProp;\n\nexport const StyledWorkArea = styled.div(({ theme }) => {\n const { summaryExpanded, aboveMD, intelligentGuidance } = 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 ${!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});\n\nStyledWorkArea.defaultProps = defaultThemeProp;\n\nexport const StyledUtilToggle = styled.button(({ theme }) => {\n return css`\n align-self: flex-end;\n color: ${theme.base.palette['foreground-color']};\n margin-inline-end: 0.375rem;\n `;\n});\n\nStyledUtilToggle.defaultProps = defaultThemeProp;\n\nexport const StyledUtilities = styled.div(() => {\n const { utilitiesExpanded, aboveLG } = useCaseViewContext();\n\n return css`\n height: max-content;\n\n ${aboveLG &&\n utilitiesExpanded &&\n css`\n width: 25rem;\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 min-width: ${theme.base['content-width'].sm};\n max-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 `;\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"]}
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,UAAU,EACV,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,aAA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AC,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 parseToHsl,\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 StyledCaseIconWrap = styled.div(({ theme }) => {\n const spacing = theme.base.spacing;\n const borderRadius = theme.base['border-radius'];\n const backgroundColor = tryCatch(() => {\n const { lightness } = parseToHsl(theme.base.palette['brand-primary']);\n return lightness > 0.35 ? 'rgba(0, 0, 0, 0.2)' : 'rgba(255, 255, 255, 0.2)';\n });\n\n return css`\n background: ${backgroundColor};\n width: calc(4 * ${spacing});\n height: calc(4 * ${spacing});\n border-radius: calc(${borderRadius} / 2);\n margin-block-start: ${spacing};\n\n ${StyledIcon} {\n font-size: calc(2 * ${spacing});\n margin: auto;\n }\n `;\n});\n\nStyledCaseIconWrap.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", "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,+PAcpB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { createTestIds } from '@pega/cosmos-react-core';
2
+ export const getCaseViewTestIds = createTestIds('case-view', [
3
+ 'header',
4
+ 'heading',
5
+ 'subheading',
6
+ 'edit',
7
+ 'actions',
8
+ 'promoted-actions',
9
+ 'summary-fields',
10
+ 'banners',
11
+ 'stages',
12
+ 'tasks',
13
+ 'tabs',
14
+ 'tab-content',
15
+ 'utilities'
16
+ ]);
17
+ //# 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,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 '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"]}