@react-email/text
Advanced tools
+13
-10
@@ -37,12 +37,15 @@ "use strict"; | ||
| var Text = React.forwardRef( | ||
| ({ style, ...props }, forwardedRef) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { | ||
| ref: forwardedRef, | ||
| style: { | ||
| fontSize: "14px", | ||
| lineHeight: "24px", | ||
| margin: "16px 0", | ||
| ...style | ||
| }, | ||
| ...props | ||
| }) | ||
| ({ style, ...props }, forwardedRef) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( | ||
| "p", | ||
| { | ||
| ref: forwardedRef, | ||
| style: { | ||
| fontSize: "14px", | ||
| lineHeight: "24px", | ||
| margin: "16px 0", | ||
| ...style | ||
| }, | ||
| ...props | ||
| } | ||
| ) | ||
| ); | ||
@@ -49,0 +52,0 @@ Text.displayName = "Text"; |
+13
-10
@@ -5,12 +5,15 @@ // src/text.tsx | ||
| var Text = React.forwardRef( | ||
| ({ style, ...props }, forwardedRef) => /* @__PURE__ */ jsx("p", { | ||
| ref: forwardedRef, | ||
| style: { | ||
| fontSize: "14px", | ||
| lineHeight: "24px", | ||
| margin: "16px 0", | ||
| ...style | ||
| }, | ||
| ...props | ||
| }) | ||
| ({ style, ...props }, forwardedRef) => /* @__PURE__ */ jsx( | ||
| "p", | ||
| { | ||
| ref: forwardedRef, | ||
| style: { | ||
| fontSize: "14px", | ||
| lineHeight: "24px", | ||
| margin: "16px 0", | ||
| ...style | ||
| }, | ||
| ...props | ||
| } | ||
| ) | ||
| ); | ||
@@ -17,0 +20,0 @@ Text.displayName = "Text"; |
+17
-5
| { | ||
| "name": "@react-email/text", | ||
| "version": "0.0.2", | ||
| "version": "0.0.3", | ||
| "description": "A block of text separated by blank spaces", | ||
@@ -16,9 +16,21 @@ "sideEffects": false, | ||
| "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/text" | ||
| }, | ||
| "keywords": [ | ||
| "react", | ||
| "email" | ||
| ], | ||
| "engines": { | ||
| "node": ">=18.0.0" | ||
| }, | ||
| "dependencies": { | ||
@@ -44,2 +56,2 @@ "react": "18.2.0" | ||
| } | ||
| } | ||
| } |
+4
-4
@@ -1,2 +0,2 @@ | ||
|  | ||
|  | ||
@@ -46,5 +46,5 @@ <div align="center"><strong>@react-email/text</strong></div> | ||
| | <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 ✔ | | ||
@@ -51,0 +51,0 @@ ## License |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
7807
0.85%81
8%0
-100%0
-100%