pxt-core 12.3.20 → 12.3.22

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.
@@ -980,6 +980,7 @@ declare namespace ts.pxtc {
980
980
  enumIsHash?: boolean; // if true, the name of the enum is normalized, then hashed to generate the value
981
981
  enumPromptHint?: string; // The hint that will be displayed in the member creation prompt
982
982
  enumInitialMembers?: string[]; // The initial enum values which will be given the lowest values available
983
+ ariaLabel?: string; // The aria label for the enum value if the screen reader text should differ from the block value in dropdown items
983
984
 
984
985
  /* end enum-only attributes */
985
986
 
@@ -1016,6 +1017,8 @@ declare namespace ts.pxtc {
1016
1017
  _expandedDef?: ParsedBlockDef;
1017
1018
  _untranslatedBlock?: string; // The block definition before it was translated
1018
1019
  _untranslatedJsDoc?: string // the jsDoc before it was translated
1020
+ _untranslatedParamDefl?: pxt.Map<string>; // the parameter defaults before they were translated
1021
+ _untranslatedAriaLabel?: string; // the aria label before it was translated
1019
1022
  _translatedLanguageCode?: string // the language this block has been translated into
1020
1023
  _shadowOverrides?: pxt.Map<string>;
1021
1024
  jsDoc?: string;
@@ -1132,6 +1135,7 @@ declare namespace ts.pxtc {
1132
1135
  fileSystem: pxt.Map<string>;
1133
1136
  target: CompileTarget;
1134
1137
  testMode?: boolean;
1138
+ enhancedErrors?: boolean; // enable extra editor-only diagnostics
1135
1139
  sourceFiles?: string[]; // list of file names
1136
1140
  sourceTexts?: string[]; // list of file text content (TS string)
1137
1141
  generatedFiles?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-core",
3
- "version": "12.3.20",
3
+ "version": "12.3.22",
4
4
  "description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors",
5
5
  "keywords": [
6
6
  "TypeScript",
@@ -23,7 +23,7 @@
23
23
  * Checkboxes *
24
24
  ****************************************************/
25
25
 
26
- @checkboxFocusOutline: var(--pxt-neutral-stencil1) solid 1px;
26
+ @checkboxFocusOutline: var(--pxt-focus-border) solid 3px;
27
27
 
28
28
  /****************************************************
29
29
  * EditorToggle *
@@ -152,6 +152,44 @@
152
152
  &.stackframe {
153
153
  padding-left: 2em;
154
154
  }
155
+
156
+ &.errorListItemRow {
157
+ display: flex;
158
+ align-items: center;
159
+ gap: 0.5rem;
160
+ }
161
+
162
+ .errorListItemMessage {
163
+ flex: 1 1 auto;
164
+ min-width: 0;
165
+ margin: 0;
166
+ padding: 0;
167
+ background: none;
168
+ color: inherit;
169
+ line-height: inherit;
170
+ text-align: start;
171
+
172
+ &:hover {
173
+ filter: none;
174
+ }
175
+ }
176
+
177
+ .errorListItemText {
178
+ overflow-wrap: anywhere;
179
+ }
180
+
181
+ .errorListItemActions {
182
+ flex: 0 0 auto;
183
+ display: flex;
184
+ align-items: center;
185
+ }
186
+
187
+ .errorListAction {
188
+ margin: 0;
189
+ padding: 0.7rem;
190
+ line-height: 0.8rem;
191
+ white-space: nowrap;
192
+ }
155
193
  }
156
194
  }
157
195
  }