38 lines
1.2 KiB
TypeScript
38 lines
1.2 KiB
TypeScript
/**
|
|
* Marketing-Funnel Phase 3 email-template package (Phase 05 #80).
|
|
*
|
|
* Ships pre-built React-Email-style templates for the sequence engine.
|
|
* `renderEmail(<Template props />)` returns `{ html, text }` ready for
|
|
* any `@hivegrid/mail` `SendMailInput`. Theme tokens + layout primitives
|
|
* are reusable for additional sequences operators define in the admin
|
|
* UI (when wired to a runtime template-registry).
|
|
*/
|
|
|
|
export { theme } from "./theme.js";
|
|
export type { EmailTheme } from "./theme.js";
|
|
export { Layout } from "./components/Layout.js";
|
|
export type { LayoutProps } from "./components/Layout.js";
|
|
export {
|
|
Heading,
|
|
Paragraph,
|
|
Spacer,
|
|
Button,
|
|
Footer,
|
|
type ButtonProps,
|
|
} from "./components/primitives.js";
|
|
export { renderEmail, htmlToPlainText, type RenderedEmail } from "./render.js";
|
|
|
|
export { WelcomeEmail, type WelcomeEmailProps } from "./sequences/welcome.js";
|
|
export {
|
|
TrialReminderEmail,
|
|
type TrialReminderEmailProps,
|
|
} from "./sequences/trial-reminder.js";
|
|
export {
|
|
ReActivationEmail,
|
|
type ReActivationEmailProps,
|
|
} from "./sequences/re-activation.js";
|
|
export {
|
|
GenericStepEmail,
|
|
type GenericStepEmailProps,
|
|
} from "./sequences/generic-step.js";
|