@tesouro/embedded-components-react 0.11.181 → 0.11.185
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/README.md +5 -0
- package/dist/index.css +5 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/DashboardSection.js +7 -8
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -11,6 +11,11 @@ dependencies.
|
|
|
11
11
|
These steps put one widget on screen: a token route on your server, a provider
|
|
12
12
|
in the browser, and the widget itself. The examples use the Next.js App Router.
|
|
13
13
|
|
|
14
|
+
To load the widgets from the Tesouro CDN instead of bundling them, see
|
|
15
|
+
[Load from the Tesouro CDN](https://components.tesouro.com/components/load-from-cdn).
|
|
16
|
+
The hosted build runs on the React already on your page, and the token route
|
|
17
|
+
below is the same.
|
|
18
|
+
|
|
14
19
|
Using a coding assistant? Point it at
|
|
15
20
|
[`llms-full.txt`](https://components.tesouro.com/llms-full.txt), which has every
|
|
16
21
|
page of the docs site as Markdown in one file.
|
package/dist/index.css
CHANGED
|
@@ -6288,6 +6288,11 @@
|
|
|
6288
6288
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
6289
6289
|
}
|
|
6290
6290
|
}
|
|
6291
|
+
@container (width >= 768px) {
|
|
6292
|
+
.ttw\:\@3xl\:flex-row {
|
|
6293
|
+
flex-direction: row;
|
|
6294
|
+
}
|
|
6295
|
+
}
|
|
6291
6296
|
@container line-item (width >= 896px) {
|
|
6292
6297
|
.ttw\:\@4xl\/line-item\:col-span-2 {
|
|
6293
6298
|
grid-column: span 2 / span 2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button as e, Tabs as t, TabsContent as n, TabsList as r, TabsTrigger as i, Tooltip as a, TooltipContent as o, TooltipProvider as s, TooltipTrigger as c } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
2
|
import { INVOICING_TABS_LABELS_EN as l } from "./index6.js";
|
|
3
3
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
4
|
-
import {
|
|
4
|
+
import { SettingsIcon as f } from "lucide-react";
|
|
5
5
|
// ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js
|
|
6
6
|
function p({ headerStart: p, tabs: m, selectedTabId: h, onTabChange: g, onSettingsClick: _, actionContainerRef: v, labels: y }) {
|
|
7
7
|
let b = {
|
|
@@ -24,7 +24,7 @@ function p({ headerStart: p, tabs: m, selectedTabId: h, onTabChange: g, onSettin
|
|
|
24
24
|
"aria-label": b.settingsButton,
|
|
25
25
|
onClick: _,
|
|
26
26
|
children: /* @__PURE__ */ u(f, {
|
|
27
|
-
className: "ttw:size-
|
|
27
|
+
className: "ttw:size-5",
|
|
28
28
|
"aria-hidden": !0
|
|
29
29
|
})
|
|
30
30
|
})
|
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.185", n = "02a3424897693c8e10de879686ce175cff3a0724", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -14,18 +14,17 @@ import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
|
14
14
|
function s() {
|
|
15
15
|
let { availableSections: s, labels: c, navigate: l } = t(), u = s.includes(e.Transfers) ? () => l(e.Transfers) : void 0;
|
|
16
16
|
return /* @__PURE__ */ o("div", {
|
|
17
|
-
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
18
|
-
children: [
|
|
19
|
-
|
|
20
|
-
/* @__PURE__ */ a(r, {
|
|
17
|
+
className: "ttw:@container ttw:flex ttw:flex-col ttw:gap-6",
|
|
18
|
+
children: [/* @__PURE__ */ a(n, {}), /* @__PURE__ */ o("div", {
|
|
19
|
+
className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:@3xl:flex-row",
|
|
20
|
+
children: [/* @__PURE__ */ a(r, {
|
|
21
21
|
...c.sections.dashboard.balanceHistory,
|
|
22
22
|
onTransferFromExternalClick: u
|
|
23
|
-
}),
|
|
24
|
-
/* @__PURE__ */ a(i, {
|
|
23
|
+
}), /* @__PURE__ */ a(i, {
|
|
25
24
|
...c.sections.dashboard.insights,
|
|
26
25
|
onLinkExternalAccountClick: u
|
|
27
|
-
})
|
|
28
|
-
]
|
|
26
|
+
})]
|
|
27
|
+
})]
|
|
29
28
|
});
|
|
30
29
|
}
|
|
31
30
|
var c = { Content: s };
|
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.185",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -225,6 +225,8 @@
|
|
|
225
225
|
"{projectRoot}/package.json",
|
|
226
226
|
"{workspaceRoot}/packages/embedded-components-widget-token/README.md",
|
|
227
227
|
"{workspaceRoot}/packages/embedded-components-widget-token/package.json",
|
|
228
|
+
"{workspaceRoot}/packages/embedded-components-loader/README.md",
|
|
229
|
+
"{workspaceRoot}/packages/embedded-components-loader/package.json",
|
|
228
230
|
"{projectRoot}/scripts/export-docs.mjs",
|
|
229
231
|
"{projectRoot}/scripts/assemble-readme.mjs",
|
|
230
232
|
"{projectRoot}/scripts/pack-package.mjs",
|