@react-types/textfield 3.6.1 → 3.7.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 +3 -3
  2. package/src/index.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/textfield",
3
- "version": "3.6.1",
3
+ "version": "3.7.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,7 @@
9
9
  "url": "https://github.com/adobe/react-spectrum"
10
10
  },
11
11
  "dependencies": {
12
- "@react-types/shared": "^3.16.0"
12
+ "@react-types/shared": "^3.17.0"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
@@ -17,5 +17,5 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  },
20
- "gitHead": "2954307ddbefe149241685440c81f80ece6b2c83"
20
+ "gitHead": "a0efee84aa178cb1a202951dfd6d8de02b292307"
21
21
  }
package/src/index.d.ts CHANGED
@@ -46,7 +46,7 @@ export interface AriaTextFieldProps extends TextFieldProps, AriaLabelingProps, F
46
46
 
47
47
  export interface SpectrumTextFieldProps extends SpectrumTextInputBase, AriaTextFieldProps, SpectrumLabelableProps, StyleProps {
48
48
  /** An icon to display at the start of the input. */
49
- icon?: ReactElement,
49
+ icon?: ReactElement | null,
50
50
  /** Whether the input should be displayed with a quiet style. */
51
51
  isQuiet?: boolean
52
52
  }