@react-types/shared 3.26.0 → 3.27.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/dom.d.ts +11 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/shared",
3
- "version": "3.26.0",
3
+ "version": "3.27.0",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -14,5 +14,5 @@
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  },
17
- "gitHead": "71f0ef23053f9e03ee7e97df736e8b083e006849"
17
+ "gitHead": "09e7f44bebdc9d89122926b2b439a0a38a2814ea"
18
18
  }
package/src/dom.d.ts CHANGED
@@ -166,7 +166,17 @@ export interface TextInputDOMProps extends DOMProps, InputDOMProps, TextInputDOM
166
166
  /**
167
167
  * Hints at the type of data that might be entered by the user while editing the element or its contents. See [MDN](https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute).
168
168
  */
169
- inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'
169
+ inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search',
170
+
171
+ /**
172
+ * An attribute that takes as its value a space-separated string that describes what, if any, type of autocomplete functionality the input should provide. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#autocomplete).
173
+ */
174
+ autoCorrect?: string,
175
+
176
+ /**
177
+ * An enumerated attribute that defines whether the element may be checked for spelling errors. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck).
178
+ */
179
+ spellCheck?: string
170
180
  }
171
181
 
172
182
  /**