@leafygreen-ui/box
Advanced tools
Comparing version 3.1.0 to 3.1.1
# @leafygreen-ui/box | ||
## 3.1.1 | ||
### Patch Changes | ||
- 24683433: - Remove an implicit dependency on `@emotion/react` fixing an issue where LG packages would not build if `@leafygreen/emotion@4.0.2` or greater was installed. | ||
## 3.1.0 | ||
@@ -4,0 +10,0 @@ |
@@ -1,2 +0,2 @@ | ||
import r from"react";import e from"prop-types";import{jsx as t}from"@emotion/react";function n(){return n=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},n.apply(this,arguments)}function o(r,e){if(null==r)return{};var t,n,o=function(r,e){if(null==r)return{};var t,n,o={},a=Object.keys(r);for(n=0;n<a.length;n++)t=a[n],e.indexOf(t)>=0||(o[t]=r[t]);return o}(r,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);for(n=0;n<a.length;n++)t=a[n],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(r,t)&&(o[t]=r[t])}return o}var a=["as"];function f(r,e){if(null!=r.as){var f=r.as,l=o(r,a);return t(f,n({},l,{ref:e}))}return null!=r.href?t("a",n({},r,{ref:e})):t("div",n({},r,{ref:e}))}f.displayName="InlineBox";var l=r.forwardRef(f);l.displayName="Box",l.propTypes={as:e.oneOfType([e.elementType,e.element,e.func]),href:e.string};export{l as default}; | ||
import e from"react";import r from"prop-types";function t(){return t=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},t.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,n,a=function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var a=["as"];function o(r,o){if(null!=r.as){var l=r.as,f=n(r,a);return e.createElement(l,t({},f,{ref:o}))}return null!=r.href?e.createElement("a",t({},r,{ref:o})):e.createElement("div",t({},r,{ref:o}))}o.displayName="InlineBox";var l=e.forwardRef(o);l.displayName="Box",l.propTypes={as:r.oneOfType([r.elementType,r.element,r.func]),href:r.string};export{l as default}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("prop-types"),require("@emotion/react")):"function"==typeof define&&define.amd?define(["react","prop-types","@emotion/react"],r):(e="undefined"!=typeof globalThis?globalThis:e||self)["@leafygreen-ui/box"]=r(e.React,e.PropTypes,e.react)}(this,(function(e,r,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(e),f=n(r);function a(){return a=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},a.apply(this,arguments)}function u(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},f=Object.keys(e);for(n=0;n<f.length;n++)t=f[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(e);for(n=0;n<f.length;n++)t=f[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var l=["as"];function i(e,r){if(null!=e.as){var n=e.as,o=u(e,l);return t.jsx(n,a({},o,{ref:r}))}return null!=e.href?t.jsx("a",a({},e,{ref:r})):t.jsx("div",a({},e,{ref:r}))}i.displayName="InlineBox";var p=o.default.forwardRef(i);return p.displayName="Box",p.propTypes={as:f.default.oneOfType([f.default.elementType,f.default.element,f.default.func]),href:f.default.string},p})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","prop-types"],t):(e="undefined"!=typeof globalThis?globalThis:e||self)["@leafygreen-ui/box"]=t(e.React,e.PropTypes)}(this,(function(e,t){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(e),f=r(t);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,f=function(e,t){if(null==e)return{};var r,n,f={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(f[r]=e[r]);return f}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(f[r]=e[r])}return f}var o=["as"];function u(e,t){if(null!=e.as){var r=e.as,f=l(e,o);return n.default.createElement(r,a({},f,{ref:t}))}return null!=e.href?n.default.createElement("a",a({},e,{ref:t})):n.default.createElement("div",a({},e,{ref:t}))}u.displayName="InlineBox";var i=n.default.forwardRef(u);return i.displayName="Box",i.propTypes={as:f.default.oneOfType([f.default.elementType,f.default.element,f.default.func]),href:f.default.string},i})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@leafygreen-ui/box", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "leafyGreen UI Kit Box", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
71802
0