@tesouro/embedded-components-react 0.11.0 → 0.11.1

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 (56) hide show
  1. package/dist/experimental/QuickViewWidget.d.ts +11 -0
  2. package/dist/experimental/RemoteCheckCapture.d.ts +11 -0
  3. package/dist/experimental/index.d.ts +11 -0
  4. package/dist/index.css +15 -50
  5. package/dist/index.d.ts +54 -13
  6. package/dist/lib/AcceptDisclosuresWidget.d.ts +11 -0
  7. package/dist/lib/BalancesWidget.d.ts +11 -0
  8. package/dist/lib/BankAccountOnboardingWidget.d.ts +11 -0
  9. package/dist/lib/BankAccountsWidget.d.ts +11 -0
  10. package/dist/lib/BankingComplianceBannerWidget.d.ts +11 -0
  11. package/dist/lib/BillPayWidget.d.ts +11 -0
  12. package/dist/lib/CardDetailsWidget.d.ts +11 -0
  13. package/dist/lib/CounterpartsWidget.d.ts +11 -0
  14. package/dist/lib/CounterpartsWidgetPublic.d.ts +11 -0
  15. package/dist/lib/CreditCardsWidget.d.ts +11 -0
  16. package/dist/lib/CustomersWidget.d.ts +11 -0
  17. package/dist/lib/DebitCardsWidget.d.ts +11 -0
  18. package/dist/lib/ExpenseManagementWidget.d.ts +11 -0
  19. package/dist/lib/InsightsWidget.d.ts +11 -0
  20. package/dist/lib/LinkedAccountsWidget.d.ts +11 -0
  21. package/dist/lib/OfferWidget.d.ts +11 -0
  22. package/dist/lib/ProductsWidget.d.ts +11 -0
  23. package/dist/lib/ReceivablesWidget.d.ts +11 -0
  24. package/dist/lib/SettingsWidget.d.ts +11 -0
  25. package/dist/lib/TransfersWidget.d.ts +54 -13
  26. package/dist/lib/WidgetProvider.d.ts +11 -0
  27. package/dist/lib/WidgetProviderPublic.d.ts +11 -0
  28. package/dist/lib/WidgetSuite.d.ts +54 -13
  29. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  30. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +15 -12
  31. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/AmountInput/AmountInput.js +30 -0
  32. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/LoadingRegion/LoadingRegion.js +14 -1
  33. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/MaskedAccountNumber/MaskedAccountNumber.js +57 -0
  34. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/MaskedAccountNumber/labels.js +7 -0
  35. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/TransfersWidgetInner.js +4 -2
  36. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/testIds.js +2 -2
  37. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/transferViews.js +10 -17
  38. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransferMoneyModalController.js +159 -218
  39. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/mocks/labels.js +1 -1
  40. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/ReviewTransferStep.js +37 -88
  41. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferMoneyModal.js +184 -245
  42. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferResultStep.js +43 -58
  43. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/reviewTransferStepLabels.js +6 -5
  44. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/transferResultStepLabels.js +7 -6
  45. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/useFocusFirstInvalidField.js +9 -0
  46. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransferAccountValue.js +32 -0
  47. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransferDetailSheet.js +68 -101
  48. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransfersWidget.js +155 -153
  49. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js +20 -11
  50. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/maskLabels.js +7 -0
  51. package/dist/packages/shared-ui-shadcn/dist/index.js +1846 -1603
  52. package/package.json +1 -1
  53. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferMoneyModalHeader.js +0 -29
  54. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferReviewAccountCard.js +0 -64
  55. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransferAccountTile.js +0 -14
  56. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransferStatusBadge.js +0 -17
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo, CSSProperties } from 'react';
3
+ import { RowData } from '@tanstack/react-table';
3
4
  import { FallbackProps } from 'react-error-boundary';
4
5
 
5
6
  type AuthToken = string | undefined;
@@ -331,6 +332,16 @@ type EmbeddedClient = Client;
331
332
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
332
333
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
333
334
 
