@types/office-js 1.0.342 → 1.0.344

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.
office-js/LICENSE CHANGED
File without changes
office-js/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 07 Sep 2023 21:03:10 GMT
11
+ * Last updated: Thu, 21 Sep 2023 17:06:04 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
office-js/index.d.ts CHANGED
@@ -8475,13 +8475,14 @@ declare namespace Office {
8475
8475
  /**
8476
8476
  * Specifies the category color.
8477
8477
  *
8478
- * **Note**: The actual color depends on how the Outlook client renders it.
8479
- * In this case, the colors noted on each preset are for the Outlook desktop client.
8480
- *
8481
8478
  * @remarks
8482
8479
  * [Api set: Mailbox 1.8]
8483
8480
  *
8484
8481
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
8482
+ *
8483
+ * **Important**: The actual color depends on how the Outlook client renders it.
8484
+ * In this case, the colors noted on each preset apply to Outlook on Windows, on the web,
8485
+ * and on Mac (starting in Version 16.78).
8485
8486
  */
8486
8487
  enum CategoryColor {
8487
8488
  /**
@@ -84005,9 +84006,9 @@ declare namespace Word {
84005
84006
  * @remarks
84006
84007
  * [Api set: WordApi 1.1]
84007
84008
  *
84008
- * Note: The `contentControlType` parameter was introduced in WordApi 1.5.
84009
+ * Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5.
84009
84010
  *
84010
- * @param contentControlType Optional. The content control type. The default is 'RichText'.
84011
+ * @param contentControlType Optional. Content control type to insert. Must be 'RichText' or 'PlainText'. The default is 'RichText'.
84011
84012
  */
84012
84013
  insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | "RichText" | "PlainText"): Word.ContentControl;
84013
84014
  /**
@@ -85269,6 +85270,8 @@ declare namespace Word {
85269
85270
  *
85270
85271
  * @remarks
85271
85272
  * [Api set: WordApi 1.5]
85273
+ *
85274
+ * Note: `PlainText` support was added in WordApi 1.5.
85272
85275
  */
85273
85276
  types: Word.ContentControlType[];
85274
85277
  }
@@ -88177,9 +88180,9 @@ declare namespace Word {
88177
88180
  * @remarks
88178
88181
  * [Api set: WordApi 1.1]
88179
88182
  *
88180
- * Note: The `contentControlType` parameter was introduced in WordApi 1.5.
88183
+ * Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5.
88181
88184
  *
88182
- * @param contentControlType Optional. The content control type. The default is 'RichText'.
88185
+ * @param contentControlType Optional. Content control type to insert. Must be 'RichText' or 'PlainText'. The default is 'RichText'.
88183
88186
  */
88184
88187
  insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | "RichText" | "PlainText"): Word.ContentControl;
88185
88188
  /**
@@ -88911,9 +88914,9 @@ declare namespace Word {
88911
88914
  * @remarks
88912
88915
  * [Api set: WordApi 1.1]
88913
88916
  *
88914
- * Note: The `contentControlType` parameter was introduced in WordApi 1.5.
88917
+ * Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5.
88915
88918
  *
88916
- * @param contentControlType Optional. The content control type. The default is 'RichText'.
88919
+ * @param contentControlType Optional. Content control type to insert. Must be 'RichText' or 'PlainText'. The default is 'RichText'.
88917
88920
  */
88918
88921
  insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | "RichText" | "PlainText"): Word.ContentControl;
88919
88922
  /**
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.342",
3
+ "version": "1.0.344",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "3e0647332ce8333c3aea400442df6029f60659ef6239f6ea8f92a615259c09a2",
49
- "typeScriptVersion": "4.3"
48
+ "typesPublisherContentHash": "055a09572f139d8a998230f434199e064c3634e667f20afc169480fce41cdd2a",
49
+ "typeScriptVersion": "4.5"
50
50
  }