@tesouro/embedded-components-react 0.9.17 → 0.9.19

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 (74) hide show
  1. package/dist/index.css +66 -16
  2. package/dist/index.d.ts +21 -0
  3. package/dist/lib/BankAccountOnboardingWidget.d.ts +2 -0
  4. package/dist/lib/CounterpartsWidget.d.ts +6 -0
  5. package/dist/lib/CounterpartsWidgetPublic.d.ts +6 -0
  6. package/dist/lib/CustomersWidget.d.ts +6 -0
  7. package/dist/lib/LinkedAccountsWidget.d.ts +1 -0
  8. package/dist/lib/ProductsWidget.d.ts +8 -0
  9. package/dist/lib/ReceivablesWidget.d.ts +12 -0
  10. package/dist/lib/WidgetSuite.d.ts +3 -0
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index31.js +2 -1
  12. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index32.js +2 -0
  13. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index3.js +1 -0
  14. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +1 -0
  15. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/CreateAccountDialog.js +1 -0
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index42.js +2 -1
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index43.js +1 -0
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index52.js +1 -0
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index5.js +2 -1
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index6.js +1 -0
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index10.js +57 -55
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index2.js +1 -0
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index3.js +2 -0
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -0
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +2 -0
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index8.js +1 -0
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js +1 -0
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index4.js +2 -0
  29. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index7.js +1 -0
  30. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/DeleteReceiptDialog/DeleteReceiptDialog.js +18 -14
  31. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/DeleteReceiptDialog/labels.js +2 -1
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +2 -1
  33. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +4 -2
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +2 -0
  35. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index43.js +1 -0
  36. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +2 -0
  37. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index50.js +1 -0
  38. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index57.js +29 -26
  39. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +2 -1
  40. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +1 -0
  41. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index11.js +1 -0
  42. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js +1 -0
  43. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index14.js +1 -0
  44. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index15.js +1 -0
  45. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index9.js +1 -0
  46. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index2.js +2 -1
  47. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index7.js +16 -12
  48. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index2.js +2 -1
  49. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index5.js +26 -22
  50. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index13.js +1 -0
  51. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index3.js +1 -0
  52. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index6.js +1 -0
  53. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index11.js +2 -1
  54. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index12.js +1 -0
  55. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index15.js +37 -33
  56. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index6.js +2 -1
  57. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index17.js +2 -1
  58. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index18.js +2 -0
  59. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index10.js +1 -0
  60. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index13.js +16 -12
  61. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index2.js +5 -3
  62. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index9.js +36 -31
  63. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  64. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index2.js +5 -2
  65. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index4.js +1 -0
  66. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index5.js +1 -0
  67. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index6.js +39 -35
  68. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +1 -0
  69. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetContainer/WidgetContainer.js +9 -21
  70. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetFrame/WidgetFrame.js +35 -0
  71. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetTitleWithIconAndChildren/WidgetTitleWithIconAndChildren.js +9 -31
  72. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferMoneyModal.js +1 -0
  73. package/dist/packages/shared-ui-shadcn/dist/index.js +4699 -4648
  74. package/package.json +1 -1
@@ -1,35 +1,13 @@
1
- import { Typography as e } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { jsx as t, jsxs as n } from "react/jsx-runtime";
1
+ import { WidgetFrame as e } from "../WidgetFrame/WidgetFrame.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
3
  //#region ../../libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetTitleWithIconAndChildren/WidgetTitleWithIconAndChildren.js
4
- function r({ icon: r, title: i, children: a, headerActions: o }) {
5
- let s = /* @__PURE__ */ n("div", {
6
- className: "ttw:flex ttw:min-w-0 ttw:items-center ttw:gap-2",
7
- children: [/* @__PURE__ */ t("span", {
8
- className: "ttw:flex ttw:shrink-0 ttw:items-center ttw:leading-none",
9
- children: r
10
- }), /* @__PURE__ */ t(e, {
11
- component: "h2",
12
- variant: "h6",
13
- className: "ttw:min-w-0 ttw:font-semibold ttw:text-foreground",
14
- children: i
15
- })]
16
- });
17
- return /* @__PURE__ */ n("div", {
18
- className: "ttw:@container/widget ttw:flex ttw:w-full ttw:flex-col ttw:overflow-hidden ttw:rounded-xl ttw:border ttw:border-border ttw:bg-card ttw:text-card-foreground ttw:shadow-sm",
19
- children: [o == null ? /* @__PURE__ */ t("div", {
20
- className: "ttw:flex ttw:flex-row ttw:items-center ttw:gap-2 ttw:border-b ttw:border-border ttw:px-4 ttw:py-3",
21
- children: s
22
- }) : /* @__PURE__ */ n("div", {
23
- className: "ttw:flex ttw:flex-row ttw:items-center ttw:justify-between ttw:gap-3 ttw:border-b ttw:border-border ttw:px-4 ttw:py-3",
24
- children: [s, /* @__PURE__ */ t("div", {
25
- className: "ttw:flex ttw:shrink-0 ttw:items-center ttw:justify-end",
26
- children: o
27
- })]
28
- }), /* @__PURE__ */ t("div", {
29
- className: "ttw:flex ttw:flex-col ttw:p-4",
30
- children: a
31
- })]
4
+ function n({ icon: n, title: r, children: i, headerActions: a }) {
5
+ return /* @__PURE__ */ t(e, {
6
+ icon: n,
7
+ title: r,
8
+ action: a,
9
+ children: i
32
10
  });
33
11
  }
34
12
  //#endregion
35
- export { r as WidgetTitleWithIconAndChildren };
13
+ export { n as WidgetTitleWithIconAndChildren };
@@ -72,6 +72,7 @@ function E({ open: c, onOpenChange: x, step: S, labels: E, fromOptions: D, toOpt
72
72
  children: /* @__PURE__ */ _(n, {
73
73
  showCloseButton: !0,
74
74
  closeButtonTestId: Y?.closeButton,
75
+ labels: { close: E.modalClose },
75
76
  className: "ttw:max-w-md ttw:gap-0 ttw:p-6",
76
77
  "data-testid": Y?.root,
77
78
  children: [S === "result" ? null : /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(p, {