pxt-core 8.0.3 → 8.0.6

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.
@@ -405,6 +405,7 @@
405
405
  addRow("https://immersivereaderprod.cognitiveservices.azure.com");
406
406
  addRow("https://github.com");
407
407
  addRow("https://raw.githubusercontent.com/")
408
+ addRow("https://microsoft.github.io/");
408
409
 
409
410
  </script>
410
411
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-core",
3
- "version": "8.0.3",
3
+ "version": "8.0.6",
4
4
  "description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors",
5
5
  "keywords": [
6
6
  "TypeScript",
@@ -161,7 +161,7 @@ export const ShareInfo = (props: ShareInfoProps) => {
161
161
  onChange={setName} />
162
162
  <Textarea label={lf("Description")}
163
163
  initialValue={description}
164
- placeholder={lf("Tell others about your game")}
164
+ placeholder={lf("Tell others about your project")}
165
165
  rows={5} />
166
166
  </>
167
167
  }
@@ -115,10 +115,6 @@ body.blocklyMinimalBody {
115
115
  visibility: visible;
116
116
  }
117
117
 
118
- .blocklyTreeIcon.blocklyTreeIconserial {
119
- font-family: 'brand-icons';
120
- }
121
-
122
118
  i.icon.blocklyTreeButton {
123
119
  float: right;
124
120
  line-height: 40px;
package/theme/common.less CHANGED
@@ -2429,6 +2429,11 @@ div.signin-button:focus {
2429
2429
  #blocks-editor-field-div {
2430
2430
  position: absolute;
2431
2431
  z-index: @blocklyDropdownDivZIndex;
2432
+
2433
+ .sound-effect-editor {
2434
+ max-width: 30rem;
2435
+ margin: auto;
2436
+ }
2432
2437
  }
2433
2438
 
2434
2439
  .blocks-editor-field-overlay {
package/theme/serial.less CHANGED
@@ -17,7 +17,8 @@
17
17
  height: 90%;
18
18
  padding: 1rem;
19
19
 
20
- #serialCsv {
20
+ #serialCsv,
21
+ #serialCsvViewLatest {
21
22
  display: none;
22
23
  }
23
24
 
@@ -28,6 +29,12 @@
28
29
  &.csv-view {
29
30
  #serialCsv {
30
31
  display: block;
32
+
33
+ table:last-child thead {
34
+ position: sticky;
35
+ top: -0.75rem;
36
+ box-shadow: inset 0 2px 0 #ddd, inset 0 -2px 0 #ddd;
37
+ }
31
38
  }
32
39
 
33
40
  #serialCharts,
@@ -36,6 +43,24 @@
36
43
  .csv-hide {
37
44
  display: none;
38
45
  }
46
+
47
+ #serialCsvViewLatest {
48
+ display: block;
49
+ position: absolute;
50
+ margin-left: auto;
51
+ margin-right: auto;
52
+ text-align: center;
53
+ left: 0;
54
+ right: 0;
55
+ max-width: 15rem;
56
+ margin-top: -3em;
57
+ }
58
+
59
+ &.hide-view-latest {
60
+ #serialCsvViewLatest {
61
+ display: none;
62
+ }
63
+ }
39
64
  }
40
65
 
41
66
  &.no-toggle #serial-editor-toggle {
@@ -130,7 +155,7 @@
130
155
  }
131
156
  }
132
157
  #serialConsole.nochart {
133
- height: calc(100% - 2.5rem);
158
+ height: calc(100% - 12.5rem);
134
159
  }
135
160
 
136
161
  #serialConsole span {
@@ -189,6 +189,10 @@ span.blocklyTreeIcon {
189
189
  vertical-align: middle;
190
190
  }
191
191
 
192
+ .blocklyTreeIcon.brandIcon {
193
+ font-family: 'brand-icons';
194
+ }
195
+
192
196
  div.blocklyTreeIcon span {
193
197
  vertical-align: middle;
194
198
  }