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

@radix-ui/react-dropdown-menu

Package Overview
Dependencies
Maintainers
5
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radix-ui/react-dropdown-menu - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

84

dist/index.d.ts

@@ -21,24 +21,72 @@ import * as React from "react";

export const DropdownMenuContent: DropdownMenuContentPrimitive;
export const DropdownMenuGroup: import("@radix-ui/react-primitive").ExtendedPrimitive<import("@radix-ui/react-primitive").ExtendedPrimitive<Polymorphic.ForwardRefComponent<"div", import("@radix-ui/react-primitive").PrimitiveOwnProps>, "div">, "div">;
export const DropdownMenuLabel: import("@radix-ui/react-primitive").ExtendedPrimitive<import("@radix-ui/react-primitive").ExtendedPrimitive<Polymorphic.ForwardRefComponent<"div", import("@radix-ui/react-primitive").PrimitiveOwnProps>, "div">, "div">;
export const DropdownMenuItem: import("@radix-ui/react-primitive").ExtendedPrimitive<MenuPrimitive.MenuItemPrimitive, "div">;
export const DropdownMenuCheckboxItem: import("@radix-ui/react-primitive").ExtendedPrimitive<MenuPrimitive.MenyCheckboxItemPrimitive, "div">;
export const DropdownMenuRadioGroup: import("@radix-ui/react-primitive").ExtendedPrimitive<MenuPrimitive.MenuRadioGroupPrimitive, "div">;
export const DropdownMenuRadioItem: import("@radix-ui/react-primitive").ExtendedPrimitive<MenuPrimitive.MenuRadioItemPrimitive, "div">;
export const DropdownMenuItemIndicator: import("@radix-ui/react-primitive").ExtendedPrimitive<MenuPrimitive.MenuItemIndicatorPrimitive, "span">;
export const DropdownMenuSeparator: import("@radix-ui/react-primitive").ExtendedPrimitive<import("@radix-ui/react-primitive").ExtendedPrimitive<Polymorphic.ForwardRefComponent<"div", import("@radix-ui/react-primitive").PrimitiveOwnProps>, "div">, "div">;
export const DropdownMenuArrow: import("@radix-ui/react-primitive").ExtendedPrimitive<import("@radix-ui/react-primitive").ExtendedPrimitive<import("@radix-ui/react-popper").PopperArrowPrimitive, "svg">, "svg">;
export const DropdownMenuGroup: Polymorphic.ForwardRefComponent<"div", {}>;
export const DropdownMenuLabel: Polymorphic.ForwardRefComponent<"div", {}>;
export const DropdownMenuItem: Polymorphic.ForwardRefComponent<"div", Polymorphic.Merge<{}, {
disabled?: boolean | undefined;
textValue?: string | undefined;
onSelect?: ((event: Event) => void) | undefined;
}>>;
export const DropdownMenuCheckboxItem: Polymorphic.ForwardRefComponent<"div", Polymorphic.Merge<Polymorphic.Merge<{}, {
disabled?: boolean | undefined;
textValue?: string | undefined;
onSelect?: ((event: Event) => void) | undefined;
}>, {
checked?: boolean | undefined;
onCheckedChange?: ((checked: boolean) => void) | undefined;
}>>;
export const DropdownMenuRadioGroup: Polymorphic.ForwardRefComponent<"div", Polymorphic.Merge<{}, {
value?: string | undefined;
onValueChange?: ((value: string) => void) | undefined;
}>>;
export const DropdownMenuRadioItem: Polymorphic.ForwardRefComponent<"div", Polymorphic.Merge<Polymorphic.Merge<{}, {
disabled?: boolean | undefined;
textValue?: string | undefined;
onSelect?: ((event: Event) => void) | undefined;
}>, {
value: string;
}>>;
export const DropdownMenuItemIndicator: Polymorphic.ForwardRefComponent<"span", Polymorphic.Merge<{}, {
forceMount?: true | undefined;
}>>;
export const DropdownMenuSeparator: Polymorphic.ForwardRefComponent<"div", {}>;
export const DropdownMenuArrow: Polymorphic.ForwardRefComponent<"svg", Polymorphic.Merge<{}, {
offset?: number | undefined;
}>>;
export const Root: React.FC<DropdownMenuOwnProps>;
export const Trigger: DropdownMenuTriggerPrimitive;
export const Content: DropdownMenuContentPrimitive;
export const Group: import("@radix-ui/react-primitive").ExtendedPrimitive<import("@radix-ui/react-primitive").ExtendedPrimitive<Polymorphic.ForwardRefComponent<"div", import("@radix-ui/react-primitive").PrimitiveOwnProps>, "div">, "div">;
export const Label: import("@radix-ui/react-primitive").ExtendedPrimitive<import("@radix-ui/react-primitive").ExtendedPrimitive<Polymorphic.ForwardRefComponent<"div", import("@radix-ui/react-primitive").PrimitiveOwnProps>, "div">, "div">;
export const Item: import("@radix-ui/react-primitive").ExtendedPrimitive<MenuPrimitive.MenuItemPrimitive, "div">;
export const CheckboxItem: import("@radix-ui/react-primitive").ExtendedPrimitive<MenuPrimitive.MenyCheckboxItemPrimitive, "div">;
export const RadioGroup: import("@radix-ui/react-primitive").ExtendedPrimitive<MenuPrimitive.MenuRadioGroupPrimitive, "div">;
export const RadioItem: import("@radix-ui/react-primitive").ExtendedPrimitive<MenuPrimitive.MenuRadioItemPrimitive, "div">;
export const ItemIndicator: import("@radix-ui/react-primitive").ExtendedPrimitive<MenuPrimitive.MenuItemIndicatorPrimitive, "span">;
export const Separator: import("@radix-ui/react-primitive").ExtendedPrimitive<import("@radix-ui/react-primitive").ExtendedPrimitive<Polymorphic.ForwardRefComponent<"div", import("@radix-ui/react-primitive").PrimitiveOwnProps>, "div">, "div">;
export const Arrow: import("@radix-ui/react-primitive").ExtendedPrimitive<import("@radix-ui/react-primitive").ExtendedPrimitive<import("@radix-ui/react-popper").PopperArrowPrimitive, "svg">, "svg">;
export const Group: Polymorphic.ForwardRefComponent<"div", {}>;
export const Label: Polymorphic.ForwardRefComponent<"div", {}>;
export const Item: Polymorphic.ForwardRefComponent<"div", Polymorphic.Merge<{}, {
disabled?: boolean | undefined;
textValue?: string | undefined;
onSelect?: ((event: Event) => void) | undefined;
}>>;
export const CheckboxItem: Polymorphic.ForwardRefComponent<"div", Polymorphic.Merge<Polymorphic.Merge<{}, {
disabled?: boolean | undefined;
textValue?: string | undefined;
onSelect?: ((event: Event) => void) | undefined;
}>, {
checked?: boolean | undefined;
onCheckedChange?: ((checked: boolean) => void) | undefined;
}>>;
export const RadioGroup: Polymorphic.ForwardRefComponent<"div", Polymorphic.Merge<{}, {
value?: string | undefined;
onValueChange?: ((value: string) => void) | undefined;
}>>;
export const RadioItem: Polymorphic.ForwardRefComponent<"div", Polymorphic.Merge<Polymorphic.Merge<{}, {
disabled?: boolean | undefined;
textValue?: string | undefined;
onSelect?: ((event: Event) => void) | undefined;
}>, {
value: string;
}>>;
export const ItemIndicator: Polymorphic.ForwardRefComponent<"span", Polymorphic.Merge<{}, {
forceMount?: true | undefined;
}>>;
export const Separator: Polymorphic.ForwardRefComponent<"div", {}>;
export const Arrow: Polymorphic.ForwardRefComponent<"svg", Polymorphic.Merge<{}, {
offset?: number | undefined;
}>>;
//# sourceMappingURL=index.d.ts.map
{
"name": "@radix-ui/react-dropdown-menu",
"version": "0.0.13",
"version": "0.0.14",
"license": "MIT",

@@ -21,10 +21,10 @@ "source": "src/index.ts",

"@babel/runtime": "^7.13.10",
"@radix-ui/primitive": "0.0.2",
"@radix-ui/react-compose-refs": "0.0.2",
"@radix-ui/react-context": "0.0.2",
"@radix-ui/react-id": "0.0.2",
"@radix-ui/react-menu": "0.0.12",
"@radix-ui/react-polymorphic": "0.0.7",
"@radix-ui/react-primitive": "0.0.8",
"@radix-ui/react-use-controllable-state": "0.0.3"
"@radix-ui/primitive": "0.0.3",
"@radix-ui/react-compose-refs": "0.0.3",
"@radix-ui/react-context": "0.0.3",
"@radix-ui/react-id": "0.0.3",
"@radix-ui/react-menu": "0.0.13",
"@radix-ui/react-polymorphic": "0.0.8",
"@radix-ui/react-primitive": "0.0.9",
"@radix-ui/react-use-controllable-state": "0.0.4"
},

@@ -31,0 +31,0 @@ "peerDependencies": {

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