@tesouro/embedded-components-react 0.11.96 → 0.11.101

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 (29) hide show
  1. package/dist/experimental/QuickViewWidget.d.ts +62 -2
  2. package/dist/experimental/index.d.ts +62 -2
  3. package/dist/index.css +3 -0
  4. package/dist/index.d.ts +2 -0
  5. package/dist/lib/ReceivablesWidget.d.ts +2 -0
  6. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/accounts/ui/dist/index2.js +1 -1
  7. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/bills/ui/dist/index2.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/data-access/dist/index.js +1 -0
  9. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/data-access/dist/index2.js +98 -0
  10. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/index.js +3 -0
  11. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/CardsQuickViewWidgetFeature.js +80 -0
  12. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/labels.js +27 -0
  13. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/summarizeCardSpend.js +17 -0
  14. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/testIds.js +7 -0
  15. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/useCardSpendSummary.js +29 -0
  16. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/analytics/events.js +4 -0
  17. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/ui/dist/index.js +3 -0
  18. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/ui/dist/index2.js +8 -0
  19. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/ui/dist/index3.js +31 -0
  20. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/feature/dist/lib/QuickViewWidget/QuickViewWidget.js +57 -44
  21. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/feature/dist/lib/QuickViewWidget/labels.js +6 -3
  22. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/invoices/ui/dist/index2.js +1 -1
  23. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +43 -43
  24. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/debit-card/useAllDebitCardsQuery.js +22 -18
  25. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +97 -97
  26. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +166 -154
  27. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  28. package/dist/packages/shared-ui-shadcn/dist/index.js +47 -24
  29. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  // ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.11.96", n = "ae941ef1936ebd9e4739574cbebe823f27ebc02d", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.11.101", n = "5184973b6c1232af99c7a33b06595f3f02897dde", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -17439,36 +17439,59 @@ function OM({ activeCount: e, size: t = "sm", labels: n, className: r, ...i }) {
17439
17439
  }
17440
17440
  var kM = {
17441
17441
  edit: "Edit {label}",
17442
- remove: "Remove {label} filter"
17442
+ remove: "Remove {label} filter",
17443
+ removeFull: "Remove filter {label}"
17443
17444
  };
