@khanacademy/perseus 1.3.1 → 1.3.3
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 +12 -12
- package/dist/es/index.js +13 -3
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +12 -12
- package/dist/index.js +13 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/multi-items/__tests__/__snapshots__/multi-renderer_test.js.snap +10 -10
- package/src/styles/articles.less +6 -6
- package/src/widgets/__tests__/__snapshots__/group_test.jsx.snap +10 -10
- package/src/widgets/__tests__/__snapshots__/radio_test.jsx.snap +104 -104
- package/src/widgets/radio/choice.jsx +10 -1
|
@@ -177,6 +177,7 @@ function Choice(props: ChoicePropsWithForwardRef): React.Node {
|
|
|
177
177
|
style={{
|
|
178
178
|
dispay: "flex",
|
|
179
179
|
flexDirection: "column",
|
|
180
|
+
color: Color.offBlack,
|
|
180
181
|
}}
|
|
181
182
|
className={descriptionClassName}
|
|
182
183
|
>
|
|
@@ -227,7 +228,7 @@ function Choice(props: ChoicePropsWithForwardRef): React.Node {
|
|
|
227
228
|
apiOptions.staticRender ||
|
|
228
229
|
apiOptions.readOnly
|
|
229
230
|
}
|
|
230
|
-
style={{flex: 1}}
|
|
231
|
+
style={{flex: 1, color: Color.offBlack}}
|
|
231
232
|
ref={(forwardedRef: any)}
|
|
232
233
|
aria-hidden="true"
|
|
233
234
|
>
|
|
@@ -340,6 +341,14 @@ function Choice(props: ChoicePropsWithForwardRef): React.Node {
|
|
|
340
341
|
pos,
|
|
341
342
|
)}`}
|
|
342
343
|
disabled={apiOptions.staticRender}
|
|
344
|
+
style={{
|
|
345
|
+
alignSelf: "center",
|
|
346
|
+
padding: "5px",
|
|
347
|
+
display: "flex",
|
|
348
|
+
justifyContent: "center",
|
|
349
|
+
alignItems: "center",
|
|
350
|
+
marginLeft: "10px",
|
|
351
|
+
}}
|
|
343
352
|
>
|
|
344
353
|
{({hovered, focused, pressed}) => (
|
|
345
354
|
<Icon
|