@twilio-paste/paragraph
Advanced tools
Comparing version 2.0.3 to 2.0.4-beta.15
@@ -1,1 +0,1 @@ | ||
import{forwardRef as t,createElement as o}from"react";import{Text as r}from"@twilio-paste/text";var e=t((function(t,e){var i=t.children,a=t.marginBottom;return o(r,{as:"p",marginBottom:a||"space70",fontSize:"fontSize30",lineHeight:"lineHeight40",fontWeight:"fontWeightNormal",color:"colorText",ref:e},i)}));e.displayName="Paragraph";export{e as Paragraph}; | ||
import{createElement as o,forwardRef as i}from"react";import{Text as p}from"@twilio-paste/text";var e=i(({children:a,marginBottom:t},r)=>o(p,{as:"p",marginBottom:t||"space70",fontSize:"fontSize30",lineHeight:"lineHeight40",fontWeight:"fontWeightNormal",color:"colorText",ref:r},a));e.displayName="Paragraph";export{e as Paragraph}; |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("@twilio-paste/text"),r=e.forwardRef((function(r,a){var o=r.children,i=r.marginBottom;return e.createElement(t.Text,{as:"p",marginBottom:i||"space70",fontSize:"fontSize30",lineHeight:"lineHeight40",fontWeight:"fontWeightNormal",color:"colorText",ref:a},o)}));r.displayName="Paragraph",exports.Paragraph=r; | ||
var g=Object.create,o=Object.defineProperty,c=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,h=Object.getOwnPropertyNames,l=Object.getOwnPropertyDescriptor;var p=e=>o(e,"__esModule",{value:!0});var P=(e,a)=>{p(e);for(var t in a)o(e,t,{get:a[t],enumerable:!0})},x=(e,a,t)=>{if(p(e),a&&typeof a=="object"||typeof a=="function")for(let r of h(a))!f.call(e,r)&&r!=="default"&&o(e,r,{get:()=>a[r],enumerable:!(t=l(a,r))||t.enumerable});return e},n=e=>e&&e.__esModule?e:x(o(e!=null?g(c(e)):{},"default",{value:e,enumerable:!0}),e);P(exports,{Paragraph:()=>s});var i=n(require("react")),m=n(require("@twilio-paste/text")),s=i.forwardRef(({children:e,marginBottom:a},t)=>i.createElement(m.Text,{as:"p",marginBottom:a||"space70",fontSize:"fontSize30",lineHeight:"lineHeight40",fontWeight:"fontWeightNormal",color:"colorText",ref:t},e));s.displayName="Paragraph"; |
{ | ||
"name": "@twilio-paste/paragraph", | ||
"version": "2.0.3", | ||
"version": "2.0.4-beta.15+c193ca0b", | ||
"category": "typography", | ||
@@ -21,16 +21,15 @@ "status": "production", | ||
"scripts": { | ||
"build": "yarn clean && yarn compile", | ||
"build:dev": "yarn clean && yarn compile:dev", | ||
"build": "yarn clean && NODE_ENV=production node build.js && tsc", | ||
"build:js": "NODE_ENV=development node build.js", | ||
"build:props": "typedoc --tsconfig ./tsconfig.json --json ./dist/prop-types.json", | ||
"clean": "rm -rf ./dist && rm -rf tsconfig.build.tsbuildinfo && rm -rf .rpt2_cache", | ||
"compile": "rollup -c --environment NODE_ENV:production", | ||
"compile:dev": "rollup -c --environment NODE_ENV:development" | ||
"clean": "rm -rf ./dist", | ||
"tsc": "tsc" | ||
}, | ||
"peerDependencies": { | ||
"@twilio-paste/design-tokens": "^6.4.1", | ||
"@twilio-paste/style-props": "^1.8.15", | ||
"@twilio-paste/styling-library": "^0.2.1", | ||
"@twilio-paste/text": "^2.4.2", | ||
"@twilio-paste/theme": "^4.1.1", | ||
"@twilio-paste/types": "^3.0.30", | ||
"@twilio-paste/style-props": "^1.8.16", | ||
"@twilio-paste/styling-library": "^0.2.2", | ||
"@twilio-paste/text": "^2.4.3", | ||
"@twilio-paste/theme": "^4.1.2", | ||
"@twilio-paste/types": "^3.0.31", | ||
"prop-types": "^15.7.2", | ||
@@ -42,6 +41,6 @@ "react": "^16.8.6", | ||
"@twilio-paste/design-tokens": "^6.4.1", | ||
"@twilio-paste/style-props": "^1.8.16", | ||
"@twilio-paste/style-props": "^1.8.17-beta.15+c193ca0b", | ||
"@twilio-paste/styling-library": "^0.2.2", | ||
"@twilio-paste/text": "^2.4.3", | ||
"@twilio-paste/theme": "^4.1.2", | ||
"@twilio-paste/text": "^2.4.4-beta.15+c193ca0b", | ||
"@twilio-paste/theme": "^4.1.3-beta.15+c193ca0b", | ||
"@twilio-paste/types": "^3.0.31", | ||
@@ -52,3 +51,3 @@ "prop-types": "^15.7.2", | ||
}, | ||
"gitHead": "c4163904aa7c0cd4b9c4b46ffc40fe4d0db7cfb7" | ||
"gitHead": "c193ca0b8017f60515cb15878d35881962c087af" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
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
363342
8
14
3
1