@khanacademy/perseus 17.3.2 → 17.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 +6 -0
- package/dist/es/index.css +12 -10
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +12 -10
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/server-item-renderer.d.ts +5 -5
- package/package.json +1 -1
- package/src/server-item-renderer.tsx +5 -5
- package/src/styles/articles.less +20 -15
- package/tsconfig-build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @khanacademy/perseus
|
|
2
2
|
|
|
3
|
+
## 17.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#876](https://github.com/Khan/perseus/pull/876) [`fdc00c90`](https://github.com/Khan/perseus/commit/fdc00c90a19d3e241b3a5cdc2b1df5d761b24af3) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Adjust CSS to ensure all `code` and `pre` blocks rendered by Perseus have a monospace font and common styling
|
|
8
|
+
|
|
3
9
|
## 17.3.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/es/index.css
CHANGED
|
@@ -1490,6 +1490,18 @@ body.mobile ul.inequalities-one-line-radios > li {
|
|
|
1490
1490
|
clear: both;
|
|
1491
1491
|
}
|
|
1492
1492
|
/* Fall back colors? Eg educator, talks & interviews */
|
|
1493
|
+
.framework-perseus code {
|
|
1494
|
+
font-family: Courier, monospace;
|
|
1495
|
+
}
|
|
1496
|
+
.framework-perseus pre {
|
|
1497
|
+
background-color: #f0f1f2;
|
|
1498
|
+
border-radius: 4px;
|
|
1499
|
+
color: #21242c;
|
|
1500
|
+
font-size: 18px;
|
|
1501
|
+
padding: 16px;
|
|
1502
|
+
white-space: pre;
|
|
1503
|
+
overflow: auto;
|
|
1504
|
+
}
|
|
1493
1505
|
.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container:not(.perseus-widget__definition) {
|
|
1494
1506
|
font-size: 14px;
|
|
1495
1507
|
line-height: 19.6px;
|
|
@@ -1634,17 +1646,7 @@ body.mobile ul.inequalities-one-line-radios > li {
|
|
|
1634
1646
|
line-height: 1.5;
|
|
1635
1647
|
margin: 0;
|
|
1636
1648
|
}
|
|
1637
|
-
.framework-perseus.perseus-article:not(.perseus-mobile) code {
|
|
1638
|
-
font-family: Courier, monospace;
|
|
1639
|
-
}
|
|
1640
1649
|
.framework-perseus.perseus-article:not(.perseus-mobile) pre {
|
|
1641
|
-
background-color: #f0f1f2;
|
|
1642
|
-
border-radius: 4px;
|
|
1643
|
-
color: #21242c;
|
|
1644
|
-
font-size: 18px;
|
|
1645
|
-
padding: 16px;
|
|
1646
|
-
white-space: pre;
|
|
1647
|
-
overflow: auto;
|
|
1648
1650
|
margin: 0 -16px 32px -16px;
|
|
1649
1651
|
}
|
|
1650
1652
|
.framework-perseus:not(.perseus-article):not(.perseus-mobile) .perseus-radio-option-content .perseus-renderer > .paragraph {
|
package/dist/es/index.js
CHANGED
|
@@ -44202,7 +44202,7 @@ const init = function init(options) {
|
|
|
44202
44202
|
|
|
44203
44203
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
44204
44204
|
const libName = "@khanacademy/perseus";
|
|
44205
|
-
const libVersion = "17.3.
|
|
44205
|
+
const libVersion = "17.3.3";
|
|
44206
44206
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
44207
44207
|
|
|
44208
44208
|
const apiVersion = {
|