northants-design-system 0.2.1 → 0.2.2
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/LICENSE +674 -1
- package/build/index.esm.js +211 -156
- package/build/index.esm.js.map +1 -1
- package/build/index.js +211 -155
- package/build/index.js.map +1 -1
- package/build/library/pages/ContentPage/ContentPage.d.ts +2 -2
- package/build/library/pages/ContentPage/ContentPage.storydata.d.ts +10 -0
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.types.d.ts +8 -0
- package/build/library/structure/HomeHero/HomeHero.d.ts +2 -2
- package/build/library/structure/HomeHero/HomeHero.storydata.d.ts +14 -0
- package/build/library/structure/HomeHero/HomeHero.types.d.ts +11 -3
- package/build/library/structure/PageStructures.d.ts +2 -1
- package/build/library/structure/Summary/Summary.d.ts +4 -0
- package/build/library/structure/Summary/Summary.types.d.ts +10 -0
- package/package.json +1 -1
|
@@ -32,4 +32,12 @@ export interface ServiceLandingPageExampleProps {
|
|
|
32
32
|
* Top services to highlight below the heading or hero image
|
|
33
33
|
*/
|
|
34
34
|
topServices?: ServicesLinksListProps;
|
|
35
|
+
/**
|
|
36
|
+
* Summary text describing the page
|
|
37
|
+
*/
|
|
38
|
+
summary?: String;
|
|
39
|
+
/**
|
|
40
|
+
* Should the summary be displayed
|
|
41
|
+
*/
|
|
42
|
+
showSummary?: Boolean;
|
|
35
43
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Example data for the HomeHero stories
|
|
3
|
+
*/
|
|
4
|
+
export declare const HomeHeroCommon: {
|
|
5
|
+
searchSuggestions: string[];
|
|
6
|
+
imagesArray: {
|
|
7
|
+
image1440x810: string;
|
|
8
|
+
image144x81: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
export declare const HomeHeroPromotedLinks: {
|
|
12
|
+
title: string;
|
|
13
|
+
url: string;
|
|
14
|
+
}[];
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
export interface HomeHeroProps {
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
* The line of text before the logo
|
|
4
|
+
*/
|
|
5
5
|
topline?: string;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* URL of an alternative logo to override the preset ones (520 x 150 px)
|
|
8
|
+
*/
|
|
9
|
+
imageOverrideLogo?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Alt text for overridden logo
|
|
8
12
|
*/
|
|
13
|
+
imageOverrideLogoAltText?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The line of text after the logo
|
|
16
|
+
*/
|
|
9
17
|
strapline?: string;
|
|
10
18
|
/**
|
|
11
19
|
* The images for the hero, minimum of one
|
|
@@ -35,4 +35,5 @@ import SectionLinksSidebar from './SectionLinksSidebar/SectionLinksSidebar';
|
|
|
35
35
|
import ServicesLinksList from './ServicesLinksList/ServicesLinksList';
|
|
36
36
|
import SignpostLinks from './SignpostLinks/SignpostLinks';
|
|
37
37
|
import SkipToMainContent from './SkipToMainContent/SkipToMainContent';
|
|
38
|
-
|
|
38
|
+
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, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "northants-design-system",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A new design system for Future Northants - North Northamptonshire & West Northamptonshire, two brand new unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.",
|
|
6
6
|
"main": "build/index.js",
|