@react-types/button
Advanced tools
Comparing version 3.0.0-nightly-fb28ab3b4-241024 to 3.0.0-nightly-fd7075c5f-250128
{ | ||
"name": "@react-types/button", | ||
"version": "3.0.0-nightly-fb28ab3b4-241024", | ||
"version": "3.0.0-nightly-fd7075c5f-250128", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,11 +12,10 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/shared": "^3.0.0-nightly-fb28ab3b4-241024" | ||
"@react-types/shared": "3.0.0-nightly-fd7075c5f-250128" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"stableVersion": "3.10.0" | ||
} | ||
} |
@@ -13,3 +13,3 @@ /* | ||
import {AriaLabelingProps, FocusableDOMProps, FocusableProps, PressEvents, StyleProps} from '@react-types/shared'; | ||
import {AriaLabelingProps, FocusableDOMProps, FocusableProps, Key, PressEvents, StyleProps} from '@react-types/shared'; | ||
import {ElementType, JSXElementConstructor, ReactNode} from 'react'; | ||
@@ -59,2 +59,4 @@ | ||
'aria-pressed'?: boolean | 'true' | 'false' | 'mixed', | ||
/** Indicates whether this element represents the current item within a container or set of related elements. */ | ||
'aria-current'?: boolean | 'true' | 'false' | 'page' | 'step' | 'location' | 'date' | 'time', | ||
/** | ||
@@ -76,2 +78,6 @@ * The behavior of the button when used in an HTML form. | ||
export interface AriaToggleButtonProps<T extends ElementType = 'button'> extends ToggleButtonProps, AriaBaseButtonProps, AriaButtonElementTypeProps<T> {} | ||
export interface AriaToggleButtonGroupItemProps<E extends ElementType = 'button'> extends Omit<AriaToggleButtonProps<E>, 'id' | 'isSelected' | 'defaultSelected' | 'onChange'> { | ||
/** An identifier for the item in the `selectedKeys` of a ToggleButtonGroup. */ | ||
id: Key | ||
} | ||
@@ -78,0 +84,0 @@ /** @deprecated */ |
6339
105
+ Added@react-types/shared@3.0.0-nightly-fd7075c5f-250128(transitive)
- Removed@react-types/shared@3.27.0(transitive)