@radix-ui/popper
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -1,2 +0,2 @@ | ||
function t(t){return t&&t.__esModule?t.default:t}function e(t,e,r){Object.defineProperty(t,e,{get:r,enumerable:!0})}var r=t(require("@babel/runtime-corejs3/core-js-stable/instance/concat")),o=t(require("@babel/runtime-corejs3/helpers/defineProperty")),n=t(require("@babel/runtime-corejs3/core-js-stable/object/define-property")),i=t(require("@babel/runtime-corejs3/core-js-stable/object/define-properties")),a=t(require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors")),c=t(require("@babel/runtime-corejs3/core-js-stable/instance/for-each")),l=t(require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor")),s=t(require("@babel/runtime-corejs3/core-js-stable/instance/filter")),p=t(require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols")),f=t(require("@babel/runtime-corejs3/core-js-stable/object/keys")),u={};function d(t,e){var r=f(t);if(p){var o=p(t);e&&(o=s(o).call(o,(function(e){return l(t,e).enumerable}))),r.push.apply(r,o)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r,s=null!=arguments[e]?arguments[e]:{};if(e%2)c(r=d(Object(s),!0)).call(r,(function(e){o(t,e,s[e])}));else if(a)i(t,a(s));else{var p;c(p=d(Object(s))).call(p,(function(e){n(t,e,l(s,e))}))}}return t}var h=["top","right","bottom","left"];exports.SIDE_OPTIONS=h;var g=["start","center","end"];function m(t){var e=t.anchorRect,r=t.popperSize,o=t.arrowSize,n=t.arrowOffset,i=void 0===n?0:n,a=t.side,c=t.sideOffset,l=void 0===c?0:c,s=t.align,p=t.alignOffset,f=void 0===p?0:p,u=t.shouldAvoidCollisions,d=void 0===u||u,h=t.collisionBoundariesRect,g=t.collisionTolerance,m=void 0===g?0:g;if(!e||!r||!h)return{popperStyles:v,arrowStyles:j};var O=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=arguments.length>4?arguments[4]:void 0,i=n?n.height:0,a=x(e,t,"x"),c=x(e,t,"y"),l=c.before-r-i,s=c.after+r+i,p=a.before-r-i,f=a.after+r+i;return{top:{start:{x:a.start+o,y:l},center:{x:a.center,y:l},end:{x:a.end-o,y:l}},right:{start:{x:f,y:c.start+o},center:{x:f,y:c.center},end:{x:f,y:c.end-o}},bottom:{start:{x:a.start+o,y:s},center:{x:a.center,y:s},end:{x:a.end-o,y:s}},left:{start:{x:p,y:c.start+o},center:{x:p,y:c.center},end:{x:p,y:c.end-o}}}}(r,e,l,f,o),I=O[a][s];if(!1===d){var P=w(I),R=j;o&&(R=S({popperSize:r,arrowSize:o,arrowOffset:i,side:a,align:s}));var D=y(r,a,s,i,o);return{popperStyles:b(b({},P),{},{"--radix-popper-transform-origin":D}),arrowStyles:R,placedSide:a,placedAlign:s}}var M,N,_=DOMRect.fromRect(b(b({},r),I)),A=(M=h,N=m,DOMRect.fromRect({width:M.width-2*N,height:M.height-2*N,x:M.left+N,y:M.top+N})),T=z(_,A),C=O[q(a)][s],E=function(t,e,r){var o=q(t);return e[t]&&!r[o]?o:t}(a,T,z(DOMRect.fromRect(b(b({},r),C)),A)),G=function(t,e,r,o,n){var i="top"===r||"bottom"===r,a=i?"left":"top",c=i?"right":"bottom",l=i?"width":"height",s=e[l]>t[l];if(("start"===o||"center"===o)&&(n[a]&&s||n[c]&&!s))return"end";if(("end"===o||"center"===o)&&(n[c]&&s||n[a]&&!s))return"start";return o}(r,e,a,s,T),L=w(O[E][G]),k=j;o&&(k=S({popperSize:r,arrowSize:o,arrowOffset:i,side:E,align:G}));var B=y(r,E,G,i,o);return{popperStyles:b(b({},L),{},{"--radix-popper-transform-origin":B}),arrowStyles:k,placedSide:E,placedAlign:G}}function x(t,e,r){var o=t["x"===r?"left":"top"],n="x"===r?"width":"height",i=t[n],a=e[n];return{before:o-a,start:o,center:o+(i-a)/2,end:o+i-a,after:o+i}}function w(t){var e,o=Math.round(t.x+window.scrollX),n=Math.round(t.y+window.scrollY);return{position:"absolute",top:0,left:0,minWidth:"max-content",willChange:"transform",transform:r(e="translate3d(".concat(o,"px, ")).call(e,n,"px, 0)")}}function y(t,e,o,n,i){var a,c="top"===e||"bottom"===e,l=i?i.width:0,s=i?i.height:0,p=l/2+n,f="",u="";return c?(f={start:"".concat(p,"px"),center:"center",end:"".concat(t.width-p,"px")}[o],u="".concat("top"===e?t.height+s:-s,"px")):(f="".concat("left"===e?t.width+s:-s,"px"),u={start:"".concat(p,"px"),center:"center",end:"".concat(t.height-p,"px")}[o]),r(a="".concat(f," ")).call(a,u)}exports.ALIGN_OPTIONS=g,exports.getPlacementData=m;var v={position:"fixed",top:0,left:0,opacity:0,transform:"translate3d(0, -200%, 0)"},j={position:"absolute",opacity:0};function S(t){var e=t.popperSize,r=t.arrowSize,o=t.arrowOffset,n=t.side,i=t.align,a=(e.width-r.width)/2,c=(e.height-r.width)/2,l={top:0,right:90,bottom:180,left:-90}[n],s=Math.max(r.width,r.height),p={width:"".concat(s,"px"),height:"".concat(s,"px"),transform:"rotate(".concat(l,"deg)"),willChange:"transform",position:"absolute",[n]:"100%",direction:O(n,i)};return"top"!==n&&"bottom"!==n||("start"===i&&(p.left="".concat(o,"px")),"center"===i&&(p.left="".concat(a,"px")),"end"===i&&(p.right="".concat(o,"px"))),"left"!==n&&"right"!==n||("start"===i&&(p.top="".concat(o,"px")),"center"===i&&(p.top="".concat(c,"px")),"end"===i&&(p.bottom="".concat(o,"px"))),p}function O(t,e){return("top"!==t&&"right"!==t||"end"!==e)&&("bottom"!==t&&"left"!==t||"end"===e)?"ltr":"rtl"}function q(t){return{top:"bottom",right:"left",bottom:"top",left:"right"}[t]}function z(t,e){return{top:t.top<e.top,right:t.right>e.right,bottom:t.bottom>e.bottom,left:t.left<e.left}}e(u,"ALIGN_OPTIONS",(function(){return g})),e(u,"SIDE_OPTIONS",(function(){return h})),e(u,"getPlacementData",(function(){return m})); | ||
function t(t,e,r){Object.defineProperty(t,e,{get:r,enumerable:!0})}var e={};const r=["top","right","bottom","left"];exports.SIDE_OPTIONS=r;const o=["start","center","end"];function n({anchorRect:t,popperSize:e,arrowSize:r,arrowOffset:o=0,side:n,sideOffset:l=0,align:x,alignOffset:u=0,shouldAvoidCollisions:g=!0,collisionBoundariesRect:m,collisionTolerance:w=0}){if(!t||!e||!m)return{popperStyles:s,arrowStyles:c};const y=function(t,e,r=0,o=0,n){const p=n?n.height:0,a=i(e,t,"x"),s=i(e,t,"y"),c=s.before-r-p,f=s.after+r+p,l=a.before-r-p,d=a.after+r+p;return{top:{start:{x:a.start+o,y:c},center:{x:a.center,y:c},end:{x:a.end-o,y:c}},right:{start:{x:d,y:s.start+o},center:{x:d,y:s.center},end:{x:d,y:s.end-o}},bottom:{start:{x:a.start+o,y:f},center:{x:a.center,y:f},end:{x:a.end-o,y:f}},left:{start:{x:l,y:s.start+o},center:{x:l,y:s.center},end:{x:l,y:s.end-o}}}}(e,t,l,u,r),b=y[n][x];if(!1===g){const t=p(b);let i=c;r&&(i=f({popperSize:e,arrowSize:r,arrowOffset:o,side:n,align:x}));return{popperStyles:{...t,"--radix-popper-transform-origin":a(e,n,x,o,r)},arrowStyles:i,placedSide:n,placedAlign:x}}const S=DOMRect.fromRect({...e,...b}),O=($=m,z=w,DOMRect.fromRect({width:$.width-2*z,height:$.height-2*z,x:$.left+z,y:$.top+z}));var $,z;const I=h(S,O),R=y[d(n)][x],D=function(t,e,r){const o=d(t);return e[t]&&!r[o]?o:t}(n,I,h(DOMRect.fromRect({...e,...R}),O)),P=function(t,e,r,o,n){const i="top"===r||"bottom"===r,p=i?"left":"top",a=i?"right":"bottom",s=i?"width":"height",c=e[s]>t[s];if(("start"===o||"center"===o)&&(n[p]&&c||n[a]&&!c))return"end";if(("end"===o||"center"===o)&&(n[a]&&c||n[p]&&!c))return"start";return o}(e,t,n,x,I),M=p(y[D][P]);let N=c;r&&(N=f({popperSize:e,arrowSize:r,arrowOffset:o,side:D,align:P}));return{popperStyles:{...M,"--radix-popper-transform-origin":a(e,D,P,o,r)},arrowStyles:N,placedSide:D,placedAlign:P}}function i(t,e,r){const o=t["x"===r?"left":"top"],n="x"===r?"width":"height",i=t[n],p=e[n];return{before:o-p,start:o,center:o+(i-p)/2,end:o+i-p,after:o+i}}function p(t){return{position:"absolute",top:0,left:0,minWidth:"max-content",willChange:"transform",transform:`translate3d(${Math.round(t.x+window.scrollX)}px, ${Math.round(t.y+window.scrollY)}px, 0)`}}function a(t,e,r,o,n){const i="top"===e||"bottom"===e,p=n?n.width:0,a=n?n.height:0,s=p/2+o;let c="",f="";return i?(c={start:`${s}px`,center:"center",end:t.width-s+"px"}[r],f="top"===e?`${t.height+a}px`:-a+"px"):(c="left"===e?`${t.width+a}px`:-a+"px",f={start:`${s}px`,center:"center",end:t.height-s+"px"}[r]),`${c} ${f}`}exports.ALIGN_OPTIONS=o,exports.getPlacementData=n;const s={position:"fixed",top:0,left:0,opacity:0,transform:"translate3d(0, -200%, 0)"},c={position:"absolute",opacity:0};function f({popperSize:t,arrowSize:e,arrowOffset:r,side:o,align:n}){const i=(t.width-e.width)/2,p=(t.height-e.width)/2,a={top:0,right:90,bottom:180,left:-90}[o],s=Math.max(e.width,e.height),c={width:`${s}px`,height:`${s}px`,transform:`rotate(${a}deg)`,willChange:"transform",position:"absolute",[o]:"100%",direction:l(o,n)};return"top"!==o&&"bottom"!==o||("start"===n&&(c.left=`${r}px`),"center"===n&&(c.left=`${i}px`),"end"===n&&(c.right=`${r}px`)),"left"!==o&&"right"!==o||("start"===n&&(c.top=`${r}px`),"center"===n&&(c.top=`${p}px`),"end"===n&&(c.bottom=`${r}px`)),c}function l(t,e){return("top"!==t&&"right"!==t||"end"!==e)&&("bottom"!==t&&"left"!==t||"end"===e)?"ltr":"rtl"}function d(t){return{top:"bottom",right:"left",bottom:"top",left:"right"}[t]}function h(t,e){return{top:t.top<e.top,right:t.right>e.right,bottom:t.bottom>e.bottom,left:t.left<e.left}}t(e,"ALIGN_OPTIONS",(function(){return o})),t(e,"SIDE_OPTIONS",(function(){return r})),t(e,"getPlacementData",(function(){return n})); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
function t(t,e,r){Object.defineProperty(t,e,{get:r,enumerable:!0})}import e from"@babel/runtime-corejs3/core-js-stable/instance/concat";import r from"@babel/runtime-corejs3/helpers/esm/defineProperty";import o from"@babel/runtime-corejs3/core-js-stable/object/define-property";import n from"@babel/runtime-corejs3/core-js-stable/object/define-properties";import i from"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";import a from"@babel/runtime-corejs3/core-js-stable/instance/for-each";import c from"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";import p from"@babel/runtime-corejs3/core-js-stable/instance/filter";import l from"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";import s from"@babel/runtime-corejs3/core-js-stable/object/keys";var f={};function d(t,e){var r=s(t);if(l){var o=l(t);e&&(o=p(o).call(o,(function(e){return c(t,e).enumerable}))),r.push.apply(r,o)}return r}function m(t){for(var e=1;e<arguments.length;e++){var p,l=null!=arguments[e]?arguments[e]:{};if(e%2)a(p=d(Object(l),!0)).call(p,(function(e){r(t,e,l[e])}));else if(i)n(t,i(l));else{var s;a(s=d(Object(l))).call(s,(function(e){o(t,e,c(l,e))}))}}return t}export var SIDE_OPTIONS=["top","right","bottom","left"];export var ALIGN_OPTIONS=["start","center","end"];function u(t){var e=t.anchorRect,r=t.popperSize,o=t.arrowSize,n=t.arrowOffset,i=void 0===n?0:n,a=t.side,c=t.sideOffset,p=void 0===c?0:c,l=t.align,s=t.alignOffset,f=void 0===s?0:s,d=t.shouldAvoidCollisions,u=void 0===d||d,v=t.collisionBoundariesRect,O=t.collisionTolerance,I=void 0===O?0:O;if(!e||!r||!v)return{popperStyles:x,arrowStyles:w};var N=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=arguments.length>4?arguments[4]:void 0,i=n?n.height:0,a=b(e,t,"x"),c=b(e,t,"y"),p=c.before-r-i,l=c.after+r+i,s=a.before-r-i,f=a.after+r+i;return{top:{start:{x:a.start+o,y:p},center:{x:a.center,y:p},end:{x:a.end-o,y:p}},right:{start:{x:f,y:c.start+o},center:{x:f,y:c.center},end:{x:f,y:c.end-o}},bottom:{start:{x:a.start+o,y:l},center:{x:a.center,y:l},end:{x:a.end-o,y:l}},left:{start:{x:s,y:c.start+o},center:{x:s,y:c.center},end:{x:s,y:c.end-o}}}}(r,e,p,f,o),P=N[a][l];if(!1===u){var z=h(P),R=w;o&&(R=y({popperSize:r,arrowSize:o,arrowOffset:i,side:a,align:l}));var D=g(r,a,l,i,o);return{popperStyles:m(m({},z),{},{"--radix-popper-transform-origin":D}),arrowStyles:R,placedSide:a,placedAlign:l}}var T,A,M=DOMRect.fromRect(m(m({},r),P)),_=(T=v,A=I,DOMRect.fromRect({width:T.width-2*A,height:T.height-2*A,x:T.left+A,y:T.top+A})),C=S(M,_),E=N[j(a)][l],G=function(t,e,r){var o=j(t);return e[t]&&!r[o]?o:t}(a,C,S(DOMRect.fromRect(m(m({},r),E)),_)),L=function(t,e,r,o,n){var i="top"===r||"bottom"===r,a=i?"left":"top",c=i?"right":"bottom",p=i?"width":"height",l=e[p]>t[p];if(("start"===o||"center"===o)&&(n[a]&&l||n[c]&&!l))return"end";if(("end"===o||"center"===o)&&(n[c]&&l||n[a]&&!l))return"start";return o}(r,e,a,l,C),k=h(N[G][L]),B=w;o&&(B=y({popperSize:r,arrowSize:o,arrowOffset:i,side:G,align:L}));var W=g(r,G,L,i,o);return{popperStyles:m(m({},k),{},{"--radix-popper-transform-origin":W}),arrowStyles:B,placedSide:G,placedAlign:L}}export{u as getPlacementData};function b(t,e,r){var o=t["x"===r?"left":"top"],n="x"===r?"width":"height",i=t[n],a=e[n];return{before:o-a,start:o,center:o+(i-a)/2,end:o+i-a,after:o+i}}function h(t){var r,o=Math.round(t.x+window.scrollX),n=Math.round(t.y+window.scrollY);return{position:"absolute",top:0,left:0,minWidth:"max-content",willChange:"transform",transform:e(r="translate3d(".concat(o,"px, ")).call(r,n,"px, 0)")}}function g(t,r,o,n,i){var a,c="top"===r||"bottom"===r,p=i?i.width:0,l=i?i.height:0,s=p/2+n,f="",d="";return c?(f={start:"".concat(s,"px"),center:"center",end:"".concat(t.width-s,"px")}[o],d="".concat("top"===r?t.height+l:-l,"px")):(f="".concat("left"===r?t.width+l:-l,"px"),d={start:"".concat(s,"px"),center:"center",end:"".concat(t.height-s,"px")}[o]),e(a="".concat(f," ")).call(a,d)}var x={position:"fixed",top:0,left:0,opacity:0,transform:"translate3d(0, -200%, 0)"},w={position:"absolute",opacity:0};function y(t){var e=t.popperSize,r=t.arrowSize,o=t.arrowOffset,n=t.side,i=t.align,a=(e.width-r.width)/2,c=(e.height-r.width)/2,p={top:0,right:90,bottom:180,left:-90}[n],l=Math.max(r.width,r.height),s={width:"".concat(l,"px"),height:"".concat(l,"px"),transform:"rotate(".concat(p,"deg)"),willChange:"transform",position:"absolute",[n]:"100%",direction:v(n,i)};return"top"!==n&&"bottom"!==n||("start"===i&&(s.left="".concat(o,"px")),"center"===i&&(s.left="".concat(a,"px")),"end"===i&&(s.right="".concat(o,"px"))),"left"!==n&&"right"!==n||("start"===i&&(s.top="".concat(o,"px")),"center"===i&&(s.top="".concat(c,"px")),"end"===i&&(s.bottom="".concat(o,"px"))),s}function v(t,e){return("top"!==t&&"right"!==t||"end"!==e)&&("bottom"!==t&&"left"!==t||"end"===e)?"ltr":"rtl"}function j(t){return{top:"bottom",right:"left",bottom:"top",left:"right"}[t]}function S(t,e){return{top:t.top<e.top,right:t.right>e.right,bottom:t.bottom>e.bottom,left:t.left<e.left}}t(f,"ALIGN_OPTIONS",(function(){return ALIGN_OPTIONS})),t(f,"SIDE_OPTIONS",(function(){return SIDE_OPTIONS})),t(f,"getPlacementData",(function(){return u})); | ||
function t(t,e,r){Object.defineProperty(t,e,{get:r,enumerable:!0})}var e={};export const SIDE_OPTIONS=["top","right","bottom","left"];export const ALIGN_OPTIONS=["start","center","end"];function r({anchorRect:t,popperSize:e,arrowSize:r,arrowOffset:s=0,side:d,sideOffset:h=0,align:x,alignOffset:u=0,shouldAvoidCollisions:g=!0,collisionBoundariesRect:m,collisionTolerance:w=0}){if(!t||!e||!m)return{popperStyles:p,arrowStyles:a};const S=function(t,e,r=0,n=0,i){const p=i?i.height:0,a=o(e,t,"x"),c=o(e,t,"y"),s=c.before-r-p,f=c.after+r+p,l=a.before-r-p,d=a.after+r+p;return{top:{start:{x:a.start+n,y:s},center:{x:a.center,y:s},end:{x:a.end-n,y:s}},right:{start:{x:d,y:c.start+n},center:{x:d,y:c.center},end:{x:d,y:c.end-n}},bottom:{start:{x:a.start+n,y:f},center:{x:a.center,y:f},end:{x:a.end-n,y:f}},left:{start:{x:l,y:c.start+n},center:{x:l,y:c.center},end:{x:l,y:c.end-n}}}}(e,t,h,u,r),y=S[d][x];if(!1===g){const t=n(y);let o=a;r&&(o=c({popperSize:e,arrowSize:r,arrowOffset:s,side:d,align:x}));return{popperStyles:{...t,"--radix-popper-transform-origin":i(e,d,x,s,r)},arrowStyles:o,placedSide:d,placedAlign:x}}const b=DOMRect.fromRect({...e,...y}),O=($=m,I=w,DOMRect.fromRect({width:$.width-2*I,height:$.height-2*I,x:$.left+I,y:$.top+I}));var $,I;const N=l(b,O),z=S[f(d)][x],P=function(t,e,r){const o=f(t);return e[t]&&!r[o]?o:t}(d,N,l(DOMRect.fromRect({...e,...z}),O)),R=function(t,e,r,o,n){const i="top"===r||"bottom"===r,p=i?"left":"top",a=i?"right":"bottom",c=i?"width":"height",s=e[c]>t[c];if(("start"===o||"center"===o)&&(n[p]&&s||n[a]&&!s))return"end";if(("end"===o||"center"===o)&&(n[a]&&s||n[p]&&!s))return"start";return o}(e,t,d,x,N),D=n(S[P][R]);let T=a;r&&(T=c({popperSize:e,arrowSize:r,arrowOffset:s,side:P,align:R}));return{popperStyles:{...D,"--radix-popper-transform-origin":i(e,P,R,s,r)},arrowStyles:T,placedSide:P,placedAlign:R}}export{r as getPlacementData};function o(t,e,r){const o=t["x"===r?"left":"top"],n="x"===r?"width":"height",i=t[n],p=e[n];return{before:o-p,start:o,center:o+(i-p)/2,end:o+i-p,after:o+i}}function n(t){return{position:"absolute",top:0,left:0,minWidth:"max-content",willChange:"transform",transform:`translate3d(${Math.round(t.x+window.scrollX)}px, ${Math.round(t.y+window.scrollY)}px, 0)`}}function i(t,e,r,o,n){const i="top"===e||"bottom"===e,p=n?n.width:0,a=n?n.height:0,c=p/2+o;let s="",f="";return i?(s={start:`${c}px`,center:"center",end:t.width-c+"px"}[r],f="top"===e?`${t.height+a}px`:-a+"px"):(s="left"===e?`${t.width+a}px`:-a+"px",f={start:`${c}px`,center:"center",end:t.height-c+"px"}[r]),`${s} ${f}`}const p={position:"fixed",top:0,left:0,opacity:0,transform:"translate3d(0, -200%, 0)"},a={position:"absolute",opacity:0};function c({popperSize:t,arrowSize:e,arrowOffset:r,side:o,align:n}){const i=(t.width-e.width)/2,p=(t.height-e.width)/2,a={top:0,right:90,bottom:180,left:-90}[o],c=Math.max(e.width,e.height),f={width:`${c}px`,height:`${c}px`,transform:`rotate(${a}deg)`,willChange:"transform",position:"absolute",[o]:"100%",direction:s(o,n)};return"top"!==o&&"bottom"!==o||("start"===n&&(f.left=`${r}px`),"center"===n&&(f.left=`${i}px`),"end"===n&&(f.right=`${r}px`)),"left"!==o&&"right"!==o||("start"===n&&(f.top=`${r}px`),"center"===n&&(f.top=`${p}px`),"end"===n&&(f.bottom=`${r}px`)),f}function s(t,e){return("top"!==t&&"right"!==t||"end"!==e)&&("bottom"!==t&&"left"!==t||"end"===e)?"ltr":"rtl"}function f(t){return{top:"bottom",right:"left",bottom:"top",left:"right"}[t]}function l(t,e){return{top:t.top<e.top,right:t.right>e.right,bottom:t.bottom>e.bottom,left:t.left<e.left}}t(e,"ALIGN_OPTIONS",(function(){return ALIGN_OPTIONS})),t(e,"SIDE_OPTIONS",(function(){return SIDE_OPTIONS})),t(e,"getPlacementData",(function(){return r})); | ||
//# sourceMappingURL=index.module.js.map |
{ | ||
"name": "@radix-ui/popper", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"license": "MIT", | ||
@@ -20,3 +20,3 @@ "source": "src/index.ts", | ||
"dependencies": { | ||
"@babel/runtime-corejs3": "^7.13.10", | ||
"@babel/runtime": "^7.13.10", | ||
"csstype": "^3.0.4" | ||
@@ -23,0 +23,0 @@ }, |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
0
1
58865
84
+ Added@babel/runtime@^7.13.10
+ Added@babel/runtime@7.26.0(transitive)
- Removed@babel/runtime-corejs3@^7.13.10
- Removed@babel/runtime-corejs3@7.26.0(transitive)
- Removedcore-js-pure@3.39.0(transitive)