pxt-core 13.0.3 → 13.0.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/backendutils.d.ts +1 -0
- package/built/backendutils.js +29 -0
- package/built/cli.js +2 -2
- package/built/pxt.js +31 -2
- package/built/pxtblocks/fields/field_colour.d.ts +1 -0
- package/built/pxtlib.d.ts +1 -0
- package/built/pxtlib.js +29 -0
- package/built/target.js +1 -1
- package/built/targetlight.js +1 -1
- package/built/tests/blocksrunner.js +17 -1
- package/built/tests/blockssetup.js +17 -1
- package/built/web/main.js +2 -2
- package/built/web/pxtapp.js +1 -1
- package/built/web/pxtasseteditor.js +8 -8
- package/built/web/pxtembed.js +2 -2
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtworker.js +1 -1
- package/built/web/runnerembed.js +2 -2
- package/localtypings/pxteditor.d.ts +4 -1
- package/package.json +1 -1
|
@@ -85,6 +85,7 @@ declare namespace pxt.editor {
|
|
|
85
85
|
| "sethighcontrast" // EditorMessageSetHighContrastRequest
|
|
86
86
|
| "togglegreenscreen"
|
|
87
87
|
| "togglekeyboardcontrols"
|
|
88
|
+
| "togglescreenreadermode"
|
|
88
89
|
| "settracestate" //
|
|
89
90
|
| "setsimulatorfullscreen" // EditorMessageSimulatorFullScreenRequest
|
|
90
91
|
|
|
@@ -425,6 +426,7 @@ declare namespace pxt.editor {
|
|
|
425
426
|
locale: string;
|
|
426
427
|
availableLocales?: string[];
|
|
427
428
|
keyboardControls: boolean;
|
|
429
|
+
screenReaderMode: boolean;
|
|
428
430
|
}
|
|
429
431
|
|
|
430
432
|
export interface PackageExtensionData {
|
|
@@ -1048,7 +1050,8 @@ declare namespace pxt.editor {
|
|
|
1048
1050
|
|
|
1049
1051
|
toggleHighContrast(): void;
|
|
1050
1052
|
setHighContrast(on: boolean): void;
|
|
1051
|
-
|
|
1053
|
+
toggleScreenReaderModeAsync(eventSource: string): Promise<void>;
|
|
1054
|
+
isScreenReaderModeEnabled(): boolean;
|
|
1052
1055
|
toggleGreenScreen(): void;
|
|
1053
1056
|
launchFullEditor(): void;
|
|
1054
1057
|
resetWorkspace(): void;
|