@not-govuk/back-link 0.5.9 → 0.6.0
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 +1 -1
- package/package.json +11 -11
package/dist/BackLink.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { StandardProps } from '@not-govuk/component-helpers';
|
|
3
3
|
import '../assets/BackLink.scss';
|
|
4
|
-
export
|
|
4
|
+
export type BackLinkProps = StandardProps & {
|
|
5
5
|
/** The location to link to */
|
|
6
6
|
href?: string;
|
|
7
7
|
/** The text of the link */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@not-govuk/back-link",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "A component to help users navigate back one page.",
|
|
5
5
|
"main": "dist/BackLink.js",
|
|
6
6
|
"sass": "assets/BackLink.scss",
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"react-components"
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@not-govuk/component-helpers": "^0.
|
|
18
|
-
"@not-govuk/link": "^0.
|
|
19
|
-
"@not-govuk/sass-base": "^0.
|
|
20
|
-
"govuk-frontend": "
|
|
17
|
+
"@not-govuk/component-helpers": "^0.6.0",
|
|
18
|
+
"@not-govuk/link": "^0.6.0",
|
|
19
|
+
"@not-govuk/sass-base": "^0.6.0",
|
|
20
|
+
"govuk-frontend": "4.4.1"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@not-govuk/docs-components": "^0.
|
|
23
|
+
"@not-govuk/docs-components": "^0.6.0",
|
|
24
24
|
"@storybook/addon-docs": "^6.4.0",
|
|
25
25
|
"react": "^16.9.55"
|
|
26
26
|
},
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@mdx-js/react": "1.6.22",
|
|
37
|
-
"@not-govuk/component-test-helpers": "^0.
|
|
37
|
+
"@not-govuk/component-test-helpers": "^0.6.0",
|
|
38
38
|
"@types/react": "16.14.32",
|
|
39
|
-
"jest": "
|
|
40
|
-
"jest-environment-jsdom": "
|
|
41
|
-
"ts-jest": "
|
|
42
|
-
"typescript": "4.
|
|
39
|
+
"jest": "29.4.2",
|
|
40
|
+
"jest-environment-jsdom": "29.4.2",
|
|
41
|
+
"ts-jest": "29.0.5",
|
|
42
|
+
"typescript": "4.9.5"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|