@khanacademy/perseus 18.0.0 → 18.0.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.
- package/CHANGELOG.md +9 -0
- package/dist/es/index.js +7 -2
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/widgets/label-image/answer-pill.tsx +6 -1
- package/tsconfig-build.tsbuildinfo +1 -1
package/dist/index.js
CHANGED
|
@@ -31108,7 +31108,7 @@ const AnswerPill = props => {
|
|
|
31108
31108
|
id: idFactory.get("perseus-label-image-widget-answer-pill"),
|
|
31109
31109
|
onClick: correct ? undefined : onClick,
|
|
31110
31110
|
ref: ref,
|
|
31111
|
-
style: [style, popperStyle, styles$h.
|
|
31111
|
+
style: [style, popperStyle, styles$h.pill, correct && styles$h.correct, incorrect && styles$h.incorrect, (focused || hovered) && BringToFront]
|
|
31112
31112
|
}, /*#__PURE__*/React__namespace.createElement(Renderer, {
|
|
31113
31113
|
content: answerString,
|
|
31114
31114
|
inline: true
|
|
@@ -31122,6 +31122,11 @@ const styles$h = aphrodite.StyleSheet.create({
|
|
|
31122
31122
|
},
|
|
31123
31123
|
incorrect: {
|
|
31124
31124
|
backgroundColor: Color__default["default"].offBlack64
|
|
31125
|
+
},
|
|
31126
|
+
pill: {
|
|
31127
|
+
// Reset the Pill's default height in order to account
|
|
31128
|
+
// for multi-line pills.
|
|
31129
|
+
height: "auto"
|
|
31125
31130
|
}
|
|
31126
31131
|
});
|
|
31127
31132
|
|
|
@@ -44097,7 +44102,7 @@ const init = function (options) {
|
|
|
44097
44102
|
|
|
44098
44103
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
44099
44104
|
const libName = "@khanacademy/perseus";
|
|
44100
|
-
const libVersion = "18.0.
|
|
44105
|
+
const libVersion = "18.0.1";
|
|
44101
44106
|
perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
44102
44107
|
|
|
44103
44108
|
const apiVersion = {
|