react-email 6.1.0 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/dist/cli/index.mjs
CHANGED
|
@@ -6522,7 +6522,7 @@ const getEmailsDirectoryMetadata = async (absolutePathToEmailsDirectory, keepFil
|
|
|
6522
6522
|
//#region package.json
|
|
6523
6523
|
var package_default = {
|
|
6524
6524
|
name: "react-email",
|
|
6525
|
-
version: "6.1.
|
|
6525
|
+
version: "6.1.1",
|
|
6526
6526
|
description: "A live preview of your emails right in your browser.",
|
|
6527
6527
|
bin: { "email": "./dist/cli/index.mjs" },
|
|
6528
6528
|
type: "module",
|
package/dist/index.cjs
CHANGED
|
@@ -17569,6 +17569,7 @@ const Hr = react.forwardRef(({ style, ...props }, ref) => /* @__PURE__ */ (0, re
|
|
|
17569
17569
|
style: {
|
|
17570
17570
|
width: "100%",
|
|
17571
17571
|
border: "none",
|
|
17572
|
+
borderColor: "transparent",
|
|
17572
17573
|
borderTop: "1px solid #eaeaea",
|
|
17573
17574
|
...style
|
|
17574
17575
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -17548,6 +17548,7 @@ const Hr = React$1.forwardRef(({ style, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
|
17548
17548
|
style: {
|
|
17549
17549
|
width: "100%",
|
|
17550
17550
|
border: "none",
|
|
17551
|
+
borderColor: "transparent",
|
|
17551
17552
|
borderTop: "1px solid #eaeaea",
|
|
17552
17553
|
...style
|
|
17553
17554
|
}
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ describe('<Hr> component', () => {
|
|
|
16
16
|
it('renders correctly', async () => {
|
|
17
17
|
const actualOutput = await render(<Hr />);
|
|
18
18
|
expect(actualOutput).toMatchInlineSnapshot(
|
|
19
|
-
`"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!--$--><hr style="width:100%;border:none;border-top:1px solid #eaeaea"/><!--/$-->"`,
|
|
19
|
+
`"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!--$--><hr style="width:100%;border:none;border-color:transparent;border-top:1px solid #eaeaea"/><!--/$-->"`,
|
|
20
20
|
);
|
|
21
21
|
});
|
|
22
22
|
});
|
package/src/components/hr/hr.tsx
CHANGED
|
@@ -330,7 +330,7 @@ describe('Tailwind component', () => {
|
|
|
330
330
|
);
|
|
331
331
|
|
|
332
332
|
expect(actualOutput).toMatchInlineSnapshot(
|
|
333
|
-
`"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!--$--><hr style="width:3rem;border:none;border-top:1px solid #eaeaea"/><!--/$-->"`,
|
|
333
|
+
`"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!--$--><hr style="width:3rem;border:none;border-color:transparent;border-top:1px solid #eaeaea"/><!--/$-->"`,
|
|
334
334
|
);
|
|
335
335
|
});
|
|
336
336
|
|