@khanacademy/perseus 6.4.4 → 6.5.1

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 (34) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/es/index.css +607 -388
  3. package/dist/es/index.js +12 -8
  4. package/dist/es/index.js.map +1 -1
  5. package/dist/index.css +607 -388
  6. package/dist/index.js +12 -9
  7. package/dist/index.js.map +1 -1
  8. package/dist/interaction-tracker.d.ts +3 -3
  9. package/dist/interaction-tracker.js.flow +4 -2
  10. package/dist/perseus-api.d.ts +5 -1
  11. package/dist/perseus-api.js.flow +7 -1
  12. package/dist/server-item-renderer.js.flow +4 -4
  13. package/dist/types.d.ts +5 -1
  14. package/dist/types.js.flow +5 -1
  15. package/dist/widgets/radio/choice.js.flow +1 -4
  16. package/package.json +2 -2
  17. package/src/__stories__/item-renderer.stories.tsx +5 -0
  18. package/src/__testdata__/item-renderer.testdata.ts +139 -0
  19. package/src/interaction-tracker.ts +4 -3
  20. package/src/multi-items/__tests__/__snapshots__/multi-renderer.test.tsx.snap +8 -8
  21. package/src/styles/articles.less +24 -18
  22. package/src/styles/khan-exercise.css +577 -365
  23. package/src/styles/widgets/passage.less +37 -28
  24. package/src/types.ts +9 -1
  25. package/src/widgets/__stories__/passage-ref.stories.tsx +18 -7
  26. package/src/widgets/__stories__/passage.stories.tsx +16 -3
  27. package/src/widgets/__tests__/__snapshots__/group.test.tsx.snap +8 -8
  28. package/src/widgets/__tests__/__snapshots__/passage-ref.test.ts.snap +6 -6
  29. package/src/widgets/__tests__/__snapshots__/passage.test.tsx.snap +12 -12
  30. package/src/widgets/__tests__/__snapshots__/radio.test.ts.snap +49 -49
  31. package/src/widgets/passage.tsx +13 -2
  32. package/src/widgets/radio/base-radio.tsx +2 -1
  33. package/src/widgets/radio/choice.tsx +1 -0
  34. package/tsconfig-build.tsbuildinfo +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @khanacademy/perseus
2
2
 
3
+ ## 6.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 6ec8d96e: Clarify parameter type for APIOptions.trackInteraction
8
+ - a022ff6c: Switch from `classname` to `id` for passage wrappers.
9
+
10
+ ## 6.5.0
11
+
12
+ ### Minor Changes
13
+
14
+ - cc4bfe06: Switches out wrapped code blocks for horizontally-scrolling code blocks to account for python indentation syntax.
15
+ - 9916bce4: Changed radio widget instruction font.
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [037a2db6]
20
+ - @khanacademy/math-input@6.0.3
21
+
3
22
  ## 6.4.4
4
23
 
5
24
  ### Patch Changes