@ministryofjustice/hmpps-digital-prison-reporting-frontend 4.4.4 → 4.4.5

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.
@@ -22,8 +22,8 @@ const createListItemProduct = (productName, reportName, type, ts) => {
22
22
  const tagColor = getTypeTagColor(type);
23
23
  const reportType = (0, exports.toSentenceCase)(type);
24
24
  return `<div>
25
- <p class="govuk-body-s govuk-!-margin-bottom-1">${productName}</p>
26
- <p class="govuk-body govuk-!-margin-bottom-2"><strong>${reportName}</strong></p>
25
+ <p class="govuk-body govuk-!-margin-bottom-1"><strong>${reportName}</strong></p>
26
+ <p class="govuk-body-s govuk-!-margin-bottom-3">${productName}</p>
27
27
  <strong class="govuk-tag ${tagColor} dpr-request-status-tag--small govuk-!-margin-bottom-4'">${reportType}</strong>
28
28
  <p class="govuk-body-xs govuk-!-margin-bottom-0 govuk-!-margin-top-3 ${tsClass}">${ts}</p>
29
29
  </div>`;
@@ -24,8 +24,8 @@ export const createListItemProduct = (productName: string, reportName: string, t
24
24
  const tagColor = getTypeTagColor(type)
25
25
  const reportType = toSentenceCase(type)
26
26
  return `<div>
27
- <p class="govuk-body-s govuk-!-margin-bottom-1">${productName}</p>
28
- <p class="govuk-body govuk-!-margin-bottom-2"><strong>${reportName}</strong></p>
27
+ <p class="govuk-body govuk-!-margin-bottom-1"><strong>${reportName}</strong></p>
28
+ <p class="govuk-body-s govuk-!-margin-bottom-3">${productName}</p>
29
29
  <strong class="govuk-tag ${tagColor} dpr-request-status-tag--small govuk-!-margin-bottom-4'">${reportType}</strong>
30
30
  <p class="govuk-body-xs govuk-!-margin-bottom-0 govuk-!-margin-top-3 ${tsClass}">${ts}</p>
31
31
  </div>`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ministryofjustice/hmpps-digital-prison-reporting-frontend",
3
3
  "description": "The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.",
4
- "version": "4.4.4",
4
+ "version": "4.4.5",
5
5
  "main": "dpr/all.mjs",
6
6
  "sass": "dpr/all.scss",
7
7
  "engines": {
package/package.zip CHANGED
Binary file