@tesouro/embedded-components-react 0.11.180 → 0.11.183
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 +22 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index10.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index11.js +82 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index12.js +47 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index13.js +261 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index14.js +23 -251
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index15.js +450 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +286 -442
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +4 -300
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js +37 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js +1 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index5.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index7.js +88 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js +17 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index9.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index10.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +263 -262
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillsTab.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/labels.js +1 -1
- 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/shared/ui/dist/index.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/AttentionStrip/AttentionStrip.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/AttentionStrip/AttentionViewBar.js +33 -0
- package/package.json +3 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index21.js +0 -1
|
@@ -11,7 +11,7 @@ import { billsTabTestIds as r } from "./testIds.js";
|
|
|
11
11
|
import { BillDetailsWidget as i, BillDialogWidget as a } from "../../../../bill-detail/feature/dist/index51.js";
|
|
12
12
|
import "../../../../bill-detail/feature/dist/index.js";
|
|
13
13
|
import "../../../../bill-upload/feature/dist/index.js";
|
|
14
|
-
import { BillsListWidget as o } from "../../../../bills-list/feature/dist/
|
|
14
|
+
import { BillsListWidget as o } from "../../../../bills-list/feature/dist/index19.js";
|
|
15
15
|
import "../../../../bills-list/feature/dist/index.js";
|
|
16
16
|
import { PayBillWidget as s } from "../../../../pay-bill/feature/dist/index14.js";
|
|
17
17
|
import "../../../../pay-bill/feature/dist/index.js";
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/labels.js
CHANGED
|
@@ -10,7 +10,7 @@ var e = { scenarios: {
|
|
|
10
10
|
},
|
|
11
11
|
duplicates: {
|
|
12
12
|
label: "Possible duplicates",
|
|
13
|
-
blurb: "Two uploads of the same Northwind invoice are flagged, so a
|
|
13
|
+
blurb: "Two uploads of the same Northwind invoice are flagged, so a Needs attention strip sits above the list. Press its possible duplicates chip to open the duplicates view, where the pair is grouped under one heading, then open either row’s menu, choose Not a duplicate and confirm: the match is dismissed on both bills, the strip goes away and the list returns to All bills."
|
|
14
14
|
},
|
|
15
15
|
empty: {
|
|
16
16
|
label: "No bills yet",
|
|
@@ -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.183", n = "c92057815bf7f1330921b7e115eae4d4a579c97a", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -32,8 +32,10 @@ import { OnboardingShell as E } from "./lib/OnboardingShell/OnboardingShell.js";
|
|
|
32
32
|
import { SectionHeading as D } from "./lib/SectionHeading/SectionHeading.js";
|
|
33
33
|
import { DateDisclosure as O } from "./lib/DateDisclosure/DateDisclosure.js";
|
|
34
34
|
import { DueDateText as k } from "./lib/DueDateText/DueDateText.js";
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
|
|
35
|
+
import { AttentionStrip as A } from "./lib/AttentionStrip/AttentionStrip.js";
|
|
36
|
+
import { AttentionViewBar as j } from "./lib/AttentionStrip/AttentionViewBar.js";
|
|
37
|
+
import { ConsentBlock as M, ConsentLink as N } from "./lib/ConsentBlock/ConsentBlock.js";
|
|
38
|
+
import { FileDropZone as P } from "./lib/FileDropZone/FileDropZone.js";
|
|
39
|
+
import { CopyAddress as F } from "./lib/CopyAddress/CopyAddress.js";
|
|
40
|
+
import { UploadTray as I } from "./lib/UploadTray/UploadTray.js";
|
|
41
|
+
export { m as AddTile, b as AmountInput, A as AttentionStrip, j as AttentionViewBar, M as ConsentBlock, N as ConsentLink, F as CopyAddress, O as DateDisclosure, k as DueDateText, _ as ERROR_STATE_ID, t as EmbeddedToaster, g as EmptyState, v as ErrorState, P as FileDropZone, u as HostIsolationScope, C as InlineErrorAlert, d as Link, x as LoadingRegion, S as MaskedAccountNumber, y as NoAccessState, E as OnboardingShell, w as PAGINATION_FOOTER_LABELS_EN, T as PaginationFooter, D as SectionHeading, h as StatePanel, n as ToastNameMessage, r as UIFramework, a as UIProvider, I as UploadTray, p as WidgetContainer, f as WidgetFrame, o as registerDesignSystemEnsurer, s as registerUIRenderers, i as resolveUIFramework, e as toast, c as useDesignSystemEnsurer, l as useFrameworkRenderer };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { cn as e } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
// ../../libs/tesouro-embedded-components-react/shared/ui/dist/lib/AttentionStrip/AttentionStrip.js
|
|
4
|
+
var r = {
|
|
5
|
+
warning: "ttw:border-warning/40 ttw:bg-warning-subtle ttw:text-warning-foreground ttw:hover:border-warning",
|
|
6
|
+
destructive: "ttw:border-destructive/40 ttw:bg-destructive-subtle ttw:text-destructive-subtle-foreground ttw:hover:border-destructive"
|
|
7
|
+
}, i = {
|
|
8
|
+
warning: "ttw:border-warning ttw:bg-warning ttw:text-destructive-foreground",
|
|
9
|
+
destructive: "ttw:border-destructive ttw:bg-destructive ttw:text-destructive-foreground"
|
|
10
|
+
};
|
|
11
|
+
function a({ label: a, items: o, className: s }) {
|
|
12
|
+
return o.length === 0 ? null : /* @__PURE__ */ n("div", {
|
|
13
|
+
role: "group",
|
|
14
|
+
"aria-label": a,
|
|
15
|
+
className: e("ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2", s),
|
|
16
|
+
children: [/* @__PURE__ */ t("span", {
|
|
17
|
+
"aria-hidden": !0,
|
|
18
|
+
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
19
|
+
children: a
|
|
20
|
+
}), o.map((t) => /* @__PURE__ */ n("button", {
|
|
21
|
+
type: "button",
|
|
22
|
+
"aria-pressed": t.pressed,
|
|
23
|
+
onClick: t.onToggle,
|
|
24
|
+
className: e("ttw:inline-flex ttw:py-1 ttw:cursor-pointer ttw:items-center ttw:gap-1.5 ttw:rounded-full ttw:border ttw:pr-2.5 ttw:pl-2 ttw:text-xs ttw:font-medium ttw:whitespace-nowrap ttw:transition-colors ttw:duration-150", "ttw:outline-none ttw:focus-visible:outline-2 ttw:focus-visible:outline-offset-2 ttw:focus-visible:outline-ring", "ttw:[&_svg]:size-4 ttw:[&_svg]:shrink-0", t.pressed ? i[t.tone] : r[t.tone]),
|
|
25
|
+
children: [t.icon, t.label]
|
|
26
|
+
}, t.id))]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
export { a as AttentionStrip };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Button as e, Separator as t, cn as n } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { ChevronLeftIcon as a } from "lucide-react";
|
|
4
|
+
// ../../libs/tesouro-embedded-components-react/shared/ui/dist/lib/AttentionStrip/AttentionViewBar.js
|
|
5
|
+
var o = {
|
|
6
|
+
warning: "ttw:text-warning",
|
|
7
|
+
destructive: "ttw:text-destructive"
|
|
8
|
+
};
|
|
9
|
+
function s({ backLabel: s, backAccessibleLabel: c, title: l, tone: u, onBack: d }) {
|
|
10
|
+
return /* @__PURE__ */ i("div", {
|
|
11
|
+
className: "ttw:flex ttw:min-h-8 ttw:items-center ttw:gap-2",
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ i(e, {
|
|
14
|
+
type: "button",
|
|
15
|
+
variant: "ghost",
|
|
16
|
+
size: "sm",
|
|
17
|
+
"aria-label": c,
|
|
18
|
+
onClick: d,
|
|
19
|
+
className: "ttw:-ml-3 ttw:pl-0.5! ttw:text-muted-foreground",
|
|
20
|
+
children: [/* @__PURE__ */ r(a, { "aria-hidden": !0 }), s]
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ r(t, {
|
|
23
|
+
orientation: "vertical",
|
|
24
|
+
className: "ttw:data-[orientation=vertical]:h-4"
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ r("span", {
|
|
27
|
+
className: n("ttw:text-sm ttw:font-semibold", o[u]),
|
|
28
|
+
children: l
|
|
29
|
+
})
|
|
30
|
+
]
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
export { s as AttentionViewBar };
|
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.183",
|
|
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",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index20.js";
|