@react-types/checkbox
Advanced tools
Comparing version
{ | ||
"name": "@react-types/checkbox", | ||
"version": "3.0.0-nightly-694fc853e-241109", | ||
"version": "3.0.0-nightly-6a35a9a22-250731", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,11 +12,10 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/shared": "^3.0.0-nightly-694fc853e-241109" | ||
"@react-types/shared": "3.0.0-nightly-6a35a9a22-250731" | ||
}, | ||
"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.8.4" | ||
} | ||
} |
@@ -25,2 +25,3 @@ /* | ||
Orientation, | ||
PressEvents, | ||
SpectrumHelpTextProps, | ||
@@ -49,3 +50,3 @@ SpectrumLabelableProps, | ||
export interface ToggleProps extends ToggleStateOptions, Validation, FocusableProps { | ||
export interface ToggleProps extends ToggleStateOptions, Validation<boolean>, FocusableProps { | ||
/** | ||
@@ -61,3 +62,3 @@ * The label for the element. | ||
export interface AriaToggleProps extends ToggleProps, FocusableDOMProps, AriaLabelingProps, AriaValidationProps, InputDOMProps { | ||
export interface AriaToggleProps extends ToggleProps, FocusableDOMProps, AriaLabelingProps, AriaValidationProps, InputDOMProps, PressEvents { | ||
/** | ||
@@ -69,3 +70,3 @@ * Identifies the element (or elements) whose contents or presence are controlled by the current element. | ||
export interface CheckboxGroupProps extends ValueBase<string[]>, InputBase, InputDOMProps, LabelableProps, HelpTextProps, Validation<string[]> {} | ||
export interface CheckboxGroupProps extends ValueBase<string[]>, Pick<InputDOMProps, 'name'>, InputBase, LabelableProps, HelpTextProps, Validation<string[]> {} | ||
@@ -80,5 +81,5 @@ export interface CheckboxProps extends ToggleProps { | ||
export interface AriaCheckboxProps extends CheckboxProps, AriaToggleProps {} | ||
export interface AriaCheckboxProps extends CheckboxProps, InputDOMProps, AriaToggleProps {} | ||
export interface AriaCheckboxGroupProps extends CheckboxGroupProps, DOMProps, AriaLabelingProps, AriaValidationProps, FocusEvents {} | ||
export interface AriaCheckboxGroupProps extends CheckboxGroupProps, InputDOMProps, DOMProps, AriaLabelingProps, AriaValidationProps, FocusEvents {} | ||
@@ -89,3 +90,3 @@ export interface AriaCheckboxGroupItemProps extends Omit<AriaCheckboxProps, 'isSelected' | 'defaultSelected'> { | ||
export interface SpectrumCheckboxProps extends AriaCheckboxProps, StyleProps { | ||
export interface SpectrumCheckboxProps extends Omit<AriaCheckboxProps, 'onClick'>, StyleProps { | ||
/** | ||
@@ -92,0 +93,0 @@ * This prop sets the emphasized style which provides visual prominence. |
4500
1.67%102
0.99%+ Added
- Removed