Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -1,16 +1,14 @@
|
||||
/**
|
||||
* Local React-Email preview server.
|
||||
*
|
||||
* Run via `pnpm --filter @toolctrl/mail preview` and visit
|
||||
* Run via `pnpm --filter @hivegrid/mail preview` and visit
|
||||
* http://localhost:3001 — the index lists every transactional
|
||||
* template; clicking a name renders the template with the sample
|
||||
* props from `previews.ts` so designers can iterate without
|
||||
* triggering live email sends.
|
||||
*
|
||||
* Intentionally tiny — uses Node's built-in `http` server so the
|
||||
* mail package keeps a small dep footprint. For production-grade
|
||||
* preview workflows (visual-regression diffing, screenshot capture)
|
||||
* mount the React-Email components in Storybook (Phase 08).
|
||||
* Intentionally tiny: uses Node's built-in `http` server so the
|
||||
* mail package keeps a small dep footprint.
|
||||
*/
|
||||
import { createServer, type IncomingMessage, type ServerResponse } from "node:http";
|
||||
import { reactTransactionalTemplateNames, renderTransactionalEmail } from "../src/templates-react/render.js";
|
||||
|
||||
@@ -7,7 +7,7 @@ import { withBrandDefaults } from "../src/templates-react/_layout/theme.js";
|
||||
import type { ReactTemplatePropsMap } from "../src/templates-react/render.js";
|
||||
|
||||
const brand = withBrandDefaults({
|
||||
productName: "ToolCTRL",
|
||||
productName: "HiveGrid",
|
||||
tenantName: "Acme Inc",
|
||||
primaryColor: "#2563eb",
|
||||
});
|
||||
@@ -60,7 +60,7 @@ export const samplePropsByTemplate: { [K in keyof ReactTemplatePropsMap]: ReactT
|
||||
amountFormatted: "€99.00",
|
||||
issueDate: "2026-05-17",
|
||||
dueDate: "2026-06-17",
|
||||
actionUrl: "https://invoice.stripe.com/i/abc",
|
||||
actionUrl: "https://invoice.mollie.com/i/abc",
|
||||
},
|
||||
"tenant-notification": {
|
||||
brand,
|
||||
|
||||
Reference in new issue
Block a user