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

@radix-ui/react-radio-group

Package Overview
Dependencies
Maintainers
6
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radix-ui/react-radio-group - npm Package Compare versions

Comparing version 1.2.0-rc.3 to 1.2.0-rc.4

23

dist/index.d.ts
import * as React from 'react';
import * as Radix from '@radix-ui/react-primitive';
import { Primitive } from '@radix-ui/react-primitive';
import * as RovingFocusGroup from '@radix-ui/react-roving-focus';
declare type Scope<C = any> = {
type Scope<C = any> = {
[scopeName: string]: React.Context<C>[];
} | undefined;
declare type ScopeHook = (scope: Scope) => {
type ScopeHook = (scope: Scope) => {
[__scopeProp: string]: Scope;

@@ -17,3 +16,3 @@ };

declare type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;
interface RadioProps$1 extends PrimitiveButtonProps {

@@ -25,3 +24,3 @@ checked?: boolean;

declare const Radio: React.ForwardRefExoticComponent<RadioProps$1 & React.RefAttributes<HTMLButtonElement>>;
declare type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
type PrimitiveSpanProps = React.ComponentPropsWithoutRef<typeof Primitive.span>;
interface RadioIndicatorProps$1 extends PrimitiveSpanProps {

@@ -37,3 +36,3 @@ /**

declare const createRadioGroupScope: CreateScope;
declare type RadioGroupContextValue = {
type RadioGroupContextValue = {
name?: string;

@@ -45,8 +44,8 @@ required: boolean;

};
declare type RovingFocusGroupProps = Radix.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
declare type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
type RovingFocusGroupProps = React.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
interface RadioGroupProps extends PrimitiveDivProps {
name?: RadioGroupContextValue['name'];
required?: Radix.ComponentPropsWithoutRef<typeof Radio>['required'];
disabled?: Radix.ComponentPropsWithoutRef<typeof Radio>['disabled'];
required?: React.ComponentPropsWithoutRef<typeof Radio>['required'];
disabled?: React.ComponentPropsWithoutRef<typeof Radio>['disabled'];
dir?: RovingFocusGroupProps['dir'];

@@ -60,3 +59,3 @@ orientation?: RovingFocusGroupProps['orientation'];

declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
declare type RadioProps = Radix.ComponentPropsWithoutRef<typeof Radio>;
type RadioProps = React.ComponentPropsWithoutRef<typeof Radio>;
interface RadioGroupItemProps extends Omit<RadioProps, 'onCheck' | 'name'> {

@@ -66,3 +65,3 @@ value: string;

declare const RadioGroupItem: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
declare type RadioIndicatorProps = Radix.ComponentPropsWithoutRef<typeof RadioIndicator>;
type RadioIndicatorProps = React.ComponentPropsWithoutRef<typeof RadioIndicator>;
interface RadioGroupIndicatorProps extends RadioIndicatorProps {

@@ -69,0 +68,0 @@ }

{
"name": "@radix-ui/react-radio-group",
"version": "1.2.0-rc.3",
"version": "1.2.0-rc.4",
"license": "MIT",

@@ -31,12 +31,12 @@ "exports": {

"dependencies": {
"@radix-ui/primitive": "1.1.0-rc.3",
"@radix-ui/react-compose-refs": "1.1.0-rc.3",
"@radix-ui/react-context": "1.1.0-rc.3",
"@radix-ui/react-direction": "1.1.0-rc.3",
"@radix-ui/react-presence": "1.1.0-rc.3",
"@radix-ui/react-primitive": "1.1.0-rc.3",
"@radix-ui/react-roving-focus": "1.1.0-rc.3",
"@radix-ui/react-use-controllable-state": "1.1.0-rc.3",
"@radix-ui/react-use-previous": "1.1.0-rc.3",
"@radix-ui/react-use-size": "1.1.0-rc.3"
"@radix-ui/primitive": "1.1.0-rc.4",
"@radix-ui/react-compose-refs": "1.1.0-rc.4",
"@radix-ui/react-context": "1.1.0-rc.4",
"@radix-ui/react-direction": "1.1.0-rc.4",
"@radix-ui/react-presence": "1.1.0-rc.4",
"@radix-ui/react-primitive": "2.0.0-rc.1",
"@radix-ui/react-roving-focus": "1.1.0-rc.4",
"@radix-ui/react-use-controllable-state": "1.1.0-rc.4",
"@radix-ui/react-use-previous": "1.1.0-rc.4",
"@radix-ui/react-use-size": "1.1.0-rc.4"
},

@@ -46,4 +46,4 @@ "peerDependencies": {

"@types/react-dom": "*",
"react": "^16.8 || ^17.0 || ^18.0",
"react-dom": "^16.8 || ^17.0 || ^18.0"
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0",
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0"
},

@@ -50,0 +50,0 @@ "peerDependenciesMeta": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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