@pie-element/graphing 10.2.2-beta.2 → 10.2.2
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/CHANGELOG.md +51 -27
- package/configure/CHANGELOG.md +49 -25
- package/configure/lib/correct-response.js +22 -15
- package/configure/lib/correct-response.js.map +1 -1
- package/configure/package.json +4 -4
- package/controller/CHANGELOG.md +9 -36
- package/controller/package.json +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,64 +3,88 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [10.2.2
|
|
6
|
+
## [10.2.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.2.1...@pie-element/graphing@10.2.2) (2026-08-28)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- bump libs PIE-681 ([37feb4a](https://github.com/pie-framework/pie-elements/commit/37feb4a955704b84e82cb152bd215199bcfabab9))
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
## [10.2.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.2.0...@pie-element/graphing@10.2.1) (2026-08-26)
|
|
11
13
|
|
|
12
14
|
**Note:** Version bump only for package @pie-element/graphing
|
|
13
15
|
|
|
14
|
-
# [10.
|
|
16
|
+
# [10.2.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.11...@pie-element/graphing@10.2.0) (2026-08-21)
|
|
15
17
|
|
|
16
|
-
|
|
18
|
+
### Bug Fixes
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
- move [@pie-lib](https://github.com/pie-lib) deps back to latest, off next prereleases PIE-927 ([a53e012](https://github.com/pie-framework/pie-elements/commit/a53e0127eb4ac95ece54e1e2bd669ae4974f4251))
|
|
21
|
+
- **theming:** move the grey palette reads onto --pie-\* tokens PIE-856 ([d7d005b](https://github.com/pie-framework/pie-elements/commit/d7d005bf081843335b4b0377852f2ecd075cb62d)), closes [#000000](https://github.com/pie-framework/pie-elements/issues/000000) [#E0E1E6](https://github.com/pie-framework/pie-elements/issues/E0E1E6) [#646464](https://github.com/pie-framework/pie-elements/issues/646464) [#616161](https://github.com/pie-framework/pie-elements/issues/616161) [#E0E1E6](https://github.com/pie-framework/pie-elements/issues/E0E1E6) [#C0C3](https://github.com/pie-framework/pie-elements/issues/C0C3)
|
|
19
22
|
|
|
20
|
-
|
|
23
|
+
### Features
|
|
21
24
|
|
|
22
|
-
|
|
25
|
+
- bump libs PIE-856, PIE-681, PIE-927 ([cb26d7a](https://github.com/pie-framework/pie-elements/commit/cb26d7afa6c99522533c321d5ff8ce3148a66e9e))
|
|
23
26
|
|
|
24
|
-
|
|
27
|
+
## [10.1.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.10...@pie-element/graphing@10.1.11) (2026-08-19)
|
|
25
28
|
|
|
26
|
-
|
|
29
|
+
### Bug Fixes
|
|
27
30
|
|
|
28
|
-
|
|
31
|
+
- bump libs and shared modules PIE-681, PIE-708 ([08af8b5](https://github.com/pie-framework/pie-elements/commit/08af8b5802aecc8ee5454a1b6d60277d7ec94204))
|
|
29
32
|
|
|
30
|
-
|
|
33
|
+
## [10.1.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.8...@pie-element/graphing@10.1.10) (2026-08-13)
|
|
31
34
|
|
|
32
35
|
**Note:** Version bump only for package @pie-element/graphing
|
|
33
36
|
|
|
34
|
-
|
|
37
|
+
## [10.1.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.7...@pie-element/graphing@10.1.9) (2026-08-11)
|
|
35
38
|
|
|
36
39
|
**Note:** Version bump only for package @pie-element/graphing
|
|
37
40
|
|
|
38
|
-
|
|
41
|
+
## [10.1.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.7...@pie-element/graphing@10.1.8) (2026-07-31)
|
|
39
42
|
|
|
40
43
|
**Note:** Version bump only for package @pie-element/graphing
|
|
41
44
|
|
|
42
|
-
|
|
45
|
+
## [10.1.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.6...@pie-element/graphing@10.1.7) (2026-07-08)
|
|
43
46
|
|
|
44
|
-
|
|
47
|
+
### Bug Fixes
|
|
45
48
|
|
|
46
|
-
|
|
49
|
+
- bump libs & shared modules PIE-706, PIE-702, PIE-679, PIE-698 ([5b1a8c4](https://github.com/pie-framework/pie-elements/commit/5b1a8c4c3eba2126fc43d78fd0187e7cd11d5424))
|
|
50
|
+
- **graphing:** compare derived a/b coefficients when scoring exponentials + add exponential/absolute test coverage SCSTU-377 PIE-745 ([7f09452](https://github.com/pie-framework/pie-elements/commit/7f09452c1006118147a1f77c4a9ce1e886f7b89f))
|
|
47
51
|
|
|
48
|
-
|
|
52
|
+
## [10.1.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.5...@pie-element/graphing@10.1.6) (2026-07-02)
|
|
53
|
+
|
|
54
|
+
### Bug Fixes
|
|
55
|
+
|
|
56
|
+
- bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
|
|
57
|
+
- sync libs versions ([48b5be9](https://github.com/pie-framework/pie-elements/commit/48b5be9559eb5b5235ca05f51c5f0161032a7041))
|
|
49
58
|
|
|
50
|
-
|
|
59
|
+
## [10.1.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.4...@pie-element/graphing@10.1.5) (2026-06-22)
|
|
51
60
|
|
|
52
61
|
### Bug Fixes
|
|
53
62
|
|
|
54
|
-
- bump libs & shared modules PIE-706, PIE-702, PIE-679, PIE-698 ([5b1a8c4](https://github.com/pie-framework/pie-elements/commit/5b1a8c4c3eba2126fc43d78fd0187e7cd11d5424))
|
|
55
|
-
- bump shared modules and libs PIE-600, PIE-602 ([ce99f6a](https://github.com/pie-framework/pie-elements/commit/ce99f6af50cb855b666a6df9340f9f5445fde4c4))
|
|
56
|
-
- bump shared modules and libs PIE-661 PIE-664 PIE-683 PIE-666 PIE-656 PIE-657 PIE-658 PIE-659 PIE-670 ([ebd6be4](https://github.com/pie-framework/pie-elements/commit/ebd6be4fd48fca41ad4c4908f606b25334731aed))
|
|
57
63
|
- bump shared modules and libs PIE-674, PIE-662, PIE-705, PIE-674, PIE-963 ([78a3f64](https://github.com/pie-framework/pie-elements/commit/78a3f64652c9581c61bd4159f3210fc1e32d8bcf))
|
|
58
|
-
- bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
|
|
59
|
-
- bump shared modules and libsPIE-603, PIE-604, PIE-663, PIE-662, PIE-678 ([e61c7a7](https://github.com/pie-framework/pie-elements/commit/e61c7a7d23744586337dfbb17a18ebfc656c202f))
|
|
60
|
-
- **graphing, charting:** render title/label math on first paint via observer PIE-688 ([95a4c0a](https://github.com/pie-framework/pie-elements/commit/95a4c0a018cf74a24324edc7536013eb271d7c00))
|
|
61
|
-
- **graphing:** compare derived a/b coefficients when scoring exponentials + add exponential/absolute test coverage SCSTU-377 PIE-745 ([7f09452](https://github.com/pie-framework/pie-elements/commit/7f09452c1006118147a1f77c4a9ce1e886f7b89f))
|
|
62
64
|
- handle webcomponent lifecycle on every element that misses it PIE-703 ([9d5923f](https://github.com/pie-framework/pie-elements/commit/9d5923f973f0471e1e8f69ad4309cfc63d980d93))
|
|
63
|
-
|
|
65
|
+
|
|
66
|
+
## [10.1.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.3...@pie-element/graphing@10.1.4) (2026-06-17)
|
|
67
|
+
|
|
68
|
+
### Bug Fixes
|
|
69
|
+
|
|
70
|
+
- bump shared modules and libs PIE-661 PIE-664 PIE-683 PIE-666 PIE-656 PIE-657 PIE-658 PIE-659 PIE-670 ([ebd6be4](https://github.com/pie-framework/pie-elements/commit/ebd6be4fd48fca41ad4c4908f606b25334731aed))
|
|
71
|
+
- **graphing, charting:** render title/label math on first paint via observer PIE-688 ([95a4c0a](https://github.com/pie-framework/pie-elements/commit/95a4c0a018cf74a24324edc7536013eb271d7c00))
|
|
72
|
+
|
|
73
|
+
## [10.1.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.2...@pie-element/graphing@10.1.3) (2026-06-12)
|
|
74
|
+
|
|
75
|
+
### Bug Fixes
|
|
76
|
+
|
|
77
|
+
- bump shared modules and libsPIE-603, PIE-604, PIE-663, PIE-662, PIE-678 ([e61c7a7](https://github.com/pie-framework/pie-elements/commit/e61c7a7d23744586337dfbb17a18ebfc656c202f))
|
|
78
|
+
|
|
79
|
+
## [10.1.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.1...@pie-element/graphing@10.1.2) (2026-06-04)
|
|
80
|
+
|
|
81
|
+
### Bug Fixes
|
|
82
|
+
|
|
83
|
+
- bump shared modules and libs PIE-600, PIE-602 ([ce99f6a](https://github.com/pie-framework/pie-elements/commit/ce99f6af50cb855b666a6df9340f9f5445fde4c4))
|
|
84
|
+
|
|
85
|
+
## [10.1.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.0...@pie-element/graphing@10.1.1) (2026-05-21)
|
|
86
|
+
|
|
87
|
+
**Note:** Version bump only for package @pie-element/graphing
|
|
64
88
|
|
|
65
89
|
# [10.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@10.1.0-next.2...@pie-element/graphing@10.1.0) (2026-05-21)
|
|
66
90
|
|
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,62 +3,86 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## [9.2.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.2.1...@pie-element/graphing-configure@9.2.2) (2026-08-28)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- bump libs PIE-681 ([37feb4a](https://github.com/pie-framework/pie-elements/commit/37feb4a955704b84e82cb152bd215199bcfabab9))
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
## [9.2.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.2.0...@pie-element/graphing-configure@9.2.1) (2026-08-26)
|
|
11
13
|
|
|
12
14
|
**Note:** Version bump only for package @pie-element/graphing-configure
|
|
13
15
|
|
|
14
|
-
# [9.
|
|
16
|
+
# [9.2.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.11...@pie-element/graphing-configure@9.2.0) (2026-08-21)
|
|
15
17
|
|
|
16
|
-
|
|
18
|
+
### Bug Fixes
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
- move [@pie-lib](https://github.com/pie-lib) deps back to latest, off next prereleases PIE-927 ([a53e012](https://github.com/pie-framework/pie-elements/commit/a53e0127eb4ac95ece54e1e2bd669ae4974f4251))
|
|
21
|
+
- **theming:** move the grey palette reads onto --pie-\* tokens PIE-856 ([d7d005b](https://github.com/pie-framework/pie-elements/commit/d7d005bf081843335b4b0377852f2ecd075cb62d)), closes [#000000](https://github.com/pie-framework/pie-elements/issues/000000) [#E0E1E6](https://github.com/pie-framework/pie-elements/issues/E0E1E6) [#646464](https://github.com/pie-framework/pie-elements/issues/646464) [#616161](https://github.com/pie-framework/pie-elements/issues/616161) [#E0E1E6](https://github.com/pie-framework/pie-elements/issues/E0E1E6) [#C0C3](https://github.com/pie-framework/pie-elements/issues/C0C3)
|
|
19
22
|
|
|
20
|
-
|
|
23
|
+
### Features
|
|
21
24
|
|
|
22
|
-
|
|
25
|
+
- bump libs PIE-856, PIE-681, PIE-927 ([cb26d7a](https://github.com/pie-framework/pie-elements/commit/cb26d7afa6c99522533c321d5ff8ce3148a66e9e))
|
|
23
26
|
|
|
24
|
-
|
|
27
|
+
## [9.1.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.10...@pie-element/graphing-configure@9.1.11) (2026-08-19)
|
|
25
28
|
|
|
26
|
-
|
|
29
|
+
### Bug Fixes
|
|
27
30
|
|
|
28
|
-
|
|
31
|
+
- bump libs and shared modules PIE-681, PIE-708 ([08af8b5](https://github.com/pie-framework/pie-elements/commit/08af8b5802aecc8ee5454a1b6d60277d7ec94204))
|
|
29
32
|
|
|
30
|
-
|
|
33
|
+
## [9.1.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.8...@pie-element/graphing-configure@9.1.10) (2026-08-13)
|
|
31
34
|
|
|
32
35
|
**Note:** Version bump only for package @pie-element/graphing-configure
|
|
33
36
|
|
|
34
|
-
|
|
37
|
+
## [9.1.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.7...@pie-element/graphing-configure@9.1.9) (2026-08-11)
|
|
35
38
|
|
|
36
39
|
**Note:** Version bump only for package @pie-element/graphing-configure
|
|
37
40
|
|
|
38
|
-
|
|
41
|
+
## [9.1.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.7...@pie-element/graphing-configure@9.1.8) (2026-07-31)
|
|
39
42
|
|
|
40
43
|
**Note:** Version bump only for package @pie-element/graphing-configure
|
|
41
44
|
|
|
42
|
-
|
|
45
|
+
## [9.1.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.6...@pie-element/graphing-configure@9.1.7) (2026-07-08)
|
|
43
46
|
|
|
44
|
-
|
|
47
|
+
### Bug Fixes
|
|
45
48
|
|
|
46
|
-
|
|
49
|
+
- bump libs & shared modules PIE-706, PIE-702, PIE-679, PIE-698 ([5b1a8c4](https://github.com/pie-framework/pie-elements/commit/5b1a8c4c3eba2126fc43d78fd0187e7cd11d5424))
|
|
47
50
|
|
|
48
|
-
|
|
51
|
+
## [9.1.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.5...@pie-element/graphing-configure@9.1.6) (2026-07-02)
|
|
49
52
|
|
|
50
|
-
|
|
53
|
+
### Bug Fixes
|
|
54
|
+
|
|
55
|
+
- bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
|
|
56
|
+
- sync libs versions ([48b5be9](https://github.com/pie-framework/pie-elements/commit/48b5be9559eb5b5235ca05f51c5f0161032a7041))
|
|
57
|
+
|
|
58
|
+
## [9.1.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.4...@pie-element/graphing-configure@9.1.5) (2026-06-22)
|
|
51
59
|
|
|
52
60
|
### Bug Fixes
|
|
53
61
|
|
|
54
|
-
- bump libs & shared modules PIE-706, PIE-702, PIE-679, PIE-698 ([5b1a8c4](https://github.com/pie-framework/pie-elements/commit/5b1a8c4c3eba2126fc43d78fd0187e7cd11d5424))
|
|
55
|
-
- bump shared modules and libs PIE-600, PIE-602 ([ce99f6a](https://github.com/pie-framework/pie-elements/commit/ce99f6af50cb855b666a6df9340f9f5445fde4c4))
|
|
56
|
-
- bump shared modules and libs PIE-661 PIE-664 PIE-683 PIE-666 PIE-656 PIE-657 PIE-658 PIE-659 PIE-670 ([ebd6be4](https://github.com/pie-framework/pie-elements/commit/ebd6be4fd48fca41ad4c4908f606b25334731aed))
|
|
57
62
|
- bump shared modules and libs PIE-674, PIE-662, PIE-705, PIE-674, PIE-963 ([78a3f64](https://github.com/pie-framework/pie-elements/commit/78a3f64652c9581c61bd4159f3210fc1e32d8bcf))
|
|
58
|
-
- bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
|
|
59
|
-
- bump shared modules and libsPIE-603, PIE-604, PIE-663, PIE-662, PIE-678 ([e61c7a7](https://github.com/pie-framework/pie-elements/commit/e61c7a7d23744586337dfbb17a18ebfc656c202f))
|
|
60
63
|
- handle webcomponent lifecycle on every element that misses it PIE-703 ([9d5923f](https://github.com/pie-framework/pie-elements/commit/9d5923f973f0471e1e8f69ad4309cfc63d980d93))
|
|
61
|
-
|
|
64
|
+
|
|
65
|
+
## [9.1.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.3...@pie-element/graphing-configure@9.1.4) (2026-06-17)
|
|
66
|
+
|
|
67
|
+
### Bug Fixes
|
|
68
|
+
|
|
69
|
+
- bump shared modules and libs PIE-661 PIE-664 PIE-683 PIE-666 PIE-656 PIE-657 PIE-658 PIE-659 PIE-670 ([ebd6be4](https://github.com/pie-framework/pie-elements/commit/ebd6be4fd48fca41ad4c4908f606b25334731aed))
|
|
70
|
+
|
|
71
|
+
## [9.1.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.2...@pie-element/graphing-configure@9.1.3) (2026-06-12)
|
|
72
|
+
|
|
73
|
+
### Bug Fixes
|
|
74
|
+
|
|
75
|
+
- bump shared modules and libsPIE-603, PIE-604, PIE-663, PIE-662, PIE-678 ([e61c7a7](https://github.com/pie-framework/pie-elements/commit/e61c7a7d23744586337dfbb17a18ebfc656c202f))
|
|
76
|
+
|
|
77
|
+
## [9.1.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.1...@pie-element/graphing-configure@9.1.2) (2026-06-04)
|
|
78
|
+
|
|
79
|
+
### Bug Fixes
|
|
80
|
+
|
|
81
|
+
- bump shared modules and libs PIE-600, PIE-602 ([ce99f6a](https://github.com/pie-framework/pie-elements/commit/ce99f6af50cb855b666a6df9340f9f5445fde4c4))
|
|
82
|
+
|
|
83
|
+
## [9.1.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.0...@pie-element/graphing-configure@9.1.1) (2026-05-21)
|
|
84
|
+
|
|
85
|
+
**Note:** Version bump only for package @pie-element/graphing-configure
|
|
62
86
|
|
|
63
87
|
# [9.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-configure@9.1.0-next.1...@pie-element/graphing-configure@9.1.0) (2026-05-21)
|
|
64
88
|
|
|
@@ -14,28 +14,33 @@ var _styles = require("@mui/material/styles");
|
|
|
14
14
|
var _graphing = require("@pie-lib/graphing");
|
|
15
15
|
var _configUi = require("@pie-lib/config-ui");
|
|
16
16
|
var _mathRendering = require("@pie-lib/math-rendering");
|
|
17
|
+
var _renderUi = require("@pie-lib/render-ui");
|
|
17
18
|
var _Delete = _interopRequireDefault(require("@mui/icons-material/Delete"));
|
|
18
19
|
var _lodashEs = require("lodash-es");
|
|
19
20
|
var _material = require("@mui/material");
|
|
20
21
|
var _Info = _interopRequireDefault(require("@mui/icons-material/Info"));
|
|
21
22
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
22
23
|
// custom grey values close to old v3 accents
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
/*
|
|
25
|
+
* GREY_A100/GREY_A200 were file-local literals, the same defect as the palette reads
|
|
26
|
+
* below: a grey no scheme can reach. Fills take `--pie-background-dark` and the
|
|
27
|
+
* pressed state `--pie-dropdown-background`; strokes and ink take the stroke and text
|
|
28
|
+
* tokens, which are stepped for contrast per scheme.
|
|
29
|
+
*/
|
|
25
30
|
const GraphingTools = (0, _styles.styled)('div')({
|
|
26
|
-
color:
|
|
31
|
+
color: _renderUi.color.text()
|
|
27
32
|
});
|
|
28
33
|
const Button = (0, _styles.styled)('div')(({
|
|
29
34
|
theme
|
|
30
35
|
}) => ({
|
|
31
36
|
margin: `${theme.spacing(2.5)} 0`,
|
|
32
37
|
cursor: 'pointer',
|
|
33
|
-
background:
|
|
38
|
+
background: _renderUi.color.backgroundDark(),
|
|
34
39
|
padding: theme.spacing(1.5),
|
|
35
40
|
width: 'fit-content',
|
|
36
41
|
borderRadius: '4px',
|
|
37
42
|
'&:hover': {
|
|
38
|
-
background:
|
|
43
|
+
background: _renderUi.color.dropdownBackground()
|
|
39
44
|
}
|
|
40
45
|
}));
|
|
41
46
|
const AvailableTools = (0, _styles.styled)('div')(({
|
|
@@ -51,15 +56,17 @@ const AvailableTool = (0, _styles.styled)('div')(({
|
|
|
51
56
|
cursor: 'pointer',
|
|
52
57
|
margin: theme.spacing(1),
|
|
53
58
|
padding: theme.spacing(1),
|
|
54
|
-
border
|
|
59
|
+
// A spacer border reserving room for SelectedTool's stroke; it must read as absent,
|
|
60
|
+
// which is what `common.white` meant on a white page and `--pie-background` means on any.
|
|
61
|
+
border: `2px solid ${_renderUi.color.background()}`,
|
|
55
62
|
textTransform: 'capitalize',
|
|
56
63
|
'&:hover': {
|
|
57
|
-
color:
|
|
64
|
+
color: _renderUi.color.text()
|
|
58
65
|
}
|
|
59
66
|
}));
|
|
60
67
|
const SelectedTool = (0, _styles.styled)(AvailableTool)({
|
|
61
|
-
background:
|
|
62
|
-
border: `2px solid ${
|
|
68
|
+
background: _renderUi.color.dropdownBackground(),
|
|
69
|
+
border: `2px solid ${_renderUi.color.border()}`
|
|
63
70
|
});
|
|
64
71
|
const ResponseTitle = (0, _styles.styled)('div')(({
|
|
65
72
|
theme
|
|
@@ -68,14 +75,14 @@ const ResponseTitle = (0, _styles.styled)('div')(({
|
|
|
68
75
|
alignItems: 'center',
|
|
69
76
|
marginTop: theme.spacing(2.5)
|
|
70
77
|
}));
|
|
71
|
-
const IconButton = (0, _styles.styled)('div')(({
|
|
72
|
-
theme
|
|
73
|
-
}) => ({
|
|
78
|
+
const IconButton = (0, _styles.styled)('div')(() => ({
|
|
74
79
|
marginLeft: '6px',
|
|
75
|
-
|
|
80
|
+
// Deliberately quieter than the hover state, but still a control: `--pie-border-gray`
|
|
81
|
+
// holds 3.17:1 against every scheme, enough for a non-text glyph.
|
|
82
|
+
color: _renderUi.color.borderGray(),
|
|
76
83
|
'&:hover': {
|
|
77
84
|
cursor: 'pointer',
|
|
78
|
-
color:
|
|
85
|
+
color: _renderUi.color.text()
|
|
79
86
|
}
|
|
80
87
|
}));
|
|
81
88
|
const Name = (0, _styles.styled)('div')(({
|
|
@@ -120,7 +127,7 @@ const DefaultToolSelect = (0, _styles.styled)(_material.Select)(({
|
|
|
120
127
|
}) => ({
|
|
121
128
|
marginLeft: theme.spacing(1),
|
|
122
129
|
textTransform: 'uppercase',
|
|
123
|
-
color:
|
|
130
|
+
color: _renderUi.color.text()
|
|
124
131
|
}));
|
|
125
132
|
const StyledMenuItem = (0, _styles.styled)(_material.MenuItem)({
|
|
126
133
|
textTransform: 'uppercase'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"correct-response.js","names":["React","_interopRequireWildcard","require","_reactDom","_interopRequireDefault","_propTypes","_styles","_graphing","_configUi","_mathRendering","_Delete","_lodashEs","_material","_Info","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","GREY_A100","GREY_A200","GraphingTools","styled","color","Button","theme","margin","spacing","cursor","background","palette","grey","padding","width","borderRadius","AvailableTools","marginTop","display","flexWrap","AvailableTool","border","common","white","textTransform","SelectedTool","ResponseTitle","alignItems","IconButton","marginLeft","black","Name","marginBottom","StyledTooltip","className","props","createElement","Tooltip","_extends2","classes","tooltip","fontSize","typography","whiteSpace","maxWidth","SubtitleText","Typography","ToolsHeader","justifyContent","DefaultTool","DefaultToolSelect","Select","StyledMenuItem","MenuItem","ErrorMessage","error","main","Tools","availableTools","defaultTool","hasErrors","toolbarTools","toggleToolBarTool","onDefaultToolChange","allTools","isLabelAvailable","includes","toolbarToolsNoLabel","filter","tool","allToolsNoLabel","length","variant","onChange","value","disableUnderline","MenuProps","transitionDuration","enter","exit","map","index","key","selected","find","ToolComponent","style","onClick","toUpperCase","exports","propTypes","PropTypes","arrayOf","string","func","array","number","CorrectResponse","Component","constructor","args","_defineProperty2","dialog","open","callback","setState","marks","model","answers","entries","reduce","object","answer","mark","type","updatedToolbarTools","newDefaultTool","findIndex","updatedAnswers","filterMarks","splice","isEqual","title","text","onConfirm","handleAlertDialog","updateModel","onClose","push","event","target","answersKeys","keys","name","answerKey","deleteAnswer","newAnswers","acc","currentValue","newAnswer","componentDidMount","domNode","ReactDOM","findDOMNode","renderMath","console","render","errors","mathMlOptions","removeIncompleteTool","state","arrows","backgroundMarks","coordinatesOnHover","domain","graph","labels","labelsEnabled","range","titleEnabled","correctAnswerErrors","toolbarToolsError","component","Fragment","disableFocusListener","disableTouchListener","placement","deleteAlternateResponse","GraphContainer","axesSettings","includeArrows","building","disabledLabels","disabledTitle","draggableTools","onChangeMarks","newMarks","changeMarks","showLabels","showTitle","size","height","onChangeTools","limitLabeling","addAlternateResponse","AlertDialog","isRequired","String","_default"],"sources":["../src/correct-response.jsx"],"sourcesContent":["import * as React from 'react';\nimport ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { styled } from '@mui/material/styles';\nimport { GraphContainer as Graph } from '@pie-lib/graphing';\nimport { AlertDialog } from '@pie-lib/config-ui';\nimport { renderMath } from '@pie-lib/math-rendering';\nimport Delete from '@mui/icons-material/Delete';\nimport { set, isEqual } from 'lodash-es';\nimport { MenuItem, Select, Tooltip, Typography } from '@mui/material';\nimport Info from '@mui/icons-material/Info';\n\n// custom grey values close to old v3 accents\nconst GREY_A100 = '#D5D5D5';\nconst GREY_A200 = '#AAAAAA';\n\nconst GraphingTools = styled('div')({\n color: GREY_A200,\n});\n\nconst Button = styled('div')(({ theme }) => ({\n margin: `${theme.spacing(2.5)} 0`,\n cursor: 'pointer',\n background: theme.palette.grey[200],\n padding: theme.spacing(1.5),\n width: 'fit-content',\n borderRadius: '4px',\n '&:hover': {\n background: GREY_A100,\n },\n}));\n\nconst AvailableTools = styled('div')(({ theme }) => ({\n marginTop: theme.spacing(1),\n display: 'flex',\n flexWrap: 'wrap',\n}));\n\nconst AvailableTool = styled('div')(({ theme }) => ({\n cursor: 'pointer',\n margin: theme.spacing(1),\n padding: theme.spacing(1),\n border: `2px solid ${theme.palette.common.white}`,\n textTransform: 'capitalize',\n '&:hover': {\n color: theme.palette.grey[800],\n },\n}));\n\nconst SelectedTool = styled(AvailableTool)({\n background: GREY_A100,\n border: `2px solid ${GREY_A200}`,\n});\n\nconst ResponseTitle = styled('div')(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n marginTop: theme.spacing(2.5),\n}));\n\nconst IconButton = styled('div')(({ theme }) => ({\n marginLeft: '6px',\n color: theme.palette.grey[600],\n '&:hover': {\n cursor: 'pointer',\n color: theme.palette.common.black,\n },\n}));\n\nconst Name = styled('div')(({ theme }) => ({\n marginBottom: theme.spacing(0.5),\n}));\n\nconst StyledTooltip = styled(({ className, ...props }) => (\n <Tooltip {...props} classes={{ tooltip: className }} />\n))(({ theme }) => ({\n '& .MuiTooltip-tooltip': {\n fontSize: theme.typography.fontSize - 2,\n whiteSpace: 'pre',\n maxWidth: '500px',\n },\n}));\n\nconst SubtitleText = styled(Typography)(({ theme }) => ({\n marginTop: theme.spacing(1.5),\n marginBottom: theme.spacing(1),\n}));\n\nconst ToolsHeader = styled('div')({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n});\n\nconst DefaultTool = styled('div')({\n display: 'flex',\n alignItems: 'center',\n width: '300px',\n});\n\nconst DefaultToolSelect = styled(Select)(({ theme }) => ({\n marginLeft: theme.spacing(1),\n textTransform: 'uppercase',\n color: theme.palette.grey[800],\n}));\n\nconst StyledMenuItem = styled(MenuItem)({\n textTransform: 'uppercase',\n});\n\nconst ErrorMessage = styled('div')(({ theme }) => ({\n fontSize: theme.typography.fontSize - 2,\n color: theme.palette.error.main,\n marginTop: theme.spacing(1),\n}));\n\nexport const Tools = ({\n availableTools,\n defaultTool,\n hasErrors,\n toolbarTools,\n toggleToolBarTool,\n onDefaultToolChange,\n}) => {\n let allTools = availableTools || [];\n const isLabelAvailable = allTools.includes('label');\n const toolbarToolsNoLabel = (toolbarTools || []).filter((tool) => tool !== 'label');\n\n if (isLabelAvailable) {\n // label has to be placed at the end of the list\n const allToolsNoLabel = allTools.filter((tool) => tool !== 'label');\n allTools = [...allToolsNoLabel, 'label'];\n }\n\n return (\n <GraphingTools>\n <ToolsHeader>\n <span>GRAPHING TOOLS</span>\n {toolbarToolsNoLabel.length > 0 && (\n <DefaultTool>\n <span>Default graphing tool:</span>\n <DefaultToolSelect\n variant=\"standard\"\n onChange={onDefaultToolChange}\n value={defaultTool}\n disableUnderline\n MenuProps={{ transitionDuration: { enter: 225, exit: 195 } }}\n >\n {toolbarToolsNoLabel.map((tool, index) => (\n <StyledMenuItem key={index} value={tool}>\n {tool}\n </StyledMenuItem>\n ))}\n </DefaultToolSelect>\n </DefaultTool>\n )}\n </ToolsHeader>\n <AvailableTools>\n {allTools.map((tool) => {\n const selected = toolbarTools.find((t) => t === tool);\n const ToolComponent = selected ? SelectedTool : AvailableTool;\n\n return (\n <ToolComponent\n key={tool}\n style={{\n ...(hasErrors && tool !== 'label' && { color: 'red' }),\n }}\n onClick={() => toggleToolBarTool(tool)}\n >\n {tool.toUpperCase()}\n </ToolComponent>\n );\n })}\n </AvailableTools>\n </GraphingTools>\n );\n};\n\nTools.propTypes = {\n toolbarTools: PropTypes.arrayOf(PropTypes.string),\n toggleToolBarTool: PropTypes.func,\n availableTools: PropTypes.array,\n defaultTool: PropTypes.string,\n hasErrors: PropTypes.number,\n onDefaultToolChange: PropTypes.func,\n};\n\nexport class CorrectResponse extends React.Component {\n static propTypes = {\n availableTools: PropTypes.array,\n errors: PropTypes.object,\n model: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n toolbarTools: PropTypes.arrayOf(PropTypes.String),\n };\n\n state = {\n dialog: {\n open: false,\n },\n };\n\n componentDidMount() {\n try {\n // eslint-disable-next-line react/no-find-dom-node\n const domNode = ReactDOM.findDOMNode(this);\n\n renderMath(domNode);\n } catch (e) {\n // Added try-catch block to handle \"Unable to find node on an unmounted component\" error from tests, thrown because of the usage of shallow\n console.error('DOM not mounted');\n }\n }\n\n handleAlertDialog = (open, callback) =>\n this.setState(\n {\n dialog: { open },\n },\n callback,\n );\n\n changeMarks = (key, marks) => {\n const { model, onChange } = this.props;\n\n set(model, `answers.${key}.marks`, marks);\n onChange(model);\n };\n\n filterMarks = (tool) => {\n const {\n model: { answers },\n } = this.props;\n\n return Object.entries(answers || {}).reduce((object, [key, answer]) => {\n object[key] = {\n ...answer,\n marks: (answer.marks || []).filter((mark) => mark.type !== tool),\n };\n\n return object;\n }, {});\n };\n\n changeToolbarTools = (toolbarTools) => {\n const { model, onChange } = this.props;\n model.toolbarTools = toolbarTools;\n\n onChange(model);\n };\n\n updateModel = (props) => {\n const { model, onChange } = this.props;\n\n onChange({\n ...model,\n ...props,\n });\n };\n\n toggleToolBarTool = (tool) => {\n const {\n model: { defaultTool, toolbarTools, answers = {} },\n } = this.props;\n const updatedToolbarTools = [...toolbarTools];\n let newDefaultTool = defaultTool;\n\n const index = toolbarTools.findIndex((t) => tool === t);\n\n if (index >= 0) {\n const updatedAnswers = this.filterMarks(tool);\n updatedToolbarTools.splice(index, 1);\n if (tool === defaultTool) {\n const toolbarToolsNoLabel = (updatedToolbarTools || []).filter((tool) => tool !== 'label');\n newDefaultTool = (toolbarToolsNoLabel.length && toolbarToolsNoLabel[0]) || '';\n }\n\n if (!isEqual(answers, updatedAnswers)) {\n this.setState({\n dialog: {\n open: true,\n title: 'Warning',\n text: `Correct answer includes one or more ${tool} objects and all of them will be deleted.`,\n onConfirm: () =>\n this.handleAlertDialog(\n false,\n this.updateModel({\n toolbarTools: updatedToolbarTools,\n answers: updatedAnswers,\n defaultTool: newDefaultTool,\n }),\n ),\n onClose: () => this.handleAlertDialog(false),\n },\n });\n\n return;\n }\n } else {\n updatedToolbarTools.push(tool);\n\n if (defaultTool === '' && tool !== 'label') {\n newDefaultTool = tool;\n }\n }\n\n this.updateModel({\n toolbarTools: updatedToolbarTools,\n defaultTool: newDefaultTool,\n });\n };\n\n onDefaultToolChange = (event) => {\n const { value } = event.target;\n\n this.updateModel({ defaultTool: value });\n };\n\n addAlternateResponse = () => {\n const { model, onChange } = this.props;\n const { answers } = model || {};\n const answersKeys = Object.keys(answers || {});\n\n set(model, `answers.${`alternate${answersKeys.length}`}`, {\n name: `Alternate ${answersKeys.length}`,\n marks: [],\n });\n onChange(model);\n };\n\n deleteAlternateResponse = (answerKey, answer) => {\n const { model, onChange } = this.props;\n const { answers } = model || {};\n const { marks = [], name } = answer || {};\n\n const deleteAnswer = () => {\n delete answers[answerKey];\n // rebuild answers based on new alternate positions after deletion\n const newAnswers = Object.entries(answers).reduce((acc, currentValue, index) => {\n const [key, value] = currentValue;\n const newAnswer =\n key === 'correctAnswer'\n ? { ...acc, [key]: value }\n : { ...acc, ['alternate' + index]: { ...value, name: `Alternate ${index}` } };\n return newAnswer;\n }, {});\n\n onChange({ ...model, answers: newAnswers });\n };\n\n if (marks.length) {\n this.setState({\n dialog: {\n open: true,\n title: 'Warning',\n text: `${name} includes one or more shapes and the entire response will be deleted.`,\n onConfirm: () => this.handleAlertDialog(false, deleteAnswer),\n onClose: () => this.handleAlertDialog(false),\n },\n });\n\n return;\n }\n\n deleteAnswer();\n };\n\n render() {\n const { availableTools, errors, model, mathMlOptions = {}, removeIncompleteTool } = this.props;\n const { dialog } = this.state;\n const {\n answers = {},\n arrows,\n backgroundMarks,\n coordinatesOnHover,\n defaultTool,\n domain,\n graph = {},\n labels,\n labelsEnabled,\n range,\n title,\n titleEnabled,\n toolbarTools,\n } = model || {};\n const { correctAnswerErrors = {}, toolbarToolsError } = errors || {};\n\n return (\n <div>\n <Typography component=\"div\" variant=\"h6\">\n Define Tool Set and Correct Response\n </Typography>\n\n <SubtitleText component=\"div\" variant=\"body1\">\n Use this interface to choose which graphing tools students will be able to use, and to define the correct\n answer\n </SubtitleText>\n\n <Tools\n availableTools={availableTools}\n defaultTool={defaultTool}\n hasErrors={!!toolbarToolsError}\n onDefaultToolChange={this.onDefaultToolChange}\n toggleToolBarTool={this.toggleToolBarTool}\n toolbarTools={toolbarTools}\n />\n\n {toolbarToolsError && <ErrorMessage>{toolbarToolsError}</ErrorMessage>}\n\n {Object.entries(answers || {}).map(([key, answer]) => {\n const { marks = [], name } = answer || {};\n\n return (\n <React.Fragment key={`correct-response-graph-${name}`}>\n <ResponseTitle>\n <Name>{name}</Name>\n {key === 'correctAnswer' && (\n <StyledTooltip\n disableFocusListener\n disableTouchListener\n placement={'right'}\n title={'At least 1 graph object should be defined.'}\n >\n <Info fontSize={'small'} color={'primary'} style={{ marginLeft: '8px', marginBottom: 'auto' }} />\n </StyledTooltip>\n )}\n {key !== 'correctAnswer' && (\n <IconButton onClick={() => this.deleteAlternateResponse(key, answer)}>\n <Delete />\n </IconButton>\n )}\n </ResponseTitle>\n\n <Graph\n style={correctAnswerErrors[key] && { border: '2px solid red' }}\n axesSettings={{ includeArrows: arrows }}\n backgroundMarks={backgroundMarks.filter((mark) => !mark.building)}\n coordinatesOnHover={coordinatesOnHover}\n disabledLabels={true}\n disabledTitle={true}\n domain={domain}\n draggableTools={key === 'correctAnswer'}\n labels={labels}\n marks={marks}\n onChangeMarks={(newMarks) => this.changeMarks(key, newMarks)}\n range={range}\n showLabels={labelsEnabled}\n showTitle={titleEnabled}\n size={{ width: graph.width, height: graph.height }}\n title={title}\n toolbarTools={toolbarTools}\n onChangeTools={(toolbarTools) => this.updateModel({ toolbarTools })}\n mathMlOptions={mathMlOptions}\n removeIncompleteTool={removeIncompleteTool}\n limitLabeling={true}\n />\n\n {correctAnswerErrors[key] && <ErrorMessage>{correctAnswerErrors[key]}</ErrorMessage>}\n </React.Fragment>\n );\n })}\n\n <Button onClick={this.addAlternateResponse}>\n ADD ALTERNATE\n </Button>\n\n <AlertDialog\n open={dialog.open}\n title={dialog.title}\n text={dialog.text}\n onClose={dialog.onClose}\n onConfirm={dialog.onConfirm}\n />\n </div>\n );\n }\n}\n\nexport default CorrectResponse;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AACA,IAAAU,SAAA,GAAAV,OAAA;AACA,IAAAW,KAAA,GAAAT,sBAAA,CAAAF,OAAA;AAA4C,SAAAD,wBAAAa,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAf,uBAAA,YAAAA,CAAAa,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAA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G,eAAe,eACP;EACjBvC,cAAc,EAAEiC,kBAAS,CAACI,KAAK;EAC/BoD,MAAM,EAAExD,kBAAS,CAACoB,MAAM;EACxBJ,KAAK,EAAEhB,kBAAS,CAACoB,MAAM,CAAC2E,UAAU;EAClCjH,QAAQ,EAAEkB,kBAAS,CAACG,IAAI,CAAC4F,UAAU;EACnC7H,YAAY,EAAE8B,kBAAS,CAACC,OAAO,CAACD,kBAAS,CAACgG,MAAM;AAClD,CAAC;AAAA,IAAAC,QAAA,GAAAnG,OAAA,CAAAlG,OAAA,GA4RY0G,eAAe","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"correct-response.js","names":["React","_interopRequireWildcard","require","_reactDom","_interopRequireDefault","_propTypes","_styles","_graphing","_configUi","_mathRendering","_renderUi","_Delete","_lodashEs","_material","_Info","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","GraphingTools","styled","color","text","Button","theme","margin","spacing","cursor","background","backgroundDark","padding","width","borderRadius","dropdownBackground","AvailableTools","marginTop","display","flexWrap","AvailableTool","border","textTransform","SelectedTool","ResponseTitle","alignItems","IconButton","marginLeft","borderGray","Name","marginBottom","StyledTooltip","className","props","createElement","Tooltip","_extends2","classes","tooltip","fontSize","typography","whiteSpace","maxWidth","SubtitleText","Typography","ToolsHeader","justifyContent","DefaultTool","DefaultToolSelect","Select","StyledMenuItem","MenuItem","ErrorMessage","palette","error","main","Tools","availableTools","defaultTool","hasErrors","toolbarTools","toggleToolBarTool","onDefaultToolChange","allTools","isLabelAvailable","includes","toolbarToolsNoLabel","filter","tool","allToolsNoLabel","length","variant","onChange","value","disableUnderline","MenuProps","transitionDuration","enter","exit","map","index","key","selected","find","ToolComponent","style","onClick","toUpperCase","exports","propTypes","PropTypes","arrayOf","string","func","array","number","CorrectResponse","Component","constructor","args","_defineProperty2","dialog","open","callback","setState","marks","model","answers","entries","reduce","object","answer","mark","type","updatedToolbarTools","newDefaultTool","findIndex","updatedAnswers","filterMarks","splice","isEqual","title","onConfirm","handleAlertDialog","updateModel","onClose","push","event","target","answersKeys","keys","name","answerKey","deleteAnswer","newAnswers","acc","currentValue","newAnswer","componentDidMount","domNode","ReactDOM","findDOMNode","renderMath","console","render","errors","mathMlOptions","removeIncompleteTool","state","arrows","backgroundMarks","coordinatesOnHover","domain","graph","labels","labelsEnabled","range","titleEnabled","correctAnswerErrors","toolbarToolsError","component","Fragment","disableFocusListener","disableTouchListener","placement","deleteAlternateResponse","GraphContainer","axesSettings","includeArrows","building","disabledLabels","disabledTitle","draggableTools","onChangeMarks","newMarks","changeMarks","showLabels","showTitle","size","height","onChangeTools","limitLabeling","addAlternateResponse","AlertDialog","isRequired","String","_default"],"sources":["../src/correct-response.jsx"],"sourcesContent":["import * as React from 'react';\nimport ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { styled } from '@mui/material/styles';\nimport { GraphContainer as Graph } from '@pie-lib/graphing';\nimport { AlertDialog } from '@pie-lib/config-ui';\nimport { renderMath } from '@pie-lib/math-rendering';\nimport { color } from '@pie-lib/render-ui';\nimport Delete from '@mui/icons-material/Delete';\nimport { set, isEqual } from 'lodash-es';\nimport { MenuItem, Select, Tooltip, Typography } from '@mui/material';\nimport Info from '@mui/icons-material/Info';\n\n// custom grey values close to old v3 accents\n/*\n * GREY_A100/GREY_A200 were file-local literals, the same defect as the palette reads\n * below: a grey no scheme can reach. Fills take `--pie-background-dark` and the\n * pressed state `--pie-dropdown-background`; strokes and ink take the stroke and text\n * tokens, which are stepped for contrast per scheme.\n */\nconst GraphingTools = styled('div')({\n color: color.text(),\n});\n\nconst Button = styled('div')(({ theme }) => ({\n margin: `${theme.spacing(2.5)} 0`,\n cursor: 'pointer',\n background: color.backgroundDark(),\n padding: theme.spacing(1.5),\n width: 'fit-content',\n borderRadius: '4px',\n '&:hover': {\n background: color.dropdownBackground(),\n },\n}));\n\nconst AvailableTools = styled('div')(({ theme }) => ({\n marginTop: theme.spacing(1),\n display: 'flex',\n flexWrap: 'wrap',\n}));\n\nconst AvailableTool = styled('div')(({ theme }) => ({\n cursor: 'pointer',\n margin: theme.spacing(1),\n padding: theme.spacing(1),\n // A spacer border reserving room for SelectedTool's stroke; it must read as absent,\n // which is what `common.white` meant on a white page and `--pie-background` means on any.\n border: `2px solid ${color.background()}`,\n textTransform: 'capitalize',\n '&:hover': {\n color: color.text(),\n },\n}));\n\nconst SelectedTool = styled(AvailableTool)({\n background: color.dropdownBackground(),\n border: `2px solid ${color.border()}`,\n});\n\nconst ResponseTitle = styled('div')(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n marginTop: theme.spacing(2.5),\n}));\n\nconst IconButton = styled('div')(() => ({\n marginLeft: '6px',\n // Deliberately quieter than the hover state, but still a control: `--pie-border-gray`\n // holds 3.17:1 against every scheme, enough for a non-text glyph.\n color: color.borderGray(),\n '&:hover': {\n cursor: 'pointer',\n color: color.text(),\n },\n}));\n\nconst Name = styled('div')(({ theme }) => ({\n marginBottom: theme.spacing(0.5),\n}));\n\nconst StyledTooltip = styled(({ className, ...props }) => (\n <Tooltip {...props} classes={{ tooltip: className }} />\n))(({ theme }) => ({\n '& .MuiTooltip-tooltip': {\n fontSize: theme.typography.fontSize - 2,\n whiteSpace: 'pre',\n maxWidth: '500px',\n },\n}));\n\nconst SubtitleText = styled(Typography)(({ theme }) => ({\n marginTop: theme.spacing(1.5),\n marginBottom: theme.spacing(1),\n}));\n\nconst ToolsHeader = styled('div')({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n});\n\nconst DefaultTool = styled('div')({\n display: 'flex',\n alignItems: 'center',\n width: '300px',\n});\n\nconst DefaultToolSelect = styled(Select)(({ theme }) => ({\n marginLeft: theme.spacing(1),\n textTransform: 'uppercase',\n color: color.text(),\n}));\n\nconst StyledMenuItem = styled(MenuItem)({\n textTransform: 'uppercase',\n});\n\nconst ErrorMessage = styled('div')(({ theme }) => ({\n fontSize: theme.typography.fontSize - 2,\n color: theme.palette.error.main,\n marginTop: theme.spacing(1),\n}));\n\nexport const Tools = ({\n availableTools,\n defaultTool,\n hasErrors,\n toolbarTools,\n toggleToolBarTool,\n onDefaultToolChange,\n}) => {\n let allTools = availableTools || [];\n const isLabelAvailable = allTools.includes('label');\n const toolbarToolsNoLabel = (toolbarTools || []).filter((tool) => tool !== 'label');\n\n if (isLabelAvailable) {\n // label has to be placed at the end of the list\n const allToolsNoLabel = allTools.filter((tool) => tool !== 'label');\n allTools = [...allToolsNoLabel, 'label'];\n }\n\n return (\n <GraphingTools>\n <ToolsHeader>\n <span>GRAPHING TOOLS</span>\n {toolbarToolsNoLabel.length > 0 && (\n <DefaultTool>\n <span>Default graphing tool:</span>\n <DefaultToolSelect\n variant=\"standard\"\n onChange={onDefaultToolChange}\n value={defaultTool}\n disableUnderline\n MenuProps={{ transitionDuration: { enter: 225, exit: 195 } }}\n >\n {toolbarToolsNoLabel.map((tool, index) => (\n <StyledMenuItem key={index} value={tool}>\n {tool}\n </StyledMenuItem>\n ))}\n </DefaultToolSelect>\n </DefaultTool>\n )}\n </ToolsHeader>\n <AvailableTools>\n {allTools.map((tool) => {\n const selected = toolbarTools.find((t) => t === tool);\n const ToolComponent = selected ? SelectedTool : AvailableTool;\n\n return (\n <ToolComponent\n key={tool}\n style={{\n ...(hasErrors && tool !== 'label' && { color: 'red' }),\n }}\n onClick={() => toggleToolBarTool(tool)}\n >\n {tool.toUpperCase()}\n </ToolComponent>\n );\n })}\n </AvailableTools>\n </GraphingTools>\n );\n};\n\nTools.propTypes = {\n toolbarTools: PropTypes.arrayOf(PropTypes.string),\n toggleToolBarTool: PropTypes.func,\n availableTools: PropTypes.array,\n defaultTool: PropTypes.string,\n hasErrors: PropTypes.number,\n onDefaultToolChange: PropTypes.func,\n};\n\nexport class CorrectResponse extends React.Component {\n static propTypes = {\n availableTools: PropTypes.array,\n errors: PropTypes.object,\n model: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n toolbarTools: PropTypes.arrayOf(PropTypes.String),\n };\n\n state = {\n dialog: {\n open: false,\n },\n };\n\n componentDidMount() {\n try {\n // eslint-disable-next-line react/no-find-dom-node\n const domNode = ReactDOM.findDOMNode(this);\n\n renderMath(domNode);\n } catch (e) {\n // Added try-catch block to handle \"Unable to find node on an unmounted component\" error from tests, thrown because of the usage of shallow\n console.error('DOM not mounted');\n }\n }\n\n handleAlertDialog = (open, callback) =>\n this.setState(\n {\n dialog: { open },\n },\n callback,\n );\n\n changeMarks = (key, marks) => {\n const { model, onChange } = this.props;\n\n set(model, `answers.${key}.marks`, marks);\n onChange(model);\n };\n\n filterMarks = (tool) => {\n const {\n model: { answers },\n } = this.props;\n\n return Object.entries(answers || {}).reduce((object, [key, answer]) => {\n object[key] = {\n ...answer,\n marks: (answer.marks || []).filter((mark) => mark.type !== tool),\n };\n\n return object;\n }, {});\n };\n\n changeToolbarTools = (toolbarTools) => {\n const { model, onChange } = this.props;\n model.toolbarTools = toolbarTools;\n\n onChange(model);\n };\n\n updateModel = (props) => {\n const { model, onChange } = this.props;\n\n onChange({\n ...model,\n ...props,\n });\n };\n\n toggleToolBarTool = (tool) => {\n const {\n model: { defaultTool, toolbarTools, answers = {} },\n } = this.props;\n const updatedToolbarTools = [...toolbarTools];\n let newDefaultTool = defaultTool;\n\n const index = toolbarTools.findIndex((t) => tool === t);\n\n if (index >= 0) {\n const updatedAnswers = this.filterMarks(tool);\n updatedToolbarTools.splice(index, 1);\n if (tool === defaultTool) {\n const toolbarToolsNoLabel = (updatedToolbarTools || []).filter((tool) => tool !== 'label');\n newDefaultTool = (toolbarToolsNoLabel.length && toolbarToolsNoLabel[0]) || '';\n }\n\n if (!isEqual(answers, updatedAnswers)) {\n this.setState({\n dialog: {\n open: true,\n title: 'Warning',\n text: `Correct answer includes one or more ${tool} objects and all of them will be deleted.`,\n onConfirm: () =>\n this.handleAlertDialog(\n false,\n this.updateModel({\n toolbarTools: updatedToolbarTools,\n answers: updatedAnswers,\n defaultTool: newDefaultTool,\n }),\n ),\n onClose: () => this.handleAlertDialog(false),\n },\n });\n\n return;\n }\n } else {\n updatedToolbarTools.push(tool);\n\n if (defaultTool === '' && tool !== 'label') {\n newDefaultTool = tool;\n }\n }\n\n this.updateModel({\n toolbarTools: updatedToolbarTools,\n defaultTool: newDefaultTool,\n });\n };\n\n onDefaultToolChange = (event) => {\n const { value } = event.target;\n\n this.updateModel({ defaultTool: value });\n };\n\n addAlternateResponse = () => {\n const { model, onChange } = this.props;\n const { answers } = model || {};\n const answersKeys = Object.keys(answers || {});\n\n set(model, `answers.${`alternate${answersKeys.length}`}`, {\n name: `Alternate ${answersKeys.length}`,\n marks: [],\n });\n onChange(model);\n };\n\n deleteAlternateResponse = (answerKey, answer) => {\n const { model, onChange } = this.props;\n const { answers } = model || {};\n const { marks = [], name } = answer || {};\n\n const deleteAnswer = () => {\n delete answers[answerKey];\n // rebuild answers based on new alternate positions after deletion\n const newAnswers = Object.entries(answers).reduce((acc, currentValue, index) => {\n const [key, value] = currentValue;\n const newAnswer =\n key === 'correctAnswer'\n ? { ...acc, [key]: value }\n : { ...acc, ['alternate' + index]: { ...value, name: `Alternate ${index}` } };\n return newAnswer;\n }, {});\n\n onChange({ ...model, answers: newAnswers });\n };\n\n if (marks.length) {\n this.setState({\n dialog: {\n open: true,\n title: 'Warning',\n text: `${name} includes one or more shapes and the entire response will be deleted.`,\n onConfirm: () => this.handleAlertDialog(false, deleteAnswer),\n onClose: () => this.handleAlertDialog(false),\n },\n });\n\n return;\n }\n\n deleteAnswer();\n };\n\n render() {\n const { availableTools, errors, model, mathMlOptions = {}, removeIncompleteTool } = this.props;\n const { dialog } = this.state;\n const {\n answers = {},\n arrows,\n backgroundMarks,\n coordinatesOnHover,\n defaultTool,\n domain,\n graph = {},\n labels,\n labelsEnabled,\n range,\n title,\n titleEnabled,\n toolbarTools,\n } = model || {};\n const { correctAnswerErrors = {}, toolbarToolsError } = errors || {};\n\n return (\n <div>\n <Typography component=\"div\" variant=\"h6\">\n Define Tool Set and Correct Response\n </Typography>\n\n <SubtitleText component=\"div\" variant=\"body1\">\n Use this interface to choose which graphing tools students will be able to use, and to define the correct\n answer\n </SubtitleText>\n\n <Tools\n availableTools={availableTools}\n defaultTool={defaultTool}\n hasErrors={!!toolbarToolsError}\n onDefaultToolChange={this.onDefaultToolChange}\n toggleToolBarTool={this.toggleToolBarTool}\n toolbarTools={toolbarTools}\n />\n\n {toolbarToolsError && <ErrorMessage>{toolbarToolsError}</ErrorMessage>}\n\n {Object.entries(answers || {}).map(([key, answer]) => {\n const { marks = [], name } = answer || {};\n\n return (\n <React.Fragment key={`correct-response-graph-${name}`}>\n <ResponseTitle>\n <Name>{name}</Name>\n {key === 'correctAnswer' && (\n <StyledTooltip\n disableFocusListener\n disableTouchListener\n placement={'right'}\n title={'At least 1 graph object should be defined.'}\n >\n <Info fontSize={'small'} color={'primary'} style={{ marginLeft: '8px', marginBottom: 'auto' }} />\n </StyledTooltip>\n )}\n {key !== 'correctAnswer' && (\n <IconButton onClick={() => this.deleteAlternateResponse(key, answer)}>\n <Delete />\n </IconButton>\n )}\n </ResponseTitle>\n\n <Graph\n style={correctAnswerErrors[key] && { border: '2px solid red' }}\n axesSettings={{ includeArrows: arrows }}\n backgroundMarks={backgroundMarks.filter((mark) => !mark.building)}\n coordinatesOnHover={coordinatesOnHover}\n disabledLabels={true}\n disabledTitle={true}\n domain={domain}\n draggableTools={key === 'correctAnswer'}\n labels={labels}\n marks={marks}\n onChangeMarks={(newMarks) => this.changeMarks(key, newMarks)}\n range={range}\n showLabels={labelsEnabled}\n showTitle={titleEnabled}\n size={{ width: graph.width, height: graph.height }}\n title={title}\n toolbarTools={toolbarTools}\n onChangeTools={(toolbarTools) => this.updateModel({ toolbarTools })}\n mathMlOptions={mathMlOptions}\n removeIncompleteTool={removeIncompleteTool}\n limitLabeling={true}\n />\n\n {correctAnswerErrors[key] && <ErrorMessage>{correctAnswerErrors[key]}</ErrorMessage>}\n </React.Fragment>\n );\n })}\n\n <Button onClick={this.addAlternateResponse}>\n ADD ALTERNATE\n </Button>\n\n <AlertDialog\n open={dialog.open}\n title={dialog.title}\n text={dialog.text}\n onClose={dialog.onClose}\n onConfirm={dialog.onConfirm}\n />\n </div>\n );\n }\n}\n\nexport default CorrectResponse;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAP,OAAA;AACA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,SAAA,GAAAV,OAAA;AACA,IAAAW,SAAA,GAAAX,OAAA;AACA,IAAAY,KAAA,GAAAV,sBAAA,CAAAF,OAAA;AAA4C,SAAAD,wBAAAc,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAhB,uBAAA,YAAAA,CAAAc,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,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AAE8B,kBAAS,CAACC,OAAO,CAACD,kBAAS,CAAC+F,MAAM;AAClD,CAAC;AAAA,IAAAC,QAAA,GAAAlG,OAAA,CAAAhG,OAAA,GA4RYwG,eAAe","ignoreList":[]}
|
package/configure/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/graphing-configure",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.2.2",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "src/index.js",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"@mui/icons-material": "^7.3.4",
|
|
13
13
|
"@mui/material": "^7.3.4",
|
|
14
14
|
"@pie-framework/pie-configure-events": "^1.3.0",
|
|
15
|
-
"@pie-lib/config-ui": "13.
|
|
16
|
-
"@pie-lib/editable-html-tip-tap": "2.
|
|
17
|
-
"@pie-lib/graphing": "4.
|
|
15
|
+
"@pie-lib/config-ui": "13.0.17",
|
|
16
|
+
"@pie-lib/editable-html-tip-tap": "2.1.15",
|
|
17
|
+
"@pie-lib/graphing": "4.0.19",
|
|
18
18
|
"@pie-lib/math-rendering": "5.1.0",
|
|
19
19
|
"classnames": "^2.2.6",
|
|
20
20
|
"debug": "^4.1.1",
|
package/controller/CHANGELOG.md
CHANGED
|
@@ -3,57 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## [9.1.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.1.3...@pie-element/graphing-controller@9.1.5) (2026-08-13)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @pie-element/graphing-controller
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
## [9.1.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.1.3...@pie-element/graphing-controller@9.1.4) (2026-08-11)
|
|
11
11
|
|
|
12
12
|
**Note:** Version bump only for package @pie-element/graphing-controller
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
## [9.1.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.1.2...@pie-element/graphing-controller@9.1.3) (2026-07-08)
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
# [9.4.0-beta.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.4.0-beta.4...@pie-element/graphing-controller@9.4.0-beta.5) (2026-08-11)
|
|
19
|
-
|
|
20
|
-
**Note:** Version bump only for package @pie-element/graphing-controller
|
|
21
|
-
|
|
22
|
-
# [9.4.0-beta.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.4.0-beta.3...@pie-element/graphing-controller@9.4.0-beta.4) (2026-08-11)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @pie-element/graphing-controller
|
|
25
|
-
|
|
26
|
-
# [9.4.0-beta.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.4.0-beta.2...@pie-element/graphing-controller@9.4.0-beta.3) (2026-08-11)
|
|
27
|
-
|
|
28
|
-
**Note:** Version bump only for package @pie-element/graphing-controller
|
|
29
|
-
|
|
30
|
-
# [9.4.0-beta.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.4.0-beta.1...@pie-element/graphing-controller@9.4.0-beta.2) (2026-08-11)
|
|
31
|
-
|
|
32
|
-
**Note:** Version bump only for package @pie-element/graphing-controller
|
|
33
|
-
|
|
34
|
-
# [9.4.0-beta.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.4.0-beta.0...@pie-element/graphing-controller@9.4.0-beta.1) (2026-08-07)
|
|
16
|
+
### Bug Fixes
|
|
35
17
|
|
|
36
|
-
**
|
|
18
|
+
- **graphing:** compare derived a/b coefficients when scoring exponentials + add exponential/absolute test coverage SCSTU-377 PIE-745 ([7f09452](https://github.com/pie-framework/pie-elements/commit/7f09452c1006118147a1f77c4a9ce1e886f7b89f))
|
|
37
19
|
|
|
38
|
-
|
|
20
|
+
## [9.1.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.1.1...@pie-element/graphing-controller@9.1.2) (2026-07-02)
|
|
39
21
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
# [9.3.0-beta.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.3.0-beta.0...@pie-element/graphing-controller@9.3.0-beta.1) (2026-08-07)
|
|
22
|
+
### Bug Fixes
|
|
43
23
|
|
|
44
|
-
|
|
24
|
+
- bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
|
|
45
25
|
|
|
46
|
-
|
|
26
|
+
## [9.1.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.1.0...@pie-element/graphing-controller@9.1.1) (2026-05-21)
|
|
47
27
|
|
|
48
28
|
**Note:** Version bump only for package @pie-element/graphing-controller
|
|
49
29
|
|
|
50
|
-
# [9.2.0-beta.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.1.0...@pie-element/graphing-controller@9.2.0-beta.0) (2026-08-07)
|
|
51
|
-
|
|
52
|
-
### Bug Fixes
|
|
53
|
-
|
|
54
|
-
- bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
|
|
55
|
-
- **graphing:** compare derived a/b coefficients when scoring exponentials + add exponential/absolute test coverage SCSTU-377 PIE-745 ([7f09452](https://github.com/pie-framework/pie-elements/commit/7f09452c1006118147a1f77c4a9ce1e886f7b89f))
|
|
56
|
-
|
|
57
30
|
# [9.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing-controller@9.1.0-next.2...@pie-element/graphing-controller@9.1.0) (2026-05-21)
|
|
58
31
|
|
|
59
32
|
### Bug Fixes
|
package/controller/package.json
CHANGED
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "10.2.2
|
|
7
|
+
"version": "10.2.2",
|
|
8
8
|
"description": "",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"postpublish": "../../scripts/postpublish"
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"@mui/icons-material": "^7.3.4",
|
|
16
16
|
"@mui/material": "^7.3.4",
|
|
17
17
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
18
|
-
"@pie-lib/correct-answer-toggle": "4.0.
|
|
19
|
-
"@pie-lib/graphing": "4.
|
|
18
|
+
"@pie-lib/correct-answer-toggle": "4.0.7",
|
|
19
|
+
"@pie-lib/graphing": "4.0.19",
|
|
20
20
|
"@pie-lib/math-rendering": "5.1.0",
|
|
21
|
-
"@pie-lib/render-ui": "
|
|
21
|
+
"@pie-lib/render-ui": "7.0.1",
|
|
22
22
|
"classnames": "^2.2.6",
|
|
23
23
|
"debug": "^4.1.1",
|
|
24
24
|
"react": "18.3.1",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"author": "",
|
|
28
28
|
"license": "ISC",
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "bcde1d804e77d19be0123dc524c5b842688ce0a3",
|
|
30
30
|
"main": "lib/index.js",
|
|
31
31
|
"module": "src/index.js"
|
|
32
32
|
}
|