@khanacademy/perseus-editor 2.4.1 → 2.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @khanacademy/perseus-editor
2
2
 
3
+ ## 2.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2fb66a97: Remove functionality of `useNewStyles` prop on `ArticleRenderer`
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [2fb66a97]
12
+ - @khanacademy/perseus@7.1.0
13
+
3
14
  ## 2.4.1
4
15
 
5
16
  ### Patch Changes
package/dist/es/index.css CHANGED
@@ -322,10 +322,10 @@
322
322
  margin-bottom: 10px;
323
323
  text-align: center;
324
324
  }
325
- .perseus-article-editor .bibliotron-article.framework-perseus.perseus-article {
325
+ .perseus-article-editor .framework-perseus.perseus-article {
326
326
  box-sizing: border-box;
327
327
  }
328
- .perseus-article-editor .bibliotron-article.framework-perseus.perseus-article * {
328
+ .perseus-article-editor .framework-perseus.perseus-article * {
329
329
  box-sizing: inherit;
330
330
  }
331
331
  .perseus-article-editor .perseus-editor-left-cell > .pod-title {
@@ -356,15 +356,15 @@
356
356
  .perseus-widget-expression-editor .expression-editor-h3 {
357
357
  margin: 10px 0 4px;
358
358
  }
359
- .perseus-widget-dropdown input[type=text] {
359
+ .perseus-widget-dropdown input[type="text"] {
360
360
  border: 1px solid #ccc;
361
361
  border-radius: 5px;
362
362
  padding: 5px;
363
363
  }
364
- .perseus-widget-dropdown input[type=text].correct {
364
+ .perseus-widget-dropdown input[type="text"].correct {
365
365
  background: #aaffaa;
366
366
  }
367
- .perseus-widget-dropdown input[type=text].incorrect {
367
+ .perseus-widget-dropdown input[type="text"].incorrect {
368
368
  background: #ffcccc;
369
369
  }
370
370
  .perseus-widget-dropdown .dropdown-choices {
@@ -466,13 +466,13 @@
466
466
  background-color: #ccc;
467
467
  }
468
468
  .perseus-input-number-editor .answer-trash {
469
- background-color: #C04F03;
470
- background-image: linear-gradient(to bottom, #E35D04, #C04F03);
471
- color: #FFF;
469
+ background-color: #c04f03;
470
+ background-image: linear-gradient(to bottom, #e35d04, #c04f03);
471
+ color: #fff;
472
472
  }
473
473
  .perseus-input-number-editor .answer-trash:hover {
474
- color: #FFF;
475
- background-image: linear-gradient(to bottom, #F46E15, #D16014);
474
+ color: #fff;
475
+ background-image: linear-gradient(to bottom, #f46e15, #d16014);
476
476
  }
477
477
  .perseus-input-number-editor .is-strict-indicator {
478
478
  background-color: #d9edf7;
@@ -537,7 +537,7 @@
537
537
  margin-left: 5px;
538
538
  }
539
539
  .perseus-input-number-editor .input-answer-editor-message .perseus-single-editor {
540
- font-family: 'Lucida Grande';
540
+ font-family: "Lucida Grande";
541
541
  width: 230px;
542
542
  }
543
543
  .perseus-input-number-editor .input-answer-editor-message .perseus-single-editor .perseus-textarea-pair > textarea,
@@ -609,7 +609,7 @@
609
609
  top: -10px;
610
610
  }
611
611
  .perseus-widget-editor-content .perseus-radio-option.none-of-above:before {
612
- content: 'None of the above';
612
+ content: "None of the above";
613
613
  display: block;
614
614
  font-style: italic;
615
615
  font-weight: bold;
@@ -718,26 +718,26 @@
718
718
  .perseus-widget-plotter-editor .pic-url {
719
719
  width: 70%;
720
720
  }
721
- .perseus-text-list-editor input[type=text] {
721
+ .perseus-text-list-editor input[type="text"] {
722
722
  padding: 3px;
723
723
  margin-right: 5px;
724
724
  min-width: 20px;
725
725
  max-width: 340px;
726
726
  }
727
- .perseus-text-list-editor.layout-horizontal input[type=text] {
727
+ .perseus-text-list-editor.layout-horizontal input[type="text"] {
728
728
  float: left;
729
729
  }
730
730
  .perseus-matcher-editor .perseus-text-list-editor {
731
731
  float: left;
732
732
  max-width: 50%;
733
733
  }
734
- .perseus-matcher-editor .perseus-text-list-editor input[type=text] {
734
+ .perseus-matcher-editor .perseus-text-list-editor input[type="text"] {
735
735
  max-width: 90%;
736
736
  }
737
- .perseus-matcher-editor input[type=text] {
737
+ .perseus-matcher-editor input[type="text"] {
738
738
  width: 46%;
739
739
  }
740
- .perseus-matcher-editor input[type=text] + input[type=text] {
740
+ .perseus-matcher-editor input[type="text"] + input[type="text"] {
741
741
  margin-left: 2%;
742
742
  }
743
743
  .info-tip {
@@ -902,8 +902,8 @@
902
902
  padding: 0px;
903
903
  }
904
904
  .perseus-diff .diff-body {
905
- border-top: 1px solid #E4E4E4;
906
- border-bottom: 1px solid #E4E4E4;
905
+ border-top: 1px solid #e4e4e4;
906
+ border-bottom: 1px solid #e4e4e4;
907
907
  }
908
908
  .perseus-diff .diff-row {
909
909
  width: 50%;
@@ -929,12 +929,12 @@
929
929
  }
930
930
  .perseus-diff .before {
931
931
  float: left;
932
- border-left: 1px solid #E4E4E4;
932
+ border-left: 1px solid #e4e4e4;
933
933
  }
934
934
  .perseus-diff .after {
935
935
  float: right;
936
- border-right: 1px solid #E4E4E4;
937
- border-left: 1px solid #E4E4E4;
936
+ border-right: 1px solid #e4e4e4;
937
+ border-left: 1px solid #e4e4e4;
938
938
  }
939
939
  .perseus-diff .inner-value {
940
940
  height: 100%;
@@ -947,16 +947,16 @@
947
947
  visibility: hidden;
948
948
  }
949
949
  .perseus-diff .added {
950
- background-color: #EEFFEE;
950
+ background-color: #eeffee;
951
951
  }
952
952
  .perseus-diff .added.dark {
953
- background-color: #AAFFAA;
953
+ background-color: #aaffaa;
954
954
  }
955
955
  .perseus-diff .removed {
956
- background-color: #FFEEEE;
956
+ background-color: #ffeeee;
957
957
  }
958
958
  .perseus-diff .removed.dark {
959
- background-color: #FFAAAA;
959
+ background-color: #ffaaaa;
960
960
  }
961
961
  .perseus-diff .image {
962
962
  display: inline-block;
@@ -970,13 +970,13 @@
970
970
  max-width: 100%;
971
971
  }
972
972
  .perseus-diff .image-unchanged {
973
- border: 1px solid #AAAAAA;
973
+ border: 1px solid #aaaaaa;
974
974
  }
975
975
  .perseus-diff .image-added {
976
- border: 2px solid #AAFFAA;
976
+ border: 2px solid #aaffaa;
977
977
  }
978
978
  .perseus-diff .image-removed {
979
- border: 2px solid #FFAAAA;
979
+ border: 2px solid #ffaaaa;
980
980
  }
981
981
  .perseus-diff .diff-separator {
982
982
  border-bottom: 1px dashed #444;
package/dist/index.css CHANGED
@@ -322,10 +322,10 @@
322
322
  margin-bottom: 10px;
323
323
  text-align: center;
324
324
  }
325
- .perseus-article-editor .bibliotron-article.framework-perseus.perseus-article {
325
+ .perseus-article-editor .framework-perseus.perseus-article {
326
326
  box-sizing: border-box;
327
327
  }
328
- .perseus-article-editor .bibliotron-article.framework-perseus.perseus-article * {
328
+ .perseus-article-editor .framework-perseus.perseus-article * {
329
329
  box-sizing: inherit;
330
330
  }
331
331
  .perseus-article-editor .perseus-editor-left-cell > .pod-title {
@@ -356,15 +356,15 @@
356
356
  .perseus-widget-expression-editor .expression-editor-h3 {
357
357
  margin: 10px 0 4px;
358
358
  }
359
- .perseus-widget-dropdown input[type=text] {
359
+ .perseus-widget-dropdown input[type="text"] {
360
360
  border: 1px solid #ccc;
361
361
  border-radius: 5px;
362
362
  padding: 5px;
363
363
  }
364
- .perseus-widget-dropdown input[type=text].correct {
364
+ .perseus-widget-dropdown input[type="text"].correct {
365
365
  background: #aaffaa;
366
366
  }
367
- .perseus-widget-dropdown input[type=text].incorrect {
367
+ .perseus-widget-dropdown input[type="text"].incorrect {
368
368
  background: #ffcccc;
369
369
  }
370
370
  .perseus-widget-dropdown .dropdown-choices {
@@ -466,13 +466,13 @@
466
466
  background-color: #ccc;
467
467
  }
468
468
  .perseus-input-number-editor .answer-trash {
469
- background-color: #C04F03;
470
- background-image: linear-gradient(to bottom, #E35D04, #C04F03);
471
- color: #FFF;
469
+ background-color: #c04f03;
470
+ background-image: linear-gradient(to bottom, #e35d04, #c04f03);
471
+ color: #fff;
472
472
  }
473
473
  .perseus-input-number-editor .answer-trash:hover {
474
- color: #FFF;
475
- background-image: linear-gradient(to bottom, #F46E15, #D16014);
474
+ color: #fff;
475
+ background-image: linear-gradient(to bottom, #f46e15, #d16014);
476
476
  }
477
477
  .perseus-input-number-editor .is-strict-indicator {
478
478
  background-color: #d9edf7;
@@ -537,7 +537,7 @@
537
537
  margin-left: 5px;
538
538
  }
539
539
  .perseus-input-number-editor .input-answer-editor-message .perseus-single-editor {
540
- font-family: 'Lucida Grande';
540
+ font-family: "Lucida Grande";
541
541
  width: 230px;
542
542
  }
543
543
  .perseus-input-number-editor .input-answer-editor-message .perseus-single-editor .perseus-textarea-pair > textarea,
@@ -609,7 +609,7 @@
609
609
  top: -10px;
610
610
  }
611
611
  .perseus-widget-editor-content .perseus-radio-option.none-of-above:before {
612
- content: 'None of the above';
612
+ content: "None of the above";
613
613
  display: block;
614
614
  font-style: italic;
615
615
  font-weight: bold;
@@ -718,26 +718,26 @@
718
718
  .perseus-widget-plotter-editor .pic-url {
719
719
  width: 70%;
720
720
  }
721
- .perseus-text-list-editor input[type=text] {
721
+ .perseus-text-list-editor input[type="text"] {
722
722
  padding: 3px;
723
723
  margin-right: 5px;
724
724
  min-width: 20px;
725
725
  max-width: 340px;
726
726
  }
727
- .perseus-text-list-editor.layout-horizontal input[type=text] {
727
+ .perseus-text-list-editor.layout-horizontal input[type="text"] {
728
728
  float: left;
729
729
  }
730
730
  .perseus-matcher-editor .perseus-text-list-editor {
731
731
  float: left;
732
732
  max-width: 50%;
733
733
  }
734
- .perseus-matcher-editor .perseus-text-list-editor input[type=text] {
734
+ .perseus-matcher-editor .perseus-text-list-editor input[type="text"] {
735
735
  max-width: 90%;
736
736
  }
737
- .perseus-matcher-editor input[type=text] {
737
+ .perseus-matcher-editor input[type="text"] {
738
738
  width: 46%;
739
739
  }
740
- .perseus-matcher-editor input[type=text] + input[type=text] {
740
+ .perseus-matcher-editor input[type="text"] + input[type="text"] {
741
741
  margin-left: 2%;
742
742
  }
743
743
  .info-tip {
@@ -902,8 +902,8 @@
902
902
  padding: 0px;
903
903
  }
904
904
  .perseus-diff .diff-body {
905
- border-top: 1px solid #E4E4E4;
906
- border-bottom: 1px solid #E4E4E4;
905
+ border-top: 1px solid #e4e4e4;
906
+ border-bottom: 1px solid #e4e4e4;
907
907
  }
908
908
  .perseus-diff .diff-row {
909
909
  width: 50%;
@@ -929,12 +929,12 @@
929
929
  }
930
930
  .perseus-diff .before {
931
931
  float: left;
932
- border-left: 1px solid #E4E4E4;
932
+ border-left: 1px solid #e4e4e4;
933
933
  }
934
934
  .perseus-diff .after {
935
935
  float: right;
936
- border-right: 1px solid #E4E4E4;
937
- border-left: 1px solid #E4E4E4;
936
+ border-right: 1px solid #e4e4e4;
937
+ border-left: 1px solid #e4e4e4;
938
938
  }
939
939
  .perseus-diff .inner-value {
940
940
  height: 100%;
@@ -947,16 +947,16 @@
947
947
  visibility: hidden;
948
948
  }
949
949
  .perseus-diff .added {
950
- background-color: #EEFFEE;
950
+ background-color: #eeffee;
951
951
  }
952
952
  .perseus-diff .added.dark {
953
- background-color: #AAFFAA;
953
+ background-color: #aaffaa;
954
954
  }
955
955
  .perseus-diff .removed {
956
- background-color: #FFEEEE;
956
+ background-color: #ffeeee;
957
957
  }
958
958
  .perseus-diff .removed.dark {
959
- background-color: #FFAAAA;
959
+ background-color: #ffaaaa;
960
960
  }
961
961
  .perseus-diff .image {
962
962
  display: inline-block;
@@ -970,13 +970,13 @@
970
970
  max-width: 100%;
971
971
  }
972
972
  .perseus-diff .image-unchanged {
973
- border: 1px solid #AAAAAA;
973
+ border: 1px solid #aaaaaa;
974
974
  }
975
975
  .perseus-diff .image-added {
976
- border: 2px solid #AAFFAA;
976
+ border: 2px solid #aaffaa;
977
977
  }
978
978
  .perseus-diff .image-removed {
979
- border: 2px solid #FFAAAA;
979
+ border: 2px solid #ffaaaa;
980
980
  }
981
981
  .perseus-diff .diff-separator {
982
982
  border-bottom: 1px dashed #444;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Perseus editors",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "2.4.1",
6
+ "version": "2.5.0",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@khanacademy/kas": "^0.3.1",
25
25
  "@khanacademy/kmath": "^0.1.1",
26
- "@khanacademy/perseus": "^7.0.2"
26
+ "@khanacademy/perseus": "^7.1.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@khanacademy/wonder-blocks-button": "^4.0.8",