@tesouro/embedded-components-react 0.11.69 → 0.11.71

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 (23) hide show
  1. package/dist/index.css +6 -13
  2. package/dist/index.d.ts +18 -2
  3. package/dist/lib/WidgetSuite.d.ts +18 -2
  4. package/dist/libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/BalancesWidget.js +33 -34
  5. package/dist/libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/InsightsWidget.js +30 -32
  6. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index14.js +29 -30
  7. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +3 -4
  9. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetContainer/WidgetContainer.js +3 -4
  10. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetFrame/WidgetFrame.js +14 -21
  11. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransfersWidget.js +72 -74
  12. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/WidgetSuiteProvider.js +12 -4
  13. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/labels.js +9 -0
  14. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/BillPaySection.js +12 -9
  15. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/CardsSection.js +25 -23
  16. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/DashboardQuickActions.js +74 -0
  17. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/DashboardSection.js +20 -16
  18. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/InvoicingSection.js +15 -9
  19. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/SettingsSection.js +15 -8
  20. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/TransfersSection.js +23 -21
  21. package/dist/packages/shared-ui-shadcn/dist/index.js +1040 -996
  22. package/package.json +1 -1
  23. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetTitleWithIconAndChildren/WidgetTitleWithIconAndChildren.js +0 -12
package/dist/index.css CHANGED
@@ -620,10 +620,6 @@
620
620
  width: 1em;
621
621
  height: 1em;
622
622
  }
623
- .ttw\:size-\[18px\] {
624
- width: 18px;
625
- height: 18px;
626
- }
627
623
  .ttw\:size-\[23px\] {
628
624
  width: 23px;
629
625
  height: 23px;
@@ -2970,12 +2966,6 @@
2970
2966
  background-color: color-mix(in oklab, var(--ttw-primary) 10%, transparent);
2971
2967
  }
2972
2968
  }
2973
- .ttw\:bg-primary\/15 {
2974
- background-color: var(--ttw-primary);
2975
- @supports (color: color-mix(in lab, red, red)) {
2976
- background-color: color-mix(in oklab, var(--ttw-primary) 15%, transparent);
2977
- }
2978
- }
2979
2969
  .ttw\:bg-purple-100 {
2980
2970
  background-color: var(--ttw-color-purple-100);
2981
2971
  }
@@ -3942,6 +3932,9 @@
3942
3932
  .ttw\:pr-3 {
3943
3933
  padding-right: calc(var(--ttw-spacing) * 3);
3944
3934
  }
3935
+ .ttw\:pr-4 {
3936
+ padding-right: calc(var(--ttw-spacing) * 4);
3937
+ }
3945
3938
  .ttw\:pr-8 {
3946
3939
  padding-right: calc(var(--ttw-spacing) * 8);
3947
3940
  }
@@ -5819,6 +5812,9 @@
5819
5812
  .ttw\:has-\[\>svg\]\:pr-0:has( > svg) {
5820
5813
  padding-right: 0px;
5821
5814
  }
5815
+ .ttw\:has-\[\>svg\]\:pl-1:has( > svg) {
5816
+ padding-left: var(--ttw-spacing);
5817
+ }
5822
5818
  .ttw\:aria-disabled\:pointer-events-none[aria-disabled="true"] {
5823
5819
  pointer-events: none;
5824
5820
  }
@@ -6827,9 +6823,6 @@
6827
6823
  .ttw\:\[\&\>svg\]\:text-muted-foreground > svg {
6828
6824
  color: var(--ttw-muted-foreground);
6829
6825
  }
