pxt-core 13.2.16 → 13.2.18

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.
Files changed (39) hide show
  1. package/built/backendutils.d.ts +13 -0
  2. package/built/backendutils.js +66 -16
  3. package/built/cli.js +14 -9
  4. package/built/nodeutil.js +3 -7
  5. package/built/pxt.js +67 -25
  6. package/built/pxtblocks/backpack.d.ts +1 -1
  7. package/built/pxtblocks/clipboard.d.ts +1 -1
  8. package/built/pxtblocks/plugins/duplicateOnDrag/dragStrategy.d.ts +2 -0
  9. package/built/pxtlib.js +53 -16
  10. package/built/pxtservices/editorDriver.d.ts +1 -0
  11. package/built/target.js +1 -1
  12. package/built/targetlight.js +1 -1
  13. package/built/tests/blocksrunner.js +38 -18
  14. package/built/tests/blockssetup.js +38 -18
  15. package/built/tests/cli-test/cli/commandparser.d.ts +49 -0
  16. package/built/tests/cli-test/cli/nodeutil.d.ts +95 -0
  17. package/built/tests/cli-test/tests/cli-test/bump.d.ts +1 -0
  18. package/built/tests/cli-test/tests/cli-test/clirunner.d.ts +1 -0
  19. package/built/web/blockly.css +1 -1
  20. package/built/web/main.js +2 -2
  21. package/built/web/pxtapp.js +2 -2
  22. package/built/web/pxtasseteditor.js +2 -2
  23. package/built/web/pxtembed.js +2 -2
  24. package/built/web/pxtlib.js +1 -1
  25. package/built/web/pxtworker.js +1 -1
  26. package/built/web/rtlblockly.css +1 -1
  27. package/built/web/rtlsemantic.css +1 -1
  28. package/built/web/runnerembed.js +2 -2
  29. package/built/web/semantic.css +1 -1
  30. package/built/web/teachertool/js/{main.9894b09b.js → main.c8f9e9a1.js} +2 -2
  31. package/built/web/tutorialtool/js/{main.347d6451.js → main.86239049.js} +2 -2
  32. package/localtypings/pxteditor.d.ts +1 -0
  33. package/package.json +1 -1
  34. package/theme/blockly-core.less +5 -0
  35. package/theme/home.less +1 -0
  36. package/theme/themes/pxt/globals/zindex.variables +1 -1
  37. package/webapp/public/controller.html +1 -0
  38. package/webapp/public/teachertool.html +1 -1
  39. package/webapp/public/tutorialtool.html +1 -1
@@ -85,6 +85,7 @@ declare namespace pxt.editor {
85
85
 
86
86
  | "toggletrace" // EditorMessageToggleTraceRequest
87
87
  | "showthemepicker"
88
+ | "showextensions"
88
89
  | "togglehighcontrast"
89
90
  | "sethighcontrast" // EditorMessageSetHighContrastRequest
90
91
  | "setsimulatortheme" // EditorMessageSetSimulatorThemeRequest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-core",
3
- "version": "13.2.16",
3
+ "version": "13.2.18",
4
4
  "description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors",
5
5
  "keywords": [
6
6
  "TypeScript",
@@ -10,6 +10,11 @@
10
10
  Blockly SVG
11
11
  *******************************/
12
12
 
13
+ // Lift only the transparent drag surface above Project Tools and its bubbles.
14
+ .injectionDiv > .blocklyBlockDragSurface {
15
+ z-index: (@sidedocZIndex + 2);
16
+ }
17
+
13
18
  svg.blocklySvg {
14
19
  background-color: var(--pxt-target-background1) !important;
15
20
  color: var(--pxt-target-foreground1) !important;
package/theme/home.less CHANGED
@@ -364,6 +364,7 @@
364
364
  > .menu-button {
365
365
  min-height: 2.75rem;
366
366
  padding: 0.625rem 0.875rem;
367
+ font-size: 16px;
367
368
  border: 1px solid var(--pxt-neutral-stencil1);
368
369
  border-radius: 0.25rem;
369
370
  background: var(--pxt-neutral-background1);
@@ -30,7 +30,7 @@
30
30
  /* blocklyFlyout: 20 */
31
31
  /* blocklyMainWorkspaceScrollbar: 20 */
32
32
  /* blocklyFlyoutScrollbar: 30 */
33
- /* blocklyBlockDragSurface: 50 */
33
+ /* blocklyBlockDragSurface: raised above Project Tools in blockly-core.less */
34
34
  /* blocklyToolboxDiv: 40 -- so blocks go over toolbox when dragging */
35
35
 
36
36
  @blocklyTrashIconZIndex: @blocklyToolboxZIndex+1; /* Above toolbox */
@@ -250,6 +250,7 @@
250
250
  <button class="ui button" onclick="sendMessage('closeflyout')">close flyout</button>
251
251
  <button class="ui button" onclick="sendMessage('setsimulatorfullscreen')">set sim full screen</button>
252
252
  <button class="ui button" onclick="sendMessage('showthemepicker')">show theme picker</button>
253
+ <button class="ui button" onclick="sendMessage('showextensions')">show extensions</button>
253
254
  <button class="ui button" onclick="sendMessage('togglehighcontrast')">toggle high contrast</button>
254
255
  <button class="ui button" onclick="sendMessage('togglegreenscreen')">toggle green screen</button>
255
256
  <button class="ui button" onclick="sendMessage('togglekeyboardcontrols')">toggle keyboard controls</button>
@@ -18,7 +18,7 @@
18
18
  <!-- <link rel="manifest" href="/teachertool-data/manifest.json" /> -->
19
19
  <title>MakeCode Code Evaluation</title>
20
20
  <script>var pxtConfig=null</script>
21
- <script defer="defer" src="/blb/teachertool/js/main.9894b09b.js"></script><link href="/blb/teachertool/css/main.37e4c35f.css" rel="stylesheet"></head>
21
+ <script defer="defer" src="/blb/teachertool/js/main.c8f9e9a1.js"></script><link href="/blb/teachertool/css/main.37e4c35f.css" rel="stylesheet"></head>
22
22
  <body class="pxt-theme-root">
23
23
  <noscript>You need to enable JavaScript to run this app.</noscript>
24
24
 
@@ -17,7 +17,7 @@
17
17
  <!-- <link rel="manifest" href="/tutorialtool-data/manifest.json" /> -->
18
18
  <title>MakeCode Tutorial Tool</title>
19
19
  <script>var pxtConfig=null</script>
20
- <script defer="defer" src="/blb/tutorialtool/js/main.347d6451.js"></script><link href="/blb/tutorialtool/css/main.599f9082.css" rel="stylesheet"></head>
20
+ <script defer="defer" src="/blb/tutorialtool/js/main.86239049.js"></script><link href="/blb/tutorialtool/css/main.599f9082.css" rel="stylesheet"></head>
21
21
 
22
22
  <body>
23
23
  <noscript>You need to enable JavaScript to run this app.</noscript>