@moduk/frontend 1.1.22 → 1.1.24

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.
@@ -1,40 +1,40 @@
1
1
  {% from "moduk/components/table/macro.njk" import modukTable -%}
2
2
 
3
3
  {{ modukTable({
4
- caption: "Active users of each application",
4
+ caption: "Dates and amounts",
5
5
  captionClasses: "govuk-table__caption--m",
6
6
  firstCellIsHeader: true,
7
7
  head: [
8
8
  {
9
- text: "Application"
9
+ text: "Date"
10
10
  },
11
11
  {
12
- text: "Number of users"
12
+ text: "Amount"
13
13
  }
14
14
  ],
15
15
  rows: [
16
16
  [
17
17
  {
18
- text: "Application A"
18
+ text: "First 6 weeks"
19
19
  },
20
20
  {
21
- text: "51 per day"
21
+ text: "£109.80 per week"
22
22
  }
23
23
  ],
24
24
  [
25
25
  {
26
- text: "Application B"
26
+ text: "Next 33 weeks"
27
27
  },
28
28
  {
29
- text: "163 per day"
29
+ text: "£109.80 per week"
30
30
  }
31
31
  ],
32
32
  [
33
33
  {
34
- text: "Application C"
34
+ text: "Total estimated pay"
35
35
  },
36
36
  {
37
- text: "75 per day"
37
+ text: "£4,282.20"
38
38
  }
39
39
  ]
40
40
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moduk/frontend",
3
- "version": "1.1.22",
3
+ "version": "1.1.24",
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": "dist/lib/index.js",
6
6
  "sass": "src/css/index.scss",
@@ -86,24 +86,24 @@
86
86
  },
87
87
  "devDependencies": {
88
88
  "@11ty/eleventy": "^2.0.0",
89
- "@axe-core/playwright": "^4.7.1",
89
+ "@axe-core/playwright": "^4.7.3",
90
90
  "@babel/cli": "^7.21.0",
91
- "@babel/core": "^7.22.1",
91
+ "@babel/core": "^7.22.5",
92
92
  "@babel/preset-env": "^7.22.4",
93
- "@babel/preset-react": "^7.22.3",
93
+ "@babel/preset-react": "^7.22.5",
94
94
  "@babel/preset-typescript": "^7.21.5",
95
95
  "@commitlint/cli": "^17.6.5",
96
96
  "@commitlint/config-conventional": "^17.4.4",
97
97
  "@playwright/test": "^1.34.3",
98
98
  "@release-it/conventional-changelog": "^5.1.1",
99
- "@testing-library/dom": "^9.2.0",
99
+ "@testing-library/dom": "^9.3.1",
100
100
  "@testing-library/jest-dom": "^5.16.5",
101
101
  "@types/lodash": "^4.14.195",
102
- "@types/node": "^18.16.14",
102
+ "@types/node": "^18.16.18",
103
103
  "@types/nunjucks": "^3.2.2",
104
104
  "@types/react": "^18.2.7",
105
105
  "@types/react-dom": "^18.2.4",
106
- "@typescript-eslint/eslint-plugin": "^5.59.8",
106
+ "@typescript-eslint/eslint-plugin": "^5.59.11",
107
107
  "@typescript-eslint/parser": "^5.59.5",
108
108
  "babel-loader": "^9.1.2",
109
109
  "concurrently": "^8.0.1",
@@ -124,13 +124,13 @@
124
124
  "postcss-fail-on-warn": "^0.2.1",
125
125
  "postcss-preset-env": "^8.4.1",
126
126
  "release-it": "^15.10.3",
127
- "sass": "^1.62.1",
127
+ "sass": "^1.63.4",
128
128
  "sass-true": "^7.0.0",
129
129
  "shx": "^0.3.4",
130
130
  "ts-node": "^10.9.1",
131
131
  "tsconfig-paths": "^4.2.0",
132
132
  "typescript": "^5.0.4",
133
- "vitest": "^0.31.1",
133
+ "vitest": "^0.32.2",
134
134
  "webpack": "^5.76.3",
135
135
  "webpack-cli": "^5.1.1"
136
136
  },
@@ -143,11 +143,6 @@
143
143
  "dprint fmt"
144
144
  ]
145
145
  },
146
- "overrides": {
147
- "@axe-core/playwright": {
148
- "playwright": "$@playwright/test"
149
- }
150
- },
151
146
  "dependencies": {
152
147
  "clsx": "^1.2.1",
153
148
  "lodash": "^4.17.21"