@oaknational/oak-components 2.13.0 → 2.13.3

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/dist/types.d.ts CHANGED
@@ -4432,7 +4432,7 @@ type OakQuizPrintableSubHeaderProps = {
4432
4432
  title: string;
4433
4433
  grade: number;
4434
4434
  numQuestions: number;
4435
- attempts: number;
4435
+ attempts?: number;
4436
4436
  } & FlexStyleProps;
4437
4437
  /**
4438
4438
  * This component is the header for quiz section in the printable view;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-components",
3
- "version": "2.13.0",
3
+ "version": "2.13.3",
4
4
  "licence": "MIT",
5
5
  "description": "Shared components for Oak applications",
6
6
  "main": "dist/cjs/index.js",
@@ -18,8 +18,8 @@
18
18
  "format": "prettier '**/*.{j,t}{s,sx}' --write",
19
19
  "format:precommit": "prettier '**/*.{j,t}{s,sx}' --write",
20
20
  "format:check": "prettier '**/*.{j,t}{s,sx}' --check",
21
- "lint": "eslint src/**/*",
22
- "lint:precommit": "eslint src/**/* --fix",
21
+ "lint": "eslint 'src/**/*'",
22
+ "lint:precommit": "eslint 'src/**/*' --fix",
23
23
  "storybook": "storybook dev -p 6006",
24
24
  "build-storybook": "storybook build",
25
25
  "prepare": "husky install",
@@ -39,7 +39,7 @@
39
39
  "@commitlint/config-conventional": "^18.4.4",
40
40
  "@dnd-kit/core": "^6.1.0",
41
41
  "@dnd-kit/sortable": "^10.0.0",
42
- "@rollup/plugin-commonjs": "^25.0.7",
42
+ "@rollup/plugin-commonjs": "^29.0.2",
43
43
  "@rollup/plugin-json": "^6.1.0",
44
44
  "@rollup/plugin-node-resolve": "^15.2.3",
45
45
  "@rollup/plugin-terser": "^0.4.4",
@@ -58,13 +58,14 @@
58
58
  "@storybook/react": "8.6.14",
59
59
  "@storybook/test": "^8.6.14",
60
60
  "@testing-library/jest-dom": "^6.9.1",
61
- "@testing-library/react": "^14.1.2",
61
+ "@testing-library/react": "^16.3.2",
62
62
  "@testing-library/user-event": "^14.5.2",
63
63
  "@tiptap/react": "^2.11.0",
64
64
  "@tiptap/starter-kit": "^2.11.0",
65
65
  "@types/jest": "^30.0.0",
66
66
  "@types/jscodeshift": "^17.3.0",
67
67
  "@types/react": "^18.2.47",
68
+ "@types/react-dom": "^18.3.7",
68
69
  "@types/react-test-renderer": "^18.0.7",
69
70
  "@types/react-transition-group": "^4.4.10",
70
71
  "@types/styled-components": "^5.1.34",
@@ -84,6 +85,7 @@
84
85
  "jest": "^30.2.0",
85
86
  "jest-environment-jsdom": "^30.2.0",
86
87
  "jest-styled-components": "^7.2.0",
88
+ "jest-util": "^30.2.0",
87
89
  "jscodeshift": "^17.3.0",
88
90
  "prettier": "^3.1.1",
89
91
  "react": "^18.2.0",
@@ -99,8 +101,7 @@
99
101
  "storybook-react-context": "^0.6.0",
100
102
  "ts-jest": "^29.4.5",
101
103
  "tsx": "^4.20.5",
102
- "typescript": "^5.3.3",
103
- "jest-util": "^30.2.0"
104
+ "typescript": "^5.3.3"
104
105
  },
105
106
  "directories": {
106
107
  "example": "examples"