@moduk/frontend 0.3.6 → 0.3.7
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.
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
{
|
|
1
|
+
{%- from "moduk/components/skip-link/macro.njk" import modukSkipLink -%}
|
|
2
2
|
|
|
3
3
|
{# Wrapped in a <div> so there is one root element, for visual regression tests to use #}
|
|
4
4
|
|
|
5
5
|
<div>
|
|
6
|
+
<p class="govuk-body" id="content">To view the skip link component tab to this example, or click inside this example and press tab.</p>
|
|
6
7
|
|
|
7
8
|
{{ modukSkipLink({
|
|
8
9
|
text: "Skip to main content",
|
|
9
10
|
href: "#content"
|
|
10
11
|
}) }}
|
|
11
|
-
|
|
12
|
-
<p class="govuk-body" id="content">Press tab to view the skip link component.</p>
|
|
13
|
-
|
|
14
12
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moduk/frontend",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "The MOD.UK Frontend contains the code you need to start building a user interface for Ministry of Defence platforms and services.",
|
|
5
5
|
"main": "dist/lib/index.js",
|
|
6
6
|
"sass": "src/css/index.scss",
|
|
@@ -86,12 +86,12 @@
|
|
|
86
86
|
"@babel/preset-env": "^7.20.2",
|
|
87
87
|
"@babel/preset-typescript": "^7.18.6",
|
|
88
88
|
"@commitlint/cli": "^17.4.2",
|
|
89
|
-
"@commitlint/config-conventional": "^17.
|
|
89
|
+
"@commitlint/config-conventional": "^17.4.2",
|
|
90
90
|
"@playwright/test": "^1.29.2",
|
|
91
91
|
"@release-it/conventional-changelog": "^5.1.1",
|
|
92
|
-
"@testing-library/dom": "^8.
|
|
92
|
+
"@testing-library/dom": "^8.20.0",
|
|
93
93
|
"@testing-library/jest-dom": "^5.16.5",
|
|
94
|
-
"@types/glob": "^8.0.
|
|
94
|
+
"@types/glob": "^8.0.1",
|
|
95
95
|
"@types/lodash": "^4.14.189",
|
|
96
96
|
"@types/nunjucks": "^3.2.1",
|
|
97
97
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
@@ -110,11 +110,11 @@
|
|
|
110
110
|
"lint-staged": "^13.1.0",
|
|
111
111
|
"postcss-cli": "^10.1.0",
|
|
112
112
|
"postcss-fail-on-warn": "^0.2.1",
|
|
113
|
-
"release-it": "^15.
|
|
113
|
+
"release-it": "^15.6.0",
|
|
114
114
|
"sass": "^1.57.1",
|
|
115
115
|
"shx": "^0.3.4",
|
|
116
116
|
"ts-node": "^10.9.1",
|
|
117
|
-
"typescript": "^4.9.
|
|
117
|
+
"typescript": "^4.9.5",
|
|
118
118
|
"vitest": "^0.28.3",
|
|
119
119
|
"webpack": "^5.75.0",
|
|
120
120
|
"webpack-cli": "^5.0.1"
|