@khanacademy/perseus 6.4.3 → 6.5.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/components/graph.d.ts +2 -2
- package/dist/components/graph.js.flow +2 -2
- package/dist/components/svg-image.d.ts +1 -1
- package/dist/components/svg-image.js.flow +1 -1
- package/dist/es/index.css +583 -367
- package/dist/es/index.js +5 -5
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +583 -367
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/__stories__/item-renderer.stories.tsx +5 -0
- package/src/__testdata__/item-renderer.testdata.ts +139 -0
- package/src/components/graph.tsx +3 -2
- package/src/components/svg-image.tsx +1 -1
- package/src/multi-items/__tests__/__snapshots__/multi-renderer.test.tsx.snap +8 -8
- package/src/styles/articles.less +24 -18
- package/src/styles/khan-exercise.css +577 -365
- package/src/widgets/__tests__/__snapshots__/group.test.tsx.snap +8 -8
- package/src/widgets/__tests__/__snapshots__/radio.test.ts.snap +49 -49
- package/src/widgets/__tests__/expression.test.ts +0 -3
- package/src/widgets/expression.tsx +0 -1
- package/src/widgets/radio/base-radio.tsx +2 -1
- package/src/widgets/radio/choice.tsx +1 -0
- package/tsconfig-build.tsbuildinfo +1 -1
package/dist/es/index.js
CHANGED
|
@@ -2428,8 +2428,6 @@ const sendExpressionEvaluatedEvent = result => {
|
|
|
2428
2428
|
getDependencies().analytics({
|
|
2429
2429
|
type: "perseus:expression-evaluated",
|
|
2430
2430
|
payload: {
|
|
2431
|
-
virtualKeypadVersion: "PERSEUS_MATH_INPUT",
|
|
2432
|
-
// STOPSHIP: Or do we push that onto host application?
|
|
2433
2431
|
result
|
|
2434
2432
|
}
|
|
2435
2433
|
});
|
|
@@ -22687,7 +22685,8 @@ const Choice = function Choice(props) {
|
|
|
22687
22685
|
style: {
|
|
22688
22686
|
display: "flex",
|
|
22689
22687
|
flexDirection: "row",
|
|
22690
|
-
opacity: showDimmed ? 0.5 : 1.0
|
|
22688
|
+
opacity: showDimmed ? 0.5 : 1.0,
|
|
22689
|
+
overflow: "auto"
|
|
22691
22690
|
}
|
|
22692
22691
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22693
22692
|
className: "perseus-sr-only"
|
|
@@ -23156,6 +23155,7 @@ const styles$r = StyleSheet.create({
|
|
|
23156
23155
|
color: gray17,
|
|
23157
23156
|
fontSize: 14,
|
|
23158
23157
|
lineHeight: 1.25,
|
|
23158
|
+
fontFamily: "inherit",
|
|
23159
23159
|
fontStyle: "normal",
|
|
23160
23160
|
fontWeight: "bold",
|
|
23161
23161
|
marginBottom: 16
|
|
@@ -23226,13 +23226,13 @@ const styles$r = StyleSheet.create({
|
|
|
23226
23226
|
responsiveContainer: {
|
|
23227
23227
|
overflow: "auto",
|
|
23228
23228
|
marginLeft: negativePhoneMargin,
|
|
23229
|
-
marginRight: negativePhoneMargin,
|
|
23230
23229
|
paddingLeft: phoneMargin
|
|
23231
23230
|
// paddingRight is handled by responsiveFieldset
|
|
23232
23231
|
},
|
|
23233
23232
|
|
|
23234
23233
|
responsiveFieldset: {
|
|
23235
|
-
paddingRight: phoneMargin
|
|
23234
|
+
paddingRight: phoneMargin,
|
|
23235
|
+
minWidth: "auto"
|
|
23236
23236
|
}
|
|
23237
23237
|
});
|
|
23238
23238
|
|