Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@radix-ui/react-select

Package Overview
Dependencies
47
Maintainers
6
Versions
157
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

25

dist/index.d.ts

@@ -6,9 +6,8 @@ import * as React from 'react';

import { Portal as Portal$1 } from '@radix-ui/react-portal';
import * as Radix from '@radix-ui/react-primitive';
import { Primitive } from '@radix-ui/react-primitive';
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;

@@ -21,3 +20,3 @@ };

declare type Direction = 'ltr' | 'rtl';
type Direction = 'ltr' | 'rtl';
declare const createSelectScope: CreateScope;

@@ -39,7 +38,7 @@ interface SelectProps {

declare const Select: React.FC<SelectProps>;
declare type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;
interface SelectTriggerProps extends PrimitiveButtonProps {
}
declare const SelectTrigger: React.ForwardRefExoticComponent<SelectTriggerProps & React.RefAttributes<HTMLButtonElement>>;
declare type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
type PrimitiveSpanProps = React.ComponentPropsWithoutRef<typeof Primitive.span>;
interface SelectValueProps extends Omit<PrimitiveSpanProps, 'placeholder'> {

@@ -52,3 +51,3 @@ placeholder?: React.ReactNode;

declare const SelectIcon: React.ForwardRefExoticComponent<SelectIconProps & React.RefAttributes<HTMLSpanElement>>;
declare type PortalProps = React.ComponentPropsWithoutRef<typeof Portal$1>;
type PortalProps = React.ComponentPropsWithoutRef<typeof Portal$1>;
interface SelectPortalProps {

@@ -65,5 +64,5 @@ children?: React.ReactNode;

declare const SelectContent: React.ForwardRefExoticComponent<SelectContentProps & React.RefAttributes<HTMLDivElement>>;
declare type DismissableLayerProps = React.ComponentPropsWithoutRef<typeof DismissableLayer>;
declare type FocusScopeProps = Radix.ComponentPropsWithoutRef<typeof FocusScope>;
declare type SelectPopperPrivateProps = {
type DismissableLayerProps = React.ComponentPropsWithoutRef<typeof DismissableLayer>;
type FocusScopeProps = React.ComponentPropsWithoutRef<typeof FocusScope>;
type SelectPopperPrivateProps = {
onPlaced?: PopperContentProps['onPlaced'];

@@ -91,6 +90,6 @@ };

}
declare type PopperContentProps = React.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>;
type PopperContentProps = React.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>;
interface SelectPopperPositionProps extends PopperContentProps, SelectPopperPrivateProps {
}
declare type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
interface SelectViewportProps extends PrimitiveDivProps {

@@ -130,3 +129,3 @@ nonce?: string;

declare const SelectSeparator: React.ForwardRefExoticComponent<SelectSeparatorProps & React.RefAttributes<HTMLDivElement>>;
declare type PopperArrowProps = Radix.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>;
type PopperArrowProps = React.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>;
interface SelectArrowProps extends PopperArrowProps {

@@ -133,0 +132,0 @@ }

{
"name": "@radix-ui/react-select",
"version": "2.1.0-rc.3",
"version": "2.1.0-rc.4",
"license": "MIT",

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

"dependencies": {
"@radix-ui/number": "1.1.0-rc.3",
"@radix-ui/primitive": "1.1.0-rc.3",
"@radix-ui/react-collection": "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-dismissable-layer": "1.1.0-rc.3",
"@radix-ui/react-focus-guards": "1.1.0-rc.3",
"@radix-ui/react-focus-scope": "1.1.0-rc.3",
"@radix-ui/react-id": "1.1.0-rc.3",
"@radix-ui/react-popper": "1.2.0-rc.3",
"@radix-ui/react-portal": "1.1.0-rc.3",
"@radix-ui/react-primitive": "1.1.0-rc.3",
"@radix-ui/react-slot": "1.1.0-rc.3",
"@radix-ui/react-use-callback-ref": "1.1.0-rc.3",
"@radix-ui/react-use-controllable-state": "1.1.0-rc.3",
"@radix-ui/react-use-layout-effect": "1.1.0-rc.3",
"@radix-ui/react-use-previous": "1.1.0-rc.3",
"@radix-ui/react-visually-hidden": "1.1.0-rc.3",
"@radix-ui/number": "1.1.0-rc.4",
"@radix-ui/primitive": "1.1.0-rc.4",
"@radix-ui/react-collection": "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-dismissable-layer": "1.1.0-rc.4",
"@radix-ui/react-focus-guards": "1.1.0-rc.4",
"@radix-ui/react-focus-scope": "1.1.0-rc.4",
"@radix-ui/react-id": "1.1.0-rc.4",
"@radix-ui/react-popper": "1.2.0-rc.4",
"@radix-ui/react-portal": "1.1.0-rc.4",
"@radix-ui/react-primitive": "2.0.0-rc.1",
"@radix-ui/react-slot": "1.1.0-rc.4",
"@radix-ui/react-use-callback-ref": "1.1.0-rc.4",
"@radix-ui/react-use-controllable-state": "1.1.0-rc.4",
"@radix-ui/react-use-layout-effect": "1.1.0-rc.4",
"@radix-ui/react-use-previous": "1.1.0-rc.4",
"@radix-ui/react-visually-hidden": "1.1.0-rc.4",
"aria-hidden": "^1.1.1",

@@ -57,4 +57,4 @@ "react-remove-scroll": "2.5.7"

"@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"
},

@@ -61,0 +61,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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc