@tesouro/embedded-components-react 0.11.45 → 0.11.48
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.
|
@@ -6,40 +6,40 @@ var o = (e) => t("ttw:flex ttw:flex-row ttw:items-center ttw:w-full ttw:min-w-0
|
|
|
6
6
|
"ttw:hover:border-b-transparent ttw:hover:bg-muted ttw:hover:rounded-lg",
|
|
7
7
|
"ttw:cursor-pointer",
|
|
8
8
|
"ttw:focus-visible:outline-2 ttw:focus-visible:-outline-offset-2 ttw:focus-visible:outline-ring"
|
|
9
|
-
] : "ttw:cursor-default"), s = ({ row:
|
|
10
|
-
let
|
|
9
|
+
] : "ttw:cursor-default"), s = ({ row: s, isRowClickable: c, onRowClick: l, testIds: u }) => {
|
|
10
|
+
let d = /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ a("div", {
|
|
11
11
|
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:gap-2 ttw:overflow-hidden",
|
|
12
12
|
children: [/* @__PURE__ */ i(e, {
|
|
13
13
|
component: "span",
|
|
14
14
|
variant: "body1",
|
|
15
|
-
className: "ttw:min-w-0 ttw:truncate ttw:font-medium ttw:text-foreground",
|
|
16
|
-
children:
|
|
15
|
+
className: t("ttw:min-w-0 ttw:truncate ttw:font-medium", c && l ? "ttw:text-primary" : "ttw:text-foreground"),
|
|
16
|
+
children: s.title
|
|
17
17
|
}), /* @__PURE__ */ i(e, {
|
|
18
18
|
component: "span",
|
|
19
19
|
variant: "body1",
|
|
20
|
-
"data-testid":
|
|
20
|
+
"data-testid": u?.accountNumber,
|
|
21
21
|
className: "ttw:shrink-0 ttw:font-normal ttw:text-muted-foreground",
|
|
22
|
-
children:
|
|
22
|
+
children: s.suffixLabel
|
|
23
23
|
})]
|
|
24
24
|
}), /* @__PURE__ */ i(e, {
|
|
25
25
|
component: "span",
|
|
26
26
|
variant: "body1",
|
|
27
27
|
className: "ttw:min-w-0 ttw:shrink-0 ttw:truncate ttw:text-right ttw:font-medium ttw:tabular-nums ttw:text-foreground",
|
|
28
28
|
children: /* @__PURE__ */ i(n, {
|
|
29
|
-
text:
|
|
30
|
-
spokenText:
|
|
29
|
+
text: s.amountLabel,
|
|
30
|
+
spokenText: s.amountSpokenLabel
|
|
31
31
|
})
|
|
32
32
|
})] });
|
|
33
|
-
return
|
|
33
|
+
return c && l ? /* @__PURE__ */ i("button", {
|
|
34
34
|
type: "button",
|
|
35
|
-
"data-testid":
|
|
35
|
+
"data-testid": u?.root,
|
|
36
36
|
className: o(!0),
|
|
37
|
-
onClick: () =>
|
|
38
|
-
children:
|
|
37
|
+
onClick: () => l(),
|
|
38
|
+
children: d
|
|
39
39
|
}) : /* @__PURE__ */ i("div", {
|
|
40
|
-
"data-testid":
|
|
40
|
+
"data-testid": u?.root,
|
|
41
41
|
className: o(!1),
|
|
42
|
-
children:
|
|
42
|
+
children: d
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
export { s as SingleBalance };
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -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.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.11.48", n = "ca00b848ccffa066aca523df8bf97a48c420a8f2", 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.11.
|
|
3
|
+
"version": "0.11.48",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
"tailwind-merge": "^3.7.0",
|
|
276
276
|
"tailwind-variants": "^3.3.1",
|
|
277
277
|
"type-fest": "^4.41.0",
|
|
278
|
-
"zod": "^4.6.
|
|
278
|
+
"zod": "^4.6.6"
|
|
279
279
|
},
|
|
280
280
|
"peerDependencies": {
|
|
281
281
|
"react": "^19.0.0",
|