@khanacademy/perseus 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/es/index.css +2 -2
- package/dist/es/index.js +14997 -15079
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +2 -2
- package/dist/index.js +15033 -15113
- package/dist/index.js.map +1 -1
- package/dist/strings.js +1 -0
- package/package.json +7 -7
- package/src/__stories__/hints-renderer.stories.jsx +52 -0
- package/src/__tests__/__snapshots__/renderer_test.jsx.snap +21 -3
- package/src/components/highlighting/ui/highlight-tooltip.jsx +29 -23
- package/src/components/highlighting/ui/selection-tracker.jsx +17 -28
- package/src/hints-renderer.jsx +13 -4
- package/src/mixins/__tests__/widget-prop-blacklist_test.js +23 -0
- package/src/mixins/widget-prop-blacklist.js +15 -1
- package/src/multi-items/__tests__/__snapshots__/multi-renderer_test.js.snap +30 -10
- package/src/styles/articles.less +0 -2
- package/src/styles/perseus-renderer.less +1 -1
- package/src/styles/widgets/passage.less +1 -0
- package/src/types.js +1 -1
- package/src/widgets/__tests__/__snapshots__/dropdown_test.jsx.snap +16 -2
- package/src/widgets/__tests__/__snapshots__/graded-group-set-jipt_test.jsx.snap +3 -3
- package/src/widgets/__tests__/__snapshots__/graded-group-set_test.jsx.snap +7 -1
- package/src/widgets/__tests__/__snapshots__/graded-group_test.jsx.snap +2 -2
- package/src/widgets/__tests__/__snapshots__/group_test.jsx.snap +30 -10
- package/src/widgets/__tests__/__snapshots__/passage-ref_test.jsx.snap +3 -3
- package/src/widgets/__tests__/__snapshots__/passage_test.jsx.snap +6 -6
- package/src/widgets/__tests__/__snapshots__/radio_test.jsx.snap +300 -218
- package/src/widgets/__tests__/radio/base-radio_test.jsx +90 -6
- package/src/widgets/__tests__/radio/choice-icon_test.jsx +74 -0
- package/src/widgets/__tests__/radio/choice_test.jsx +39 -30
- package/src/widgets/__tests__/radio_test.jsx +228 -22
- package/src/widgets/graded-group-set.jsx +8 -1
- package/src/widgets/graded-group.jsx +2 -1
- package/src/widgets/passage-ref.jsx +21 -5
- package/src/widgets/passage.jsx +3 -1
- package/src/widgets/radio/__stories__/base-radio.stories.jsx +7 -3
- package/src/widgets/radio/base-radio.jsx +3 -1
- package/src/widgets/radio/choice-icon/cross-out-line.jsx +3 -2
- package/src/widgets/radio/choice-icon/library-choice-icon.jsx +17 -6
- package/src/widgets/radio/choice.jsx +2 -1
- package/src/components/new-tooltip/README.md +0 -3
- package/src/components/new-tooltip/__stories__/new-tooltip.stories.jsx +0 -665
- package/src/components/new-tooltip/__tests__/style-constants_test.js +0 -8
- package/src/components/new-tooltip/new-tooltip.jsx +0 -155
- package/src/components/new-tooltip/style-constants.js +0 -13
- package/src/components/new-tooltip/types.js +0 -183
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @khanacademy/perseus
|
|
2
2
|
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- cede09bd: Fix passage widget bug bug where highlight is immediately lost when tooltip appears
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 5ba90816: CSS fix to remove gradient background on math
|
|
12
|
+
- 96ddd9b7: Update package.json with yarn start command
|
|
13
|
+
- a90a52c6: Update body fonts
|
|
14
|
+
|
|
15
|
+
## 1.1.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- b8b0ff7e: Update graded-group widget title to use a darker gray to meet a11y requirements
|
|
20
|
+
- 1dad999d: bugfix: add indention back to Passage widget
|
|
21
|
+
- cc5103be: Small fix to communicate the "current" state of graded-group-sets to screen readers.
|
|
22
|
+
|
|
3
23
|
## 1.1.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/es/index.css
CHANGED
|
@@ -1467,7 +1467,6 @@ body.mobile ul.inequalities-one-line-radios > li {
|
|
|
1467
1467
|
position: relative;
|
|
1468
1468
|
}
|
|
1469
1469
|
.bibliotron-article.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-block-math:before {
|
|
1470
|
-
background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
|
|
1471
1470
|
bottom: 0;
|
|
1472
1471
|
content: "";
|
|
1473
1472
|
position: absolute;
|
|
@@ -2285,7 +2284,7 @@ img.zoom-img {
|
|
|
2285
2284
|
z-index: 3;
|
|
2286
2285
|
}
|
|
2287
2286
|
.framework-perseus div.paragraph {
|
|
2288
|
-
font-family: "
|
|
2287
|
+
font-family: "Lato", sans-serif;
|
|
2289
2288
|
font-weight: 400;
|
|
2290
2289
|
font-size: 18px;
|
|
2291
2290
|
line-height: 22px;
|
|
@@ -3075,6 +3074,7 @@ body.mobile .perseus-matrix .math-output {
|
|
|
3075
3074
|
font-weight: 400;
|
|
3076
3075
|
font-size: 20px;
|
|
3077
3076
|
line-height: 24px;
|
|
3077
|
+
text-indent: 20px;
|
|
3078
3078
|
}
|
|
3079
3079
|
.perseus-widget-passage-container .passage-text div.paragraph span {
|
|
3080
3080
|
text-indent: 0;
|