@hintoric/email 0.2.0 → 0.4.0
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/README.md +3 -2
- package/dist/alertIcons.d.ts +29 -0
- package/dist/alertIcons.d.ts.map +1 -0
- package/dist/components/Alert.d.ts +66 -0
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/components/HintoricLogo.d.ts.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +713 -147
- package/dist/index.js.map +1 -1
- package/dist/styles.d.ts +2 -0
- package/dist/styles.d.ts.map +1 -1
- package/dist/templates/AuthCode/AuthCodeEmail.d.ts +14 -0
- package/dist/templates/AuthCode/AuthCodeEmail.d.ts.map +1 -0
- package/dist/templates/AuthCode/index.d.ts +4 -0
- package/dist/templates/AuthCode/index.d.ts.map +1 -0
- package/dist/templates/AuthCode/messages.d.ts +4 -0
- package/dist/templates/AuthCode/messages.d.ts.map +1 -0
- package/dist/templates/AuthCode/types.d.ts +58 -0
- package/dist/templates/AuthCode/types.d.ts.map +1 -0
- package/dist/templates/AuthLink/AuthLinkEmail.d.ts +13 -0
- package/dist/templates/AuthLink/AuthLinkEmail.d.ts.map +1 -0
- package/dist/templates/AuthLink/index.d.ts +4 -0
- package/dist/templates/AuthLink/index.d.ts.map +1 -0
- package/dist/templates/AuthLink/messages.d.ts +4 -0
- package/dist/templates/AuthLink/messages.d.ts.map +1 -0
- package/dist/templates/AuthLink/types.d.ts +53 -0
- package/dist/templates/AuthLink/types.d.ts.map +1 -0
- package/dist/templates/AuthNoAccount/AuthNoAccountEmail.d.ts +13 -0
- package/dist/templates/AuthNoAccount/AuthNoAccountEmail.d.ts.map +1 -0
- package/dist/templates/AuthNoAccount/index.d.ts +4 -0
- package/dist/templates/AuthNoAccount/index.d.ts.map +1 -0
- package/dist/templates/AuthNoAccount/messages.d.ts +4 -0
- package/dist/templates/AuthNoAccount/messages.d.ts.map +1 -0
- package/dist/templates/AuthNoAccount/types.d.ts +55 -0
- package/dist/templates/AuthNoAccount/types.d.ts.map +1 -0
- package/dist/templates/SecurityActivityAlert/messages.d.ts.map +1 -1
- package/dist/templates/SecurityActivityAlert/types.d.ts +8 -3
- package/dist/templates/SecurityActivityAlert/types.d.ts.map +1 -1
- package/dist/tokens.d.ts +1 -0
- package/dist/tokens.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which flow asked for the link — Kratos' `verification` and `recovery`
|
|
3
|
+
* templates of the `link` method, the counterparts of the code mails
|
|
4
|
+
* (`AuthCode`). It picks the heading, the subject and how firmly the mail
|
|
5
|
+
* warns.
|
|
6
|
+
*/
|
|
7
|
+
export type AuthLinkPurpose = 'verification' | 'recovery';
|
|
8
|
+
/** What every message function receives. */
|
|
9
|
+
export interface AuthLinkContext {
|
|
10
|
+
purpose: AuthLinkPurpose;
|
|
11
|
+
url: string;
|
|
12
|
+
/** The address the link was sent to, when the sender knows it. */
|
|
13
|
+
email?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Every string the template shows. There are no built-in defaults — like the
|
|
17
|
+
* library's other blocks, the template doesn't decide what language its
|
|
18
|
+
* consumers speak. Pass `authLinkMessagesDe` / `authLinkMessagesEn`, or
|
|
19
|
+
* spread one and override what differs.
|
|
20
|
+
*/
|
|
21
|
+
export interface AuthLinkMessages {
|
|
22
|
+
/** BCP 47 tag for `<html lang>`. */
|
|
23
|
+
lang: string;
|
|
24
|
+
subject: (ctx: AuthLinkContext) => string;
|
|
25
|
+
/** The line inbox lists show after the subject. */
|
|
26
|
+
preview: (ctx: AuthLinkContext) => string;
|
|
27
|
+
heading: (ctx: AuthLinkContext) => string;
|
|
28
|
+
/** The sentence above the button: what it is for. */
|
|
29
|
+
intro: (ctx: AuthLinkContext) => string;
|
|
30
|
+
/** Label of the button. */
|
|
31
|
+
button: (ctx: AuthLinkContext) => string;
|
|
32
|
+
/** The line under the button. Shown only when `expiresInMinutes` is set. */
|
|
33
|
+
expiry: (minutes: number) => string;
|
|
34
|
+
/** What to do if the reader didn't ask for the link. */
|
|
35
|
+
ignore: (ctx: AuthLinkContext) => string;
|
|
36
|
+
/** Under the card: why the reader got this mail. */
|
|
37
|
+
footer: (ctx: AuthLinkContext) => string;
|
|
38
|
+
}
|
|
39
|
+
export interface AuthLinkProps {
|
|
40
|
+
purpose: AuthLinkPurpose;
|
|
41
|
+
/** The link the flow sent — Kratos' `verification_url` or `recovery_url`. Unsafe schemes are dropped, which leaves the mail without a button. */
|
|
42
|
+
url: string;
|
|
43
|
+
/** The address the link was sent to. Named in the intro when given. */
|
|
44
|
+
email?: string;
|
|
45
|
+
/** How long the link is valid. Kratos' courier doesn't pass it; it is the flow's configured lifespan. */
|
|
46
|
+
expiresInMinutes?: number;
|
|
47
|
+
messages: AuthLinkMessages;
|
|
48
|
+
/** The sender's legal line under the footer — company, address. */
|
|
49
|
+
legalNotice?: string;
|
|
50
|
+
/** Previews only — see `Layout`. */
|
|
51
|
+
colorScheme?: 'light' | 'dark';
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/templates/AuthLink/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG,UAAU,CAAC;AAE1D,4CAA4C;AAC5C,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,eAAe,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,MAAM,CAAC;IAC1C,mDAAmD;IACnD,OAAO,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,MAAM,CAAC;IAC1C,OAAO,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,MAAM,CAAC;IAC1C,qDAAqD;IACrD,KAAK,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,MAAM,CAAC;IACxC,2BAA2B;IAC3B,MAAM,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,MAAM,CAAC;IACzC,4EAA4E;IAC5E,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IACpC,wDAAwD;IACxD,MAAM,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,MAAM,CAAC;IACzC,oDAAoD;IACpD,MAAM,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,MAAM,CAAC;CAC1C;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,eAAe,CAAC;IACzB,iJAAiJ;IACjJ,GAAG,EAAE,MAAM,CAAC;IACZ,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yGAAyG;IACzG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,mEAAmE;IACnE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oCAAoC;IACpC,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAChC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RenderedEmail } from '../SecurityActivityAlert';
|
|
2
|
+
import { AuthNoAccountProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* The answer to a code request for an address without an account: no code,
|
|
5
|
+
* only what was attempted, the fact itself in a warning alert, the likely
|
|
6
|
+
* mix-up, and — when given — a way to create the account.
|
|
7
|
+
*/
|
|
8
|
+
export declare function AuthNoAccountEmail(props: AuthNoAccountProps): import("react").JSX.Element;
|
|
9
|
+
/** What goes inside the card, without the document — for in-app previews (render `ColorSchemeStyles` next to it). */
|
|
10
|
+
export declare function AuthNoAccountContent(props: AuthNoAccountProps): import("react").JSX.Element;
|
|
11
|
+
/** Subject, HTML and plain-text body in one call — what a mail API's send() takes. */
|
|
12
|
+
export declare function renderAuthNoAccount(props: AuthNoAccountProps): Promise<RenderedEmail>;
|
|
13
|
+
//# sourceMappingURL=AuthNoAccountEmail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthNoAccountEmail.d.ts","sourceRoot":"","sources":["../../../src/templates/AuthNoAccount/AuthNoAccountEmail.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAwB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAMxE;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,kBAAkB,+BAuB3D;AAED,qHAAqH;AACrH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,kBAAkB,+BA2B7D;AAED,sFAAsF;AACtF,wBAAsB,mBAAmB,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,aAAa,CAAC,CAG3F"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { AuthNoAccountEmail, AuthNoAccountContent, renderAuthNoAccount } from './AuthNoAccountEmail';
|
|
2
|
+
export { authNoAccountMessagesDe, authNoAccountMessagesEn } from './messages';
|
|
3
|
+
export type { AuthNoAccountChannel, AuthNoAccountContext, AuthNoAccountMessages, AuthNoAccountProps, AuthNoAccountPurpose } from './types';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/AuthNoAccount/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACrG,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC9E,YAAY,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/templates/AuthNoAccount/messages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwB,qBAAqB,EAAwB,MAAM,SAAS,CAAC;AAOjG,eAAO,MAAM,uBAAuB,EAAE,qBAYrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,qBAWrC,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The flows that answer an unknown address with a mail of their own instead
|
|
3
|
+
* of an error — Kratos' `verification_code.invalid` and
|
|
4
|
+
* `recovery_code.invalid`. Saying "no such account" on screen would tell
|
|
5
|
+
* anyone which addresses have one; the mail tells only the address's owner.
|
|
6
|
+
*/
|
|
7
|
+
export type AuthNoAccountPurpose = 'verification' | 'recovery';
|
|
8
|
+
/**
|
|
9
|
+
* What the reader was sent: a one-time code (Kratos' `code` method) or a
|
|
10
|
+
* link (its `link` method). The mail says which was requested.
|
|
11
|
+
*/
|
|
12
|
+
export type AuthNoAccountChannel = 'code' | 'link';
|
|
13
|
+
/** What every message function receives. */
|
|
14
|
+
export interface AuthNoAccountContext {
|
|
15
|
+
purpose: AuthNoAccountPurpose;
|
|
16
|
+
channel: AuthNoAccountChannel;
|
|
17
|
+
email: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Every string the template shows. Pass `authNoAccountMessagesDe` /
|
|
21
|
+
* `authNoAccountMessagesEn`, or spread one and override what differs.
|
|
22
|
+
*/
|
|
23
|
+
export interface AuthNoAccountMessages {
|
|
24
|
+
/** BCP 47 tag for `<html lang>`. */
|
|
25
|
+
lang: string;
|
|
26
|
+
subject: (ctx: AuthNoAccountContext) => string;
|
|
27
|
+
/** The line inbox lists show after the subject. */
|
|
28
|
+
preview: (ctx: AuthNoAccountContext) => string;
|
|
29
|
+
heading: (ctx: AuthNoAccountContext) => string;
|
|
30
|
+
/** What was attempted. */
|
|
31
|
+
body: (ctx: AuthNoAccountContext) => string;
|
|
32
|
+
/** That the address has no account — the warning alert under the body. */
|
|
33
|
+
alert: (ctx: AuthNoAccountContext) => string;
|
|
34
|
+
/** The likely explanation, and what to do if it wasn't the reader. */
|
|
35
|
+
hint: (ctx: AuthNoAccountContext) => string;
|
|
36
|
+
/** Label of the button. Shown only when `registrationUrl` is set. */
|
|
37
|
+
registerButton: string;
|
|
38
|
+
/** Under the card: why the reader got this mail. */
|
|
39
|
+
footer: (ctx: AuthNoAccountContext) => string;
|
|
40
|
+
}
|
|
41
|
+
export interface AuthNoAccountProps {
|
|
42
|
+
purpose: AuthNoAccountPurpose;
|
|
43
|
+
/** What was requested. Defaults to `code`. */
|
|
44
|
+
channel?: AuthNoAccountChannel;
|
|
45
|
+
/** The address that was entered — the one this mail goes to. */
|
|
46
|
+
email: string;
|
|
47
|
+
/** Where to create an account. Adds a button; unsafe schemes are dropped. */
|
|
48
|
+
registrationUrl?: string;
|
|
49
|
+
messages: AuthNoAccountMessages;
|
|
50
|
+
/** The sender's legal line under the footer — company, address. */
|
|
51
|
+
legalNotice?: string;
|
|
52
|
+
/** Previews only — see `Layout`. */
|
|
53
|
+
colorScheme?: 'light' | 'dark';
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/templates/AuthNoAccount/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,cAAc,GAAG,UAAU,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnD,4CAA4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ecurityActivityAlert/messages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAO7D,eAAO,MAAM,+BAA+B,EAAE,
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/templates/SecurityActivityAlert/messages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAO7D,eAAO,MAAM,+BAA+B,EAAE,6BAkB7C,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,6BAiB7C,CAAC"}
|
|
@@ -2,8 +2,12 @@ import type * as React from 'react';
|
|
|
2
2
|
export interface SecurityActivity {
|
|
3
3
|
/** What happened, short — "Bankverbindung geändert", "Passwort geändert". Becomes the heading and the subject. */
|
|
4
4
|
title: string;
|
|
5
|
-
/**
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Who did it. Left out when nobody did — a sign-in, or a change the
|
|
7
|
+
* identity system reports on its own — and the default texts then say what
|
|
8
|
+
* happened without a subject.
|
|
9
|
+
*/
|
|
10
|
+
actorName?: string;
|
|
7
11
|
occurredAt: Date;
|
|
8
12
|
/**
|
|
9
13
|
* Free text for this one activity — "Erika Mustermann hat die IBAN des
|
|
@@ -52,7 +56,8 @@ export interface SecurityActivityAlertMessages {
|
|
|
52
56
|
summary: (ctx: SecurityActivityAlertContext) => string;
|
|
53
57
|
/** What to do if the change wasn't expected. Follows the summary or description. */
|
|
54
58
|
guidance: (ctx: SecurityActivityAlertContext) => string;
|
|
55
|
-
|
|
59
|
+
/** A function when the label depends on the target: an account's reader secures it, an admin reviews activity. */
|
|
60
|
+
reviewButton: string | ((ctx: SecurityActivityAlertContext) => string);
|
|
56
61
|
/** The line under the button. `link` is the rendered link to the activity log, so word order stays the translation's. */
|
|
57
62
|
activityLogHint: (link: (label: string) => React.ReactNode) => React.ReactNode;
|
|
58
63
|
/** Under the card: answers "why did I get this?" — differs for workspace and account targets. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/templates/SecurityActivityAlert/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,MAAM,WAAW,gBAAgB;IAC/B,kHAAkH;IAClH,KAAK,EAAE,MAAM,CAAC;IACd
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/templates/SecurityActivityAlert/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,MAAM,WAAW,gBAAgB;IAC/B,kHAAkH;IAClH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,IAAI,CAAC;IACjB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,sBAAsB,GAC9B;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,GAC5C;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvC,4CAA4C;AAC5C,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,MAAM,EAAE,sBAAsB,CAAC;IAC/B,mFAAmF;IACnF,UAAU,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,MAAM,WAAW,6BAA6B;IAC5C,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,GAAG,EAAE,4BAA4B,KAAK,MAAM,CAAC;IACvD,OAAO,EAAE,CAAC,GAAG,EAAE,4BAA4B,KAAK,MAAM,CAAC;IACvD,6EAA6E;IAC7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AC;IAChB,2BAA2B;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAqB/D,CAAC;AAEF,eAAO,MAAM,UAAU;;;;CAStB,CAAC;AAEF,gCAAgC;AAChC,eAAO,MAAM,WAAW;;;;;;CAA8D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hintoric/email",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Transactional email components in @hintoric/ui's look, built on react-email.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"vite": "^8.2.2",
|
|
48
48
|
"vite-plugin-dts": "^5.1.0",
|
|
49
49
|
"vitest": "^4.1.11",
|
|
50
|
-
"@hintoric/ui": "0.
|
|
50
|
+
"@hintoric/ui": "0.12.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@react-email/render": "^2.1.0",
|