@react-email/link
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -37,12 +37,15 @@ "use strict"; | ||
var Link = React.forwardRef( | ||
({ target = "_blank", style, ...props }, forwardedRef) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", { | ||
ref: forwardedRef, | ||
target, | ||
style: { | ||
color: "#067df7", | ||
textDecoration: "none", | ||
...style | ||
}, | ||
...props | ||
}) | ||
({ target = "_blank", style, ...props }, forwardedRef) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( | ||
"a", | ||
{ | ||
ref: forwardedRef, | ||
target, | ||
style: { | ||
color: "#067df7", | ||
textDecoration: "none", | ||
...style | ||
}, | ||
...props | ||
} | ||
) | ||
); | ||
@@ -49,0 +52,0 @@ Link.displayName = "Link"; |
{ | ||
"name": "@react-email/link", | ||
"version": "0.0.2", | ||
"description": "A hyperlink to web pages, files, email addresses, or anything else a URL can address", | ||
"version": "0.0.3", | ||
"description": "A hyperlink to web pages, email addresses, or anything else a URL can address", | ||
"sideEffects": false, | ||
@@ -16,9 +16,21 @@ "main": "./dist/index.js", | ||
"dev": "tsup src/index.ts --format esm,cjs --dts --external react --watch", | ||
"lint": "TIMING=1 eslint src/**/*.ts* --fix", | ||
"lint": "eslint", | ||
"clean": "rm -rf dist", | ||
"test": "jest", | ||
"test:watch": "jest --watch", | ||
"format:check": "prettier --check \"**/*.{ts,tsx,md}\"", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"" | ||
"format:check": "prettier --ignore-path ./../../.prettierignore --check \"**/*.{ts,tsx,md}\"", | ||
"format": "prettier --ignore-path ./../../.prettierignore --write \"**/*.{ts,tsx,md}\"" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/zenorocha/react-email.git", | ||
"directory": "packages/link" | ||
}, | ||
"keywords": [ | ||
"react", | ||
"email" | ||
], | ||
"engines": { | ||
"node": ">=18.0.0" | ||
}, | ||
"dependencies": { | ||
@@ -44,2 +56,2 @@ "react": "18.2.0" | ||
} | ||
} | ||
} |
@@ -1,5 +0,5 @@ | ||
![React Email link cover](https://react.email/static/images/readme/covers/link.png) | ||
![React Email link cover](https://react.email/static/covers/link.png) | ||
<div align="center"><strong>@react-email/link</strong></div> | ||
<div align="center">A hyperlink to web pages, files, email addresses, or anything else a URL can address.</div> | ||
<div align="center">A hyperlink to web pages, email addresses, or anything else a URL can address.</div> | ||
<br /> | ||
@@ -53,5 +53,5 @@ <div align="center"> | ||
| <img src="https://react.email/static/images/readme/icons/gmail.svg" width="48px" height="48px" alt="Gmail logo"> | <img src="https://react.email/static/images/readme/icons/apple-mail.svg" width="48px" height="48px" alt="Apple Mail"> | <img src="https://react.email/static/images/readme/icons/outlook.svg" width="48px" height="48px" alt="Outlook logo"> | <img src="https://react.email/static/images/readme/icons/yahoo-mail.svg" width="48px" height="48px" alt="Yahoo! Mail logo"> | <img src="https://react.email/static/images/readme/icons/hey.svg" width="48px" height="48px" alt="HEY logo"> | <img src="https://react.email/static/images/readme/icons/superhuman.svg" width="48px" height="48px" alt="Superhuman logo"> | | ||
| ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- | | ||
| Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ | | ||
| <img src="https://react.email/static/icons/gmail.svg" width="48px" height="48px" alt="Gmail logo"> | <img src="https://react.email/static/icons/apple-mail.svg" width="48px" height="48px" alt="Apple Mail"> | <img src="https://react.email/static/icons/outlook.svg" width="48px" height="48px" alt="Outlook logo"> | <img src="https://react.email/static/icons/yahoo-mail.svg" width="48px" height="48px" alt="Yahoo! Mail logo"> | <img src="https://react.email/static/icons/hey.svg" width="48px" height="48px" alt="HEY logo"> | <img src="https://react.email/static/icons/superhuman.svg" width="48px" height="48px" alt="Superhuman logo"> | | ||
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | | ||
| Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ | | ||
@@ -58,0 +58,0 @@ ## License |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
8260
81
0