northants-design-system 0.2.13 → 0.2.16

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 (56) hide show
  1. package/build/index.esm.js +1088 -440
  2. package/build/index.esm.js.map +1 -1
  3. package/build/index.js +1088 -439
  4. package/build/index.js.map +1 -1
  5. package/build/library/components/Column/Column.d.ts +4 -0
  6. package/build/library/components/Column/Column.types.d.ts +23 -0
  7. package/build/library/components/HeadingWithIcon/HeadingWithIcon.d.ts +3 -3
  8. package/build/library/components/HeadingWithIcon/HeadingWithIcon.types.d.ts +4 -0
  9. package/build/library/components/Row/Row.d.ts +4 -0
  10. package/build/library/components/Row/Row.types.d.ts +7 -0
  11. package/build/library/components/icons/services/AddressChangeIcon/Icon.d.ts +4 -0
  12. package/build/library/components/icons/services/AddressChangeIconHover/Icon.d.ts +4 -0
  13. package/build/library/components/icons/services/AddressIcon/Icon.d.ts +4 -0
  14. package/build/library/components/icons/services/AddressIconHover/Icon.d.ts +4 -0
  15. package/build/library/components/icons/services/CashIcon/Icon.d.ts +4 -0
  16. package/build/library/components/icons/services/CashIconHover/Icon.d.ts +4 -0
  17. package/build/library/components/icons/services/CookingIcon/Icon.d.ts +4 -0
  18. package/build/library/components/icons/services/CookingIconHover/Icon.d.ts +4 -0
  19. package/build/library/components/icons/services/DOLSIcon/Icon.d.ts +4 -0
  20. package/build/library/components/icons/services/DOLSIconHover/Icon.d.ts +4 -0
  21. package/build/library/components/icons/services/EditIcon/Icon.d.ts +4 -0
  22. package/build/library/components/icons/services/EditIconHover/Icon.d.ts +4 -0
  23. package/build/library/components/icons/services/HouseMoneyIcon/Icon.d.ts +4 -0
  24. package/build/library/components/icons/services/HouseMoneyIconHover/Icon.d.ts +4 -0
  25. package/build/library/components/icons/services/IndependenceIcon/Icon.d.ts +4 -0
  26. package/build/library/components/icons/services/IndependenceIconHover/Icon.d.ts +4 -0
  27. package/build/library/components/icons/services/NewIcon/Icon.d.ts +4 -0
  28. package/build/library/components/icons/services/NewIconHover/Icon.d.ts +4 -0
  29. package/build/library/components/icons/services/OccupationalTherapyIcon/Icon.d.ts +4 -0
  30. package/build/library/components/icons/services/OccupationalTherapyIconHover/Icon.d.ts +4 -0
  31. package/build/library/components/icons/services/PayIcon/Icon.d.ts +4 -0
  32. package/build/library/components/icons/services/PayIconHover/Icon.d.ts +4 -0
  33. package/build/library/components/icons/services/PhonePayIcon/Icon.d.ts +4 -0
  34. package/build/library/components/icons/services/PhonePayIconHover/Icon.d.ts +4 -0
  35. package/build/library/components/icons/services/ProtectIcon/Icon.d.ts +4 -0
  36. package/build/library/components/icons/services/ProtectIconHover/Icon.d.ts +4 -0
  37. package/build/library/components/icons/services/RatePayIcon/Icon.d.ts +4 -0
  38. package/build/library/components/icons/services/RatePayIconHover/Icon.d.ts +4 -0
  39. package/build/library/components/icons/services/RestrictIcon/Icon.d.ts +4 -0
  40. package/build/library/components/icons/services/RestrictIconHover/Icon.d.ts +4 -0
  41. package/build/library/components/icons/services/ServicesIcons.d.ts +34 -0
  42. package/build/library/components/icons/services/SinglePersonIcon/Icon.d.ts +4 -0
  43. package/build/library/components/icons/services/SinglePersonIconHover/Icon.d.ts +4 -0
  44. package/build/library/components/icons/services/ValuationIcon/Icon.d.ts +4 -0
  45. package/build/library/components/icons/services/ValuationIconHover/Icon.d.ts +4 -0
  46. package/build/library/pages/Home/HomePage.d.ts +2 -2
  47. package/build/library/pages/Home/HomePage.types.d.ts +10 -6
  48. package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.storydata.d.ts +1 -0
  49. package/build/library/structure/HeroImage/HeroImage.storydata.d.ts +1 -0
  50. package/build/library/structure/HeroImage/HeroImage.types.d.ts +5 -0
  51. package/build/library/structure/PageStructures.d.ts +2 -1
  52. package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.d.ts +4 -0
  53. package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.storydata.d.ts +9 -0
  54. package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.types.d.ts +53 -0
  55. package/build/library/structure/ServicesLinksList/ServicesLinksList.types.d.ts +4 -0
  56. package/package.json +7 -7
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ColumnProps } from './Column.types';
3
+ declare const Column: React.FunctionComponent<ColumnProps>;
4
+ export default Column;
@@ -0,0 +1,23 @@
1
+ export interface ColumnProps {
2
+ /**
3
+ * Available column sizes for small screen
4
+ */
5
+ small?: 'full' | 'one-half' | 'one-third' | 'two-thirds' | 'one-quarter' | 'three-quarters';
6
+ /**
7
+ * Available column sizes for small screen
8
+ */
9
+ medium?: 'full' | 'one-half' | 'one-third' | 'two-thirds' | 'one-quarter' | 'three-quarters';
10
+ /**
11
+ * Available column sizes for small screen
12
+ */
13
+ large?: 'full' | 'one-half' | 'one-third' | 'two-thirds' | 'one-quarter' | 'three-quarters';
14
+ /**
15
+ * Should the column have padding
16
+ */
17
+ hasPadding?: boolean;
18
+ /**
19
+ * Option to display the border
20
+ * Should only used for demonstrating grid
21
+ */
22
+ hasBorder?: boolean;
23
+ }
@@ -1,7 +1,7 @@
1
- import React from "react";
2
- import { HeadingWithIconProps } from "./HeadingWithIcon.types";
1
+ import React from 'react';
2
+ import { HeadingWithIconProps } from './HeadingWithIcon.types';
3
3
  /**
4
4
  * A Heading With an Icon - used for service landing pages
5
5
  */
