@react-types/button 3.13.0 → 3.14.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 +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/button",
3
- "version": "3.13.0",
3
+ "version": "3.14.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.31.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": "8b9348ff255e018b2dd9b27e2a45507cadfa1d35"
20
+ "gitHead": "2c58ed3ddd9be9100af9b1d0cfd137fcdc95ba2d"
21
21
  }
package/src/index.d.ts CHANGED
@@ -47,6 +47,8 @@ export interface LinkButtonProps<T extends ElementType = 'button'> extends AriaB
47
47
  }
48
48
 
49
49
  interface AriaBaseButtonProps extends FocusableDOMProps, AriaLabelingProps {
50
+ /** Indicates whether the element is disabled to users of assistive technology. */
51
+ 'aria-disabled'?: boolean | 'true' | 'false',
50
52
  /** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
51
53
  'aria-expanded'?: boolean | 'true' | 'false',
52
54
  /** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */