@doenet/assignment-viewer 0.1.0-alpha-12 → 0.1.0-alpha-14
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/index.js +3 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -3237,7 +3237,6 @@ function SingleDocActivity({
|
|
|
3237
3237
|
requestedVariantIndex,
|
|
3238
3238
|
flags,
|
|
3239
3239
|
activityId: baseId,
|
|
3240
|
-
prefixForIds: state.id,
|
|
3241
3240
|
docId: state.id,
|
|
3242
3241
|
forceDisable,
|
|
3243
3242
|
forceShowCorrectness,
|
|
@@ -3278,6 +3277,7 @@ function SingleDocActivity({
|
|
|
3278
3277
|
padding: "5px 20px",
|
|
3279
3278
|
cursor: attemptButtonDisabled ? "not-allowed" : "pointer"
|
|
3280
3279
|
},
|
|
3280
|
+
"data-test": "New Item Attempt",
|
|
3281
3281
|
children: [
|
|
3282
3282
|
"New ",
|
|
3283
3283
|
itemWord,
|
|
@@ -3954,6 +3954,7 @@ function Viewer({
|
|
|
3954
3954
|
borderRadius: "10px",
|
|
3955
3955
|
padding: "5px 20px"
|
|
3956
3956
|
},
|
|
3957
|
+
"data-test": "Cancel Create New Attempt",
|
|
3957
3958
|
children: "Cancel"
|
|
3958
3959
|
}
|
|
3959
3960
|
),
|
|
@@ -3974,6 +3975,7 @@ function Viewer({
|
|
|
3974
3975
|
borderRadius: "10px",
|
|
3975
3976
|
padding: "5px 20px"
|
|
3976
3977
|
},
|
|
3978
|
+
"data-test": "Confirm Create New Attempt",
|
|
3977
3979
|
children: "Create new attempt"
|
|
3978
3980
|
}
|
|
3979
3981
|
)
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@doenet/assignment-viewer",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "View assignments from questions written in DoenetML",
|
|
5
|
-
"version": "0.1.0-alpha-
|
|
5
|
+
"version": "0.1.0-alpha-14",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
7
7
|
"homepage": "https://github.com/Doenet/assignment-viewer#readme",
|
|
8
8
|
"type": "module",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"prettier:check": "prettier --check ."
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"react": "^19.2.
|
|
37
|
-
"react-dom": "^19.2.
|
|
38
|
-
"@doenet/doenetml-iframe": "^0.7.
|
|
36
|
+
"react": "^19.2.3",
|
|
37
|
+
"react-dom": "^19.2.3",
|
|
38
|
+
"@doenet/doenetml-iframe": "^0.7.4"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"nanoid": "^5.1.6",
|
|
@@ -50,18 +50,18 @@
|
|
|
50
50
|
"@types/react-dom": "^19.2.3",
|
|
51
51
|
"@types/seedrandom": "^3.0.8",
|
|
52
52
|
"@vitejs/plugin-react-swc": "^4.2.2",
|
|
53
|
-
"eslint": "^9.39.
|
|
53
|
+
"eslint": "^9.39.2",
|
|
54
54
|
"eslint-plugin-react": "^7.37.5",
|
|
55
55
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
56
56
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
57
57
|
"globals": "^16.5.0",
|
|
58
|
-
"prettier": "^3.
|
|
59
|
-
"rollup-plugin-visualizer": "^6.0.
|
|
58
|
+
"prettier": "^3.7.4",
|
|
59
|
+
"rollup-plugin-visualizer": "^6.0.5",
|
|
60
60
|
"typescript": "^5.9.3",
|
|
61
|
-
"typescript-eslint": "^8.
|
|
62
|
-
"vite": "^7.2.
|
|
61
|
+
"typescript-eslint": "^8.49.0",
|
|
62
|
+
"vite": "^7.2.7",
|
|
63
63
|
"vite-plugin-dts": "^4.5.4",
|
|
64
|
-
"vitest": "^4.0.
|
|
64
|
+
"vitest": "^4.0.15"
|
|
65
65
|
},
|
|
66
66
|
"prettier": {
|
|
67
67
|
"tabWidth": 4
|