@pie-lib/math-input 6.6.0 → 6.6.1-next.110
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.json +135 -0
- package/CHANGELOG.md +29 -241
- package/lib/horizontal-keypad.js +2 -1
- package/lib/horizontal-keypad.js.map +1 -1
- package/lib/keypad/index.js +34 -4
- package/lib/keypad/index.js.map +1 -1
- package/lib/keys/constants.js +18 -1
- package/lib/keys/constants.js.map +1 -1
- package/lib/keys/geometry.js +30 -4
- package/lib/keys/geometry.js.map +1 -1
- package/lib/keys/grades.js +110 -21
- package/lib/keys/grades.js.map +1 -1
- package/lib/keys/log.js +1 -1
- package/lib/keys/log.js.map +1 -1
- package/lib/keys/statistics.js +8 -1
- package/lib/keys/statistics.js.map +1 -1
- package/lib/mq/static.js +7 -1
- package/lib/mq/static.js.map +1 -1
- package/package.json +2 -2
- package/src/horizontal-keypad.jsx +1 -0
- package/src/keypad/index.jsx +46 -4
- package/src/keys/constants.js +17 -0
- package/src/keys/geometry.js +27 -3
- package/src/keys/grades.js +197 -83
- package/src/keys/log.js +1 -1
- package/src/keys/statistics.js +7 -0
- package/src/mq/static.jsx +7 -1
package/CHANGELOG.json
CHANGED
|
@@ -1408,5 +1408,140 @@
|
|
|
1408
1408
|
"committerDate": "2021-08-12 11:41:38 +0300",
|
|
1409
1409
|
"isTagged": true,
|
|
1410
1410
|
"tag": "@pie-lib/math-input@6.6.0"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"type": "fix",
|
|
1414
|
+
"scope": "math-input",
|
|
1415
|
+
"subject": "Fixed arrows button for pits",
|
|
1416
|
+
"merge": null,
|
|
1417
|
+
"header": "fix(math-input): Fixed arrows button for pits",
|
|
1418
|
+
"body": null,
|
|
1419
|
+
"footer": null,
|
|
1420
|
+
"notes": [],
|
|
1421
|
+
"hash": "66dd6a907043ecc2dd1983e90647bab93ce6c831",
|
|
1422
|
+
"gitTags": " (origin/fix/math-toolbar)",
|
|
1423
|
+
"committerDate": "2021-09-07 12:51:16 +0300",
|
|
1424
|
+
"isTagged": true,
|
|
1425
|
+
"tag": "@pie-lib/math-input@6.6.1"
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"type": "fix",
|
|
1429
|
+
"scope": "math-input",
|
|
1430
|
+
"subject": "default latex when received is wrong (2)",
|
|
1431
|
+
"merge": null,
|
|
1432
|
+
"header": "fix(math-input): default latex when received is wrong (2)",
|
|
1433
|
+
"body": null,
|
|
1434
|
+
"footer": null,
|
|
1435
|
+
"notes": [],
|
|
1436
|
+
"hash": "dc71307213d50fde2014df2c561428cd6839d99e",
|
|
1437
|
+
"gitTags": " (origin/fix/math-input-latex)",
|
|
1438
|
+
"committerDate": "2021-09-02 13:17:17 +0300",
|
|
1439
|
+
"isTagged": true,
|
|
1440
|
+
"tag": "@pie-lib/math-input@6.6.1"
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"type": "fix",
|
|
1444
|
+
"scope": "math-input",
|
|
1445
|
+
"subject": "default latex when received is wrong",
|
|
1446
|
+
"merge": null,
|
|
1447
|
+
"header": "fix(math-input): default latex when received is wrong",
|
|
1448
|
+
"body": null,
|
|
1449
|
+
"footer": null,
|
|
1450
|
+
"notes": [],
|
|
1451
|
+
"hash": "d872f607895953a8da50e55e1363088271a81231",
|
|
1452
|
+
"gitTags": "",
|
|
1453
|
+
"committerDate": "2021-09-02 12:56:21 +0300",
|
|
1454
|
+
"isTagged": true,
|
|
1455
|
+
"tag": "@pie-lib/math-input@6.6.1"
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"type": "fix",
|
|
1459
|
+
"scope": "math-input",
|
|
1460
|
+
"subject": "fix e button on advanced algebra math editor PD-1280",
|
|
1461
|
+
"merge": null,
|
|
1462
|
+
"header": "fix(math-input): fix e button on advanced algebra math editor PD-1280",
|
|
1463
|
+
"body": null,
|
|
1464
|
+
"footer": null,
|
|
1465
|
+
"notes": [],
|
|
1466
|
+
"hash": "dbfb53bcfa9663d294a494028ce84f563033d6d5",
|
|
1467
|
+
"gitTags": "",
|
|
1468
|
+
"committerDate": "2021-08-31 13:16:38 +0300",
|
|
1469
|
+
"isTagged": true,
|
|
1470
|
+
"tag": "@pie-lib/math-input@6.6.1"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"type": "fix",
|
|
1474
|
+
"scope": "math-input",
|
|
1475
|
+
"subject": "render measured angle as m + angle sign PD-368",
|
|
1476
|
+
"merge": null,
|
|
1477
|
+
"header": "fix(math-input): render measured angle as m + angle sign PD-368",
|
|
1478
|
+
"body": null,
|
|
1479
|
+
"footer": null,
|
|
1480
|
+
"notes": [],
|
|
1481
|
+
"hash": "670fb56c8c515cf45e57635454e01ac8290f6d42",
|
|
1482
|
+
"gitTags": " (origin/fix/measured-angle)",
|
|
1483
|
+
"committerDate": "2021-09-14 13:35:44 +0300",
|
|
1484
|
+
"isTagged": true,
|
|
1485
|
+
"tag": "@pie-lib/math-input@6.6.3"
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"type": "fix",
|
|
1489
|
+
"scope": "math-input",
|
|
1490
|
+
"subject": "Made overarc button consistent with the others PD-1315",
|
|
1491
|
+
"merge": null,
|
|
1492
|
+
"header": "fix(math-input): Made overarc button consistent with the others PD-1315",
|
|
1493
|
+
"body": null,
|
|
1494
|
+
"footer": null,
|
|
1495
|
+
"notes": [],
|
|
1496
|
+
"hash": "872646962368946f1cbefc9aab4a94e74cb9590f",
|
|
1497
|
+
"gitTags": " (origin/fix/PD-1315)",
|
|
1498
|
+
"committerDate": "2021-09-27 13:26:37 +0300",
|
|
1499
|
+
"isTagged": true,
|
|
1500
|
+
"tag": "@pie-lib/math-input@6.6.5"
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"type": "fix",
|
|
1504
|
+
"scope": "math-input",
|
|
1505
|
+
"subject": "Made segment, ray and line buttons more consistent PD-1315",
|
|
1506
|
+
"merge": null,
|
|
1507
|
+
"header": "fix(math-input): Made segment, ray and line buttons more consistent PD-1315",
|
|
1508
|
+
"body": null,
|
|
1509
|
+
"footer": null,
|
|
1510
|
+
"notes": [],
|
|
1511
|
+
"hash": "e7e4e29e8eae6dd5f0a98040c523cb518b61de3e",
|
|
1512
|
+
"gitTags": "",
|
|
1513
|
+
"committerDate": "2021-09-24 14:53:08 +0300",
|
|
1514
|
+
"isTagged": true,
|
|
1515
|
+
"tag": "@pie-lib/math-input@6.6.5"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"type": "fix",
|
|
1519
|
+
"scope": "math-input",
|
|
1520
|
+
"subject": "create proper latex expression for log base button",
|
|
1521
|
+
"merge": null,
|
|
1522
|
+
"header": "fix(math-input): create proper latex expression for log base button",
|
|
1523
|
+
"body": null,
|
|
1524
|
+
"footer": null,
|
|
1525
|
+
"notes": [],
|
|
1526
|
+
"hash": "ca0c3f00b7cdb8ae2e5d6e1003cec7a4942fb6aa",
|
|
1527
|
+
"gitTags": " (origin/fix/log-base-x-expression)",
|
|
1528
|
+
"committerDate": "2021-09-23 13:38:33 +0300",
|
|
1529
|
+
"isTagged": true,
|
|
1530
|
+
"tag": "@pie-lib/math-input@6.6.5"
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"type": "fix",
|
|
1534
|
+
"scope": "math-input",
|
|
1535
|
+
"subject": "Fixed left-right arrow button",
|
|
1536
|
+
"merge": null,
|
|
1537
|
+
"header": "fix(math-input): Fixed left-right arrow button",
|
|
1538
|
+
"body": null,
|
|
1539
|
+
"footer": null,
|
|
1540
|
+
"notes": [],
|
|
1541
|
+
"hash": "6109149689e75bfaba2bf1677c909bb7cbaa3145",
|
|
1542
|
+
"gitTags": " (origin/fix/math-input-arrow)",
|
|
1543
|
+
"committerDate": "2021-10-04 13:14:10 +0300",
|
|
1544
|
+
"isTagged": true,
|
|
1545
|
+
"tag": "@pie-lib/math-input@6.6.6"
|
|
1411
1546
|
}
|
|
1412
1547
|
]
|
package/CHANGELOG.md
CHANGED
|
@@ -25,457 +25,245 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
25
25
|
|
|
26
26
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
28
|
## [6.5.12](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.11...@pie-lib/math-input@6.5.12) (2021-06-25)
|
|
33
29
|
|
|
34
30
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
35
31
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
32
|
## [6.5.11](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.10...@pie-lib/math-input@6.5.11) (2021-04-06)
|
|
41
33
|
|
|
42
34
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
43
35
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
36
|
## [6.5.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.9...@pie-lib/math-input@6.5.10) (2021-03-22)
|
|
49
37
|
|
|
50
|
-
|
|
51
38
|
### Bug Fixes
|
|
52
39
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
40
|
+
- **math-toolbar:** fix double arrow button style mentioned in PD-48 ([145b060](https://github.com/pie-framework/pie-lib/commit/145b060))
|
|
58
41
|
|
|
59
42
|
## [6.5.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.8...@pie-lib/math-input@6.5.9) (2021-03-15)
|
|
60
43
|
|
|
61
44
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
62
45
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
46
|
## [6.5.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.7...@pie-lib/math-input@6.5.8) (2021-03-03)
|
|
68
47
|
|
|
69
|
-
|
|
70
48
|
### Bug Fixes
|
|
71
49
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
50
|
+
- rename the 'Everything' math editor as the 'Miscellaneous' math editor ([6b5c0b3](https://github.com/pie-framework/pie-lib/commit/6b5c0b3))
|
|
77
51
|
|
|
78
52
|
## [6.5.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.6...@pie-lib/math-input@6.5.7) (2021-03-02)
|
|
79
53
|
|
|
80
|
-
|
|
81
54
|
### Bug Fixes
|
|
82
55
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
56
|
+
- override math input and math toolbar style for ibx PD-774 ([0969756](https://github.com/pie-framework/pie-lib/commit/0969756))
|
|
88
57
|
|
|
89
58
|
## [6.5.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.5...@pie-lib/math-input@6.5.6) (2021-03-01)
|
|
90
59
|
|
|
91
60
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
92
61
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
62
|
## [6.5.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.4...@pie-lib/math-input@6.5.5) (2021-03-01)
|
|
98
63
|
|
|
99
|
-
|
|
100
64
|
### Bug Fixes
|
|
101
65
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
66
|
+
- In some situations, math editors will not accept keyboard entry. PD-655 ([876de31](https://github.com/pie-framework/pie-lib/commit/876de31))
|
|
107
67
|
|
|
108
68
|
## [6.5.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.3...@pie-lib/math-input@6.5.4) (2021-02-15)
|
|
109
69
|
|
|
110
|
-
|
|
111
70
|
### Bug Fixes
|
|
112
71
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
72
|
+
- demo ([affa119](https://github.com/pie-framework/pie-lib/commit/affa119))
|
|
118
73
|
|
|
119
74
|
## [6.5.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.1...@pie-lib/math-input@6.5.3) (2021-02-15)
|
|
120
75
|
|
|
121
76
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
122
77
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
78
|
## [6.5.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.0...@pie-lib/math-input@6.5.1) (2020-08-11)
|
|
128
79
|
|
|
129
80
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
130
81
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
82
|
# [6.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.20...@pie-lib/math-input@6.5.0) (2020-06-05)
|
|
136
83
|
|
|
137
|
-
|
|
138
84
|
### Features
|
|
139
85
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
86
|
+
- **math-input:** tooltip keypad support added ([7ae60a3](https://github.com/pie-framework/pie-lib/commit/7ae60a3))
|
|
145
87
|
|
|
146
88
|
## [6.4.20](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.19...@pie-lib/math-input@6.4.20) (2020-05-15)
|
|
147
89
|
|
|
148
|
-
|
|
149
90
|
### Bug Fixes
|
|
150
91
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
92
|
+
- Remove duplicated key for Grade 8 - HS. PD-39 ([94497d0](https://github.com/pie-framework/pie-lib/commit/94497d0))
|
|
156
93
|
|
|
157
94
|
## [6.4.19](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.18...@pie-lib/math-input@6.4.19) (2020-05-06)
|
|
158
95
|
|
|
159
96
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
160
97
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
98
|
## [6.4.18](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.17...@pie-lib/math-input@6.4.18) (2020-05-05)
|
|
166
99
|
|
|
167
100
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
168
101
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
102
|
## [6.4.17](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.16...@pie-lib/math-input@6.4.17) (2020-04-28)
|
|
174
103
|
|
|
175
|
-
|
|
176
104
|
### Bug Fixes
|
|
177
105
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
106
|
+
- PD-69: A legacy multi-part item consisting of two equation response interactions appears with no response areas ([fff4ec7](https://github.com/pie-framework/pie-lib/commit/fff4ec7))
|
|
183
107
|
|
|
184
108
|
## [6.4.16](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.15...@pie-lib/math-input@6.4.16) (2020-04-27)
|
|
185
109
|
|
|
186
110
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
187
111
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
112
|
## [6.4.15](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.14...@pie-lib/math-input@6.4.15) (2020-04-21)
|
|
193
113
|
|
|
194
|
-
|
|
195
114
|
### Bug Fixes
|
|
196
115
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
116
|
+
- PD-155: The "pink" background-color set on .mq-empty is overwritten by mathquill.css with "transparent". Added "important" to prevent this. ([18e4ef7](https://github.com/pie-framework/pie-lib/commit/18e4ef7))
|
|
117
|
+
- PD-156: Formatting issues with math editor buttons, specifically in IBX. Updated design for arrows and line, fixed fonts issue (different then expected + various function buttons are capitalized). ([61be51c](https://github.com/pie-framework/pie-lib/commit/61be51c))
|
|
118
|
+
- PD-157: In IBX specifically, characters on math editors are too small. (because they are overwritten) ([3792162](https://github.com/pie-framework/pie-lib/commit/3792162))
|
|
119
|
+
- PD-158: In Item Preview specifically, in IBX only, the math editor radical button and the "squared" button are not correctly labeled ([12f3cd5](https://github.com/pie-framework/pie-lib/commit/12f3cd5))
|
|
205
120
|
|
|
206
121
|
## [6.4.14](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.13...@pie-lib/math-input@6.4.14) (2020-04-14)
|
|
207
122
|
|
|
208
|
-
|
|
209
123
|
### Bug Fixes
|
|
210
124
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
125
|
+
- **math-input:** remove extra subscript button from statistics keyset - PD-38 ([17a0659](https://github.com/pie-framework/pie-lib/commit/17a0659))
|
|
216
126
|
|
|
217
127
|
## [6.4.13](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.12...@pie-lib/math-input@6.4.13) (2020-04-08)
|
|
218
128
|
|
|
219
129
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
220
130
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
131
|
## [6.4.12](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.11...@pie-lib/math-input@6.4.12) (2020-03-31)
|
|
226
132
|
|
|
227
|
-
|
|
228
133
|
### Bug Fixes
|
|
229
134
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
135
|
+
- remove require (bad es import) ([5c1e025](https://github.com/pie-framework/pie-lib/commit/5c1e025))
|
|
235
136
|
|
|
236
137
|
## [6.4.11](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.10...@pie-lib/math-input@6.4.11) (2020-03-31)
|
|
237
138
|
|
|
238
|
-
|
|
239
139
|
### Bug Fixes
|
|
240
140
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
141
|
+
- rm ExportNamespaceSpecifier ([970e2ed](https://github.com/pie-framework/pie-lib/commit/970e2ed))
|
|
246
142
|
|
|
247
143
|
## [6.4.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.9...@pie-lib/math-input@6.4.10) (2020-03-31)
|
|
248
144
|
|
|
249
|
-
|
|
250
145
|
### Bug Fixes
|
|
251
146
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
147
|
+
- correct module path ([b6b5b6f](https://github.com/pie-framework/pie-lib/commit/b6b5b6f))
|
|
257
148
|
|
|
258
149
|
## [6.4.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.8...@pie-lib/math-input@6.4.9) (2020-03-31)
|
|
259
150
|
|
|
260
151
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
261
152
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
153
|
## [6.4.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.7...@pie-lib/math-input@6.4.8) (2020-03-30)
|
|
267
154
|
|
|
268
155
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
269
156
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
157
|
## [6.4.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.6...@pie-lib/math-input@6.4.7) (2020-03-30)
|
|
275
158
|
|
|
276
159
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
277
160
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
161
|
## [6.4.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.5...@pie-lib/math-input@6.4.6) (2020-03-30)
|
|
283
162
|
|
|
284
163
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
285
164
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
165
|
## [6.4.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.4...@pie-lib/math-input@6.4.5) (2020-03-30)
|
|
291
166
|
|
|
292
167
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
293
168
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
169
|
## [6.4.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.3...@pie-lib/math-input@6.4.4) (2020-03-30)
|
|
299
170
|
|
|
300
|
-
|
|
301
171
|
### Bug Fixes
|
|
302
172
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
173
|
+
- correct export syntax ([db7fcc0](https://github.com/pie-framework/pie-lib/commit/db7fcc0))
|
|
308
174
|
|
|
309
175
|
## [6.4.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.2...@pie-lib/math-input@6.4.3) (2020-03-30)
|
|
310
176
|
|
|
311
|
-
|
|
312
177
|
### Bug Fixes
|
|
313
178
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
179
|
+
- correct export syntax ([10c40b1](https://github.com/pie-framework/pie-lib/commit/10c40b1))
|
|
319
180
|
|
|
320
181
|
## [6.4.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.1...@pie-lib/math-input@6.4.2) (2020-03-30)
|
|
321
182
|
|
|
322
|
-
|
|
323
183
|
### Bug Fixes
|
|
324
184
|
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
185
|
+
- add module prop to package.json ([df40020](https://github.com/pie-framework/pie-lib/commit/df40020))
|
|
330
186
|
|
|
331
187
|
## [6.4.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.4.0...@pie-lib/math-input@6.4.1) (2020-03-18)
|
|
332
188
|
|
|
333
189
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
334
190
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
191
|
# [6.4.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.11...@pie-lib/math-input@6.4.0) (2020-03-06)
|
|
340
192
|
|
|
341
|
-
|
|
342
193
|
### Bug Fixes
|
|
343
194
|
|
|
344
|
-
|
|
345
|
-
|
|
195
|
+
- **math-input:** fix Static rootblock logic, failsafe for finding math block id ch3518 ([08df6db](https://github.com/pie-framework/pie-lib/commit/08df6db))
|
|
346
196
|
|
|
347
197
|
### Features
|
|
348
198
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
199
|
+
- bump @pie-framework/mathquill@^1.0.0 ([d43c5c5](https://github.com/pie-framework/pie-lib/commit/d43c5c5))
|
|
200
|
+
- bump @pie-framework/mathquill@^1.1.0 ([31dbed8](https://github.com/pie-framework/pie-lib/commit/31dbed8))
|
|
355
201
|
|
|
356
202
|
## [6.3.11](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.10...@pie-lib/math-input@6.3.11) (2020-02-11)
|
|
357
203
|
|
|
358
204
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
359
205
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
206
|
## [6.3.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.9...@pie-lib/math-input@6.3.10) (2020-02-05)
|
|
365
207
|
|
|
366
|
-
|
|
367
208
|
### Bug Fixes
|
|
368
209
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
210
|
+
- 6287: Setting equation editor as a string (eg: '6') works as well (In OT, a math editor for an Equation Response item is missing a critical button as well as many other expected buttons) ([a21f04b](https://github.com/pie-framework/pie-lib/commit/a21f04b))
|
|
374
211
|
|
|
375
212
|
## [6.3.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.8...@pie-lib/math-input@6.3.9) (2020-01-27)
|
|
376
213
|
|
|
377
|
-
|
|
378
214
|
### Bug Fixes
|
|
379
215
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
216
|
+
- 6264: Math editor in OT has button labels that are very small and impact legibility and usability (don't use rem to determine font size, use percentage instead) ([94f9d3b](https://github.com/pie-framework/pie-lib/commit/94f9d3b))
|
|
217
|
+
- 6264: Math editor in OT has button labels that are very small and impact legibility and usability (don't use rem to determine font size) ([da50c12](https://github.com/pie-framework/pie-lib/commit/da50c12))
|
|
386
218
|
|
|
387
219
|
## [6.3.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.7...@pie-lib/math-input@6.3.8) (2019-12-19)
|
|
388
220
|
|
|
389
|
-
|
|
390
221
|
### Bug Fixes
|
|
391
222
|
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
223
|
+
- rm bad import ([fe6673d](https://github.com/pie-framework/pie-lib/commit/fe6673d))
|
|
397
224
|
|
|
398
225
|
## [6.3.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.6...@pie-lib/math-input@6.3.7) (2019-12-18)
|
|
399
226
|
|
|
400
|
-
|
|
401
227
|
### Bug Fixes
|
|
402
228
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
229
|
+
- do not add keys if they already exist in keyset [ch5653](<[fbccf3b](https://github.com/pie-framework/pie-lib/commit/fbccf3b)>)
|
|
408
230
|
|
|
409
231
|
## [6.3.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.5...@pie-lib/math-input@6.3.6) (2019-11-05)
|
|
410
232
|
|
|
411
|
-
|
|
412
233
|
### Bug Fixes
|
|
413
234
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
235
|
+
- handle latex parsing errors PIE-145 ([99905ea](https://github.com/pie-framework/pie-lib/commit/99905ea))
|
|
419
236
|
|
|
420
237
|
## [6.3.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.4...@pie-lib/math-input@6.3.5) (2019-08-21)
|
|
421
238
|
|
|
422
239
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
423
240
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
241
|
## [6.3.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.3...@pie-lib/math-input@6.3.4) (2019-07-08)
|
|
429
242
|
|
|
430
243
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
431
244
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
245
|
## [6.3.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.2...@pie-lib/math-input@6.3.3) (2019-07-05)
|
|
437
246
|
|
|
438
247
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
439
248
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
249
|
## [6.3.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.1...@pie-lib/math-input@6.3.2) (2019-07-02)
|
|
445
250
|
|
|
446
251
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
447
252
|
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
253
|
## [6.3.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.3.0...@pie-lib/math-input@6.3.1) (2019-06-17)
|
|
453
254
|
|
|
454
255
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
455
256
|
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
257
|
# [6.3.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.2.5...@pie-lib/math-input@6.3.0) (2019-06-12)
|
|
461
258
|
|
|
462
|
-
|
|
463
259
|
### Features
|
|
464
260
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
261
|
+
- version bumps ([23eb54f](https://github.com/pie-framework/pie-lib/commit/23eb54f))
|
|
470
262
|
|
|
471
263
|
## [6.2.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.2.4...@pie-lib/math-input@6.2.5) (2019-06-05)
|
|
472
264
|
|
|
473
265
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
474
266
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
267
|
## [6.2.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.2.3...@pie-lib/math-input@6.2.4) (2019-05-14)
|
|
480
268
|
|
|
481
269
|
**Note:** Version bump only for package @pie-lib/math-input
|
package/lib/horizontal-keypad.js
CHANGED
|
@@ -96,7 +96,8 @@ function (_React$Component) {
|
|
|
96
96
|
onFocus: onFocus,
|
|
97
97
|
noDecimal: noDecimal,
|
|
98
98
|
additionalKeys: (0, _utils.extendKeySet)((0, _grades.keysForGrade)(mode), normalizedKeys),
|
|
99
|
-
onPress: this.keypadPress
|
|
99
|
+
onPress: this.keypadPress,
|
|
100
|
+
mode: mode
|
|
100
101
|
});
|
|
101
102
|
}
|
|
102
103
|
}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/horizontal-keypad.jsx"],"names":["toOldModel","d","command","value","type","write","keystroke","HorizontalKeypad","data","onClick","props","mode","onFocus","noDecimal","className","additionalKeys","normalizedKeys","keypadPress","React","Component","PropTypes","string","oneOfType","number","func","isRequired","bool","array"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAAAC,CAAC,EAAI;AACtB,MAAIA,CAAC,CAACC,OAAN,EAAe;AACb,WAAO;AAAEC,MAAAA,KAAK,EAAEF,CAAC,CAACC,OAAX;AAAoBE,MAAAA,IAAI,EAAE;AAA1B,KAAP;AACD,GAFD,MAEO,IAAIH,CAAC,CAACI,KAAN,EAAa;AAClB,WAAO;AAAEF,MAAAA,KAAK,EAAEF,CAAC,CAACI;AAAX,KAAP;AACD,GAFM,MAEA,IAAIJ,CAAC,CAACK,SAAN,EAAiB;AACtB,WAAO;AAAEF,MAAAA,IAAI,EAAE,QAAR;AAAkBD,MAAAA,KAAK,EAAEF,CAAC,CAACK;AAA3B,KAAP;AACD;AACF,CARD;;IAUqBC,gB;;;;;;;;;;;;;;;;;;kEAgBL,UAAAC,IAAI,EAAI;AAAA,UACZC,OADY,GACA,MAAKC,KADL,CACZD,OADY;AAGpBA,MAAAA,OAAO,CAACT,UAAU,CAACQ,IAAD,CAAX,CAAP;AACD,K;;;;;;;6BAEQ;AAAA,wBACyD,KAAKE,KAD9D;AAAA,UACCC,IADD,eACCA,IADD;AAAA,UACOC,OADP,eACOA,OADP;AAAA,UACgBC,SADhB,eACgBA,SADhB;AAAA,UAC2BC,SAD3B,eAC2BA,SAD3B;AAAA,UACsCC,cADtC,eACsCA,cADtC;AAEP,UAAMC,cAAc,GAAG,qCAAwBD,cAAxB,CAAvB;AAEA,aACE,gCAAC,kBAAD;AACE,QAAA,SAAS,EAAED,SADb;AAEE,QAAA,OAAO,EAAEF,OAFX;AAGE,QAAA,SAAS,EAAEC,SAHb;AAIE,QAAA,cAAc,EAAE,yBAAa,0BAAaF,IAAb,CAAb,EAAiCK,cAAjC,CAJlB;AAKE,QAAA,OAAO,EAAE,KAAKC;
|
|
1
|
+
{"version":3,"sources":["../src/horizontal-keypad.jsx"],"names":["toOldModel","d","command","value","type","write","keystroke","HorizontalKeypad","data","onClick","props","mode","onFocus","noDecimal","className","additionalKeys","normalizedKeys","keypadPress","React","Component","PropTypes","string","oneOfType","number","func","isRequired","bool","array"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAAAC,CAAC,EAAI;AACtB,MAAIA,CAAC,CAACC,OAAN,EAAe;AACb,WAAO;AAAEC,MAAAA,KAAK,EAAEF,CAAC,CAACC,OAAX;AAAoBE,MAAAA,IAAI,EAAE;AAA1B,KAAP;AACD,GAFD,MAEO,IAAIH,CAAC,CAACI,KAAN,EAAa;AAClB,WAAO;AAAEF,MAAAA,KAAK,EAAEF,CAAC,CAACI;AAAX,KAAP;AACD,GAFM,MAEA,IAAIJ,CAAC,CAACK,SAAN,EAAiB;AACtB,WAAO;AAAEF,MAAAA,IAAI,EAAE,QAAR;AAAkBD,MAAAA,KAAK,EAAEF,CAAC,CAACK;AAA3B,KAAP;AACD;AACF,CARD;;IAUqBC,gB;;;;;;;;;;;;;;;;;;kEAgBL,UAAAC,IAAI,EAAI;AAAA,UACZC,OADY,GACA,MAAKC,KADL,CACZD,OADY;AAGpBA,MAAAA,OAAO,CAACT,UAAU,CAACQ,IAAD,CAAX,CAAP;AACD,K;;;;;;;6BAEQ;AAAA,wBACyD,KAAKE,KAD9D;AAAA,UACCC,IADD,eACCA,IADD;AAAA,UACOC,OADP,eACOA,OADP;AAAA,UACgBC,SADhB,eACgBA,SADhB;AAAA,UAC2BC,SAD3B,eAC2BA,SAD3B;AAAA,UACsCC,cADtC,eACsCA,cADtC;AAEP,UAAMC,cAAc,GAAG,qCAAwBD,cAAxB,CAAvB;AAEA,aACE,gCAAC,kBAAD;AACE,QAAA,SAAS,EAAED,SADb;AAEE,QAAA,OAAO,EAAEF,OAFX;AAGE,QAAA,SAAS,EAAEC,SAHb;AAIE,QAAA,cAAc,EAAE,yBAAa,0BAAaF,IAAb,CAAb,EAAiCK,cAAjC,CAJlB;AAKE,QAAA,OAAO,EAAE,KAAKC,WALhB;AAME,QAAA,IAAI,EAAEN;AANR,QADF;AAUD;;;;EApC2CO,kBAAMC,S;;;;gBAA/BZ,gB,eACA;AACjBO,EAAAA,SAAS,EAAEM,sBAAUC,MADJ;AAEjBV,EAAAA,IAAI,EAAES,sBAAUE,SAAV,CAAoB,CAACF,sBAAUC,MAAX,EAAmBD,sBAAUG,MAA7B,CAApB,CAFW;AAGjBd,EAAAA,OAAO,EAAEW,sBAAUI,IAAV,CAAeC,UAHP;AAIjBb,EAAAA,OAAO,EAAEQ,sBAAUI,IAJF;AAKjBX,EAAAA,SAAS,EAAEO,sBAAUM,IALJ;AAMjBX,EAAAA,cAAc,EAAEK,sBAAUO;AANT,C;;gBADApB,gB,kBAUG;AACpBI,EAAAA,IAAI,EAAE,YADc;AAEpBE,EAAAA,SAAS,EAAE,KAFS;AAGpBE,EAAAA,cAAc,EAAE;AAHI,C","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { keysForGrade, normalizeAdditionalKeys } from './keys/grades';\nimport { extendKeySet } from './keys/utils';\nimport Keypad from './keypad';\n\nconst toOldModel = d => {\n if (d.command) {\n return { value: d.command, type: 'command' };\n } else if (d.write) {\n return { value: d.write };\n } else if (d.keystroke) {\n return { type: 'cursor', value: d.keystroke };\n }\n};\n\nexport default class HorizontalKeypad extends React.Component {\n static propTypes = {\n className: PropTypes.string,\n mode: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n onClick: PropTypes.func.isRequired,\n onFocus: PropTypes.func,\n noDecimal: PropTypes.bool,\n additionalKeys: PropTypes.array\n };\n\n static defaultProps = {\n mode: 'scientific',\n noDecimal: false,\n additionalKeys: []\n };\n\n keypadPress = data => {\n const { onClick } = this.props;\n\n onClick(toOldModel(data));\n };\n\n render() {\n const { mode, onFocus, noDecimal, className, additionalKeys } = this.props;\n const normalizedKeys = normalizeAdditionalKeys(additionalKeys);\n\n return (\n <Keypad\n className={className}\n onFocus={onFocus}\n noDecimal={noDecimal}\n additionalKeys={extendKeySet(keysForGrade(mode), normalizedKeys)}\n onPress={this.keypadPress}\n mode={mode}\n />\n );\n }\n}\n"],"file":"horizontal-keypad.js"}
|