@tesouro/embedded-components-react 0.5.115 → 0.5.116

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.
package/dist/index.css CHANGED
@@ -1740,6 +1740,9 @@
1740
1740
  .ttw\:grid-cols-\[180px_1fr\] {
1741
1741
  grid-template-columns: 180px 1fr;
1742
1742
  }
1743
+ .ttw\:grid-cols-\[max-content_1fr\] {
1744
+ grid-template-columns: max-content 1fr;
1745
+ }
1743
1746
  .ttw\:grid-cols-\[minmax\(0\,1fr\)_auto\] {
1744
1747
  grid-template-columns: minmax(0,1fr) auto;
1745
1748
  }
@@ -1,28 +1,25 @@
1
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";
2
+ import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
3
3
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index17.js
4
- function r({ label: r, value: i, testId: a }) {
5
- return i ? /* @__PURE__ */ n("div", {
6
- className: "ttw:grid ttw:min-w-0 ttw:grid-cols-2 ttw:gap-4",
7
- "data-testid": a,
8
- children: [/* @__PURE__ */ t(e, {
9
- component: "span",
10
- variant: "body2",
11
- className: "ttw:min-w-0 ttw:text-muted-foreground",
12
- children: r
13
- }), /* @__PURE__ */ t(e, {
14
- component: "span",
15
- variant: "body2",
16
- className: "ttw:min-w-0 ttw:wrap-break-word ttw:whitespace-pre-line ttw:text-left ttw:font-medium ttw:text-foreground",
17
- children: i
18
- })]
19
- }) : null;
4
+ function i({ label: i, value: a, testId: o }) {
5
+ return a ? /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ n(e, {
6
+ component: "span",
7
+ variant: "body2",
8
+ className: "ttw:text-muted-foreground",
9
+ children: i
10
+ }), /* @__PURE__ */ n(e, {
11
+ component: "span",
12
+ variant: "body2",
13
+ "data-testid": o,
14
+ className: "ttw:min-w-0 ttw:wrap-break-word ttw:whitespace-pre-line ttw:text-left ttw:font-medium ttw:text-foreground",
15
+ children: a
16
+ })] }) : null;
20
17
  }
21
- function i({ rows: e, testIds: n }) {
22
- return /* @__PURE__ */ t("div", {
23
- className: "ttw:flex ttw:flex-col ttw:gap-2",
24
- "data-testid": n?.root,
25
- children: e.map((e) => /* @__PURE__ */ t(r, {
18
+ function a({ rows: e, testIds: t }) {
19
+ return /* @__PURE__ */ n("div", {
20
+ className: "ttw:grid ttw:grid-cols-[max-content_1fr] ttw:gap-x-4 ttw:gap-y-2",
21
+ "data-testid": t?.root,
22
+ children: e.map((e) => /* @__PURE__ */ n(i, {
26
23
  label: e.label,
27
24
  value: e.value,
28
25
  testId: e.testId
@@ -30,4 +27,4 @@ function i({ rows: e, testIds: n }) {
30
27
  });
31
28
  }
32
29
  //#endregion
33
- export { i as BusinessDetailsSummary };
30
+ export { a as BusinessDetailsSummary };
@@ -1,28 +1,25 @@
1
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";
2
+ import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
3
3
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index21.js
4
- function r({ label: r, value: i, testId: a, valueMonospace: o }) {
5
- return i ? /* @__PURE__ */ n("div", {
6
- className: "ttw:grid ttw:min-w-0 ttw:grid-cols-2 ttw:gap-4",
7
- "data-testid": a,
8
- children: [/* @__PURE__ */ t(e, {
9
- component: "span",
10
- variant: "body2",
11
- className: "ttw:min-w-0 ttw:text-muted-foreground",
12
- children: r
13
- }), /* @__PURE__ */ t(e, {
14
- component: "span",
15
- variant: "body2",
16
- className: `ttw:min-w-0 ttw:wrap-break-word ttw:whitespace-pre-line ttw:text-left ttw:font-medium ttw:text-foreground ${o ? "ttw:font-mono ttw:tracking-wider" : ""}`,
17
- children: i
18
- })]
19
- }) : null;
4
+ function i({ label: i, value: a, testId: o, valueMonospace: s }) {
5
+ return a ? /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ n(e, {
6
+ component: "span",
7
+ variant: "body2",
8
+ className: "ttw:text-muted-foreground",
9
+ children: i
10
+ }), /* @__PURE__ */ n(e, {
11
+ component: "span",
12
+ variant: "body2",
13
+ "data-testid": o,
14
+ className: `ttw:min-w-0 ttw:wrap-break-word ttw:whitespace-pre-line ttw:text-left ttw:font-medium ttw:text-foreground ${s ? "ttw:font-mono ttw:tracking-wider" : ""}`,
15
+ children: a
16
+ })] }) : null;
20
17
  }
21
- function i({ rows: e, testIds: n }) {
22
- return /* @__PURE__ */ t("div", {
23
- className: "ttw:flex ttw:flex-col ttw:gap-2",
24
- "data-testid": n?.root,
25
- children: e.map((e) => /* @__PURE__ */ t(r, {
18
+ function a({ rows: e, testIds: t }) {
19
+ return /* @__PURE__ */ n("div", {
20
+ className: "ttw:grid ttw:grid-cols-[max-content_1fr] ttw:gap-x-4 ttw:gap-y-2",
21
+ "data-testid": t?.root,
22
+ children: e.map((e) => /* @__PURE__ */ n(i, {
26
23
  label: e.label,
27
24
  value: e.value,
28
25
  testId: e.testId,
@@ -31,4 +28,4 @@ function i({ rows: e, testIds: n }) {
31
28
  });
32
29
  }
33
30
  //#endregion
34
- export { i as AboutYouSummary };
31
+ export { a as AboutYouSummary };
@@ -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.115", n = "f6a08ec900d7a7d2901d016a54bb0cc35702a68d", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.116", n = "d696d8decff320a51da5ba16ad7fb5cc2841cef6", 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.5.115",
3
+ "version": "0.5.116",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {