@types/chrome 0.0.228 → 0.0.229

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.
Files changed (3) hide show
  1. chrome/README.md +1 -1
  2. chrome/index.d.ts +27 -0
  3. chrome/package.json +2 -2
chrome/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Chrome extension development (http://
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 03 Apr 2023 18:33:22 GMT
11
+ * Last updated: Tue, 11 Apr 2023 08:33:08 GMT
12
12
  * Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
13
13
  * Global values: `chrome`
14
14
 
chrome/index.d.ts CHANGED
@@ -4839,6 +4839,11 @@ declare namespace chrome.input.ime {
4839
4839
  capsLock?: boolean | undefined;
4840
4840
  }
4841
4841
 
4842
+ /**
4843
+ * The auto-capitalize type of the text field.
4844
+ * @since Chrome 69.
4845
+ */
4846
+ export type AutoCapitalizeType = 'characters' | 'words' | 'sentences';
4842
4847
  /** Describes an input Context */
4843
4848
  export interface InputContext {
4844
4849
  /** This is used to specify targets of text field operations. This ID becomes invalid as soon as onBlur is called. */
@@ -4860,6 +4865,16 @@ declare namespace chrome.input.ime {
4860
4865
  * @since Chrome 40.
4861
4866
  */
4862
4867
  spellCheck: boolean;
4868
+ /**
4869
+ * The auto-capitalize type of the text field.
4870
+ * @since Chrome 69.
4871
+ */
4872
+ autoCaptialize: AutoCapitalizeType;
4873
+ /**
4874
+ * Whether text entered into the text field should be used to improve typing suggestions for the user.
4875
+ * @since Chrome 68.
4876
+ */
4877
+ shouldDoLearning: boolean;
4863
4878
  }
4864
4879
 
4865
4880
  /**
@@ -5015,6 +5030,18 @@ declare namespace chrome.input.ime {
5015
5030
  * @since Chrome 28.
5016
5031
  */
5017
5032
  windowPosition?: string | undefined;
5033
+ /**
5034
+ * Optional.
5035
+ * The index of the current chosen candidate out of total candidates.
5036
+ * @since Chrome 84.
5037
+ */
5038
+ currentCandidateIndex?: number | undefined;
5039
+ /**
5040
+ * Optional.
5041
+ * The total number of candidates for the candidate window.
5042
+ * @since Chrome 84.
5043
+ */
5044
+ totalCandidates?: number | undefined;
5018
5045
  }
5019
5046
 
5020
5047
  export interface CandidateWindowParameter {
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.228",
3
+ "version": "0.0.229",
4
4
  "description": "TypeScript definitions for Chrome extension development",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
6
6
  "license": "MIT",
@@ -93,6 +93,6 @@
93
93
  "@types/filesystem": "*",
94
94
  "@types/har-format": "*"
95
95
  },
96
- "typesPublisherContentHash": "8b74a4d0a766094ef68e1c62ce3972f2098b491a029a4c41b04a3e1f7f53b5d9",
96
+ "typesPublisherContentHash": "e44d09357d0ede268b3f87a11def92c60c2ce132c1d4f3e18b954a3cb08ebeea",
97
97
  "typeScriptVersion": "4.3"
98
98
  }