Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-types/radio

Package Overview
Dependencies
Maintainers
1
Versions
798
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/radio - npm Package Compare versions

Comparing version 3.0.0-rc.2 to 3.0.0-rc.3

6

package.json
{
"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 {}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc