@nnc-digital/nnc-design-system 0.4.26 → 0.4.28

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 (23) hide show
  1. package/build/index.esm.js +893 -681
  2. package/build/index.esm.js.map +1 -1
  3. package/build/index.js +893 -681
  4. package/build/index.js.map +1 -1
  5. package/build/library/components/icons/services/AssistiveTechnology/Icon.d.ts +4 -0
  6. package/build/library/components/icons/services/AssistiveTechnology/IconHover.d.ts +4 -0
  7. package/build/library/components/icons/services/KeepingHealthy/Icon.d.ts +4 -0
  8. package/build/library/components/icons/services/KeepingHealthy/IconHover.d.ts +4 -0
  9. package/build/library/components/icons/services/LookingAfterYourself/Icon.d.ts +4 -0
  10. package/build/library/components/icons/services/LookingAfterYourself/IconHover.d.ts +4 -0
  11. package/build/library/components/icons/services/MentalHealth/Icon.d.ts +4 -0
  12. package/build/library/components/icons/services/MentalHealth/IconHover.d.ts +4 -0
  13. package/build/library/components/icons/services/PreventingFalls/Icon.d.ts +4 -0
  14. package/build/library/components/icons/services/PreventingFalls/IconHover.d.ts +4 -0
  15. package/build/library/components/icons/services/SEND/Icon.d.ts +4 -0
  16. package/build/library/components/icons/services/SEND/IconHover.d.ts +4 -0
  17. package/build/library/components/icons/services/SchoolAdmissions/Icon.d.ts +4 -0
  18. package/build/library/components/icons/services/SchoolAdmissions/IconHover.d.ts +4 -0
  19. package/build/library/components/icons/services/ServicesIcons.d.ts +14 -0
  20. package/build/library/structure/BackLink/BackLink.d.ts +6 -3
  21. package/build/library/structure/BackLink/BackLink.types.d.ts +6 -2
  22. package/build/library/structure/CookieBanner/CookieBanner.d.ts +2 -0
  23. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icon.types';
3
+ declare const ServiceIcon: React.FunctionComponent<IconProps>;
4
+ export default ServiceIcon;
@@ -8,6 +8,8 @@ declare let components: {
8
8
  addresschangeHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
9
9
  address: import("react").FunctionComponent<import("./Icon.types").IconProps>;
10
10
  addressHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
11
+ assistivetechnology: import("react").FunctionComponent<import("./Icon.types").IconProps>;
12
+ assistivetechnologyHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
11
13
  benefits: import("react").FC<import("./Icon.types").IconProps>;
12
14
  benefitsHover: import("react").FC<import("./Icon.types").IconProps>;
13
15
  binday: import("react").FC<import("./Icon.types").IconProps>;
@@ -94,14 +96,20 @@ declare let components: {
94
96
  housingHover: import("react").FC<import("./Icon.types").IconProps>;
95
97
  independence: import("react").FunctionComponent<import("./Icon.types").IconProps>;
96
98
  independenceHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
99
+ keepinghealthy: import("react").FunctionComponent<import("./Icon.types").IconProps>;
100
+ keepinghealthyHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
97
101
  libraries: import("react").FC<import("./Icon.types").IconProps>;
98
102
  librariesHover: import("react").FC<import("./Icon.types").IconProps>;
99
103
  litter: import("react").FunctionComponent<import("./Icon.types").IconProps>;
100
104
  litterHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
105
+ lookingafteryourself: import("react").FunctionComponent<import("./Icon.types").IconProps>;
106
+ lookingafteryourselfHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
101
107
  mappin: import("react").FunctionComponent<import("./Icon.types").IconProps>;
102
108
  mappinHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
103
109
  member: import("react").FunctionComponent<import("./Icon.types").IconProps>;
104
110
  memberHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
111
+ mentalhealth: import("react").FunctionComponent<import("./Icon.types").IconProps>;
112
+ mentalhealthHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
105
113
  missedbin: import("react").FunctionComponent<import("./Icon.types").IconProps>;
106
114
  missedbinHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
107
115
  new: import("react").FunctionComponent<import("./Icon.types").IconProps>;
@@ -122,6 +130,8 @@ declare let components: {
122
130
  planningHover: import("react").FC<import("./Icon.types").IconProps>;
123
131
  pothole: import("react").FunctionComponent<import("./Icon.types").IconProps>;
124
132
  potholeHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
133
+ preventingfalls: import("react").FunctionComponent<import("./Icon.types").IconProps>;
134
+ preventingfallsHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
125
135
  protect: import("react").FunctionComponent<import("./Icon.types").IconProps>;
126
136
  protectHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
127
137
  ratepay: import("react").FunctionComponent<import("./Icon.types").IconProps>;
@@ -142,8 +152,12 @@ declare let components: {
142
152
  royalWebsiteHover: import("react").FC<import("./Icon.types").IconProps>;
143
153
  safety: import("react").FC<import("./Icon.types").IconProps>;
144
154
  safetyHover: import("react").FC<import("./Icon.types").IconProps>;
155
+ schooladmissions: import("react").FunctionComponent<import("./Icon.types").IconProps>;
156
+ schooladmissionsHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
145
157
  schools: import("react").FC<import("./Icon.types").IconProps>;
146
158
  schoolsHover: import("react").FC<import("./Icon.types").IconProps>;
159
+ send: import("react").FunctionComponent<import("./Icon.types").IconProps>;
160
+ sendHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
147
161
  singleperson: import("react").FunctionComponent<import("./Icon.types").IconProps>;
148
162
  singlepersonHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
149
163
  sports: import("react").FC<import("./Icon.types").IconProps>;
@@ -1,4 +1,7 @@
1
- import React from "react";
2
- import { BackLinkProps } from "./BackLink.types";
3
- declare const BackLink: React.FC<BackLinkProps>;
1
+ import React from 'react';
2
+ import { BackLinkProps } from './BackLink.types';
3
+ /**
4
+ * A back link or a back button when using history
5
+ */
6
+ declare const BackLink: React.FunctionComponent<BackLinkProps>;
4
7
  export default BackLink;
@@ -1,6 +1,10 @@
1
1
  export interface BackLinkProps {
2
2
  /**
3
- * What is this?
3
+ * The optional uri to navigate back to
4
4
  */
5
- link: string;
5
+ link?: string;
6
+ /**
7
+ * Should the browser history be used instead of the link?
8
+ */
9
+ useHistory?: boolean;
6
10
  }
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
2
  import { CookieBannerProps } from './CookieBanner.types';
3
+ export declare const AcceptCookies: () => void;
4
+ export declare const RejectCookies: () => void;
3
5
  declare const CookieBanner: React.FunctionComponent<CookieBannerProps>;
4
6
  export default CookieBanner;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nnc-digital/nnc-design-system",
3
- "version": "0.4.26",
3
+ "version": "0.4.28",
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": {