@nnc-digital/nnc-design-system 1.0.0-beta11 → 1.0.0-beta12

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.
@@ -17,4 +17,8 @@ export interface PromotedLinkProp {
17
17
  * The url of the link
18
18
  */
19
19
  url: string;
20
+ /**
21
+ * The key of the icon (optional)
22
+ */
23
+ iconKey?: string;
20
24
  }
@@ -12,3 +12,8 @@ export declare const HomeHeroPromotedLinks: {
12
12
  title: string;
13
13
  url: string;
14
14
  }[];
15
+ export declare const HomeHeroMemorialPromotedLinks: {
16
+ title: string;
17
+ url: string;
18
+ iconKey: string;
19
+ }[];
@@ -13,15 +13,15 @@ export interface MemorialHeroProps {
13
13
  */
14
14
  alt: string;
15
15
  /**
16
- * The name of the sites theme
17
- */
18
- theme: object;
19
- /**
20
- * Pass through any children to be shown
16
+ * Pass through any children to be shown (condolence links)
21
17
  */
22
18
  children: React.ReactNode;
23
19
  /**
24
- * Anthing in this section will be themed as defined
20
+ * Council services links section
25
21
  */
26
22
  councilServices: React.ReactNode;
23
+ /**
24
+ * Search suggestions for the search bar
25
+ */
26
+ searchSuggestions?: string[];
27
27
  }
@@ -17,4 +17,8 @@ export interface PromotedLinkProp {
17
17
  * The url of the link
18
18
  */
19
19
  url: string;
20
+ /**
21
+ * The key of the icon (optional)
22
+ */
23
+ iconKey?: string;
20
24
  }
@@ -12,3 +12,8 @@ export declare const HomeHeroPromotedLinks: {
12
12
  title: string;
13
13
  url: string;
14
14
  }[];
15
+ export declare const HomeHeroMemorialPromotedLinks: {
16
+ title: string;
17
+ url: string;
18
+ iconKey: string;
19
+ }[];
@@ -13,15 +13,15 @@ export interface MemorialHeroProps {
13
13
  */
14
14
  alt: string;
15
15
  /**
16
- * The name of the sites theme
17
- */
18
- theme: object;
19
- /**
20
- * Pass through any children to be shown
16
+ * Pass through any children to be shown (condolence links)
21
17
  */
22
18
  children: React.ReactNode;
23
19
  /**
24
- * Anthing in this section will be themed as defined
20
+ * Council services links section
25
21
  */
26
22
  councilServices: React.ReactNode;
23
+ /**
24
+ * Search suggestions for the search bar
25
+ */
26
+ searchSuggestions?: string[];
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nnc-digital/nnc-design-system",
3
- "version": "1.0.0-beta11",
3
+ "version": "1.0.0-beta12",
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": {