@react-types/radio
Advanced tools
Comparing version 3.0.0-rc.2 to 3.0.0-rc.3
{ | ||
"name": "@react-types/radio", | ||
"version": "3.0.0-rc.2", | ||
"version": "3.0.0-rc.3", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,3 +12,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/shared": "^3.0.0-rc.2" | ||
"@react-types/shared": "3.0.0-rc.3" | ||
}, | ||
@@ -21,3 +21,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "207e6ee9076905c96638a7f81a367758872e1410" | ||
"gitHead": "461d6321126ae9b4f1508aa912f7b36bf8a603f8" | ||
} |
@@ -14,2 +14,4 @@ /* | ||
import { | ||
AriaLabelingProps, | ||
AriaValidationProps, | ||
DOMProps, | ||
@@ -22,2 +24,3 @@ FocusableProps, | ||
StyleProps, | ||
Validation, | ||
ValueBase | ||
@@ -27,4 +30,9 @@ } from '@react-types/shared'; | ||
export interface RadioGroupProps extends ValueBase<string>, InputBase, LabelableProps { | ||
export interface RadioGroupProps extends ValueBase<string>, InputBase, Validation, LabelableProps { | ||
children: ReactElement<RadioProps> | ReactElement<RadioProps>[], | ||
/** | ||
* The axis the Radio Button(s) should align with. | ||
* @default 'vertical' | ||
*/ | ||
orientation?: Orientation, | ||
name?: string // HTML form name. Not displayed. | ||
@@ -46,9 +54,5 @@ } | ||
export interface SpectrumRadioGroupProps extends RadioGroupProps, SpectrumLabelableProps, DOMProps, StyleProps { | ||
export interface AriaRadioGroupProps extends RadioGroupProps, DOMProps, AriaLabelingProps, AriaValidationProps {} | ||
export interface SpectrumRadioGroupProps extends AriaRadioGroupProps, SpectrumLabelableProps, StyleProps { | ||
/** | ||
* The axis the Radio Button(s) should align with. | ||
* @default 'vertical' | ||
*/ | ||
orientation?: Orientation, | ||
/** | ||
* By default, radio buttons are not emphasized (gray). | ||
@@ -60,2 +64,3 @@ * The emphasized (blue) version provides visual prominence. | ||
export interface SpectrumRadioProps extends RadioProps, DOMProps, StyleProps {} | ||
export interface AriaRadioProps extends RadioProps, DOMProps, AriaLabelingProps {} | ||
export interface SpectrumRadioProps extends AriaRadioProps, StyleProps {} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14156
56
+ Added@react-types/shared@3.0.0-rc.3(transitive)
- Removed@react-types/shared@3.25.0(transitive)