335
+ declare module '@tanstack/react-table' {
336
+ interface ColumnMeta<TData extends RowData, TValue> {
337
+ /**
338
+ * Shrinks the column to its content on one line, leaving the table's
339
+ * spare width to the columns without it: dates, statuses and amounts.
340
+ */
341
+ fitContent?: boolean;
342
+ }
343
+ }
344
+
334
345
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
335
346
  children?: ReactNode;
336
347
  };
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
3
+ import { RowData } from '@tanstack/react-table';
3
4
  import { FallbackProps } from 'react-error-boundary';
4
5
 
5
6
  type AuthToken = string | undefined;
@@ -331,6 +332,16 @@ type EmbeddedClient = Client;
331
332
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
332
333
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
333
334
 
335
+ declare module '@tanstack/react-table' {
336
+ interface ColumnMeta<TData extends RowData, TValue> {
337
+ /**
338
+ * Shrinks the column to its content on one line, leaving the table's
339
+ * spare width to the columns without it: dates, statuses and amounts.
340
+ */
341
+ fitContent?: boolean;
342
+ }
343
+ }
344
+
334
345
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
335
346
  children?: ReactNode;
336
347
  };
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo, CSSProperties } from 'react';
3
+ import { RowData } from '@tanstack/react-table';
3
4
  import { FallbackProps } from 'react-error-boundary';
4
5
 
5
6
  type AuthToken = string | undefined;
@@ -331,6 +332,16 @@ type EmbeddedClient = Client;
331
332
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
332
333
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
333
334
 
335
+ declare module '@tanstack/react-table' {
336
+ interface ColumnMeta<TData extends RowData, TValue> {
337
+ /**
338
+ * Shrinks the column to its content on one line, leaving the table's
339
+ * spare width to the columns without it: dates, statuses and amounts.
340
+ */
341
+ fitContent?: boolean;
342
+ }
343
+ }
344
+
334
345
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
335
346
  children?: ReactNode;
336
347
  };
package/dist/index.css CHANGED
@@ -76,9 +76,7 @@
76
76
  --ttw-color-pink-100: oklch(94.8% 0.028 342.258);
77
77
  --ttw-color-pink-200: oklch(89.9% 0.061 343.231);
78
78
  --ttw-color-pink-700: oklch(52.5% 0.223 3.958);
79
- --ttw-color-rose-100: oklch(94.1% 0.03 12.58);
80
79
  --ttw-color-rose-300: oklch(81% 0.117 11.638);
81
- --ttw-color-rose-700: oklch(51.4% 0.222 16.935);
82
80
  --ttw-color-zinc-100: oklch(96.7% 0.001 286.375);
83
81
  --ttw-color-zinc-500: oklch(55.2% 0.016 285.938);
84
82
  --ttw-color-zinc-700: oklch(37% 0.013 285.805);
@@ -338,8 +336,8 @@
338
336
  .ttw\:-mx-2 {
339
337
  margin-inline: calc(var(--ttw-spacing) * -2);
340
338
  }
