@tesouro/embedded-components-react 0.2.266 → 0.2.267

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 (39) hide show
  1. package/dist/index.css +45 -9
  2. package/dist/index.js +1 -1
  3. package/dist/lib/BillPayWidget.js +1 -1
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +6 -6
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +99 -7
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +7 -97
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +99 -4
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +4 -4
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +2 -41
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +43 -1
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +1 -50
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +48 -6
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +9 -5
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +8 -91
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +6 -2
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +7 -3
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +100 -6
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +3 -9
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +6 -83
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +9 -3
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +83 -6
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +2 -111
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +8 -1
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +103 -16
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +1 -0
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +25 -0
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +37 -27
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +15 -116
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +126 -31
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +32 -69
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +0 -3
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +34 -69
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +4 -0
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +261 -181
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +32 -33
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index7.js +2 -2
  37. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  38. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index5.js +1 -1
  39. package/package.json +1 -1
@@ -11,38 +11,38 @@ import { BILL_CREATE_SCREEN_LABELS_EN as m } from "./index27.js";
11
11
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
12
12
  import { MoreVertical as _, X as v } from "lucide-react";
13
13
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js
14
- function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor: w, values: T, errors: E, onChange: D, paymentTermOptions: O, lineItems: k, documentPanel: A, menuItems: j, isLineItemsLoading: M, isSavingDraft: N, isFinalizing: P, onCancel: F, onSaveDraft: I, onFinalize: L, testId: R, labels: z }) {
15
- let B = {
14
+ function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor: w, values: T, errors: E, onChange: D, lineItems: O, documentPanel: k, menuItems: A, isLineItemsLoading: j, isSavingDraft: M, isFinalizing: N, onCancel: P, onSaveDraft: F, onFinalize: I, testId: L, labels: R }) {
15
+ let z = {
16
16
  ...m,
17
- ...z,
17
+ ...R,
18
18
  vendorSection: {
19
19
  ...m.vendorSection,
20
- ...z?.vendorSection,
20
+ ...R?.vendorSection,
21
21
  summaryCard: {
22
22
  ...m.vendorSection.summaryCard,
23
- ...z?.vendorSection?.summaryCard
23
+ ...R?.vendorSection?.summaryCard
24
24
  },
25
25
  search: {
26
26
  ...m.vendorSection.search,
27
- ...z?.vendorSection?.search
27
+ ...R?.vendorSection?.search
28
28
  }
29
29
  },
30
30
  detailsFields: {
31
31
  ...m.detailsFields,
32
- ...z?.detailsFields
32
+ ...R?.detailsFields
33
33
  },
34
34
  lineItems: {
35
35
  ...m.lineItems,
36
- ...z?.lineItems
36
+ ...R?.lineItems
37
37
  }
38
38
  };
39
39
  return /* @__PURE__ */ h(t, {
40
40
  open: y,
41
- onOpenChange: (e) => e ? b(e) : F(),
41
+ onOpenChange: (e) => e ? b(e) : P(),
42
42
  children: /* @__PURE__ */ g(n, {
43
43
  showCloseButton: !1,
44
44
  className: "ttw:flex ttw:h-[calc(100vh-3rem)] ttw:w-[calc(100vw-3rem)] ttw:max-w-[calc(100vw-3rem)] ttw:flex-col ttw:gap-0 ttw:p-0",
45
- "data-testid": R,
45
+ "data-testid": L,
46
46
  children: [
47
47
  /* @__PURE__ */ g(i, {
48
48
  className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:border-b ttw:border-border ttw:px-6 ttw:py-4",
@@ -59,23 +59,23 @@ function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor:
59
59
  }) : null,
60
60
  /* @__PURE__ */ h(r, {
61
61
  className: "ttw:sr-only",
62
- children: B.hiddenDescription
62
+ children: z.hiddenDescription
63
63
  })
64
64
  ]
65
65
  }), /* @__PURE__ */ g("div", {
66
66
  className: "ttw:flex ttw:items-center ttw:gap-1",
67
- children: [j && j.length > 0 ? /* @__PURE__ */ g(o, { children: [/* @__PURE__ */ h(l, {
67
+ children: [A && A.length > 0 ? /* @__PURE__ */ g(o, { children: [/* @__PURE__ */ h(l, {
68
68
  asChild: !0,
69
69
  children: /* @__PURE__ */ h(e, {
70
70
  type: "button",
71
71
  variant: "ghost",
72
72
  size: "icon",
73
- "aria-label": B.menuTrigger,
73
+ "aria-label": z.menuTrigger,
74
74
  children: /* @__PURE__ */ h(_, { className: "ttw:size-4" })
75
75
  })
76
76
  }), /* @__PURE__ */ h(s, {
77
77
  align: "end",
78
- children: j.map((e) => /* @__PURE__ */ h(c, {
78
+ children: A.map((e) => /* @__PURE__ */ h(c, {
79
79
  variant: e.destructive ? "destructive" : void 0,
80
80
  onSelect: e.onSelect,
81
81
  children: e.label
@@ -84,8 +84,8 @@ function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor:
84
84
  type: "button",
85
85
  variant: "ghost",
86
86
  size: "icon",
87
- "aria-label": B.closeButton,
88
- onClick: F,
87
+ "aria-label": z.closeButton,
88
+ onClick: P,
89
89
  children: /* @__PURE__ */ h(v, { className: "ttw:size-4" })
90
90
  })]
91
91
  })]
@@ -99,24 +99,23 @@ function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor:
99
99
  C,
100
100
  /* @__PURE__ */ h(p, {
101
101
  ...w,
102
- labels: B.vendorSection
102
+ labels: z.vendorSection
103
103
  }),
104
104
  /* @__PURE__ */ h(d, {
105
105
  values: T,
106
106
  errors: E,
107
107
  onChange: D,
108
- paymentTermOptions: O,
109
- labels: B.detailsFields
108
+ labels: z.detailsFields
110
109
  }),
111
110
  /* @__PURE__ */ h(f, {
112
- ...k,
113
- disabled: k.disabled || M,
114
- labels: B.lineItems
111
+ ...O,
112
+ disabled: O.disabled || j,
113
+ labels: z.lineItems
115
114
  })
116
115
  ]
117
116
  }), /* @__PURE__ */ h("div", {
118
117
  className: "ttw:overflow-y-auto ttw:bg-muted/30 ttw:px-6 ttw:py-6",
119
- children: A
118
+ children: k
120
119
  })]
121
120
  }),
122
121
  /* @__PURE__ */ g("div", {
@@ -125,23 +124,23 @@ function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor:
125
124
  /* @__PURE__ */ h(e, {
126
125
  type: "button",
127
126
  variant: "ghost",
128
- onClick: F,
129
- children: B.cancelButton
127
+ onClick: P,
128
+ children: z.cancelButton
130
129
  }),
131
130
  /* @__PURE__ */ h(e, {
132
131
  type: "button",
133
132
  variant: "secondary",
134
- onClick: I,
135
- loading: N,
136
- disabled: P || M,
137
- children: B.saveDraftButton
133
+ onClick: F,
134
+ loading: M,
135
+ disabled: N || j,
136
+ children: z.saveDraftButton
138
137
  }),
139
138
  /* @__PURE__ */ h(e, {
140
139
  type: "button",
141
- onClick: L,
142
- loading: P,
143
- disabled: N || M,
144
- children: B.finalizeButton
140
+ onClick: I,
141
+ loading: N,
142
+ disabled: M || j,
143
+ children: z.finalizeButton
145
144
  })
146
145
  ]
147
146
  })
@@ -33,8 +33,8 @@ function c({ emailAddress: c, onCopyEmail: l, onFilesSelected: u, accept: d, upl
33
33
  type: "button",
34
34
  onClick: l,
35
35
  "aria-label": _.copyEmail,
36
- className: "ttw:inline-flex ttw:items-center ttw:gap-1 ttw:align-baseline ttw:text-primary ttw:hover:underline",
37
- children: [/* @__PURE__ */ a(s, { className: "ttw:size-3.5" }), c]
36
+ className: "ttw:inline-flex ttw:items-center ttw:gap-1.5 ttw:rounded-md ttw:border ttw:border-input ttw:px-2 ttw:py-1 ttw:align-middle ttw:text-foreground ttw:hover:bg-accent",
37
+ children: [c, /* @__PURE__ */ a(s, { className: "ttw:size-3.5 ttw:text-muted-foreground" })]
38
38
  }),
39
39
  " ",
40
40
  _.subcopySuffix
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.2.266", n = "156a33c6913a844493fc8f31e8c4483f45f2853b", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.2.267", n = "ffc9d042b2bcd9bb009f185e224c044803586799", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -9,7 +9,7 @@ import { CardProgram as n } from "../../../shared/feature/dist/lib/card/cardProg
9
9
  import "../../../shared/feature/dist/index.js";
10
10
  import { BankAccountsWidget as r } from "../../../bank-accounts-widget/feature/dist/index8.js";
11
11
  import "../../../bank-accounts-widget/feature/dist/index.js";
12
- import { BillPayWidget as i } from "../../../bill-pay-widget/feature/dist/index28.js";
12
+ import { BillPayWidget as i } from "../../../bill-pay-widget/feature/dist/index30.js";
13
13
  import "../../../bill-pay-widget/feature/dist/index.js";
14
14
  import { CardsWidget as a } from "../../../cards-widget/feature/dist/index8.js";
15
15
  import "../../../cards-widget/feature/dist/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.2.266",
3
+ "version": "0.2.267",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {