pxt-core 11.3.35 → 11.3.36

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 (36) hide show
  1. package/built/cli.js +2 -2
  2. package/built/pxt.js +5 -5
  3. package/built/pxtlib.js +3 -3
  4. package/built/target.js +1 -1
  5. package/built/targetlight.js +1 -1
  6. package/built/web/main.js +1 -1
  7. package/built/web/pxtapp.js +1 -1
  8. package/built/web/pxtembed.js +1 -1
  9. package/built/web/pxtlib.js +1 -1
  10. package/built/web/pxtworker.js +1 -1
  11. package/built/web/react-common-authcode.css +1 -1
  12. package/built/web/react-common-multiplayer.css +1 -1
  13. package/built/web/react-common-skillmap.css +1 -1
  14. package/built/web/rtlreact-common-authcode.css +1 -1
  15. package/built/web/rtlreact-common-multiplayer.css +1 -1
  16. package/built/web/rtlreact-common-skillmap.css +1 -1
  17. package/built/web/rtlsemantic.css +2 -2
  18. package/built/web/semantic.css +2 -2
  19. package/built/web/skillmap/js/{main.611cb358.js → main.a7cb06b7.js} +2 -2
  20. package/common-docs/static/logo/Microsoft_logo_rgb_W-white_D-square.png +0 -0
  21. package/localtypings/ocv.d.ts +67 -98
  22. package/package.json +1 -1
  23. package/react-common/components/controls/Feedback/Feedback.tsx +1 -1
  24. package/react-common/components/controls/Feedback/FeedbackEventListener.ts +4 -4
  25. package/react-common/components/controls/Feedback/configs.ts +6 -6
  26. package/react-common/components/share/ShareInfo.tsx +1 -1
  27. package/react-common/components/theming/ThemePreview.tsx +1 -1
  28. package/theme/color-themes/overrides/high-contrast-overrides.css +9 -0
  29. package/theme/common.less +10 -1
  30. package/theme/errorList.less +3 -3
  31. package/theme/keymap.less +9 -9
  32. package/theme/semantic-ui-overrides.less +2 -0
  33. package/theme/themes/pxt/views/card.overrides +1 -1
  34. package/theme/tutorial-sidebar.less +1 -1
  35. package/theme/tutorial.less +2 -2
  36. package/webapp/public/skillmap.html +2 -2
package/built/cli.js CHANGED
@@ -6587,10 +6587,10 @@ ${pxt.crowdin.KEY_VARIABLE} - crowdin key
6587
6587
  name: "buildskillmap",
6588
6588
  aliases: ["skillmap"],
6589
6589
  advanced: true,
6590
- help: "Serves the skill map webapp",
6590
+ help: "Serves the skillmap webapp",
6591
6591
  flags: {
6592
6592
  serve: {
6593
- description: "Serve the skill map locally after building (npm start)"
6593
+ description: "Serve the skillmap locally after building (npm start)"
6594
6594
  },
6595
6595
  docs: {
6596
6596
  description: "Path to local docs folder to copy into skillmap",
package/built/pxt.js CHANGED
@@ -100761,8 +100761,8 @@ var ts;
100761
100761
  }
100762
100762
  Util.isExperienceSupported = isExperienceSupported;
100763
100763
  function ocvEnabled() {
100764
- var _a, _b;
100765
- return ((_a = pxt.webConfig.ocv) === null || _a === void 0 ? void 0 : _a.appId) && ((_b = pxt.webConfig.ocv) === null || _b === void 0 ? void 0 : _b.iframeEndpoint);
100764
+ var _a, _b, _c, _d;
100765
+ return ((_b = (_a = pxt.webConfig) === null || _a === void 0 ? void 0 : _a.ocv) === null || _b === void 0 ? void 0 : _b.appId) && ((_d = (_c = pxt.webConfig) === null || _c === void 0 ? void 0 : _c.ocv) === null || _d === void 0 ? void 0 : _d.iframeEndpoint);
100766
100766
  }
100767
100767
  Util.ocvEnabled = ocvEnabled;
100768
100768
  })(Util = pxtc.Util || (pxtc.Util = {}));
@@ -103033,7 +103033,7 @@ var pxt;
103033
103033
  return outputCanvas.toDataURL("image/png");
103034
103034
  }
103035
103035
  BrowserUtils.imageDataToPNG = imageDataToPNG;
103036
- const MAX_SCREENSHOT_SIZE = 1e6; // max 1Mb
103036
+ const MAX_SCREENSHOT_SIZE = 10e6; // max 10Mb
103037
103037
  function encodeToPngAsync(dataUri, options) {
103038
103038
  const { width, height, pixelDensity = 4, maxSize = MAX_SCREENSHOT_SIZE, text } = options || {};
103039
103039
  return new Promise((resolve, reject) => {
@@ -167871,10 +167871,10 @@ ${pxt.crowdin.KEY_VARIABLE} - crowdin key
167871
167871
  name: "buildskillmap",
167872
167872
  aliases: ["skillmap"],
167873
167873
  advanced: true,
167874
- help: "Serves the skill map webapp",
167874
+ help: "Serves the skillmap webapp",
167875
167875
  flags: {
167876
167876
  serve: {
167877
- description: "Serve the skill map locally after building (npm start)"
167877
+ description: "Serve the skillmap locally after building (npm start)"
167878
167878
  },
167879
167879
  docs: {
167880
167880
  description: "Path to local docs folder to copy into skillmap",
package/built/pxtlib.js CHANGED
@@ -3075,8 +3075,8 @@ var ts;
3075
3075
  }
3076
3076
  Util.isExperienceSupported = isExperienceSupported;
3077
3077
  function ocvEnabled() {
3078
- var _a, _b;
3079
- return ((_a = pxt.webConfig.ocv) === null || _a === void 0 ? void 0 : _a.appId) && ((_b = pxt.webConfig.ocv) === null || _b === void 0 ? void 0 : _b.iframeEndpoint);
3078
+ var _a, _b, _c, _d;
3079
+ return ((_b = (_a = pxt.webConfig) === null || _a === void 0 ? void 0 : _a.ocv) === null || _b === void 0 ? void 0 : _b.appId) && ((_d = (_c = pxt.webConfig) === null || _c === void 0 ? void 0 : _c.ocv) === null || _d === void 0 ? void 0 : _d.iframeEndpoint);
3080
3080
  }
3081
3081
  Util.ocvEnabled = ocvEnabled;
3082
3082
  })(Util = pxtc.Util || (pxtc.Util = {}));
@@ -5347,7 +5347,7 @@ var pxt;
5347
5347
  return outputCanvas.toDataURL("image/png");
5348
5348
  }
5349
5349
  BrowserUtils.imageDataToPNG = imageDataToPNG;
5350
- const MAX_SCREENSHOT_SIZE = 1e6; // max 1Mb
5350
+ const MAX_SCREENSHOT_SIZE = 10e6; // max 10Mb
5351
5351
  function encodeToPngAsync(dataUri, options) {
5352
5352
  const { width, height, pixelDensity = 4, maxSize = MAX_SCREENSHOT_SIZE, text } = options || {};
5353
5353
  return new Promise((resolve, reject) => {