@khanacademy/perseus 6.4.4 → 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 +12 -0
- package/dist/es/index.css +583 -367
- package/dist/es/index.js +5 -3
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +583 -367
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/__stories__/item-renderer.stories.tsx +5 -0
- package/src/__testdata__/item-renderer.testdata.ts +139 -0
- 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/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
|
@@ -22685,7 +22685,8 @@ const Choice = function Choice(props) {
|
|
|
22685
22685
|
style: {
|
|
22686
22686
|
display: "flex",
|
|
22687
22687
|
flexDirection: "row",
|
|
22688
|
-
opacity: showDimmed ? 0.5 : 1.0
|
|
22688
|
+
opacity: showDimmed ? 0.5 : 1.0,
|
|
22689
|
+
overflow: "auto"
|
|
22689
22690
|
}
|
|
22690
22691
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22691
22692
|
className: "perseus-sr-only"
|
|
@@ -23154,6 +23155,7 @@ const styles$r = StyleSheet.create({
|
|
|
23154
23155
|
color: gray17,
|
|
23155
23156
|
fontSize: 14,
|
|
23156
23157
|
lineHeight: 1.25,
|
|
23158
|
+
fontFamily: "inherit",
|
|
23157
23159
|
fontStyle: "normal",
|
|
23158
23160
|
fontWeight: "bold",
|
|
23159
23161
|
marginBottom: 16
|
|
@@ -23224,13 +23226,13 @@ const styles$r = StyleSheet.create({
|
|
|
23224
23226
|
responsiveContainer: {
|
|
23225
23227
|
overflow: "auto",
|
|
23226
23228
|
marginLeft: negativePhoneMargin,
|
|
23227
|
-
marginRight: negativePhoneMargin,
|
|
23228
23229
|
paddingLeft: phoneMargin
|
|
23229
23230
|
// paddingRight is handled by responsiveFieldset
|
|
23230
23231
|
},
|
|
23231
23232
|
|
|
23232
23233
|
responsiveFieldset: {
|
|
23233
|
-
paddingRight: phoneMargin
|
|
23234
|
+
paddingRight: phoneMargin,
|
|
23235
|
+
minWidth: "auto"
|
|
23234
23236
|
}
|
|
23235
23237
|
});
|
|
23236
23238
|
|