@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
package/package.json
CHANGED
|
@@ -137,7 +137,7 @@ exports[`multi-item renderer should snapshot: initial render 1`] = `
|
|
|
137
137
|
>
|
|
138
138
|
<div
|
|
139
139
|
class="description description_psmgei"
|
|
140
|
-
style="flex-direction: column;"
|
|
140
|
+
style="flex-direction: column; color: rgb(33, 36, 44);"
|
|
141
141
|
>
|
|
142
142
|
<div
|
|
143
143
|
style="display: flex; flex-direction: row; opacity: 1;"
|
|
@@ -215,7 +215,7 @@ exports[`multi-item renderer should snapshot: initial render 1`] = `
|
|
|
215
215
|
aria-disabled="false"
|
|
216
216
|
aria-hidden="true"
|
|
217
217
|
aria-label=""
|
|
218
|
-
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-
|
|
218
|
+
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-inlineStyles_1msdppf"
|
|
219
219
|
tabindex="0"
|
|
220
220
|
type="button"
|
|
221
221
|
>
|
|
@@ -314,7 +314,7 @@ exports[`multi-item renderer should snapshot: initial render 1`] = `
|
|
|
314
314
|
>
|
|
315
315
|
<div
|
|
316
316
|
class="description description_psmgei"
|
|
317
|
-
style="flex-direction: column;"
|
|
317
|
+
style="flex-direction: column; color: rgb(33, 36, 44);"
|
|
318
318
|
>
|
|
319
319
|
<div
|
|
320
320
|
style="display: flex; flex-direction: row; opacity: 1;"
|
|
@@ -392,7 +392,7 @@ exports[`multi-item renderer should snapshot: initial render 1`] = `
|
|
|
392
392
|
aria-disabled="false"
|
|
393
393
|
aria-hidden="true"
|
|
394
394
|
aria-label=""
|
|
395
|
-
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-
|
|
395
|
+
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-inlineStyles_1msdppf"
|
|
396
396
|
tabindex="0"
|
|
397
397
|
type="button"
|
|
398
398
|
>
|
|
@@ -491,7 +491,7 @@ exports[`multi-item renderer should snapshot: initial render 1`] = `
|
|
|
491
491
|
>
|
|
492
492
|
<div
|
|
493
493
|
class="description description_psmgei"
|
|
494
|
-
style="flex-direction: column;"
|
|
494
|
+
style="flex-direction: column; color: rgb(33, 36, 44);"
|
|
495
495
|
>
|
|
496
496
|
<div
|
|
497
497
|
style="display: flex; flex-direction: row; opacity: 1;"
|
|
@@ -569,7 +569,7 @@ exports[`multi-item renderer should snapshot: initial render 1`] = `
|
|
|
569
569
|
aria-disabled="false"
|
|
570
570
|
aria-hidden="true"
|
|
571
571
|
aria-label=""
|
|
572
|
-
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-
|
|
572
|
+
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-inlineStyles_1msdppf"
|
|
573
573
|
tabindex="0"
|
|
574
574
|
type="button"
|
|
575
575
|
>
|
|
@@ -668,7 +668,7 @@ exports[`multi-item renderer should snapshot: initial render 1`] = `
|
|
|
668
668
|
>
|
|
669
669
|
<div
|
|
670
670
|
class="description description_psmgei"
|
|
671
|
-
style="flex-direction: column;"
|
|
671
|
+
style="flex-direction: column; color: rgb(33, 36, 44);"
|
|
672
672
|
>
|
|
673
673
|
<div
|
|
674
674
|
style="display: flex; flex-direction: row; opacity: 1;"
|
|
@@ -746,7 +746,7 @@ exports[`multi-item renderer should snapshot: initial render 1`] = `
|
|
|
746
746
|
aria-disabled="false"
|
|
747
747
|
aria-hidden="true"
|
|
748
748
|
aria-label=""
|
|
749
|
-
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-
|
|
749
|
+
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-inlineStyles_1msdppf"
|
|
750
750
|
tabindex="0"
|
|
751
751
|
type="button"
|
|
752
752
|
>
|
|
@@ -845,7 +845,7 @@ exports[`multi-item renderer should snapshot: initial render 1`] = `
|
|
|
845
845
|
>
|
|
846
846
|
<div
|
|
847
847
|
class="description description_psmgei"
|
|
848
|
-
style="flex-direction: column;"
|
|
848
|
+
style="flex-direction: column; color: rgb(33, 36, 44);"
|
|
849
849
|
>
|
|
850
850
|
<div
|
|
851
851
|
style="display: flex; flex-direction: row; opacity: 1;"
|
|
@@ -923,7 +923,7 @@ exports[`multi-item renderer should snapshot: initial render 1`] = `
|
|
|
923
923
|
aria-disabled="false"
|
|
924
924
|
aria-hidden="true"
|
|
925
925
|
aria-label=""
|
|
926
|
-
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-
|
|
926
|
+
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-inlineStyles_1msdppf"
|
|
927
927
|
tabindex="0"
|
|
928
928
|
type="button"
|
|
929
929
|
>
|
package/src/styles/articles.less
CHANGED
|
@@ -264,13 +264,13 @@
|
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
.perseus-radio-rationale-content .perseus-renderer > .paragraph {
|
|
267
|
-
.text(@choiceTextSize, @choiceLineHeight, @
|
|
267
|
+
.text(@choiceTextSize, @choiceLineHeight, @gray17);
|
|
268
268
|
|
|
269
269
|
.paragraph {
|
|
270
|
-
.text(@choiceTextSize, @choiceLineHeight, @
|
|
270
|
+
.text(@choiceTextSize, @choiceLineHeight, @gray17);
|
|
271
271
|
|
|
272
272
|
.katex {
|
|
273
|
-
color: @
|
|
273
|
+
color: @gray17;
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
}
|
|
@@ -384,13 +384,13 @@
|
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
.perseus-radio-rationale-content .perseus-renderer > .paragraph {
|
|
387
|
-
.text(@choiceTextSize, @choiceLineHeight, @
|
|
387
|
+
.text(@choiceTextSize, @choiceLineHeight, @gray17);
|
|
388
388
|
|
|
389
389
|
.paragraph {
|
|
390
|
-
.text(@choiceTextSize, @choiceLineHeight, @
|
|
390
|
+
.text(@choiceTextSize, @choiceLineHeight, @gray17);
|
|
391
391
|
|
|
392
392
|
.katex {
|
|
393
|
-
color: @
|
|
393
|
+
color: @gray17;
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
396
|
}
|
|
@@ -142,7 +142,7 @@ exports[`group widget should snapshot: initial render 1`] = `
|
|
|
142
142
|
>
|
|
143
143
|
<div
|
|
144
144
|
class="description description_psmgei"
|
|
145
|
-
style="flex-direction: column;"
|
|
145
|
+
style="flex-direction: column; color: rgb(33, 36, 44);"
|
|
146
146
|
>
|
|
147
147
|
<div
|
|
148
148
|
style="display: flex; flex-direction: row; opacity: 1;"
|
|
@@ -194,7 +194,7 @@ exports[`group widget should snapshot: initial render 1`] = `
|
|
|
194
194
|
aria-disabled="false"
|
|
195
195
|
aria-hidden="true"
|
|
196
196
|
aria-label=""
|
|
197
|
-
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-
|
|
197
|
+
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-inlineStyles_1msdppf"
|
|
198
198
|
tabindex="0"
|
|
199
199
|
type="button"
|
|
200
200
|
>
|
|
@@ -267,7 +267,7 @@ exports[`group widget should snapshot: initial render 1`] = `
|
|
|
267
267
|
>
|
|
268
268
|
<div
|
|
269
269
|
class="description description_psmgei"
|
|
270
|
-
style="flex-direction: column;"
|
|
270
|
+
style="flex-direction: column; color: rgb(33, 36, 44);"
|
|
271
271
|
>
|
|
272
272
|
<div
|
|
273
273
|
style="display: flex; flex-direction: row; opacity: 1;"
|
|
@@ -319,7 +319,7 @@ exports[`group widget should snapshot: initial render 1`] = `
|
|
|
319
319
|
aria-disabled="false"
|
|
320
320
|
aria-hidden="true"
|
|
321
321
|
aria-label=""
|
|
322
|
-
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-
|
|
322
|
+
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-inlineStyles_1msdppf"
|
|
323
323
|
tabindex="0"
|
|
324
324
|
type="button"
|
|
325
325
|
>
|
|
@@ -392,7 +392,7 @@ exports[`group widget should snapshot: initial render 1`] = `
|
|
|
392
392
|
>
|
|
393
393
|
<div
|
|
394
394
|
class="description description_psmgei"
|
|
395
|
-
style="flex-direction: column;"
|
|
395
|
+
style="flex-direction: column; color: rgb(33, 36, 44);"
|
|
396
396
|
>
|
|
397
397
|
<div
|
|
398
398
|
style="display: flex; flex-direction: row; opacity: 1;"
|
|
@@ -444,7 +444,7 @@ exports[`group widget should snapshot: initial render 1`] = `
|
|
|
444
444
|
aria-disabled="false"
|
|
445
445
|
aria-hidden="true"
|
|
446
446
|
aria-label=""
|
|
447
|
-
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-
|
|
447
|
+
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-inlineStyles_1msdppf"
|
|
448
448
|
tabindex="0"
|
|
449
449
|
type="button"
|
|
450
450
|
>
|
|
@@ -517,7 +517,7 @@ exports[`group widget should snapshot: initial render 1`] = `
|
|
|
517
517
|
>
|
|
518
518
|
<div
|
|
519
519
|
class="description description_psmgei"
|
|
520
|
-
style="flex-direction: column;"
|
|
520
|
+
style="flex-direction: column; color: rgb(33, 36, 44);"
|
|
521
521
|
>
|
|
522
522
|
<div
|
|
523
523
|
style="display: flex; flex-direction: row; opacity: 1;"
|
|
@@ -569,7 +569,7 @@ exports[`group widget should snapshot: initial render 1`] = `
|
|
|
569
569
|
aria-disabled="false"
|
|
570
570
|
aria-hidden="true"
|
|
571
571
|
aria-label=""
|
|
572
|
-
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-
|
|
572
|
+
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-inlineStyles_1msdppf"
|
|
573
573
|
tabindex="0"
|
|
574
574
|
type="button"
|
|
575
575
|
>
|
|
@@ -642,7 +642,7 @@ exports[`group widget should snapshot: initial render 1`] = `
|
|
|
642
642
|
>
|
|
643
643
|
<div
|
|
644
644
|
class="description description_psmgei"
|
|
645
|
-
style="flex-direction: column;"
|
|
645
|
+
style="flex-direction: column; color: rgb(33, 36, 44);"
|
|
646
646
|
>
|
|
647
647
|
<div
|
|
648
648
|
style="display: flex; flex-direction: row; opacity: 1;"
|
|
@@ -694,7 +694,7 @@ exports[`group widget should snapshot: initial render 1`] = `
|
|
|
694
694
|
aria-disabled="false"
|
|
695
695
|
aria-hidden="true"
|
|
696
696
|
aria-label=""
|
|
697
|
-
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-
|
|
697
|
+
class="button_vr44p2-o_O-reset_152ygtm-o_O-link_13xlah4-o_O-inlineStyles_1msdppf"
|
|
698
698
|
tabindex="0"
|
|
699
699
|
type="button"
|
|
700
700
|
>
|