@moduk/frontend 2.0.0 → 2.0.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moduk/frontend",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
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": "lib/index.js",
|
|
6
6
|
"sass": "src/css/index.scss",
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"optionator": "^0.9.3"
|
|
187
187
|
},
|
|
188
188
|
"peerDependencies": {
|
|
189
|
-
"govuk-frontend": "5.0.0",
|
|
189
|
+
"govuk-frontend": "^5.0.0",
|
|
190
190
|
"nunjucks": "^3.2.3",
|
|
191
191
|
"react": "^18.2.0",
|
|
192
192
|
"react-dom": "^18.2.0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MODUKBody.d.ts","sourceRoot":"","sources":["../../../src/react/MODUKBody/MODUKBody.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAuB,MAAM,OAAO,CAAA;AAE1E;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,qCAAsC,yBAAyB,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"MODUKBody.d.ts","sourceRoot":"","sources":["../../../src/react/MODUKBody/MODUKBody.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAuB,MAAM,OAAO,CAAA;AAE1E;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,qCAAsC,yBAAyB,MAAM,CAAC,4CAuB3F,CAAA"}
|
|
@@ -32,7 +32,7 @@ export var MODUKBody = function MODUKBody(_ref) {
|
|
|
32
32
|
var combinedClassName = clsx({
|
|
33
33
|
'js-enabled': isClient,
|
|
34
34
|
'govuk-frontend-supported': isClient && 'noModule' in HTMLScriptElement.prototype
|
|
35
|
-
}, className);
|
|
35
|
+
}, 'govuk-template__body', className);
|
|
36
36
|
return _jsx("body", _objectSpread(_objectSpread({
|
|
37
37
|
className: combinedClassName
|
|
38
38
|
}, rest), {}, {
|