@tonycodes-ui/mortar 0.14.0 → 0.15.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/CHANGELOG.md +3 -2
- package/catalog.json +119 -119
- package/dist/agent-data.json +1 -1
- package/dist/email-components.d.ts +115 -0
- package/dist/email-components.js +221 -0
- package/dist/email-templates.d.ts +108 -0
- package/dist/email-templates.js +57 -0
- package/dist/email.d.ts +4 -98
- package/dist/email.js +4 -151
- package/docs/auth-flows.md +1 -1
- package/docs/email.md +34 -19
- package/package.json +1 -1
- package/src/{email.tsx → email-components.tsx} +208 -93
- package/src/email-templates.tsx +355 -0
- package/src/email.ts +47 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Mortar follows [semantic versioning](https://semver.org/). Before 1.0, a minor release may contain breaking changes, and it says so. Each release is published from its `v<version>` tag to [npmjs.com](https://www.npmjs.com/package/@tonycodes-ui/mortar) with npm provenance. Its GitHub release carries the exact archive and a `provenance.json` with the commit and SHA-512 integrity.
|
|
4
4
|
|
|
5
|
-
## 0.
|
|
5
|
+
## 0.15.0 (2026-11-07)
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
8
|
|
|
@@ -10,7 +10,8 @@ Mortar follows [semantic versioning](https://semver.org/). Before 1.0, a minor r
|
|
|
10
10
|
- `emailTheme(brand?)` resolves a `BrandDefinition` to literal light-appearance colours and font stacks, as `tokens.css` does. Derived tints are computed in JS, and `oklch()`, `oklab()`, `hsl()` and `rgb()` convert to hex.
|
|
11
11
|
- `EmailShell`, `EmailHeading`, `EmailText`, `EmailButton`, `EmailLink` and `EmailCode` lay out in tables, with spacing on cells so Outlook for Windows keeps it.
|
|
12
12
|
- `renderEmail` returns the HTML and its plain-text alternative.
|
|
13
|
-
- `
|
|
13
|
+
- `EmailCallout` (Mortar's tones), `EmailDivider` and `EmailSummary` (receipt items, cost lines and total, read as rows in plain text). The callout and summary follow the shell's `dir`.
|
|
14
|
+
- Templates: `VerifyEmail` (a code, a link or both), `MagicLink`, `PasswordReset`, `Invite`, `Receipt` and `Notification`. Each says why it was sent. See [Transactional email](docs/email.md).
|
|
14
15
|
|
|
15
16
|
## 0.11.0 (2026-10-20)
|
|
16
17
|
|