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.
- package/built/cli.js +94 -83
- package/built/pxt.js +180 -135
- package/built/pxtblockly.js +1509 -1508
- package/built/pxtblocks.d.ts +11 -4
- package/built/pxtblocks.js +126 -138
- package/built/pxtlib.d.ts +6 -2
- package/built/pxtlib.js +86 -52
- package/built/target.js +1 -1
- package/built/web/blockly.css +1 -1
- package/built/web/main.js +1 -1
- package/built/web/pxtapp.js +1 -1
- package/built/web/pxtasseteditor.js +1 -1
- package/built/web/pxtblockly.js +53 -1
- package/built/web/pxtblocks.js +1 -1
- package/built/web/pxtembed.js +53 -1
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtworker.js +1 -1
- package/built/web/react-common-skillmap.css +1 -0
- package/built/web/rtlblockly.css +1 -1
- package/built/web/rtlreact-common-skillmap.css +1 -0
- package/built/web/rtlsemantic.css +1 -1
- package/built/web/semantic.css +1 -1
- package/built/web/skillmap/js/main.b96caef3.chunk.js +1 -0
- package/docfiles/tracking.html +1 -1
- package/localtypings/blockly.d.ts +12268 -7535
- package/localtypings/pxtarget.d.ts +1 -0
- package/localtypings/pxtblockly.d.ts +37 -0
- package/package.json +6 -3
- package/react-common/components/Checkbox.tsx +25 -0
- package/react-common/components/Notification.tsx +82 -0
- package/react-common/components/profile/Badge.tsx +33 -0
- package/react-common/components/profile/BadgeInfo.tsx +74 -0
- package/react-common/components/profile/BadgeList.tsx +67 -0
- package/react-common/components/profile/Profile.tsx +42 -0
- package/react-common/components/profile/UserNotification.tsx +32 -0
- package/react-common/components/profile/UserPane.tsx +64 -0
- package/react-common/components/types.d.ts +29 -0
- package/react-common/components/util.tsx +35 -0
- package/{built/web/react-common.css → react-common/styles/profile/profile.less} +1 -0
- package/react-common/styles/react-common-skillmap-core.less +10 -0
- package/react-common/styles/react-common-skillmap.less +12 -0
- package/react-common/styles/react-common.less +1 -0
- package/react-common/tsconfig.json +36 -0
- package/theme/blockly-core.less +38 -13
- package/theme/common-components.less +7 -0
- package/theme/common.less +1 -1
- package/theme/highcontrast.less +4 -0
- package/theme/melodyeditor.less +2 -2
- package/theme/print.less +1 -1
- package/theme/pxt.less +2 -0
- package/theme/toolbox.less +1 -0
- package/theme/tutorial-sidebar.less +64 -6
- package/webapp/public/blockly/blockly_compressed.js +1271 -1288
- package/webapp/public/blockly/blocks_compressed.js +47 -65
- package/webapp/public/blockly/msg/js/en.js +8 -17
- package/webapp/public/blockly/msg/json/en.json +6 -15
- package/webapp/public/blockly/plugins.js +57 -0
- package/webapp/public/skillmap.html +2 -2
- package/built/web/skillmap/js/main.ea4b3e23.chunk.js +0 -1
package/built/pxtblocks.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1275
|
+
initView(): void;
|
|
1269
1276
|
getDisplayText_(): string;
|
|
1270
1277
|
getTrueText(): string;
|
|
1271
1278
|
getFalseText(): string;
|