6
- declare const HeadingWithIcon: React.FC<HeadingWithIconProps>;
6
+ declare const HeadingWithIcon: React.FunctionComponent<HeadingWithIconProps>;
7
7
  export default HeadingWithIcon;
@@ -11,4 +11,8 @@ export interface HeadingWithIconProps {
11
11
  * The icon
12
12
  */
13
13
  icon: string;
14
+ /**
15
+ * Should there be a hover effect on the icon
16
+ */
17
+ hasHover?: boolean;
14
18
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { RowProps } from './Row.types';
3
+ declare const Row: React.FunctionComponent<RowProps>;
4
+ export default Row;
@@ -0,0 +1,7 @@
1
+ export interface RowProps {
2
+ /**
3
+ * Option to display the border
4
+ * Should only used for demonstrating grid
5
+ */
6
+ hasBorder?: boolean;
7
+ }
@@ -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;
@@ -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;
@@ -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;
@@ -2,6 +2,10 @@
2
2
  declare let components: {
3
3
  adults: import("react").FC<import("./Icon.types").IconProps>;
4
4
  adultsHover: import("react").FC<import("./Icon.types").IconProps>;
5
+ addresschange: import("react").FunctionComponent<import("./Icon.types").IconProps>;
6
+ addresschangeHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
7
+ address: import("react").FunctionComponent<import("./Icon.types").IconProps>;
8
+ addressHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
5
9
  benefits: import("react").FC<import("./Icon.types").IconProps>;
6
10
  benefitsHover: import("react").FC<import("./Icon.types").IconProps>;
7
11
  bins: import("react").FC<import("./Icon.types").IconProps>;
@@ -18,12 +22,16 @@ declare let components: {
18
22
  businessHover: import("react").FC<import("./Icon.types").IconProps>;
19
23
  careers: import("react").FC<import("./Icon.types").IconProps>;
20
24
  careersHover: import("react").FC<import("./Icon.types").IconProps>;
25
+ cash: import("react").FunctionComponent<import("./Icon.types").IconProps>;
26
+ cashHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
21
27
  charity: import("react").FC<import("./Icon.types").IconProps>;
22
28
  charityHover: import("react").FC<import("./Icon.types").IconProps>;
23
29
  children: import("react").FC<import("./Icon.types").IconProps>;
24
30
  childrenHover: import("react").FC<import("./Icon.types").IconProps>;
25
31
  condolenceBook: import("react").FC<import("./Icon.types").IconProps>;
26
32
  condolenceBookHover: import("react").FC<import("./Icon.types").IconProps>;
33
+ cooking: import("react").FunctionComponent<import("./Icon.types").IconProps>;
34
+ cookingHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
27
35
  council: import("react").FC<import("./Icon.types").IconProps>;
28
36
  councilHover: import("react").FC<import("./Icon.types").IconProps>;
29
37
  counciltax: import("react").FC<import("./Icon.types").IconProps>;
@@ -36,6 +44,10 @@ declare let components: {
36
44
  culturewestHover: import("react").FC<import("./Icon.types").IconProps>;
37
45
  democracy: import("react").FC<import("./Icon.types").IconProps>;
38
46
  democracyHover: import("react").FC<import("./Icon.types").IconProps>;
47
+ dols: import("react").FunctionComponent<import("./Icon.types").IconProps>;
48
+ dolsHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
49
+ edit: import("react").FunctionComponent<import("./Icon.types").IconProps>;
50
+ editHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
39
51
  accessibleparking: import("react").FunctionComponent<import("./Icon.types").IconProps>;
40
52
  accessibleparkingHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
41
53
  environment: import("react").FC<import("./Icon.types").IconProps>;
@@ -48,22 +60,40 @@ declare let components: {
48
60
  govUKHover: import("react").FC<import("./Icon.types").IconProps>;
49
61
  highway: import("react").FC<import("./Icon.types").IconProps>;
50
62
  highwayHover: import("react").FC<import("./Icon.types").IconProps>;
63
+ housemoney: import("react").FunctionComponent<import("./Icon.types").IconProps>;
64
+ housemoneyHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
51
65
  housing: import("react").FC<import("./Icon.types").IconProps>;
52
66
  housingHover: import("react").FC<import("./Icon.types").IconProps>;
67
+ independence: import("react").FunctionComponent<import("./Icon.types").IconProps>;
68
+ independenceHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
53
69
  libraries: import("react").FC<import("./Icon.types").IconProps>;
54
70
  librariesHover: import("react").FC<import("./Icon.types").IconProps>;
71
+ new: import("react").FunctionComponent<import("./Icon.types").IconProps>;
72
+ newHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
73
+ occupationaltherapy: import("react").FunctionComponent<import("./Icon.types").IconProps>;
74
+ occupationaltherapyHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
55
75
  parkevent: import("react").FC<import("./Icon.types").IconProps>;
56
76
  parkeventHover: import("react").FC<import("./Icon.types").IconProps>;
57
77
  parking: import("react").FC<import("./Icon.types").IconProps>;
58
78
  parkingHover: import("react").FC<import("./Icon.types").IconProps>;
59
79
  parkingticket: import("react").FunctionComponent<import("./Icon.types").IconProps>;
60
80
  parkingticketHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
81
+ pay: import("react").FunctionComponent<import("./Icon.types").IconProps>;
82
+ payHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
83
+ phonepay: import("react").FunctionComponent<import("./Icon.types").IconProps>;
84
+ phonepayHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
61
85
  planning: import("react").FC<import("./Icon.types").IconProps>;
62
86
  planningHover: import("react").FC<import("./Icon.types").IconProps>;
63
87
  pothole: import("react").FunctionComponent<import("./Icon.types").IconProps>;
64
88
  potholeHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
89
+ protect: import("react").FunctionComponent<import("./Icon.types").IconProps>;
90
+ protectHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
91
+ ratepay: import("react").FunctionComponent<import("./Icon.types").IconProps>;
92
+ ratepayHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
65
93
  report: import("react").FC<import("./Icon.types").IconProps>;
66
94
  reportHover: import("react").FC<import("./Icon.types").IconProps>;
95
+ restrict: import("react").FunctionComponent<import("./Icon.types").IconProps>;
96
+ restrictHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
67
97
  roads: import("react").FC<import("./Icon.types").IconProps>;
68
98
  roadsHover: import("react").FC<import("./Icon.types").IconProps>;
69
99
  roadworks: import("react").FC<import("./Icon.types").IconProps>;
@@ -74,7 +104,11 @@ declare let components: {
74
104
  safetyHover: import("react").FC<import("./Icon.types").IconProps>;
75
105
  schools: import("react").FC<import("./Icon.types").IconProps>;
76
106
  schoolsHover: import("react").FC<import("./Icon.types").IconProps>;
107
+ singleperson: import("react").FunctionComponent<import("./Icon.types").IconProps>;
108
+ singlepersonHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
77
109
  sports: import("react").FC<import("./Icon.types").IconProps>;
78
110
  sportsHover: import("react").FC<import("./Icon.types").IconProps>;
111
+ valuation: import("react").FunctionComponent<import("./Icon.types").IconProps>;
112
+ valuationHover: import("react").FunctionComponent<import("./Icon.types").IconProps>;
79
113
  };
80
114
  export default components;
@@ -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;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { HomePageProps } from "./HomePage.types";
1
+ import React from 'react';
2
+ import { HomePageProps } from './HomePage.types';
3
3
  /**
4
4
  * An example home page layout constructed from the structures and components defined in the
5
5
  * design system. The actual page layout is defined within the front end app and may be
@@ -1,9 +1,9 @@
1
- import React from "react";
2
- import { HeroImageProp } from "../../structure/HomeHero/HomeHero.types";
3
- import { NewsArticleProps } from "../../structure/NewsArticleList/NewsArticleList.types";
4
- import { PromoBannerProps } from "../../structure/PromoBanner/PromoBanner.types";
5
- import { PromoProps } from "../../structure/PromoBlock/PromoBlock.types";
6
- import { PageLinkProp } from "../../structure/ServicesLinksList/ServicesLinksList.types";
1
+ import React from 'react';
2
+ import { HeroImageProp } from '../../structure/HomeHero/HomeHero.types';
3
+ import { NewsArticleProps } from '../../structure/NewsArticleList/NewsArticleList.types';
4
+ import { PromoBannerProps } from '../../structure/PromoBanner/PromoBanner.types';
5
+ import { PromoProps } from '../../structure/PromoBlock/PromoBlock.types';
6
+ import { PageLinkProp } from '../../structure/ServicesLinksList/ServicesLinksList.types';
7
7
  export interface HomePageProps {
8
8
  /**
9
9
  * The number of promotional tiles (0 to 4 supported)
@@ -33,6 +33,10 @@ export interface HomePageProps {
33
33
  * Service links
34
34
  */
35
35
  servicesArray: Array<PageLinkProp>;
36
+ /**
37
+ * Should the services list be boxed
38
+ */
39
+ isBoxed?: boolean;
36
40
  /**
37
41
  * News articles
38
42
  */
@@ -8,4 +8,5 @@ export declare const sixTopServicesData: ServicesLinksListProps;
8
8
  export declare const sections: SectionLinksProps[];
9
9
  export declare const footerLinks: FooterLinkProp[];
10
10
  export declare const breadcrumbs: BreadcrumbProp[];
11
+ export declare const micrositeBreadcrumbs: BreadcrumbProp[];
11
12
  export declare const serviceAlert: AlertBannerServiceProps;
@@ -2,3 +2,4 @@ import { HeroImageProps } from './HeroImage.types';
2
2
  export declare const HeroImageExampleBoxedData: HeroImageProps;
3
3
  export declare const HeroImageExampleGradientData: HeroImageProps;
4
4
  export declare const HeroImageExampleMicroSiteData: HeroImageProps;
5
+ export declare const HeroImageExampleBoxedWithBreadcrumbData: HeroImageProps;
@@ -1,3 +1,4 @@
1
+ import { BreadcrumbProp } from '../Breadcrumbs/Breadcrumbs.types';
1
2
  export interface HeroImageProps {
2
3
  /**
3
4
  * Headline text, optional. Intention to use page title if missing.
@@ -31,4 +32,8 @@ export interface HeroImageProps {
31
32
  * Set to true to put the text and call to action on a white box, false to overlay on a darkened image
32
33
  */
33
34
  backgroundBox: boolean;
35
+ /**
36
+ * An optional breadcrumb. If not set then the breadcrumb is not shown
37
+ */
38
+ breadcrumb?: BreadcrumbProp;
34
39
  }
@@ -32,8 +32,9 @@ import SearchResultsList from './SearchResultsList/SearchResultsList';
32
32
  import SectionLinks from './SectionLinks/SectionLinks';
33
33
  import SectionLinksMobileContents from './SectionLinksMobileContents/SectionLinksMobileContents';
34
34
  import SectionLinksSidebar from './SectionLinksSidebar/SectionLinksSidebar';
35
+ import ServiceLinksBoxed from './ServicesLinksBoxed/ServicesLinksBoxed';
35
36
  import ServicesLinksList from './ServicesLinksList/ServicesLinksList';
36
37
  import SignpostLinks from './SignpostLinks/SignpostLinks';
37
38
  import SkipToMainContent from './SkipToMainContent/SkipToMainContent';
38
39
  import Summary from './Summary/Summary';
39
- export { AccessibleLinks, AlertBanner, AlertBannerService, Breadcrumbs, CookieBanner, DisplayDate, Footer, FullWidthContainer, Header, HeroImage, HomeHero, HomeUnitarySection, MaxWidthContainer, MemorialHero, NewsArticleDate, NewsArticleFeaturedBlock, NewsArticleFilterAccordion, NewsArticleImage, NewsArticleList, NewsArticleListHeader, NewsArticleOldBanner, PhaseBanner, PageMain, PageSidebar, PageTitle, PageWithSidebarContainer, PageWrapper, PromoBanner, PromoBlock, Searchbar, SearchResultsList, SectionLinks, SectionLinksMobileContents, SectionLinksSidebar, ServicesLinksList, SignpostLinks, SkipToMainContent, Summary, };
40
+ export { AccessibleLinks, AlertBanner, AlertBannerService, Breadcrumbs, CookieBanner, DisplayDate, Footer, FullWidthContainer, Header, HeroImage, HomeHero, HomeUnitarySection, MaxWidthContainer, MemorialHero, NewsArticleDate, NewsArticleFeaturedBlock, NewsArticleFilterAccordion, NewsArticleImage, NewsArticleList, NewsArticleListHeader, NewsArticleOldBanner, PhaseBanner, PageMain, PageSidebar, PageTitle, PageWithSidebarContainer, PageWrapper, PromoBanner, PromoBlock, Searchbar, SearchResultsList, SectionLinks, SectionLinksMobileContents, SectionLinksSidebar, ServiceLinksBoxed, ServicesLinksList, SignpostLinks, SkipToMainContent, Summary, };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ServiceLinksBoxedProps } from './ServicesLinksBoxed.types';
3
+ declare const ServiceLinksBoxed: React.FunctionComponent<ServiceLinksBoxedProps>;
4
+ export default ServiceLinksBoxed;
@@ -0,0 +1,9 @@
1
+ export declare const serviceLinksArray: {
2
+ title: string;
3
+ url: string;
4
+ iconKey: string;
5
+ quickLinksArray: {
6
+ title: string;
7
+ url: string;
8
+ }[];
9
+ }[];
@@ -0,0 +1,53 @@
1
+ export interface ServiceLinksBoxedProps {
2
+ /**
3
+ * An array of all the top level service landing pages
4
+ */
5
+ serviceLinksArray: Array<PageLinkProp>;
6
+ /**
7
+ * Id of container
8
+ */
9
+ serviceId?: string;
10
+ }
11
+ export interface PageLinkProp {
12
+ /**
13
+ * Title of the page
14
+ */
15
+ title: string;
16
+ /**
17
+ * URL of the page
18
+ */
19
+ url: string;
20
+ /**
21
+ * The key of the icon
22
+ */
23
+ iconKey?: string;
24
+ /**
25
+ * Array of quick links for the service
26
+ */
27
+ quickLinksArray?: Array<QuickLinkProp>;
28
+ quickLinksShow?: boolean;
29
+ }
30
+ export interface QuickLinkProp {
31
+ /**
32
+ * Title of the page
33
+ */
34
+ title: string;
35
+ /**
36
+ * URL of the page
37
+ */
38
+ url: string;
39
+ }
40
+ export interface MemorialQuickLinkProp {
41
+ /**
42
+ * The key of the icon
43
+ */
44
+ iconKey?: string;
45
+ /**
46
+ * An array of Quick Links
47
+ */
48
+ link: Array<QuickLinkProp>;
49
+ /**
50
+ * Some summary text
51
+ */
52
+ summary: string;
53
+ }
@@ -19,6 +19,10 @@ export interface ServicesLinksListProps {
19
19
  * Id of container
20
20
  */
21
21
  serviceId?: string;
22
+ /**
23
+ * Should the view be boxed
24
+ */
25
+ isBoxed?: boolean;
22
26
  }
23
27
  export interface PageLinkProp {
24
28
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "northants-design-system",
3
- "version": "0.2.13",
3
+ "version": "0.2.16",
4
4
  "private": false,
5
5
  "description": "Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.",
6
6
  "main": "build/index.js",
@@ -54,13 +54,13 @@
54
54
  "@rollup/plugin-commonjs": "^21.0.0",
55
55
  "@rollup/plugin-json": "~4.1.0",
56
56
  "@rollup/plugin-node-resolve": "^13.1.0",
57
- "@storybook/addon-a11y": "~6.4.19",
58
- "@storybook/addon-essentials": "~6.4.19",
57
+ "@storybook/addon-a11y": "~6.4.20",
58
+ "@storybook/addon-essentials": "~6.4.20",
59
59
  "@storybook/addon-ie11": "0.0.6",
60
- "@storybook/addon-links": "~6.4.19",
61
- "@storybook/builder-webpack5": "~6.4.19",
62
- "@storybook/manager-webpack5": "~6.4.19",
63
- "@storybook/react": "~6.4.19",
60
+ "@storybook/addon-links": "~6.4.20",
61
+ "@storybook/builder-webpack5": "~6.4.20",
62
+ "@storybook/manager-webpack5": "~6.4.20",
63
+ "@storybook/react": "~6.4.20",
64
64
  "@testing-library/jest-dom": "^5.16.2",
65
65
  "@testing-library/react": "^12.0.0",
66
66
  "@types/jest": "^27.4.0",