@react-types/shared
Advanced tools
Comparing version 3.0.0-nightly-50c7ada5d-241223 to 3.0.0-nightly-5334df7f1-250226
{ | ||
"name": "@react-types/shared", | ||
"version": "3.0.0-nightly-50c7ada5d-241223", | ||
"version": "3.0.0-nightly-5334df7f1-250226", | ||
"description": "Spectrum UI components in React", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -183,3 +183,6 @@ /* | ||
/** Returns a string representation of the item's contents. */ | ||
getTextValue?(key: Key): string | ||
getTextValue?(key: Key): string, | ||
/** Filters the collection using the given function. */ | ||
filter?(filterFn: (nodeValue: string) => boolean): Collection<T> | ||
} | ||
@@ -186,0 +189,0 @@ |
@@ -169,3 +169,18 @@ /* | ||
*/ | ||
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | ||
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search', | ||
/** | ||
* 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). | ||
*/ | ||
autoCorrect?: string, | ||
/** | ||
* 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). | ||
*/ | ||
spellCheck?: string, | ||
/** | ||
* An enumerated attribute that defines what action label or icon to preset for the enter key on virtual keyboards. See [https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint]. | ||
*/ | ||
enterKeyHint?: string | ||
} | ||
@@ -172,0 +187,0 @@ |
75870
1819