pxt-core 8.6.2 → 8.6.4
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/pxt.js +10 -10
- package/built/pxteditor.d.ts +1 -1
- package/built/pxteditor.js +4 -4
- package/built/pxtlib.js +10 -10
- package/built/target.js +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/pxteditor.js +1 -1
- package/built/web/pxtembed.js +2 -2
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtworker.js +1 -1
- package/built/web/react-common-authcode.css +1 -1
- package/built/web/react-common-multiplayer.css +1 -1
- package/built/web/react-common-skillmap.css +1 -1
- package/built/web/rtlreact-common-authcode.css +1 -1
- package/built/web/rtlreact-common-multiplayer.css +1 -1
- package/built/web/rtlreact-common-skillmap.css +1 -1
- package/built/web/rtlsemantic.css +1 -1
- package/built/web/semantic.css +1 -1
- package/built/web/serviceworker.js +1 -1
- package/built/web/skillmap/js/{main.a715c76c.js → main.2dfa3448.js} +2 -2
- package/package.json +1 -1
- package/react-common/components/palette/ColorPickerField.tsx +2 -2
- package/react-common/components/share/Share.tsx +3 -3
- package/react-common/components/share/ShareInfo.tsx +18 -6
- package/react-common/styles/palette/ColorPickerField.less +3 -0
- package/webapp/public/index.html +23 -1
- package/webapp/public/music-editor/apple.png +0 -0
- package/webapp/public/music-editor/bass-clef.svg +10 -0
- package/webapp/public/music-editor/burger.png +0 -0
- package/webapp/public/music-editor/cake.png +0 -0
- package/webapp/public/music-editor/car.png +0 -0
- package/webapp/public/music-editor/cat.png +0 -0
- package/webapp/public/music-editor/cherry.png +0 -0
- package/webapp/public/music-editor/clam.png +0 -0
- package/webapp/public/music-editor/computer.png +0 -0
- package/webapp/public/music-editor/crab.png +0 -0
- package/webapp/public/music-editor/dog.png +0 -0
- package/webapp/public/music-editor/duck.png +0 -0
- package/webapp/public/music-editor/egg.png +0 -0
- package/webapp/public/music-editor/explosion.png +0 -0
- package/webapp/public/music-editor/fish.png +0 -0
- package/webapp/public/music-editor/ice-cream.png +0 -0
- package/webapp/public/music-editor/lemon.png +0 -0
- package/webapp/public/music-editor/snake.png +0 -0
- package/webapp/public/music-editor/star.png +0 -0
- package/webapp/public/music-editor/strawberry.png +0 -0
- package/webapp/public/music-editor/taco.png +0 -0
- package/webapp/public/music-editor/treble-clef.svg +1 -0
- package/webapp/public/skillmap.html +1 -1
package/built/pxt.js
CHANGED
|
@@ -112215,7 +112215,7 @@ var pxt;
|
|
|
112215
112215
|
id: 0,
|
|
112216
112216
|
name: lf("Dog"),
|
|
112217
112217
|
notes: [],
|
|
112218
|
-
iconURI: "
|
|
112218
|
+
iconURI: "music-editor/dog.png",
|
|
112219
112219
|
instrument: {
|
|
112220
112220
|
waveform: 1,
|
|
112221
112221
|
octave: 4,
|
|
@@ -112236,7 +112236,7 @@ var pxt;
|
|
|
112236
112236
|
id: 1,
|
|
112237
112237
|
name: lf("Duck"),
|
|
112238
112238
|
notes: [],
|
|
112239
|
-
iconURI: "
|
|
112239
|
+
iconURI: "music-editor/duck.png",
|
|
112240
112240
|
instrument: {
|
|
112241
112241
|
waveform: 15,
|
|
112242
112242
|
octave: 4,
|
|
@@ -112268,7 +112268,7 @@ var pxt;
|
|
|
112268
112268
|
id: 2,
|
|
112269
112269
|
name: lf("Cat"),
|
|
112270
112270
|
notes: [],
|
|
112271
|
-
iconURI: "
|
|
112271
|
+
iconURI: "music-editor/cat.png",
|
|
112272
112272
|
instrument: {
|
|
112273
112273
|
waveform: 12,
|
|
112274
112274
|
octave: 5,
|
|
@@ -112296,7 +112296,7 @@ var pxt;
|
|
|
112296
112296
|
id: 3,
|
|
112297
112297
|
name: lf("Fish"),
|
|
112298
112298
|
notes: [],
|
|
112299
|
-
iconURI: "
|
|
112299
|
+
iconURI: "music-editor/fish.png",
|
|
112300
112300
|
instrument: {
|
|
112301
112301
|
waveform: 1,
|
|
112302
112302
|
octave: 3,
|
|
@@ -112321,7 +112321,7 @@ var pxt;
|
|
|
112321
112321
|
id: 4,
|
|
112322
112322
|
name: lf("Car"),
|
|
112323
112323
|
notes: [],
|
|
112324
|
-
iconURI: "
|
|
112324
|
+
iconURI: "music-editor/car.png",
|
|
112325
112325
|
instrument: {
|
|
112326
112326
|
waveform: 16,
|
|
112327
112327
|
octave: 4,
|
|
@@ -112342,7 +112342,7 @@ var pxt;
|
|
|
112342
112342
|
id: 5,
|
|
112343
112343
|
name: lf("Computer"),
|
|
112344
112344
|
notes: [],
|
|
112345
|
-
iconURI: "
|
|
112345
|
+
iconURI: "music-editor/computer.png",
|
|
112346
112346
|
instrument: {
|
|
112347
112347
|
waveform: 15,
|
|
112348
112348
|
octave: 2,
|
|
@@ -112359,7 +112359,7 @@ var pxt;
|
|
|
112359
112359
|
id: 6,
|
|
112360
112360
|
name: lf("Burger"),
|
|
112361
112361
|
notes: [],
|
|
112362
|
-
iconURI: "
|
|
112362
|
+
iconURI: "music-editor/burger.png",
|
|
112363
112363
|
instrument: {
|
|
112364
112364
|
waveform: 1,
|
|
112365
112365
|
octave: 2,
|
|
@@ -112376,7 +112376,7 @@ var pxt;
|
|
|
112376
112376
|
id: 7,
|
|
112377
112377
|
name: lf("Cherry"),
|
|
112378
112378
|
notes: [],
|
|
112379
|
-
iconURI: "
|
|
112379
|
+
iconURI: "music-editor/cherry.png",
|
|
112380
112380
|
instrument: {
|
|
112381
112381
|
waveform: 2,
|
|
112382
112382
|
octave: 3,
|
|
@@ -112393,7 +112393,7 @@ var pxt;
|
|
|
112393
112393
|
id: 8,
|
|
112394
112394
|
name: lf("Lemon"),
|
|
112395
112395
|
notes: [],
|
|
112396
|
-
iconURI: "
|
|
112396
|
+
iconURI: "music-editor/lemon.png",
|
|
112397
112397
|
instrument: {
|
|
112398
112398
|
waveform: 14,
|
|
112399
112399
|
octave: 2,
|
|
@@ -112425,7 +112425,7 @@ var pxt;
|
|
|
112425
112425
|
id: 9,
|
|
112426
112426
|
name: lf("Drums"),
|
|
112427
112427
|
notes: [],
|
|
112428
|
-
iconURI: "
|
|
112428
|
+
iconURI: "music-editor/explosion.png",
|
|
112429
112429
|
instrument: {
|
|
112430
112430
|
waveform: 11,
|
|
112431
112431
|
octave: 4,
|
package/built/pxteditor.d.ts
CHANGED
|
@@ -318,7 +318,7 @@ declare namespace pxt.editor {
|
|
|
318
318
|
toggleKeymap(): void;
|
|
319
319
|
showReportAbuse(): void;
|
|
320
320
|
showLanguagePicker(): void;
|
|
321
|
-
showShareDialog(title?: string,
|
|
321
|
+
showShareDialog(title?: string, kind?: "multiplayer" | "vscode" | "share"): void;
|
|
322
322
|
showAboutDialog(): void;
|
|
323
323
|
showLoginDialog(continuationHash?: string): void;
|
|
324
324
|
showProfileDialog(location?: string): void;
|
package/built/pxteditor.js
CHANGED
|
@@ -1019,13 +1019,13 @@ var pxt;
|
|
|
1019
1019
|
* assets.song("""name""")
|
|
1020
1020
|
*
|
|
1021
1021
|
* and the hex-literal syntax:
|
|
1022
|
-
* music.
|
|
1023
|
-
* music.
|
|
1022
|
+
* music.createSong(hex`01234`
|
|
1023
|
+
* music.create_song(hex("""01234""")
|
|
1024
1024
|
*
|
|
1025
|
-
* For the hex literal matches, it includes the call to music.
|
|
1025
|
+
* For the hex literal matches, it includes the call to music.createSong since
|
|
1026
1026
|
* hex buffers can also be used for other things
|
|
1027
1027
|
*/
|
|
1028
|
-
searchString: "(?:(?:assets\\s*\\.\\s*song)|(?:music\\s*\\.\\s*
|
|
1028
|
+
searchString: "(?:(?:assets\\s*\\.\\s*song)|(?:music\\s*\\.\\s*create(?:S|_s)ong\\s*\\(\\s*hex))\\s*(?:`|\\(\\s*\"\"\")(?:(?:[^(){}:\\[\\]\"';?/,+\\-=*&|^%!`~]|\\n)*)\\s*(?:`|\"\"\"\\s*\\))",
|
|
1029
1029
|
isRegex: true,
|
|
1030
1030
|
matchCase: true,
|
|
1031
1031
|
matchWholeWord: false
|
package/built/pxtlib.js
CHANGED
|
@@ -14529,7 +14529,7 @@ var pxt;
|
|
|
14529
14529
|
id: 0,
|
|
14530
14530
|
name: lf("Dog"),
|
|
14531
14531
|
notes: [],
|
|
14532
|
-
iconURI: "
|
|
14532
|
+
iconURI: "music-editor/dog.png",
|
|
14533
14533
|
instrument: {
|
|
14534
14534
|
waveform: 1,
|
|
14535
14535
|
octave: 4,
|
|
@@ -14550,7 +14550,7 @@ var pxt;
|
|
|
14550
14550
|
id: 1,
|
|
14551
14551
|
name: lf("Duck"),
|
|
14552
14552
|
notes: [],
|
|
14553
|
-
iconURI: "
|
|
14553
|
+
iconURI: "music-editor/duck.png",
|
|
14554
14554
|
instrument: {
|
|
14555
14555
|
waveform: 15,
|
|
14556
14556
|
octave: 4,
|
|
@@ -14582,7 +14582,7 @@ var pxt;
|
|
|
14582
14582
|
id: 2,
|
|
14583
14583
|
name: lf("Cat"),
|
|
14584
14584
|
notes: [],
|
|
14585
|
-
iconURI: "
|
|
14585
|
+
iconURI: "music-editor/cat.png",
|
|
14586
14586
|
instrument: {
|
|
14587
14587
|
waveform: 12,
|
|
14588
14588
|
octave: 5,
|
|
@@ -14610,7 +14610,7 @@ var pxt;
|
|
|
14610
14610
|
id: 3,
|
|
14611
14611
|
name: lf("Fish"),
|
|
14612
14612
|
notes: [],
|
|
14613
|
-
iconURI: "
|
|
14613
|
+
iconURI: "music-editor/fish.png",
|
|
14614
14614
|
instrument: {
|
|
14615
14615
|
waveform: 1,
|
|
14616
14616
|
octave: 3,
|
|
@@ -14635,7 +14635,7 @@ var pxt;
|
|
|
14635
14635
|
id: 4,
|
|
14636
14636
|
name: lf("Car"),
|
|
14637
14637
|
notes: [],
|
|
14638
|
-
iconURI: "
|
|
14638
|
+
iconURI: "music-editor/car.png",
|
|
14639
14639
|
instrument: {
|
|
14640
14640
|
waveform: 16,
|
|
14641
14641
|
octave: 4,
|
|
@@ -14656,7 +14656,7 @@ var pxt;
|
|
|
14656
14656
|
id: 5,
|
|
14657
14657
|
name: lf("Computer"),
|
|
14658
14658
|
notes: [],
|
|
14659
|
-
iconURI: "
|
|
14659
|
+
iconURI: "music-editor/computer.png",
|
|
14660
14660
|
instrument: {
|
|
14661
14661
|
waveform: 15,
|
|
14662
14662
|
octave: 2,
|
|
@@ -14673,7 +14673,7 @@ var pxt;
|
|
|
14673
14673
|
id: 6,
|
|
14674
14674
|
name: lf("Burger"),
|
|
14675
14675
|
notes: [],
|
|
14676
|
-
iconURI: "
|
|
14676
|
+
iconURI: "music-editor/burger.png",
|
|
14677
14677
|
instrument: {
|
|
14678
14678
|
waveform: 1,
|
|
14679
14679
|
octave: 2,
|
|
@@ -14690,7 +14690,7 @@ var pxt;
|
|
|
14690
14690
|
id: 7,
|
|
14691
14691
|
name: lf("Cherry"),
|
|
14692
14692
|
notes: [],
|
|
14693
|
-
iconURI: "
|
|
14693
|
+
iconURI: "music-editor/cherry.png",
|
|
14694
14694
|
instrument: {
|
|
14695
14695
|
waveform: 2,
|
|
14696
14696
|
octave: 3,
|
|
@@ -14707,7 +14707,7 @@ var pxt;
|
|
|
14707
14707
|
id: 8,
|
|
14708
14708
|
name: lf("Lemon"),
|
|
14709
14709
|
notes: [],
|
|
14710
|
-
iconURI: "
|
|
14710
|
+
iconURI: "music-editor/lemon.png",
|
|
14711
14711
|
instrument: {
|
|
14712
14712
|
waveform: 14,
|
|
14713
14713
|
octave: 2,
|
|
@@ -14739,7 +14739,7 @@ var pxt;
|
|
|
14739
14739
|
id: 9,
|
|
14740
14740
|
name: lf("Drums"),
|
|
14741
14741
|
notes: [],
|
|
14742
|
-
iconURI: "
|
|
14742
|
+
iconURI: "music-editor/explosion.png",
|
|
14743
14743
|
instrument: {
|
|
14744
14744
|
waveform: 11,
|
|
14745
14745
|
octave: 4,
|