@ons/design-system 65.1.0 → 65.2.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/components/access-code/access-code.scss +3 -3
- package/components/autosuggest/_autosuggest.scss +3 -8
- package/components/autosuggest/_macro.njk +1 -3
- package/components/button/_button.scss +11 -14
- package/components/checkboxes/_checkbox.scss +1 -4
- package/components/download-resources/_download-resources.scss +3 -5
- package/components/external-link/example-external-link.njk +1 -1
- package/components/helpers/_grid.scss +6 -0
- package/components/helpers/grid.njk +19 -0
- package/components/input/_input-type.scss +2 -8
- package/components/input/_input.scss +4 -3
- package/components/modal/_modal.scss +3 -6
- package/components/navigation/navigation.js +6 -2
- package/components/phase-banner/example-phase-banner-alpha.njk +13 -2
- package/components/phase-banner/example-phase-banner-beta.njk +13 -2
- package/components/table/_table.scss +7 -3
- package/css/main.css +3 -3
- package/package.json +9 -10
- package/scripts/main.es5.js +1 -1
- package/scripts/main.js +1 -1
- package/scss/base/_global.scss +3 -2
- package/scss/main.scss +1 -0
- package/scss/overrides/hcm.scss +10 -10
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ons/design-system",
|
|
3
3
|
"description": "ONS Design System built CSS, JS, and Nunjucks templates",
|
|
4
|
-
"version": "65.
|
|
4
|
+
"version": "65.2.0",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
@@ -26,13 +26,10 @@
|
|
|
26
26
|
"dedupe-deps": "npx yarn-deduplicate yarn.lock",
|
|
27
27
|
"lint-staged": "lint-staged",
|
|
28
28
|
"stylelint": "stylelint '**/*.scss'",
|
|
29
|
-
"stylelint-fix": "stylelint '**/*.scss' --fix"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"pre-commit": "lint-staged",
|
|
34
|
-
"post-checkout": "yarn tidy-clean && yarn install --check-files"
|
|
35
|
-
}
|
|
29
|
+
"stylelint-fix": "stylelint '**/*.scss' --fix",
|
|
30
|
+
"prepack": "pinst --disable",
|
|
31
|
+
"postpack": "pinst --enable",
|
|
32
|
+
"prepare": "husky install"
|
|
36
33
|
},
|
|
37
34
|
"lint-staged": {
|
|
38
35
|
"*.js": [
|
|
@@ -46,7 +43,7 @@
|
|
|
46
43
|
"git add"
|
|
47
44
|
],
|
|
48
45
|
"*.scss": [
|
|
49
|
-
"prettier --print-width 140 --single-quote --parser
|
|
46
|
+
"prettier --print-width 140 --single-quote --parser scss --write",
|
|
50
47
|
"yarn run stylelint-fix",
|
|
51
48
|
"git add"
|
|
52
49
|
]
|
|
@@ -100,7 +97,7 @@
|
|
|
100
97
|
"gulp-sourcemaps": "^3.0.0",
|
|
101
98
|
"gulp-terser": "^2.0.1",
|
|
102
99
|
"http-server": "^0.12.3",
|
|
103
|
-
"husky": "^
|
|
100
|
+
"husky": "^8.0.3",
|
|
104
101
|
"jest": "^27.5.1",
|
|
105
102
|
"jest-axe": "^6.0.0",
|
|
106
103
|
"jest-puppeteer": "^6.1.0",
|
|
@@ -112,6 +109,7 @@
|
|
|
112
109
|
"minimist": "^1.2.5",
|
|
113
110
|
"normalize.css": "^8.0.1",
|
|
114
111
|
"nunjucks": "^3.2.3",
|
|
112
|
+
"pinst": "^3.0.0",
|
|
115
113
|
"postcss": "^8.3.5",
|
|
116
114
|
"postcss-url": "^8.0.0",
|
|
117
115
|
"prepend-file": "^1.3.1",
|
|
@@ -125,6 +123,7 @@
|
|
|
125
123
|
"stylelint-config-recommended": "^13.0.0",
|
|
126
124
|
"stylelint-config-sass-guidelines": "^10.0.0",
|
|
127
125
|
"stylelint-config-standard": "^34.0.0",
|
|
126
|
+
"stylelint-order": "^6.0.3",
|
|
128
127
|
"stylelint-scss": "^5.0.1",
|
|
129
128
|
"through2": "^4.0.2",
|
|
130
129
|
"tick-manager": "^1.0.3",
|