@react-types/slider 3.7.12 → 3.8.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/slider",
3
- "version": "3.7.12",
3
+ "version": "3.8.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
@@ -117,5 +117,11 @@ export interface SpectrumRangeSliderProps extends SpectrumBarSliderBase<RangeVal
117
117
  /**
118
118
  * The name of the end input element, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname).
119
119
  */
120
- endName?: string
120
+ endName?: string,
121
+ /**
122
+ * The `<form>` element to associate the slider with.
123
+ * The value of this attribute must be the id of a `<form>` in the same document.
124
+ * See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#form).
125
+ */
126
+ form?: string
121
127
  }