@tesouro/embedded-components-react 0.5.293 → 0.5.295

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 (52) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +26 -1
  3. package/dist/lib/CounterpartsWidget.d.ts +2 -0
  4. package/dist/lib/CounterpartsWidgetPublic.d.ts +2 -0
  5. package/dist/lib/CustomersWidget.d.ts +2 -0
  6. package/dist/lib/ReceivablesWidget.d.ts +26 -1
  7. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +4 -4
  8. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +3 -2
  9. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index14.js +5 -88
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index15.js +70 -173
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index16.js +210 -17
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index17.js +29 -0
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +6 -7
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/details.js +142 -141
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +84 -54
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +21 -3
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/paymentTerms.js +27 -27
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurrence.js +2 -1
  19. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/reminders.js +1 -1
  20. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/totals.js +13 -10
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +84 -80
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +1 -1
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableDetails.js +32 -30
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +417 -414
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableIssuePreflight.js +1 -1
  26. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +1 -1
  27. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +1 -1
  28. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +83 -66
  29. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +133 -129
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useSendReceivableWithPaymentLink.js +26 -22
  31. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useUtcDayStart.js +16 -0
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +0 -1
  33. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +20 -22
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +2 -2
  35. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +1 -1
  36. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +91 -85
  37. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index45.js +1 -0
  38. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index51.js +119 -88
  39. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index53.js +19 -16
  40. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index57.js +130 -96
  41. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +24 -8
  42. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/labels.js +2 -0
  43. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +101 -98
  44. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index9.js +34 -20
  45. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -39
  46. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/applicationStatusQueryOptions.js +6 -6
  47. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  48. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/interceptor.js +55 -41
  49. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index6.js +4 -3
  50. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/widgetTokenManager.js +51 -30
  51. package/dist/packages/shared-ui-shadcn/dist/index.js +15 -10
  52. package/package.json +1 -1
