@khanacademy/perseus 19.1.5 → 19.1.7

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.
Files changed (489) hide show
  1. package/dist/components/graph.d.ts +0 -1
  2. package/dist/components/graphie.d.ts +0 -1
  3. package/dist/es/index.js +319 -212
  4. package/dist/es/index.js.map +1 -1
  5. package/dist/index.js +338 -222
  6. package/dist/index.js.map +1 -1
  7. package/dist/interactive2/movable-point.d.ts +195 -1
  8. package/dist/interactive2/movable.d.ts +1 -1
  9. package/dist/interactive2/types.d.ts +4 -2
  10. package/dist/interactive2.d.ts +2 -1
  11. package/dist/server-item-renderer.d.ts +2 -2
  12. package/dist/util/graphie.d.ts +12 -2
  13. package/dist/widgets/expression.d.ts +6 -6
  14. package/package.json +11 -8
  15. package/.babelrc.js +0 -8
  16. package/.eslintrc.js +0 -12
  17. package/CHANGELOG.md +0 -1432
  18. package/src/__stories__/article-renderer.stories.tsx +0 -100
  19. package/src/__stories__/hints-renderer.stories.tsx +0 -55
  20. package/src/__stories__/server-item-renderer.stories.tsx +0 -44
  21. package/src/__testdata__/article-renderer.testdata.ts +0 -212
  22. package/src/__testdata__/graphie.testdata.ts +0 -51
  23. package/src/__testdata__/renderer.testdata.ts +0 -274
  24. package/src/__testdata__/server-item-renderer.testdata.ts +0 -171
  25. package/src/__tests__/__snapshots__/perseus-markdown.test.ts.snap +0 -507
  26. package/src/__tests__/__snapshots__/renderer.test.tsx.snap +0 -525
  27. package/src/__tests__/__snapshots__/server-item-renderer.test.tsx.snap +0 -285
  28. package/src/__tests__/a11y.test.ts +0 -303
  29. package/src/__tests__/article-renderer.test.tsx +0 -130
  30. package/src/__tests__/error-boundary.test.tsx +0 -76
  31. package/src/__tests__/extract-perseus-data.test.ts +0 -1027
  32. package/src/__tests__/init.test.ts +0 -10
  33. package/src/__tests__/jipt-paragraphs.test.ts +0 -32
  34. package/src/__tests__/mock-asset-loading-widget.tsx +0 -53
  35. package/src/__tests__/mock-widget.tsx +0 -33
  36. package/src/__tests__/perseus-markdown.test.ts +0 -764
  37. package/src/__tests__/renderability.test.ts +0 -480
  38. package/src/__tests__/renderer-api.test.tsx +0 -302
  39. package/src/__tests__/renderer.test.tsx +0 -1816
  40. package/src/__tests__/server-item-renderer.test.tsx +0 -582
  41. package/src/__tests__/test-items/image-item.ts +0 -24
  42. package/src/__tests__/test-items/input-number-1-item.ts +0 -26
  43. package/src/__tests__/test-items/input-number-2-item.ts +0 -38
  44. package/src/__tests__/test-items/table-item.ts +0 -29
  45. package/src/__tests__/tex-wrangler.test.ts +0 -82
  46. package/src/__tests__/util.test.ts +0 -40
  47. package/src/__tests__/widget-container.test.tsx +0 -126
  48. package/src/__tests__/widgets.test.ts +0 -91
  49. package/src/a11y.ts +0 -45
  50. package/src/all-widgets.ts +0 -9
  51. package/src/article-renderer.tsx +0 -237
  52. package/src/asset-context.ts +0 -30
  53. package/src/basic-widgets.ts +0 -16
  54. package/src/components/__stories__/button-group.stories.tsx +0 -55
  55. package/src/components/__stories__/fixed-to-responsive.stories.tsx +0 -141
  56. package/src/components/__stories__/graph.stories.tsx +0 -28
  57. package/src/components/__stories__/graphie.stories.tsx +0 -33
  58. package/src/components/__stories__/hud.stories.tsx +0 -35
  59. package/src/components/__stories__/icon.stories.tsx +0 -63
  60. package/src/components/__stories__/image-loader.stories.tsx +0 -63
  61. package/src/components/__stories__/info-tip.stories.tsx +0 -31
  62. package/src/components/__stories__/inline-icon.stories.tsx +0 -40
  63. package/src/components/__stories__/input-with-examples.stories.tsx +0 -53
  64. package/src/components/__stories__/lint.stories.tsx +0 -86
  65. package/src/components/__stories__/math-input.stories.tsx +0 -43
  66. package/src/components/__stories__/math-output.stories.tsx +0 -23
  67. package/src/components/__stories__/multi-button-group.stories.tsx +0 -66
  68. package/src/components/__stories__/number-input.stories.tsx +0 -41
  69. package/src/components/__stories__/prop-check-box.stories.tsx +0 -65
  70. package/src/components/__stories__/range-input.stories.tsx +0 -29
  71. package/src/components/__stories__/simple-keypad-input.stories.tsx +0 -27
  72. package/src/components/__stories__/sortable.stories.tsx +0 -77
  73. package/src/components/__stories__/stub-tag-editor.stories.tsx +0 -45
  74. package/src/components/__stories__/svg-image.stories.tsx +0 -74
  75. package/src/components/__stories__/tex.stories.tsx +0 -23
  76. package/src/components/__stories__/text-input.stories.tsx +0 -33
  77. package/src/components/__stories__/text-list-editor.stories.tsx +0 -32
  78. package/src/components/__stories__/tooltip.stories.tsx +0 -52
  79. package/src/components/__stories__/zoomable-tex.stories.tsx +0 -41
  80. package/src/components/__stories__/zoomable.stories.tsx +0 -49
  81. package/src/components/__testdata__/sorter.testdata.ts +0 -19
  82. package/src/components/__tests__/__snapshots__/sortable.test.tsx.snap +0 -163
  83. package/src/components/__tests__/__snapshots__/sorter.test.tsx.snap +0 -265
  84. package/src/components/__tests__/math-input.test.tsx +0 -147
  85. package/src/components/__tests__/number-input.test.tsx +0 -128
  86. package/src/components/__tests__/sortable.test.tsx +0 -269
  87. package/src/components/__tests__/sorter.test.tsx +0 -114
  88. package/src/components/__tests__/zoomable.test.tsx +0 -399
  89. package/src/components/button-group.tsx +0 -130
  90. package/src/components/constants.ts +0 -14
  91. package/src/components/fixed-to-responsive.tsx +0 -169
  92. package/src/components/graph.tsx +0 -444
  93. package/src/components/graphie-classes.ts +0 -153
  94. package/src/components/graphie-movables.ts +0 -338
  95. package/src/components/graphie.tsx +0 -400
  96. package/src/components/highlighting/highlightable-content.tsx +0 -240
  97. package/src/components/highlighting/highlights.ts +0 -207
  98. package/src/components/highlighting/ranges.ts +0 -304
  99. package/src/components/highlighting/types.ts +0 -73
  100. package/src/components/highlighting/ui/highlight-renderer.tsx +0 -172
  101. package/src/components/highlighting/ui/highlight-set-renderer.tsx +0 -185
  102. package/src/components/highlighting/ui/highlight-tooltip.tsx +0 -141
  103. package/src/components/highlighting/ui/highlighting-ui.tsx +0 -143
  104. package/src/components/highlighting/ui/selection-tracker.tsx +0 -186
  105. package/src/components/highlighting/ui/types.ts +0 -21
  106. package/src/components/highlighting/ui/util.ts +0 -165
  107. package/src/components/highlighting/word-indexer.tsx +0 -152
  108. package/src/components/hud.tsx +0 -167
  109. package/src/components/icon.tsx +0 -141
  110. package/src/components/image-loader.tsx +0 -177
  111. package/src/components/info-tip/info-tip.tsx +0 -144
  112. package/src/components/info-tip.tsx +0 -39
  113. package/src/components/inline-icon.tsx +0 -60
  114. package/src/components/input-with-examples.tsx +0 -249
  115. package/src/components/lint.tsx +0 -459
  116. package/src/components/math-input.tsx +0 -474
  117. package/src/components/math-output.tsx +0 -134
  118. package/src/components/multi-button-group.tsx +0 -135
  119. package/src/components/number-input.tsx +0 -249
  120. package/src/components/prop-check-box.tsx +0 -79
  121. package/src/components/range-input.tsx +0 -60
  122. package/src/components/simple-keypad-input.tsx +0 -88
  123. package/src/components/sortable.tsx +0 -958
  124. package/src/components/stub-tag-editor.tsx +0 -53
  125. package/src/components/svg-image.tsx +0 -779
  126. package/src/components/tex.tsx +0 -67
  127. package/src/components/text-input.tsx +0 -129
  128. package/src/components/text-list-editor.tsx +0 -166
  129. package/src/components/tooltip.tsx +0 -410
  130. package/src/components/visibility-observer/__stories__/visibility-observer.stories.tsx +0 -141
  131. package/src/components/visibility-observer/create-visibility-observer.ts +0 -108
  132. package/src/components/visibility-observer/get-scroll-parent.ts +0 -46
  133. package/src/components/visibility-observer/visibility-observer.tsx +0 -124
  134. package/src/components/zoomable-tex.tsx +0 -78
  135. package/src/components/zoomable.tsx +0 -304
  136. package/src/components.ts +0 -15
  137. package/src/definition-context.tsx +0 -59
  138. package/src/dependencies.ts +0 -40
  139. package/src/error-boundary.tsx +0 -70
  140. package/src/extra-widgets.ts +0 -75
  141. package/src/hint-renderer.tsx +0 -151
  142. package/src/hints-renderer.tsx +0 -372
  143. package/src/icon-paths.ts +0 -119
  144. package/src/index.ts +0 -171
  145. package/src/init.ts +0 -56
  146. package/src/interaction-tracker.ts +0 -62
  147. package/src/interactive2/__tests__/movable-mock.ts +0 -55
  148. package/src/interactive2/__tests__/movable-point.test.ts +0 -144
  149. package/src/interactive2/interactive-util.test.ts +0 -93
  150. package/src/interactive2/interactive-util.ts +0 -159
  151. package/src/interactive2/movable-helper-methods.ts +0 -166
  152. package/src/interactive2/movable-line-options.ts +0 -419
  153. package/src/interactive2/movable-line.ts +0 -307
  154. package/src/interactive2/movable-point-options.ts +0 -224
  155. package/src/interactive2/movable-point.tsx +0 -585
  156. package/src/interactive2/movable-polygon-options.ts +0 -389
  157. package/src/interactive2/movable-polygon.ts +0 -360
  158. package/src/interactive2/movable.test.ts +0 -249
  159. package/src/interactive2/movable.ts +0 -437
  160. package/src/interactive2/objective_.ts +0 -79
  161. package/src/interactive2/types.ts +0 -17
  162. package/src/interactive2/wrapped-defaults.ts +0 -87
  163. package/src/interactive2/wrapped-ellipse.ts +0 -94
  164. package/src/interactive2/wrapped-line.ts +0 -116
  165. package/src/interactive2/wrapped-path.ts +0 -51
  166. package/src/interactive2.ts +0 -70
  167. package/src/item-version.ts +0 -10
  168. package/src/jipt-paragraphs.ts +0 -49
  169. package/src/jquery.mobile.vmouse.js +0 -545
  170. package/src/loading-context.ts +0 -21
  171. package/src/logging/log.test.ts +0 -39
  172. package/src/logging/log.ts +0 -97
  173. package/src/mixins/__tests__/widget-prop-denylist.test.ts +0 -21
  174. package/src/mixins/changeable.ts +0 -133
  175. package/src/mixins/editor-jsonify.ts +0 -13
  176. package/src/mixins/widget-jsonify-deprecated.ts +0 -23
  177. package/src/mixins/widget-prop-denylist.ts +0 -48
  178. package/src/multi-items/__stories__/multi-renderer.stories.tsx +0 -83
  179. package/src/multi-items/__testdata__/multi-renderer.testdata.ts +0 -172
  180. package/src/multi-items/__tests__/__snapshots__/multi-renderer.test.tsx.snap +0 -1164
  181. package/src/multi-items/__tests__/items.test.ts +0 -240
  182. package/src/multi-items/__tests__/multi-renderer.test.tsx +0 -914
  183. package/src/multi-items/__tests__/prop-type-builders.test.ts +0 -133
  184. package/src/multi-items/__tests__/shapes.test.ts +0 -43
  185. package/src/multi-items/__tests__/trees.test.ts +0 -317
  186. package/src/multi-items/item-types.ts +0 -56
  187. package/src/multi-items/items.ts +0 -176
  188. package/src/multi-items/multi-renderer.tsx +0 -569
  189. package/src/multi-items/prop-type-builders.ts +0 -106
  190. package/src/multi-items/shape-types.ts +0 -52
  191. package/src/multi-items/shapes.ts +0 -52
  192. package/src/multi-items/tree-types.ts +0 -47
  193. package/src/multi-items/trees.ts +0 -360
  194. package/src/multi-items.ts +0 -75
  195. package/src/perseus-api.tsx +0 -188
  196. package/src/perseus-env.ts +0 -27
  197. package/src/perseus-error.ts +0 -17
  198. package/src/perseus-markdown.tsx +0 -405
  199. package/src/perseus-types.ts +0 -1366
  200. package/src/perseus-version.ts +0 -9
  201. package/src/question-paragraph.tsx +0 -34
  202. package/src/renderability.ts +0 -109
  203. package/src/renderer.tsx +0 -2000
  204. package/src/server-item-renderer.tsx +0 -495
  205. package/src/sigfigs.ts +0 -490
  206. package/src/styles/articles.less +0 -749
  207. package/src/styles/constants.ts +0 -94
  208. package/src/styles/global-constants.ts +0 -343
  209. package/src/styles/global-styles.ts +0 -306
  210. package/src/styles/khan-exercise.css +0 -1468
  211. package/src/styles/media-queries.ts +0 -47
  212. package/src/styles/perseus-renderer.less +0 -732
  213. package/src/styles/shared.ts +0 -130
  214. package/src/styles/util.less +0 -47
  215. package/src/styles/variables.boostrap.less +0 -277
  216. package/src/styles/variables.less +0 -56
  217. package/src/styles/variables.shared.less +0 -340
  218. package/src/styles/widgets/categorizer.less +0 -38
  219. package/src/styles/widgets/dropdown.less +0 -3
  220. package/src/styles/widgets/expression.less +0 -65
  221. package/src/styles/widgets/graded-group.less +0 -36
  222. package/src/styles/widgets/grapher.less +0 -12
  223. package/src/styles/widgets/group.less +0 -19
  224. package/src/styles/widgets/image.less +0 -54
  225. package/src/styles/widgets/interactive-graph.less +0 -64
  226. package/src/styles/widgets/label-image.less +0 -57
  227. package/src/styles/widgets/matcher.less +0 -8
  228. package/src/styles/widgets/matrix.less +0 -126
  229. package/src/styles/widgets/measurer.less +0 -20
  230. package/src/styles/widgets/orderer.less +0 -98
  231. package/src/styles/widgets/passage.less +0 -154
  232. package/src/styles/widgets/plotter.less +0 -31
  233. package/src/styles/widgets/radio.less +0 -58
  234. package/src/styles/widgets/reaction-diagram.less +0 -35
  235. package/src/styles/widgets/sequence.less +0 -5
  236. package/src/styles/widgets/sortable.less +0 -113
  237. package/src/styles/widgets/table.less +0 -57
  238. package/src/styles/widgets/unit.less +0 -15
  239. package/src/tex-wrangler.ts +0 -182
  240. package/src/translation-linter.ts +0 -126
  241. package/src/traversal.ts +0 -138
  242. package/src/types.ts +0 -513
  243. package/src/util/a11y.ts +0 -23
  244. package/src/util/answer-types.test.ts +0 -114
  245. package/src/util/answer-types.ts +0 -876
  246. package/src/util/colors.ts +0 -93
  247. package/src/util/drawing-transform.test.ts +0 -67
  248. package/src/util/drawing-transform.ts +0 -102
  249. package/src/util/extract-perseus-data.ts +0 -539
  250. package/src/util/fix-passage-refs.ts +0 -121
  251. package/src/util/geometry.test.ts +0 -75
  252. package/src/util/geometry.ts +0 -312
  253. package/src/util/graph-bounds.ts +0 -23
  254. package/src/util/graph-utils.ts +0 -15
  255. package/src/util/graphie.test.ts +0 -1277
  256. package/src/util/graphie.ts +0 -1576
  257. package/src/util/interactive.ts +0 -4174
  258. package/src/util/interval.ts +0 -4
  259. package/src/util/katex-preprocess.ts +0 -14
  260. package/src/util/math.test.ts +0 -11
  261. package/src/util/math.ts +0 -294
  262. package/src/util/mobile-native-utils.test.ts +0 -22
  263. package/src/util/mobile-native-utils.ts +0 -12
  264. package/src/util/parse-perseus-json.test.ts +0 -10
  265. package/src/util/parse-perseus-json.ts +0 -13
  266. package/src/util/react-render.tsx +0 -27
  267. package/src/util/register-all-widgets-for-testing.ts +0 -13
  268. package/src/util/scroll-utils.ts +0 -155
  269. package/src/util/sizing-utils.ts +0 -46
  270. package/src/util/tex.ts +0 -73
  271. package/src/util/url-utils.ts +0 -34
  272. package/src/util.graphie.test.ts +0 -45
  273. package/src/util.graphie.ts +0 -59
  274. package/src/util.ts +0 -966
  275. package/src/version.ts +0 -10
  276. package/src/widget-container.tsx +0 -199
  277. package/src/widgets/__stories__/categorizer.stories.tsx +0 -14
  278. package/src/widgets/__stories__/cs-program.stories.tsx +0 -14
  279. package/src/widgets/__stories__/definition.stories.tsx +0 -114
  280. package/src/widgets/__stories__/dropdown.stories.tsx +0 -14
  281. package/src/widgets/__stories__/explanation.stories.tsx +0 -18
  282. package/src/widgets/__stories__/expression.stories.tsx +0 -145
  283. package/src/widgets/__stories__/graded-group-set.stories.tsx +0 -31
  284. package/src/widgets/__stories__/graded-group.stories.tsx +0 -31
  285. package/src/widgets/__stories__/grapher.stories.tsx +0 -46
  286. package/src/widgets/__stories__/group.stories.tsx +0 -14
  287. package/src/widgets/__stories__/iframe.stories.tsx +0 -14
  288. package/src/widgets/__stories__/image.stories.tsx +0 -85
  289. package/src/widgets/__stories__/input-number.stories.tsx +0 -101
  290. package/src/widgets/__stories__/interaction.stories.tsx +0 -14
  291. package/src/widgets/__stories__/interactive-graph.stories.tsx +0 -60
  292. package/src/widgets/__stories__/label-image.stories.tsx +0 -130
  293. package/src/widgets/__stories__/matcher.stories.tsx +0 -14
  294. package/src/widgets/__stories__/matrix.stories.tsx +0 -14
  295. package/src/widgets/__stories__/number-line.stories.tsx +0 -14
  296. package/src/widgets/__stories__/numeric-input.stories.tsx +0 -105
  297. package/src/widgets/__stories__/orderer.stories.tsx +0 -18
  298. package/src/widgets/__stories__/passage-ref.stories.tsx +0 -33
  299. package/src/widgets/__stories__/passage.stories.tsx +0 -39
  300. package/src/widgets/__stories__/plotter.stories.tsx +0 -27
  301. package/src/widgets/__stories__/radio.stories.tsx +0 -86
  302. package/src/widgets/__stories__/random-widgets.stories.tsx +0 -59
  303. package/src/widgets/__stories__/sorter.stories.tsx +0 -14
  304. package/src/widgets/__stories__/test-keypad-context-wrapper.tsx +0 -66
  305. package/src/widgets/__stories__/unit.stories.tsx +0 -28
  306. package/src/widgets/__stories__/video-transcript-link.stories.tsx +0 -23
  307. package/src/widgets/__stories__/video.stories.tsx +0 -22
  308. package/src/widgets/__testdata__/base-radio.testdata.ts +0 -21
  309. package/src/widgets/__testdata__/categorizer.testdata.ts +0 -89
  310. package/src/widgets/__testdata__/cs-program.testdata.ts +0 -27
  311. package/src/widgets/__testdata__/dropdown.testdata.ts +0 -71
  312. package/src/widgets/__testdata__/explanation.testdata.ts +0 -85
  313. package/src/widgets/__testdata__/expression.testdata.ts +0 -198
  314. package/src/widgets/__testdata__/graded-group-set.testdata.ts +0 -356
  315. package/src/widgets/__testdata__/graded-group.testdata.ts +0 -77
  316. package/src/widgets/__testdata__/grapher.testdata.ts +0 -374
  317. package/src/widgets/__testdata__/group.testdata.ts +0 -153
  318. package/src/widgets/__testdata__/iframe.testdata.ts +0 -35
  319. package/src/widgets/__testdata__/image.testdata.ts +0 -36
  320. package/src/widgets/__testdata__/input-number.testdata.ts +0 -72
  321. package/src/widgets/__testdata__/interaction.testdata.ts +0 -262
  322. package/src/widgets/__testdata__/interactive-graph-random.testdata.ts +0 -269
  323. package/src/widgets/__testdata__/interactive-graph.testdata.ts +0 -644
  324. package/src/widgets/__testdata__/label-image.testdata.ts +0 -308
  325. package/src/widgets/__testdata__/matcher.testdata.ts +0 -33
  326. package/src/widgets/__testdata__/matrix.testdata.ts +0 -28
  327. package/src/widgets/__testdata__/number-line.testdata.ts +0 -30
  328. package/src/widgets/__testdata__/numeric-input.testdata.ts +0 -265
  329. package/src/widgets/__testdata__/orderer.testdata.ts +0 -123
  330. package/src/widgets/__testdata__/passage-ref.testdata.ts +0 -101
  331. package/src/widgets/__testdata__/passage.testdata.ts +0 -95
  332. package/src/widgets/__testdata__/plotter.testdata.ts +0 -36
  333. package/src/widgets/__testdata__/radio.testdata.ts +0 -324
  334. package/src/widgets/__testdata__/randomizers.ts +0 -51
  335. package/src/widgets/__testdata__/sorter.testdata.ts +0 -19
  336. package/src/widgets/__testdata__/video.testdata.ts +0 -61
  337. package/src/widgets/__tests__/__snapshots__/categorizer.test.ts.snap +0 -940
  338. package/src/widgets/__tests__/__snapshots__/cs-program.test.ts.snap +0 -67
  339. package/src/widgets/__tests__/__snapshots__/definition.test.ts.snap +0 -97
  340. package/src/widgets/__tests__/__snapshots__/dropdown.test.ts.snap +0 -133
  341. package/src/widgets/__tests__/__snapshots__/explanation.test.ts.snap +0 -425
  342. package/src/widgets/__tests__/__snapshots__/graded-group-set-jipt.test.ts.snap +0 -729
  343. package/src/widgets/__tests__/__snapshots__/graded-group-set.test.ts.snap +0 -339
  344. package/src/widgets/__tests__/__snapshots__/graded-group.test.ts.snap +0 -801
  345. package/src/widgets/__tests__/__snapshots__/grapher.test.ts.snap +0 -2673
  346. package/src/widgets/__tests__/__snapshots__/group.test.tsx.snap +0 -1211
  347. package/src/widgets/__tests__/__snapshots__/iframe.test.ts.snap +0 -61
  348. package/src/widgets/__tests__/__snapshots__/image.test.ts.snap +0 -378
  349. package/src/widgets/__tests__/__snapshots__/input-number.test.ts.snap +0 -495
  350. package/src/widgets/__tests__/__snapshots__/interaction.test.ts.snap +0 -292
  351. package/src/widgets/__tests__/__snapshots__/interactive-graph.test.ts.snap +0 -2889
  352. package/src/widgets/__tests__/__snapshots__/matcher.test.tsx.snap +0 -883
  353. package/src/widgets/__tests__/__snapshots__/matrix.test.ts.snap +0 -514
  354. package/src/widgets/__tests__/__snapshots__/number-line.test.ts.snap +0 -814
  355. package/src/widgets/__tests__/__snapshots__/numeric-input.test.ts.snap +0 -470
  356. package/src/widgets/__tests__/__snapshots__/orderer.test.ts.snap +0 -243
  357. package/src/widgets/__tests__/__snapshots__/passage-ref.test.ts.snap +0 -434
  358. package/src/widgets/__tests__/__snapshots__/passage.test.tsx.snap +0 -1956
  359. package/src/widgets/__tests__/__snapshots__/plotter.test.tsx.snap +0 -827
  360. package/src/widgets/__tests__/__snapshots__/radio.test.ts.snap +0 -4237
  361. package/src/widgets/__tests__/__snapshots__/unit.test.tsx.snap +0 -20
  362. package/src/widgets/__tests__/__snapshots__/video.test.ts.snap +0 -153
  363. package/src/widgets/__tests__/categorizer.test.ts +0 -203
  364. package/src/widgets/__tests__/cs-program.test.ts +0 -43
  365. package/src/widgets/__tests__/definition.test.ts +0 -136
  366. package/src/widgets/__tests__/dropdown.test.ts +0 -105
  367. package/src/widgets/__tests__/explanation.test.ts +0 -198
  368. package/src/widgets/__tests__/expression-mobile.test.tsx +0 -363
  369. package/src/widgets/__tests__/expression.test.tsx +0 -484
  370. package/src/widgets/__tests__/graded-group-set-jipt.test.ts +0 -30
  371. package/src/widgets/__tests__/graded-group-set.test.ts +0 -288
  372. package/src/widgets/__tests__/graded-group.test.ts +0 -232
  373. package/src/widgets/__tests__/grapher.cypress.ts +0 -576
  374. package/src/widgets/__tests__/grapher.test.ts +0 -33
  375. package/src/widgets/__tests__/group.test.tsx +0 -510
  376. package/src/widgets/__tests__/iframe.test.ts +0 -45
  377. package/src/widgets/__tests__/image.test.ts +0 -62
  378. package/src/widgets/__tests__/input-number.test.ts +0 -354
  379. package/src/widgets/__tests__/interaction.test.ts +0 -31
  380. package/src/widgets/__tests__/interactive-graph.cypress.ts +0 -815
  381. package/src/widgets/__tests__/interactive-graph.test.ts +0 -106
  382. package/src/widgets/__tests__/matcher.test.tsx +0 -176
  383. package/src/widgets/__tests__/matrix.test.ts +0 -82
  384. package/src/widgets/__tests__/number-line.test.ts +0 -79
  385. package/src/widgets/__tests__/numeric-input.test.ts +0 -575
  386. package/src/widgets/__tests__/orderer.test.ts +0 -73
  387. package/src/widgets/__tests__/passage-ref.test.ts +0 -168
  388. package/src/widgets/__tests__/passage.test.tsx +0 -224
  389. package/src/widgets/__tests__/plotter.test.tsx +0 -69
  390. package/src/widgets/__tests__/radio/base-radio.test.tsx +0 -470
  391. package/src/widgets/__tests__/radio/choice-icon.test.tsx +0 -90
  392. package/src/widgets/__tests__/radio/choice.test.tsx +0 -310
  393. package/src/widgets/__tests__/radio/focus-ring.test.tsx +0 -22
  394. package/src/widgets/__tests__/radio/option-status.test.tsx +0 -77
  395. package/src/widgets/__tests__/radio.test.ts +0 -807
  396. package/src/widgets/__tests__/randomizers.test.ts +0 -53
  397. package/src/widgets/__tests__/renderQuestion.tsx +0 -101
  398. package/src/widgets/__tests__/unit.test.tsx +0 -168
  399. package/src/widgets/__tests__/video.test.ts +0 -69
  400. package/src/widgets/categorizer.tsx +0 -344
  401. package/src/widgets/cs-program.tsx +0 -227
  402. package/src/widgets/definition.tsx +0 -121
  403. package/src/widgets/deprecated-standin/__stories__/deprecated-standin.stories.tsx +0 -30
  404. package/src/widgets/deprecated-standin/__tests__/__snapshots__/deprecated-standin.test.ts.snap +0 -70
  405. package/src/widgets/deprecated-standin/__tests__/deprecated-standin.test.ts +0 -93
  406. package/src/widgets/deprecated-standin/index.tsx +0 -58
  407. package/src/widgets/dropdown.tsx +0 -142
  408. package/src/widgets/explanation.tsx +0 -317
  409. package/src/widgets/expression.tsx +0 -707
  410. package/src/widgets/graded-group-answer-bar.tsx +0 -142
  411. package/src/widgets/graded-group-set.tsx +0 -338
  412. package/src/widgets/graded-group.tsx +0 -471
  413. package/src/widgets/grapher/util.tsx +0 -799
  414. package/src/widgets/grapher.tsx +0 -660
  415. package/src/widgets/group.tsx +0 -195
  416. package/src/widgets/iframe.tsx +0 -195
  417. package/src/widgets/image.tsx +0 -312
  418. package/src/widgets/input-number.tsx +0 -412
  419. package/src/widgets/interaction/arrow-picker.tsx +0 -38
  420. package/src/widgets/interaction/color-picker.tsx +0 -69
  421. package/src/widgets/interaction/dash-picker.tsx +0 -45
  422. package/src/widgets/interaction/element-container.tsx +0 -100
  423. package/src/widgets/interaction.tsx +0 -826
  424. package/src/widgets/interactive-graph.tsx +0 -2597
  425. package/src/widgets/label-image/__stories__/answer-choices.stories.tsx +0 -91
  426. package/src/widgets/label-image/__stories__/answer-pill.stories.tsx +0 -62
  427. package/src/widgets/label-image/__stories__/marker.stories.tsx +0 -171
  428. package/src/widgets/label-image/__tests__/answer-pill.test.tsx +0 -75
  429. package/src/widgets/label-image/__tests__/hide-answers-toggle.test.tsx +0 -39
  430. package/src/widgets/label-image/answer-choices.tsx +0 -88
  431. package/src/widgets/label-image/answer-pill.tsx +0 -103
  432. package/src/widgets/label-image/hide-answers-toggle.tsx +0 -40
  433. package/src/widgets/label-image/marker.tsx +0 -268
  434. package/src/widgets/label-image/strings.ts +0 -5
  435. package/src/widgets/label-image/types.ts +0 -27
  436. package/src/widgets/label-image.test.ts +0 -928
  437. package/src/widgets/label-image.tsx +0 -819
  438. package/src/widgets/lights-puzzle.tsx +0 -359
  439. package/src/widgets/matcher.tsx +0 -298
  440. package/src/widgets/matrix.tsx +0 -634
  441. package/src/widgets/measurer.tsx +0 -222
  442. package/src/widgets/molecule/__tests__/layout.test.ts +0 -162
  443. package/src/widgets/molecule/__tests__/parser.test.ts +0 -155
  444. package/src/widgets/molecule/molecule-drawing.ts +0 -173
  445. package/src/widgets/molecule/molecule-layout.ts +0 -362
  446. package/src/widgets/molecule/smiles-parser.ts +0 -296
  447. package/src/widgets/molecule.tsx +0 -172
  448. package/src/widgets/number-line.tsx +0 -862
  449. package/src/widgets/numeric-input.tsx +0 -576
  450. package/src/widgets/orderer.tsx +0 -786
  451. package/src/widgets/passage/__tests__/passage-markdown.test.ts +0 -376
  452. package/src/widgets/passage/passage-markdown.tsx +0 -475
  453. package/src/widgets/passage-ref-target.tsx +0 -76
  454. package/src/widgets/passage-ref.tsx +0 -213
  455. package/src/widgets/passage.tsx +0 -582
  456. package/src/widgets/plotter.tsx +0 -1194
  457. package/src/widgets/radio/__stories__/base-radio.stories.tsx +0 -196
  458. package/src/widgets/radio/__stories__/choice-icon.stories.tsx +0 -166
  459. package/src/widgets/radio/__stories__/choice-none-above.stories.tsx +0 -40
  460. package/src/widgets/radio/__stories__/choice.stories.tsx +0 -137
  461. package/src/widgets/radio/__stories__/focus-ring.stories.tsx +0 -43
  462. package/src/widgets/radio/__stories__/option-status.stories.tsx +0 -103
  463. package/src/widgets/radio/base-radio.tsx +0 -511
  464. package/src/widgets/radio/choice-a11y-text.ts +0 -61
  465. package/src/widgets/radio/choice-icon/choice-icon.tsx +0 -218
  466. package/src/widgets/radio/choice-icon/cross-out-line.tsx +0 -51
  467. package/src/widgets/radio/choice-icon/shared-styles.ts +0 -15
  468. package/src/widgets/radio/choice-none-above.tsx +0 -56
  469. package/src/widgets/radio/choice.jsx.fixture.ts +0 -45
  470. package/src/widgets/radio/choice.tsx +0 -359
  471. package/src/widgets/radio/focus-ring.tsx +0 -57
  472. package/src/widgets/radio/option-status.tsx +0 -98
  473. package/src/widgets/radio/util.test.ts +0 -18
  474. package/src/widgets/radio/util.ts +0 -31
  475. package/src/widgets/radio/widget.tsx +0 -520
  476. package/src/widgets/radio.ts +0 -157
  477. package/src/widgets/reaction-diagram.tsx +0 -144
  478. package/src/widgets/sequence.tsx +0 -142
  479. package/src/widgets/simulator.tsx +0 -829
  480. package/src/widgets/sorter.tsx +0 -155
  481. package/src/widgets/table.tsx +0 -393
  482. package/src/widgets/unit.tsx +0 -374
  483. package/src/widgets/video-transcript-link.test.tsx +0 -213
  484. package/src/widgets/video-transcript-link.tsx +0 -84
  485. package/src/widgets/video.tsx +0 -135
  486. package/src/widgets.ts +0 -489
  487. package/src/zoom.ts +0 -555
  488. package/tsconfig-build.json +0 -26
  489. package/tsconfig-build.tsbuildinfo +0 -1
