@ministryofjustice/hmpps-digital-prison-reporting-frontend 3.0.2 → 3.1.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.
- package/dpr/all.scss +21 -0
- package/dpr/assets/css/all.css +1 -1
- package/dpr/assets/js/all.mjs +128 -54
- package/dpr/components/date-range/view.njk +63 -0
- package/dpr/components/filters/types.d.ts +13 -2
- package/dpr/components/filters/utils.js +10 -4
- package/dpr/components/filters/utils.ts +12 -6
- package/dpr/components/filters/view.njk +78 -106
- package/dpr/components/report-list/list.njk +4 -2
- package/dpr/types/api.d.ts +2 -0
- package/package.json +1 -1
- package/package.zip +0 -0
package/dpr/all.scss
CHANGED
|
@@ -4,6 +4,7 @@ $dpr-images-path: "/assets/dpr/images/";
|
|
|
4
4
|
$govuk-assets-path: "/assets/govuk/";
|
|
5
5
|
|
|
6
6
|
@import 'govuk/all';
|
|
7
|
+
|
|
7
8
|
.accordion-section {
|
|
8
9
|
margin-bottom: govuk-spacing(8);
|
|
9
10
|
position: relative;
|
|
@@ -351,6 +352,22 @@ a.disabled {
|
|
|
351
352
|
cursor: default;
|
|
352
353
|
opacity: 0.5;
|
|
353
354
|
}
|
|
355
|
+
.date-range {
|
|
356
|
+
.govuk-form-group {
|
|
357
|
+
margin-bottom: 0px;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.daterange-set-to-minmax {
|
|
362
|
+
cursor: pointer;
|
|
363
|
+
text-align: right;
|
|
364
|
+
margin-bottom: govuk-spacing(0);
|
|
365
|
+
margin-top: govuk-spacing(1);
|
|
366
|
+
|
|
367
|
+
&:hover {
|
|
368
|
+
color: govuk-colour("light-blue")
|
|
369
|
+
}
|
|
370
|
+
}
|
|
354
371
|
.dropdown-button {
|
|
355
372
|
position: relative;
|
|
356
373
|
float: right;
|
|
@@ -477,6 +494,10 @@ a.disabled {
|
|
|
477
494
|
flex-grow: 0;
|
|
478
495
|
width: 30%;
|
|
479
496
|
padding: 1%;
|
|
497
|
+
|
|
498
|
+
.govuk-form-group {
|
|
499
|
+
margin-bottom: govuk-spacing(2);
|
|
500
|
+
}
|
|
480
501
|
}
|
|
481
502
|
|
|
482
503
|
.govuk-details__summary-text {
|