@microsoft/teams-js 2.3.1-beta.0 → 2.4.0-beta.0

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.
@@ -2499,9 +2499,26 @@ export enum HostClientType {
2499
2499
  teamsDisplays = "teamsDisplays"
2500
2500
  }
2501
2501
  export enum HostName {
2502
+ /**
2503
+ * Office.com and Office Windows App
2504
+ */
2502
2505
  office = "Office",
2506
+ /**
2507
+ * For "desktop" specifically, this refers to the new, pre-release version of Outlook for Windows.
2508
+ * Also used on other platforms that map to a single Outlook client.
2509
+ */
2503
2510
  outlook = "Outlook",
2511
+ /**
2512
+ * Outlook for Windows: the classic, native, desktop client
2513
+ */
2514
+ outlookWin32 = "OutlookWin32",
2515
+ /**
2516
+ * Microsoft-internal test Host
2517
+ */
2504
2518
  orange = "Orange",
2519
+ /**
2520
+ * Teams
2521
+ */
2505
2522
  teams = "Teams"
2506
2523
  }
2507
2524
  export enum FrameContexts {
@@ -6149,13 +6166,6 @@ export namespace search {
6149
6166
  * Your application should *not* re-render inside of these callbacks, there may be a large number
6150
6167
  * of onChangeHandler calls if the user is typing rapidly in the search box.
6151
6168
  *
6152
- * @param onChangeHandler - This optional handler will be called when the user first starts using the
6153
- * host's search box and as the user types their query. Can be used to put your application into a
6154
- * word-wheeling state or to display suggestions as the user is typing.
6155
- *
6156
- * This handler will be called with an empty {@link SearchQuery.searchTerm} when search is beginning, and subsequently,
6157
- * with the current contents of the search box.
6158
- *
6159
6169
  * @param onClosedHandler - This handler will be called when the user exits or cancels their search.
6160
6170
  * Should be used to return your application to its most recent, non-search state. The value of {@link SearchQuery.searchTerm}
6161
6171
  * will be whatever the last query was before ending search.
@@ -6164,18 +6174,24 @@ export namespace search {
6164
6174
  * search (by pressing Enter for example). Should be used to display the full list of search results.
6165
6175
  * The value of {@link SearchQuery.searchTerm} is the complete query the user entered in the search box.
6166
6176
  *
6177
+ * @param onChangeHandler - This optional handler will be called when the user first starts using the
6178
+ * host's search box and as the user types their query. Can be used to put your application into a
6179
+ * word-wheeling state or to display suggestions as the user is typing.
6180
+ *
6181
+ * This handler will be called with an empty {@link SearchQuery.searchTerm} when search is beginning, and subsequently,
6182
+ * with the current contents of the search box.
6167
6183
  * @example
6168
6184
  * ``` ts
6169
6185
  * search.registerHandlers(
6170
- query => {
6171
- console.log(`Update your application with the changed search query: ${query.searchTerm}`);
6172
- },
6173
6186
  query => {
6174
6187
  console.log('Update your application to handle the search experience being closed. Last query: ${query.searchTerm}');
6175
6188
  },
6176
6189
  query => {
6177
6190
  console.log(`Update your application to handle an executed search result: ${query.searchTerm}`);
6178
6191
  },
6192
+ query => {
6193
+ console.log(`Update your application with the changed search query: ${query.searchTerm}`);
6194
+ },
6179
6195
  );
6180
6196
  * ```
6181
6197
  *
@@ -6303,6 +6319,8 @@ export namespace stageView {
6303
6319
  function isSupported(): boolean;
6304
6320
  }
6305
6321
 
6322
+ export const version: string;
6323
+
6306
6324
  /**
6307
6325
  * Contains functionality to allow web apps to store data in webview cache
6308
6326
  *