@react-types/searchfield 3.1.3 → 3.2.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.
- package/package.json +4 -3
- package/src/index.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/searchfield",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"url": "https://github.com/adobe/react-spectrum"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@react-types/
|
|
12
|
+
"@react-types/shared": "^3.12.0",
|
|
13
|
+
"@react-types/textfield": "^3.4.0"
|
|
13
14
|
},
|
|
14
15
|
"peerDependencies": {
|
|
15
16
|
"react": "^16.8.0 || ^17.0.0-rc.1"
|
|
@@ -17,5 +18,5 @@
|
|
|
17
18
|
"publishConfig": {
|
|
18
19
|
"access": "public"
|
|
19
20
|
},
|
|
20
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "6a503b715e0dbbf92038cd7f08b1bcdde4c78e82"
|
|
21
22
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import {AriaTextFieldProps, SpectrumTextFieldProps, TextFieldProps} from '@react-types/textfield';
|
|
14
|
+
import {SpectrumTextInputBase} from '@react-types/shared';
|
|
14
15
|
|
|
15
16
|
export interface SearchFieldProps extends TextFieldProps {
|
|
16
17
|
/** Handler that is called when the SearchField is submitted. */
|
|
@@ -21,4 +22,4 @@ export interface SearchFieldProps extends TextFieldProps {
|
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
export interface AriaSearchFieldProps extends SearchFieldProps, AriaTextFieldProps {}
|
|
24
|
-
export interface SpectrumSearchFieldProps extends AriaSearchFieldProps, SpectrumTextFieldProps {}
|
|
25
|
+
export interface SpectrumSearchFieldProps extends SpectrumTextInputBase, AriaSearchFieldProps, SpectrumTextFieldProps {}
|