pxt-core 7.5.42 → 7.5.45

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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-core",
3
- "version": "7.5.42",
3
+ "version": "7.5.45",
4
4
  "description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors",
5
5
  "keywords": [
6
6
  "TypeScript",
@@ -115,6 +115,10 @@ body.blocklyMinimalBody {
115
115
  visibility: visible;
116
116
  }
117
117
 
118
+ .blocklyTreeIcon.blocklyTreeIconserial {
119
+ font-family: 'brand-icons';
120
+ }
121
+
118
122
  i.icon.blocklyTreeButton {
119
123
  float: right;
120
124
  line-height: 40px;
package/theme/common.less CHANGED
@@ -1176,6 +1176,7 @@ Field editors
1176
1176
  justify-content: center;
1177
1177
  gap: 1rem;
1178
1178
  max-width: 95%;
1179
+ width: 95%;
1179
1180
  }
1180
1181
 
1181
1182
  .import-extension-modal {
@@ -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, "*");