pxt-core 7.5.41 → 7.5.44
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 +1 -1
- package/built/pxtblockly.js +29 -2
- package/built/pxtblocks.js +29 -2
- package/built/pxtlib.js +1 -1
- package/built/pxtrunner.d.ts +2 -1
- package/built/pxtrunner.js +34 -7
- 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/pxtblockly.js +1 -1
- package/built/web/pxtblocks.js +1 -1
- package/built/web/pxtembed.js +2 -2
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtrunner.js +1 -1
- package/built/web/pxtworker.js +1 -1
- package/built/web/rtlblockly.css +1 -1
- package/built/web/rtlsemantic.css +1 -1
- package/built/web/semantic.css +1 -1
- package/localtypings/pxtarget.d.ts +2 -0
- package/package.json +1 -1
- package/theme/blockly-core.less +4 -0
- package/theme/common.less +4 -1
- package/webapp/public/run.html +4 -0
|
@@ -834,7 +834,9 @@ declare namespace ts.pxtc {
|
|
|
834
834
|
mutateDefaults?: string;
|
|
835
835
|
mutatePropertyEnum?: string;
|
|
836
836
|
inlineInputMode?: string; // can be inline (horizontal), external (vertical), auto (default), or variable (based off currently expanded number of params)
|
|
837
|
+
inlineInputModeLimit?: number; // the number of expanded arguments at which to switch from inline to external. only applies when inlineInputMode=variable and expandableArgumentsMode=enabled
|
|
837
838
|
expandableArgumentMode?: string; // can be disabled, enabled, or toggle
|
|
839
|
+
expandableArgumentBreaks?: string; // a comma separated list of how many arguments to reveal/hide each time + or - is pressed on a block. only applies when expandableArgumentsMode=enabled
|
|
838
840
|
compileHiddenArguments?: boolean; // if true, compiles the values in expandable arguments even when collapsed
|
|
839
841
|
draggableParameters?: string; // can be reporter or variable; defaults to variable
|
|
840
842
|
|
package/package.json
CHANGED
package/theme/blockly-core.less
CHANGED
package/theme/common.less
CHANGED
|
@@ -1024,6 +1024,7 @@ Field editors
|
|
|
1024
1024
|
.extension-display {
|
|
1025
1025
|
display: flex;
|
|
1026
1026
|
flex-wrap: wrap;
|
|
1027
|
+
justify-content: center;
|
|
1027
1028
|
padding: 2rem;
|
|
1028
1029
|
gap: .8rem;
|
|
1029
1030
|
|
|
@@ -1172,8 +1173,10 @@ Field editors
|
|
|
1172
1173
|
.extension-cards {
|
|
1173
1174
|
display: grid;
|
|
1174
1175
|
grid-template-columns: repeat(auto-fit, 18rem);
|
|
1176
|
+
justify-content: center;
|
|
1175
1177
|
gap: 1rem;
|
|
1176
|
-
width:
|
|
1178
|
+
max-width: 95%;
|
|
1179
|
+
width: 95%;
|
|
1177
1180
|
}
|
|
1178
1181
|
|
|
1179
1182
|
.import-extension-modal {
|
package/webapp/public/run.html
CHANGED
|
@@ -167,6 +167,10 @@
|
|
|
167
167
|
// propagate message packets to parent frames
|
|
168
168
|
window.parent.postMessage(msg.data, "*");
|
|
169
169
|
}
|
|
170
|
+
else if (data.type == "simulator" && data.command == "setstate") {
|
|
171
|
+
// propagate message packets to parent frames
|
|
172
|
+
window.parent.postMessage(msg.data, "*");
|
|
173
|
+
}
|
|
170
174
|
else if (mpRole && data.type === "multiplayer") {
|
|
171
175
|
// propagate message packets to parent frames
|
|
172
176
|
window.parent.postMessage(msg.data, "*");
|