@radix-ui/react-arrow
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -1,2 +0,2 @@ | ||
var e,r,t=require("@radix-ui/react-primitive").Primitive,n=(e={},r=require("react"),Object.keys(r).forEach((function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}})})),e);function o(){return(o=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function i(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var a=n.forwardRef((function(e,r){var a=e.as,u=void 0===a?f:a,c=i(e,["as"]);return n.createElement(t,o({},c,{as:u,ref:r}))}));exports.Arrow=a;var f=n.forwardRef((function(e,r){var t=e.width,a=void 0===t?10:t,f=e.height,u=void 0===f?5:f,c=i(e,["width","height"]);return n.createElement("svg",o({},c,{ref:r,width:a,height:u,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),n.createElement("polygon",{points:"0,0 30,0 15,10"}))}));a.displayName="Arrow";var u=a;exports.Root=u; | ||
function e(e){return e&&e.__esModule?e.default:e}function r(e,r,t){Object.defineProperty(e,r,{get:t,enumerable:!0})}var t=require("@radix-ui/react-primitive").Primitive,i=require("react"),o=i.forwardRef,n=i.createElement,u=e(require("@babel/runtime-corejs3/helpers/objectWithoutProperties")),a=e(require("@babel/runtime-corejs3/helpers/extends")),s={},c=o((function(e,r){var i=e.as,o=void 0===i?d:i,s=u(e,["as"]);return n(t,a({},s,{as:o,ref:r}))}));exports.Arrow=c;var d=o((function(e,r){var t=e.width,i=void 0===t?10:t,o=e.height,s=void 0===o?5:o,c=u(e,["width","height"]);return n("svg",a({},c,{ref:r,width:i,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),n("polygon",{points:"0,0 30,0 15,10"}))}));c.displayName="Arrow";var v=c;exports.Root=v,r(s,"Root",(function(){return v})),r(s,"Arrow",(function(){return c})); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import{Primitive as r}from"@radix-ui/react-primitive";import*as e from"react";function t(){return(t=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}return r}).apply(this,arguments)}export const Arrow=e.forwardRef(((n,a)=>{const{as:i=o,...s}=n;return e.createElement(r,t({},s,{as:i,ref:a}))}));const o=e.forwardRef(((r,o)=>{const{width:n=10,height:a=5,...i}=r;return e.createElement("svg",t({},i,{ref:o,width:n,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.createElement("polygon",{points:"0,0 30,0 15,10"}))}));Arrow.displayName="Arrow";export const Root=Arrow; | ||
function r(r,e,o){Object.defineProperty(r,e,{get:o,enumerable:!0})}import{Primitive as e}from"@radix-ui/react-primitive";import{forwardRef as o,createElement as t}from"react";import i from"@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";import n from"@babel/runtime-corejs3/helpers/esm/extends";var a={};export var Arrow=o((function(r,o){var a=r.as,s=void 0===a?p:a,m=i(r,["as"]);return t(e,n({},m,{as:s,ref:o}))}));var p=o((function(r,e){var o=r.width,a=void 0===o?10:o,p=r.height,s=void 0===p?5:p,m=i(r,["width","height"]);return t("svg",n({},m,{ref:e,width:a,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),t("polygon",{points:"0,0 30,0 15,10"}))}));Arrow.displayName="Arrow";export var Root=Arrow;r(a,"Root",(function(){return Root})),r(a,"Arrow",(function(){return Arrow})); | ||
//# sourceMappingURL=index.module.js.map |
{ | ||
"name": "@radix-ui/react-arrow", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"license": "MIT", | ||
@@ -16,7 +16,9 @@ "source": "src/index.ts", | ||
"clean": "rm -rf dist", | ||
"prepublish": "yarn clean" | ||
"prepublish": "yarn clean", | ||
"version": "yarn version" | ||
}, | ||
"dependencies": { | ||
"@radix-ui/react-polymorphic": "0.0.6", | ||
"@radix-ui/react-primitive": "0.0.5" | ||
"@babel/runtime-corejs3": "^7.13.10", | ||
"@radix-ui/react-polymorphic": "0.0.7", | ||
"@radix-ui/react-primitive": "0.0.7" | ||
}, | ||
@@ -23,0 +25,0 @@ "peerDependencies": { |
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
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
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
10396
4
1
+ Added@babel/runtime-corejs3@7.25.7(transitive)
+ Added@radix-ui/react-polymorphic@0.0.7(transitive)
+ Added@radix-ui/react-primitive@0.0.7(transitive)
+ Addedcore-js-pure@3.38.1(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
- Removed@radix-ui/react-polymorphic@0.0.6(transitive)
- Removed@radix-ui/react-primitive@0.0.5(transitive)