@khanacademy/perseus 22.6.0 → 22.7.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/dist/es/index.css +10 -2
- package/dist/es/index.js +1 -1
- package/dist/index.css +10 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/es/index.css
CHANGED
|
@@ -4177,7 +4177,6 @@ html body .mq-editable-field .mq-selection .mq-nthroot-container * {
|
|
|
4177
4177
|
--mafs-origin-color: var(--mafs-fg);
|
|
4178
4178
|
--mafs-line-color: #555;
|
|
4179
4179
|
--mafs-line-stroke-dash-style: 4, 3;
|
|
4180
|
-
--mafs-axis-stroke-width: 1px;
|
|
4181
4180
|
--grid-line-subdivision-color: #222;
|
|
4182
4181
|
|
|
4183
4182
|
--mafs-red: #f11d0e;
|
|
@@ -4488,6 +4487,9 @@ html body .mq-editable-field .mq-selection .mq-nthroot-container * {
|
|
|
4488
4487
|
format("woff");
|
|
4489
4488
|
}
|
|
4490
4489
|
|
|
4490
|
+
.MafsView pattern g {
|
|
4491
|
+
stroke: #909296;
|
|
4492
|
+
}
|
|
4491
4493
|
.axis-tick-labels {
|
|
4492
4494
|
font-size: 14px;
|
|
4493
4495
|
font-family: "Mafs-MJXTEX";
|
|
@@ -4496,6 +4498,8 @@ html body .mq-editable-field .mq-selection .mq-nthroot-container * {
|
|
|
4496
4498
|
* drag interactions on the graph. */
|
|
4497
4499
|
user-select: none;
|
|
4498
4500
|
pointer-events: none;
|
|
4501
|
+
/* Prevent labels from covering up interaction points. */
|
|
4502
|
+
z-index: -1;
|
|
4499
4503
|
}
|
|
4500
4504
|
|
|
4501
4505
|
.y-axis-tick-labels {
|
|
@@ -4522,10 +4526,14 @@ html body .mq-editable-field .mq-selection .mq-nthroot-container * {
|
|
|
4522
4526
|
|
|
4523
4527
|
.x-axis-tick-labels span,
|
|
4524
4528
|
.y-axis-tick-labels span {
|
|
4529
|
+
/* The negative sign is rendered as a pseudo-element to
|
|
4530
|
+
ensure that we are positioning all labels correctly */
|
|
4525
4531
|
&::before {
|
|
4526
4532
|
content: attr(data-content);
|
|
4527
4533
|
position: absolute;
|
|
4528
|
-
|
|
4534
|
+
/* We're translating the symbol up by 1px to ensure it's legible around gridlines. */
|
|
4535
|
+
transform: translate(-100%, -1px);
|
|
4536
|
+
font-weight: 600; /* This helps get the symbol to render crisply */
|
|
4529
4537
|
}
|
|
4530
4538
|
}
|
|
4531
4539
|
|
package/dist/es/index.js
CHANGED
|
@@ -43667,7 +43667,7 @@ const init = function init(options) {
|
|
|
43667
43667
|
|
|
43668
43668
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
43669
43669
|
const libName = "@khanacademy/perseus";
|
|
43670
|
-
const libVersion = "22.
|
|
43670
|
+
const libVersion = "22.7.0";
|
|
43671
43671
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
43672
43672
|
|
|
43673
43673
|
const apiVersion = {
|
package/dist/index.css
CHANGED
|
@@ -4177,7 +4177,6 @@ html body .mq-editable-field .mq-selection .mq-nthroot-container * {
|
|
|
4177
4177
|
--mafs-origin-color: var(--mafs-fg);
|
|
4178
4178
|
--mafs-line-color: #555;
|
|
4179
4179
|
--mafs-line-stroke-dash-style: 4, 3;
|
|
4180
|
-
--mafs-axis-stroke-width: 1px;
|
|
4181
4180
|
--grid-line-subdivision-color: #222;
|
|
4182
4181
|
|
|
4183
4182
|
--mafs-red: #f11d0e;
|
|
@@ -4488,6 +4487,9 @@ html body .mq-editable-field .mq-selection .mq-nthroot-container * {
|
|
|
4488
4487
|
format("woff");
|
|
4489
4488
|
}
|
|
4490
4489
|
|
|
4490
|
+
.MafsView pattern g {
|
|
4491
|
+
stroke: #909296;
|
|
4492
|
+
}
|
|
4491
4493
|
.axis-tick-labels {
|
|
4492
4494
|
font-size: 14px;
|
|
4493
4495
|
font-family: "Mafs-MJXTEX";
|
|
@@ -4496,6 +4498,8 @@ html body .mq-editable-field .mq-selection .mq-nthroot-container * {
|
|
|
4496
4498
|
* drag interactions on the graph. */
|
|
4497
4499
|
user-select: none;
|
|
4498
4500
|
pointer-events: none;
|
|
4501
|
+
/* Prevent labels from covering up interaction points. */
|
|
4502
|
+
z-index: -1;
|
|
4499
4503
|
}
|
|
4500
4504
|
|
|
4501
4505
|
.y-axis-tick-labels {
|
|
@@ -4522,10 +4526,14 @@ html body .mq-editable-field .mq-selection .mq-nthroot-container * {
|
|
|
4522
4526
|
|
|
4523
4527
|
.x-axis-tick-labels span,
|
|
4524
4528
|
.y-axis-tick-labels span {
|
|
4529
|
+
/* The negative sign is rendered as a pseudo-element to
|
|
4530
|
+
ensure that we are positioning all labels correctly */
|
|
4525
4531
|
&::before {
|
|
4526
4532
|
content: attr(data-content);
|
|
4527
4533
|
position: absolute;
|
|
4528
|
-
|
|
4534
|
+
/* We're translating the symbol up by 1px to ensure it's legible around gridlines. */
|
|
4535
|
+
transform: translate(-100%, -1px);
|
|
4536
|
+
font-weight: 600; /* This helps get the symbol to render crisply */
|
|
4529
4537
|
}
|
|
4530
4538
|
}
|
|
4531
4539
|
|
package/dist/index.js
CHANGED
|
@@ -44002,7 +44002,7 @@ const init = function (options) {
|
|
|
44002
44002
|
|
|
44003
44003
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
44004
44004
|
const libName = "@khanacademy/perseus";
|
|
44005
|
-
const libVersion = "22.
|
|
44005
|
+
const libVersion = "22.7.0";
|
|
44006
44006
|
perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
44007
44007
|
|
|
44008
44008
|
const apiVersion = {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core Perseus API (includes renderers and widgets)",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "22.
|
|
6
|
+
"version": "22.7.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@khanacademy/perseus-linter": "^0.4.0",
|
|
47
47
|
"@khanacademy/pure-markdown": "^0.3.4",
|
|
48
48
|
"@khanacademy/simple-markdown": "^0.11.4",
|
|
49
|
-
"mafs": "0.18.
|
|
49
|
+
"mafs": "0.18.5"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@khanacademy/wonder-blocks-banner": "3.0.42",
|