@abgov/react-components 4.0.0-alpha.20 → 4.0.0-alpha.23
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/index.d.ts +1 -0
- package/lib/app-header/app-header.d.ts +2 -2
- package/lib/callout/callout.d.ts +3 -3
- package/lib/hero-banner/hero-banner.d.ts +2 -2
- package/lib/page/page.d.ts +1 -1
- package/package.json +1 -1
- package/react-components.esm.js +673 -349
- package/react-components.umd.js +675 -351
package/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import { GoASpinner } from './lib/spinner/spinner';
|
|
|
28
28
|
import { GoATextArea } from './lib/textarea/textarea';
|
|
29
29
|
import type { GoAIconType } from './lib/icons';
|
|
30
30
|
import type { GoABadgeType } from './lib/badge/badge';
|
|
31
|
+
export * from './lib/page/page';
|
|
31
32
|
export * from './lib/footer/footer';
|
|
32
33
|
export * from './lib/footer-nav-section/footer-nav-section';
|
|
33
34
|
export * from './lib/footer-meta-section/footer-meta-section';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
interface WCProps {
|
|
3
|
-
|
|
3
|
+
heading?: string;
|
|
4
4
|
url?: string;
|
|
5
5
|
}
|
|
6
6
|
declare global {
|
|
@@ -11,7 +11,7 @@ declare global {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
interface Props {
|
|
14
|
-
|
|
14
|
+
heading?: string;
|
|
15
15
|
url?: string;
|
|
16
16
|
}
|
|
17
17
|
export declare const GoAAppHeader: FC<Props>;
|
package/lib/callout/callout.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare type CalloutType = "important" | 'information' | 'event' | 'success' | 'emergency';
|
|
3
3
|
interface WCProps {
|
|
4
|
-
|
|
4
|
+
heading?: string;
|
|
5
5
|
type?: CalloutType;
|
|
6
6
|
}
|
|
7
7
|
declare global {
|
|
@@ -12,9 +12,9 @@ declare global {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
export interface CalloutProps {
|
|
15
|
-
|
|
15
|
+
heading?: string;
|
|
16
16
|
type?: CalloutType;
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
}
|
|
19
|
-
export declare const GoACallout: ({
|
|
19
|
+
export declare const GoACallout: ({ heading, type, children }: CalloutProps) => JSX.Element;
|
|
20
20
|
export default GoACallout;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
interface WCProps {
|
|
3
|
-
|
|
3
|
+
heading: string;
|
|
4
4
|
backgroundurl: string;
|
|
5
5
|
}
|
|
6
6
|
declare global {
|
|
@@ -11,7 +11,7 @@ declare global {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
interface Props {
|
|
14
|
-
|
|
14
|
+
heading: string;
|
|
15
15
|
backgroundUrl: string;
|
|
16
16
|
}
|
|
17
17
|
export declare const GoAHeroBanner: FC<Props>;
|
package/lib/page/page.d.ts
CHANGED
package/package.json
CHANGED