hububb-emails 1.2.0 → 1.2.1

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.
@@ -4,6 +4,6 @@ exports.default = ReservationCancellationEmail;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const _components_1 = require("../_components");
6
6
  function ReservationCancellationEmail({ baseUrl, footer, hostName, guestName, propertyName, propertyNickname, dateRange, payout, otaName, dashboardUrl, }) {
7
- return ((0, jsx_runtime_1.jsxs)(_components_1.EmailLayout, { baseUrl: baseUrl, footer: footer, preview: `${guestName} cancelled their booking at ${propertyName}.`, children: [(0, jsx_runtime_1.jsx)(_components_1.Heading, { level: 2, children: "A booking was cancelled" }), (0, jsx_runtime_1.jsxs)(_components_1.Text, { children: ["Hello ", hostName, ", ", guestName, " cancelled their stay at ", propertyName, ". We have updated your calendar and reopened those dates for new bookings."] }), (0, jsx_runtime_1.jsxs)(_components_1.Callout, { variant: "danger", title: "Cancelled", children: [propertyName, " \u00B7 ", dateRange] }), (0, jsx_runtime_1.jsxs)(_components_1.DetailCard, { title: "What changed", children: [(0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Property", value: propertyName }), propertyNickname && (0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Internal name", value: propertyNickname }), (0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Original dates", value: dateRange }), otaName && (0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Booked via", value: otaName }), (0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Lost payout", value: payout }), (0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Status", value: "Cancelled, dates reopened" })] }), (0, jsx_runtime_1.jsx)(_components_1.Text, { children: "Need help filling the gap or adjusting your rates? Our team is ready when you are." }), (0, jsx_runtime_1.jsx)(_components_1.SecondaryButton, { href: dashboardUrl, children: "Go to dashboard" })] }));
7
+ return ((0, jsx_runtime_1.jsxs)(_components_1.EmailLayout, { baseUrl: baseUrl, footer: footer, preview: `${guestName} cancelled their booking at ${propertyName}.`, children: [(0, jsx_runtime_1.jsx)(_components_1.Heading, { level: 2, children: "A booking was cancelled" }), (0, jsx_runtime_1.jsxs)(_components_1.Text, { children: ["Hello ", hostName, ", ", guestName, " cancelled their stay at ", propertyName, ". We have updated your calendar and reopened those dates for new bookings."] }), (0, jsx_runtime_1.jsxs)(_components_1.Callout, { variant: "danger", title: "Cancelled", children: [propertyName, " \u00B7 ", dateRange] }), (0, jsx_runtime_1.jsxs)(_components_1.DetailCard, { title: "What changed", children: [(0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Property", value: propertyName }), propertyNickname && (0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Internal name", value: propertyNickname }), (0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Original dates", value: dateRange }), otaName && (0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Booked via", value: otaName }), (0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Payout", value: payout }), (0, jsx_runtime_1.jsx)(_components_1.DetailRow, { label: "Status", value: "Cancelled, dates reopened" })] }), (0, jsx_runtime_1.jsx)(_components_1.Text, { children: "Need help filling the gap or adjusting your rates? Our team is ready when you are." }), (0, jsx_runtime_1.jsx)(_components_1.SecondaryButton, { href: dashboardUrl, children: "Go to dashboard" })] }));
8
8
  }
9
9
  //# sourceMappingURL=reservation-cancellation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reservation-cancellation.js","sourceRoot":"","sources":["../../src/templates/reservation-cancellation.tsx"],"names":[],"mappings":";;AAaA,+CAqCC;;AAlDD,gDAAiI;AAajI,SAAwB,4BAA4B,CAAC,EACjD,OAAO,EACP,MAAM,EACN,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,MAAM,EACN,OAAO,EACP,YAAY,GACe;IAC3B,OAAO,CACH,wBAAC,yBAAW,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,SAAS,+BAA+B,YAAY,GAAG,aAC9G,uBAAC,qBAAO,IAAC,KAAK,EAAE,CAAC,wCAAmC,EACpD,wBAAC,kBAAI,yBACM,QAAQ,QAAI,SAAS,+BAA2B,YAAY,kFAEhE,EAEP,wBAAC,qBAAO,IAAC,OAAO,EAAC,QAAQ,EAAC,KAAK,EAAC,WAAW,aACtC,YAAY,cAAK,SAAS,IACrB,EAEV,wBAAC,wBAAU,IAAC,KAAK,EAAC,cAAc,aAC5B,uBAAC,uBAAS,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,YAAY,GAAI,EAClD,gBAAgB,IAAI,uBAAC,uBAAS,IAAC,KAAK,EAAC,eAAe,EAAC,KAAK,EAAE,gBAAgB,GAAI,EACjF,uBAAC,uBAAS,IAAC,KAAK,EAAC,gBAAgB,EAAC,KAAK,EAAE,SAAS,GAAI,EACrD,OAAO,IAAI,uBAAC,uBAAS,IAAC,KAAK,EAAC,YAAY,EAAC,KAAK,EAAE,OAAO,GAAI,EAC5D,uBAAC,uBAAS,IAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAE,MAAM,GAAI,EAChD,uBAAC,uBAAS,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,2BAA2B,GAAG,IACrD,EAEb,uBAAC,kBAAI,qGAA0F,EAC/F,uBAAC,6BAAe,IAAC,IAAI,EAAE,YAAY,gCAAmC,IAC5D,CACjB,CAAA;AACL,CAAC"}
1
+ {"version":3,"file":"reservation-cancellation.js","sourceRoot":"","sources":["../../src/templates/reservation-cancellation.tsx"],"names":[],"mappings":";;AAaA,+CAqCC;;AAlDD,gDAAiI;AAajI,SAAwB,4BAA4B,CAAC,EACjD,OAAO,EACP,MAAM,EACN,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,MAAM,EACN,OAAO,EACP,YAAY,GACe;IAC3B,OAAO,CACH,wBAAC,yBAAW,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,SAAS,+BAA+B,YAAY,GAAG,aAC9G,uBAAC,qBAAO,IAAC,KAAK,EAAE,CAAC,wCAAmC,EACpD,wBAAC,kBAAI,yBACM,QAAQ,QAAI,SAAS,+BAA2B,YAAY,kFAEhE,EAEP,wBAAC,qBAAO,IAAC,OAAO,EAAC,QAAQ,EAAC,KAAK,EAAC,WAAW,aACtC,YAAY,cAAK,SAAS,IACrB,EAEV,wBAAC,wBAAU,IAAC,KAAK,EAAC,cAAc,aAC5B,uBAAC,uBAAS,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,YAAY,GAAI,EAClD,gBAAgB,IAAI,uBAAC,uBAAS,IAAC,KAAK,EAAC,eAAe,EAAC,KAAK,EAAE,gBAAgB,GAAI,EACjF,uBAAC,uBAAS,IAAC,KAAK,EAAC,gBAAgB,EAAC,KAAK,EAAE,SAAS,GAAI,EACrD,OAAO,IAAI,uBAAC,uBAAS,IAAC,KAAK,EAAC,YAAY,EAAC,KAAK,EAAE,OAAO,GAAI,EAC5D,uBAAC,uBAAS,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,MAAM,GAAI,EAC3C,uBAAC,uBAAS,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,2BAA2B,GAAG,IACrD,EAEb,uBAAC,kBAAI,qGAA0F,EAC/F,uBAAC,6BAAe,IAAC,IAAI,EAAE,YAAY,gCAAmC,IAC5D,CACjB,CAAA;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-emails",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Shared React Email templates for Hububb. Single source of truth for transactional email: rendered by hububb-saas-api at send time and by the hububb-web preview gallery.",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",