@khanacademy/perseus 17.5.0 → 17.6.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 (46) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/es/index.js +415 -618
  3. package/dist/es/index.js.map +1 -1
  4. package/dist/index.js +424 -615
  5. package/dist/index.js.map +1 -1
  6. package/dist/perseus-types.d.ts +2 -1
  7. package/dist/strings.js +1 -0
  8. package/dist/widgets/deprecated-standin/index.d.ts +32 -0
  9. package/dist/widgets/label-image/answer-choices.d.ts +8 -40
  10. package/dist/widgets/label-image/answer-pill.d.ts +3 -1
  11. package/dist/widgets/label-image/marker.d.ts +10 -5
  12. package/dist/widgets/label-image.d.ts +1 -8
  13. package/dist/widgets.d.ts +9 -0
  14. package/package.json +34 -33
  15. package/src/__tests__/widgets.test.ts +20 -0
  16. package/src/extra-widgets.ts +2 -0
  17. package/src/init.ts +5 -0
  18. package/src/perseus-types.ts +4 -1
  19. package/src/util/register-all-widgets-for-testing.ts +4 -0
  20. package/src/widgets/__stories__/orderer.stories.tsx +5 -1
  21. package/src/widgets/__testdata__/orderer.testdata.ts +66 -0
  22. package/src/widgets/deprecated-standin/__stories__/deprecated-standin.stories.tsx +34 -0
  23. package/src/widgets/deprecated-standin/__tests__/__snapshots__/deprecated-standin.test.ts.snap +71 -0
  24. package/src/widgets/deprecated-standin/__tests__/deprecated-standin.test.ts +93 -0
  25. package/src/widgets/deprecated-standin/index.tsx +57 -0
  26. package/src/widgets/iframe.tsx +1 -1
  27. package/src/widgets/input-number.tsx +1 -1
  28. package/src/widgets/label-image/__stories__/answer-choices.stories.tsx +29 -34
  29. package/src/widgets/label-image/__tests__/answer-pill.test.tsx +2 -10
  30. package/src/widgets/label-image/answer-choices.tsx +60 -278
  31. package/src/widgets/label-image/answer-pill.tsx +22 -13
  32. package/src/widgets/label-image/marker.tsx +103 -146
  33. package/src/widgets/label-image.test.ts +0 -2
  34. package/src/widgets/label-image.tsx +94 -195
  35. package/src/widgets/lights-puzzle.tsx +1 -1
  36. package/src/widgets/matcher.tsx +1 -1
  37. package/src/widgets/numeric-input.tsx +1 -1
  38. package/src/widgets/radio.ts +1 -1
  39. package/src/widgets/reaction-diagram.tsx +1 -1
  40. package/src/widgets/sequence.tsx +1 -1
  41. package/src/widgets/simulator.tsx +1 -1
  42. package/src/widgets/table.tsx +1 -1
  43. package/src/widgets/transformer.tsx +2 -1
  44. package/src/widgets/unit.tsx +1 -1
  45. package/src/widgets.ts +24 -0
  46. package/tsconfig-build.tsbuildinfo +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @khanacademy/perseus
2
2
 
3
+ ## 17.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ * [#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
10
+
11
+ * Updated dependencies [[`f02eb991`](https://github.com/Khan/perseus/commit/f02eb991cec37dcff02056c0d6b54fc6dfd96948)]:
12
+ - @khanacademy/math-input@16.4.1
13
+
14
+ ## 17.6.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [#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
19
+
3
20
  ## 17.5.0
4
21
 
5
22
  ### Minor Changes