@khanacademy/perseus 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/es/index.css +1 -0
  3. package/dist/es/index.js +15254 -15218
  4. package/dist/es/index.js.map +1 -1
  5. package/dist/index.css +1 -0
  6. package/dist/index.js +15270 -15233
  7. package/dist/index.js.map +1 -1
  8. package/dist/strings.js +1 -0
  9. package/package.json +1 -1
  10. package/src/__stories__/hints-renderer.stories.jsx +52 -0
  11. package/src/hints-renderer.jsx +13 -4
  12. package/src/mixins/__tests__/widget-prop-blacklist_test.js +23 -0
  13. package/src/mixins/widget-prop-blacklist.js +15 -1
  14. package/src/multi-items/__tests__/__snapshots__/multi-renderer_test.js.snap +30 -10
  15. package/src/styles/widgets/passage.less +1 -0
  16. package/src/types.js +1 -1
  17. package/src/widgets/__tests__/__snapshots__/graded-group-set-jipt_test.jsx.snap +3 -3
  18. package/src/widgets/__tests__/__snapshots__/graded-group-set_test.jsx.snap +7 -1
  19. package/src/widgets/__tests__/__snapshots__/graded-group_test.jsx.snap +2 -2
  20. package/src/widgets/__tests__/__snapshots__/group_test.jsx.snap +30 -10
  21. package/src/widgets/__tests__/__snapshots__/passage-ref_test.jsx.snap +3 -3
  22. package/src/widgets/__tests__/__snapshots__/passage_test.jsx.snap +6 -6
  23. package/src/widgets/__tests__/__snapshots__/radio_test.jsx.snap +300 -218
  24. package/src/widgets/__tests__/radio/base-radio_test.jsx +90 -6
  25. package/src/widgets/__tests__/radio/choice-icon_test.jsx +74 -0
  26. package/src/widgets/__tests__/radio/choice_test.jsx +39 -30
  27. package/src/widgets/__tests__/radio_test.jsx +228 -22
  28. package/src/widgets/graded-group-set.jsx +8 -1
  29. package/src/widgets/graded-group.jsx +2 -1
  30. package/src/widgets/passage-ref.jsx +21 -5
  31. package/src/widgets/passage.jsx +3 -1
  32. package/src/widgets/radio/__stories__/base-radio.stories.jsx +7 -3
  33. package/src/widgets/radio/base-radio.jsx +3 -1
  34. package/src/widgets/radio/choice-icon/cross-out-line.jsx +3 -2
  35. package/src/widgets/radio/choice-icon/library-choice-icon.jsx +17 -6
  36. package/src/widgets/radio/choice.jsx +2 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @khanacademy/perseus
2
2
 
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - b8b0ff7e: Update graded-group widget title to use a darker gray to meet a11y requirements
8
+ - 1dad999d: bugfix: add indention back to Passage widget
9
+ - cc5103be: Small fix to communicate the "current" state of graded-group-sets to screen readers.
10
+
3
11
  ## 1.1.1
4
12
 
5
13
  ### Patch Changes
package/dist/es/index.css CHANGED
@@ -3075,6 +3075,7 @@ body.mobile .perseus-matrix .math-output {
3075
3075
  font-weight: 400;
3076
3076
  font-size: 20px;
3077
3077
  line-height: 24px;
3078
+ text-indent: 20px;
3078
3079
  }
3079
3080
  .perseus-widget-passage-container .passage-text div.paragraph span {
3080
3081
  text-indent: 0;