@radix-ui/react-dropdown-menu
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -1,2 +0,2 @@ | ||
var e=require("@radix-ui/react-id").useId,r=s({},require("@radix-ui/react-menu")),o=require("@radix-ui/react-primitive"),t=o.Primitive,n=o.extendPrimitive,a=require("@radix-ui/react-use-controllable-state").useControllableState,i=require("@radix-ui/react-context").createContext,u=require("@radix-ui/react-compose-refs").useComposedRefs,p=require("@radix-ui/primitive").composeEventHandlers,d=s({},require("react"));function s(e,r){return Object.keys(r).forEach((function(o){"default"!==o&&"__esModule"!==o&&Object.defineProperty(e,o,{enumerable:!0,get:function(){return r[o]}})})),e}function l(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),o.push.apply(o,t)}return o}function c(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?l(Object(o),!0).forEach((function(r){f(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}function f(e,r,o){return r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function v(){return(v=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var t in o)Object.prototype.hasOwnProperty.call(o,t)&&(e[t]=o[t])}return e}).apply(this,arguments)}function m(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],r.indexOf(o)>=0||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],r.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function b(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var o=[],t=!0,n=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(t=(i=u.next()).done)&&(o.push(i.value),!r||o.length!==r);t=!0);}catch(e){n=!0,a=e}finally{try{t||null==u.return||u.return()}finally{if(n)throw a}}return o}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return y(e,r);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return y(e,r)}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,r){(null==r||r>e.length)&&(r=e.length);for(var o=0,t=new Array(r);o<r;o++)t[o]=e[o];return t}var w=b(i("DropdownMenu"),2),g=w[0],O=w[1],x=function(r){var o=r.children,t=r.open,n=r.defaultOpen,i=r.onOpenChange,u=d.useRef(null),p=b(a({prop:t,defaultProp:n,onChange:i}),2),s=p[0],l=void 0!==s&&s,c=p[1];return d.createElement(g,{triggerRef:u,contentId:e(),open:l,onOpenChange:c,onOpenToggle:d.useCallback((function(){return c((function(e){return!e}))}),[c])},o)};exports.DropdownMenu=x,x.displayName="DropdownMenu";var D=d.forwardRef((function(e,r){var o=e.as,n=void 0===o?"button":o,a=m(e,["as"]),i=O("DropdownMenuTrigger"),s=u(r,i.triggerRef);return d.createElement(t,v({type:"button","aria-haspopup":"menu","aria-expanded":!!i.open||void 0,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed"},a,{as:n,ref:s,onMouseDown:p(e.onMouseDown,(function(e){0===e.button&&!1===e.ctrlKey&&i.onOpenToggle()})),onKeyDown:p(e.onKeyDown,(function(e){[" ","Enter","ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),i.onOpenChange(!0))}))}))}));exports.DropdownMenuTrigger=D,D.displayName="DropdownMenuTrigger";var h=d.forwardRef((function(e,o){var t=e.onCloseAutoFocus,n=e.disableOutsidePointerEvents,a=void 0===n||n,i=e.disableOutsideScroll,u=void 0===i||i,s=e.portalled,l=void 0===s||s,b=m(e,["onCloseAutoFocus","disableOutsidePointerEvents","disableOutsideScroll","portalled"]),y=O("DropdownMenuContent");return d.createElement(r.Root,v({id:y.contentId},b,{ref:o,disableOutsidePointerEvents:a,disableOutsideScroll:u,portalled:l,style:c(c({},e.style),{},f({},"--radix-dropdown-menu-content-transform-origin","var(--radix-popper-transform-origin)")),open:y.open,onOpenChange:y.onOpenChange,anchorRef:e.anchorRef||y.triggerRef,trapFocus:!0,onCloseAutoFocus:p(t,(function(e){var r;e.preventDefault(),null===(r=y.triggerRef.current)||void 0===r||r.focus()})),onPointerDownOutside:p(e.onPointerDownOutside,(function(e){var r;(null===(r=y.triggerRef.current)||void 0===r?void 0:r.contains(e.target))&&e.preventDefault()}),{checkForDefaultPrevented:!1}),onDismiss:function(){return y.onOpenChange(!1)}}))}));exports.DropdownMenuContent=h,h.displayName="DropdownMenuContent";var M=n(r.Group,{displayName:"DropdownMenuGroup"});exports.DropdownMenuGroup=M;var I=n(r.Label,{displayName:"DropdownMenuLabel"});exports.DropdownMenuLabel=I;var j=n(r.Item,{displayName:"DropdownMenuItem"});exports.DropdownMenuItem=j;var C=n(r.CheckboxItem,{displayName:"DropdownMenuCheckboxItem"});exports.DropdownMenuCheckboxItem=C;var P=n(r.RadioGroup,{displayName:"DropdownMenuRadioGroup"});exports.DropdownMenuRadioGroup=P;var R=n(r.RadioItem,{displayName:"DropdownMenuRadioItem"});exports.DropdownMenuRadioItem=R;var S=n(r.ItemIndicator,{displayName:"DropdownMenuItemIndicator"});exports.DropdownMenuItemIndicator=S;var A=n(r.Separator,{displayName:"DropdownMenuSeparator"});exports.DropdownMenuSeparator=A;var E=n(r.Arrow,{displayName:"DropdownMenuArrow"});exports.DropdownMenuArrow=E;var N=x;exports.Root=N;var k=D;exports.Trigger=k;var q=h;exports.Content=q;var G=M;exports.Group=G;var T=I;exports.Label=T;var F=j;exports.Item=F;var L=C;exports.CheckboxItem=L;var K=P;exports.RadioGroup=K;var U=R;exports.RadioItem=U;var _=S;exports.ItemIndicator=_;var H=A;exports.Separator=H;var $=E;exports.Arrow=$; | ||
function e(e,o,n){Object.defineProperty(e,o,{get:n,enumerable:!0})}var o=require("@radix-ui/react-id").useId,n=require("@radix-ui/react-menu"),r=n.Root,t=n.Group,u=n.Label,p=n.Item,i=n.CheckboxItem,a=n.RadioGroup,s=n.RadioItem,d=n.ItemIndicator,c=n.Separator,l=n.Arrow,w=require("@radix-ui/react-primitive"),f=w.Primitive,m=w.extendPrimitive,D=require("@radix-ui/react-use-controllable-state").useControllableState,x=require("@radix-ui/react-context").createContext,M=require("@radix-ui/react-compose-refs").useComposedRefs,g=require("@radix-ui/primitive").composeEventHandlers,I=require("react"),b=I.useRef,C=I.createElement,R=I.useCallback,y=I.forwardRef,h={};function O(){return(O=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var n=arguments[o];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const[v,G]=x("DropdownMenu"),N=e=>{const{children:n,open:r,defaultOpen:t,onOpenChange:u}=e,p=b(null),[i=!1,a]=D({prop:r,defaultProp:t,onChange:u});return C(v,{triggerRef:p,contentId:o(),open:i,onOpenChange:a,onOpenToggle:R((()=>a((e=>!e))),[a])},n)};exports.DropdownMenu=N,N.displayName="DropdownMenu";const A="button",P=y(((e,o)=>{const{as:n=A,...r}=e,t=G("DropdownMenuTrigger"),u=M(o,t.triggerRef);return C(f,O({type:"button","aria-haspopup":"menu","aria-expanded":!!t.open||void 0,"aria-controls":t.open?t.contentId:void 0,"data-state":t.open?"open":"closed"},r,{as:n,ref:u,onMouseDown:g(e.onMouseDown,(e=>{0===e.button&&!1===e.ctrlKey&&t.onOpenToggle()})),onKeyDown:g(e.onKeyDown,(e=>{[" ","Enter","ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),t.onOpenChange(!0))}))}))}));exports.DropdownMenuTrigger=P,P.displayName="DropdownMenuTrigger";const k=y(((e,o)=>{const{onCloseAutoFocus:n,disableOutsidePointerEvents:t=!0,disableOutsideScroll:u=!0,portalled:p=!0,...i}=e,a=G("DropdownMenuContent");return C(r,O({id:a.contentId},i,{ref:o,disableOutsidePointerEvents:t,disableOutsideScroll:u,portalled:p,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)"},open:a.open,onOpenChange:a.onOpenChange,anchorRef:e.anchorRef||a.triggerRef,trapFocus:!0,onCloseAutoFocus:g(n,(e=>{e.preventDefault(),a.triggerRef.current?.focus?.()})),onPointerDownOutside:g(e.onPointerDownOutside,(e=>{a.triggerRef.current?.contains?.(e.target)&&e.preventDefault()}),{checkForDefaultPrevented:!1}),onDismiss:()=>a.onOpenChange(!1)}))}));exports.DropdownMenuContent=k,k.displayName="DropdownMenuContent";const S=m(t,{displayName:"DropdownMenuGroup"});exports.DropdownMenuGroup=S;const q=m(u,{displayName:"DropdownMenuLabel"});exports.DropdownMenuLabel=q;const T=m(p,{displayName:"DropdownMenuItem"});exports.DropdownMenuItem=T;const L=m(i,{displayName:"DropdownMenuCheckboxItem"});exports.DropdownMenuCheckboxItem=L;const E=m(a,{displayName:"DropdownMenuRadioGroup"});exports.DropdownMenuRadioGroup=E;const F=m(s,{displayName:"DropdownMenuRadioItem"});exports.DropdownMenuRadioItem=F;const j=m(d,{displayName:"DropdownMenuItemIndicator"});exports.DropdownMenuItemIndicator=j;const K=m(c,{displayName:"DropdownMenuSeparator"});exports.DropdownMenuSeparator=K;const H=m(l,{displayName:"DropdownMenuArrow"});exports.DropdownMenuArrow=H;const U=N;exports.Root=U;const z=P;exports.Trigger=z;const B=k;exports.Content=B;const J=S;exports.Group=J;const Q=q;exports.Label=Q;const V=T;exports.Item=V;const W=L;exports.CheckboxItem=W;const X=E;exports.RadioGroup=X;const Y=F;exports.RadioItem=Y;const Z=j;exports.ItemIndicator=Z;const $=K;exports.Separator=$;const _=H;exports.Arrow=_,e(h,"Arrow",(function(){return _})),e(h,"Separator",(function(){return $})),e(h,"ItemIndicator",(function(){return Z})),e(h,"RadioItem",(function(){return Y})),e(h,"RadioGroup",(function(){return X})),e(h,"CheckboxItem",(function(){return W})),e(h,"Item",(function(){return V})),e(h,"Label",(function(){return Q})),e(h,"Group",(function(){return J})),e(h,"Content",(function(){return B})),e(h,"Trigger",(function(){return z})),e(h,"Root",(function(){return U})),e(h,"DropdownMenuArrow",(function(){return H})),e(h,"DropdownMenuSeparator",(function(){return K})),e(h,"DropdownMenuItemIndicator",(function(){return j})),e(h,"DropdownMenuRadioItem",(function(){return F})),e(h,"DropdownMenuRadioGroup",(function(){return E})),e(h,"DropdownMenuCheckboxItem",(function(){return L})),e(h,"DropdownMenuItem",(function(){return T})),e(h,"DropdownMenuLabel",(function(){return q})),e(h,"DropdownMenuGroup",(function(){return S})),e(h,"DropdownMenuContent",(function(){return k})),e(h,"DropdownMenuTrigger",(function(){return P})),e(h,"DropdownMenu",(function(){return N})); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import{useId as o}from"@radix-ui/react-id";import*as e from"@radix-ui/react-menu";import{Primitive as n,extendPrimitive as r}from"@radix-ui/react-primitive";import{useControllableState as t}from"@radix-ui/react-use-controllable-state";import{createContext as p}from"@radix-ui/react-context";import{useComposedRefs as a}from"@radix-ui/react-compose-refs";import{composeEventHandlers as d}from"@radix-ui/primitive";import*as i from"react";function u(){return(u=Object.assign||function(o){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(o[r]=n[r])}return o}).apply(this,arguments)}const[s,c]=p("DropdownMenu");export const DropdownMenu=e=>{const{children:n,open:r,defaultOpen:p,onOpenChange:a}=e,d=i.useRef(null),[u=!1,c]=t({prop:r,defaultProp:p,onChange:a});return i.createElement(s,{triggerRef:d,contentId:o(),open:u,onOpenChange:c,onOpenToggle:i.useCallback((()=>c((o=>!o))),[c])},n)};DropdownMenu.displayName="DropdownMenu";const l="button";export const DropdownMenuTrigger=i.forwardRef(((o,e)=>{const{as:r=l,...t}=o,p=c("DropdownMenuTrigger"),s=a(e,p.triggerRef);return i.createElement(n,u({type:"button","aria-haspopup":"menu","aria-expanded":!!p.open||void 0,"aria-controls":p.open?p.contentId:void 0,"data-state":p.open?"open":"closed"},t,{as:r,ref:s,onMouseDown:d(o.onMouseDown,(o=>{0===o.button&&!1===o.ctrlKey&&p.onOpenToggle()})),onKeyDown:d(o.onKeyDown,(o=>{[" ","Enter","ArrowUp","ArrowDown"].includes(o.key)&&(o.preventDefault(),p.onOpenChange(!0))}))}))}));DropdownMenuTrigger.displayName="DropdownMenuTrigger";export const DropdownMenuContent=i.forwardRef(((o,n)=>{const{onCloseAutoFocus:r,disableOutsidePointerEvents:t=!0,disableOutsideScroll:p=!0,portalled:a=!0,...s}=o,l=c("DropdownMenuContent");return i.createElement(e.Root,u({id:l.contentId},s,{ref:n,disableOutsidePointerEvents:t,disableOutsideScroll:p,portalled:a,style:{...o.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)"},open:l.open,onOpenChange:l.onOpenChange,anchorRef:o.anchorRef||l.triggerRef,trapFocus:!0,onCloseAutoFocus:d(r,(o=>{var e;o.preventDefault(),null===(e=l.triggerRef.current)||void 0===e||e.focus()})),onPointerDownOutside:d(o.onPointerDownOutside,(o=>{var e;(null===(e=l.triggerRef.current)||void 0===e?void 0:e.contains(o.target))&&o.preventDefault()}),{checkForDefaultPrevented:!1}),onDismiss:()=>l.onOpenChange(!1)}))}));DropdownMenuContent.displayName="DropdownMenuContent";export const DropdownMenuGroup=r(e.Group,{displayName:"DropdownMenuGroup"});export const DropdownMenuLabel=r(e.Label,{displayName:"DropdownMenuLabel"});export const DropdownMenuItem=r(e.Item,{displayName:"DropdownMenuItem"});export const DropdownMenuCheckboxItem=r(e.CheckboxItem,{displayName:"DropdownMenuCheckboxItem"});export const DropdownMenuRadioGroup=r(e.RadioGroup,{displayName:"DropdownMenuRadioGroup"});export const DropdownMenuRadioItem=r(e.RadioItem,{displayName:"DropdownMenuRadioItem"});export const DropdownMenuItemIndicator=r(e.ItemIndicator,{displayName:"DropdownMenuItemIndicator"});export const DropdownMenuSeparator=r(e.Separator,{displayName:"DropdownMenuSeparator"});export const DropdownMenuArrow=r(e.Arrow,{displayName:"DropdownMenuArrow"});export const Root=DropdownMenu;export const Trigger=DropdownMenuTrigger;export const Content=DropdownMenuContent;export const Group=DropdownMenuGroup;export const Label=DropdownMenuLabel;export const Item=DropdownMenuItem;export const CheckboxItem=DropdownMenuCheckboxItem;export const RadioGroup=DropdownMenuRadioGroup;export const RadioItem=DropdownMenuRadioItem;export const ItemIndicator=DropdownMenuItemIndicator;export const Separator=DropdownMenuSeparator;export const Arrow=DropdownMenuArrow; | ||
function o(o,n,e){Object.defineProperty(o,n,{get:e,enumerable:!0})}import{useId as n}from"@radix-ui/react-id";import{Root as e,Group as r,Label as t,Item as p,CheckboxItem as u,RadioGroup as a,RadioItem as d,ItemIndicator as i,Separator as c,Arrow as s}from"@radix-ui/react-menu";import{Primitive as w,extendPrimitive as D}from"@radix-ui/react-primitive";import{useControllableState as m}from"@radix-ui/react-use-controllable-state";import{createContext as M}from"@radix-ui/react-context";import{useComposedRefs as l}from"@radix-ui/react-compose-refs";import{composeEventHandlers as f}from"@radix-ui/primitive";import{useRef as I,createElement as g,useCallback as x,forwardRef as b}from"react";var R={};function C(){return(C=Object.assign||function(o){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r])}return o}).apply(this,arguments)}const[h,y]=M("DropdownMenu");export const DropdownMenu=o=>{const{children:e,open:r,defaultOpen:t,onOpenChange:p}=o,u=I(null),[a=!1,d]=m({prop:r,defaultProp:t,onChange:p});return g(h,{triggerRef:u,contentId:n(),open:a,onOpenChange:d,onOpenToggle:x((()=>d((o=>!o))),[d])},e)};DropdownMenu.displayName="DropdownMenu";const O="button";export const DropdownMenuTrigger=b(((o,n)=>{const{as:e=O,...r}=o,t=y("DropdownMenuTrigger"),p=l(n,t.triggerRef);return g(w,C({type:"button","aria-haspopup":"menu","aria-expanded":!!t.open||void 0,"aria-controls":t.open?t.contentId:void 0,"data-state":t.open?"open":"closed"},r,{as:e,ref:p,onMouseDown:f(o.onMouseDown,(o=>{0===o.button&&!1===o.ctrlKey&&t.onOpenToggle()})),onKeyDown:f(o.onKeyDown,(o=>{[" ","Enter","ArrowUp","ArrowDown"].includes(o.key)&&(o.preventDefault(),t.onOpenChange(!0))}))}))}));DropdownMenuTrigger.displayName="DropdownMenuTrigger";export const DropdownMenuContent=b(((o,n)=>{const{onCloseAutoFocus:r,disableOutsidePointerEvents:t=!0,disableOutsideScroll:p=!0,portalled:u=!0,...a}=o,d=y("DropdownMenuContent");return g(e,C({id:d.contentId},a,{ref:n,disableOutsidePointerEvents:t,disableOutsideScroll:p,portalled:u,style:{...o.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)"},open:d.open,onOpenChange:d.onOpenChange,anchorRef:o.anchorRef||d.triggerRef,trapFocus:!0,onCloseAutoFocus:f(r,(o=>{o.preventDefault(),d.triggerRef.current?.focus?.()})),onPointerDownOutside:f(o.onPointerDownOutside,(o=>{d.triggerRef.current?.contains?.(o.target)&&o.preventDefault()}),{checkForDefaultPrevented:!1}),onDismiss:()=>d.onOpenChange(!1)}))}));DropdownMenuContent.displayName="DropdownMenuContent";export const DropdownMenuGroup=D(r,{displayName:"DropdownMenuGroup"});export const DropdownMenuLabel=D(t,{displayName:"DropdownMenuLabel"});export const DropdownMenuItem=D(p,{displayName:"DropdownMenuItem"});export const DropdownMenuCheckboxItem=D(u,{displayName:"DropdownMenuCheckboxItem"});export const DropdownMenuRadioGroup=D(a,{displayName:"DropdownMenuRadioGroup"});export const DropdownMenuRadioItem=D(d,{displayName:"DropdownMenuRadioItem"});export const DropdownMenuItemIndicator=D(i,{displayName:"DropdownMenuItemIndicator"});export const DropdownMenuSeparator=D(c,{displayName:"DropdownMenuSeparator"});export const DropdownMenuArrow=D(s,{displayName:"DropdownMenuArrow"});export const Root=DropdownMenu;export const Trigger=DropdownMenuTrigger;export const Content=DropdownMenuContent;export const Group=DropdownMenuGroup;export const Label=DropdownMenuLabel;export const Item=DropdownMenuItem;export const CheckboxItem=DropdownMenuCheckboxItem;export const RadioGroup=DropdownMenuRadioGroup;export const RadioItem=DropdownMenuRadioItem;export const ItemIndicator=DropdownMenuItemIndicator;export const Separator=DropdownMenuSeparator;export const Arrow=DropdownMenuArrow;o(R,"Arrow",(function(){return Arrow})),o(R,"Separator",(function(){return Separator})),o(R,"ItemIndicator",(function(){return ItemIndicator})),o(R,"RadioItem",(function(){return RadioItem})),o(R,"RadioGroup",(function(){return RadioGroup})),o(R,"CheckboxItem",(function(){return CheckboxItem})),o(R,"Item",(function(){return Item})),o(R,"Label",(function(){return Label})),o(R,"Group",(function(){return Group})),o(R,"Content",(function(){return Content})),o(R,"Trigger",(function(){return Trigger})),o(R,"Root",(function(){return Root})),o(R,"DropdownMenuArrow",(function(){return DropdownMenuArrow})),o(R,"DropdownMenuSeparator",(function(){return DropdownMenuSeparator})),o(R,"DropdownMenuItemIndicator",(function(){return DropdownMenuItemIndicator})),o(R,"DropdownMenuRadioItem",(function(){return DropdownMenuRadioItem})),o(R,"DropdownMenuRadioGroup",(function(){return DropdownMenuRadioGroup})),o(R,"DropdownMenuCheckboxItem",(function(){return DropdownMenuCheckboxItem})),o(R,"DropdownMenuItem",(function(){return DropdownMenuItem})),o(R,"DropdownMenuLabel",(function(){return DropdownMenuLabel})),o(R,"DropdownMenuGroup",(function(){return DropdownMenuGroup})),o(R,"DropdownMenuContent",(function(){return DropdownMenuContent})),o(R,"DropdownMenuTrigger",(function(){return DropdownMenuTrigger})),o(R,"DropdownMenu",(function(){return DropdownMenu})); | ||
//# sourceMappingURL=index.module.js.map |
{ | ||
"name": "@radix-ui/react-dropdown-menu", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "source": "src/index.ts", | ||
"@radix-ui/react-id": "0.0.1", | ||
"@radix-ui/react-menu": "0.0.9", | ||
"@radix-ui/react-menu": "0.0.10", | ||
"@radix-ui/react-polymorphic": "0.0.6", | ||
@@ -26,0 +26,0 @@ "@radix-ui/react-primitive": "0.0.6", |
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
43238
130
+ Added@radix-ui/popper@0.0.6(transitive)
+ Added@radix-ui/react-dismissable-layer@0.0.7(transitive)
+ Added@radix-ui/react-menu@0.0.10(transitive)
+ Added@radix-ui/react-popper@0.0.9(transitive)
+ Added@radix-ui/react-presence@0.0.8(transitive)
+ Added@radix-ui/react-use-escape-keydown@0.0.1(transitive)
- Removed@radix-ui/popper@0.0.5(transitive)
- Removed@radix-ui/react-dismissable-layer@0.0.6(transitive)
- Removed@radix-ui/react-menu@0.0.9(transitive)
- Removed@radix-ui/react-popper@0.0.8(transitive)
- Removed@radix-ui/react-presence@0.0.7(transitive)
Updated@radix-ui/react-menu@0.0.10