northants-design-system 0.2.21 → 0.2.24
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/build/index.d.ts +3 -1
- package/build/index.esm.js +8457 -8420
- package/build/index.esm.js.map +1 -1
- package/build/index.js +8457 -8419
- package/build/index.js.map +1 -1
- package/build/library/components/Autocomplete/Autocomplete.d.ts +2 -2
- package/build/library/components/Card/Card.types.d.ts +8 -7
- package/build/library/components/Pagination/Pagination.d.ts +3 -3
- package/build/library/components/Pagination/Pagination.types.d.ts +1 -1
- package/build/library/slices/Image/Image.types.d.ts +4 -0
- package/build/library/structure/PageStructures.d.ts +1 -2
- package/package.json +9 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { AutocompleteProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AutocompleteProps } from './Autocomplete.types';
|
|
3
3
|
/**
|
|
4
4
|
* Autocomplete input; Downshift wrapped around our Input component but with the capability to
|
|
5
5
|
* accept a list of suggestions which are presented to the user as they type and which they can
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export interface CardProps {
|
|
3
2
|
/**
|
|
4
3
|
* Optional card header
|
|
5
4
|
*/
|
|
6
|
-
header?: string;
|
|
5
|
+
header?: string | null;
|
|
7
6
|
/**
|
|
8
|
-
* The card content
|
|
7
|
+
* The card content as a string of html
|
|
9
8
|
*/
|
|
10
|
-
content
|
|
11
|
-
/**
|
|
12
|
-
|
|
9
|
+
content?: string | null;
|
|
10
|
+
/**
|
|
11
|
+
* Optional large image
|
|
12
|
+
* */
|
|
13
|
+
imageLarge?: string | null;
|
|
13
14
|
/**
|
|
14
15
|
* Optional small image
|
|
15
16
|
*/
|
|
16
|
-
imageSmall?: string;
|
|
17
|
+
imageSmall?: string | null;
|
|
17
18
|
/**
|
|
18
19
|
* Optional image alt text
|
|
19
20
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { PaginationProps } from
|
|
3
|
-
declare const Pagination: React.
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PaginationProps } from './Pagination.types';
|
|
3
|
+
declare const Pagination: React.FunctionComponent<PaginationProps>;
|
|
4
4
|
export default Pagination;
|
|
@@ -11,7 +11,6 @@ import FullWidthContainer from './FullWidthContainer/FullWidthContainer';
|
|
|
11
11
|
import Header from './Header/Header';
|
|
12
12
|
import HeroImage from './HeroImage/HeroImage';
|
|
13
13
|
import HomeHero from './HomeHero/HomeHero';
|
|
14
|
-
import HomeUnitarySection from './HomeUnitarySection/HomeUnitarySection';
|
|
15
14
|
import MaxWidthContainer from './MaxWidthContainer/MaxWidthContainer';
|
|
16
15
|
import MemorialHero from './MemorialHero/MemorialHero';
|
|
17
16
|
import NewsArticleDate from './NewsArticleDate/NewsArticleDate';
|
|
@@ -39,4 +38,4 @@ import ServicesLinksList from './ServicesLinksList/ServicesLinksList';
|
|
|
39
38
|
import SignpostLinks from './SignpostLinks/SignpostLinks';
|
|
40
39
|
import SkipToMainContent from './SkipToMainContent/SkipToMainContent';
|
|
41
40
|
import Summary from './Summary/Summary';
|
|
42
|
-
export { AccessibleLinks, AlertBanner, AlertBannerService, Breadcrumbs, Contents, ContentsNavigation, CookieBanner, DisplayDate, Footer, FullWidthContainer, Header, HeroImage, HomeHero,
|
|
41
|
+
export { AccessibleLinks, AlertBanner, AlertBannerService, Breadcrumbs, Contents, ContentsNavigation, CookieBanner, DisplayDate, Footer, FullWidthContainer, Header, HeroImage, HomeHero, 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, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "northants-design-system",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.24",
|
|
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": "^22.0.0",
|
|
55
55
|
"@rollup/plugin-json": "~4.1.0",
|
|
56
56
|
"@rollup/plugin-node-resolve": "^13.1.0",
|
|
57
|
-
"@storybook/addon-a11y": "~6.5.
|
|
58
|
-
"@storybook/addon-essentials": "~6.5.
|
|
57
|
+
"@storybook/addon-a11y": "~6.5.9",
|
|
58
|
+
"@storybook/addon-essentials": "~6.5.9",
|
|
59
59
|
"@storybook/addon-ie11": "0.0.6",
|
|
60
|
-
"@storybook/addon-links": "~6.5.
|
|
61
|
-
"@storybook/builder-webpack5": "~6.5.
|
|
62
|
-
"@storybook/manager-webpack5": "~6.5.
|
|
63
|
-
"@storybook/react": "~6.5.
|
|
60
|
+
"@storybook/addon-links": "~6.5.9",
|
|
61
|
+
"@storybook/builder-webpack5": "~6.5.9",
|
|
62
|
+
"@storybook/manager-webpack5": "~6.5.9",
|
|
63
|
+
"@storybook/react": "~6.5.9",
|
|
64
64
|
"@testing-library/jest-dom": "^5.16.2",
|
|
65
65
|
"@testing-library/react": "^12.0.0",
|
|
66
66
|
"@types/jest": "^27.4.0",
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
"node-sass": "^7.0.1",
|
|
88
88
|
"react": "~17",
|
|
89
89
|
"react-dom": "~17",
|
|
90
|
-
"rollup": "~2.
|
|
90
|
+
"rollup": "~2.75",
|
|
91
91
|
"rollup-plugin-copy": "^3.4.0",
|
|
92
92
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
93
93
|
"rollup-plugin-postcss": "^4.0.2",
|
|
94
94
|
"rollup-plugin-svg": "^2.0.0",
|
|
95
|
-
"rollup-plugin-typescript2": "^0.
|
|
95
|
+
"rollup-plugin-typescript2": "^0.32",
|
|
96
96
|
"sass-loader": "^13.0.0",
|
|
97
97
|
"styled-components": "^5.3.3",
|
|
98
98
|
"ts-jest": "^27",
|