@nnc-digital/nnc-design-system 1.0.0-beta2 → 1.0.0-beta5

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.
@@ -8,6 +8,14 @@ export interface SummaryListProps {
8
8
  * Option to remove margin (default is true)
9
9
  */
10
10
  hasMargin?: boolean;
11
+ /**
12
+ * Option to show borders (default is true)
13
+ */
14
+ hasBorders?: boolean;
15
+ /**
16
+ * Optional heading for the summary list
17
+ */
18
+ heading?: string;
11
19
  }
12
20
  export interface SummaryRowProps {
13
21
  /**
@@ -21,9 +21,12 @@ export interface CaseAppointmentProps {
21
21
  courtroomFullAddress: string;
22
22
  appointmentType: string;
23
23
  startDateTime: string;
24
+ endDateTime?: string | null;
24
25
  }
25
26
  export declare enum CaseAppointmentType {
26
- Hearing = "hearing",
27
+ Formal = "formal",
28
+ Hearing = "inquest hearing",
27
29
  Opening = "opening",
30
+ PreInquest = "pre-inquest review",
28
31
  Writing = "writing"
29
32
  }
@@ -8,6 +8,14 @@ export interface SummaryListProps {
8
8
  * Option to remove margin (default is true)
9
9
  */
10
10
  hasMargin?: boolean;
11
+ /**
12
+ * Option to show borders (default is true)
13
+ */
14
+ hasBorders?: boolean;
15
+ /**
16
+ * Optional heading for the summary list
17
+ */
18
+ heading?: string;
11
19
  }
12
20
  export interface SummaryRowProps {
13
21
  /**
@@ -21,9 +21,12 @@ export interface CaseAppointmentProps {
21
21
  courtroomFullAddress: string;
22
22
  appointmentType: string;
23
23
  startDateTime: string;
24
+ endDateTime?: string | null;
24
25
  }
25
26
  export declare enum CaseAppointmentType {
26
- Hearing = "hearing",
27
+ Formal = "formal",
28
+ Hearing = "inquest hearing",
27
29
  Opening = "opening",
30
+ PreInquest = "pre-inquest review",
28
31
  Writing = "writing"
29
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nnc-digital/nnc-design-system",
3
- "version": "1.0.0-beta2",
3
+ "version": "1.0.0-beta5",
4
4
  "description": "Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.",
5
5
  "main": "build/index.js",
6
6
  "repository": {