hububb-emails 1.0.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.
Files changed (329) hide show
  1. package/dist/_components/callout.d.ts +9 -0
  2. package/dist/_components/callout.d.ts.map +1 -0
  3. package/dist/_components/callout.js +29 -0
  4. package/dist/_components/callout.js.map +1 -0
  5. package/dist/_components/detail-card.d.ts +16 -0
  6. package/dist/_components/detail-card.d.ts.map +1 -0
  7. package/dist/_components/detail-card.js +34 -0
  8. package/dist/_components/detail-card.js.map +1 -0
  9. package/dist/_components/divider.d.ts +11 -0
  10. package/dist/_components/divider.d.ts.map +1 -0
  11. package/dist/_components/divider.js +16 -0
  12. package/dist/_components/divider.js.map +1 -0
  13. package/dist/_components/email-layout.d.ts +29 -0
  14. package/dist/_components/email-layout.d.ts.map +1 -0
  15. package/dist/_components/email-layout.js +17 -0
  16. package/dist/_components/email-layout.js.map +1 -0
  17. package/dist/_components/heading.d.ts +9 -0
  18. package/dist/_components/heading.d.ts.map +1 -0
  19. package/dist/_components/heading.js +25 -0
  20. package/dist/_components/heading.js.map +1 -0
  21. package/dist/_components/icon-circle.d.ts +18 -0
  22. package/dist/_components/icon-circle.d.ts.map +1 -0
  23. package/dist/_components/icon-circle.js +23 -0
  24. package/dist/_components/icon-circle.js.map +1 -0
  25. package/dist/_components/icons.d.ts +31 -0
  26. package/dist/_components/icons.d.ts.map +1 -0
  27. package/dist/_components/icons.js +20 -0
  28. package/dist/_components/icons.js.map +1 -0
  29. package/dist/_components/index.d.ts +16 -0
  30. package/dist/_components/index.d.ts.map +1 -0
  31. package/dist/_components/index.js +31 -0
  32. package/dist/_components/index.js.map +1 -0
  33. package/dist/_components/message-quote.d.ts +10 -0
  34. package/dist/_components/message-quote.d.ts.map +1 -0
  35. package/dist/_components/message-quote.js +33 -0
  36. package/dist/_components/message-quote.js.map +1 -0
  37. package/dist/_components/primary-button.d.ts +10 -0
  38. package/dist/_components/primary-button.d.ts.map +1 -0
  39. package/dist/_components/primary-button.js +23 -0
  40. package/dist/_components/primary-button.js.map +1 -0
  41. package/dist/_components/secondary-button.d.ts +4 -0
  42. package/dist/_components/secondary-button.d.ts.map +1 -0
  43. package/dist/_components/secondary-button.js +24 -0
  44. package/dist/_components/secondary-button.js.map +1 -0
  45. package/dist/_components/steps-list.d.ts +10 -0
  46. package/dist/_components/steps-list.d.ts.map +1 -0
  47. package/dist/_components/steps-list.js +23 -0
  48. package/dist/_components/steps-list.js.map +1 -0
  49. package/dist/_components/text.d.ts +19 -0
  50. package/dist/_components/text.d.ts.map +1 -0
  51. package/dist/_components/text.js +28 -0
  52. package/dist/_components/text.js.map +1 -0
  53. package/dist/_components/units-list.d.ts +14 -0
  54. package/dist/_components/units-list.d.ts.map +1 -0
  55. package/dist/_components/units-list.js +11 -0
  56. package/dist/_components/units-list.js.map +1 -0
  57. package/dist/catalog.d.ts +170 -0
  58. package/dist/catalog.d.ts.map +1 -0
  59. package/dist/catalog.js +1082 -0
  60. package/dist/catalog.js.map +1 -0
  61. package/dist/index.d.ts +6 -0
  62. package/dist/index.d.ts.map +1 -0
  63. package/dist/index.js +13 -0
  64. package/dist/index.js.map +1 -0
  65. package/dist/render.d.ts +21 -0
  66. package/dist/render.d.ts.map +1 -0
  67. package/dist/render.js +36 -0
  68. package/dist/render.js.map +1 -0
  69. package/dist/templates/account-deletion-request.d.ts +14 -0
  70. package/dist/templates/account-deletion-request.d.ts.map +1 -0
  71. package/dist/templates/account-deletion-request.js +10 -0
  72. package/dist/templates/account-deletion-request.js.map +1 -0
  73. package/dist/templates/airbnb-account-connected.d.ts +13 -0
  74. package/dist/templates/airbnb-account-connected.d.ts.map +1 -0
  75. package/dist/templates/airbnb-account-connected.js +10 -0
  76. package/dist/templates/airbnb-account-connected.js.map +1 -0
  77. package/dist/templates/airbnb-connection-success.d.ts +8 -0
  78. package/dist/templates/airbnb-connection-success.d.ts.map +1 -0
  79. package/dist/templates/airbnb-connection-success.js +11 -0
  80. package/dist/templates/airbnb-connection-success.js.map +1 -0
  81. package/dist/templates/airbnb-property-unlisted.d.ts +8 -0
  82. package/dist/templates/airbnb-property-unlisted.d.ts.map +1 -0
  83. package/dist/templates/airbnb-property-unlisted.js +10 -0
  84. package/dist/templates/airbnb-property-unlisted.js.map +1 -0
  85. package/dist/templates/bdc-listing-live.d.ts +8 -0
  86. package/dist/templates/bdc-listing-live.d.ts.map +1 -0
  87. package/dist/templates/bdc-listing-live.js +10 -0
  88. package/dist/templates/bdc-listing-live.js.map +1 -0
  89. package/dist/templates/booking-received.d.ts +12 -0
  90. package/dist/templates/booking-received.d.ts.map +1 -0
  91. package/dist/templates/booking-received.js +9 -0
  92. package/dist/templates/booking-received.js.map +1 -0
  93. package/dist/templates/check-in-notification.d.ts +10 -0
  94. package/dist/templates/check-in-notification.d.ts.map +1 -0
  95. package/dist/templates/check-in-notification.js +10 -0
  96. package/dist/templates/check-in-notification.js.map +1 -0
  97. package/dist/templates/check-out-notification.d.ts +10 -0
  98. package/dist/templates/check-out-notification.d.ts.map +1 -0
  99. package/dist/templates/check-out-notification.js +10 -0
  100. package/dist/templates/check-out-notification.js.map +1 -0
  101. package/dist/templates/direct-catalog-share.d.ts +9 -0
  102. package/dist/templates/direct-catalog-share.d.ts.map +1 -0
  103. package/dist/templates/direct-catalog-share.js +10 -0
  104. package/dist/templates/direct-catalog-share.js.map +1 -0
  105. package/dist/templates/direct-property-share.d.ts +9 -0
  106. package/dist/templates/direct-property-share.d.ts.map +1 -0
  107. package/dist/templates/direct-property-share.js +10 -0
  108. package/dist/templates/direct-property-share.js.map +1 -0
  109. package/dist/templates/guest-automated-message.d.ts +11 -0
  110. package/dist/templates/guest-automated-message.d.ts.map +1 -0
  111. package/dist/templates/guest-automated-message.js +10 -0
  112. package/dist/templates/guest-automated-message.js.map +1 -0
  113. package/dist/templates/guest-coordination-employee-notification.d.ts +10 -0
  114. package/dist/templates/guest-coordination-employee-notification.d.ts.map +1 -0
  115. package/dist/templates/guest-coordination-employee-notification.js +10 -0
  116. package/dist/templates/guest-coordination-employee-notification.js.map +1 -0
  117. package/dist/templates/guest-coordination-subscription.d.ts +9 -0
  118. package/dist/templates/guest-coordination-subscription.d.ts.map +1 -0
  119. package/dist/templates/guest-coordination-subscription.js +10 -0
  120. package/dist/templates/guest-coordination-subscription.js.map +1 -0
  121. package/dist/templates/guest-direct-booking-confirmation.d.ts +14 -0
  122. package/dist/templates/guest-direct-booking-confirmation.d.ts.map +1 -0
  123. package/dist/templates/guest-direct-booking-confirmation.js +10 -0
  124. package/dist/templates/guest-direct-booking-confirmation.js.map +1 -0
  125. package/dist/templates/guest-portal-email-code.d.ts +7 -0
  126. package/dist/templates/guest-portal-email-code.d.ts.map +1 -0
  127. package/dist/templates/guest-portal-email-code.js +24 -0
  128. package/dist/templates/guest-portal-email-code.js.map +1 -0
  129. package/dist/templates/guest-portal-stay-invite.d.ts +14 -0
  130. package/dist/templates/guest-portal-stay-invite.d.ts.map +1 -0
  131. package/dist/templates/guest-portal-stay-invite.js +11 -0
  132. package/dist/templates/guest-portal-stay-invite.js.map +1 -0
  133. package/dist/templates/guest-verification-submitted-notification.d.ts +13 -0
  134. package/dist/templates/guest-verification-submitted-notification.d.ts.map +1 -0
  135. package/dist/templates/guest-verification-submitted-notification.js +10 -0
  136. package/dist/templates/guest-verification-submitted-notification.js.map +1 -0
  137. package/dist/templates/home-hold-declaration-approved.d.ts +13 -0
  138. package/dist/templates/home-hold-declaration-approved.d.ts.map +1 -0
  139. package/dist/templates/home-hold-declaration-approved.js +10 -0
  140. package/dist/templates/home-hold-declaration-approved.js.map +1 -0
  141. package/dist/templates/home-hold-declaration-now-required.d.ts +14 -0
  142. package/dist/templates/home-hold-declaration-now-required.d.ts.map +1 -0
  143. package/dist/templates/home-hold-declaration-now-required.js +10 -0
  144. package/dist/templates/home-hold-declaration-now-required.js.map +1 -0
  145. package/dist/templates/home-hold-declaration-rejected.d.ts +14 -0
  146. package/dist/templates/home-hold-declaration-rejected.d.ts.map +1 -0
  147. package/dist/templates/home-hold-declaration-rejected.js +10 -0
  148. package/dist/templates/home-hold-declaration-rejected.js.map +1 -0
  149. package/dist/templates/home-hold-lapsed-host.d.ts +12 -0
  150. package/dist/templates/home-hold-lapsed-host.d.ts.map +1 -0
  151. package/dist/templates/home-hold-lapsed-host.js +12 -0
  152. package/dist/templates/home-hold-lapsed-host.js.map +1 -0
  153. package/dist/templates/home-hold-lapsed.d.ts +15 -0
  154. package/dist/templates/home-hold-lapsed.d.ts.map +1 -0
  155. package/dist/templates/home-hold-lapsed.js +12 -0
  156. package/dist/templates/home-hold-lapsed.js.map +1 -0
  157. package/dist/templates/home-hold-reminder.d.ts +22 -0
  158. package/dist/templates/home-hold-reminder.d.ts.map +1 -0
  159. package/dist/templates/home-hold-reminder.js +12 -0
  160. package/dist/templates/home-hold-reminder.js.map +1 -0
  161. package/dist/templates/host-to-operations-message-notification.d.ts +15 -0
  162. package/dist/templates/host-to-operations-message-notification.d.ts.map +1 -0
  163. package/dist/templates/host-to-operations-message-notification.js +10 -0
  164. package/dist/templates/host-to-operations-message-notification.js.map +1 -0
  165. package/dist/templates/how-it-works.d.ts +8 -0
  166. package/dist/templates/how-it-works.d.ts.map +1 -0
  167. package/dist/templates/how-it-works.js +14 -0
  168. package/dist/templates/how-it-works.js.map +1 -0
  169. package/dist/templates/internal-bdc-listing-request.d.ts +8 -0
  170. package/dist/templates/internal-bdc-listing-request.d.ts.map +1 -0
  171. package/dist/templates/internal-bdc-listing-request.js +10 -0
  172. package/dist/templates/internal-bdc-listing-request.js.map +1 -0
  173. package/dist/templates/new-landlord-message-notification.d.ts +9 -0
  174. package/dist/templates/new-landlord-message-notification.d.ts.map +1 -0
  175. package/dist/templates/new-landlord-message-notification.js +10 -0
  176. package/dist/templates/new-landlord-message-notification.js.map +1 -0
  177. package/dist/templates/new-landlord-notification.d.ts +11 -0
  178. package/dist/templates/new-landlord-notification.d.ts.map +1 -0
  179. package/dist/templates/new-landlord-notification.js +10 -0
  180. package/dist/templates/new-landlord-notification.js.map +1 -0
  181. package/dist/templates/new-message-coordinator-notification.d.ts +12 -0
  182. package/dist/templates/new-message-coordinator-notification.d.ts.map +1 -0
  183. package/dist/templates/new-message-coordinator-notification.js +10 -0
  184. package/dist/templates/new-message-coordinator-notification.js.map +1 -0
  185. package/dist/templates/new-message.d.ts +12 -0
  186. package/dist/templates/new-message.d.ts.map +1 -0
  187. package/dist/templates/new-message.js +9 -0
  188. package/dist/templates/new-message.js.map +1 -0
  189. package/dist/templates/new-property-submitted.d.ts +10 -0
  190. package/dist/templates/new-property-submitted.d.ts.map +1 -0
  191. package/dist/templates/new-property-submitted.js +10 -0
  192. package/dist/templates/new-property-submitted.js.map +1 -0
  193. package/dist/templates/new-support-message-notification.d.ts +11 -0
  194. package/dist/templates/new-support-message-notification.d.ts.map +1 -0
  195. package/dist/templates/new-support-message-notification.js +10 -0
  196. package/dist/templates/new-support-message-notification.js.map +1 -0
  197. package/dist/templates/payment-action-required.d.ts +10 -0
  198. package/dist/templates/payment-action-required.d.ts.map +1 -0
  199. package/dist/templates/payment-action-required.js +10 -0
  200. package/dist/templates/payment-action-required.js.map +1 -0
  201. package/dist/templates/payment-confirmation.d.ts +14 -0
  202. package/dist/templates/payment-confirmation.d.ts.map +1 -0
  203. package/dist/templates/payment-confirmation.js +10 -0
  204. package/dist/templates/payment-confirmation.js.map +1 -0
  205. package/dist/templates/payment-failed.d.ts +12 -0
  206. package/dist/templates/payment-failed.d.ts.map +1 -0
  207. package/dist/templates/payment-failed.js +9 -0
  208. package/dist/templates/payment-failed.js.map +1 -0
  209. package/dist/templates/payout-completed-notification.d.ts +10 -0
  210. package/dist/templates/payout-completed-notification.d.ts.map +1 -0
  211. package/dist/templates/payout-completed-notification.js +10 -0
  212. package/dist/templates/payout-completed-notification.js.map +1 -0
  213. package/dist/templates/payout-rejected-notification.d.ts +11 -0
  214. package/dist/templates/payout-rejected-notification.d.ts.map +1 -0
  215. package/dist/templates/payout-rejected-notification.js +11 -0
  216. package/dist/templates/payout-rejected-notification.js.map +1 -0
  217. package/dist/templates/payout-requested.d.ts +14 -0
  218. package/dist/templates/payout-requested.d.ts.map +1 -0
  219. package/dist/templates/payout-requested.js +10 -0
  220. package/dist/templates/payout-requested.js.map +1 -0
  221. package/dist/templates/property-submission-confirmation.d.ts +9 -0
  222. package/dist/templates/property-submission-confirmation.d.ts.map +1 -0
  223. package/dist/templates/property-submission-confirmation.js +10 -0
  224. package/dist/templates/property-submission-confirmation.js.map +1 -0
  225. package/dist/templates/quote-submitted-host.d.ts +14 -0
  226. package/dist/templates/quote-submitted-host.d.ts.map +1 -0
  227. package/dist/templates/quote-submitted-host.js +16 -0
  228. package/dist/templates/quote-submitted-host.js.map +1 -0
  229. package/dist/templates/quote-submitted-ops.d.ts +12 -0
  230. package/dist/templates/quote-submitted-ops.d.ts.map +1 -0
  231. package/dist/templates/quote-submitted-ops.js +10 -0
  232. package/dist/templates/quote-submitted-ops.js.map +1 -0
  233. package/dist/templates/reservation-cancellation.d.ts +10 -0
  234. package/dist/templates/reservation-cancellation.d.ts.map +1 -0
  235. package/dist/templates/reservation-cancellation.js +9 -0
  236. package/dist/templates/reservation-cancellation.js.map +1 -0
  237. package/dist/templates/reset-password.d.ts +9 -0
  238. package/dist/templates/reset-password.d.ts.map +1 -0
  239. package/dist/templates/reset-password.js +9 -0
  240. package/dist/templates/reset-password.js.map +1 -0
  241. package/dist/templates/service-booking-confirmation.d.ts +11 -0
  242. package/dist/templates/service-booking-confirmation.d.ts.map +1 -0
  243. package/dist/templates/service-booking-confirmation.js +12 -0
  244. package/dist/templates/service-booking-confirmation.js.map +1 -0
  245. package/dist/templates/service-booking-employee-notification.d.ts +14 -0
  246. package/dist/templates/service-booking-employee-notification.d.ts.map +1 -0
  247. package/dist/templates/service-booking-employee-notification.js +10 -0
  248. package/dist/templates/service-booking-employee-notification.js.map +1 -0
  249. package/dist/templates/service-request-notification.d.ts +21 -0
  250. package/dist/templates/service-request-notification.d.ts.map +1 -0
  251. package/dist/templates/service-request-notification.js +10 -0
  252. package/dist/templates/service-request-notification.js.map +1 -0
  253. package/dist/templates/service-request.d.ts +10 -0
  254. package/dist/templates/service-request.d.ts.map +1 -0
  255. package/dist/templates/service-request.js +10 -0
  256. package/dist/templates/service-request.js.map +1 -0
  257. package/dist/templates/subscription-confirmation-bdc.d.ts +8 -0
  258. package/dist/templates/subscription-confirmation-bdc.d.ts.map +1 -0
  259. package/dist/templates/subscription-confirmation-bdc.js +10 -0
  260. package/dist/templates/subscription-confirmation-bdc.js.map +1 -0
  261. package/dist/templates/support-direct-message-notification.d.ts +13 -0
  262. package/dist/templates/support-direct-message-notification.d.ts.map +1 -0
  263. package/dist/templates/support-direct-message-notification.js +10 -0
  264. package/dist/templates/support-direct-message-notification.js.map +1 -0
  265. package/dist/templates/task-accepted-host.d.ts +14 -0
  266. package/dist/templates/task-accepted-host.d.ts.map +1 -0
  267. package/dist/templates/task-accepted-host.js +10 -0
  268. package/dist/templates/task-accepted-host.js.map +1 -0
  269. package/dist/templates/task-accepted-ops.d.ts +12 -0
  270. package/dist/templates/task-accepted-ops.d.ts.map +1 -0
  271. package/dist/templates/task-accepted-ops.js +10 -0
  272. package/dist/templates/task-accepted-ops.js.map +1 -0
  273. package/dist/templates/task-answers-submitted-ops.d.ts +9 -0
  274. package/dist/templates/task-answers-submitted-ops.d.ts.map +1 -0
  275. package/dist/templates/task-answers-submitted-ops.js +10 -0
  276. package/dist/templates/task-answers-submitted-ops.js.map +1 -0
  277. package/dist/templates/task-assigned-worker.d.ts +13 -0
  278. package/dist/templates/task-assigned-worker.d.ts.map +1 -0
  279. package/dist/templates/task-assigned-worker.js +10 -0
  280. package/dist/templates/task-assigned-worker.js.map +1 -0
  281. package/dist/templates/task-completed-host.d.ts +16 -0
  282. package/dist/templates/task-completed-host.d.ts.map +1 -0
  283. package/dist/templates/task-completed-host.js +17 -0
  284. package/dist/templates/task-completed-host.js.map +1 -0
  285. package/dist/templates/task-completed-ops.d.ts +9 -0
  286. package/dist/templates/task-completed-ops.d.ts.map +1 -0
  287. package/dist/templates/task-completed-ops.js +10 -0
  288. package/dist/templates/task-completed-ops.js.map +1 -0
  289. package/dist/templates/task-payment-failed.d.ts +18 -0
  290. package/dist/templates/task-payment-failed.d.ts.map +1 -0
  291. package/dist/templates/task-payment-failed.js +10 -0
  292. package/dist/templates/task-payment-failed.js.map +1 -0
  293. package/dist/templates/task-payment-successful.d.ts +16 -0
  294. package/dist/templates/task-payment-successful.d.ts.map +1 -0
  295. package/dist/templates/task-payment-successful.js +10 -0
  296. package/dist/templates/task-payment-successful.js.map +1 -0
  297. package/dist/templates/task-purchased-ops.d.ts +12 -0
  298. package/dist/templates/task-purchased-ops.d.ts.map +1 -0
  299. package/dist/templates/task-purchased-ops.js +10 -0
  300. package/dist/templates/task-purchased-ops.js.map +1 -0
  301. package/dist/templates/task-rejected-ops.d.ts +11 -0
  302. package/dist/templates/task-rejected-ops.d.ts.map +1 -0
  303. package/dist/templates/task-rejected-ops.js +10 -0
  304. package/dist/templates/task-rejected-ops.js.map +1 -0
  305. package/dist/templates/task-service-assigned-host.d.ts +11 -0
  306. package/dist/templates/task-service-assigned-host.d.ts.map +1 -0
  307. package/dist/templates/task-service-assigned-host.js +10 -0
  308. package/dist/templates/task-service-assigned-host.js.map +1 -0
  309. package/dist/templates/welcome-guest.d.ts +13 -0
  310. package/dist/templates/welcome-guest.d.ts.map +1 -0
  311. package/dist/templates/welcome-guest.js +17 -0
  312. package/dist/templates/welcome-guest.js.map +1 -0
  313. package/dist/templates/welcome-host.d.ts +9 -0
  314. package/dist/templates/welcome-host.d.ts.map +1 -0
  315. package/dist/templates/welcome-host.js +10 -0
  316. package/dist/templates/welcome-host.js.map +1 -0
  317. package/dist/templates/welcome-no-listing.d.ts +8 -0
  318. package/dist/templates/welcome-no-listing.d.ts.map +1 -0
  319. package/dist/templates/welcome-no-listing.js +14 -0
  320. package/dist/templates/welcome-no-listing.js.map +1 -0
  321. package/dist/templates/welcome-provider.d.ts +8 -0
  322. package/dist/templates/welcome-provider.d.ts.map +1 -0
  323. package/dist/templates/welcome-provider.js +22 -0
  324. package/dist/templates/welcome-provider.js.map +1 -0
  325. package/dist/theme.d.ts +113 -0
  326. package/dist/theme.d.ts.map +1 -0
  327. package/dist/theme.js +79 -0
  328. package/dist/theme.js.map +1 -0
  329. package/package.json +35 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"steps-list.d.ts","sourceRoot":"","sources":["../../src/_components/steps-list.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACrD,iDAAiD;IACjD,OAAO,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,OAAc,EAAE,EAAE,cAAc,+BAiDlE"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StepsList = StepsList;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const components_1 = require("@react-email/components");
6
+ const icons_1 = require("./icons");
7
+ const theme_1 = require("../theme");
8
+ const icon_circle_1 = require("./icon-circle");
9
+ function StepsList({ steps, ordered = true }) {
10
+ return ((0, jsx_runtime_1.jsx)(components_1.Section, { style: { margin: '0 0 24px' }, children: steps.map((step, i) => ((0, jsx_runtime_1.jsxs)(components_1.Row, { style: { marginBottom: '12px' }, children: [(0, jsx_runtime_1.jsx)(components_1.Column, { style: { width: '36px', verticalAlign: 'top' }, children: ordered ? ((0, jsx_runtime_1.jsx)("table", { cellPadding: 0, cellSpacing: 0, role: "presentation", style: { width: '24px', height: '24px', backgroundColor: theme_1.colors.bg.subtle, borderRadius: '9999px' }, children: (0, jsx_runtime_1.jsx)("tbody", { children: (0, jsx_runtime_1.jsx)("tr", { children: (0, jsx_runtime_1.jsx)("td", { align: "center", valign: "middle", style: { width: '24px', height: '24px', textAlign: 'center', verticalAlign: 'middle', lineHeight: '24px', color: theme_1.colors.text.t1, fontSize: theme_1.fontSize.caption, fontWeight: theme_1.fontWeight.semibold }, children: i + 1 }) }) }) })) : ((0, jsx_runtime_1.jsx)(icon_circle_1.IconCircle, { icon: icons_1.Check, size: 24, glyphSize: 14, bg: theme_1.colors.success.bg, fg: theme_1.colors.success.fg, weight: "bold" })) }), (0, jsx_runtime_1.jsxs)(components_1.Column, { style: { verticalAlign: 'top', paddingBottom: '8px' }, children: [(0, jsx_runtime_1.jsx)("p", { style: {
11
+ color: theme_1.colors.text.t1,
12
+ fontSize: theme_1.fontSize.body,
13
+ fontWeight: theme_1.fontWeight.medium,
14
+ lineHeight: theme_1.lineHeight.body,
15
+ margin: 0,
16
+ }, children: step.title }), step.description && ((0, jsx_runtime_1.jsx)("p", { style: {
17
+ color: theme_1.colors.text.t3,
18
+ fontSize: theme_1.fontSize.body,
19
+ lineHeight: theme_1.lineHeight.body,
20
+ margin: '2px 0 0',
21
+ }, children: step.description }))] })] }, i))) }));
22
+ }
23
+ //# sourceMappingURL=steps-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"steps-list.js","sourceRoot":"","sources":["../../src/_components/steps-list.tsx"],"names":[],"mappings":";;AAWA,8BAiDC;;AA5DD,wDAA8D;AAC9D,mCAA+B;AAC/B,oCAAmE;AACnE,+CAA0C;AAQ1C,SAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,EAAkB;IAC/D,OAAO,CACH,uBAAC,oBAAO,IAAC,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,YACjC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACpB,wBAAC,gBAAG,IAAS,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,aACxC,uBAAC,mBAAM,IAAC,KAAK,EAAE,EAAE,KA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,MAAM,EAAE,CAAC;6BACZ,YAEA,IAAI,CAAC,KAAK,GACX,EACH,IAAI,CAAC,WAAW,IAAI,CACjB,8BACI,KAAK,EAAE;gCACH,KAAK,EAAE,cAAM,CAAC,IAAI,CAAC,EAAE;gCACrB,QAAQ,EAAE,gBAAQ,CAAC,IAAI;gCACvB,UAAU,EAAE,kBAAU,CAAC,IAAI;gCAC3B,MAAM,EAAE,SAAS;6BACpB,YAEA,IAAI,CAAC,WAAW,GACjB,CACP,IACI,KAxCH,CAAC,CAyCL,CACT,CAAC,GACI,CACb,CAAA;AACL,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { CSSProperties, ReactNode } from 'react';
2
+ import { fontWeight } from '../theme';
3
+ type Tone = 't1' | 't2' | 't3' | 'muted' | 'dim';
4
+ type Size = 'body' | 'bodyLg' | 'caption';
5
+ export interface TextProps {
6
+ children: ReactNode;
7
+ size?: Size;
8
+ tone?: Tone;
9
+ weight?: keyof typeof fontWeight;
10
+ align?: 'left' | 'center';
11
+ style?: CSSProperties;
12
+ }
13
+ export declare function Text({ children, size, tone, weight, align, style }: TextProps): import("react").JSX.Element;
14
+ /** Quiet supporting line. */
15
+ export declare function Muted({ children, ...rest }: Omit<TextProps, 'tone'>): import("react").JSX.Element;
16
+ /** Smallest readable text — footnotes, captions. */
17
+ export declare function Caption({ children, ...rest }: Omit<TextProps, 'tone' | 'size'>): import("react").JSX.Element;
18
+ export {};
19
+ //# sourceMappingURL=text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/_components/text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,EAAoB,UAAU,EAAc,MAAM,UAAU,CAAA;AAEnE,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,KAAK,CAAA;AAChD,KAAK,IAAI,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAA;AAEzC,MAAM,WAAW,SAAS;IACtB,QAAQ,EAAE,SAAS,CAAA;IACnB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,OAAO,UAAU,CAAA;IAChC,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;IACzB,KAAK,CAAC,EAAE,aAAa,CAAA;CACxB;AAED,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAa,EAAE,IAAW,EAAE,MAAkB,EAAE,KAAc,EAAE,KAAK,EAAE,EAAE,SAAS,+BAgBlH;AAED,6BAA6B;AAC7B,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,+BAMnE;AAED,oDAAoD;AACpD,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC,+BAM9E"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Text = Text;
4
+ exports.Muted = Muted;
5
+ exports.Caption = Caption;
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const components_1 = require("@react-email/components");
8
+ const theme_1 = require("../theme");
9
+ function Text({ children, size = 'body', tone = 't2', weight = 'regular', align = 'left', style }) {
10
+ return ((0, jsx_runtime_1.jsx)(components_1.Text, { style: {
11
+ color: theme_1.colors.text[tone],
12
+ fontSize: theme_1.fontSize[size],
13
+ fontWeight: theme_1.fontWeight[weight],
14
+ lineHeight: theme_1.lineHeight.body,
15
+ textAlign: align,
16
+ margin: '0 0 16px',
17
+ ...style,
18
+ }, children: children }));
19
+ }
20
+ /** Quiet supporting line. */
21
+ function Muted({ children, ...rest }) {
22
+ return ((0, jsx_runtime_1.jsx)(Text, { tone: "muted", ...rest, children: children }));
23
+ }
24
+ /** Smallest readable text — footnotes, captions. */
25
+ function Caption({ children, ...rest }) {
26
+ return ((0, jsx_runtime_1.jsx)(Text, { size: "caption", tone: "muted", ...rest, children: children }));
27
+ }
28
+ //# sourceMappingURL=text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.js","sourceRoot":"","sources":["../../src/_components/text.tsx"],"names":[],"mappings":";;AAgBA,oBAgBC;AAGD,sBAMC;AAGD,0BAMC;;AAlDD,wDAAwD;AAExD,oCAAmE;AAcnE,SAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,GAAG,MAAM,EAAE,IAAI,GAAG,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAa;IAC/G,OAAO,CACH,uBAAC,iBAAM,IACH,KAAK,EAAE;YACH,KAAK,EAAE,cAAM,CAAC,IAAI,CAAC,IAAI,CAAC;YACxB,QAAQ,EAAE,gBAAQ,CAAC,IAAI,CAAC;YACxB,UAAU,EAAE,kBAAU,CAAC,MAAM,CAAC;YAC9B,UAAU,EAAE,kBAAU,CAAC,IAAI;YAC3B,SAAS,EAAE,KAAK;YAChB,MAAM,EAAE,UAAU;YAClB,GAAG,KAAK;SACX,YAEA,QAAQ,GACJ,CACZ,CAAA;AACL,CAAC;AAED,6BAA6B;AAC7B,SAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAA2B;IAChE,OAAO,CACH,uBAAC,IAAI,IAAC,IAAI,EAAC,OAAO,KAAK,IAAI,YACtB,QAAQ,GACN,CACV,CAAA;AACL,CAAC;AAED,oDAAoD;AACpD,SAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAoC;IAC3E,OAAO,CACH,uBAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,KAAK,IAAI,YACrC,QAAQ,GACN,CACV,CAAA;AACL,CAAC"}
@@ -0,0 +1,14 @@
1
+ export interface EmailUnit {
2
+ name: string;
3
+ location: string;
4
+ /** Optional — a property may have no photo yet, in which case no thumbnail is shown. */
5
+ imageUrl?: string;
6
+ }
7
+ export interface UnitsListProps {
8
+ units: EmailUnit[];
9
+ /** Appended after the location, e.g. "Imported from Airbnb". */
10
+ note?: string;
11
+ }
12
+ /** Bordered list of property units with thumbnails — shared by welcome + integration emails. */
13
+ export declare function UnitsList({ units, note }: UnitsListProps): import("react").JSX.Element;
14
+ //# sourceMappingURL=units-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"units-list.d.ts","sourceRoot":"","sources":["../../src/_components/units-list.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,SAAS,EAAE,CAAA;IAClB,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,gGAAgG;AAChG,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,cAAc,+BA6BxD"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnitsList = UnitsList;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const components_1 = require("@react-email/components");
6
+ const theme_1 = require("../theme");
7
+ /** Bordered list of property units with thumbnails — shared by welcome + integration emails. */
8
+ function UnitsList({ units, note }) {
9
+ return ((0, jsx_runtime_1.jsx)(components_1.Section, { style: { border: `1px solid ${theme_1.colors.border.base}`, borderRadius: theme_1.radius.lg, overflow: 'hidden', margin: '0 0 24px' }, children: units.map((unit, i) => ((0, jsx_runtime_1.jsxs)(components_1.Row, { style: i > 0 ? { borderTop: `1px solid ${theme_1.colors.border.subtle}` } : undefined, children: [unit.imageUrl && ((0, jsx_runtime_1.jsx)(components_1.Column, { style: { width: '84px', verticalAlign: 'middle', padding: '12px 0 12px 12px' }, children: (0, jsx_runtime_1.jsx)(components_1.Img, { src: unit.imageUrl, width: 64, height: 64, alt: unit.name, style: { width: '64px', height: '64px', objectFit: 'cover', borderRadius: theme_1.radius.md, display: 'block' } }) })), (0, jsx_runtime_1.jsxs)(components_1.Column, { style: { verticalAlign: 'middle', padding: '12px 16px' }, children: [(0, jsx_runtime_1.jsx)("p", { style: { color: theme_1.colors.text.t1, fontSize: theme_1.fontSize.body, fontWeight: theme_1.fontWeight.medium, margin: 0 }, children: unit.name }), (0, jsx_runtime_1.jsxs)("p", { style: { color: theme_1.colors.text.muted, fontSize: theme_1.fontSize.caption, margin: '2px 0 0' }, children: [unit.location, note ? ` · ${note}` : ''] })] })] }, i))) }));
10
+ }
11
+ //# sourceMappingURL=units-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"units-list.js","sourceRoot":"","sources":["../../src/_components/units-list.tsx"],"names":[],"mappings":";;AAiBA,8BA6BC;;AA9CD,wDAAmE;AACnE,oCAA+D;AAe/D,gGAAgG;AAChG,SAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,IAAI,EAAkB;IACrD,OAAO,CACH,uBAAC,oBAAO,IAAC,KAAK,EAAE,EAAE,MAAM,EAAE,aAAa,cAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,YAAY,EAAE,cAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,YACzH,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACpB,wBAAC,gBAAG,IAAS,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,aAAa,cAAM,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,aACrF,IAAI,CAAC,QAAQ,IAAI,CACd,uBAAC,mBAAM,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,EAAE,kBAAkB,EAAE,YAClF,uBAAC,gBAAG,IACA,GAAG,EAAE,IAAI,CAAC,QAAQ,EAClB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,GAAG,EAAE,IAAI,CAAC,IAAI,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,cAAM,CAAC,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,GACzG,GACG,CACZ,EACD,wBAAC,mBAAM,IAAC,KAAK,EAAE,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,aAC5D,8BAAG,KAAK,EAAE,EAAE,KAAK,EAAE,cAAM,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,gBAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,kBAAU,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,YACjG,IAAI,CAAC,IAAI,GACV,EACJ,+BAAG,KAAK,EAAE,EAAE,KAAK,EAAE,cAAM,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,gBAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,aAChF,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,CAAC,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,IACzB,IACC,KApBH,CAAC,CAqBL,CACT,CAAC,GACI,CACb,CAAA;AACL,CAAC"}
@@ -0,0 +1,170 @@
1
+ import type { ComponentType } from 'react';
2
+ import type { BaseEmailProps } from './_components';
3
+ import { type AccountDeletionRequestProps } from './templates/account-deletion-request';
4
+ import { type AirbnbAccountConnectedProps } from './templates/airbnb-account-connected';
5
+ import { type AirbnbConnectionSuccessProps } from './templates/airbnb-connection-success';
6
+ import { type AirbnbPropertyUnlistedProps } from './templates/airbnb-property-unlisted';
7
+ import { type BdcListingLiveProps } from './templates/bdc-listing-live';
8
+ import { type BookingReceivedProps } from './templates/booking-received';
9
+ import { type CheckInNotificationProps } from './templates/check-in-notification';
10
+ import { type CheckOutNotificationProps } from './templates/check-out-notification';
11
+ import { type DirectCatalogShareProps } from './templates/direct-catalog-share';
12
+ import { type DirectPropertyShareProps } from './templates/direct-property-share';
13
+ import { type GuestAutomatedMessageProps } from './templates/guest-automated-message';
14
+ import { type GuestCoordinationEmployeeNotificationProps } from './templates/guest-coordination-employee-notification';
15
+ import { type GuestCoordinationSubscriptionProps } from './templates/guest-coordination-subscription';
16
+ import { type GuestDirectBookingConfirmationProps } from './templates/guest-direct-booking-confirmation';
17
+ import { type GuestPortalEmailCodeProps } from './templates/guest-portal-email-code';
18
+ import { type GuestPortalStayInviteProps } from './templates/guest-portal-stay-invite';
19
+ import { type GuestVerificationSubmittedNotificationProps } from './templates/guest-verification-submitted-notification';
20
+ import { type HomeHoldDeclarationApprovedProps } from './templates/home-hold-declaration-approved';
21
+ import { type HomeHoldDeclarationNowRequiredProps } from './templates/home-hold-declaration-now-required';
22
+ import { type HomeHoldDeclarationRejectedProps } from './templates/home-hold-declaration-rejected';
23
+ import { type HomeHoldLapsedProps } from './templates/home-hold-lapsed';
24
+ import { type HomeHoldLapsedHostProps } from './templates/home-hold-lapsed-host';
25
+ import { type HomeHoldReminderProps } from './templates/home-hold-reminder';
26
+ import { type HostToOperationsMessageNotificationProps } from './templates/host-to-operations-message-notification';
27
+ import { type HowItWorksProps } from './templates/how-it-works';
28
+ import { type InternalBdcListingRequestProps } from './templates/internal-bdc-listing-request';
29
+ import { type NewLandlordMessageNotificationProps } from './templates/new-landlord-message-notification';
30
+ import { type NewLandlordNotificationProps } from './templates/new-landlord-notification';
31
+ import { type NewMessageProps } from './templates/new-message';
32
+ import { type NewMessageCoordinatorNotificationProps } from './templates/new-message-coordinator-notification';
33
+ import { type NewPropertySubmittedProps } from './templates/new-property-submitted';
34
+ import { type NewSupportMessageNotificationProps } from './templates/new-support-message-notification';
35
+ import { type PaymentActionRequiredProps } from './templates/payment-action-required';
36
+ import { type PaymentConfirmationProps } from './templates/payment-confirmation';
37
+ import { type PaymentFailedProps } from './templates/payment-failed';
38
+ import { type PayoutCompletedNotificationProps } from './templates/payout-completed-notification';
39
+ import { type PayoutRejectedNotificationProps } from './templates/payout-rejected-notification';
40
+ import { type PayoutRequestedProps } from './templates/payout-requested';
41
+ import { type PropertySubmissionConfirmationProps } from './templates/property-submission-confirmation';
42
+ import { type QuoteSubmittedHostProps } from './templates/quote-submitted-host';
43
+ import { type QuoteSubmittedOpsProps } from './templates/quote-submitted-ops';
44
+ import { type ReservationCancellationProps } from './templates/reservation-cancellation';
45
+ import { type ResetPasswordProps } from './templates/reset-password';
46
+ import { type ServiceBookingConfirmationProps } from './templates/service-booking-confirmation';
47
+ import { type ServiceBookingEmployeeNotificationProps } from './templates/service-booking-employee-notification';
48
+ import { type ServiceRequestProps } from './templates/service-request';
49
+ import { type ServiceRequestNotificationProps } from './templates/service-request-notification';
50
+ import { type SubscriptionConfirmationBdcProps } from './templates/subscription-confirmation-bdc';
51
+ import { type SupportDirectMessageNotificationProps } from './templates/support-direct-message-notification';
52
+ import { type TaskAcceptedHostProps } from './templates/task-accepted-host';
53
+ import { type TaskAcceptedOpsProps } from './templates/task-accepted-ops';
54
+ import { type TaskAnswersSubmittedOpsProps } from './templates/task-answers-submitted-ops';
55
+ import { type TaskAssignedWorkerProps } from './templates/task-assigned-worker';
56
+ import { type TaskCompletedHostProps } from './templates/task-completed-host';
57
+ import { type TaskCompletedOpsProps } from './templates/task-completed-ops';
58
+ import { type TaskPaymentFailedProps } from './templates/task-payment-failed';
59
+ import { type TaskPaymentSuccessfulProps } from './templates/task-payment-successful';
60
+ import { type TaskPurchasedOpsProps } from './templates/task-purchased-ops';
61
+ import { type TaskRejectedOpsProps } from './templates/task-rejected-ops';
62
+ import { type TaskServiceAssignedHostProps } from './templates/task-service-assigned-host';
63
+ import { type WelcomeGuestProps } from './templates/welcome-guest';
64
+ import { type WelcomeHostProps } from './templates/welcome-host';
65
+ import { type WelcomeNoListingProps } from './templates/welcome-no-listing';
66
+ import { type WelcomeProviderProps } from './templates/welcome-provider';
67
+ export type EmailCategory = 'Reservations' | 'Tasks & quotes' | 'Payments' | 'Messaging' | 'Lifecycle' | 'Auth' | 'Guest portal' | 'Internal ops' | 'Integrations' | 'Sharing' | 'Property' | 'Home hold';
68
+ export interface EmailDefinition<P extends BaseEmailProps> {
69
+ /** Human label, used by the preview gallery sidebar. */
70
+ name: string;
71
+ category: EmailCategory;
72
+ Component: ComponentType<P>;
73
+ /**
74
+ * The subject line, derived from the same props the body renders from. Keeping
75
+ * it here — rather than at each call site — is what makes the preview gallery an
76
+ * accurate picture of what actually lands in the inbox.
77
+ */
78
+ subject: (props: P) => string;
79
+ /** Realistic props, used by the gallery and by the render smoke test. */
80
+ sampleProps: P;
81
+ }
82
+ /** Preview-only. Real sends pass their own `baseUrl`; nothing here reads env. */
83
+ export declare const SAMPLE_BASE_URL = "http://localhost:3000";
84
+ export declare const emailCatalog: {
85
+ 'booking-received': EmailDefinition<BookingReceivedProps>;
86
+ 'reservation-cancellation': EmailDefinition<ReservationCancellationProps>;
87
+ 'task-completed-host': EmailDefinition<TaskCompletedHostProps>;
88
+ 'quote-submitted-host': EmailDefinition<QuoteSubmittedHostProps>;
89
+ 'payment-failed': EmailDefinition<PaymentFailedProps>;
90
+ 'payout-requested': EmailDefinition<PayoutRequestedProps>;
91
+ 'new-message': EmailDefinition<NewMessageProps>;
92
+ 'welcome-host': EmailDefinition<WelcomeHostProps>;
93
+ 'welcome-provider': EmailDefinition<WelcomeProviderProps>;
94
+ 'welcome-guest': EmailDefinition<WelcomeGuestProps>;
95
+ 'reset-password': EmailDefinition<ResetPasswordProps>;
96
+ 'guest-portal-stay-invite': EmailDefinition<GuestPortalStayInviteProps>;
97
+ 'account-deletion-request': EmailDefinition<AccountDeletionRequestProps>;
98
+ 'airbnb-connection-success': EmailDefinition<AirbnbConnectionSuccessProps>;
99
+ 'task-accepted-host': EmailDefinition<TaskAcceptedHostProps>;
100
+ 'task-assigned-worker': EmailDefinition<TaskAssignedWorkerProps>;
101
+ 'task-service-assigned-host': EmailDefinition<TaskServiceAssignedHostProps>;
102
+ 'task-accepted-ops': EmailDefinition<TaskAcceptedOpsProps>;
103
+ 'task-answers-submitted-ops': EmailDefinition<TaskAnswersSubmittedOpsProps>;
104
+ 'task-completed-ops': EmailDefinition<TaskCompletedOpsProps>;
105
+ 'task-purchased-ops': EmailDefinition<TaskPurchasedOpsProps>;
106
+ 'task-rejected-ops': EmailDefinition<TaskRejectedOpsProps>;
107
+ 'quote-submitted-ops': EmailDefinition<QuoteSubmittedOpsProps>;
108
+ 'service-booking-employee-notification': EmailDefinition<ServiceBookingEmployeeNotificationProps>;
109
+ 'guest-verification-submitted-notification': EmailDefinition<GuestVerificationSubmittedNotificationProps>;
110
+ 'new-property-submitted': EmailDefinition<NewPropertySubmittedProps>;
111
+ 'airbnb-account-connected': EmailDefinition<AirbnbAccountConnectedProps>;
112
+ 'internal-bdc-listing-request': EmailDefinition<InternalBdcListingRequestProps>;
113
+ 'guest-coordination-employee-notification': EmailDefinition<GuestCoordinationEmployeeNotificationProps>;
114
+ 'service-request': EmailDefinition<ServiceRequestProps>;
115
+ 'service-request-notification': EmailDefinition<ServiceRequestNotificationProps>;
116
+ 'new-landlord-message-notification': EmailDefinition<NewLandlordMessageNotificationProps>;
117
+ 'support-direct-message-notification': EmailDefinition<SupportDirectMessageNotificationProps>;
118
+ 'new-message-coordinator-notification': EmailDefinition<NewMessageCoordinatorNotificationProps>;
119
+ 'new-support-message-notification': EmailDefinition<NewSupportMessageNotificationProps>;
120
+ 'host-to-operations-message-notification': EmailDefinition<HostToOperationsMessageNotificationProps>;
121
+ 'task-payment-failed': EmailDefinition<TaskPaymentFailedProps>;
122
+ 'task-payment-successful': EmailDefinition<TaskPaymentSuccessfulProps>;
123
+ 'payment-action-required': EmailDefinition<PaymentActionRequiredProps>;
124
+ 'payment-confirmation': EmailDefinition<PaymentConfirmationProps>;
125
+ 'payout-completed-notification': EmailDefinition<PayoutCompletedNotificationProps>;
126
+ 'payout-rejected-notification': EmailDefinition<PayoutRejectedNotificationProps>;
127
+ 'service-booking-confirmation': EmailDefinition<ServiceBookingConfirmationProps>;
128
+ 'guest-coordination-subscription': EmailDefinition<GuestCoordinationSubscriptionProps>;
129
+ 'airbnb-property-unlisted': EmailDefinition<AirbnbPropertyUnlistedProps>;
130
+ 'bdc-listing-live': EmailDefinition<BdcListingLiveProps>;
131
+ 'subscription-confirmation-bdc': EmailDefinition<SubscriptionConfirmationBdcProps>;
132
+ 'guest-automated-message': EmailDefinition<GuestAutomatedMessageProps>;
133
+ 'guest-direct-booking-confirmation': EmailDefinition<GuestDirectBookingConfirmationProps>;
134
+ 'check-in-notification': EmailDefinition<CheckInNotificationProps>;
135
+ 'check-out-notification': EmailDefinition<CheckOutNotificationProps>;
136
+ 'guest-portal-email-code': EmailDefinition<GuestPortalEmailCodeProps>;
137
+ 'welcome-no-listing': EmailDefinition<WelcomeNoListingProps>;
138
+ 'how-it-works': EmailDefinition<HowItWorksProps>;
139
+ 'new-landlord-notification': EmailDefinition<NewLandlordNotificationProps>;
140
+ 'direct-catalog-share': EmailDefinition<DirectCatalogShareProps>;
141
+ 'direct-property-share': EmailDefinition<DirectPropertyShareProps>;
142
+ 'property-submission-confirmation': EmailDefinition<PropertySubmissionConfirmationProps>;
143
+ 'home-hold-declaration-approved': EmailDefinition<HomeHoldDeclarationApprovedProps>;
144
+ 'home-hold-declaration-now-required': EmailDefinition<HomeHoldDeclarationNowRequiredProps>;
145
+ 'home-hold-declaration-rejected': EmailDefinition<HomeHoldDeclarationRejectedProps>;
146
+ 'home-hold-lapsed': EmailDefinition<HomeHoldLapsedProps>;
147
+ 'home-hold-lapsed-host': EmailDefinition<HomeHoldLapsedHostProps>;
148
+ 'home-hold-reminder': EmailDefinition<HomeHoldReminderProps>;
149
+ };
150
+ /** Every template id the catalog knows about. Send sites are checked against this. */
151
+ export type EmailTemplateId = keyof typeof emailCatalog;
152
+ /** The exact props a given template needs — the source of compile-time safety at send sites. */
153
+ export type EmailPropsOf<K extends EmailTemplateId> = (typeof emailCatalog)[K] extends EmailDefinition<infer P> ? P : never;
154
+ export declare const emailTemplateIds: EmailTemplateId[];
155
+ /**
156
+ * A template's sample props, with every `SAMPLE_BASE_URL` occurrence rebased onto
157
+ * `baseUrl`. The preview gallery needs this so the logo and placeholder images
158
+ * resolve against whatever origin the gallery is being served from, not localhost.
159
+ *
160
+ * Safe as a string swap because catalog props are JSON-serializable by contract —
161
+ * the queued send path persists them as JSON too.
162
+ */
163
+ export declare function sampleProps<K extends EmailTemplateId>(id: K, baseUrl?: string): EmailPropsOf<K>;
164
+ export declare function isEmailTemplateId(value: string): value is EmailTemplateId;
165
+ /** Gallery grouping, in a deliberate reading order rather than declaration order. */
166
+ export declare function emailsByCategory(): Array<{
167
+ category: EmailCategory;
168
+ ids: EmailTemplateId[];
169
+ }>;
170
+ //# sourceMappingURL=catalog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../src/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAEnD,OAAoC,EAAE,KAAK,2BAA2B,EAAE,MAAM,sCAAsC,CAAA;AACpH,OAAoC,EAAE,KAAK,2BAA2B,EAAE,MAAM,sCAAsC,CAAA;AACpH,OAAqC,EAAE,KAAK,4BAA4B,EAAE,MAAM,uCAAuC,CAAA;AACvH,OAAoC,EAAE,KAAK,2BAA2B,EAAE,MAAM,sCAAsC,CAAA;AACpH,OAA4B,EAAE,K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