@ons/design-system 73.10.0-beta.2 → 73.11.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/components/address-input/autosuggest.address.spec.js +23 -0
- package/components/autosuggest/autosuggest.ui.js +3 -0
- package/components/document-list/_macro.njk +2 -2
- package/components/document-list/_macro.spec.js +55 -0
- package/components/figure/_macro.njk +10 -5
- package/components/figure/_macro.spec.js +100 -3
- package/components/header/_macro.njk +1 -1
- package/components/header/_macro.spec.js +21 -0
- package/components/table/_macro.njk +15 -2
- package/components/table/_macro.spec.js +65 -0
- package/components/table/_table.scss +6 -1
- package/components/table/example-table-with-figure-fields.njk +1 -0
- package/css/main.css +1 -1
- package/package.json +14 -11
- package/scripts/main.es5.js +1 -1
- package/scripts/main.js +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ons/design-system",
|
|
3
3
|
"description": "ONS Design System built CSS, JS, and Nunjucks templates",
|
|
4
|
-
"version": "73.
|
|
4
|
+
"version": "73.11.2",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "ONS Digital"
|
|
9
9
|
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/ONSdigital/design-system"
|
|
13
|
+
},
|
|
10
14
|
"scripts": {
|
|
11
15
|
"start": "gulp start",
|
|
12
16
|
"watch": "gulp watch",
|
|
@@ -27,27 +31,26 @@
|
|
|
27
31
|
"tidy-clean": "rm -rf build css favicons fonts img components layout scripts coverage scss js",
|
|
28
32
|
"check-unused": "npx npm-check-unused",
|
|
29
33
|
"dedupe-deps": "npx yarn-deduplicate yarn.lock",
|
|
30
|
-
"lint
|
|
31
|
-
"
|
|
32
|
-
"stylelint-fix": "stylelint '**/*.scss' --fix",
|
|
34
|
+
"lint": "prettier --check . && eslint '**/*.{js,mjs}' && stylelint '**/*.scss' && remark . --ext md --ignore-path .remarkignore --frail",
|
|
35
|
+
"lint:fix": "prettier --write . && eslint --fix '**/*.{js,mjs}' && stylelint '**/*.scss' --fix && remark . --ext md --ignore-path .remarkignore --output",
|
|
33
36
|
"prepack": "pinst --disable",
|
|
34
37
|
"postpack": "pinst --enable"
|
|
35
38
|
},
|
|
36
39
|
"lint-staged": {
|
|
37
40
|
"*.{js,mjs}": [
|
|
38
|
-
"prettier --
|
|
39
|
-
"eslint
|
|
41
|
+
"prettier --check",
|
|
42
|
+
"eslint"
|
|
40
43
|
],
|
|
41
44
|
"*.md": [
|
|
42
|
-
"prettier --
|
|
43
|
-
"remark"
|
|
45
|
+
"prettier --check",
|
|
46
|
+
"remark --ext md --ignore-path .remarkignore --frail"
|
|
44
47
|
],
|
|
45
48
|
"*.scss": [
|
|
46
|
-
"prettier --
|
|
47
|
-
"stylelint
|
|
49
|
+
"prettier --check",
|
|
50
|
+
"stylelint"
|
|
48
51
|
],
|
|
49
52
|
"*.{yml,yaml,njk,html}": [
|
|
50
|
-
"prettier --
|
|
53
|
+
"prettier --check"
|
|
51
54
|
]
|
|
52
55
|
},
|
|
53
56
|
"browserslist": [
|