@khanacademy/perseus 21.3.0 → 21.4.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 +17 -1
- package/dist/es/index.js +258 -139
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +17 -1
- package/dist/index.js +254 -128
- package/dist/index.js.map +1 -1
- package/dist/perseus-api.d.ts +9 -1
- package/dist/perseus-types.d.ts +1 -21
- package/dist/renderer.d.ts +19 -16
- package/dist/server-item-renderer.d.ts +9 -1
- package/dist/strings.js +0 -4
- package/dist/types.d.ts +11 -1
- package/dist/util/svg.d.ts +9 -0
- package/dist/widgets/expression.d.ts +54 -6
- package/dist/widgets/interactive-graphs/axis-ticks.d.ts +2 -0
- package/dist/widgets/interactive-graphs/graphs/components/arrowhead.d.ts +8 -0
- package/dist/widgets/interactive-graphs/graphs/components/svg-line.d.ts +10 -0
- package/dist/widgets/interactive-graphs/graphs/components/vector.d.ts +9 -0
- package/dist/widgets/interactive-graphs/graphs/types.d.ts +2 -5
- package/dist/widgets/interactive-graphs/reducer/interactive-graph-state.d.ts +9 -8
- package/dist/widgets/interactive-graphs/reducer/use-graph-config.d.ts +10 -0
- package/dist/widgets/interactive-graphs/types.d.ts +1 -0
- package/dist/widgets/label-image.d.ts +18 -2
- package/dist/widgets/radio/radio.d.ts +5 -8
- package/package.json +1 -1
- package/dist/widgets/interactive-graphs/reducer/use-graph-state.d.ts +0 -11
- package/dist/widgets/lights-puzzle.d.ts +0 -53
- package/dist/widgets/reaction-diagram.d.ts +0 -42
package/dist/index.css
CHANGED
|
@@ -4322,6 +4322,20 @@ html body .mq-editable-field .mq-selection .mq-nthroot-container * {
|
|
|
4322
4322
|
stroke-width: 6px;
|
|
4323
4323
|
}
|
|
4324
4324
|
|
|
4325
|
+
.MafsView .movable-point {
|
|
4326
|
+
cursor: grab;
|
|
4327
|
+
touch-action: none;
|
|
4328
|
+
outline: none;
|
|
4329
|
+
}
|
|
4330
|
+
|
|
4331
|
+
.MafsView .movable-point.movable-point--dragging {
|
|
4332
|
+
cursor: grabbing;
|
|
4333
|
+
}
|
|
4334
|
+
|
|
4335
|
+
.MafsView .movable-point.movable-point--dragging .movable-point-halo {
|
|
4336
|
+
opacity: 0;
|
|
4337
|
+
}
|
|
4338
|
+
|
|
4325
4339
|
.MafsView .movable-point-hitbox {
|
|
4326
4340
|
fill: transparent;
|
|
4327
4341
|
}
|
|
@@ -4333,7 +4347,9 @@ html body .mq-editable-field .mq-selection .mq-nthroot-container * {
|
|
|
4333
4347
|
.movable-point-halo,
|
|
4334
4348
|
.movable-point-focus-outline
|
|
4335
4349
|
) {
|
|
4336
|
-
transition:
|
|
4350
|
+
transition:
|
|
4351
|
+
r 0.15s ease-out,
|
|
4352
|
+
opacity 0.15s ease-out;
|
|
4337
4353
|
}
|
|
4338
4354
|
|
|
4339
4355
|
.MafsView .movable-point-center {
|