341
- .ttw\:-mx-6 {
342
- margin-inline: calc(var(--ttw-spacing) * -6);
339
+ .ttw\:-mx-\[0\.1em\] {
340
+ margin-inline: calc(0.1em * -1);
343
341
  }
344
342
  .ttw\:mx-1 {
345
343
  margin-inline: var(--ttw-spacing);
@@ -356,6 +354,9 @@
356
354
  .ttw\:-my-1 {
357
355
  margin-block: calc(var(--ttw-spacing) * -1);
358
356
  }
357
+ .ttw\:-my-1\.5 {
358
+ margin-block: calc(var(--ttw-spacing) * -1.5);
359
+ }
359
360
  .ttw\:-my-2 {
360
361
  margin-block: calc(var(--ttw-spacing) * -2);
361
362
  }
@@ -614,6 +615,10 @@
614
615
  width: calc(var(--ttw-spacing) * 20);
615
616
  height: calc(var(--ttw-spacing) * 20);
616
617
  }
618
+ .ttw\:size-\[0\.75em\] {
619
+ width: 0.75em;
620
+ height: 0.75em;
621
+ }
617
622
  .ttw\:size-\[1em\] {
618
623
  width: 1em;
619
624
  height: 1em;
@@ -687,9 +692,6 @@
687
692
  .ttw\:h-10 {
688
693
  height: calc(var(--ttw-spacing) * 10);
689
694
  }
690
- .ttw\:h-11 {
691
- height: calc(var(--ttw-spacing) * 11);
692
- }
693
695
  .ttw\:h-12 {
694
696
  height: calc(var(--ttw-spacing) * 12);
695
697
  }
@@ -867,9 +869,6 @@
867
869
  .ttw\:min-h-12 {
868
870
  min-height: calc(var(--ttw-spacing) * 12);
869
871
  }
870
- .ttw\:min-h-14 {
871
- min-height: calc(var(--ttw-spacing) * 14);
872
- }
873
872
  .ttw\:min-h-16 {
874
873
  min-height: calc(var(--ttw-spacing) * 16);
875
874
  }
@@ -1227,6 +1226,9 @@
1227
1226
  .ttw\:max-w-48 {
1228
1227
  max-width: calc(var(--ttw-spacing) * 48);
1229
1228
  }
1229
+ .ttw\:max-w-50 {
1230
+ max-width: calc(var(--ttw-spacing) * 50);
1231
+ }
1230
1232
  .ttw\:max-w-55\.5 {
1231
1233
  max-width: calc(var(--ttw-spacing) * 55.5);
1232
1234
  }
@@ -1239,6 +1241,9 @@
1239
1241
  .ttw\:max-w-64 {
1240
1242
  max-width: calc(var(--ttw-spacing) * 64);
1241
1243
  }
1244
+ .ttw\:max-w-70 {
1245
+ max-width: calc(var(--ttw-spacing) * 70);
1246
+ }
1242
1247
  .ttw\:max-w-80 {
1243
1248
  max-width: calc(var(--ttw-spacing) * 80);
1244
1249
  }
@@ -1642,9 +1647,6 @@
1642
1647
  .ttw\:grid-cols-\[max-content_1fr\] {
1643
1648
  grid-template-columns: max-content 1fr;
1644
1649
  }
1645
- .ttw\:grid-cols-\[minmax\(0\,1fr\)_auto\] {
1646
- grid-template-columns: minmax(0,1fr) auto;
1647
- }
1648
1650
  .ttw\:grid-rows-\[auto_1fr_auto\] {
1649
1651
  grid-template-rows: auto 1fr auto;
1650
1652
  }
@@ -1863,9 +1865,6 @@
1863
1865
  .ttw\:self-stretch {
1864
1866
  align-self: stretch;
1865
1867
  }
1866
- .ttw\:justify-self-end {
1867
- justify-self: flex-end;
1868
- }
1869
1868
  .ttw\:truncate {
1870
1869
  overflow: hidden;
1871
1870
  text-overflow: ellipsis;
@@ -2863,9 +2862,6 @@
2863
2862
  .ttw\:bg-red-600 {
2864
2863
  background-color: var(--ttw-color-red-600);
2865
2864
  }
2866
- .ttw\:bg-rose-100 {
2867
- background-color: var(--ttw-color-rose-100);
2868
- }
2869
2865
  .ttw\:bg-secondary {
2870
2866
  background-color: var(--ttw-secondary);
2871
2867
  }
@@ -3517,9 +3513,6 @@
3517
3513
  .ttw\:py-3 {
3518
3514
  padding-block: calc(var(--ttw-spacing) * 3);
3519
3515
  }
3520
- .ttw\:py-3\.5 {
3521
- padding-block: calc(var(--ttw-spacing) * 3.5);
3522
- }
3523
3516
  .ttw\:py-4 {
3524
3517
  padding-block: calc(var(--ttw-spacing) * 4);
3525
3518
  }
@@ -3592,9 +3585,6 @@
3592
3585
  .ttw\:pr-1 {
3593
3586
  padding-right: var(--ttw-spacing);
3594
3587
  }
3595
- .ttw\:pr-1\.5 {
3596
- padding-right: calc(var(--ttw-spacing) * 1.5);
3597
- }
3598
3588
  .ttw\:pr-2 {
3599
3589
  padding-right: calc(var(--ttw-spacing) * 2);
3600
3590
  }
@@ -3607,9 +3597,6 @@
3607
3597
  .ttw\:pr-4 {
3608
3598
  padding-right: calc(var(--ttw-spacing) * 4);
3609
3599
  }
3610
- .ttw\:pr-6 {
3611
- padding-right: calc(var(--ttw-spacing) * 6);
3612
- }
3613
3600
  .ttw\:pr-8 {
3614
3601
  padding-right: calc(var(--ttw-spacing) * 8);
3615
3602
  }
@@ -3797,9 +3784,6 @@
3797
3784
  .ttw\:text-\[10px\] {
3798
3785
  font-size: 10px;
3799
3786
  }
3800
- .ttw\:text-\[30px\] {
3801
- font-size: 30px;
3802
- }
3803
3787
  .ttw\:text-\[length\:inherit\] {
3804
3788
  font-size: inherit;
3805
3789
  }
@@ -4181,9 +4165,6 @@
4181
4165
  .ttw\:text-red-700 {
4182
4166
  color: var(--ttw-color-red-700);
4183
4167
  }
4184
- .ttw\:text-rose-700 {
4185
- color: var(--ttw-color-rose-700);
4186
- }
4187
4168
  .ttw\:text-secondary-foreground {
4188
4169
  color: var(--ttw-secondary-foreground);
4189
4170
  }
@@ -4407,10 +4388,6 @@
4407
4388
  --tw-shadow: 0 0 40px 8px var(--tw-shadow-color, currentcolor);
4408
4389
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4409
4390
  }
4410
- .ttw\:shadow-\[inset_3px_0_0_var\(--color-primary\)\] {
4411
- --tw-shadow: inset 3px 0 0 var(--tw-shadow-color, var(--color-primary));
4412
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4413
- }
4414
4391
  .ttw\:shadow-lg {
4415
4392
  --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
4416
4393
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -5485,21 +5462,12 @@
5485
5462
  .ttw\:disabled\:cursor-not-allowed:disabled {
5486
5463
  cursor: not-allowed;
5487
5464
  }
5488
- .ttw\:disabled\:bg-muted:disabled {
5489
- background-color: var(--ttw-muted);
5490
- }
5491
- .ttw\:disabled\:text-muted-foreground:disabled {
5492
- color: var(--ttw-muted-foreground);
5493
- }
5494
5465
  .ttw\:disabled\:opacity-50:disabled {
5495
5466
  opacity: 50%;
5496
5467
  }
5497
5468
  .ttw\:disabled\:opacity-60:disabled {
5498
5469
  opacity: 60%;
5499
5470
  }
5500
- .ttw\:disabled\:opacity-100:disabled {
5501
- opacity: 100%;
5502
- }
5503
5471
  :where([data-side="left"]) .ttw\:in-data-\[side\=left\]\:cursor-w-resize {
5504
5472
  cursor: w-resize;
5505
5473
  }
@@ -6475,9 +6443,6 @@
6475
6443
  .ttw\:\[\&_svg\]\:pointer-events-none svg {
6476
6444
  pointer-events: none;
6477
6445
  }
6478
- .ttw\:\[\&_svg\]\:ml-auto svg {
6479
- margin-left: auto;
6480
- }
6481
6446
  .ttw\:\[\&_svg\]\:size-4 svg {
6482
6447
  width: calc(var(--ttw-spacing) * 4);
6483
6448
  height: calc(var(--ttw-spacing) * 4);
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ComponentType, AnchorHTMLAttributes, ReactNode, PropsWithChildren, ErrorInfo, ReactElement } from 'react';
3
+ import { RowData } from '@tanstack/react-table';
3
4
  import { FallbackProps } from 'react-error-boundary';
4
5
  import { PartialDeep } from 'type-fest';
5
6
 
@@ -536,6 +537,16 @@ declare const OnboardingSuppressionReason: {
536
537
  };
537
538
  type OnboardingSuppressionReason = (typeof OnboardingSuppressionReason)[keyof typeof OnboardingSuppressionReason];
538
539
 
540
+ declare module '@tanstack/react-table' {
541
+ interface ColumnMeta<TData extends RowData, TValue> {
542
+ /**
543
+ * Shrinks the column to its content on one line, leaving the table's
544
+ * spare width to the columns without it: dates, statuses and amounts.
545
+ */
546
+ fitContent?: boolean;
547
+ }
548
+ }
549
+
539
550
  interface LabelLabels {
540
551
  /**
541
552
  * How the field name and its requirement fragment compose. `{label}` is the
@@ -3970,9 +3981,9 @@ interface TransfersWidgetLabels {
3970
3981
  transferMoneyCtaDisabledTooltip: string;
3971
3982
  /** Fallback when an account has no nickname in lists or options. */
3972
3983
  accountFallbackName: string;
3973
- /** Mask prefix before last four digits on account options. */
3984
+ /** @deprecated No longer rendered. */
3974
3985
  embeddedAccountMaskPrefix: string;
3975
- /** Prefix before full account number on review cards (e.g. "Account #:"). */
3986
+ /** @deprecated No longer rendered. */
3976
3987
  modalReviewAccountNumberPrefix: string;
3977
3988
  /** @deprecated No longer rendered; the list shows From and To columns. */
3978
3989
  listAccountsSeparator: string;
@@ -3985,25 +3996,32 @@ interface TransfersWidgetLabels {
3985
3996
  transferToLabel: string;
3986
3997
  /** Row's accessible name. `{amount}`, `{from}` and `{to}` are filled in. */
3987
3998
  rowAriaLabel: string;
3988
- /** Account kind, shown as the tile tooltip and in the detail panel. */
3999
+ /** Account kind, the muted line under an account's name. */
3989
4000
  accountKindInternal: string;
3990
4001
  accountKindExternal: string;
3991
- /** Badge after an external account's name in a row. */
4002
+ /** @deprecated No longer rendered. */
3992
4003
  externalAccountBadge: string;
4004
+ /** @deprecated No longer rendered; the detail panel explains a return. */
4005
+ returnShortReasonAccountClosed: string;
4006
+ /** @deprecated No longer rendered; the detail panel explains a return. */
4007
+ returnShortReasonInvalidAccountDetails: string;
4008
+ /** @deprecated No longer rendered; the detail panel explains a return. */
4009
+ returnShortReasonAccountCannotReceive: string;
4010
+ /** @deprecated No longer rendered; the detail panel explains a return. */
4011
+ returnShortReasonRefusedByReceiver: string;
3993
4012
  /** Name for an external account with no nickname. */
3994
4013
  externalAccountFallbackName: string;
3995
- /** Suffix after an account name. `{last4}` is filled in. */
4014
+ /** Suffix after an account name in sentences. `{last4}` is filled in. */
3996
4015
  accountMaskTemplate: string;
4016
+ /** `{last4}` is filled in. */
4017
+ accountNumberEndingIn: string;
4018
+ showAccountNumber: string;
4019
+ hideAccountNumber: string;
3997
4020
  detailTitle: string;
3998
4021
  /** Screen-reader name of the detail panel's close button. */
3999
4022
  detailClose: string;
4000
4023
  detailInitiatedByLabel: string;
4001
4024
  detailInitiatedOnLabel: string;
4002
- /** Short reasons under a Returned badge. A GENERIC return shows none. */
4003
- returnShortReasonAccountClosed: string;
4004
- returnShortReasonInvalidAccountDetails: string;
4005
- returnShortReasonAccountCannotReceive: string;
4006
- returnShortReasonRefusedByReceiver: string;
4007
4025
  returnedTitleAccountClosed: string;
4008
4026
  returnedTitleInvalidAccountDetails: string;
4009
4027
  returnedTitleAccountCannotReceive: string;
@@ -4019,6 +4037,7 @@ interface TransfersWidgetLabels {
4019
4037
  /** `{account}` is filled in. */
4020
4038
  returnedPausedSentence: string;
4021
4039
  returnedLinkAccountCta: string;
4040
+ loadingLabel: string;
4022
4041
  loadErrorTitle: string;
4023
4042
  loadErrorDescription: string;
4024
4043
  loadErrorRetry: string;
@@ -4030,38 +4049,60 @@ interface TransfersWidgetLabels {
4030
4049
  modalTitle: string;
4031
4050
  /** Shown under the title on the accounts step (e.g. ACH timing). */
4032
4051
  modalAccountsSubtitle: string;
4033
- /** Placeholder inside the From account select on the accounts step. */
4052
+ /** `{current}` and `{total}` are filled in. */
4053
+ modalStepLabel: string;
4054
+ /** @deprecated Use `modalFromLabel`. */
4034
4055
  modalFromAccountPlaceholder: string;
4035
- /** Placeholder inside the To account select on the accounts step. */
4056
+ /** @deprecated Use `modalToLabel`. */
4036
4057
  modalToAccountPlaceholder: string;
4037
- /** Primary action on the accounts step (legacy: full-width Confirm). */
4058
+ /** @deprecated Use `modalContinue`. */
4038
4059
  modalAccountsConfirm: string;
4060
+ /** @deprecated No longer rendered. */
4039
4061
  modalStepAccounts: string;
4062
+ /** @deprecated No longer rendered. */
4040
4063
  modalStepAmount: string;
4064
+ /** @deprecated No longer rendered. */
4041
4065
  modalStepReview: string;
4066
+ /** @deprecated No longer rendered. */
4042
4067
  modalStepResult: string;
4043
4068
  modalFromLabel: string;
4044
4069
  modalToLabel: string;
4045
4070
  modalAmountLabel: string;
4046
4071
  /** Placeholder for the amount input (e.g. "0.00"). */
4047
4072
  modalAmountPlaceholder: string;
4073
+ modalFromRequiredError: string;
4074
+ modalToRequiredError: string;
4048
4075
  modalContinue: string;
4049
4076
  modalBack: string;
4077
+ /** @deprecated Use `modalConfirmTransfer`. */
4050
4078
  modalSubmit: string;
4051
4079
  modalClose: string;
4052
4080
  modalReviewHeading: string;
4081
+ /** @deprecated Use `modalFromLabel`. */
4053
4082
  modalReviewFromAccountLabel: string;
4083
+ /** @deprecated Use `modalToLabel`. */
4054
4084
  modalReviewToAccountLabel: string;
4085
+ /** @deprecated No longer rendered. */
4055
4086
  modalAvailableBalanceCaption: string;
4056
4087
  modalConfirmTransfer: string;
4088
+ /** @deprecated Use `modalBack`. */
4057
4089
  modalGoBack: string;
4090
+ /** @deprecated No longer rendered. */
4058
4091
  modalSuccessTitle: string;
4092
+ /** @deprecated No longer rendered. */
4059
4093
  modalSuccessDescription: string;
4060
4094
  modalResultSuccessTitle: string;
4095
+ modalResultDescription: string;
4096
+ modalDone: string;
4097
+ /** @deprecated No longer rendered. */
4061
4098
  modalResultErrorTitle: string;
4099
+ /** @deprecated No longer rendered. */
4062
4100
  modalResultTransferMessagePrefix: string;
4101
+ /** @deprecated No longer rendered. */
4063
4102
  modalResultSuccessMessageSuffix: string;
4103
+ /** @deprecated No longer rendered. */
4064
4104
  modalResultErrorMessageSuffix: string;
4105
+ /** @deprecated Use `modalDone`. */
4065
4106
  modalBackToTransfers: string;
4066
4107
  modalSelectPlaceholder: string;
4067
4108
  rowStatusCompleted: string;
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ReactNode, ComponentType, AnchorHTMLAttributes, ErrorInfo } from 'react';
3
3
  import { PartialDeep } from 'type-fest';
4
+ import { RowData } from '@tanstack/react-table';
4
5
  import { FallbackProps } from 'react-error-boundary';
5
6
 
6
7
  interface AcceptDisclosuresWidgetLabels {
@@ -461,6 +462,16 @@ type EmbeddedClient = Client;
461
462
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
462
463
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
463
464
 
465
+ declare module '@tanstack/react-table' {
466
+ interface ColumnMeta<TData extends RowData, TValue> {
467
+ /**
468
+ * Shrinks the column to its content on one line, leaving the table's
469
+ * spare width to the columns without it: dates, statuses and amounts.
470
+ */
471
+ fitContent?: boolean;
472
+ }
473
+ }
474
+
464
475
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
465
476
  children?: ReactNode;
466
477
  };
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
3
+ import { RowData } from '@tanstack/react-table';
3
4
  import { FallbackProps } from 'react-error-boundary';
4
5
 
5
6
  interface BalancesWidgetLabels {
@@ -354,6 +355,16 @@ type EmbeddedClient = Client;
354
355
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
355
356
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
356
357
 
358
+ declare module '@tanstack/react-table' {
359
+ interface ColumnMeta<TData extends RowData, TValue> {
360
+ /**
361
+ * Shrinks the column to its content on one line, leaving the table's
362
+ * spare width to the columns without it: dates, statuses and amounts.
363
+ */
364
+ fitContent?: boolean;
365
+ }
366
+ }
367
+
357
368
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
358
369
  children?: ReactNode;
359
370
  };
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
3
3
  import { PartialDeep } from 'type-fest';
4
+ import { RowData } from '@tanstack/react-table';
4
5
  import { FallbackProps } from 'react-error-boundary';
5
6
 
6
7
  /**
@@ -457,6 +458,16 @@ declare const OnboardingSuppressionReason: {
457
458
  };
458
459
  type OnboardingSuppressionReason = (typeof OnboardingSuppressionReason)[keyof typeof OnboardingSuppressionReason];
459
460
 
461
+ declare module '@tanstack/react-table' {
462
+ interface ColumnMeta<TData extends RowData, TValue> {
463
+ /**
464
+ * Shrinks the column to its content on one line, leaving the table's
465
+ * spare width to the columns without it: dates, statuses and amounts.
466
+ */
467
+ fitContent?: boolean;
468
+ }
469
+ }
470
+
460
471
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
461
472
  children?: ReactNode;
462
473
  };
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
3
+ import { RowData } from '@tanstack/react-table';
3
4
  import { FallbackProps } from 'react-error-boundary';
4
5
 
5
6
  interface Labels$1 {
@@ -369,6 +370,16 @@ type EmbeddedClient = Client;
369
370
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
370
371
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
371
372
 
373
+ declare module '@tanstack/react-table' {
374
+ interface ColumnMeta<TData extends RowData, TValue> {
375
+ /**
376
+ * Shrinks the column to its content on one line, leaving the table's
377
+ * spare width to the columns without it: dates, statuses and amounts.
378
+ */
379
+ fitContent?: boolean;
380
+ }
381
+ }
382
+
372
383
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
373
384
  children?: ReactNode;
374
385
  };
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
3
+ import { RowData } from '@tanstack/react-table';
3
4
  import { FallbackProps } from 'react-error-boundary';
4
5
 
5
6
  interface BankingComplianceBannerLabels {
@@ -348,6 +349,16 @@ type EmbeddedClient = Client;
348
349
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
349
350
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
350
351
 
352
+ declare module '@tanstack/react-table' {
353
+ interface ColumnMeta<TData extends RowData, TValue> {
354
+ /**
355
+ * Shrinks the column to its content on one line, leaving the table's
356
+ * spare width to the columns without it: dates, statuses and amounts.
357
+ */
358
+ fitContent?: boolean;
359
+ }
360
+ }
361
+
351
362
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
352
363
  children?: ReactNode;
353
364
  };
@@ -1,4 +1,5 @@
1
1
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo, ReactElement } from 'react';
2
+ import { RowData } from '@tanstack/react-table';
2
3
  import { FallbackProps } from 'react-error-boundary';
3
4
 
4
5
  type AuthToken = string | undefined;
@@ -330,6 +331,16 @@ type EmbeddedClient = Client;
330
331
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
331
332
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
332
333
 
334
+ declare module '@tanstack/react-table' {
335
+ interface ColumnMeta<TData extends RowData, TValue> {
336
+ /**
337
+ * Shrinks the column to its content on one line, leaving the table's
338
+ * spare width to the columns without it: dates, statuses and amounts.
339
+ */
340
+ fitContent?: boolean;
341
+ }
342
+ }
343
+
333
344
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
334
345
  children?: ReactNode;
335
346
  };
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
3
3
  import { PartialDeep } from 'type-fest';
4
+ import { RowData } from '@tanstack/react-table';
4
5
  import { FallbackProps } from 'react-error-boundary';
5
6
 
6
7
  /** Accessible copy for the panel header's controls. */
@@ -502,6 +503,16 @@ type EmbeddedClient = Client;
502
503
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
503
504
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
504
505
 
506
+ declare module '@tanstack/react-table' {
507
+ interface ColumnMeta<TData extends RowData, TValue> {
508
+ /**
509
+ * Shrinks the column to its content on one line, leaving the table's
510
+ * spare width to the columns without it: dates, statuses and amounts.
511
+ */
512
+ fitContent?: boolean;
513
+ }
514
+ }
515
+
505
516
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
506
517
  children?: ReactNode;
507
518
  };
@@ -1,4 +1,5 @@
1
1
  import { PartialDeep } from 'type-fest';
2
+ import { RowData } from '@tanstack/react-table';
2
3
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
3
4
  import { FallbackProps } from 'react-error-boundary';
4
5
 
@@ -331,6 +332,16 @@ type EmbeddedClient = Client;
331
332
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
332
333
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
333
334
 
335
+ declare module '@tanstack/react-table' {
336
+ interface ColumnMeta<TData extends RowData, TValue> {
337
+ /**
338
+ * Shrinks the column to its content on one line, leaving the table's
339
+ * spare width to the columns without it: dates, statuses and amounts.
340
+ */
341
+ fitContent?: boolean;
342
+ }
343
+ }
344
+
334
345
  interface LabelLabels {
335
346
  /**
336
347
  * How the field name and its requirement fragment compose. `{label}` is the
@@ -1,5 +1,6 @@
1
1
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
2
2
  import { PartialDeep } from 'type-fest';
3
+ import { RowData } from '@tanstack/react-table';
3
4
  import { FallbackProps } from 'react-error-boundary';
4
5
 
5
6
  type AuthToken = string | undefined;
@@ -331,6 +332,16 @@ type EmbeddedClient = Client;
331
332
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
332
333
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
333
334
 
335
+ declare module '@tanstack/react-table' {
336
+ interface ColumnMeta<TData extends RowData, TValue> {
337
+ /**
338
+ * Shrinks the column to its content on one line, leaving the table's
339
+ * spare width to the columns without it: dates, statuses and amounts.
340
+ */
341
+ fitContent?: boolean;
342
+ }
343
+ }
344
+
334
345
  interface LabelLabels {
335
346
  /**
336
347
  * How the field name and its requirement fragment compose. `{label}` is the
@@ -1,8 +1,19 @@
1
1
  import * as React from 'react';
2
2
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
3
+ import { RowData } from '@tanstack/react-table';
3
4
  import { PartialDeep } from 'type-fest';
4
5
  import { FallbackProps } from 'react-error-boundary';
5
6
 
7
+ declare module '@tanstack/react-table' {
8
+ interface ColumnMeta<TData extends RowData, TValue> {
9
+ /**
10
+ * Shrinks the column to its content on one line, leaving the table's
11
+ * spare width to the columns without it: dates, statuses and amounts.
12
+ */
13
+ fitContent?: boolean;
14
+ }
15
+ }
16
+
6
17
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
7
18
  children?: ReactNode;
8
19
  };