@not-govuk/back-link 0.19.2 → 0.19.4
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/dist/BackLink.d.ts +3 -3
- package/package.json +8 -8
package/dist/BackLink.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ import '../assets/BackLink.scss';
|
|
|
4
4
|
export type BackLinkProps = ComponentProps<typeof A> & {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
/** The location to link to */
|
|
7
|
-
href?: string;
|
|
7
|
+
href?: string | undefined;
|
|
8
8
|
/** The text of the link */
|
|
9
|
-
text?: string;
|
|
9
|
+
text?: string | undefined;
|
|
10
10
|
/** The title of the link */
|
|
11
|
-
title?: string;
|
|
11
|
+
title?: string | undefined;
|
|
12
12
|
};
|
|
13
13
|
export declare const BackLink: FC<BackLinkProps>;
|
|
14
14
|
export default BackLink;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@not-govuk/back-link",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.4",
|
|
4
4
|
"description": "A component to help users navigate back one page.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/BackLink.js",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"react-components"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@not-govuk/link": "^0.19.
|
|
27
|
-
"@not-govuk/sass-base": "^0.19.
|
|
28
|
-
"@react-foundry/component-helpers": "^0.6.
|
|
29
|
-
"@react-foundry/router": "^0.6.
|
|
26
|
+
"@not-govuk/link": "^0.19.4",
|
|
27
|
+
"@not-govuk/sass-base": "^0.19.4",
|
|
28
|
+
"@react-foundry/component-helpers": "^0.6.5",
|
|
29
|
+
"@react-foundry/router": "^0.6.5",
|
|
30
30
|
"govuk-frontend": "^6.5.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@react-foundry/docs-components": "^0.6.
|
|
33
|
+
"@react-foundry/docs-components": "^0.6.5",
|
|
34
34
|
"@storybook/addon-docs": "^10.6.1",
|
|
35
35
|
"react": "^19.3.0"
|
|
36
36
|
},
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@not-govuk/panel": "0.19.
|
|
47
|
-
"@react-foundry/component-test-helpers": "0.6.
|
|
46
|
+
"@not-govuk/panel": "0.19.4",
|
|
47
|
+
"@react-foundry/component-test-helpers": "0.6.5",
|
|
48
48
|
"@types/react": "19.3.0",
|
|
49
49
|
"jest": "30.5.2",
|
|
50
50
|
"jest-environment-jsdom": "30.5.2",
|