@ons/design-system 67.0.4 → 67.0.5

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.
@@ -44,11 +44,11 @@ export default class CharLimit {
44
44
 
45
45
  track(remaining) {
46
46
  if (remaining < 1) {
47
- trackEvent('send', {
48
- hitType: 'event',
49
- eventCategory: 'Error',
50
- eventAction: 'Textarea limit reached',
51
- eventLabel: `Limit of ${this.maxLength} reached/exceeded`,
47
+ trackEvent({
48
+ event_type: 'event',
49
+ event_category: 'Error',
50
+ event_action: 'Textarea limit reached',
51
+ event_label: `Limit of ${this.maxLength} reached/exceeded`,
52
52
  });
53
53
  }
54
54
  }
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": "67.0.4",
4
+ "version": "67.0.5",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -33,18 +33,15 @@
33
33
  "lint-staged": {
34
34
  "*.js": [
35
35
  "prettier --print-width 140 --single-quote --parser babel --write",
36
- "eslint --fix",
37
- "git add"
36
+ "eslint --fix"
38
37
  ],
39
38
  "*.md": [
40
39
  "prettier --write",
41
- "remark",
42
- "git add"
40
+ "remark"
43
41
  ],
44
42
  "*.scss": [
45
43
  "prettier --print-width 140 --single-quote --parser scss --write",
46
- "yarn run stylelint-fix",
47
- "git add"
44
+ "yarn run stylelint-fix"
48
45
  ]
49
46
  },
50
47
  "browserslist": [
@@ -102,7 +99,7 @@
102
99
  "jest-environment-jsdom": "^29.6.1",
103
100
  "jest-puppeteer": "^9.0.0",
104
101
  "lighthouse": "^11.0.0",
105
- "lint-staged": "^8.1.0",
102
+ "lint-staged": "^15.2.0",
106
103
  "lodash": "^4.17.21",
107
104
  "mdn-polyfills": "^5.14.0",
108
105
  "normalize.css": "^8.0.1",