pxt-core 12.3.21 → 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
 
@@ -1017,6 +1018,7 @@ declare namespace ts.pxtc {
1017
1018
  _untranslatedBlock?: string; // The block definition before it was translated
1018
1019
  _untranslatedJsDoc?: string // the jsDoc before it was translated
1019
1020
  _untranslatedParamDefl?: pxt.Map<string>; // the parameter defaults before they were translated
1021
+ _untranslatedAriaLabel?: string; // the aria label before it was translated
1020
1022
  _translatedLanguageCode?: string // the language this block has been translated into
1021
1023
  _shadowOverrides?: pxt.Map<string>;
1022
1024
  jsDoc?: string;
@@ -1133,6 +1135,7 @@ declare namespace ts.pxtc {
1133
1135
  fileSystem: pxt.Map<string>;
1134
1136
  target: CompileTarget;
1135
1137
  testMode?: boolean;
1138
+ enhancedErrors?: boolean; // enable extra editor-only diagnostics
1136
1139
  sourceFiles?: string[]; // list of file names
1137
1140
  sourceTexts?: string[]; // list of file text content (TS string)
1138
1141
  generatedFiles?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-core",
3
- "version": "12.3.21",
3
+ "version": "12.3.22",
4
4
  "description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors",
5
5
  "keywords": [
6
6
  "TypeScript",
@@ -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
  }