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.3 to 3.0.0-rc.4

6

package.json
{
"name": "@react-types/radio",
"version": "3.0.0-rc.3",
"version": "3.0.0-rc.4",
"description": "Spectrum UI components in React",

@@ -12,3 +12,3 @@ "license": "Apache-2.0",

"dependencies": {
"@react-types/shared": "3.0.0-rc.3"
"@react-types/shared": "3.0.0-rc.4"
},

@@ -21,3 +21,3 @@ "peerDependencies": {

},
"gitHead": "461d6321126ae9b4f1508aa912f7b36bf8a603f8"
"gitHead": "ee5ad1544ed65366c0fadabc2c63d39573ba3ffd"
}

@@ -29,3 +29,2 @@ /*

export interface RadioGroupProps extends ValueBase<string>, InputBase, Validation, LabelableProps {
children: ReactElement<RadioProps> | ReactElement<RadioProps>[],
/**

@@ -36,11 +35,19 @@ * The axis the Radio Button(s) should align with.

orientation?: Orientation,
name?: string // HTML form name. Not displayed.
/**
* The unique identifying name of the RadioGroup that is applied to the Radios within the group.
* See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name_and_radio_buttons).
*/
name?: string
}
export interface RadioProps extends FocusableProps {
value: string, // HTML form value. Not displayed.
/**
* The value of the radio button, used to identify it in a RadioGroup.
* See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio#Value).
*/
value: string,
/**
* The label for the Radio. Accepts any renderable node.
*/
children?: ReactNode, // pass in children to render label
children?: ReactNode,
/**

@@ -56,2 +63,6 @@ * Whether the radio button is disabled or not.

/**
* The Radio(s) contained within the RadioGroup.
*/
children: ReactElement<RadioProps> | ReactElement<RadioProps>[],
/**
* By default, radio buttons are not emphasized (gray).

@@ -58,0 +69,0 @@ * The emphasized (blue) version provides visual prominence.

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