17444
- function AM({ label: e, count: t, variant: n = "default", onLabelClick: r, onDismiss: i, isActive: a = !1, labels: o, className: s, disabled: c, ...l }) {
17445
- let u = {
17445
+ function AM({ label: e, fullLabel: t, count: n, variant: r = "default", onLabelClick: i, onDismiss: a, isActive: o = !1, labels: s, className: c, disabled: l, ...u }) {
17446
+ let d = {
17446
17447
  ...kM,
17447
- ...o
17448
- }, d = t === void 0 ? e : `${e} (${t})`;
17449
- return n === "preset" ? /* @__PURE__ */ v("button", {
17448
+ ...s
17449
+ }, f = t !== void 0, p = n === void 0 ? e : `${e} (${n})`, m = f ? _y(d.removeFull, { label: t }) : _y(d.remove, { label: e }), h = f ? /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _("span", {
17450
+ "aria-hidden": "true",
17451
+ children: p
17452
+ }), /* @__PURE__ */ _("span", {
17453
+ className: "ttw:sr-only",
17454
+ children: t
17455
+ })] }) : p, y = (e, n = !1) => f ? /* @__PURE__ */ _(Nw, { children: /* @__PURE__ */ v(Pw, { children: [/* @__PURE__ */ _(Fw, {
17456
+ asChild: !0,
17457
+ children: n ? /* @__PURE__ */ _("span", {
17458
+ tabIndex: 0,
17459
+ className: Y("ttw:inline-flex ttw:min-w-0 ttw:rounded-md", "ttw:focus-visible:outline-2 ttw:focus-visible:outline-offset-2 ttw:focus-visible:outline-ring"),
17460
+ children: e
17461
+ }) : e
17462
+ }), /* @__PURE__ */ _(Iw, {
17463
+ sideOffset: 4,
17464
+ collisionPadding: 8,
17465
+ className: "ttw:max-w-[min(20rem,var(--radix-tooltip-content-available-width))] ttw:wrap-break-word",
17466
+ children: t
17467
+ })] }) }) : e;
17468
+ return r === "preset" ? y(/* @__PURE__ */ v("button", {
17450
17469
  type: "button",
17451
- className: Y("ttw:inline-flex ttw:items-center ttw:gap-1", "ttw:h-8 ttw:px-3 ttw:rounded-md", "ttw:border ttw:text-sm ttw:font-medium", "ttw:transition-colors ttw:cursor-pointer", "ttw:focus-visible:outline-none ttw:focus-visible:border-ring", "ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50", "ttw:disabled:pointer-events-none ttw:disabled:opacity-50", a ? "ttw:border-primary ttw:bg-primary/10 ttw:text-primary ttw:hover:bg-primary/15" : "ttw:border-input ttw:bg-background ttw:text-foreground ttw:hover:bg-accent ttw:hover:text-accent-foreground", s),
17452
- disabled: c,
17453
- ...l,
17454
- children: [/* @__PURE__ */ _("span", { children: d }), /* @__PURE__ */ _(z, { className: "ttw:size-4 ttw:shrink-0" })]
17455
- }) : /* @__PURE__ */ v("div", {
17456
- className: Y("ttw:inline-flex ttw:items-center ttw:gap-0.5", "ttw:h-8 ttw:pl-3 ttw:pr-1 ttw:py-1 ttw:rounded-md", "ttw:bg-primary/10 ttw:text-sm ttw:font-medium", s),
17457
- children: [r ? /* @__PURE__ */ _("button", {
17470
+ className: Y("ttw:inline-flex ttw:items-center ttw:gap-1", "ttw:h-8 ttw:px-3 ttw:rounded-md", "ttw:border ttw:text-sm ttw:font-medium", "ttw:transition-colors ttw:cursor-pointer", "ttw:focus-visible:outline-none ttw:focus-visible:border-ring", "ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50", "ttw:disabled:pointer-events-none ttw:disabled:opacity-50", o ? "ttw:border-primary ttw:bg-primary/10 ttw:text-primary ttw:hover:bg-primary/15" : "ttw:border-input ttw:bg-background ttw:text-foreground ttw:hover:bg-accent ttw:hover:text-accent-foreground", c),
17471
+ disabled: l,
17472
+ ...u,
17473
+ children: [/* @__PURE__ */ _("span", { children: h }), /* @__PURE__ */ _(z, { className: "ttw:size-4 ttw:shrink-0" })]
17474
+ }), l) : /* @__PURE__ */ v("div", {
17475
+ className: Y("ttw:inline-flex ttw:items-center ttw:gap-0.5", "ttw:h-8 ttw:pl-3 ttw:pr-1 ttw:py-1 ttw:rounded-md", "ttw:bg-primary/10 ttw:text-sm ttw:font-medium", c),
17476
+ children: [i ? y(/* @__PURE__ */ _("button", {
17458
17477
  type: "button",
17459
- onClick: r,
17460
- disabled: c,
17461
- "aria-label": _y(u.edit, { label: e }),
17462
- className: Y("ttw:min-w-0 ttw:flex-1 ttw:text-left ttw:truncate", "ttw:rounded-md ttw:border-0 ttw:bg-transparent ttw:p-0 ttw:m-0", "ttw:cursor-pointer ttw:font-[inherit] ttw:text-inherit", "ttw:hover:bg-primary/15 ttw:transition-colors", "ttw:focus-visible:outline-none ttw:focus-visible:ring-2 ttw:focus-visible:ring-ring"),
17463
- children: d
17464
- }) : /* @__PURE__ */ _("span", {
17478
+ onClick: i,
17479
+ disabled: l,
17480
+ "aria-label": _y(d.edit, { label: t ?? e }),
17481
+ className: Y("ttw:min-w-0 ttw:flex-1 ttw:text-left ttw:truncate", "ttw:rounded-md ttw:border-0 ttw:bg-transparent ttw:p-0 ttw:m-0", "ttw:cursor-pointer ttw:font-[inherit] ttw:text-inherit", "ttw:hover:bg-primary/15 ttw:transition-colors", "ttw:focus-visible:outline-none ttw:focus-visible:ring-2 ttw:focus-visible:ring-ring", "ttw:disabled:pointer-events-none"),
17482
+ children: p
17483
+ }), l) : f ? y(/* @__PURE__ */ _("span", {
17484
+ tabIndex: 0,
17485
+ className: Y("ttw:shrink-0 ttw:rounded-md", "ttw:focus-visible:outline-2 ttw:focus-visible:outline-offset-2 ttw:focus-visible:outline-ring"),
17486
+ children: h
17487
+ })) : /* @__PURE__ */ _("span", {
17465
17488
  className: "ttw:shrink-0",
17466
- children: d
17467
- }), i && /* @__PURE__ */ _("button", {
17489
+ children: p
17490
+ }), a && /* @__PURE__ */ _("button", {
17468
17491
  type: "button",
17469
- onClick: i,
17470
- disabled: c,
17471
- "aria-label": _y(u.remove, { label: e }),
17492
+ onClick: a,
17493
+ disabled: l,
17494
+ "aria-label": m,
17472
17495
  className: Y("ttw:inline-flex ttw:items-center ttw:justify-center", "ttw:size-6 ttw:rounded-sm ttw:cursor-pointer", "ttw:transition-colors ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50", "ttw:hover:bg-primary ttw:hover:text-primary-foreground", "ttw:focus-visible:outline-none ttw:focus-visible:ring-2", "ttw:focus-visible:ring-ring"),
17473
17496
  children: /* @__PURE__ */ _(pe, { className: "ttw:size-4" })
17474
17497
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.11.96",
3
+ "version": "0.11.101",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [