@react-types/select 3.9.13 → 3.10.1

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 +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/select",
3
- "version": "3.9.13",
3
+ "version": "3.10.1",
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.30.0"
12
+ "@react-types/shared": "^3.32.0"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
@@ -17,5 +17,5 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  },
20
- "gitHead": "265b4d7f107905ee1c6e87a8af1613ab440a6849"
20
+ "gitHead": "2c58ed3ddd9be9100af9b1d0cfd137fcdc95ba2d"
21
21
  }
package/src/index.d.ts CHANGED
@@ -47,7 +47,13 @@ export interface AriaSelectProps<T> extends SelectProps<T>, DOMProps, AriaLabeli
47
47
  /**
48
48
  * The name of the input, used when submitting an HTML form.
49
49
  */
50
- name?: string
50
+ name?: string,
51
+ /**
52
+ * The `<form>` element to associate the input with.
53
+ * The value of this attribute must be the id of a `<form>` in the same document.
54
+ * See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#form).
55
+ */
56
+ form?: string
51
57
  }
52
58
 
53
59
  export interface SpectrumPickerProps<T> extends AriaSelectProps<T>, AsyncLoadable, SpectrumLabelableProps, StyleProps {