pxt-core 7.4.9 → 7.4.13

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 (59) hide show
  1. package/built/cli.js +94 -83
  2. package/built/pxt.js +180 -135
  3. package/built/pxtblockly.js +1509 -1508
  4. package/built/pxtblocks.d.ts +11 -4
  5. package/built/pxtblocks.js +126 -138
  6. package/built/pxtlib.d.ts +6 -2
  7. package/built/pxtlib.js +86 -52
  8. package/built/target.js +1 -1
  9. package/built/web/blockly.css +1 -1
  10. package/built/web/main.js +1 -1
  11. package/built/web/pxtapp.js +1 -1
  12. package/built/web/pxtasseteditor.js +1 -1
  13. package/built/web/pxtblockly.js +53 -1
  14. package/built/web/pxtblocks.js +1 -1
  15. package/built/web/pxtembed.js +53 -1
  16. package/built/web/pxtlib.js +1 -1
  17. package/built/web/pxtworker.js +1 -1
  18. package/built/web/react-common-skillmap.css +1 -0
  19. package/built/web/rtlblockly.css +1 -1
  20. package/built/web/rtlreact-common-skillmap.css +1 -0
  21. package/built/web/rtlsemantic.css +1 -1
  22. package/built/web/semantic.css +1 -1
  23. package/built/web/skillmap/js/main.b96caef3.chunk.js +1 -0
  24. package/docfiles/tracking.html +1 -1
  25. package/localtypings/blockly.d.ts +12268 -7535
  26. package/localtypings/pxtarget.d.ts +1 -0
  27. package/localtypings/pxtblockly.d.ts +37 -0
  28. package/package.json +6 -3
  29. package/react-common/components/Checkbox.tsx +25 -0
  30. package/react-common/components/Notification.tsx +82 -0
  31. package/react-common/components/profile/Badge.tsx +33 -0
  32. package/react-common/components/profile/BadgeInfo.tsx +74 -0
  33. package/react-common/components/profile/BadgeList.tsx +67 -0
  34. package/react-common/components/profile/Profile.tsx +42 -0
  35. package/react-common/components/profile/UserNotification.tsx +32 -0
  36. package/react-common/components/profile/UserPane.tsx +64 -0
  37. package/react-common/components/types.d.ts +29 -0
  38. package/react-common/components/util.tsx +35 -0
  39. package/{built/web/react-common.css → react-common/styles/profile/profile.less} +1 -0
  40. package/react-common/styles/react-common-skillmap-core.less +10 -0
  41. package/react-common/styles/react-common-skillmap.less +12 -0
  42. package/react-common/styles/react-common.less +1 -0
  43. package/react-common/tsconfig.json +36 -0
  44. package/theme/blockly-core.less +38 -13
  45. package/theme/common-components.less +7 -0
  46. package/theme/common.less +1 -1
  47. package/theme/highcontrast.less +4 -0
  48. package/theme/melodyeditor.less +2 -2
  49. package/theme/print.less +1 -1
  50. package/theme/pxt.less +2 -0
  51. package/theme/toolbox.less +1 -0
  52. package/theme/tutorial-sidebar.less +64 -6
  53. package/webapp/public/blockly/blockly_compressed.js +1271 -1288
  54. package/webapp/public/blockly/blocks_compressed.js +47 -65
  55. package/webapp/public/blockly/msg/js/en.js +8 -17
  56. package/webapp/public/blockly/msg/json/en.json +6 -15
  57. package/webapp/public/blockly/plugins.js +57 -0
  58. package/webapp/public/skillmap.html +2 -2
  59. package/built/web/skillmap/js/main.ea4b3e23.chunk.js +0 -1
@@ -260,6 +260,13 @@ declare namespace pxt.blocks {
260
260
  function setBlockData(block: Blockly.Block, data: PXTBlockData): void;
261
261
  function setBlockDataForField(block: Blockly.Block, field: string, data: string): void;
262
262
  function getBlockDataForField(block: Blockly.Block, field: string): string;
263
+ class PxtWorkspaceSearch extends WorkspaceSearch {
264
+ protected createDom_(): void;
265
+ protected highlightSearchGroup_(blocks: Blockly.BlockSvg[]): void;
266
+ protected unhighlightSearchGroup_(blocks: Blockly.BlockSvg[]): void;
267
+ open(): void;
268
+ close(): void;
269
+ }
263
270
  }
264
271
  declare namespace pxt.blocks {
265
272
  /**
@@ -471,7 +478,7 @@ declare namespace pxtblockly {
471
478
  protected animateRef: any;
472
479
  protected asset: pxt.Animation;
473
480
  protected initInterval: number;
474
- init(): void;
481
+ initView(): void;
475
482
  showEditor_(): void;
476
483
  render_(): void;
477
484
  protected getAssetType(): pxt.AssetType;
@@ -508,7 +515,7 @@ declare namespace pxtblockly {
508
515
  CURSOR: string;
509
516
  private type_;
510
517
  constructor(state: string, params: Blockly.FieldCustomOptions, opt_validator?: Function);
511
- init(): void;
518
+ initView(): void;
512
519
  updateSize_(): void;
513
520
  /**
514
521
  * Return 'TRUE' if the toggle is ON, 'FALSE' otherwise.
@@ -1243,7 +1250,7 @@ declare namespace pxtblockly {
1243
1250
  protected blocksInfo: pxtc.BlocksInfo;
1244
1251
  protected transparent: TilesetDropdownOption;
1245
1252
  constructor(text: string, options: FieldImageDropdownOptions, validator?: Function);
1246
- init(): void;
1253
+ initView(): void;
1247
1254
  getValue(): any;
1248
1255
  getText(): string;
1249
1256
  render_(): void;
@@ -1265,7 +1272,7 @@ declare namespace pxtblockly {
1265
1272
  CURSOR: string;
1266
1273
  private type_;
1267
1274
  constructor(state: string, params: Blockly.FieldCustomOptions, opt_validator?: Function);
1268
- init(): void;
1275
+ initView(): void;
1269
1276
  getDisplayText_(): string;
1270
1277
  getTrueText(): string;
1271
1278
  getFalseText(): string;