@tesouro/embedded-components-react 0.3.25 → 0.3.26

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.
@@ -1,8 +1,8 @@
1
- import { Badge as e, Button as t, Calendar as n, Dialog as r, DialogContent as i, DialogDescription as a, DialogFooter as o, DialogHeader as ee, DialogTitle as s, Label as c, Popover as l, PopoverContent as u, PopoverTrigger as d, Select as f, SelectContent as p, SelectItem as m, SelectTrigger as h, SelectValue as g, cn as _ } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
1
+ import { Badge as e, Button as t, Calendar as n, Dialog as r, DialogContent as i, DialogDescription as a, DialogFooter as ee, DialogHeader as o, DialogTitle as s, Label as c, Popover as l, PopoverContent as u, PopoverTrigger as d, Select as f, SelectContent as p, SelectItem as m, SelectTrigger as h, SelectValue as g, cn as _ } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
2
  import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as v } from "./index88.js";
3
3
  import { TONE_TEXT_CLASS as y } from "./index89.js";
4
4
  import { useId as b } from "react";
5
- import { jsx as x, jsxs as S } from "react/jsx-runtime";
5
+ import { Fragment as te, jsx as x, jsxs as S } from "react/jsx-runtime";
6
6
  import { CalendarIcon as C } from "lucide-react";
7
7
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js
8
8
  var w = {
@@ -22,7 +22,7 @@ function T({ open: y, onOpenChange: T, amountDueLabel: E, amountDue: D, dueDateS
22
22
  "data-testid": K,
23
23
  className: "ttw:flex ttw:max-w-lg ttw:flex-col ttw:gap-3",
24
24
  children: [
25
- /* @__PURE__ */ S(ee, { children: [/* @__PURE__ */ x(s, { children: J.title }), /* @__PURE__ */ x(a, {
25
+ /* @__PURE__ */ S(o, { children: [/* @__PURE__ */ x(s, { children: J.title }), /* @__PURE__ */ x(a, {
26
26
  className: "ttw:sr-only",
27
27
  children: J.hiddenDescription
28
28
  })] }),
@@ -102,11 +102,11 @@ function T({ open: y, onOpenChange: T, amountDueLabel: E, amountDue: D, dueDateS
102
102
  disabled: Q,
103
103
  onValueChange: U,
104
104
  children: [/* @__PURE__ */ x(h, {
105
- className: "ttw:w-full ttw:data-[size=default]:h-14",
105
+ className: "ttw:w-full ttw:data-[size=default]:h-14 ttw:*:data-[slot=select-value]:min-w-0 ttw:*:data-[slot=select-value]:flex-1",
106
106
  "aria-labelledby": Z,
107
- children: $ ? /* @__PURE__ */ S("span", {
108
- className: "ttw:flex ttw:w-full ttw:items-center ttw:gap-3",
109
- children: [/* @__PURE__ */ S("span", {
107
+ children: /* @__PURE__ */ x(g, {
108
+ placeholder: J.payFromPlaceholder,
109
+ children: $ ? /* @__PURE__ */ S(te, { children: [/* @__PURE__ */ S("span", {
110
110
  className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col ttw:text-left",
111
111
  children: [/* @__PURE__ */ x("span", {
112
112
  className: "ttw:truncate",
@@ -119,8 +119,8 @@ function T({ open: y, onOpenChange: T, amountDueLabel: E, amountDue: D, dueDateS
119
119
  variant: "secondary",
120
120
  className: "ttw:shrink-0",
121
121
  children: J.poweredByBank(L)
122
- }) : null]
123
- }) : /* @__PURE__ */ x(g, { placeholder: J.payFromPlaceholder })
122
+ }) : null] }) : null
123
+ })
124
124
  }), /* @__PURE__ */ x(p, { children: I.map((e) => /* @__PURE__ */ x(m, {
125
125
  value: e.id,
126
126
  children: /* @__PURE__ */ S("span", {
@@ -148,7 +148,7 @@ function T({ open: y, onOpenChange: T, amountDueLabel: E, amountDue: D, dueDateS
148
148
  }) : null
149
149
  ]
150
150
  }),
151
- /* @__PURE__ */ S(o, {
151
+ /* @__PURE__ */ S(ee, {
152
152
  className: "ttw:pt-4 ttw:sm:gap-3",
153
153
  children: [/* @__PURE__ */ x(t, {
154
154
  type: "button",
@@ -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.3.25", n = "d587f871fc9bd10dabe7c35c1dfaf759e988bb19", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.3.26", n = "6314167adeab19b610feccf4152434cf2d05ff93", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.3.25",
3
+ "version": "0.3.26",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {