@tmlmobilidade/emails 20260424.1352.48 → 20260502.1945.53
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/dist/components/Anchor/index.js +1 -1
- package/dist/components/CoverLogo/index.js +1 -1
- package/dist/components/DebugCode/index.js +1 -1
- package/dist/components/Disclaimer/index.js +1 -1
- package/dist/components/Greeting/index.js +1 -1
- package/dist/components/MainButton/index.js +1 -1
- package/dist/components/Paragraph/index.js +1 -1
- package/dist/components/Wrapper/index.js +1 -1
- package/dist/templates/generic-notification.js +1 -1
- package/dist/templates/plan-approval-request.js +1 -1
- package/dist/templates/plan-approved.js +1 -1
- package/dist/templates/reset-password.js +1 -1
- package/dist/templates/sucessful-gtfs-validation.js +1 -1
- package/dist/templates/system-error.js +1 -1
- package/dist/templates/unsucessful-gtfs-validation.js +1 -1
- package/dist/templates/welcome.js +1 -1
- package/package.json +4 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
/* * */
|
|
3
|
-
import { Link } from '
|
|
3
|
+
import { Link } from 'react-email';
|
|
4
4
|
import styles from './styles.js';
|
|
5
5
|
/* * */
|
|
6
6
|
export function Anchor({ href, spaceAfter, spaceBefore, text }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
/* * */
|
|
3
3
|
import { GO_HOMEPAGE_URL } from '../../constants.js';
|
|
4
|
-
import { Column, Img, Link, Row } from '
|
|
4
|
+
import { Column, Img, Link, Row } from 'react-email';
|
|
5
5
|
import styles from './styles.js';
|
|
6
6
|
/* * */
|
|
7
7
|
export function CoverLogo() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
/* * */
|
|
3
3
|
import { Span } from '../Span/index.js';
|
|
4
|
-
import { Text } from '
|
|
4
|
+
import { Text } from 'react-email';
|
|
5
5
|
import styles from './styles.js';
|
|
6
6
|
/* * */
|
|
7
7
|
export function DebugCode({ label = 'Olá,', value }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
/* * */
|
|
3
3
|
import { GO_HOMEPAGE_URL } from '../../constants.js';
|
|
4
|
-
import { Link, Section, Text } from '
|
|
4
|
+
import { Link, Section, Text } from 'react-email';
|
|
5
5
|
import styles from './styles.js';
|
|
6
6
|
/* * */
|
|
7
7
|
export function Disclaimer() {
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
/* * */
|
|
3
3
|
import colors from '../../styles/colors.js';
|
|
4
4
|
import { fontSize, fontWeight } from '../../styles/font.js';
|
|
5
|
-
import { Text } from '
|
|
5
|
+
import { Text } from 'react-email';
|
|
6
6
|
import styles from './styles.js';
|
|
7
7
|
/* * */
|
|
8
8
|
export function Paragraph({ bold, children, color = 'prose', size = 'lg' }) {
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { CoverLogo } from '../CoverLogo/index.js';
|
|
4
4
|
import { Disclaimer } from '../Disclaimer/index.js';
|
|
5
5
|
import { fontWeight } from '../../styles/font.js';
|
|
6
|
-
import { Body, Container, Font, Head, Html, Preview, Section } from '
|
|
6
|
+
import { Body, Container, Font, Head, Html, Preview, Section } from 'react-email';
|
|
7
7
|
import styles from './styles.js';
|
|
8
8
|
/* * */
|
|
9
9
|
export function Wrapper({ children, previewMessage }) {
|
|
@@ -5,7 +5,7 @@ import { MainButton } from '../components/MainButton/index.js';
|
|
|
5
5
|
import { Paragraph } from '../components/Paragraph/index.js';
|
|
6
6
|
import { Wrapper } from '../components/Wrapper/index.js';
|
|
7
7
|
import { emailProvider } from '../email.provider.js';
|
|
8
|
-
import { render } from '
|
|
8
|
+
import { render } from 'react-email';
|
|
9
9
|
/* * */
|
|
10
10
|
export const genericNotificationSubject = 'Nova Notificação';
|
|
11
11
|
/* * */
|
|
@@ -7,8 +7,8 @@ import { Paragraph } from '../components/Paragraph/index.js';
|
|
|
7
7
|
import { Span } from '../components/Span/index.js';
|
|
8
8
|
import { Wrapper } from '../components/Wrapper/index.js';
|
|
9
9
|
import { emailProvider } from '../email.provider.js';
|
|
10
|
-
import { render } from '@react-email/components';
|
|
11
10
|
import { Dates } from '@tmlmobilidade/dates';
|
|
11
|
+
import { render } from 'react-email';
|
|
12
12
|
/* * */
|
|
13
13
|
export const planApprovalRequestSubject = 'Pedido de aprovação de plano';
|
|
14
14
|
/* * */
|
|
@@ -7,8 +7,8 @@ import { Paragraph } from '../components/Paragraph/index.js';
|
|
|
7
7
|
import { Span } from '../components/Span/index.js';
|
|
8
8
|
import { Wrapper } from '../components/Wrapper/index.js';
|
|
9
9
|
import { emailProvider } from '../email.provider.js';
|
|
10
|
-
import { render } from '@react-email/components';
|
|
11
10
|
import { Dates } from '@tmlmobilidade/dates';
|
|
11
|
+
import { render } from 'react-email';
|
|
12
12
|
/* * */
|
|
13
13
|
export const planApprovedSubject = 'Plano Aprovado';
|
|
14
14
|
/* * */
|
|
@@ -5,7 +5,7 @@ import { MainButton } from '../components/MainButton/index.js';
|
|
|
5
5
|
import { Paragraph } from '../components/Paragraph/index.js';
|
|
6
6
|
import { Wrapper } from '../components/Wrapper/index.js';
|
|
7
7
|
import { emailProvider } from '../email.provider.js';
|
|
8
|
-
import { render } from '
|
|
8
|
+
import { render } from 'react-email';
|
|
9
9
|
/* * */
|
|
10
10
|
export const resetPasswordSubject = 'Recuperação de palavra-passe';
|
|
11
11
|
/* * */
|
|
@@ -8,7 +8,7 @@ import { Paragraph } from '../components/Paragraph/index.js';
|
|
|
8
8
|
import { Span } from '../components/Span/index.js';
|
|
9
9
|
import { Wrapper } from '../components/Wrapper/index.js';
|
|
10
10
|
import { emailProvider } from '../email.provider.js';
|
|
11
|
-
import { render } from '
|
|
11
|
+
import { render } from 'react-email';
|
|
12
12
|
/* * */
|
|
13
13
|
export const sucessfulGtfsValidationSubject = 'Validação GTFS realizada com sucesso';
|
|
14
14
|
/* * */
|
|
@@ -4,8 +4,8 @@ import { Paragraph } from '../components/Paragraph/index.js';
|
|
|
4
4
|
import { Span } from '../components/Span/index.js';
|
|
5
5
|
import { Wrapper } from '../components/Wrapper/index.js';
|
|
6
6
|
import { emailProvider } from '../email.provider.js';
|
|
7
|
-
import { render } from '@react-email/components';
|
|
8
7
|
import { Dates } from '@tmlmobilidade/dates';
|
|
8
|
+
import { render } from 'react-email';
|
|
9
9
|
/* * */
|
|
10
10
|
export const failedBackupSubject = '🚨 Erro de Sistema';
|
|
11
11
|
/* * */
|
|
@@ -8,7 +8,7 @@ import { Paragraph } from '../components/Paragraph/index.js';
|
|
|
8
8
|
import { Span } from '../components/Span/index.js';
|
|
9
9
|
import { Wrapper } from '../components/Wrapper/index.js';
|
|
10
10
|
import { emailProvider } from '../email.provider.js';
|
|
11
|
-
import { render } from '
|
|
11
|
+
import { render } from 'react-email';
|
|
12
12
|
/* * */
|
|
13
13
|
export const unsuccessfulGtfsValidationSubject = 'Validação GTFS com erros';
|
|
14
14
|
/* * */
|
|
@@ -7,7 +7,7 @@ import { Paragraph } from '../components/Paragraph/index.js';
|
|
|
7
7
|
import { Wrapper } from '../components/Wrapper/index.js';
|
|
8
8
|
import { GO_HOMEPAGE_URL } from '../constants.js';
|
|
9
9
|
import { emailProvider } from '../email.provider.js';
|
|
10
|
-
import { render } from '
|
|
10
|
+
import { render } from 'react-email';
|
|
11
11
|
/* * */
|
|
12
12
|
export const welcomeSubject = 'O GO dá-te as boas-vindas!';
|
|
13
13
|
/* * */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmlmobilidade/emails",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20260502.1945.53",
|
|
4
4
|
"author": {
|
|
5
5
|
"email": "iso@tmlmobilidade.pt",
|
|
6
6
|
"name": "TML-ISO"
|
|
@@ -37,16 +37,15 @@
|
|
|
37
37
|
"watch": "tsc-watch --onSuccess 'resolve-tspaths'"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@react-email/components": "1.0.12",
|
|
41
40
|
"@tmlmobilidade/dates": "*",
|
|
42
41
|
"@tmlmobilidade/types": "*",
|
|
43
42
|
"@tmlmobilidade/utils": "*",
|
|
44
|
-
"nodemailer": "8.0.
|
|
43
|
+
"nodemailer": "8.0.7",
|
|
45
44
|
"react": "19.2.5",
|
|
46
|
-
"react-email": "6.0.
|
|
45
|
+
"react-email": "6.0.5"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
49
|
-
"@react-email/
|
|
48
|
+
"@react-email/ui": "6.0.5",
|
|
50
49
|
"@tmlmobilidade/tsconfig": "*",
|
|
51
50
|
"@types/node": "25.6.0",
|
|
52
51
|
"@types/nodemailer": "8.0.0",
|