6830
- .ttw\:\[\&\>svg\]\:text-primary > svg {
6831
- color: var(--ttw-primary);
6832
- }
6833
6826
  .ttw\:\[\&\>svg\]\:text-sidebar-accent-foreground > svg {
6834
6827
  color: var(
6835
6828
  --ttw-sidebar-accent-foreground,
package/dist/index.d.ts CHANGED
@@ -4336,6 +4336,21 @@ interface WidgetSuiteSectionTitleLabels {
4336
4336
  * Both are places the gate cannot proceed, and neither is reachable by a correct
4337
4337
  * integration against a healthy API.
4338
4338
  */
4339
+ /**
4340
+ * The quick actions row atop the Dashboard section. Suite-owned rather than
4341
+ * taken from the dashboards' `QuickActions`, which lives outside the embedded
4342
+ * scope; the wording is kept the same so the three surfaces read alike.
4343
+ */
4344
+ interface WidgetSuiteQuickActionsLabels {
4345
+ /** Accessible name of the button group. */
4346
+ groupLabel: string;
4347
+ transferMoney: string;
4348
+ payBill: string;
4349
+ createInvoice: string;
4350
+ uploadReceipt: string;
4351
+ issueCard: string;
4352
+ inviteTeammate: string;
4353
+ }
4339
4354
  interface WidgetSuiteDisclosureLabels {
4340
4355
  /**
4341
4356
  * The first init fetch failed before the disclosure flags were known. The suite
@@ -4463,7 +4478,7 @@ interface WidgetSuiteSectionContentLabels {
4463
4478
  * Every string the suite puts on screen, including the copy inside the widgets
4464
4479
  * it mounts. Two kinds of group, differing in who holds the default:
4465
4480
  *
4466
- * - **Suite-owned** — `shell`, `menu`, `sectionTitle`, `disclosure`,
4481
+ * - **Suite-owned** — `shell`, `menu`, `sectionTitle`, `quickActions`, `disclosure`,
4467
4482
  * `onboardingGate`, and the two card-list titles. Defaulted in
4468
4483
  * {@link WIDGET_SUITE_LABELS_EN}, with an override merged over it.
4469
4484
  * - **Forwarded** — `onboarding`, and every other key under `sections`.
@@ -4480,6 +4495,7 @@ interface WidgetSuiteLabels {
4480
4495
  shell: WidgetSuiteShellLabels;
4481
4496
  menu: WidgetSuiteMenuLabels;
4482
4497
  sectionTitle: WidgetSuiteSectionTitleLabels;
4498
+ quickActions: WidgetSuiteQuickActionsLabels;
4483
4499
  disclosure: WidgetSuiteDisclosureLabels;
4484
4500
  onboardingGate: WidgetSuiteOnboardingGateLabels;
4485
4501
  /** Forwarded to the entry-point onboarding widget, untouched. No default. */
@@ -6583,4 +6599,4 @@ interface CheckAmountAndDetailScreenProps {
6583
6599
  type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
6584
6600
 
6585
6601
  export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BANKING_COMPLIANCE_BANNER_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BankingComplianceBannerWidget, BillPayWidget, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, CustomersWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, InsightsWidget, LinkedAccountsWidget, OFFER_WIDGET_LABELS_EN, OFFER_WIDGET_STATUS_LABELS_EN, OfferBenefitIcon, OfferWidget, OnboardingSuppressionReason, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, RESULT_LABELS_EN, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, Scope, SettingsSection, SettingsWidget, THEME_TOKEN_NAMES, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TransfersWidget, UIFramework, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, configureCsp, createTheme, getGlobalWidgetConfig, getGlobalWidgetInitState, isScope, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, themeIssues, themeToCss, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
6586
- export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BankingComplianceBannerLabels, BankingComplianceBannerWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CspConfig, CustomersWidgetOwnProps, CustomersWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$2 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseStatusBadgeLabels, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, OfferStatusLabelValues, OfferStatusNoticeLabels, OfferWidgetBenefit, OfferWidgetContent, OfferWidgetHowItWorksStep, OfferWidgetImage, OfferWidgetLabels, OfferWidgetProps, OfferWidgetStatusLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$1 as SettingsWidgetFeatureLabels, Labels as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, ThemeInput, ThemeIssue, ThemeTokenKey, ThemeTokenName, ThemeTokens, TransactionDetailsActionsLabels, TransactionDetailsLabels, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
6602
+ export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BankingComplianceBannerLabels, BankingComplianceBannerWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CspConfig, CustomersWidgetOwnProps, CustomersWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$2 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseStatusBadgeLabels, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, OfferStatusLabelValues, OfferStatusNoticeLabels, OfferWidgetBenefit, OfferWidgetContent, OfferWidgetHowItWorksStep, OfferWidgetImage, OfferWidgetLabels, OfferWidgetProps, OfferWidgetStatusLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$1 as SettingsWidgetFeatureLabels, Labels as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, ThemeInput, ThemeIssue, ThemeTokenKey, ThemeTokenName, ThemeTokens, TransactionDetailsActionsLabels, TransactionDetailsLabels, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteQuickActionsLabels, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
@@ -3255,6 +3255,21 @@ interface WidgetSuiteSectionTitleLabels {
3255
3255
  * Both are places the gate cannot proceed, and neither is reachable by a correct
3256
3256
  * integration against a healthy API.
3257
3257
  */
3258
+ /**
3259
+ * The quick actions row atop the Dashboard section. Suite-owned rather than
3260
+ * taken from the dashboards' `QuickActions`, which lives outside the embedded
3261
+ * scope; the wording is kept the same so the three surfaces read alike.
3262
+ */
3263
+ interface WidgetSuiteQuickActionsLabels {
3264
+ /** Accessible name of the button group. */
3265
+ groupLabel: string;
3266
+ transferMoney: string;
3267
+ payBill: string;
3268
+ createInvoice: string;
3269
+ uploadReceipt: string;
3270
+ issueCard: string;
3271
+ inviteTeammate: string;
3272
+ }
3258
3273
  interface WidgetSuiteDisclosureLabels {
3259
3274
  /**
3260
3275
  * The first init fetch failed before the disclosure flags were known. The suite
@@ -3382,7 +3397,7 @@ interface WidgetSuiteSectionContentLabels {
3382
3397
  * Every string the suite puts on screen, including the copy inside the widgets
3383
3398
  * it mounts. Two kinds of group, differing in who holds the default:
3384
3399
  *
3385
- * - **Suite-owned** — `shell`, `menu`, `sectionTitle`, `disclosure`,
3400
+ * - **Suite-owned** — `shell`, `menu`, `sectionTitle`, `quickActions`, `disclosure`,
3386
3401
  * `onboardingGate`, and the two card-list titles. Defaulted in
3387
3402
  * {@link WIDGET_SUITE_LABELS_EN}, with an override merged over it.
3388
3403
  * - **Forwarded** — `onboarding`, and every other key under `sections`.
@@ -3399,6 +3414,7 @@ interface WidgetSuiteLabels {
3399
3414
  shell: WidgetSuiteShellLabels;
3400
3415
  menu: WidgetSuiteMenuLabels;
3401
3416
  sectionTitle: WidgetSuiteSectionTitleLabels;
3417
+ quickActions: WidgetSuiteQuickActionsLabels;
3402
3418
  disclosure: WidgetSuiteDisclosureLabels;
3403
3419
  onboardingGate: WidgetSuiteOnboardingGateLabels;
3404
3420
  /** Forwarded to the entry-point onboarding widget, untouched. No default. */
@@ -3546,4 +3562,4 @@ interface WidgetSuiteProps extends WidgetProviderProps {
3546
3562
  declare function WidgetSuite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: WidgetSuiteProps): React.JSX.Element;
3547
3563
 
3548
3564
  export { WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetSuite, WidgetSuiteSectionId };
3549
- export type { WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels };
3565
+ export type { WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteQuickActionsLabels, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels };
@@ -6,87 +6,86 @@ import { LoadingRegion as u } from "../../../../../shared/ui/dist/lib/LoadingReg
6
6
  import "../../../../../shared/ui/dist/index.js";
7
7
  import { BALANCES_WIDGET_LABELS_EN as d } from "./labels.js";
8
8
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
9
- import { ArrowRight as m, Info as h, Landmark as g } from "lucide-react";
9
+ import { ArrowRight as m, Info as h } from "lucide-react";
10
10
  // ../../libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/BalancesWidget.js
11
- var _ = ({ accountRows: _, children: v, isLoading: y, isError: b, onRetry: x, totalBalance: S, totalBalanceSpokenLabel: C, shouldTotalBalanceDisplay: w, shouldShowViewAllAccounts: T, onViewAllAccountsClicked: E, labels: D, testIds: O }) => {
12
- let k = {
11
+ var g = ({ accountRows: g, children: _, isLoading: v, isError: y, onRetry: b, totalBalance: x, totalBalanceSpokenLabel: S, shouldTotalBalanceDisplay: C, shouldShowViewAllAccounts: w, onViewAllAccountsClicked: T, labels: E, testIds: D }) => {
12
+ let O = {
13
13
  ...d,
14
- ...D
14
+ ...E
15
15
  };
16
16
  return /* @__PURE__ */ f(s, {
17
- icon: /* @__PURE__ */ f(g, {}),
18
- title: k.widgetTitle,
19
- children: y ? /* @__PURE__ */ f(u, {
17
+ title: O.widgetTitle,
18
+ children: v ? /* @__PURE__ */ f(u, {
20
19
  isLoading: !0,
21
- loadingLabel: k.loadingLabel,
20
+ loadingLabel: O.loadingLabel,
22
21
  children: /* @__PURE__ */ f(n, {
23
- "data-testid": O?.skeleton,
22
+ "data-testid": D?.skeleton,
24
23
  height: 80,
25
24
  width: "100%",
26
25
  className: "ttw:rounded-md"
27
26
  })
28
- }) : b ? /* @__PURE__ */ f(l, {
29
- title: k.loadErrorTitle,
30
- description: k.loadErrorDescription,
31
- retryLabel: k.loadErrorRetry,
32
- onRetry: x,
33
- testId: O?.error
34
- }) : _.length > 0 ? /* @__PURE__ */ p("div", {
27
+ }) : y ? /* @__PURE__ */ f(l, {
28
+ title: O.loadErrorTitle,
29
+ description: O.loadErrorDescription,
30
+ retryLabel: O.loadErrorRetry,
31
+ onRetry: b,
32
+ testId: D?.error
33
+ }) : g.length > 0 ? /* @__PURE__ */ p("div", {
35
34
  className: "ttw:-mt-5 ttw:flex ttw:flex-col ttw:gap-4",
36
35
  children: [/* @__PURE__ */ p("div", {
37
36
  className: "ttw:flex ttw:min-w-0 ttw:flex-col",
38
- children: [w && /* @__PURE__ */ p("div", {
37
+ children: [C && /* @__PURE__ */ p("div", {
39
38
  className: "ttw:flex ttw:flex-col ttw:gap-1 ttw:pb-4",
40
39
  children: [
41
40
  /* @__PURE__ */ f(t, {
42
41
  className: "ttw:min-w-0 ttw:truncate",
43
- "aria-hidden": C ? !0 : void 0,
44
- children: S
42
+ "aria-hidden": S ? !0 : void 0,
43
+ children: x
45
44
  }),
46
- C && /* @__PURE__ */ f("span", {
45
+ S && /* @__PURE__ */ f("span", {
47
46
  className: "ttw:sr-only",
48
- children: C
47
+ children: S
49
48
  }),
50
49
  /* @__PURE__ */ p("div", {
51
50
  className: "ttw:flex ttw:min-w-0 ttw:items-center ttw:gap-1",
52
51
  children: [/* @__PURE__ */ f("span", {
53
- "data-testid": O?.totalAvailableLabel,
52
+ "data-testid": D?.totalAvailableLabel,
54
53
  className: "ttw:text-sm ttw:text-muted-foreground",
55
- children: k.totalAvailableBalance
54
+ children: O.totalAvailableBalance
56
55
  }), /* @__PURE__ */ f(a, { children: /* @__PURE__ */ p(r, { children: [/* @__PURE__ */ f(o, {
57
56
  asChild: !0,
58
57
  children: /* @__PURE__ */ f(e, {
59
58
  type: "button",
60
59
  variant: "ghost",
61
60
  size: "icon-sm",
62
- "aria-label": k.totalAvailableBalanceInfoAriaLabel,
63
- "data-testid": O?.totalBalanceInfo,
61
+ "aria-label": O.totalAvailableBalanceInfoAriaLabel,
62
+ "data-testid": D?.totalBalanceInfo,
64
63
  className: "ttw:shrink-0",
65
64
  children: /* @__PURE__ */ f(h, { "aria-hidden": !0 })
66
65
  })
67
66
  }), /* @__PURE__ */ f(i, {
68
67
  sideOffset: 4,
69
68
  className: "ttw:max-w-sm ttw:text-left",
70
- children: k.totalAvailableBalanceTooltip
69
+ children: O.totalAvailableBalanceTooltip
71
70
  })] }) })]
72
71
  })
73
72
  ]
74
73
  }), /* @__PURE__ */ f("div", {
75
74
  className: "ttw:flex ttw:min-w-0 ttw:flex-col",
76
- children: v
75
+ children: _
77
76
  })]
78
- }), T && /* @__PURE__ */ p(e, {
77
+ }), w && /* @__PURE__ */ p(e, {
79
78
  type: "button",
80
79
  variant: "link",
81
- onClick: E,
80
+ onClick: T,
82
81
  className: "ttw:h-auto ttw:self-start ttw:p-0",
83
- children: [k.viewAllAccounts, /* @__PURE__ */ f(m, { "aria-hidden": !0 })]
82
+ children: [O.viewAllAccounts, /* @__PURE__ */ f(m, { "aria-hidden": !0 })]
84
83
  })]
85
84
  }) : /* @__PURE__ */ f(c, {
86
- title: k.noBalancesFound,
87
- description: k.noBalancesDescription,
88
- testId: O?.empty
85
+ title: O.noBalancesFound,
86
+ description: O.noBalancesDescription,
87
+ testId: D?.empty
89
88
  })
90
89
  });
91
90
  };
92
- export { d as BALANCES_WIDGET_LABELS_EN, _ as BalancesWidget };
91
+ export { d as BALANCES_WIDGET_LABELS_EN, g as BalancesWidget };
@@ -6,67 +6,65 @@ import { LoadingRegion as c } from "../../../../../shared/ui/dist/lib/LoadingReg
6
6
  import "../../../../../shared/ui/dist/index.js";
7
7
  import { INSIGHTS_WIDGET_LABELS_EN as l } from "./labels.js";
8
8
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
9
- import { Sparkles as f } from "lucide-react";
10
9
  // ../../libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/InsightsWidget.js
11
- var p = (e) => e === "active" || e === "dismissed", m = ({ hasInsights: m, children: h, activeFilter: g, setActiveFilter: _, activeCount: v, dismissedCount: y, isLoading: b, isError: x, onRetry: S, labels: C, testIds: w }) => {
12
- let T = {
10
+ var f = (e) => e === "active" || e === "dismissed", p = ({ hasInsights: p, children: m, activeFilter: h, setActiveFilter: g, activeCount: _, dismissedCount: v, isLoading: y, isError: b, onRetry: x, labels: S, testIds: C }) => {
11
+ let w = {
13
12
  ...l,
14
- ...C
13
+ ...S
15
14
  };
16
15
  return /* @__PURE__ */ u(a, {
17
- icon: /* @__PURE__ */ u(f, {}),
18
- title: T.widgetTitle,
19
- children: b ? /* @__PURE__ */ u(c, {
16
+ title: w.widgetTitle,
17
+ children: y ? /* @__PURE__ */ u(c, {
20
18
  isLoading: !0,
21
- loadingLabel: T.loadingLabel,
19
+ loadingLabel: w.loadingLabel,
22
20
  children: /* @__PURE__ */ u(e, {
23
- "data-testid": w?.skeleton,
21
+ "data-testid": C?.skeleton,
24
22
  height: 80,
25
23
  width: "100%",
26
24
  className: "ttw:rounded-md"
27
25
  })
28
- }) : x ? /* @__PURE__ */ u(s, {
29
- title: T.loadErrorTitle,
30
- description: T.loadErrorDescription,
31
- retryLabel: T.loadErrorRetry,
32
- onRetry: S,
33
- testId: w?.error
26
+ }) : b ? /* @__PURE__ */ u(s, {
27
+ title: w.loadErrorTitle,
28
+ description: w.loadErrorDescription,
29
+ retryLabel: w.loadErrorRetry,
30
+ onRetry: x,
31
+ testId: C?.error
34
32
  }) : /* @__PURE__ */ d(t, {
35
- value: g,
33
+ value: h,
36
34
  onValueChange: (e) => {
37
- p(e) && _(e);
35
+ f(e) && g(e);
38
36
  },
39
37
  className: "ttw:gap-4",
40
38
  children: [
41
39
  /* @__PURE__ */ d(r, {
42
40
  variant: "pills",
43
- "aria-label": T.filterTabsLabel,
41
+ "aria-label": w.filterTabsLabel,
44
42
  children: [/* @__PURE__ */ u(i, {
45
43
  value: "active",
46
- count: v,
47
- "data-testid": w?.activeTab,
48
- children: T.activeTab
44
+ count: _,
45
+ "data-testid": C?.activeTab,
46
+ children: w.activeTab
49
47
  }), /* @__PURE__ */ u(i, {
50
48
  value: "dismissed",
51
- count: y,
52
- children: T.dismissedTab
49
+ count: v,
50
+ children: w.dismissedTab
53
51
  })]
54
52
  }),
55
- /* @__PURE__ */ u(n, { value: g === "active" ? "dismissed" : "active" }),
53
+ /* @__PURE__ */ u(n, { value: h === "active" ? "dismissed" : "active" }),
56
54
  /* @__PURE__ */ u(n, {
57
- value: g,
58
- children: m ? /* @__PURE__ */ u("div", {
55
+ value: h,
56
+ children: p ? /* @__PURE__ */ u("div", {
59
57
  className: "ttw:flex ttw:max-h-80 ttw:flex-col ttw:gap-2 ttw:overflow-y-auto",
60
- "data-testid": w?.list,
61
- children: h
58
+ "data-testid": C?.list,
59
+ children: m
62
60
  }) : /* @__PURE__ */ u(o, {
63
- title: T.noInsightsFound,
64
- description: g === "active" ? T.noInsightsDescription : void 0,
65
- testId: w?.empty
61
+ title: w.noInsightsFound,
62
+ description: h === "active" ? w.noInsightsDescription : void 0,
63
+ testId: C?.empty
66
64
  })
67
65
  })
68
66
  ]
69
67
  })
70
68
  });
71
69
  };
72
- export { l as INSIGHTS_WIDGET_LABELS_EN, m as InsightsWidget };
70
+ export { l as INSIGHTS_WIDGET_LABELS_EN, p as InsightsWidget };
@@ -4,49 +4,48 @@
4
4
  "use client";
5
5
  import { Button as e, Skeleton as t, TooltipProvider as n } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
6
  import { Link as ee } from "../../../shared/ui/dist/lib/Link/Link.js";
7
- import { StatePanel as te } from "../../../shared/ui/dist/lib/StatePanel/StatePanel.js";
8
- import { ErrorState as ne } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
9
- import { LoadingRegion as r } from "../../../shared/ui/dist/lib/LoadingRegion/LoadingRegion.js";
10
- import { WidgetTitleWithIconAndChildren as i } from "../../../shared/ui/dist/lib/WidgetTitleWithIconAndChildren/WidgetTitleWithIconAndChildren.js";
7
+ import { WidgetFrame as te } from "../../../shared/ui/dist/lib/WidgetFrame/WidgetFrame.js";
8
+ import { StatePanel as r } from "../../../shared/ui/dist/lib/StatePanel/StatePanel.js";
9
+ import { ErrorState as i } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
10
+ import { LoadingRegion as a } from "../../../shared/ui/dist/lib/LoadingRegion/LoadingRegion.js";
11
11
  import "../../../shared/ui/dist/index.js";
12
- import { DEFAULT_LABELS as a } from "./index13.js";
13
- import { AccountRow as o } from "./index2.js";
14
- import { linkedAccountsWidgetUiTestIds as s } from "./index6.js";
15
- import { ConnectAccountDialog as c } from "./index7.js";
16
- import { EditAccountDialog as l } from "./index8.js";
17
- import { SendDepositsDialog as u } from "./index10.js";
18
- import { UnlinkAccountDialog as d } from "./index11.js";
19
- import { VerifyAccountDialog as f } from "./index12.js";
12
+ import { DEFAULT_LABELS as o } from "./index13.js";
13
+ import { AccountRow as s } from "./index2.js";
14
+ import { linkedAccountsWidgetUiTestIds as c } from "./index6.js";
15
+ import { ConnectAccountDialog as l } from "./index7.js";
16
+ import { EditAccountDialog as u } from "./index8.js";
17
+ import { SendDepositsDialog as d } from "./index10.js";
18
+ import { UnlinkAccountDialog as f } from "./index11.js";
19
+ import { VerifyAccountDialog as ne } from "./index12.js";
20
20
  import { Fragment as re, jsx as p, jsxs as m } from "react/jsx-runtime";
21
21
  import { LinkIcon as h } from "lucide-react";
22
22
  // ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index14.js
23
- function g({ labels: g, rows: _, isLoading: v = !1, isError: y = !1, onRetry: b, isConnectOpen: x, isEditOpen: S, isVerifyOpen: C, isUnlinkOpen: w, isSendDepositsOpen: T = !1, isSubmitting: E = !1, isActionDisabled: D = !1, isAuthPending: O = !1, canConnect: k = !0, isConnectError: A = !1, isEditError: j = !1, isVerifyError: M = !1, isUnlinkError: N = !1, isSendDepositsError: P = !1, learnMoreUrl: F, unlinkAccountNumber: I, sendDepositsAccountNumber: L, verifyAccountName: R, verifyAccountNumber: z, connectStep: B, accessRows: V, accessGrantedCount: H, isTeamMembersLoading: U = !1, isTeamMembersError: ie = !1, isConnectRequiredErrorVisible: W = !1, isConnectRoutingNumberInvalid: G = !1, connectErrorMessage: K, isVerifyFirstAmountInvalid: q = !1, isVerifySecondAmountInvalid: J = !1, isVerifyRequiredErrorVisible: Y = !1, connectSummary: ae, connectForm: oe, editForm: se, verifyForm: ce, onConnectOpenChange: X, onEditOpenChange: le, onVerifyOpenChange: ue, onUnlinkOpenChange: de, onSendDepositsOpenChange: fe, onConnectFormChange: pe, onEditFormChange: me, onVerifyFormChange: he, onConnectNext: ge, onConnectBack: _e, onTeamMembersRetry: ve, onEditSubmit: ye, onVerifySubmit: be, onUnlinkConfirm: xe, onSendDepositsConfirm: Se }) {
23
+ function g({ labels: g, rows: _, isLoading: v = !1, isError: y = !1, onRetry: b, isConnectOpen: x, isEditOpen: S, isVerifyOpen: C, isUnlinkOpen: w, isSendDepositsOpen: T = !1, isSubmitting: E = !1, isActionDisabled: D = !1, isAuthPending: O = !1, canConnect: k = !0, isConnectError: A = !1, isEditError: j = !1, isVerifyError: M = !1, isUnlinkError: N = !1, isSendDepositsError: P = !1, learnMoreUrl: F, unlinkAccountNumber: I, sendDepositsAccountNumber: L, verifyAccountName: R, verifyAccountNumber: z, connectStep: B, accessRows: V, accessGrantedCount: H, isTeamMembersLoading: ie = !1, isTeamMembersError: U = !1, isConnectRequiredErrorVisible: W = !1, isConnectRoutingNumberInvalid: G = !1, connectErrorMessage: K, isVerifyFirstAmountInvalid: q = !1, isVerifySecondAmountInvalid: J = !1, isVerifyRequiredErrorVisible: Y = !1, connectSummary: ae, connectForm: oe, editForm: se, verifyForm: ce, onConnectOpenChange: X, onEditOpenChange: le, onVerifyOpenChange: ue, onUnlinkOpenChange: de, onSendDepositsOpenChange: fe, onConnectFormChange: pe, onEditFormChange: me, onVerifyFormChange: he, onConnectNext: ge, onConnectBack: _e, onTeamMembersRetry: ve, onEditSubmit: ye, onVerifySubmit: be, onUnlinkConfirm: xe, onSendDepositsConfirm: Se }) {
24
24
  let Z = {
25
- ...a,
25
+ ...o,
26
26
  ...g
27
27
  }, Q = !v && !y && _.length === 0, $ = /* @__PURE__ */ p(e, {
28
28
  type: "button",
29
29
  size: "sm",
30
30
  disabled: D,
31
- "data-testid": s.connectAccountButton,
31
+ "data-testid": c.connectAccountButton,
32
32
  onClick: () => X(!0),
33
33
  children: Z.connectButton
34
34
  });
35
35
  return /* @__PURE__ */ m(re, { children: [
36
- /* @__PURE__ */ p(i, {
37
- icon: /* @__PURE__ */ p(h, {}),
36
+ /* @__PURE__ */ p(te, {
38
37
  title: Z.title,
39
- headerActions: k && !Q ? $ : void 0,
40
- children: y ? /* @__PURE__ */ p(ne, {
38
+ action: k && !Q ? $ : void 0,
39
+ children: y ? /* @__PURE__ */ p(i, {
41
40
  title: Z.errorTitle,
42
41
  retryLabel: Z.retryButton,
43
42
  onRetry: b
44
- }) : Q ? /* @__PURE__ */ p(te, {
43
+ }) : Q ? /* @__PURE__ */ p(r, {
45
44
  kind: "empty",
46
45
  icon: /* @__PURE__ */ p(h, {}),
47
46
  title: Z.emptyTitle,
48
47
  description: Z.emptyDescription,
49
- testId: s.emptyState,
48
+ testId: c.emptyState,
50
49
  action: k || F ? /* @__PURE__ */ m("div", {
51
50
  className: "ttw:flex ttw:flex-col ttw:items-center ttw:gap-3",
52
51
  children: [k ? $ : null, F ? /* @__PURE__ */ p(ee, {
@@ -57,7 +56,7 @@ function g({ labels: g, rows: _, isLoading: v = !1, isError: y = !1, onRetry: b,
57
56
  children: Z.learnMoreButton
58
57
  }) : null]
59
58
  }) : void 0
60
- }) : /* @__PURE__ */ p(r, {
59
+ }) : /* @__PURE__ */ p(a, {
61
60
  isLoading: v,
62
61
  loadingLabel: Z.loadingLabel,
63
62
  children: v ? /* @__PURE__ */ m("div", {
@@ -65,14 +64,14 @@ function g({ labels: g, rows: _, isLoading: v = !1, isError: y = !1, onRetry: b,
65
64
  children: [/* @__PURE__ */ p(t, { className: "ttw:h-11 ttw:w-full" }), /* @__PURE__ */ p(t, { className: "ttw:h-11 ttw:w-full" })]
66
65
  }) : /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p("ul", {
67
66
  className: "ttw:-my-3 ttw:flex ttw:flex-col ttw:divide-y ttw:divide-border",
68
- children: _.map((e) => /* @__PURE__ */ p(o, {
67
+ children: _.map((e) => /* @__PURE__ */ p(s, {
69
68
  row: e,
70
69
  isActionDisabled: D
71
70
  }, e.key))
72
71
  }) })
73
72
  })
74
73
  }),
75
- /* @__PURE__ */ p(c, {
74
+ /* @__PURE__ */ p(l, {
76
75
  open: x,
77
76
  labels: Z,
78
77
  connectStep: B,
@@ -80,8 +79,8 @@ function g({ labels: g, rows: _, isLoading: v = !1, isError: y = !1, onRetry: b,
80
79
  accessRows: V,
81
80
  accessGrantedCount: H,
82
81
  connectSummary: ae,
83
- isTeamMembersLoading: U,
84
- isTeamMembersError: ie,
82
+ isTeamMembersLoading: ie,
83
+ isTeamMembersError: U,
85
84
  isSubmitting: E,
86
85
  isActionDisabled: D,
87
86
  canConnect: k,
@@ -95,7 +94,7 @@ function g({ labels: g, rows: _, isLoading: v = !1, isError: y = !1, onRetry: b,
95
94
  onConnectBack: _e,
96
95
  onTeamMembersRetry: ve
97
96
  }),
98
- /* @__PURE__ */ p(l, {
97
+ /* @__PURE__ */ p(u, {
99
98
  open: S,
100
99
  labels: Z,
101
100
  editForm: se,
@@ -107,7 +106,7 @@ function g({ labels: g, rows: _, isLoading: v = !1, isError: y = !1, onRetry: b,
107
106
  onEditFormChange: me,
108
107
  onEditSubmit: ye
109
108
  }),
110
- /* @__PURE__ */ p(f, {
109
+ /* @__PURE__ */ p(ne, {
111
110
  open: C,
112
111
  labels: Z,
113
112
  verifyForm: ce,
@@ -124,7 +123,7 @@ function g({ labels: g, rows: _, isLoading: v = !1, isError: y = !1, onRetry: b,
124
123
  onVerifyFormChange: he,
125
124
  onVerifySubmit: be
126
125
  }),
127
- /* @__PURE__ */ p(u, {
126
+ /* @__PURE__ */ p(d, {
128
127
  open: T,
129
128
  labels: Z,
130
129
  accountNumber: L,
@@ -134,7 +133,7 @@ function g({ labels: g, rows: _, isLoading: v = !1, isError: y = !1, onRetry: b,
134
133
  onOpenChange: fe,
135
134
  onConfirm: Se
136
135
  }),
137
- /* @__PURE__ */ p(d, {
136
+ /* @__PURE__ */ p(f, {
138
137
  open: w,
139
138
  labels: Z,
140
139
  accountNumber: I,
@@ -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.69", n = "6aa6a4c395ffcaa23e1a0fac69f74293308dd272", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.11.71", n = "eba20db8fdcd4208e5421e28e7b8d94860d6fcea", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -26,10 +26,9 @@ import { MaskedAccountNumber as S } from "./lib/MaskedAccountNumber/MaskedAccoun
26
26
  import { InlineErrorAlert as C } from "./lib/InlineErrorAlert/InlineErrorAlert.js";
27
27
  import { PAGINATION_FOOTER_LABELS_EN as w } from "./lib/PaginationFooter/labels.js";
28
28
  import { PaginationFooter as T } from "./lib/PaginationFooter/PaginationFooter.js";
29
- import { WidgetTitleWithIconAndChildren as E } from "./lib/WidgetTitleWithIconAndChildren/WidgetTitleWithIconAndChildren.js";
30
29
  import "./lib/OnboardingShell/labels.js";
31
30
  import "./lib/OnboardingShell/OnboardingShellStepper.js";
32
31
  import "./lib/OnboardingShell/OnboardingShellOverlayPortal.js";
33
- import { OnboardingShell as D } from "./lib/OnboardingShell/OnboardingShell.js";
34
- import { SectionHeading as O } from "./lib/SectionHeading/SectionHeading.js";
35
- export { m as AddTile, b as AmountInput, _ as ERROR_STATE_ID, t as EmbeddedToaster, g as EmptyState, v as ErrorState, u as HostIsolationScope, C as InlineErrorAlert, d as Link, x as LoadingRegion, S as MaskedAccountNumber, y as NoAccessState, D as OnboardingShell, w as PAGINATION_FOOTER_LABELS_EN, T as PaginationFooter, O as SectionHeading, h as StatePanel, n as ToastNameMessage, r as UIFramework, a as UIProvider, p as WidgetContainer, f as WidgetFrame, E as WidgetTitleWithIconAndChildren, e as avatarSwatchFor, o as registerDesignSystemEnsurer, s as registerUIRenderers, i as resolveUIFramework, c as useDesignSystemEnsurer, l as useFrameworkRenderer };
32
+ import { OnboardingShell as E } from "./lib/OnboardingShell/OnboardingShell.js";
33
+ import { SectionHeading as D } from "./lib/SectionHeading/SectionHeading.js";
34
+ export { m as AddTile, b as AmountInput, _ as ERROR_STATE_ID, t as EmbeddedToaster, g as EmptyState, v as ErrorState, 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, p as WidgetContainer, f as WidgetFrame, e as avatarSwatchFor, o as registerDesignSystemEnsurer, s as registerUIRenderers, i as resolveUIFramework, c as useDesignSystemEnsurer, l as useFrameworkRenderer };
@@ -1,11 +1,10 @@
1
1
  import { WidgetFrame as e } from "../WidgetFrame/WidgetFrame.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
3
  // ../../libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetContainer/WidgetContainer.js
4
- function n({ icon: n, title: r, children: i }) {
4
+ function n({ title: n, children: r }) {
5
5
  return /* @__PURE__ */ t(e, {
6
- icon: n,
7
- title: r,
8
- children: i
6
+ title: n,
7
+ children: r
9
8
  });
10
9
  }
11
10
  export { n as WidgetContainer };
@@ -1,33 +1,26 @@
1
1
  import { Typography as e, cn as t } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
2
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
3
3
  // ../../libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetFrame/WidgetFrame.js
4
- function i({ title: i, icon: a, action: o, bodyClassName: s, className: c, children: l, ...u }) {
5
- let d = i !== void 0 || o != null;
4
+ function i({ title: i, action: a, bodyClassName: o, className: s, children: c, ...l }) {
5
+ let u = i !== void 0 || a != null;
6
6
  return /* @__PURE__ */ r("div", {
7
7
  "data-slot": "widget-frame",
8
- className: t("ttw:@container/widget ttw:flex ttw:w-full ttw:flex-col ttw:overflow-hidden ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:text-card-foreground", c),
9
- ...u,
10
- children: [d ? /* @__PURE__ */ r("div", {
8
+ className: t("ttw:@container/widget ttw:flex ttw:w-full ttw:flex-col ttw:overflow-hidden ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:text-card-foreground", s),
9
+ ...l,
10
+ children: [u ? /* @__PURE__ */ r("div", {
11
11
  className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:px-4 ttw:py-3",
12
- children: [i === void 0 ? null : /* @__PURE__ */ r("div", {
13
- className: "ttw:flex ttw:min-w-0 ttw:items-center ttw:gap-2",
14
- children: [a ? /* @__PURE__ */ n("span", {
15
- "aria-hidden": !0,
16
- className: "ttw:flex ttw:shrink-0 ttw:items-center ttw:text-primary ttw:[&>svg]:size-5 ttw:[&>svg]:text-primary",
17
- children: a
18
- }) : null, /* @__PURE__ */ n(e, {
19
- component: "h2",
20
- variant: "h6",
21
- className: "ttw:min-w-0 ttw:font-semibold ttw:text-foreground",
22
- children: i
23
- })]
24
- }), o == null ? null : /* @__PURE__ */ n("div", {
12
+ children: [i === void 0 ? null : /* @__PURE__ */ n(e, {
13
+ component: "h2",
14
+ variant: "h6",
15
+ className: "ttw:min-w-0 ttw:font-semibold ttw:text-foreground",
16
+ children: i
17
+ }), a == null ? null : /* @__PURE__ */ n("div", {
25
18
  className: "ttw:ml-auto ttw:flex ttw:shrink-0 ttw:items-center ttw:justify-end ttw:gap-2",
26
- children: o
19
+ children: a
27
20
  })]
28
21
  }) : null, /* @__PURE__ */ n("div", {
29
- className: t("ttw:flex ttw:flex-col ttw:p-4", s),
30
- children: l
22
+ className: t("ttw:flex ttw:flex-col ttw:p-4", o),
23
+ children: c
31
24
  })]
32
25
  });
33
26
  }