@tesouro/embedded-components-react 0.5.26 → 0.5.28

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/dist/index.css CHANGED
@@ -989,8 +989,8 @@
989
989
  .ttw\:min-h-\[432px\] {
990
990
  min-height: 432px;
991
991
  }
992
- .ttw\:min-h-\[1123px\] {
993
- min-height: 1123px;
992
+ .ttw\:min-h-\[1056px\] {
993
+ min-height: 1056px;
994
994
  }
995
995
  .ttw\:min-h-\[1219px\] {
996
996
  min-height: 1219px;
@@ -1358,8 +1358,8 @@
1358
1358
  .ttw\:max-w-178 {
1359
1359
  max-width: calc(var(--ttw-spacing) * 178);
1360
1360
  }
1361
- .ttw\:max-w-\[21cm\] {
1362
- max-width: 21cm;
1361
+ .ttw\:max-w-\[8\.5in\] {
1362
+ max-width: 8.5in;
1363
1363
  }
1364
1364
  .ttw\:max-w-\[60\%\] {
1365
1365
  max-width: 60%;
@@ -1505,8 +1505,8 @@
1505
1505
  .ttw\:min-w-\[24rem\] {
1506
1506
  min-width: 24rem;
1507
1507
  }
1508
- .ttw\:min-w-\[794px\] {
1509
- min-width: 794px;
1508
+ .ttw\:min-w-\[816px\] {
1509
+ min-width: 816px;
1510
1510
  }
1511
1511
  .ttw\:min-w-\[890px\] {
1512
1512
  min-width: 890px;
@@ -19,6 +19,7 @@ var n = (n, r) => {
19
19
  bank_name: l.bank_name,
20
20
  account_number: l.account_number,
21
21
  routing_number: l.routing_number,
22
+ account_holder_name: l.account_holder_name,
22
23
  bank_account_type: "BANK_DETAILS"
23
24
  };
24
25
  if (d) return {
@@ -26,6 +27,7 @@ var n = (n, r) => {
26
27
  bank_name: null,
27
28
  account_number: d.accountNumber,
28
29
  routing_number: d.routingNumber,
30
+ account_holder_name: null,
29
31
  bank_account_type: "INTERNAL"
30
32
  };
31
33
  if (p) return {
@@ -33,6 +35,7 @@ var n = (n, r) => {
33
35
  bank_name: null,
34
36
  account_number: p.accountNumber,
35
37
  routing_number: p.routingNumber,
38
+ account_holder_name: p.nameOnAccount ?? null,
36
39
  bank_account_type: "EXTERNAL"
37
40
  };
38
41
  }, [
@@ -249,7 +249,7 @@ function m(m, h, ne, { i18n: g, formatCurrencyToDisplay: _, locale: v }, y = !1,
249
249
  ...K,
250
250
  discountAmount: q
251
251
  }), ae = J.showDiscounts ? [{
252
- label: g._("Discounts"),
252
+ label: g._("Discount"),
253
253
  value: w(-q)
254
254
  }] : [], { taxableSubtotal: oe, nonTaxableSubtotal: se } = t({
255
255
  ...K,
@@ -3,7 +3,7 @@ import { rateMinorToMajor as t } from "./index181.js";
3
3
  import "./index195.js";
4
4
  import { differenceInCalendarDays as n } from "date-fns";
5
5
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js
6
- var r = (e, t) => `${e._("NET")} ${t} ${e._("days")}`, i = (e, n) => {
6
+ var r = (e, t) => `${e._("Net")} ${t}`, i = (e, n) => {
7
7
  let r = e._("Pay in the first {days} days", { days: n.number_of_days });
8
8
  return n.discount ? `${r}, ${e._("{rate}% discount", { rate: t(n.discount) })}` : r;
9
9
  }, a = ({ paymentTermsId: t, customDate: a, issueDate: o, paymentTerms: s, i18n: c }) => {
@@ -16,7 +16,7 @@ var i = ({ label: n, value: i, className: a }) => /* @__PURE__ */ t("li", {
16
16
  className: "ttw:text-sm ttw:font-normal"
17
17
  }),
18
18
  /* @__PURE__ */ e(i, {
19
- label: u._("Discounts"),
19
+ label: u._("Discount"),
20
20
  value: a,
21
21
  className: "ttw:text-sm ttw:font-normal"
22
22
  }),