@react-types/button 3.14.1 → 3.15.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 +3 -3
- package/src/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/button",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.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.
|
|
12
|
+
"@react-types/shared": "^3.33.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": "
|
|
20
|
+
"gitHead": "66e51757606b43a89ed02c574ca24517323a2ab9"
|
|
21
21
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import {AriaLabelingProps, FocusableDOMProps, FocusableProps, Key, PressEvents, StyleProps} from '@react-types/shared';
|
|
14
|
-
import {ElementType, JSXElementConstructor, ReactNode} from 'react';
|
|
14
|
+
import {ButtonHTMLAttributes, ElementType, JSXElementConstructor, ReactNode} from 'react';
|
|
15
15
|
|
|
16
16
|
interface ButtonProps extends PressEvents, FocusableProps {
|
|
17
17
|
/** Whether the button is disabled. */
|
|
@@ -81,7 +81,7 @@ interface AriaBaseButtonProps extends FocusableDOMProps, AriaLabelingProps {
|
|
|
81
81
|
* The URL that processes the information submitted by the button.
|
|
82
82
|
* Overrides the action attribute of the button's form owner.
|
|
83
83
|
*/
|
|
84
|
-
formAction?:
|
|
84
|
+
formAction?: ButtonHTMLAttributes<HTMLButtonElement>['formAction'],
|
|
85
85
|
/** Indicates how to encode the form data that is submitted. */
|
|
86
86
|
formEncType?: string,
|
|
87
87
|
/** Indicates the HTTP method used to submit the form. */
|