@@ -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.5.293", n = "660e9157452cfccd8731a916d6acb0352d5ed519", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.295", n = "39bfa1177515d639e75bfc53d233e90bc22c66c6", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -1,53 +1,67 @@
1
- import { EmbeddedAnalyticsEvent as e, MUTATION_METHODS as t } from "./events.js";
2
- import { captureExceptionWithContext as n, trackWithContext as r } from "./runtime.js";
3
- import { isExpectedApiNotFound as i } from "./expectedApiNotFound.js";
4
- import { extractTraceIdFromHeaders as a, resolveTraceId as o } from "./traceId.js";
1
+ import { widgetTokenCacheId as e } from "../../../../data-access/dist/lib/widgetTokenCacheId.js";
2
+ import "../../../../data-access/dist/index.js";
3
+ import { EmbeddedAnalyticsEvent as t, MUTATION_METHODS as n } from "./events.js";
4
+ import { captureExceptionWithContext as r, trackWithContext as i } from "./runtime.js";
5
+ import { isExpectedApiNotFound as a } from "./expectedApiNotFound.js";
6
+ import { extractTraceIdFromHeaders as o, resolveTraceId as s } from "./traceId.js";
5
7
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/interceptor.js
6
- function s(s, f) {
7
- let p = /* @__PURE__ */ new WeakMap();
8
- return s.interceptors.request.use((e) => (p.set(e, u()), e)), s.interceptors.response.use((n, i, o) => {
9
- if (!n.ok || !t.has(i.method.toUpperCase())) return n;
10
- let s = a(n);
11
- return r(e.ApiRequestCompleted, {
12
- method: i.method,
13
- route: o.url,
14
- status: n.status,
15
- duration_ms: d(p.get(i)),
8
+ function c(c, m) {
9
+ let h = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new Set();
10
+ return c.interceptors.request.use((e) => (h.set(e, f()), e)), c.interceptors.response.use((e, r, a) => {
11
+ if (!e.ok || !n.has(r.method.toUpperCase())) return e;
12
+ let s = o(e);
13
+ return i(t.ApiRequestCompleted, {
14
+ method: r.method,
15
+ route: a.url,
16
+ status: e.status,
17
+ duration_ms: p(h.get(r)),
16
18
  ...s ? { trace_id: s } : {}
17
- }, f.current), n;
18
- }), s.interceptors.error.use((t, a, s, u) => {
19
- if (l(t, s)) return t;
20
- let m = o(a, t);
21
- return r(e.ApiRequestFailed, {
22
- method: s?.method ?? u.method,
23
- route: u.url,
24
- status: a?.status,
25
- duration_ms: s ? d(p.get(s)) : void 0,
26
- error_kind: a ? "http" : "network",
27
- error_name: t instanceof Error ? t.name : "unknown",
28
- ...m ? { trace_id: m } : {}
29
- }, f.current), i(a?.status, s?.method ?? u.method, u.url) || n(c(a, u.url), {
30
- method: s?.method ?? u.method,
31
- route: u.url,
32
- status: a?.status,
33
- error_kind: a ? "http" : "network",
34
- error_name: t instanceof Error ? t.name : "unknown",
35
- ...m ? { trace_id: m } : {}
36
- }, f.current), t;
37
- }), s;
19
+ }, m.current), e;
20
+ }), c.interceptors.error.use((n, o, c, f) => {
21
+ if (d(n, c)) return n;
22
+ let _ = s(o, n);
23
+ if (i(t.ApiRequestFailed, {
24
+ method: c?.method ?? f.method,
25
+ route: f.url,
26
+ status: o?.status,
27
+ duration_ms: c ? p(h.get(c)) : void 0,
28
+ error_kind: o ? "http" : "network",
29
+ error_name: n instanceof Error ? n.name : "unknown",
30
+ ..._ ? { trace_id: _ } : {}
31
+ }, m.current), a(o?.status, c?.method ?? f.method, f.url)) return n;
32
+ if (o?.status === 401) {
33
+ let t = e(u(c));
34
+ if (g.has(t)) return n;
35
+ g.add(t);
36
+ }
37
+ return r(l(o, f.url), {
38
+ method: c?.method ?? f.method,
39
+ route: f.url,
40
+ status: o?.status,
41
+ error_kind: o ? "http" : "network",
42
+ error_name: n instanceof Error ? n.name : "unknown",
43
+ ..._ ? { trace_id: _ } : {}
44
+ }, m.current), n;
45
+ }), c;
38
46
  }
39
- function c(e, t) {
47
+ function l(e, t) {
40
48
  let n = /* @__PURE__ */ Error(`API request failed (${e?.status ?? "network"}): ${t ?? "unknown route"}`);
41
49
  return n.name = "ApiRequestError", n;
42
50
  }
43
- function l(e, t) {
51
+ function u(e) {
52
+ let t = e?.headers.get("X-Widget-Token");
53
+ if (t) return t;
54
+ let n = e?.headers.get("Authorization");
55
+ return n?.startsWith("Bearer ") ? n.slice(7) : void 0;
56
+ }
57
+ function d(e, t) {
44
58
  return t?.signal.aborted ? !0 : e instanceof Error && e.name === "AbortError";
45
59
  }
46
- function u() {
60
+ function f() {
47
61
  return typeof performance < "u" ? performance.now() : Date.now();
48
62
  }
49
- function d(e) {
50
- return e === void 0 ? void 0 : Math.round(u() - e);
63
+ function p(e) {
64
+ return e === void 0 ? void 0 : Math.round(f() - e);
51
65
  }
52
66
  //#endregion
53
- export { s as attachAnalyticsInterceptors };
67
+ export { c as attachAnalyticsInterceptors };
@@ -62,8 +62,9 @@ function d({ inputValue: d, onInputValueChange: f, options: p, value: m, onOptio
62
62
  maxLength: x,
63
63
  disabled: _,
64
64
  placeholder: C.placeholder,
65
- className: e("ttw:h-full ttw:min-w-0 ttw:flex-1 ttw:bg-transparent ttw:pr-2 ttw:text-base ttw:outline-none ttw:placeholder:text-muted-foreground ttw:disabled:cursor-not-allowed ttw:md:text-sm", g ? "ttw:pl-2" : "ttw:pl-3"),
65
+ className: e("ttw:h-full ttw:min-w-0 ttw:flex-1 ttw:text-ellipsis ttw:bg-transparent ttw:pr-2 ttw:text-base ttw:outline-none ttw:placeholder:text-muted-foreground ttw:disabled:cursor-not-allowed ttw:md:text-sm", g ? "ttw:pl-2" : "ttw:pl-3"),
66
66
  value: d,
67
+ title: d || void 0,
67
68
  onFocus: () => E(!0),
68
69
  onClick: () => E(!0),
69
70
  onBlur: A,
@@ -87,8 +88,8 @@ function d({ inputValue: d, onInputValueChange: f, options: p, value: m, onOptio
87
88
  ]
88
89
  }), T && !_ ? /* @__PURE__ */ o("div", {
89
90
  role: "presentation",
90
- className: "ttw:absolute ttw:left-0 ttw:top-full ttw:z-50 ttw:mt-1.5 ttw:w-full ttw:min-w-138 ttw:overflow-hidden ttw:rounded-md ttw:bg-popover ttw:text-popover-foreground ttw:shadow-md ttw:ring-1 ttw:ring-foreground/10",
91
- onMouseDown: (e) => e.preventDefault(),
91
+ className: e("ttw:absolute ttw:left-0 ttw:top-full ttw:z-50 ttw:mt-1.5 ttw:w-full ttw:min-w-138 ttw:overflow-hidden ttw:rounded-md ttw:bg-popover ttw:text-popover-foreground ttw:shadow-md ttw:ring-1 ttw:ring-foreground/10", !p.length && "ttw:pointer-events-none"),
92
+ onMouseDown: p.length ? (e) => e.preventDefault() : void 0,
92
93
  children: /* @__PURE__ */ s("ul", {
93
94
  id: w,
94
95
  role: "listbox",
@@ -1,70 +1,91 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/util/dist/lib/widgetTokenManager.js
2
2
  function e(e) {
3
- let { fetcher: t } = e, n = e.leadSeconds ?? 60, r = { status: "loading" }, i = /* @__PURE__ */ new Set(), a = 0, o = 0, s = 0, c = !1, l, u, d, f = () => {
3
+ let { fetcher: t } = e, n = e.leadSeconds ?? 60, r = { status: "loading" }, i = /* @__PURE__ */ new Set(), a = 0, o = 0, s = 0, c = !1, l = !1, u = !1, d, f, p, m = () => {
4
4
  i.forEach((e) => e());
5
- }, p = (e) => {
6
- r = e, f();
7
- }, m = () => {
8
- l !== void 0 && (clearTimeout(l), l = void 0), u !== void 0 && (clearTimeout(u), u = void 0), d !== void 0 && (clearTimeout(d), d = void 0);
9
5
  }, h = (e) => {
6
+ r = e, m();
7
+ }, g = () => {
8
+ d !== void 0 && (clearTimeout(d), d = void 0), f !== void 0 && (clearTimeout(f), f = void 0), p !== void 0 && (clearTimeout(p), p = void 0);
9
+ }, _ = (e) => {
10
10
  let t = Math.max(0, e * 1e3 - Date.now() - n * 1e3);
11
- l = setTimeout(() => {
12
- l = void 0, _({ manual: !1 });
11
+ d = setTimeout(() => {
12
+ d = void 0, b({ manual: !1 });
13
13
  }, t);
14
- }, g = (e) => {
14
+ }, v = (e) => {
15
15
  let t = Math.max(0, e * 1e3 - Date.now());
16
- d = setTimeout(() => {
17
- d = void 0, r.status === "ready" && r.lastError !== void 0 && p({
16
+ p = setTimeout(() => {
17
+ p = void 0, r.status === "ready" && r.lastError !== void 0 && h({
18
18
  status: "error",
19
19
  error: r.lastError
20
20
  });
21
21
  }, t);
22
- }, _ = async ({ manual: e }) => {
23
- m();
24
- let n = a, i = ++o, c = r;
25
- c.status === "ready" && p({
22
+ }, y = async ({ manual: e, gen: n, myId: i }) => {
23
+ g();
24
+ let c = r;
25
+ c.status === "ready" && h({
26
26
  ...c,
27
27
  isRefreshing: !0
28
28
  });
29
- let l, d, f = !1;
29
+ let l, u, d = !1;
30
30
  try {
31
31
  l = await t();
32
32
  } catch (e) {
33
- f = !0, d = e;
33
+ d = !0, u = e;
34
34
  }
35
35
  if (n !== a || i !== o) return;
36
- if (!f && l !== void 0 && l.exp !== void 0 && l.exp * 1e3 <= Date.now() && (f = !0, d = /* @__PURE__ */ Error("Fetched widget token is already expired")), !f && l !== void 0) {
37
- p({
36
+ if (!d && l !== void 0 && l.exp !== void 0 && l.exp * 1e3 <= Date.now() && (d = !0, u = /* @__PURE__ */ Error("Fetched widget token is already expired")), !d && l !== void 0) {
37
+ h({
38
38
  status: "ready",
39
39
  widgetToken: l.widgetToken,
40
40
  exp: l.exp,
41
41
  isRefreshing: !1
42
- }), s = 0, l.exp !== void 0 && h(l.exp);
42
+ }), s = 0, l.exp !== void 0 && _(l.exp);
43
43
  return;
44
44
  }
45
- c.status === "ready" && (c.exp === void 0 || c.exp * 1e3 > Date.now()) ? (p({
45
+ c.status === "ready" && (c.exp === void 0 || c.exp * 1e3 > Date.now()) ? (h({
46
46
  status: "ready",
47
47
  widgetToken: c.widgetToken,
48
48
  exp: c.exp,
49
49
  isRefreshing: !1,
50
- lastError: d
51
- }), c.exp !== void 0 && g(c.exp)) : p({
50
+ lastError: u
51
+ }), c.exp !== void 0 && v(c.exp)) : h({
52
52
  status: "error",
53
- error: d
53
+ error: u
54
54
  });
55
- let v = Math.max(50, Math.random() * Math.min(3e4, 1e3 * 2 ** s));
56
- s++, u = setTimeout(() => {
57
- u = void 0, _({ manual: !1 });
58
- }, v);
55
+ let p = Math.max(50, Math.random() * Math.min(3e4, 1e3 * 2 ** s));
56
+ s++, f = setTimeout(() => {
57
+ f = void 0, b({ manual: !1 });
58
+ }, p);
59
+ }, b = ({ manual: e }) => {
60
+ let t = a, n = ++o;
61
+ return u = !0, y({
62
+ manual: e,
63
+ gen: t,
64
+ myId: n
65
+ }).finally(() => {
66
+ n === o && (u = !1);
67
+ });
68
+ }, x = (e) => {
69
+ if ((e.type !== "visibilitychange" || document.visibilityState === "visible") && c && !u && r.status !== "loading") {
70
+ if (r.status === "error") {
71
+ b({ manual: !1 });
72
+ return;
73
+ }
74
+ !r.isRefreshing && r.exp !== void 0 && r.exp * 1e3 - Date.now() < n * 1e3 && b({ manual: !1 });
75
+ }
76
+ }, S = () => {
77
+ l || typeof window > "u" || typeof document > "u" || (l = !0, document.addEventListener("visibilitychange", x), window.addEventListener("focus", x), window.addEventListener("online", x));
78
+ }, C = () => {
79
+ l && (l = !1, document.removeEventListener("visibilitychange", x), window.removeEventListener("focus", x), window.removeEventListener("online", x));
59
80
  };
60
81
  return {
61
82
  start: () => {
62
- c || (c = !0, _({ manual: !1 }));
83
+ c || (c = !0, S(), b({ manual: !1 }));
63
84
  },
64
85
  stop: () => {
65
- c = !1, a++, m();
86
+ c = !1, a++, g(), C();
66
87
  },
67
- refresh: () => (c = !0, _({ manual: !0 })),
88
+ refresh: () => (c = !0, S(), b({ manual: !0 })),
68
89
  getState: () => r,
69
90
  subscribe: (e) => (i.add(e), () => {
70
91
  i.delete(e);
@@ -9380,6 +9380,7 @@ function Gy({ columns: t, data: n, sorting: r, onSortingChange: i, pageSize: a,
9380
9380
  },
9381
9381
  children: [/* @__PURE__ */ _(ky, {
9382
9382
  size: "sm",
9383
+ "aria-label": N.rowsPerPage,
9383
9384
  children: /* @__PURE__ */ _(Oy, {})
9384
9385
  }), /* @__PURE__ */ _(Ay, { children: O.map((e) => /* @__PURE__ */ _(My, {
9385
9386
  value: String(e),
@@ -16621,10 +16622,10 @@ function Nj(e) {
16621
16622
  function Pj(e) {
16622
16623
  return e == null ? [] : Array.isArray(e) ? e : [e];
16623
16624
  }
16624
- function Fj({ value: t, onChange: n, placeholder: r = "Pick a date", disabled: i, minDate: a, maxDate: o, defaultMonth: s, disabledDates: c, className: l, id: u, "aria-invalid": d, "aria-describedby": f, onBlur: p, container: m }) {
16625
- let [h, g] = e.useState(!1), y = (e) => {
16626
- g(e), e || p?.();
16627
- }, b = e.useMemo(() => {
16625
+ function Fj({ value: t, onChange: n, placeholder: r = "Pick a date", disabled: i, minDate: a, maxDate: o, defaultMonth: s, disabledDates: c, className: l, id: u, "aria-invalid": d, "aria-describedby": f, onBlur: p, container: m, iconPosition: h = "start" }) {
16626
+ let [g, y] = e.useState(!1), b = (e) => {
16627
+ y(e), e || p?.();
16628
+ }, x = e.useMemo(() => {
16628
16629
  let e = [
16629
16630
  ...a ? [{ before: a }] : [],
16630
16631
  ...o ? [{ after: o }] : [],
@@ -16637,8 +16638,8 @@ function Fj({ value: t, onChange: n, placeholder: r = "Pick a date", disabled: i
16637
16638
  c
16638
16639
  ]);
16639
16640
  return /* @__PURE__ */ v(ZC, {
16640
- open: h,
16641
- onOpenChange: y,
16641
+ open: g,
16642
+ onOpenChange: b,
16642
16643
  children: [/* @__PURE__ */ _(QC, {
16643
16644
  asChild: !0,
16644
16645
  children: /* @__PURE__ */ v(Tv, {
@@ -16649,10 +16650,14 @@ function Fj({ value: t, onChange: n, placeholder: r = "Pick a date", disabled: i
16649
16650
  "aria-invalid": d,
16650
16651
  "aria-describedby": f,
16651
16652
  onBlur: () => {
16652
- h || p?.();
16653
+ g || p?.();
16653
16654
  },
16654
16655
  className: J("ttw:w-full ttw:justify-start ttw:text-left ttw:font-normal", !t && "ttw:text-muted-foreground", l),
16655
- children: [/* @__PURE__ */ _(I, { className: "ttw:mr-2 ttw:size-4" }), t ? Nj(t) : r]
16656
+ children: [
16657
+ h === "start" && /* @__PURE__ */ _(I, { className: "ttw:mr-2 ttw:size-4" }),
16658
+ t ? Nj(t) : r,
16659
+ h === "end" && /* @__PURE__ */ _(I, { className: "ttw:ml-auto ttw:size-4" })
16660
+ ]
16656
16661
  })
16657
16662
  }), /* @__PURE__ */ _($C, {
16658
16663
  className: "ttw:w-auto ttw:p-0",
@@ -16662,10 +16667,10 @@ function Fj({ value: t, onChange: n, placeholder: r = "Pick a date", disabled: i
16662
16667
  mode: "single",
16663
16668
  selected: t,
16664
16669
  onSelect: (e) => {
16665
- n(e), y(!1);
16670
+ n(e), b(!1);
16666
16671
  },
16667
16672
  captionLayout: "dropdown",
16668
- disabled: b,
16673
+ disabled: x,
16669
16674
  startMonth: a,
16670
16675
  endMonth: o,
16671
16676
  defaultMonth: t ?? s ?? o ?? a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.5.293",
3
+ "version": "0.5.295",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [