@tesouro/embedded-components-react 0.11.217 → 0.11.220

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.
Files changed (55) hide show
  1. package/README.md +7 -4
  2. package/dist/experimental/QuickViewWidget.d.ts +25 -13
  3. package/dist/experimental/index.d.ts +25 -13
  4. package/dist/index.css +388 -25
  5. package/dist/index.d.ts +18 -2
  6. package/dist/lib/AcceptDisclosuresWidget.d.ts +6 -2
  7. package/dist/lib/BankAccountsWidget.d.ts +4 -0
  8. package/dist/lib/ExpenseManagementWidget.d.ts +7 -0
  9. package/dist/lib/ReceivablesWidget.d.ts +1 -0
  10. package/dist/lib/WidgetSuite.d.ts +12 -0
  11. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +1 -2
  12. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/resolveAcceptDisclosuresContent.js +1 -2
  13. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +0 -1
  14. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index25.js +7 -0
  15. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index4.js +1 -1
  16. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index9.js +1 -1
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +5 -1
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index12.js +27 -13
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index29.js +1 -0
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js +3 -0
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +28 -30
  22. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/ui/dist/index2.js +1 -0
  23. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/ui/dist/index5.js +3 -0
  24. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/AccordionItemCard/AccordionItemCard.js +8 -3
  25. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesTransactionsFilterBar/ExpensesTransactionsFilterBar.js +1 -1
  26. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/FileViewer/FileViewer.js +3 -0
  27. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/FileViewer/labels.js +1 -0
  28. package/dist/libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/SingleInsight.js +47 -44
  29. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +66 -63
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index46.js +73 -74
  31. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index48.js +2 -1
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index51.js +4 -1
  33. package/dist/libs/tesouro-embedded-components-react/offer-widget/ui/dist/index7.js +1 -1
  34. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/bills/feature/dist/lib/BillsQuickViewWidget/BillsQuickViewWidgetFeature.js +0 -8
  35. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/bills/ui/dist/index3.js +13 -14
  36. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/CardsQuickViewWidgetFeature.js +1 -6
  37. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/ui/dist/index3.js +5 -5
  38. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/invoices/feature/dist/lib/InvoicesQuickViewWidget/InvoicesQuickViewWidgetFeature.js +0 -8
  39. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/invoices/ui/dist/index3.js +13 -14
  40. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/ui/dist/index6.js +1 -0
  41. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index12.js +5 -6
  42. package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index3.js +1 -1
  43. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  44. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index9.js +86 -77
  45. package/dist/libs/tesouro-embedded-components-react/shared/quick-view/ui/dist/index3.js +18 -19
  46. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/ConsentBlock/ConsentBlock.js +11 -12
  47. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/FdicLogo.js +76 -72
  48. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShell.js +7 -5
  49. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/UploadTray/UploadTray.js +49 -43
  50. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/theme/createTheme.js +20 -4
  51. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/theme/themeTokens.js +10 -10
  52. package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/feature/dist/lib/UploadReceiptWidget.js +1 -0
  53. package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/ui/dist/index2.js +1 -0
  54. package/dist/packages/shared-ui-shadcn/dist/index.js +141 -124
  55. package/package.json +1 -1
@@ -1,89 +1,92 @@
1
1
  import { Badge as e, Button as t, Switch as n, Tooltip as r, TooltipContent as i, TooltipProvider as a, TooltipTrigger as o, Typography as s } from "../../../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
2
  import { SINGLE_INSIGHT_LABELS_EN as c } from "./labels.js";
3
- import { jsx as l, jsxs as u } from "react/jsx-runtime";
4
- import { ArrowRight as d, X as f } from "lucide-react";
3
+ import { useId as l } from "react";
4
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
5
+ import { ArrowRight as f, X as p } from "lucide-react";
5
6
  // ../../libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/SingleInsight.js
