@ons/design-system 72.10.0 → 72.10.1

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.
Files changed (32) hide show
  1. package/components/char-check-limit/_macro.njk +2 -2
  2. package/components/char-check-limit/character-check.js +30 -9
  3. package/components/char-check-limit/character-check.spec.js +1 -1
  4. package/components/chart/_chart.scss +2 -3
  5. package/components/chart/_macro.njk +27 -16
  6. package/components/chart/_macro.spec.js +19 -0
  7. package/components/chart/bar-chart.js +46 -20
  8. package/components/chart/chart-constants.js +1 -0
  9. package/components/chart/chart.js +17 -1
  10. package/components/chart/common-chart-options.js +57 -28
  11. package/components/chart/example-column-chart-with-custom-reference-line-value.njk +56 -0
  12. package/components/chart/example-line-chart-with-custom-reference-line-value.njk +224 -0
  13. package/components/chart/example-line-chart-with-markers.njk +20 -20
  14. package/components/chart/example-scatter-chart.njk +4 -4
  15. package/components/chart/line-chart.js +29 -11
  16. package/components/chart/range-annotations-options.js +6 -1
  17. package/components/chart/scatter-chart.js +0 -6
  18. package/components/chart/specific-chart-options.js +21 -0
  19. package/components/chart/utilities.js +8 -7
  20. package/components/checkboxes/_macro.spec.js +1 -1
  21. package/components/mutually-exclusive/mutually-exclusive.textarea.spec.js +1 -1
  22. package/components/textarea/_macro.njk +8 -6
  23. package/components/textarea/_macro.spec.js +12 -8
  24. package/components/textarea/{example-textarea-with-character-limit.njk → example-textarea-with-character-check.njk} +3 -1
  25. package/css/main.css +1 -1
  26. package/js/main.js +0 -1
  27. package/package.json +14 -14
  28. package/scripts/main.es5.js +1 -1
  29. package/scripts/main.js +1 -1
  30. package/components/char-check-limit/character-limit.js +0 -55
  31. package/components/textarea/textarea.dom.js +0 -12
  32. package/components/textarea/textarea.spec.js +0 -98
package/js/main.js CHANGED
@@ -3,7 +3,6 @@ import './print-button';
3
3
  import './analytics';
4
4
  import './cookies-settings.dom';
5
5
  import '../components/mutually-exclusive/mutually-exclusive.dom';
6
- import '../components/textarea/textarea.dom';
7
6
  import '../components/password/password.dom';
8
7
  import '../components/tabs/tabs.dom';
9
8
  import '../components/table-of-contents/table-of-contents.dom';
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": "72.10.0",
4
+ "version": "72.10.1",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -54,23 +54,23 @@
54
54
  "not dead"
55
55
  ],
56
56
  "devDependencies": {
57
- "@babel/core": "^7.25.2",
58
- "@babel/eslint-parser": "^7.22.9",
59
- "@babel/node": "^7.14.7",
60
- "@babel/plugin-proposal-class-properties": "^7.14.5",
57
+ "@babel/core": "^7.27.1",
58
+ "@babel/eslint-parser": "^7.27.1",
59
+ "@babel/node": "^7.27.1",
60
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
61
61
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
62
- "@babel/plugin-transform-modules-commonjs": "^7.14.5",
63
- "@babel/plugin-transform-runtime": "^7.14.5",
64
- "@babel/preset-env": "^7.25.4",
65
- "@babel/register": "^7.14.5",
66
- "@babel/runtime": "^7.14.6",
67
- "abortcontroller-polyfill": "^1.2.3",
68
- "autoprefixer": "^10.4.20",
69
- "babel-plugin-istanbul": "^6.0.0",
62
+ "@babel/plugin-transform-modules-commonjs": "^7.27.1",
63
+ "@babel/plugin-transform-runtime": "^7.27.1",
64
+ "@babel/preset-env": "^7.27.2",
65
+ "@babel/register": "^7.27.1",
66
+ "@babel/runtime": "^7.27.1",
67
+ "abortcontroller-polyfill": "^1.7.8",
68
+ "autoprefixer": "^10.4.21",
69
+ "babel-plugin-istanbul": "^7.0.0",
70
70
  "babelify": "^10.0.0",
71
71
  "backstopjs": "^6.1.4",
72
72
  "browser-sync": "^2.27.3",
73
- "browserify": "^17.0.0",
73
+ "browserify": "^17.0.1",
74
74
  "chalk": "^4.1.2",
75
75
  "cheerio": "^1.0.0-rc.10",
76
76
  "core-js": "^3.21.1",