package/CHANGELOG.md DELETED
@@ -1,1432 +0,0 @@
1
- # @khanacademy/perseus
2
-
3
- ## 19.1.5
4
-
5
- ### Patch Changes
6
-
7
- - [#964](https://github.com/Khan/perseus/pull/964) [`d8fbc251`](https://github.com/Khan/perseus/commit/d8fbc25170bd671ad984893553f79f44e3a0d048) Thanks [@benchristel](https://github.com/benchristel)! - Internal: Refactor Movable to be an ES6 class
8
-
9
- - Updated dependencies [[`d8fbc251`](https://github.com/Khan/perseus/commit/d8fbc25170bd671ad984893553f79f44e3a0d048), [`ba44dd40`](https://github.com/Khan/perseus/commit/ba44dd405272b066615099c8bd30033715305939)]:
10
- - @khanacademy/kmath@0.1.11
11
- - @khanacademy/math-input@17.0.4
12
-
13
- ## 19.1.4
14
-
15
- ### Patch Changes
16
-
17
- - [#958](https://github.com/Khan/perseus/pull/958) [`729b419a`](https://github.com/Khan/perseus/commit/729b419a5c31eaa6ac4da996a0683a2fdffc5997) Thanks [@benchristel](https://github.com/benchristel)! - Internal: Add tests for normalizeOptions function (used by Movable)
18
-
19
- * [#960](https://github.com/Khan/perseus/pull/960) [`ce0227c1`](https://github.com/Khan/perseus/commit/ce0227c1d7b432b6a9484c32542ddf23d27b1e95) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Add tests for Movable pseudo-class
20
-
21
- * Updated dependencies [[`a4a4dc44`](https://github.com/Khan/perseus/commit/a4a4dc447037eaea83423dc21a15076435c4b638)]:
22
- - @khanacademy/math-input@17.0.3
23
-
24
- ## 19.1.3
25
-
26
- ### Patch Changes
27
-
28
- - [#957](https://github.com/Khan/perseus/pull/957) [`19114138`](https://github.com/Khan/perseus/commit/1911413844b59ef87d5b2329f6120e4568be9ae3) Thanks [@nedredmond](https://github.com/nedredmond)! - Updated tests
29
-
30
- * [#952](https://github.com/Khan/perseus/pull/952) [`6bebefcb`](https://github.com/Khan/perseus/commit/6bebefcb4ce54c3ed0d57707c34d4399f763368f) Thanks [@nedredmond](https://github.com/nedredmond)! - Screenreader reads Label Image Widget answer pills
31
-
32
- - [#961](https://github.com/Khan/perseus/pull/961) [`03e1461f`](https://github.com/Khan/perseus/commit/03e1461fe16d5dd31fd1f6d11669126dce96f088) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Ensure the deprecated-standin widget replaces the transformer widget which is now removed
33
-
34
- - Updated dependencies [[`19114138`](https://github.com/Khan/perseus/commit/1911413844b59ef87d5b2329f6120e4568be9ae3)]:
35
- - @khanacademy/math-input@17.0.2
36
-
37
- ## 19.1.2
38
-
39
- ### Patch Changes
40
-
41
- - [#954](https://github.com/Khan/perseus/pull/954) [`43820ff9`](https://github.com/Khan/perseus/commit/43820ff9ce391682b951279a4c6fb9e3db966eb9) Thanks [@benchristel](https://github.com/benchristel)! - Internal: Fix @ts-expect-errors related to Graphie
42
-
43
- * [#956](https://github.com/Khan/perseus/pull/956) [`14e107f5`](https://github.com/Khan/perseus/commit/14e107f57c10fb3a442e55506810eb309caced24) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Fix bug when replacing transformer widget with deprecated-standin
44
-
45
- * Updated dependencies [[`43820ff9`](https://github.com/Khan/perseus/commit/43820ff9ce391682b951279a4c6fb9e3db966eb9)]:
46
- - @khanacademy/kmath@0.1.10
47
-
48
- ## 19.1.1
49
-
50
- ### Patch Changes
51
-
52
- - Updated dependencies [[`8c8af142`](https://github.com/Khan/perseus/commit/8c8af1425a5cd257ca894b20bdb481f7148ffa7d)]:
53
- - @khanacademy/math-input@17.0.1
54
-
55
- ## 19.1.0
56
-
57
- ### Minor Changes
58
-
59
- - [#895](https://github.com/Khan/perseus/pull/895) [`15b4bc02`](https://github.com/Khan/perseus/commit/15b4bc02d65fd1900e01ce7dd35863c1be579d73) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Export utility Range and Size types from package
60
-
61
- * [#942](https://github.com/Khan/perseus/pull/942) [`319e330e`](https://github.com/Khan/perseus/commit/319e330ed77d2145266a9b231693ac65320032a2) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Creation of a new callback that can return the WidgetsStartProps
62
-
63
- - [#937](https://github.com/Khan/perseus/pull/937) [`ef898f77`](https://github.com/Khan/perseus/commit/ef898f77f45f3494f5012d2db52a3461aad93c69) Thanks [@nishasy](https://github.com/nishasy)! - bumped mathquill version + minor type updates
64
-
65
- ### Patch Changes
66
-
67
- - [#935](https://github.com/Khan/perseus/pull/935) [`0b737502`](https://github.com/Khan/perseus/commit/0b7375023826ef5ee46eb5ae00136b2356e10be4) Thanks [@benchristel](https://github.com/benchristel)! - Internal: Refactor graphie.ts
68
-
69
- * [#945](https://github.com/Khan/perseus/pull/945) [`3bfd44e3`](https://github.com/Khan/perseus/commit/3bfd44e37643cdd13392fbaabb9fb4370378d2b3) Thanks [@benchristel](https://github.com/benchristel)! - Internal: Refactor graphie.ts
70
-
71
- - [#949](https://github.com/Khan/perseus/pull/949) [`59ce1e09`](https://github.com/Khan/perseus/commit/59ce1e0990cecd1123d7b9a671b032fcd03ce1b1) Thanks [@benchristel](https://github.com/benchristel)! - Internal: use built-in JS functions instead of underscore
72
-
73
- * [#946](https://github.com/Khan/perseus/pull/946) [`f16e4184`](https://github.com/Khan/perseus/commit/f16e4184a24dcdaafc0cb4ebde5651f5bb135df9) Thanks [@benchristel](https://github.com/benchristel)! - Internal: improve type coverage in graphie.ts and interactive.ts
74
-
75
- - [#951](https://github.com/Khan/perseus/pull/951) [`247f8b1b`](https://github.com/Khan/perseus/commit/247f8b1be0647c39a5cabd9ce72a216d750a707b) Thanks [@handeyeco](https://github.com/handeyeco)! - Rename helper that's not in-use yet.
76
-
77
- * [#943](https://github.com/Khan/perseus/pull/943) [`62e04cfa`](https://github.com/Khan/perseus/commit/62e04cfa3139c6417442cbb96f8012d098a7c279) Thanks [@benchristel](https://github.com/benchristel)! - Internal: Add tests for Graphie drawing tools
78
-
79
- - [#944](https://github.com/Khan/perseus/pull/944) [`583becef`](https://github.com/Khan/perseus/commit/583becefbf690e96df709bcb7f8150cf686deadf) Thanks [@benchristel](https://github.com/benchristel)! - Internal: Remove unused code from Graphie drawing tools
80
-
81
- - Updated dependencies [[`ef898f77`](https://github.com/Khan/perseus/commit/ef898f77f45f3494f5012d2db52a3461aad93c69), [`59ce1e09`](https://github.com/Khan/perseus/commit/59ce1e0990cecd1123d7b9a671b032fcd03ce1b1)]:
82
- - @khanacademy/math-input@17.0.0
83
- - @khanacademy/kmath@0.1.9
84
-
85
- ## 19.0.0
86
-
87
- ### Major Changes
88
-
89
- - [#915](https://github.com/Khan/perseus/pull/915) [`98bf2106`](https://github.com/Khan/perseus/commit/98bf2106e0ae56f37f3c0c2d0a5563802e4db62d) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Remove Transformer widget and replace with a standin widget
90
-
91
- ## 18.0.1
92
-
93
- ### Patch Changes
94
-
95
- - [#940](https://github.com/Khan/perseus/pull/940) [`e970dfcc`](https://github.com/Khan/perseus/commit/e970dfcc51e7b535e94669e6ffe0cbdd6d9b7b89) Thanks [@nishasy](https://github.com/nishasy)! - Fixed the answer pill's height in Label Image widget to account for multi-line answers
96
-
97
- - Updated dependencies [[`e970dfcc`](https://github.com/Khan/perseus/commit/e970dfcc51e7b535e94669e6ffe0cbdd6d9b7b89)]:
98
- - @khanacademy/math-input@16.5.1
99
-
100
- ## 18.0.0
101
-
102
- ### Major Changes
103
-
104
- - [#933](https://github.com/Khan/perseus/pull/933) [`851c2cb8`](https://github.com/Khan/perseus/commit/851c2cb8cd6f6c0d6a62343f9232cc618476b85e) Thanks [@handeyeco](https://github.com/handeyeco)! - Update external and internal facing Perseus types
105
-
106
- ### Minor Changes
107
-
108
- - [#925](https://github.com/Khan/perseus/pull/925) [`f7ac2929`](https://github.com/Khan/perseus/commit/f7ac2929ac18e6fd18b1e6c460350d5119762b42) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Design changes to the standin widget
109
-
110
- * [#938](https://github.com/Khan/perseus/pull/938) [`738aa661`](https://github.com/Khan/perseus/commit/738aa6613fdf752b8a4348c43690666fb5f0531f) Thanks [@handeyeco](https://github.com/handeyeco)! - export parsePerseusJSON helper
111
-
112
- - [#936](https://github.com/Khan/perseus/pull/936) [`d95e7044`](https://github.com/Khan/perseus/commit/d95e70444e2d038460a3b3fbe4e3c5aa4f4bd41d) Thanks [@Myranae](https://github.com/Myranae)! - Add helper functions for extracting perseus data
113
-
114
- ### Patch Changes
115
-
116
- - [#929](https://github.com/Khan/perseus/pull/929) [`87bfcc6f`](https://github.com/Khan/perseus/commit/87bfcc6f4a59a95027d76018625802726aa0d309) Thanks [@benchristel](https://github.com/benchristel)! - Internal: delete dead code from graphie.ts
117
-
118
- * [#934](https://github.com/Khan/perseus/pull/934) [`6c3b6afe`](https://github.com/Khan/perseus/commit/6c3b6afea87f95bc3dc1da78cc0ddd29418d14dc) Thanks [@benchristel](https://github.com/benchristel)! - Internal: Refactor graphie.ts
119
-
120
- - [#927](https://github.com/Khan/perseus/pull/927) [`1e179194`](https://github.com/Khan/perseus/commit/1e179194e9674b267be11c280f80faa5cc671d91) Thanks [@benchristel](https://github.com/benchristel)! - Remove unused code related to KaTeX and MathJax 2. It's no longer needed
121
- because all callers have upgraded to MathJax 3.
122
-
123
- * [#926](https://github.com/Khan/perseus/pull/926) [`4c2c2abc`](https://github.com/Khan/perseus/commit/4c2c2abc9c8dbe57a0036ff7873926ef5ecdd6e6) Thanks [@nedredmond](https://github.com/nedredmond)! - Upgrade MathJax
124
-
125
- - [#930](https://github.com/Khan/perseus/pull/930) [`544ca540`](https://github.com/Khan/perseus/commit/544ca540469b2d0b34a8d00de256872d32648fda) Thanks [@nedredmond](https://github.com/nedredmond)! - Remove centering style from image widget
126
-
127
- * [#931](https://github.com/Khan/perseus/pull/931) [`76ebdc76`](https://github.com/Khan/perseus/commit/76ebdc7620a2f1ffe28524f95a99a13393162951) Thanks [@benchristel](https://github.com/benchristel)! - Refactor graphie.ts and remove unused cartToPolar function
128
-
129
- - [#932](https://github.com/Khan/perseus/pull/932) [`237593b8`](https://github.com/Khan/perseus/commit/237593b8d5bd36148cb5adabf51a796acf8f81a4) Thanks [@benchristel](https://github.com/benchristel)! - Refactor graphie.ts to use modern JS/TS syntax. No external-facing changes intended.
130
-
131
- ## 17.8.0
132
-
133
- ### Minor Changes
134
-
135
- - [#917](https://github.com/Khan/perseus/pull/917) [`a5479339`](https://github.com/Khan/perseus/commit/a547933946b8be33b388fa4654d87289734848f0) Thanks [@Myranae](https://github.com/Myranae)! - Update Perseus' Storybook to use MathJax instead of KaTeX
136
-
137
- ## 17.7.0
138
-
139
- ### Minor Changes
140
-
141
- - [#921](https://github.com/Khan/perseus/pull/921) [`81b9a562`](https://github.com/Khan/perseus/commit/81b9a562d0fb8ff2cd82e708781432bff8437116) Thanks [@benchristel](https://github.com/benchristel)! - Make the Expression widget treat `sen` as equivalent to `sin`. The spelling
142
- `sen` is used in Portuguese.
143
-
144
- ### Patch Changes
145
-
146
- - Updated dependencies [[`81b9a562`](https://github.com/Khan/perseus/commit/81b9a562d0fb8ff2cd82e708781432bff8437116)]:
147
- - @khanacademy/math-input@16.5.0
148
-
149
- ## 17.6.2
150
-
151
- ### Patch Changes
152
-
153
- - [#918](https://github.com/Khan/perseus/pull/918) [`21222f55`](https://github.com/Khan/perseus/commit/21222f55b1efd46acbc0fe1dcc8aa0399b8555ee) Thanks [@nedredmond](https://github.com/nedredmond)! - Fix bug that caused svg to be 300px wide
154
-
155
- ## 17.6.1
156
-
157
- ### Patch Changes
158
-
159
- - [#881](https://github.com/Khan/perseus/pull/881) [`f02eb991`](https://github.com/Khan/perseus/commit/f02eb991cec37dcff02056c0d6b54fc6dfd96948) Thanks [@nedredmond](https://github.com/nedredmond)! - Swap out Label Image custom dropdown for WonderBlocks
160
-
161
- * [#870](https://github.com/Khan/perseus/pull/870) [`9354fb55`](https://github.com/Khan/perseus/commit/9354fb55357f2441a2ca6198c52cca33edeba3c0) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Replace transformer widget with a deprecated-standin widget
162
-
163
- * Updated dependencies [[`f02eb991`](https://github.com/Khan/perseus/commit/f02eb991cec37dcff02056c0d6b54fc6dfd96948)]:
164
- - @khanacademy/math-input@16.4.1
165
-
166
- ## 17.6.0
167
-
168
- ### Minor Changes
169
-
170
- - [#907](https://github.com/Khan/perseus/pull/907) [`83884550`](https://github.com/Khan/perseus/commit/83884550df8b394e9afa6e95947c987614e2d242) Thanks [@nishasy](https://github.com/nishasy)! - Display names have been updated to better match type names
171
-
172
- ## 17.5.0
173
-
174
- ### Minor Changes
175
-
176
- - [#909](https://github.com/Khan/perseus/pull/909) [`6c841f55`](https://github.com/Khan/perseus/commit/6c841f55027c87bfc8339816dac582f175a84193) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Reworked onFocusChange logic to solve a bug on initial render.
177
-
178
- ### Patch Changes
179
-
180
- - [#908](https://github.com/Khan/perseus/pull/908) [`29563723`](https://github.com/Khan/perseus/commit/29563723cf229a9169d0c78a0174a8dbc8029861) Thanks [@benchristel](https://github.com/benchristel)! - Lighten the background color for odd-numbered rows of Markdown tables on
181
- desktop-sized screens. Previously, the color was `#ededed`; it is now
182
- `#f7f8fa` (Wonder Blocks offWhite).
183
-
184
- This change ensures that color-coded math expressions will have accessible
185
- contrast with the background.
186
-
187
- ## 17.4.0
188
-
189
- ### Minor Changes
190
-
191
- - [#902](https://github.com/Khan/perseus/pull/902) [`c9db8185`](https://github.com/Khan/perseus/commit/c9db818510e2e0fd142c23298890dcad89a7549a) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Updated OnFocusChange method to return the keypadHeight rather than the DOMNode
192
-
193
- ### Patch Changes
194
-
195
- - [#887](https://github.com/Khan/perseus/pull/887) [`d09fdb98`](https://github.com/Khan/perseus/commit/d09fdb98963f23dbeb2009518513db671e0f09bb) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Export `PerseusItem` type which represents an exercise question
196
-
197
- ## 17.3.3
198
-
199
- ### Patch Changes
200
-
201
- - [#876](https://github.com/Khan/perseus/pull/876) [`fdc00c90`](https://github.com/Khan/perseus/commit/fdc00c90a19d3e241b3a5cdc2b1df5d761b24af3) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Adjust CSS to ensure all `code` and `pre` blocks rendered by Perseus have a monospace font and common styling
202
-
203
- ## 17.3.2
204
-
205
- ### Patch Changes
206
-
207
- - [#850](https://github.com/Khan/perseus/pull/850) [`f4cd2a76`](https://github.com/Khan/perseus/commit/f4cd2a7639556312af75b9ba9c6a97c41c94beac) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Widget rendering errors are now reported as distinct errors to the Perseus logging infrastructure.
208
-
209
- ## 17.3.1
210
-
211
- ### Patch Changes
212
-
213
- - [#873](https://github.com/Khan/perseus/pull/873) [`b7777865`](https://github.com/Khan/perseus/commit/b777786517afc289e92201e3fea876c30c493290) Thanks [@nedredmond](https://github.com/nedredmond)! - Prevent paragraph class from being added to answer pills component
214
-
215
- - Updated dependencies [[`610ebba2`](https://github.com/Khan/perseus/commit/610ebba29ab8b2ee4ddf4879f8c8b87993f29b20)]:
216
- - @khanacademy/math-input@16.4.0
217
-
218
- ## 17.3.0
219
-
220
- ### Minor Changes
221
-
222
- - [#867](https://github.com/Khan/perseus/pull/867) [`378294da`](https://github.com/Khan/perseus/commit/378294da3d207839a861333175920b562773ee97) Thanks [@nedredmond](https://github.com/nedredmond)! - Update and export PerseusAnswerArea type
223
-
224
- ### Patch Changes
225
-
226
- - [#869](https://github.com/Khan/perseus/pull/869) [`57eeec68`](https://github.com/Khan/perseus/commit/57eeec681072591c64b633527833f3ab9f6e3f1a) Thanks [@nedredmond](https://github.com/nedredmond)! - Remove new unused field from PerseusAnswerArea API
227
-
228
- ## 17.2.0
229
-
230
- ### Minor Changes
231
-
232
- - [#863](https://github.com/Khan/perseus/pull/863) [`f910bd72`](https://github.com/Khan/perseus/commit/f910bd72fc5cbf88a1a00d57f8aefa8eea2c755d) Thanks [@handeyeco](https://github.com/handeyeco)! - Localize the multiplication symbol in MathInput
233
-
234
- ### Patch Changes
235
-
236
- - [#865](https://github.com/Khan/perseus/pull/865) [`347d6d15`](https://github.com/Khan/perseus/commit/347d6d15ee7989819852067e5916a86725e95def) Thanks [@nedredmond](https://github.com/nedredmond)! - Make label for hide answers switch in Label Image Widget into label tag
237
-
238
- - Updated dependencies [[`f910bd72`](https://github.com/Khan/perseus/commit/f910bd72fc5cbf88a1a00d57f8aefa8eea2c755d)]:
239
- - @khanacademy/math-input@16.3.0
240
-
241
- ## 17.1.1
242
-
243
- ### Patch Changes
244
-
245
- - Updated dependencies [[`cbcc0e68`](https://github.com/Khan/perseus/commit/cbcc0e689b6d4640361c14ae112c476fb061d5f4), [`e7bec961`](https://github.com/Khan/perseus/commit/e7bec961bc5136bcaeb4ebb4b6744b0809f372ec)]:
246
- - @khanacademy/math-input@16.2.0
247
-
248
- ## 17.1.0
249
-
250
- ### Minor Changes
251
-
252
- - [#804](https://github.com/Khan/perseus/pull/804) [`2c295e2c`](https://github.com/Khan/perseus/commit/2c295e2c26ff2bf15e1e8e82bcc34e04e4b9bab0) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Add pill that contains answer after selection in Label Image Widget
253
-
254
- * [#804](https://github.com/Khan/perseus/pull/804) [`6f530d58`](https://github.com/Khan/perseus/commit/6f530d58b4368fb3c38d62d4dcf1f63cecf67d90) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Use WB Pill + `react-popper` to get hovering answer pill in Label Image Widget
255
-
256
- - [#804](https://github.com/Khan/perseus/pull/804) [`cccf1897`](https://github.com/Khan/perseus/commit/cccf1897da294e4b1fec804f2639c1c56bd68201) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Adds "hide answers" toggle to hide answer pills on label image widget
257
-
258
- ### Patch Changes
259
-
260
- - [#804](https://github.com/Khan/perseus/pull/804) [`ce343147`](https://github.com/Khan/perseus/commit/ce343147f558c2f2a1dcbabae20bdba22c0de86d) Thanks [@nixterrimus](https://github.com/nixterrimus)! - For wide image, label image popovers only go above or below marker
261
-
262
- * [#804](https://github.com/Khan/perseus/pull/804) [`1c8f2753`](https://github.com/Khan/perseus/commit/1c8f275391b02bef8e14d1daccef8fadea9066cd) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Implement hover on label image pills
263
-
264
- - [#856](https://github.com/Khan/perseus/pull/856) [`6c323dc3`](https://github.com/Khan/perseus/commit/6c323dc37e7cc972fe5a1ab7cbf90a23bf4dd3a0) Thanks [@nedredmond](https://github.com/nedredmond)! - Upgrade WB
265
-
266
- * [#858](https://github.com/Khan/perseus/pull/858) [`7433c91b`](https://github.com/Khan/perseus/commit/7433c91bb05ad0441475f40bcd05a3076e7e19f1) Thanks [@nedredmond](https://github.com/nedredmond)! - Remove custom event listeners from label image widget and use WB's built-in functionality to achieve the same thing. Fixes a bug where answer choices were not dismissing as expected.
267
-
268
- - [#804](https://github.com/Khan/perseus/pull/804) [`dd41dd0e`](https://github.com/Khan/perseus/commit/dd41dd0e8bc76a414bb5906bba4648f57547f188) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Reverts Perseus global mobile styles for answer pill in label image widget
269
-
270
- * [#804](https://github.com/Khan/perseus/pull/804) [`53612027`](https://github.com/Khan/perseus/commit/536120272b8cae3b01cdbe09a59488cc4704329d) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Label image dot styles
271
-
272
- - [#861](https://github.com/Khan/perseus/pull/861) [`bb9cd667`](https://github.com/Khan/perseus/commit/bb9cd667dbb4a38724ae174063021fdf18040f9b) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Bug fix: dont hide chevron in label image on focus
273
-
274
- * [#862](https://github.com/Khan/perseus/pull/862) [`4553af79`](https://github.com/Khan/perseus/commit/4553af79a26fc0e635d7dc03be74f39cb00a05f6) Thanks [@nedredmond](https://github.com/nedredmond)! - Darken green to match accessible pill color
275
-
276
- - [#804](https://github.com/Khan/perseus/pull/804) [`07537aae`](https://github.com/Khan/perseus/commit/07537aae870866f4418055b5956e9387f85f72c4) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Add periodicTableWithKey to `perseus-types`
277
-
278
- * [#804](https://github.com/Khan/perseus/pull/804) [`bb81559e`](https://github.com/Khan/perseus/commit/bb81559e02359092ba4d48107010c476b5ae09d5) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Give label image widget switch an accessible label.
279
-
280
- - [#804](https://github.com/Khan/perseus/pull/804) [`fd09014c`](https://github.com/Khan/perseus/commit/fd09014c26e33d2c83a1e6ae3672027ac9583d41) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Minor CSS change to label image
281
-
282
- * [#860](https://github.com/Khan/perseus/pull/860) [`1f4e17ba`](https://github.com/Khan/perseus/commit/1f4e17ba77e1491523813655af18a70285a25989) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Add hover states in label-image widget
283
-
284
- - [#804](https://github.com/Khan/perseus/pull/804) [`f6be48a9`](https://github.com/Khan/perseus/commit/f6be48a96795858e009bea18cc1092d150f98b71) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Change marker styles in label image widget
285
-
286
- * [#804](https://github.com/Khan/perseus/pull/804) [`34f7696b`](https://github.com/Khan/perseus/commit/34f7696b537d28c4b2054a3995f567a9a6834f73) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Allows a manually set direction to be used for label image, if and only if there's space
287
-
288
- - [#848](https://github.com/Khan/perseus/pull/848) [`8857950b`](https://github.com/Khan/perseus/commit/8857950bdeeb6e13bc3766b1c6545289b21cbe2a) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Add analytics for label image
289
-
290
- * [#804](https://github.com/Khan/perseus/pull/804) [`ded7af48`](https://github.com/Khan/perseus/commit/ded7af488d57e6309f7244ca4b897ac680754d74) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Update dot styling in label image widget
291
-
292
- - [#804](https://github.com/Khan/perseus/pull/804) [`1906ec5a`](https://github.com/Khan/perseus/commit/1906ec5afb7fd7332a6cabc6afc79ee1f779f8ec) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Match marker color after checking answers
293
-
294
- * [#851](https://github.com/Khan/perseus/pull/851) [`5e4c21bd`](https://github.com/Khan/perseus/commit/5e4c21bda5717fb793386a810be3144d7b9a9011) Thanks [@nedredmond](https://github.com/nedredmond)! - Fix label image answer pill padding when correct answer registered
295
-
296
- - [#804](https://github.com/Khan/perseus/pull/804) [`30ce593a`](https://github.com/Khan/perseus/commit/30ce593a2f1d552338ce0818cf754c13c22af281) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Reduce motion on dot animation when option is enabled
297
-
298
- - Updated dependencies [[`6c323dc3`](https://github.com/Khan/perseus/commit/6c323dc37e7cc972fe5a1ab7cbf90a23bf4dd3a0), [`2c295e2c`](https://github.com/Khan/perseus/commit/2c295e2c26ff2bf15e1e8e82bcc34e04e4b9bab0), [`1f4e17ba`](https://github.com/Khan/perseus/commit/1f4e17ba77e1491523813655af18a70285a25989), [`8857950b`](https://github.com/Khan/perseus/commit/8857950bdeeb6e13bc3766b1c6545289b21cbe2a)]:
299
- - @khanacademy/math-input@16.1.2
300
- - @khanacademy/perseus-core@1.4.1
301
- - @khanacademy/kas@0.3.7
302
- - @khanacademy/kmath@0.1.8
303
- - @khanacademy/perseus-linter@0.3.10
304
- - @khanacademy/pure-markdown@0.2.13
305
- - @khanacademy/simple-markdown@0.11.2
306
-
307
- ## 17.0.0
308
-
309
- ### Major Changes
310
-
311
- - [#852](https://github.com/Khan/perseus/pull/852) [`204788f8`](https://github.com/Khan/perseus/commit/204788f8f583bda5ff94d74fd70ec542fedd3d6e) Thanks [@handeyeco](https://github.com/handeyeco)! - Remove ItemRenderer again
312
-
313
- * [#838](https://github.com/Khan/perseus/pull/838) [`233fc9fc`](https://github.com/Khan/perseus/commit/233fc9fcd4c65d2ff0c8f1ebd1cb1b17b76cbe0c) Thanks [@handeyeco](https://github.com/handeyeco)! - Remove TexButtons and update ExpressionEditor
314
-
315
- ### Patch Changes
316
-
317
- - [#854](https://github.com/Khan/perseus/pull/854) [`2e2f2cc1`](https://github.com/Khan/perseus/commit/2e2f2cc1afe99613eb688ab1e4e1fccad0c8df57) Thanks [@handeyeco](https://github.com/handeyeco)! - Remove unused CSS images for next/prev steps
318
-
319
- - Updated dependencies [[`41d3cd93`](https://github.com/Khan/perseus/commit/41d3cd93f78d4649c8a57b6fa4964c0c9f2c45b0), [`27f691aa`](https://github.com/Khan/perseus/commit/27f691aa11f061b54db487b5b35222431776260f), [`3803452b`](https://github.com/Khan/perseus/commit/3803452b0593649faf4043bf6e1d7681a14078e4), [`ef32b88f`](https://github.com/Khan/perseus/commit/ef32b88f5027154784fb496506d7c96ee3765eac), [`820febc5`](https://github.com/Khan/perseus/commit/820febc5814a5a10d7c1743be8aa9d220f2d9bd8), [`67a09051`](https://github.com/Khan/perseus/commit/67a09051c61df98b697349ad75760193e4228bfe)]:
320
- - @khanacademy/math-input@16.1.1
321
-
322
- ## 16.0.0
323
-
324
- ### Major Changes
325
-
326
- - [#847](https://github.com/Khan/perseus/pull/847) [`45350a24`](https://github.com/Khan/perseus/commit/45350a2458cd3f816bc87af40997e426feb4b13b) Thanks [@handeyeco](https://github.com/handeyeco)! - Add back ItemRenderer temporarily
327
-
328
- ## 15.0.0
329
-
330
- ### Major Changes
331
-
332
- - [#833](https://github.com/Khan/perseus/pull/833) [`3cf5ac4c`](https://github.com/Khan/perseus/commit/3cf5ac4c3f9d51dbcddc6f75bfbf0f8778b20f78) Thanks [@handeyeco](https://github.com/handeyeco)! - Remove export of ItemRenderer
333
-
334
- ### Minor Changes
335
-
336
- - [#794](https://github.com/Khan/perseus/pull/794) [`a91c84fe`](https://github.com/Khan/perseus/commit/a91c84fe53827ff4333220777a9918882b7fe9f0) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Removing the useV2Keypad apiOption as the V1 keypad is no longer in use.
337
-
338
- ### Patch Changes
339
-
340
- - [#839](https://github.com/Khan/perseus/pull/839) [`3e176246`](https://github.com/Khan/perseus/commit/3e176246025ba237682569481dd9960f7a0dabf4) Thanks [@nedredmond](https://github.com/nedredmond)! - Wrap string in internationalization function
341
-
342
- * [#814](https://github.com/Khan/perseus/pull/814) [`105d2060`](https://github.com/Khan/perseus/commit/105d20603d935d35cff237b17f0bfb57ca751e4c) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Minor build change to how we provide Typescript type definitions (should be no change to build output).
343
-
344
- * Updated dependencies [[`a91c84fe`](https://github.com/Khan/perseus/commit/a91c84fe53827ff4333220777a9918882b7fe9f0), [`105d2060`](https://github.com/Khan/perseus/commit/105d20603d935d35cff237b17f0bfb57ca751e4c)]:
345
- - @khanacademy/math-input@16.1.0
346
- - @khanacademy/perseus-core@1.4.0
347
- - @khanacademy/kas@0.3.6
348
- - @khanacademy/kmath@0.1.7
349
- - @khanacademy/perseus-linter@0.3.9
350
- - @khanacademy/pure-markdown@0.2.12
351
- - @khanacademy/simple-markdown@0.11.1
352
-
353
- ## 14.0.0
354
-
355
- ### Major Changes
356
-
357
- - [#825](https://github.com/Khan/perseus/pull/825) [`7cb40e4c`](https://github.com/Khan/perseus/commit/7cb40e4c919be50e5ced41e4937178bbf849ec74) Thanks [@benchristel](https://github.com/benchristel)! - We've removed the deprecated `useV2Keypad` prop from the MobileKeypad component.
358
-
359
- The V2 keypad is now the default, and the old keypad has been removed.
360
-
361
- Additionally, the mobile keypad no longer accepts the `keypadActive` or
362
- `setKeypadActive` props. It now gets those values itself from the `KeypadContext`.
363
-
364
- ### Minor Changes
365
-
366
- - [#816](https://github.com/Khan/perseus/pull/816) [`cdcd162e`](https://github.com/Khan/perseus/commit/cdcd162ea0902d3ff1d77b1b66ad15f2d55a86cd) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Wrap all SvgImage instances in AssetContext (ensures that host applications can correctly wait for all images to load in a renderer before proceeding).
367
-
368
- * [#788](https://github.com/Khan/perseus/pull/788) [`8f1f0208`](https://github.com/Khan/perseus/commit/8f1f0208fcc08e137053bfd05d330b6f8bf3522d) Thanks [@jeanettehead](https://github.com/jeanettehead)! - create randomized storybook stories for some widgets
369
-
370
- ### Patch Changes
371
-
372
- - Updated dependencies [[`7cb40e4c`](https://github.com/Khan/perseus/commit/7cb40e4c919be50e5ced41e4937178bbf849ec74)]:
373
- - @khanacademy/math-input@16.0.0
374
-
375
- ## 13.2.0
376
-
377
- ### Minor Changes
378
-
379
- - [#797](https://github.com/Khan/perseus/pull/797) [`021f9462`](https://github.com/Khan/perseus/commit/021f946255f423de8df13f6872b0664f79408484) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Change the rational color in radio widget
380
-
381
- * [#811](https://github.com/Khan/perseus/pull/811) [`bca527ab`](https://github.com/Khan/perseus/commit/bca527abc4d8b29942efec12509f9cf8be401e75) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Bump all Wonder Blocks dependencies to latest
382
-
383
- ### Patch Changes
384
-
385
- - [#808](https://github.com/Khan/perseus/pull/808) [`8358da80`](https://github.com/Khan/perseus/commit/8358da8010dcb8976d8cfb542afa7e303ce4971a) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Removing unnecessary conflicting CSS for #problemarea.
386
-
387
- * [#813](https://github.com/Khan/perseus/pull/813) [`691d29b4`](https://github.com/Khan/perseus/commit/691d29b4224a523a3dd8d53a7aab28c80118e7ac) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Removing unused CSS from #problemarea.
388
-
389
- - [#812](https://github.com/Khan/perseus/pull/812) [`6d31e044`](https://github.com/Khan/perseus/commit/6d31e044d6f5b304e63602795e9bbd7ba443dac5) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Fix 'focus' parameter on Renderer's setInputValue function to be optional.
390
-
391
- - Updated dependencies [[`57e0e18b`](https://github.com/Khan/perseus/commit/57e0e18bd3729cde2e35cfa4ec40b67a5700049c), [`57e0e18b`](https://github.com/Khan/perseus/commit/57e0e18bd3729cde2e35cfa4ec40b67a5700049c), [`bca527ab`](https://github.com/Khan/perseus/commit/bca527abc4d8b29942efec12509f9cf8be401e75)]:
392
- - @khanacademy/simple-markdown@0.11.0
393
- - @khanacademy/math-input@15.1.0
394
- - @khanacademy/pure-markdown@0.2.11
395
-
396
- ## 13.1.0
397
-
398
- ### Minor Changes
399
-
400
- - [#795](https://github.com/Khan/perseus/pull/795) [`2adb82b2`](https://github.com/Khan/perseus/commit/2adb82b22ac17a31aef403b7562191cac06cc13b) Thanks [@ioanacrant](https://github.com/ioanacrant)! - Add "do not track" query parameter to vimeo links in the video widget to ensure tracking/analytics cookies don't get set.
401
-
402
- ### Patch Changes
403
-
404
- - Updated dependencies [[`1d58b887`](https://github.com/Khan/perseus/commit/1d58b887179b129b5027e20484fde5169170f052)]:
405
- - @khanacademy/math-input@15.0.1
406
-
407
- ## 13.0.0
408
-
409
- ### Major Changes
410
-
411
- - [#786](https://github.com/Khan/perseus/pull/786) [`af4ebf37`](https://github.com/Khan/perseus/commit/af4ebf37dfed15ffd93a8cf2a20d0be464120dd7) Thanks [@handeyeco](https://github.com/handeyeco)! - Added a new required dep in Perseus and MathInput (required by WB)
412
-
413
- ### Minor Changes
414
-
415
- - [#670](https://github.com/Khan/perseus/pull/670) [`88616529`](https://github.com/Khan/perseus/commit/88616529c70f6c03529c26c2a4f04e5bb9f92b38) Thanks [@handeyeco](https://github.com/handeyeco)! - Update types for Plotter widget
416
-
417
- * [#796](https://github.com/Khan/perseus/pull/796) [`c26fbdde`](https://github.com/Khan/perseus/commit/c26fbdde0d0bce0e7e88046eaddf88307f722eb9) Thanks [@nedredmond](https://github.com/nedredmond)! - Add option to show key on periodic table
418
-
419
- ### Patch Changes
420
-
421
- - [#799](https://github.com/Khan/perseus/pull/799) [`847b0568`](https://github.com/Khan/perseus/commit/847b0568bd5bb23ef08ddd8cbbe24f7158eeaaca) Thanks [@nedredmond](https://github.com/nedredmond)! - Add string for translation for label image changes
422
-
423
- - Updated dependencies [[`3eb0e158`](https://github.com/Khan/perseus/commit/3eb0e15860224cc595d5b7e78d2a5d60e808561c), [`af4ebf37`](https://github.com/Khan/perseus/commit/af4ebf37dfed15ffd93a8cf2a20d0be464120dd7)]:
424
- - @khanacademy/math-input@15.0.0
425
-
426
- ## 12.4.0
427
-
428
- ### Minor Changes
429
-
430
- - [#784](https://github.com/Khan/perseus/pull/784) [`cfff6ad1`](https://github.com/Khan/perseus/commit/cfff6ad16a3923418a3c75816af7c99689b94da4) Thanks [@nedredmond](https://github.com/nedredmond)! - Graded Group Set indicator dots now have a 24x24 clickable area as well as hover/focus states. Stretching issue on mobile resolved as well.
431
-
432
- * [#783](https://github.com/Khan/perseus/pull/783) [`79403e06`](https://github.com/Khan/perseus/commit/79403e06eedb597d7818d6c858bbba6f51ff3fe1) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Adds 'widgetId' to the 'perseus:widget-rendering-error' analytics event.
433
-
434
- ### Patch Changes
435
-
436
- - Updated dependencies [[`79403e06`](https://github.com/Khan/perseus/commit/79403e06eedb597d7818d6c858bbba6f51ff3fe1), [`ed00ee59`](https://github.com/Khan/perseus/commit/ed00ee59dcdeb20a66709c6b7d3474da55d58e4d)]:
437
- - @khanacademy/perseus-core@1.3.0
438
- - @khanacademy/math-input@14.2.2
439
- - @khanacademy/kas@0.3.5
440
- - @khanacademy/kmath@0.1.6
441
- - @khanacademy/perseus-linter@0.3.8
442
- - @khanacademy/pure-markdown@0.2.10
443
- - @khanacademy/simple-markdown@0.10.4
444
-
445
- ## 12.3.0
446
-
447
- ### Minor Changes
448
-
449
- - [#780](https://github.com/Khan/perseus/pull/780) [`376eb0e4`](https://github.com/Khan/perseus/commit/376eb0e4aaaa4c7a90fd6107a84bb74d382b077c) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Adds an `onError` callback prop to the ErrorBoundary component. Uses this new callback in the WidgetContainer component to report all widget rendering failures through the analytics API.
450
-
451
- ### Patch Changes
452
-
453
- - [#759](https://github.com/Khan/perseus/pull/759) [`c431c4b8`](https://github.com/Khan/perseus/commit/c431c4b8147ae0630df2d2b19b0f5a5b5f04d4bf) Thanks [@handeyeco](https://github.com/handeyeco)! - Remove references to unused font families
454
-
455
- * [#775](https://github.com/Khan/perseus/pull/775) [`cb529549`](https://github.com/Khan/perseus/commit/cb5295497fe74e3f4cc00eef0f99da9f83f58e4d) Thanks [@nedredmond](https://github.com/nedredmond)! - Added flag to `simpleValidate` call from Renderer to ensure we call analytics on MathInputEvaluated only when the answer is submitted
456
-
457
- - [#781](https://github.com/Khan/perseus/pull/781) [`9b9dfd4f`](https://github.com/Khan/perseus/commit/9b9dfd4f6779d129040d9afcf3205f1863a64c25) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Fix for broken dilation tool in the Transformer Widget
458
-
459
- - Updated dependencies [[`c431c4b8`](https://github.com/Khan/perseus/commit/c431c4b8147ae0630df2d2b19b0f5a5b5f04d4bf), [`fb84640d`](https://github.com/Khan/perseus/commit/fb84640de911a8e8817829985fe9956e83a7f7d1), [`376eb0e4`](https://github.com/Khan/perseus/commit/376eb0e4aaaa4c7a90fd6107a84bb74d382b077c), [`33cc24c3`](https://github.com/Khan/perseus/commit/33cc24c33f62cd87de7594ba575d311fd465e2e0)]:
460
- - @khanacademy/math-input@14.2.1
461
- - @khanacademy/perseus-core@1.2.0
462
- - @khanacademy/kas@0.3.4
463
- - @khanacademy/kmath@0.1.5
464
- - @khanacademy/perseus-linter@0.3.7
465
- - @khanacademy/pure-markdown@0.2.9
466
- - @khanacademy/simple-markdown@0.10.3
467
-
468
- ## 12.2.0
469
-
470
- ### Minor Changes
471
-
472
- - [#773](https://github.com/Khan/perseus/pull/773) [`809823e4`](https://github.com/Khan/perseus/commit/809823e490f65cbcbaa05b548de985035810ba8d) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Fix text overlap in interactive graph widget
473
-
474
- * [#755](https://github.com/Khan/perseus/pull/755) [`6d9e31a4`](https://github.com/Khan/perseus/commit/6d9e31a4ea4a1ed29bef2d9812d21e5b2fd41af6) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Adding logic to ArticleRenderer so that it can return our currently focused element.
475
-
476
- ## 12.1.0
477
-
478
- ### Minor Changes
479
-
480
- - 6dbc58c6: Fix image centering for widget
481
-
482
- ### Patch Changes
483
-
484
- - c4ae088f: Upgrades MathQuill to fix Android keyboard error
485
- - Updated dependencies [c4ae088f]
486
- - Updated dependencies [aea0387f]
487
- - @khanacademy/math-input@14.2.0
488
-
489
- ## 12.0.1
490
-
491
- ### Patch Changes
492
-
493
- - Updated dependencies [22a9c408]
494
- - @khanacademy/perseus-core@1.1.2
495
- - @khanacademy/kas@0.3.3
496
- - @khanacademy/kmath@0.1.4
497
- - @khanacademy/math-input@14.1.1
498
- - @khanacademy/perseus-linter@0.3.6
499
- - @khanacademy/pure-markdown@0.2.8
500
- - @khanacademy/simple-markdown@0.10.2
501
-
502
- ## 12.0.0
503
-
504
- ### Major Changes
505
-
506
- - 5bcf118c: # Update MathInput
507
-
508
- - `buttonSets` is now deprecated in favor of `keypadButtonSets`, but currently maps to the new prop for backwards compatability.
509
- - `buttonsVisible` is now a bit misleading: "focused" is the default state with a toggle-able keypad and "always" shows the keypad by default.
510
-
511
- ### Minor Changes
512
-
513
- - 5bcf118c: Desktop Expression Widget now uses v2 keypad
514
-
515
- ### Patch Changes
516
-
517
- - Updated dependencies [5bcf118c]
518
- - @khanacademy/math-input@14.1.0
519
-
520
- ## 11.6.1
521
-
522
- ### Patch Changes
523
-
524
- - 1721c05c: Fix broken Expression Mobile test
525
- - 55d4cd00: Print package name and version when loaded in the page
526
- - Updated dependencies [4f8afadd]
527
- - Updated dependencies [7d8905b6]
528
- - Updated dependencies [55d4cd00]
529
- - @khanacademy/math-input@14.0.1
530
- - @khanacademy/kas@0.3.2
531
- - @khanacademy/kmath@0.1.3
532
- - @khanacademy/perseus-core@1.1.1
533
- - @khanacademy/perseus-linter@0.3.5
534
- - @khanacademy/pure-markdown@0.2.7
535
- - @khanacademy/simple-markdown@0.10.1
536
-
537
- ## 11.6.0
538
-
539
- ### Minor Changes
540
-
541
- - 0761377a: Ensured we're still validating against pi when strict is set to false and pi is in the answerforms.
542
-
543
- ### Patch Changes
544
-
545
- - 14138bb0: Move StatefulKeypadContextProvider into math-input
546
- - 14138bb0: Hoist keypad active state into keypad context
547
- - 332d5d6d: Fix list item rendering in exercises and HintRenderer (LC-1022 & LC-1225)
548
- - Updated dependencies [14138bb0]
549
- - Updated dependencies [14138bb0]
550
- - @khanacademy/math-input@14.0.0
551
-
552
- ## 11.5.1
553
-
554
- ### Patch Changes
555
-
556
- - 7e2ae0ef: Bugfix for fraction button in v2 fraction keypad
557
- - 1dc460c7: Add tests for mobile MathInput
558
- - Updated dependencies [7e2ae0ef]
559
- - Updated dependencies [1dc460c7]
560
- - Updated dependencies [3b19a1bf]
561
- - @khanacademy/math-input@13.1.0
562
-
563
- ## 11.5.0
564
-
565
- ### Minor Changes
566
-
567
- - 609aeb0a: Ensured that the multiplication symbol in our keypad matches the selected symbol from content.
568
-
569
- ### Patch Changes
570
-
571
- - Updated dependencies [91f88d0b]
572
- - Updated dependencies [609aeb0a]
573
- - Updated dependencies [4aac71b3]
574
- - @khanacademy/math-input@13.0.0
575
-
576
- ## 11.4.0
577
-
578
- ### Minor Changes
579
-
580
- - 6751a680: Make article image widget behave more like other image widgets
581
-
582
- ### Patch Changes
583
-
584
- - Updated dependencies [388b6506]
585
- - Updated dependencies [4f4fe4f9]
586
- - Updated dependencies [388b6506]
587
- - @khanacademy/perseus-linter@0.3.4
588
- - @khanacademy/perseus-core@1.1.0
589
- - @khanacademy/pure-markdown@0.2.6
590
- - @khanacademy/math-input@12.1.1
591
-
592
- ## 11.3.0
593
-
594
- ### Minor Changes
595
-
596
- - 26fc0b41: Updated ErrorBoundary logging to include the componentStack as well as the widget type as metadata.
597
-
598
- ### Patch Changes
599
-
600
- - Updated dependencies [a5a60852]
601
- - @khanacademy/math-input@12.1.0
602
-
603
- ## 11.2.1
604
-
605
- ### Patch Changes
606
-
607
- - a383823d: Bump @khanacademy/wonder-stuff-core to v1.5.1 (which adds needed support for `isTruthy` helper function)
608
- - Updated dependencies [a383823d]
609
- - @khanacademy/math-input@12.0.1
610
- - @khanacademy/perseus-linter@0.3.3
611
- - @khanacademy/pure-markdown@0.2.5
612
-
613
- ## 11.2.0
614
-
615
- ### Minor Changes
616
-
617
- - 9ff8a575: Fix image widget caption styling
618
- - 1b618343: Add new Perseus analytics event: 'perseus:expression-focused'. This event is fired any time the expression widget input box receives focus.
619
-
620
- ### Patch Changes
621
-
622
- - Updated dependencies [fa5f463b]
623
- - Updated dependencies [fa1bb6b4]
624
- - Updated dependencies [6d8ede65]
625
- - Updated dependencies [3afc0da2]
626
- - @khanacademy/math-input@12.0.0
627
-
628
- ## 11.1.0
629
-
630
- ### Minor Changes
631
-
632
- - 8dc86906: Ensure that radio widget choices can scroll horizontally, but not vertically.
633
- Previously, unnecessary vertical scrollbars appeared on some choices containing
634
- MathJax elements.
635
-
636
- ## 11.0.0
637
-
638
- ### Major Changes
639
-
640
- - 2af4f9fa: Switch from using ProvideKeypad in ArticleRenderer to passing the keypad element down instead
641
-
642
- ### Patch Changes
643
-
644
- - Updated dependencies [2af4f9fa]
645
- - @khanacademy/math-input@11.0.0
646
- - @khanacademy/perseus-core@1.0.0
647
-
648
- ## 10.1.0
649
-
650
- ### Minor Changes
651
-
652
- - 3078825a: Remove animation when math is first drawn on a page
653
- - 100fb7e5: Update design of image widget's caption
654
-
655
- ### Patch Changes
656
-
657
- - Updated dependencies [3f7be05a]
658
- - Updated dependencies [810c7bd9]
659
- - Updated dependencies [b161d004]
660
- - Updated dependencies [a99a9ca4]
661
- - @khanacademy/math-input@10.1.1
662
-
663
- ## 10.0.1
664
-
665
- ### Patch Changes
666
-
667
- - 5f33560b: Revert type changes made in #694
668
- - 0f95281c: Restore static methods on `Expression` widget component
669
- - Updated dependencies [781551f9]
670
- - @khanacademy/math-input@10.1.0
671
-
672
- ## 10.0.0
673
-
674
- ### Major Changes
675
-
676
- - 9eb50ae1: Removed `LinterContextProps` type. Moved to `@khanacademy/perseus-linter` in a previous release, but wasn't deleted from this package.
677
-
678
- ### Patch Changes
679
-
680
- - aea86eec: Convert all usages of JSX.LibraryManagedAttributes to WB Core's PropsFor type
681
- - Updated dependencies [7b11736e]
682
- - @khanacademy/math-input@10.0.1
683
-
684
- ## 9.0.0
685
-
686
- ### Major Changes
687
-
688
- - dd800c22: Rename analytics prop from onEvent to onAnalyticsEvent
689
- - 2b99fbda: Remove 'analytics' key from PerseusDependencies
690
-
691
- ### Minor Changes
692
-
693
- - ec50a510: Switch `virtualKeypadVersion` on `perseus:expression-evaluated` event to be non-optional
694
- - 673f61b3: Introduce `dependencies` on ArticleRenderer, ItemRenderer, MultiRenderer, and ServerItemRenderer.
695
-
696
- ### Patch Changes
697
-
698
- - 2c69b0dc: Fix APIOptions `trackInteraction` type for better Flow type generation
699
- - Updated dependencies [dd800c22]
700
- - Updated dependencies [5352d512]
701
- - Updated dependencies [673f61b3]
702
- - @khanacademy/math-input@10.0.0
703
- - @khanacademy/perseus-core@0.2.0
704
-
705
- ## 8.0.0
706
-
707
- ### Major Changes
708
-
709
- - 0993a46b: Don't generate Flow types
710
-
711
- ### Patch Changes
712
-
713
- - afb14cff: Add eslint rule to make type imports consistent
714
- - ce5e6297: Upgrade wonder-blocks deps to package versions without Flow types
715
- - 410d490d: Improve Typescript types for the ArticleRenderer and ProvideKeypad mixin
716
- - Updated dependencies [302ca7f7]
717
- - Updated dependencies [0993a46b]
718
- - Updated dependencies [87aadc43]
719
- - Updated dependencies [afb14cff]
720
- - Updated dependencies [19054322]
721
- - Updated dependencies [ce5e6297]
722
- - Updated dependencies [0993a46b]
723
- - Updated dependencies [196d2a39]
724
- - Updated dependencies [b93f9f74]
725
- - @khanacademy/math-input@9.0.0
726
- - @khanacademy/simple-markdown@0.10.0
727
- - @khanacademy/kmath@0.1.2
728
- - @khanacademy/perseus-linter@0.3.2
729
- - @khanacademy/pure-markdown@0.2.4
730
-
731
- ## 7.2.1
732
-
733
- ### Patch Changes
734
-
735
- - 89f54569: Types and tests for Plotter and Plotter-Editor
736
- - ea9dac75: Bugfix: allow legacy keypad to be positioned absolutely in column
737
- - 89f54569: Bugfix to hide drag instructions in static plotter
738
- - Updated dependencies [ea9dac75]
739
- - Updated dependencies [30a99b82]
740
- - Updated dependencies [3fa556a3]
741
- - @khanacademy/math-input@8.1.2
742
-
743
- ## 7.2.0
744
-
745
- ### Minor Changes
746
-
747
- - e08f85ee: Add testing and improve error logging in the image editor
748
-
749
- ## 7.1.1
750
-
751
- ### Patch Changes
752
-
753
- - fc70e558: Fix the font size of inline MathJax 3 math in paragraphs, making it the same as KaTeX math.
754
-
755
- ## 7.1.0
756
-
757
- ### Minor Changes
758
-
759
- - 2fb66a97: Remove functionality of `useNewStyles` prop on `ArticleRenderer`
760
-
761
- ## 7.0.2
762
-
763
- ### Patch Changes
764
-
765
- - Updated dependencies [57f75510]
766
- - @khanacademy/perseus-core@0.1.1
767
- - @khanacademy/math-input@8.1.1
768
-
769
- ## 7.0.1
770
-
771
- ### Patch Changes
772
-
773
- - 5611204a: Adds back the export of the unwrapped keypad for Khanmigo
774
- - Updated dependencies [b4c06409]
775
- - Updated dependencies [5611204a]
776
- - Updated dependencies [b4430dce]
777
- - @khanacademy/perseus-core@0.1.0
778
- - @khanacademy/math-input@8.1.0
779
-
780
- ## 7.0.0
781
-
782
- ### Major Changes
783
-
784
- - f9ee9d24: Move KeypadContext from Perseus to MathInput
785
-
786
- ### Minor Changes
787
-
788
- - b18986d3: Adds useV2Keypad API option for switching between new and legacy keypads
789
-
790
- ### Patch Changes
791
-
792
- - b18986d3: Replace Legacy/Mobile keypads with a component that switches between them
793
- - Updated dependencies [f9ee9d24]
794
- - Updated dependencies [b18986d3]
795
- - @khanacademy/math-input@8.0.0
796
-
797
- ## 6.7.0
798
-
799
- ### Minor Changes
800
-
801
- - a0c71567: Make KaTeX CSS styles also apply to MathJax 3
802
-
803
- ## 6.6.0
804
-
805
- ### Minor Changes
806
-
807
- - d0f28dbd: Add story for ExpressionEditor
808
- - 077b125e: Extend argument object type for APIOptions.trackInteraction callback to support the arbitrary data each widget may add
809
-
810
- ### Patch Changes
811
-
812
- - Updated dependencies [04e68d1c]
813
- - Updated dependencies [d0f28dbd]
814
- - Updated dependencies [acafa72d]
815
- - Updated dependencies [54590cc7]
816
- - @khanacademy/math-input@7.0.0
817
-
818
- ## 6.5.1
819
-
820
- ### Patch Changes
821
-
822
- - 6ec8d96e: Clarify parameter type for APIOptions.trackInteraction
823
- - a022ff6c: Switch from `classname` to `id` for passage wrappers.
824
-
825
- ## 6.5.0
826
-
827
- ### Minor Changes
828
-
829
- - cc4bfe06: Switches out wrapped code blocks for horizontally-scrolling code blocks to account for python indentation syntax.
830
- - 9916bce4: Changed radio widget instruction font.
831
-
832
- ### Patch Changes
833
-
834
- - Updated dependencies [037a2db6]
835
- - @khanacademy/math-input@6.0.3
836
-
837
- ## 6.4.4
838
-
839
- ### Patch Changes
840
-
841
- - Updated dependencies [71c631ea]
842
- - @khanacademy/math-input@6.0.2
843
- - @khanacademy/perseus-core@0.0.2
844
-
845
- ## 6.4.3
846
-
847
- ### Patch Changes
848
-
849
- - 12b65f5e: Fix an issue where Graphie labels were sometimes incorrectly positioned when
850
- MathJax 3 was injected as the TeX renderer.
851
- - Updated dependencies [8d1745c1]
852
- - @khanacademy/math-input@6.0.1
853
-
854
- ## 6.4.2
855
-
856
- ### Patch Changes
857
-
858
- - Updated dependencies [36e3a212]
859
- - Updated dependencies [fa735526]
860
- - @khanacademy/math-input@6.0.0
861
-
862
- ## 6.4.1
863
-
864
- ### Patch Changes
865
-
866
- - Updated dependencies [0cd9f3c4]
867
- - @khanacademy/math-input@5.0.1
868
-
869
- ## 6.4.0
870
-
871
- ### Minor Changes
872
-
873
- - 1f3fdc6c: Introduce analytics API
874
-
875
- ### Patch Changes
876
-
877
- - Updated dependencies [1f3fdc6c]
878
- - Updated dependencies [d609230e]
879
- - Updated dependencies [0b37940d]
880
- - Updated dependencies [bfe68075]
881
- - Updated dependencies [1bad1cbe]
882
- - Updated dependencies [1f3fdc6c]
883
- - Updated dependencies [5f71cd01]
884
- - @khanacademy/perseus-core@0.0.1
885
- - @khanacademy/math-input@5.0.0
886
-
887
- ## 6.3.2
888
-
889
- ### Patch Changes
890
-
891
- - Updated dependencies [bec7c91c]
892
- - @khanacademy/math-input@4.3.1
893
-
894
- ## 6.3.1
895
-
896
- ### Patch Changes
897
-
898
- - Updated dependencies [cf29ed88]
899
- - @khanacademy/math-input@4.3.0
900
-
901
- ## 6.3.0
902
-
903
- ### Minor Changes
904
-
905
- - d497118e: MathInput exports tools for generating MathFields, replacing the need for direct MathQuill access
906
-
907
- ### Patch Changes
908
-
909
- - Updated dependencies [e7d21b67]
910
- - Updated dependencies [d497118e]
911
- - Updated dependencies [eceb4510]
912
- - @khanacademy/math-input@4.2.0
913
-
914
- ## 6.2.2
915
-
916
- ### Patch Changes
917
-
918
- - 5fba7c60: Remove pi as a default answerForm for numeric-input
919
- - Updated dependencies [31ed8380]
920
- - Updated dependencies [937d2308]
921
- - @khanacademy/math-input@4.1.1
922
-
923
- ## 6.2.1
924
-
925
- ### Patch Changes
926
-
927
- - Updated dependencies [a7f56710]
928
- - Updated dependencies [a7f56710]
929
- - @khanacademy/math-input@4.1.0
930
-
931
- ## 6.2.0
932
-
933
- ### Minor Changes
934
-
935
- - e900688e: Centralize Key2MathQuill translator. TeXButtons send keypresses, not strings/functions anymore.
936
-
937
- ### Patch Changes
938
-
939
- - 83d93e8f: Remove the use of Record<string, never> which is unsafe
940
- - 3a3c317d: Refactor MathWrapper to use shared key2MathQuill translator
941
- - Updated dependencies [0d352105]
942
- - Updated dependencies [c4b8d862]
943
- - Updated dependencies [47055ffc]
944
- - Updated dependencies [e900688e]
945
- - Updated dependencies [3a3c317d]
946
- - @khanacademy/math-input@4.0.0
947
-
948
- ## 6.1.0
949
-
950
- ### Minor Changes
951
-
952
- - e86cc72f: Keypad API: Button sets on keypad switched to optional booleans. Added all designed button sets as props, but not all are yet implemented.
953
-
954
- ### Patch Changes
955
-
956
- - ec37eb3d: Export v2 keypad, rename v1 keypad to ProvidedKeypad
957
- - Updated dependencies [46417c53]
958
- - Updated dependencies [97438065]
959
- - Updated dependencies [85d9132a]
960
- - Updated dependencies [42297993]
961
- - Updated dependencies [1ffbe3ef]
962
- - Updated dependencies [e86cc72f]
963
- - Updated dependencies [ec37eb3d]
964
- - Updated dependencies [c0a15907]
965
- - Updated dependencies [d9759ea6]
966
- - @khanacademy/math-input@3.0.0
967
-
968
- ## 6.0.0
969
-
970
- ### Major Changes
971
-
972
- - 4a368030: Remove getKaTeX from the PerseusDependencies type
973
-
974
- perseus-editor now detects KaTeX rendering errors by calling KaTeX directly,
975
- rather than using getKaTeX from PerseusDependencies.
976
-
977
- The logKaTeXError method, which was unused by Perseus, has been removed from
978
- the PerseusDependencies type as well.
979
-
980
- Clients should update their code by removing the getKaTeX and logKaTeXError
981
- properties from their PerseusDependencies object. If they want to log an error
982
- when TeX fails to render, they should do so in their TeX component.
983
-
984
- - 9c4a6c96: Remove obsolete properties from the PerseusDependencies type
985
-
986
- We are in the process of migrating the webapp and mobile repos to use
987
- MathJax 3 as their math renderer instead of KaTeX. This change removes some of
988
- Perseus's dependencies on KaTeX.
989
-
990
- Clients should update their code by removing the `getRenderA11yString`,
991
- `loadMathjax`, `KatexProvider`, and `shouldUseFutureKaTeX` properties from
992
- their PerseusDependencies object.
993
-
994
- ### Patch Changes
995
-
996
- - 5cc23179: Upgraded <Lint> component to use TypeScript types for props
997
- - e0a087d0: Upgraded <InlineIcon> component to use TypeScript types for props
998
- - b062ad47: Upgraded <MathOutput> component to use TypeScript types for props
999
- - 8a47076d: Upgraded <Tooltip> component to use TypeScript types for props
1000
- - 09ab3260: Upgraded HUD component to use TypeScript types for props
1001
- - 5432857d: Upgraded <Sortable> component (not widget) to use TypeScript types for props
1002
- - 40c2736d: Upgraded Graphie component to use TypeScript types for props
1003
- - b585fe29: Switch most @khanacademy/math-input psuedo-enums to enums
1004
- - 91617cfa: Upgraded FixedToResponsive component to use TypeScript types for props
1005
- - e284e7c1: Upgraded Graph component to use TypeScript types for props
1006
- - Updated dependencies [b585fe29]
1007
- - Updated dependencies [0c1cf562]
1008
- - @khanacademy/math-input@2.0.0
1009
-
1010
- ## 5.0.0
1011
-
1012
- ### Major Changes
1013
-
1014
- - 472e20e1: Remove all references to multipleNumberInput (ie. Ask for (one|all) correct solution)
1015
-
1016
- ### Patch Changes
1017
-
1018
- - 22c5d564: Remove the use of React.FC<> and use types named Props/State in more components
1019
- - Updated dependencies [4c03a43d]
1020
- - Updated dependencies [22c5d564]
1021
- - @khanacademy/math-input@1.0.0
1022
- - @khanacademy/simple-markdown@0.9.3
1023
- - @khanacademy/pure-markdown@0.2.3
1024
-
1025
- ## 4.0.2
1026
-
1027
- ### Patch Changes
1028
-
1029
- - 90c1833e: Fix lint
1030
- - Updated dependencies [8e8d85cd]
1031
- - Updated dependencies [77391aa8]
1032
- - @khanacademy/math-input@0.7.2
1033
- - @khanacademy/simple-markdown@0.9.2
1034
- - @khanacademy/pure-markdown@0.2.2
1035
-
1036
- ## 4.0.1
1037
-
1038
- ### Patch Changes
1039
-
1040
- - 1f062e98: Bump all package versions since the build settings have been updated
1041
- - df820619: Update TS to 5.0 and @babel/preset-env settings to match other repos
1042
- - 406edf6b: Extract strings to dist/string.js instead of dist/strings.
1043
- - Updated dependencies [1f062e98]
1044
- - Updated dependencies [406edf6b]
1045
- - @khanacademy/kas@0.3.1
1046
- - @khanacademy/kmath@0.1.1
1047
- - @khanacademy/math-input@0.7.1
1048
- - @khanacademy/perseus-linter@0.3.1
1049
- - @khanacademy/pure-markdown@0.2.1
1050
- - @khanacademy/simple-markdown@0.9.1
1051
-
1052
- ## 4.0.0
1053
-
1054
- ### Major Changes
1055
-
1056
- - 53fd3768: Migrate source code to TypeScript
1057
-
1058
- ### Patch Changes
1059
-
1060
- - Updated dependencies [53fd3768]
1061
- - @khanacademy/kas@0.3.0
1062
- - @khanacademy/kmath@0.1.0
1063
- - @khanacademy/math-input@0.7.0
1064
- - @khanacademy/perseus-linter@0.3.0
1065
- - @khanacademy/pure-markdown@0.2.0
1066
- - @khanacademy/simple-markdown@0.9.0
1067
-
1068
- ## 3.0.0
1069
-
1070
- ### Major Changes
1071
-
1072
- - 8ca2a1a6: API change: remove staticRender from ApiOptions
1073
-
1074
- ## 2.1.0
1075
-
1076
- ### Minor Changes
1077
-
1078
- - 2c843b38: Update to use wonder-blocks deps after migrating wonder-blocks to TS
1079
-
1080
- ### Patch Changes
1081
-
1082
- - Updated dependencies [2c843b38]
1083
- - @khanacademy/math-input@0.6.8
1084
-
1085
- ## 2.0.1
1086
-
1087
- ### Patch Changes
1088
-
1089
- - 6272dfbe: Bugfix for definition prompt size in articles
1090
-
1091
- ## 2.0.0
1092
-
1093
- ### Major Changes
1094
-
1095
- - b850ebee: Remove `satStyling` from `APIOptions`
1096
- - b850ebee: Remove `styling` from `APIOptions`
1097
-
1098
- ### Patch Changes
1099
-
1100
- - 55841525: Fix graphie font-size to a specific size
1101
- - a325f740: Switch Definition's prompt from Button to Clickable to resolve text not matching
1102
-
1103
- ## 1.4.1
1104
-
1105
- ### Patch Changes
1106
-
1107
- - a1b4ab3c: Update wonder-blocks and wonder-stuff deps to fix an issue with wonder-stuff's generated flow types
1108
- - Updated dependencies [a1b4ab3c]
1109
- - @khanacademy/math-input@0.6.7
1110
- - @khanacademy/perseus-linter@0.2.5
1111
- - @khanacademy/pure-markdown@0.1.5
1112
-
1113
- ## 1.4.0
1114
-
1115
- ### Minor Changes
1116
-
1117
- - 324a197c: Quick font fixup
1118
- - f5693311: Indicators on exercises are now accessible via the keyboard! Additionally, they use explicit list markup! 🟢⚪⚪
1119
-
1120
- ### Patch Changes
1121
-
1122
- - 6a7f36be: Update wonder-stuff and wonder-blocks dependencies
1123
- - 7b94ca05: Update categorizer to have no empty "th" cells per a11y audit
1124
- - Updated dependencies [6a7f36be]
1125
- - @khanacademy/math-input@0.6.6
1126
- - @khanacademy/perseus-linter@0.2.4
1127
- - @khanacademy/pure-markdown@0.1.4
1128
-
1129
- ## 1.3.7
1130
-
1131
- ### Patch Changes
1132
-
1133
- - c238d540: Wrap all ReactDOM.render() calls in `<RenderStateRoot>` to ensure it propagates properly
1134
- - Updated dependencies [c238d540]
1135
- - @khanacademy/math-input@0.6.5
1136
-
1137
- ## 1.3.6
1138
-
1139
- ### Patch Changes
1140
-
1141
- - 859d3c28: Fixes styling of input-number when answer is incorrect in review mode
1142
-
1143
- ## 1.3.5
1144
-
1145
- ### Patch Changes
1146
-
1147
- - c4feda94: allow users to select text in radio choice
1148
- - 6f79dc58: Fix regression in input-number widget to respect `size` and `rightAlign` options again.
1149
-
1150
- ## 1.3.4
1151
-
1152
- ### Patch Changes
1153
-
1154
- - 5a565227: bugfix for Radio editor selection and deletion
1155
-
1156
- ## 1.3.3
1157
-
1158
- ### Patch Changes
1159
-
1160
- - 47d2afc0: Force radio text to be dark for contrast
1161
-
1162
- ## 1.3.2
1163
-
1164
- ### Patch Changes
1165
-
1166
- - 1454c80a: Change to shape/space Radio Choice's "cross out" button
1167
-
1168
- ## 1.3.1
1169
-
1170
- ### Patch Changes
1171
-
1172
- - 9b3bf30f: CSS bug fixes for SAT Radio widget
1173
- - Updated dependencies [113953e8]
1174
- - @khanacademy/math-input@0.6.4
1175
-
1176
- ## 1.3.0
1177
-
1178
- ### Minor Changes
1179
-
1180
- - e783be76: Fix passage fonts because content depends on it being an exact size
1181
-
1182
- ### Patch Changes
1183
-
1184
- - ec92d308: Fix bug with Passage where line numbers stopped abruptly
1185
- - dd55b5e4: Update gutter line numbers in passage
1186
-
1187
- ## 1.2.0
1188
-
1189
- ### Minor Changes
1190
-
1191
- - cede09bd: Fix passage widget bug bug where highlight is immediately lost when tooltip appears
1192
-
1193
- ### Patch Changes
1194
-
1195
- - 5ba90816: CSS fix to remove gradient background on math
1196
- - 96ddd9b7: Update package.json with yarn start command
1197
- - a90a52c6: Update body fonts
1198
-
1199
- ## 1.1.2
1200
-
1201
- ### Patch Changes
1202
-
1203
- - b8b0ff7e: Update graded-group widget title to use a darker gray to meet a11y requirements
1204
- - 1dad999d: bugfix: add indention back to Passage widget
1205
- - cc5103be: Small fix to communicate the "current" state of graded-group-sets to screen readers.
1206
-
1207
- ## 1.1.1
1208
-
1209
- ### Patch Changes
1210
-
1211
- - 5b86aba4: bugfix: add size and rightAlign back to numeric-input widget
1212
- - 5b86aba4: bugfix for Matrix styles not getting passed through
1213
- - 6b48ca35: A tiny change that adds some aria labels to our message container so that the content will be read to screen readers upon update.
1214
-
1215
- ## 1.1.0
1216
-
1217
- ### Minor Changes
1218
-
1219
- - 178987d6: Creates a native accessibility experience for Radio widget
1220
-
1221
- ### Patch Changes
1222
-
1223
- - f046585a: add shared PerseusNumericInputAnswerForm and MathFormat types to perseus-types
1224
- - e342e6b2: Update CSS to match wonderblocks, round I
1225
-
1226
- ## 1.0.0
1227
-
1228
- ### Major Changes
1229
-
1230
- - f9e0cda6: Change API shape: remove radioStyleVersion, add primaryProductColor to styling
1231
-
1232
- ### Minor Changes
1233
-
1234
- - 61a7084e: make multi-select options look more like checkboxes
1235
-
1236
- ### Patch Changes
1237
-
1238
- - 2a3ac714: adds better flow coverage to base-radio.jsx
1239
- - 28170809: refactors base-radio to be a functional component
1240
- - ea104d1c: Delete original choice icon now that it's been refactored and moved
1241
- - 8c6c60f5: Converts OptionStatus component to a functional component
1242
- - 80e2cafc: refactor focus-ring to functional component
1243
- - f567f660: Update the eslint config to look at both the package.json for the package and the one from the root
1244
- - e8a60745: increase story/test coverage of base-radio
1245
- - 61a7084e: code cleanup for the choice-icon radio sub-component
1246
- - 16eccaea: convert Radio's Choice component into a functional component
1247
- - eeaa9010: Add more Flow typing to passage and passage-markdown widgets
1248
- - d4d2b3a6: removes unused crossOutButton component
1249
- - 46859806: Increases flow coverage for Radio's Widget component to 100%
1250
- - f5682ad6: fixes a bug in the multiselect radio widget to allow selected choices to be unselected
1251
- - Updated dependencies [f567f660]
1252
- - Updated dependencies [eeaa9010]
1253
- - @khanacademy/kas@0.2.7
1254
- - @khanacademy/kmath@0.0.8
1255
- - @khanacademy/math-input@0.6.3
1256
- - @khanacademy/perseus-linter@0.2.3
1257
- - @khanacademy/pure-markdown@0.1.3
1258
- - @khanacademy/simple-markdown@0.8.6
1259
-
1260
- ## 0.4.3
1261
-
1262
- ### Patch Changes
1263
-
1264
- - bf180fe1: Fix our use of import/no-extraneous-dependencies
1265
- - Updated dependencies [bf180fe1]
1266
- - @khanacademy/kas@0.2.6
1267
- - @khanacademy/kmath@0.0.7
1268
- - @khanacademy/math-input@0.6.2
1269
- - @khanacademy/perseus-linter@0.2.2
1270
- - @khanacademy/pure-markdown@0.1.2
1271
- - @khanacademy/simple-markdown@0.8.5
1272
-
1273
- ## 0.4.2
1274
-
1275
- ### Patch Changes
1276
-
1277
- - b317b553: Update tooltip design
1278
- - 1a91b6c2: Adds missing wonder-blocks deps, makes wonder-blocks peerDeps
1279
- - Updated dependencies [1a91b6c2]
1280
- - @khanacademy/math-input@0.6.1
1281
-
1282
- ## 0.4.1
1283
-
1284
- ### Patch Changes
1285
-
1286
- - Updated dependencies [8fcd2a28]
1287
- - @khanacademy/math-input@0.6.0
1288
-
1289
- ## 0.4.0
1290
-
1291
- ### Minor Changes
1292
-
1293
- - fe5fedeb: Fix bug: 2 definitions displayed at once
1294
- - c13a5c93: Wonderblock numeric-input
1295
- - 7f92fd27: Remove JIPT.domInsertChecks from `PerseusDependencies` as its no longer used/needed by Perseus
1296
- - 8a49423f: Update radio widget with KA styling
1297
- - 988726bd: Change default "preloader" for `SvgImage` to use a WonderBlocks spinner. This avoids the need to deal with a bundled spinner GIF entirely.
1298
-
1299
- ### Patch Changes
1300
-
1301
- - 8a53d9e0: removes unused function from numeric-input.jsx named getClasses
1302
- - 23662202: Remove `isPhone` and `isTablet` from `PerseusDependencies`
1303
- - 98d283ff: Fix storybook
1304
- - Updated dependencies [98d283ff]
1305
- - @khanacademy/kas@0.2.5
1306
- - @khanacademy/kmath@0.0.6
1307
- - @khanacademy/math-input@0.5.6
1308
- - @khanacademy/perseus-linter@0.2.1
1309
- - @khanacademy/pure-markdown@0.1.1
1310
- - @khanacademy/simple-markdown@0.8.4
1311
-
1312
- ## 0.3.4
1313
-
1314
- ### Patch Changes
1315
-
1316
- - 397c3660: Fix: remove gap between popover and popover anchor in definition widget
1317
- - Updated dependencies [6f8f1ac9]
1318
- - @khanacademy/math-input@0.5.5
1319
-
1320
- ## 0.3.3
1321
-
1322
- ### Patch Changes
1323
-
1324
- - Updated dependencies [f29b4975]
1325
- - @khanacademy/math-input@0.5.4
1326
-
1327
- ## 0.3.2
1328
-
1329
- ### Patch Changes
1330
-
1331
- - Updated dependencies [96288b87]
1332
- - @khanacademy/math-input@0.5.3
1333
-
1334
- ## 0.3.1
1335
-
1336
- ### Patch Changes
1337
-
1338
- - bfbcf273: Export new type: VideoKind (a parameter for the `useVideo` hook)
1339
-
1340
- ## 0.3.0
1341
-
1342
- ### Minor Changes
1343
-
1344
- - 2578bd16: Rename NotGorgon to TranslationLinter
1345
- - 2578bd16: Rename Gorgon to PerseusLinter
1346
-
1347
- ### Patch Changes
1348
-
1349
- - 4fb18745: Consume math-input .less directly instead of post-compilation
1350
- - Updated dependencies [2578bd16]
1351
- - Updated dependencies [2578bd16]
1352
- - @khanacademy/perseus-linter@0.2.0
1353
-
1354
- ## 0.2.8
1355
-
1356
- ### Patch Changes
1357
-
1358
- - a4f10ace: Move Gorgon, PerseusError, PureMarkdown into their own packages
1359
- - Updated dependencies [a4f10ace]
1360
- - @khanacademy/perseus-linter@0.1.0
1361
- - @khanacademy/pure-markdown@0.1.0
1362
-
1363
- ## 0.2.7
1364
-
1365
- ### Patch Changes
1366
-
1367
- - 3921a385: Fix bug where JIPT integration parsing rules returned incorrect type
1368
- - Updated dependencies [3921a385]
1369
- - @khanacademy/simple-markdown@0.8.3
1370
-
1371
- ## 0.2.6
1372
-
1373
- ### Patch Changes
1374
-
1375
- - 5d67bb03: Add missing deps to peer/dev deps in package.json files
1376
-
1377
- ## 0.2.5
1378
-
1379
- ### Patch Changes
1380
-
1381
- - Updated dependencies [a15b0e86]
1382
- - @khanacademy/kas@0.2.4
1383
- - @khanacademy/math-input@0.5.2
1384
- - @khanacademy/simple-markdown@0.8.2
1385
-
1386
- ## 0.2.4
1387
-
1388
- ### Patch Changes
1389
-
1390
- - 5d86a625: Remove all unused fields from `Dependencies.InitialRequestUrl`
1391
-
1392
- ## 0.2.3
1393
-
1394
- ### Patch Changes
1395
-
1396
- - 73095170: Add `VideoData` to set of exported Perseus types.
1397
-
1398
- ## 0.2.2
1399
-
1400
- ### Patch Changes
1401
-
1402
- - 591420a6: Add @flow comment to math-input's index.js and missing props to ProvidedKeypad
1403
- - Updated dependencies [591420a6]
1404
- - @khanacademy/math-input@0.5.1
1405
-
1406
- ## 0.2.1
1407
-
1408
- ### Patch Changes
1409
-
1410
- - e56ab24b: Exclude all deps from bundle except for vendored deps
1411
- - Updated dependencies [ca76baa3]
1412
- - @khanacademy/simple-markdown@0.8.1
1413
-
1414
- ## 0.2.0
1415
-
1416
- ### Minor Changes
1417
-
1418
- - 116df39b: Extract math-input strings from source and save them to packages/math-input/dist
1419
-
1420
- ### Patch Changes
1421
-
1422
- - Updated dependencies [ea57be17]
1423
- - Updated dependencies [116df39b]
1424
- - Updated dependencies [570c5800]
1425
- - @khanacademy/math-input@0.5.0
1426
- - @khanacademy/kas@0.2.3
1427
-
1428
- ## 0.1.0
1429
-
1430
- ### Minor Changes
1431
-
1432
- - 21ee944a: Code from webapp has been copied over and all checks are passing.