@theia/plugin 1.25.0-next.4 → 1.25.0-next.7
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/package.json +2 -2
- package/src/theia-proposed.d.ts +5 -0
- package/src/theia.d.ts +35 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.25.0-next.
|
|
3
|
+
"version": "1.25.0-next.7+64d193dcddc",
|
|
4
4
|
"description": "Theia - Plugin API",
|
|
5
5
|
"types": "./src/theia.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"nyc": {
|
|
33
33
|
"extends": "../../configs/nyc.json"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "64d193dcddc57dc40b32cc9976c5a4a68ab023ed"
|
|
36
36
|
}
|
package/src/theia-proposed.d.ts
CHANGED
|
@@ -642,6 +642,11 @@ export module '@theia/plugin' {
|
|
|
642
642
|
*/
|
|
643
643
|
contextValue?: string;
|
|
644
644
|
|
|
645
|
+
/**
|
|
646
|
+
* Accessibility information used when screen reader interacts with this timeline item.
|
|
647
|
+
*/
|
|
648
|
+
accessibilityInformation?: AccessibilityInformation;
|
|
649
|
+
|
|
645
650
|
/**
|
|
646
651
|
* @param label A human-readable string describing the timeline item
|
|
647
652
|
* @param timestamp A timestamp (in milliseconds since 1 January 1970 00:00:00) for when the timeline item occurred
|
package/src/theia.d.ts
CHANGED
|
@@ -2191,6 +2191,11 @@ export module '@theia/plugin' {
|
|
|
2191
2191
|
*/
|
|
2192
2192
|
matchOnDetail: boolean;
|
|
2193
2193
|
|
|
2194
|
+
/*
|
|
2195
|
+
* An optional flag to maintain the scroll position of the quick pick when the quick pick items are updated. Defaults to false.
|
|
2196
|
+
*/
|
|
2197
|
+
keepScrollPosition?: boolean;
|
|
2198
|
+
|
|
2194
2199
|
/**
|
|
2195
2200
|
* Active items. This can be read and updated by the extension.
|
|
2196
2201
|
*/
|
|
@@ -2399,6 +2404,24 @@ export module '@theia/plugin' {
|
|
|
2399
2404
|
export function getCommands(filterInternal?: boolean): PromiseLike<string[]>;
|
|
2400
2405
|
}
|
|
2401
2406
|
|
|
2407
|
+
/**
|
|
2408
|
+
* Accessibility information which controls screen reader behavior.
|
|
2409
|
+
*/
|
|
2410
|
+
export interface AccessibilityInformation {
|
|
2411
|
+
/**
|
|
2412
|
+
* Label to be read out by a screen reader once the item has focus.
|
|
2413
|
+
*/
|
|
2414
|
+
readonly label: string;
|
|
2415
|
+
|
|
2416
|
+
/**
|
|
2417
|
+
* Role of the widget which defines how a screen reader interacts with it.
|
|
2418
|
+
* The role should be set in special cases when for example a tree-like element behaves like a checkbox.
|
|
2419
|
+
* If role is not specified the editor will pick the appropriate role automatically.
|
|
2420
|
+
* More about aria roles can be found here https://w3c.github.io/aria/#widget_roles
|
|
2421
|
+
*/
|
|
2422
|
+
readonly role?: string;
|
|
2423
|
+
}
|
|
2424
|
+
|
|
2402
2425
|
/**
|
|
2403
2426
|
* Represents an action that is shown with a message.
|
|
2404
2427
|
*/
|
|
@@ -2490,6 +2513,11 @@ export module '@theia/plugin' {
|
|
|
2490
2513
|
*/
|
|
2491
2514
|
command: string | Command | undefined;
|
|
2492
2515
|
|
|
2516
|
+
/**
|
|
2517
|
+
* Accessibility information used when a screen reader interacts with this StatusBar item.
|
|
2518
|
+
*/
|
|
2519
|
+
accessibilityInformation: AccessibilityInformation | undefined;
|
|
2520
|
+
|
|
2493
2521
|
/**
|
|
2494
2522
|
* Shows the entry in the status bar.
|
|
2495
2523
|
*/
|
|
@@ -5250,6 +5278,13 @@ export module '@theia/plugin' {
|
|
|
5250
5278
|
*/
|
|
5251
5279
|
contextValue?: string;
|
|
5252
5280
|
|
|
5281
|
+
/**
|
|
5282
|
+
* Accessibility information used when screen reader interacts with this tree item.
|
|
5283
|
+
* Generally, a TreeItem has no need to set the `role` of the accessibilityInformation;
|
|
5284
|
+
* however, there are cases where a TreeItem is not displayed in a tree-like way where setting the `role` may make sense.
|
|
5285
|
+
*/
|
|
5286
|
+
accessibilityInformation?: AccessibilityInformation;
|
|
5287
|
+
|
|
5253
5288
|
/**
|
|
5254
5289
|
* @param label A human-readable string describing this item
|
|
5255
5290
|
* @param collapsibleState [TreeItemCollapsibleState](#TreeItemCollapsibleState) of the tree item. Default is [TreeItemCollapsibleState.None](#TreeItemCollapsibleState.None)
|