@radix-ui/react-menu
Advanced tools
Comparing version 0.1.7-rc.39 to 0.1.7-rc.40
@@ -5,3 +5,3 @@ import * as React from "react"; | ||
import * as PopperPrimitive from "@radix-ui/react-popper"; | ||
import { UnstablePortal } from "@radix-ui/react-portal"; | ||
import { Portal as _Portal1 } from "@radix-ui/react-portal"; | ||
import * as Radix from "@radix-ui/react-primitive"; | ||
@@ -30,3 +30,3 @@ import { Primitive } from "@radix-ui/react-primitive"; | ||
export const MenuAnchor: React.ForwardRefExoticComponent<MenuAnchorProps & React.RefAttributes<HTMLDivElement>>; | ||
type PortalProps = React.ComponentPropsWithoutRef<typeof UnstablePortal>; | ||
type PortalProps = React.ComponentPropsWithoutRef<typeof _Portal1>; | ||
export interface MenuPortalProps extends Omit<PortalProps, 'asChild'> { | ||
@@ -33,0 +33,0 @@ children?: React.ReactNode; |
@@ -236,3 +236,3 @@ var $cnSS2$babelruntimehelpersextends = require("@babel/runtime/helpers/extends"); | ||
present: forceMount || context.open | ||
}, /*#__PURE__*/ $cnSS2$react.createElement($cnSS2$radixuireactportal.UnstablePortal, { | ||
}, /*#__PURE__*/ $cnSS2$react.createElement($cnSS2$radixuireactportal.Portal, { | ||
asChild: true, | ||
@@ -239,0 +239,0 @@ container: container |
@@ -13,3 +13,3 @@ import $epM9y$babelruntimehelpersesmextends from "@babel/runtime/helpers/esm/extends"; | ||
import {createPopperScope as $epM9y$createPopperScope, Root as $epM9y$Root, Anchor as $epM9y$Anchor, Content as $epM9y$Content, Arrow as $epM9y$Arrow} from "@radix-ui/react-popper"; | ||
import {UnstablePortal as $epM9y$UnstablePortal} from "@radix-ui/react-portal"; | ||
import {Portal as $epM9y$Portal} from "@radix-ui/react-portal"; | ||
import {Presence as $epM9y$Presence} from "@radix-ui/react-presence"; | ||
@@ -218,3 +218,3 @@ import {Primitive as $epM9y$Primitive, dispatchDiscreteCustomEvent as $epM9y$dispatchDiscreteCustomEvent} from "@radix-ui/react-primitive"; | ||
present: forceMount || context.open | ||
}, /*#__PURE__*/ $epM9y$createElement($epM9y$UnstablePortal, { | ||
}, /*#__PURE__*/ $epM9y$createElement($epM9y$Portal, { | ||
asChild: true, | ||
@@ -221,0 +221,0 @@ container: container |
{ | ||
"name": "@radix-ui/react-menu", | ||
"version": "0.1.7-rc.39", | ||
"version": "0.1.7-rc.40", | ||
"license": "MIT", | ||
@@ -21,17 +21,17 @@ "source": "src/index.ts", | ||
"@radix-ui/primitive": "0.1.0", | ||
"@radix-ui/react-collection": "0.1.5-rc.36", | ||
"@radix-ui/react-compose-refs": "0.1.1-rc.36", | ||
"@radix-ui/react-context": "0.1.2-rc.36", | ||
"@radix-ui/react-direction": "0.1.0-rc.39", | ||
"@radix-ui/react-dismissable-layer": "0.1.6-rc.36", | ||
"@radix-ui/react-focus-guards": "0.1.1-rc.36", | ||
"@radix-ui/react-focus-scope": "0.1.5-rc.36", | ||
"@radix-ui/react-id": "0.1.6-rc.36", | ||
"@radix-ui/react-popper": "0.1.5-rc.36", | ||
"@radix-ui/react-portal": "0.1.5-rc.36", | ||
"@radix-ui/react-presence": "0.1.3-rc.36", | ||
"@radix-ui/react-primitive": "0.1.5-rc.36", | ||
"@radix-ui/react-roving-focus": "0.1.6-rc.39", | ||
"@radix-ui/react-slot": "0.1.3-rc.36", | ||
"@radix-ui/react-use-callback-ref": "0.1.1-rc.36", | ||
"@radix-ui/react-collection": "0.1.5-rc.37", | ||
"@radix-ui/react-compose-refs": "0.1.1-rc.37", | ||
"@radix-ui/react-context": "0.1.2-rc.37", | ||
"@radix-ui/react-direction": "0.1.0-rc.40", | ||
"@radix-ui/react-dismissable-layer": "0.1.6-rc.37", | ||
"@radix-ui/react-focus-guards": "0.1.1-rc.37", | ||
"@radix-ui/react-focus-scope": "0.1.5-rc.37", | ||
"@radix-ui/react-id": "0.1.6-rc.37", | ||
"@radix-ui/react-popper": "0.1.5-rc.37", | ||
"@radix-ui/react-portal": "0.1.5-rc.37", | ||
"@radix-ui/react-presence": "0.1.3-rc.37", | ||
"@radix-ui/react-primitive": "0.1.5-rc.37", | ||
"@radix-ui/react-roving-focus": "0.1.6-rc.40", | ||
"@radix-ui/react-slot": "0.1.3-rc.37", | ||
"@radix-ui/react-use-callback-ref": "0.1.1-rc.37", | ||
"aria-hidden": "^1.1.1", | ||
@@ -38,0 +38,0 @@ "react-remove-scroll": "2.5.4" |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
326579
+ Added@radix-ui/react-arrow@0.1.5-rc.37(transitive)
+ Added@radix-ui/react-collection@0.1.5-rc.37(transitive)
+ Added@radix-ui/react-compose-refs@0.1.1-rc.37(transitive)
+ Added@radix-ui/react-context@0.1.2-rc.37(transitive)
+ Added@radix-ui/react-direction@0.1.0-rc.40(transitive)
+ Added@radix-ui/react-dismissable-layer@0.1.6-rc.37(transitive)
+ Added@radix-ui/react-focus-guards@0.1.1-rc.37(transitive)
+ Added@radix-ui/react-focus-scope@0.1.5-rc.37(transitive)
+ Added@radix-ui/react-id@0.1.6-rc.37(transitive)
+ Added@radix-ui/react-popper@0.1.5-rc.37(transitive)
+ Added@radix-ui/react-portal@0.1.5-rc.37(transitive)
+ Added@radix-ui/react-presence@0.1.3-rc.37(transitive)
+ Added@radix-ui/react-primitive@0.1.5-rc.37(transitive)
+ Added@radix-ui/react-roving-focus@0.1.6-rc.40(transitive)
+ Added@radix-ui/react-slot@0.1.3-rc.37(transitive)
+ Added@radix-ui/react-use-callback-ref@0.1.1-rc.37(transitive)
+ Added@radix-ui/react-use-controllable-state@0.1.1-rc.37(transitive)
+ Added@radix-ui/react-use-escape-keydown@0.1.1-rc.37(transitive)
+ Added@radix-ui/react-use-layout-effect@0.1.1-rc.37(transitive)
+ Added@radix-ui/react-use-rect@0.1.2-rc.37(transitive)
+ Added@radix-ui/react-use-size@0.1.2-rc.37(transitive)
- Removed@radix-ui/react-arrow@0.1.5-rc.36(transitive)
- Removed@radix-ui/react-collection@0.1.5-rc.36(transitive)
- Removed@radix-ui/react-compose-refs@0.1.1-rc.36(transitive)
- Removed@radix-ui/react-context@0.1.2-rc.36(transitive)
- Removed@radix-ui/react-direction@0.1.0-rc.39(transitive)
- Removed@radix-ui/react-dismissable-layer@0.1.6-rc.36(transitive)
- Removed@radix-ui/react-focus-guards@0.1.1-rc.36(transitive)
- Removed@radix-ui/react-focus-scope@0.1.5-rc.36(transitive)
- Removed@radix-ui/react-id@0.1.6-rc.36(transitive)
- Removed@radix-ui/react-popper@0.1.5-rc.36(transitive)
- Removed@radix-ui/react-portal@0.1.5-rc.36(transitive)
- Removed@radix-ui/react-presence@0.1.3-rc.36(transitive)
- Removed@radix-ui/react-primitive@0.1.5-rc.36(transitive)
- Removed@radix-ui/react-roving-focus@0.1.6-rc.39(transitive)
- Removed@radix-ui/react-slot@0.1.3-rc.36(transitive)
- Removed@radix-ui/react-use-callback-ref@0.1.1-rc.36(transitive)
- Removed@radix-ui/react-use-controllable-state@0.1.1-rc.36(transitive)
- Removed@radix-ui/react-use-escape-keydown@0.1.1-rc.36(transitive)
- Removed@radix-ui/react-use-layout-effect@0.1.1-rc.36(transitive)
- Removed@radix-ui/react-use-rect@0.1.2-rc.36(transitive)
- Removed@radix-ui/react-use-size@0.1.2-rc.36(transitive)