northants-design-system 0.2.2 → 0.2.3
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.esm.js +23 -35
- package/build/index.esm.js.map +1 -1
- package/build/index.js +23 -35
- package/build/index.js.map +1 -1
- package/build/library/slices/Accordion/Accordion.d.ts +2 -2
- package/build/library/structure/AlertBannerService/AlertBannerService.d.ts +2 -1
- package/build/library/structure/AlertBannerService/AlertBannerService.types.d.ts +7 -3
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AlertBannerServiceProps } from './AlertBannerService.types';
|
|
3
3
|
/**
|
|
4
|
-
* A
|
|
4
|
+
* A banner to be displayed at the top of a page before the main content
|
|
5
|
+
* to draw the viewer's attention to an alert notice
|
|
5
6
|
*/
|
|
6
7
|
declare const AlertBannerService: React.FunctionComponent<AlertBannerServiceProps>;
|
|
7
8
|
export default AlertBannerService;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export interface AlertBannerServiceProps {
|
|
3
3
|
/**
|
|
4
|
-
* The optional title of this alert
|
|
4
|
+
* The optional title of this alert banner
|
|
5
5
|
*/
|
|
6
6
|
title?: string;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Set to true for additional margin above the alert banner
|
|
9
|
+
*/
|
|
10
|
+
hasTopSpacing?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The type of alert banner
|
|
9
13
|
*/
|
|
10
14
|
alertType?: 'alert' | 'warning' | 'positive' | 'london_bridge';
|
|
11
15
|
/**
|
|
12
|
-
* All
|
|
16
|
+
* All child content for the alert banner
|
|
13
17
|
*/
|
|
14
18
|
children: React.ReactNode;
|
|
15
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "northants-design-system",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
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",
|