@react-types/button 3.0.0-nightly-cdba74876-250121 → 3.0.0-nightly-3e1c5183f-250123
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 +2 -2
- package/src/index.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/button",
|
|
3
|
-
"version": "3.0.0-nightly-
|
|
3
|
+
"version": "3.0.0-nightly-3e1c5183f-250123",
|
|
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.0.0-nightly-
|
|
12
|
+
"@react-types/shared": "3.0.0-nightly-3e1c5183f-250123"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
|
package/src/index.d.ts
CHANGED
|
@@ -55,6 +55,8 @@ interface AriaBaseButtonProps extends FocusableDOMProps, AriaLabelingProps {
|
|
|
55
55
|
'aria-controls'?: string,
|
|
56
56
|
/** Indicates the current "pressed" state of toggle buttons. */
|
|
57
57
|
'aria-pressed'?: boolean | 'true' | 'false' | 'mixed',
|
|
58
|
+
/** Indicates whether this element represents the current item within a container or set of related elements. */
|
|
59
|
+
'aria-current'?: boolean | 'true' | 'false' | 'page' | 'step' | 'location' | 'date' | 'time',
|
|
58
60
|
/**
|
|
59
61
|
* The behavior of the button when used in an HTML form.
|
|
60
62
|
* @default 'button'
|