@khanacademy/perseus-editor 11.3.0 → 11.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.
@@ -1,2 +1,8 @@
1
+ /**
2
+ * Takes an array of components to sort.
3
+ * As of 08/05/24, there are two sortable components
4
+ * (one in perseus and one in perseus-editor).
5
+ * As far as I can tell, this one is only used in ExpressionEditor.
6
+ */
1
7
  declare const SortableArea: any;
2
8
  export default SortableArea;
package/dist/es/index.css CHANGED
@@ -329,31 +329,6 @@
329
329
  .perseus-article-editor .perseus-editor-left-cell > .pod-title {
330
330
  padding: 4px 9px;
331
331
  }
332
- .perseus-widget-expression-editor .answer-options-list li {
333
- margin: 5px 0;
334
- }
335
- .perseus-widget-expression-editor .answer-status {
336
- color: inherit;
337
- cursor: pointer;
338
- display: inline-block;
339
- text-align: center;
340
- text-decoration: none;
341
- width: 75%;
342
- -webkit-user-select: none;
343
- user-select: none;
344
- }
345
- .perseus-widget-expression-editor .answer-status.wrong {
346
- background-color: #ffcccc;
347
- }
348
- .perseus-widget-expression-editor .answer-status.correct {
349
- background-color: #aaffaa;
350
- }
351
- .perseus-widget-expression-editor .answer-status.ungraded {
352
- background-color: #d9edf7;
353
- }
354
- .perseus-widget-expression-editor .expression-editor-h3 {
355
- margin: 10px 0 4px;
356
- }
357
332
  .perseus-widget-dropdown input[type="text"] {
358
333
  border: 1px solid #ccc;
359
334
  border-radius: 5px;
@@ -749,48 +724,6 @@
749
724
  .info-tip-content-container p + p {
750
725
  margin-top: 22px;
751
726
  }
752
- .expression-answer-option {
753
- border: 1px solid #ddd;
754
- border-radius: 3px;
755
- }
756
- .expression-answer-option .answer-handle {
757
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==) no-repeat 50% 50%;
758
- border-right: 1px solid #ddd;
759
- cursor: move;
760
- display: table-cell;
761
- width: 20px;
762
- }
763
- .expression-answer-option .answer-body {
764
- display: table-cell;
765
- }
766
- .expression-answer-option .answer-considered {
767
- display: table;
768
- }
769
- .expression-answer-option .answer-expression {
770
- display: table-cell;
771
- }
772
- .expression-answer-option .answer-status {
773
- display: table-cell;
774
- width: 100px;
775
- }
776
- .expression-answer-option .answer-option {
777
- padding-left: 5px;
778
- }
779
- .expression-answer-option .remove-container {
780
- padding: 5px;
781
- }
782
- .expression-answer-option .remove-container button {
783
- width: 100%;
784
- }
785
- .expression-answer-option .perseus-math-input {
786
- width: 236px;
787
- }
788
- .expression-answer-option .perseus-math-input .mq-root-block {
789
- border-top: none;
790
- border-right: none;
791
- border-bottom: 1px solid #ddd !important;
792
- border-left: 1px solid #ddd !important;
793
- }
794
727
  .perseus-widget-interaction-editor .perseus-widget-interaction-editor-select-element {
795
728
  background-color: #eee;
796
729
  border: 1px solid #ddd;
@@ -855,21 +788,9 @@
855
788
  .perseus-interaction-element .perseus-interaction-element-content.leave {
856
789
  display: none;
857
790
  }
858
- .button-set-label {
859
- display: block;
860
- }
861
- .button-set-label-float {
862
- display: block;
863
- float: left;
864
- margin-right: 10px;
865
- }
866
791
  .button-set-separator {
867
792
  margin: 10px 0;
868
793
  }
869
- .show-div-button {
870
- -webkit-user-select: none;
871
- user-select: none;
872
- }
873
794
  .perseus-widget-editor .unit-radio {
874
795
  color: black;
875
796
  text-decoration: none;