6
- var p = ({ row: p, onDismissClick: m, labels: h, testIds: g }) => {
7
- let _ = {
7
+ var m = ({ row: m, onDismissClick: h, labels: g, testIds: _ }) => {
8
+ let v = {
8
9
  ...c,
9
- ...h
10
- }, v = p.showToggle || !!(p.navigationLinkText && p.onNavigationClick) || !!(p.actionText && p.onActionClick);
11
- return /* @__PURE__ */ u("div", {
10
+ ...g
11
+ }, y = l(), b = m.showToggle || !!(m.navigationLinkText && m.onNavigationClick) || !!(m.actionText && m.onActionClick);
12
+ return /* @__PURE__ */ d("div", {
12
13
  className: "ttw:rounded-lg ttw:bg-muted ttw:p-3",
13
- "data-testid": g?.root,
14
+ "data-testid": _?.root,
14
15
  children: [
15
- /* @__PURE__ */ u("div", {
16
+ /* @__PURE__ */ d("div", {
16
17
  className: "ttw:mb-1 ttw:flex ttw:flex-row ttw:items-center ttw:justify-between ttw:gap-2",
17
- children: [/* @__PURE__ */ u("div", {
18
+ children: [/* @__PURE__ */ d("div", {
18
19
  className: "ttw:flex ttw:min-w-0 ttw:flex-row ttw:items-center ttw:gap-2",
19
- children: [/* @__PURE__ */ l(e, {
20
+ children: [/* @__PURE__ */ u(e, {
20
21
  tone: "neutral",
21
- children: p.badgeLabel
22
- }), /* @__PURE__ */ l(s, {
22
+ children: m.badgeLabel
23
+ }), /* @__PURE__ */ u(s, {
23
24
  variant: "body2",
24
25
  color: "muted",
25
26
  component: "span",
26
- children: p.createdDate
27
+ children: m.createdDate
27
28
  })]
28
- }), p.showDismissButton && m ? /* @__PURE__ */ l(a, { children: /* @__PURE__ */ u(r, { children: [/* @__PURE__ */ l(o, {
29
+ }), m.showDismissButton && h ? /* @__PURE__ */ u(a, { children: /* @__PURE__ */ d(r, { children: [/* @__PURE__ */ u(o, {
29
30
  asChild: !0,
30
- children: /* @__PURE__ */ l(t, {
31
+ children: /* @__PURE__ */ u(t, {
31
32
  type: "button",
32
33
  variant: "ghost",
33
34
  size: "icon-sm",
34
35
  className: "ttw:shrink-0",
35
- "aria-label": _.dismissInsightAriaLabel,
36
- onClick: m,
37
- "data-testid": g?.dismiss,
38
- children: /* @__PURE__ */ l(f, { "aria-hidden": !0 })
36
+ "aria-label": v.dismissInsightAriaLabel,
37
+ onClick: h,
38
+ "data-testid": _?.dismiss,
39
+ children: /* @__PURE__ */ u(p, { "aria-hidden": !0 })
39
40
  })
40
- }), /* @__PURE__ */ l(i, {
41
+ }), /* @__PURE__ */ u(i, {
41
42
  sideOffset: 4,
42
- children: _.dismissInsightAriaLabel
43
+ children: v.dismissInsightAriaLabel
43
44
  })] }) }) : null]
44
45
  }),
45
- /* @__PURE__ */ l(s, {
46
+ /* @__PURE__ */ u(s, {
46
47
  variant: "body1",
47
48
  component: "p",
48
- className: v ? "ttw:mb-1" : "",
49
- children: p.displayText
49
+ className: b ? "ttw:mb-1" : "",
50
+ children: m.displayText
50
51
  }),
51
- p.showToggle ? /* @__PURE__ */ u("div", {
52
+ m.showToggle ? /* @__PURE__ */ d("div", {
52
53
  className: "ttw:mt-1 ttw:flex ttw:flex-row ttw:items-center ttw:gap-2",
53
- children: [p.onToggle ? /* @__PURE__ */ l(n, {
54
- checked: p.toggleChecked ?? !1,
55
- onCheckedChange: p.onToggle,
56
- "data-testid": g?.toggle
57
- }) : null, p.toggleLabel ? /* @__PURE__ */ l(s, {
54
+ children: [m.onToggle ? /* @__PURE__ */ u(n, {
55
+ checked: m.toggleChecked ?? !1,
56
+ onCheckedChange: m.onToggle,
57
+ "aria-labelledby": m.toggleLabel ? y : void 0,
58
+ "data-testid": _?.toggle
59
+ }) : null, m.toggleLabel ? /* @__PURE__ */ u(s, {
60
+ id: y,
58
61
  variant: "body2",
59
62
  component: "span",
60
- color: p.onToggle ? void 0 : "muted",
61
- children: p.toggleLabel
63
+ color: m.onToggle ? void 0 : "muted",
64
+ children: m.toggleLabel
62
65
  }) : null]
63
66
  }) : null,
64
- p.navigationLinkText && p.onNavigationClick ? /* @__PURE__ */ l("div", {
67
+ m.navigationLinkText && m.onNavigationClick ? /* @__PURE__ */ u("div", {
65
68
  className: "ttw:mt-1",
66
- children: /* @__PURE__ */ u(t, {
69
+ children: /* @__PURE__ */ d(t, {
67
70
  type: "button",
68
71
  variant: "link",
69
72
  className: "ttw:h-auto ttw:gap-1 ttw:p-0 ttw:font-medium",
70
- onClick: p.onNavigationClick,
71
- "data-testid": g?.navigation,
72
- children: [p.navigationLinkText, /* @__PURE__ */ l(d, { "aria-hidden": !0 })]
73
+ onClick: m.onNavigationClick,
74
+ "data-testid": _?.navigation,
75
+ children: [m.navigationLinkText, /* @__PURE__ */ u(f, { "aria-hidden": !0 })]
73
76
  })
74
77
  }) : null,
75
- p.actionText && p.onActionClick ? /* @__PURE__ */ l("div", {
78
+ m.actionText && m.onActionClick ? /* @__PURE__ */ u("div", {
76
79
  className: "ttw:mt-1",
77
- children: /* @__PURE__ */ u(t, {
80
+ children: /* @__PURE__ */ d(t, {
78
81
  type: "button",
79
82
  variant: "link",
80
83
  className: "ttw:h-auto ttw:gap-1 ttw:p-0 ttw:font-medium",
81
- onClick: p.onActionClick,
82
- "data-testid": g?.action,
83
- children: [p.actionText, /* @__PURE__ */ l(d, { "aria-hidden": !0 })]
84
+ onClick: m.onActionClick,
85
+ "data-testid": _?.action,
86
+ children: [m.actionText, /* @__PURE__ */ u(f, { "aria-hidden": !0 })]
84
87
  })
85
88
  }) : null
86
89
  ]
87
90
  });
88
91
  };
89
- export { c as SINGLE_INSIGHT_LABELS_EN, p as SingleInsight };
92
+ export { c as SINGLE_INSIGHT_LABELS_EN, m as SingleInsight };
@@ -7,7 +7,7 @@ function b({ idPrefix: b, card: x, picker: S, create: C, disabled: w, inputRef:
7
7
  let z = {
8
8
  ...f,
9
9
  ...R
10
- }, B = `${b}-customer-name`, V = `${b}-customer-name-description`, H = `${b}-customer-name-error`, U = `${b}-customer-card-error`, W = `${b}-customer-email`, G = `${b}-customer-email-error`, K = S.open ? S.options.find((e) => e.value === S.highlightedValue) : void 0;
10
+ }, B = `${b}-customer-name`, V = `${b}-customer-name-description`, H = `${b}-customer-name-error`, U = `${b}-customer-card-error`, W = `${b}-customer-email`, G = `${b}-customer-email-error`, K = S.open ? S.options.find((e) => e.value === S.highlightedValue) : void 0, q = S.open && !w, J = q && S.options.length > 0, Y = q ? S.options.length ? S.moreText : S.emptyText : void 0;
11
11
  return /* @__PURE__ */ h("div", {
12
12
  className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:rounded-xl ttw:border ttw:border-border ttw:p-6",
13
13
  children: [/* @__PURE__ */ h("div", {
@@ -81,57 +81,64 @@ function b({ idPrefix: b, card: x, picker: S, create: C, disabled: w, inputRef:
81
81
  }),
82
82
  /* @__PURE__ */ h("div", {
83
83
  className: "ttw:relative ttw:w-full",
84
- children: [/* @__PURE__ */ h("div", {
85
- className: d("ttw:flex ttw:h-9 ttw:w-full ttw:min-w-0 ttw:items-center ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:has-[input:focus-visible]:border-ring ttw:has-[input:focus-visible]:ring-[3px] ttw:has-[input:focus-visible]:ring-ring/50 ttw:has-[[aria-invalid=true]]:border-destructive", w && "ttw:opacity-50"),
86
- children: [
87
- S.isLoading ? /* @__PURE__ */ m(_, { className: "ttw:pointer-events-none ttw:ml-3 ttw:size-4 ttw:shrink-0 ttw:animate-spin ttw:text-muted-foreground" }) : /* @__PURE__ */ m(y, { className: "ttw:pointer-events-none ttw:ml-3 ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground" }),
88
- /* @__PURE__ */ m("input", {
89
- id: B,
90
- ref: T,
91
- role: "combobox",
92
- "aria-autocomplete": "list",
93
- "aria-expanded": S.open,
94
- "aria-controls": S.listId,
95
- "aria-activedescendant": K?.id,
96
- "aria-invalid": !!S.error || void 0,
97
- "aria-describedby": S.error ? `${V} ${H}` : V,
98
- autoComplete: "off",
99
- disabled: w,
100
- placeholder: S.placeholder,
101
- className: "ttw:h-full ttw:min-w-0 ttw:flex-1 ttw:bg-transparent ttw:pr-2 ttw:pl-2 ttw:text-base ttw:outline-none ttw:placeholder:text-muted-foreground ttw:disabled:cursor-not-allowed ttw:md:text-sm",
102
- value: S.inputValue,
103
- onFocus: D,
104
- onClick: D,
105
- onBlur: O,
106
- onChange: (e) => E(e.target.value),
107
- onKeyDown: (e) => {
108
- e.key === "ArrowDown" || e.key === "ArrowUp" ? (e.preventDefault(), A(e.key === "ArrowDown" ? "next" : "previous")) : e.key === "Enter" ? (e.preventDefault(), A("enter")) : e.key === "Tab" && S.open ? A("tab") : e.key === "Escape" && S.open && (e.stopPropagation(), A("escape"));
109
- }
110
- }),
111
- /* @__PURE__ */ m("button", {
112
- type: "button",
113
- tabIndex: -1,
114
- "aria-label": z.customerListToggleButton,
115
- "aria-controls": S.listId,
116
- "aria-expanded": S.open,
117
- disabled: w,
118
- className: "ttw:mr-[0.3rem] ttw:flex ttw:size-6 ttw:shrink-0 ttw:cursor-pointer ttw:items-center ttw:justify-center ttw:rounded-sm ttw:text-muted-foreground ttw:transition-all ttw:hover:bg-accent ttw:hover:text-accent-foreground ttw:disabled:pointer-events-none",
119
- onMouseDown: (e) => e.preventDefault(),
120
- onClick: k,
121
- children: /* @__PURE__ */ m(g, { className: "ttw:pointer-events-none ttw:size-4" })
122
- })
123
- ]
124
- }), S.open && !w ? /* @__PURE__ */ m("div", {
125
- role: "presentation",
126
- className: d("ttw:absolute ttw:top-full ttw:left-0 ttw:z-50 ttw:mt-1.5 ttw:w-full ttw:overflow-hidden ttw:rounded-md ttw:bg-popover ttw:text-popover-foreground ttw:shadow-md ttw:ring-1 ttw:ring-foreground/10", !S.options.length && "ttw:pointer-events-none"),
127
- onMouseDown: S.options.length ? (e) => e.preventDefault() : void 0,
128
- children: /* @__PURE__ */ h("ul", {
129
- id: S.listId,
130
- role: "listbox",
131
- "aria-labelledby": B,
132
- className: "ttw:max-h-87 ttw:scroll-py-1 ttw:overflow-y-auto ttw:p-1",
84
+ children: [
85
+ /* @__PURE__ */ h("div", {
86
+ className: d("ttw:flex ttw:h-9 ttw:w-full ttw:min-w-0 ttw:items-center ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:has-[input:focus-visible]:border-ring ttw:has-[input:focus-visible]:ring-[3px] ttw:has-[input:focus-visible]:ring-ring/50 ttw:has-[[aria-invalid=true]]:border-destructive", w && "ttw:opacity-50"),
133
87
  children: [
134
- S.options.map((e) => /* @__PURE__ */ h("li", {
88
+ S.isLoading ? /* @__PURE__ */ m(_, { className: "ttw:pointer-events-none ttw:ml-3 ttw:size-4 ttw:shrink-0 ttw:animate-spin ttw:text-muted-foreground" }) : /* @__PURE__ */ m(y, { className: "ttw:pointer-events-none ttw:ml-3 ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground" }),
89
+ /* @__PURE__ */ m("input", {
90
+ id: B,
91
+ ref: T,
92
+ role: "combobox",
93
+ "aria-autocomplete": "list",
94
+ "aria-expanded": J,
95
+ "aria-controls": J ? S.listId : void 0,
96
+ "aria-activedescendant": K?.id,
97
+ "aria-invalid": !!S.error || void 0,
98
+ "aria-describedby": S.error ? `${V} ${H}` : V,
99
+ autoComplete: "off",
100
+ disabled: w,
101
+ placeholder: S.placeholder,
102
+ className: "ttw:h-full ttw:min-w-0 ttw:flex-1 ttw:bg-transparent ttw:pr-2 ttw:pl-2 ttw:text-base ttw:outline-none ttw:placeholder:text-muted-foreground ttw:disabled:cursor-not-allowed ttw:md:text-sm",
103
+ value: S.inputValue,
104
+ onFocus: D,
105
+ onClick: D,
106
+ onBlur: O,
107
+ onChange: (e) => E(e.target.value),
108
+ onKeyDown: (e) => {
109
+ e.key === "ArrowDown" || e.key === "ArrowUp" ? (e.preventDefault(), A(e.key === "ArrowDown" ? "next" : "previous")) : e.key === "Enter" ? (e.preventDefault(), A("enter")) : e.key === "Tab" && S.open ? A("tab") : e.key === "Escape" && S.open && (e.stopPropagation(), A("escape"));
110
+ }
111
+ }),
112
+ /* @__PURE__ */ m("button", {
113
+ type: "button",
114
+ tabIndex: -1,
115
+ "aria-label": z.customerListToggleButton,
116
+ "aria-controls": J ? S.listId : void 0,
117
+ "aria-expanded": J,
118
+ disabled: w,
119
+ className: "ttw:mr-[0.3rem] ttw:flex ttw:size-6 ttw:shrink-0 ttw:cursor-pointer ttw:items-center ttw:justify-center ttw:rounded-sm ttw:text-muted-foreground ttw:transition-all ttw:hover:bg-accent ttw:hover:text-accent-foreground ttw:disabled:pointer-events-none",
120
+ onMouseDown: (e) => e.preventDefault(),
121
+ onClick: k,
122
+ children: /* @__PURE__ */ m(g, { className: "ttw:pointer-events-none ttw:size-4" })
123
+ })
124
+ ]
125
+ }),
126
+ /* @__PURE__ */ m("div", {
127
+ role: "status",
128
+ className: "ttw:sr-only",
129
+ children: Y
130
+ }),
131
+ q ? /* @__PURE__ */ h("div", {
132
+ role: "presentation",
133
+ className: d("ttw:absolute ttw:top-full ttw:left-0 ttw:z-50 ttw:mt-1.5 ttw:w-full ttw:overflow-hidden ttw:rounded-md ttw:bg-popover ttw:text-popover-foreground ttw:shadow-md ttw:ring-1 ttw:ring-foreground/10", !S.options.length && "ttw:pointer-events-none"),
134
+ onMouseDown: S.options.length ? (e) => e.preventDefault() : void 0,
135
+ children: [/* @__PURE__ */ m("ul", {
136
+ id: S.listId,
137
+ role: "listbox",
138
+ "aria-labelledby": B,
139
+ className: "ttw:max-h-87 ttw:scroll-py-1 ttw:overflow-y-auto ttw:p-1",
140
+ hidden: !S.options.length,
141
+ children: S.options.map((e) => /* @__PURE__ */ h("li", {
135
142
  id: e.id,
136
143
  role: "option",
137
144
  "aria-selected": e === K,
@@ -145,18 +152,14 @@ function b({ idPrefix: b, card: x, picker: S, create: C, disabled: w, inputRef:
145
152
  className: "ttw:min-w-0 ttw:truncate ttw:text-muted-foreground",
146
153
  children: e.email
147
154
  })]
148
- }, e.value)),
149
- S.options.length ? null : /* @__PURE__ */ m("li", {
150
- className: "ttw:py-2 ttw:text-center ttw:text-sm ttw:text-muted-foreground",
151
- children: S.emptyText
152
- }),
153
- S.options.length && S.moreText ? /* @__PURE__ */ m("li", {
154
- className: "ttw:py-2 ttw:text-center ttw:text-sm ttw:text-muted-foreground",
155
- children: S.moreText
156
- }) : null
157
- ]
158
- })
159
- }) : null]
155
+ }, e.value))
156
+ }), Y ? /* @__PURE__ */ m("p", {
157
+ "aria-hidden": !0,
158
+ className: "ttw:m-0 ttw:py-2 ttw:text-center ttw:text-sm ttw:text-muted-foreground",
159
+ children: Y
160
+ }) : null]
161
+ }) : null
162
+ ]
160
163
  }),
161
164
  /* @__PURE__ */ m(a, {
162
165
  id: V,