@tesouro/embedded-components-react 0.2.316 → 0.2.318

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -285,6 +285,9 @@
285
285
  .ttw\:right-8 {
286
286
  right: calc(var(--ttw-spacing) * 8);
287
287
  }
288
+ .ttw\:right-9 {
289
+ right: calc(var(--ttw-spacing) * 9);
290
+ }
288
291
  .ttw\:bottom-0 {
289
292
  bottom: 0px;
290
293
  }
@@ -818,6 +821,9 @@
818
821
  .ttw\:h-\[min\(70vh\,44rem\)\] {
819
822
  height: min(70vh, 44rem);
820
823
  }
824
+ .ttw\:h-\[min\(720px\,90vh\)\] {
825
+ height: min(720px, 90vh);
826
+ }
821
827
  .ttw\:h-\[var\(--radix-navigation-menu-viewport-height\)\] {
822
828
  height: var(--radix-navigation-menu-viewport-height);
823
829
  }
@@ -1241,6 +1247,9 @@
1241
1247
  .ttw\:w-\[calc\(100vw-50px\)\] {
1242
1248
  width: calc(100vw - 50px);
1243
1249
  }
1250
+ .ttw\:w-\[min\(390px\,100\%\)\] {
1251
+ width: min(390px, 100%);
1252
+ }
1244
1253
  .ttw\:w-\[var\(--radix-popover-trigger-width\)\] {
1245
1254
  width: var(--radix-popover-trigger-width);
1246
1255
  }
@@ -2742,6 +2751,9 @@
2742
2751
  .ttw\:px-0 {
2743
2752
  padding-inline: 0px;
2744
2753
  }
2754
+ .ttw\:px-0\! {
2755
+ padding-inline: 0px !important;
2756
+ }
2745
2757
  .ttw\:px-1 {
2746
2758
  padding-inline: var(--ttw-spacing);
2747
2759
  }
@@ -2784,6 +2796,9 @@
2784
2796
  .ttw\:py-0 {
2785
2797
  padding-block: 0px;
2786
2798
  }
2799
+ .ttw\:py-0\! {
2800
+ padding-block: 0px !important;
2801
+ }
2787
2802
  .ttw\:py-0\.5 {
2788
2803
  padding-block: calc(var(--ttw-spacing) * 0.5);
2789
2804
  }
@@ -2904,6 +2919,9 @@
2904
2919
  .ttw\:pr-14 {
2905
2920
  padding-right: calc(var(--ttw-spacing) * 14);
2906
2921
  }
2922
+ .ttw\:pr-16 {
2923
+ padding-right: calc(var(--ttw-spacing) * 16);
2924
+ }
2907
2925
  .ttw\:pb-0 {
2908
2926
  padding-bottom: 0px;
2909
2927
  }
@@ -3028,10 +3046,18 @@
3028
3046
  font-size: var(--ttw-text-lg);
3029
3047
  line-height: var(--tw-leading, var(--ttw-text-lg--line-height));
3030
3048
  }
3049
+ .ttw\:text-lg\! {
3050
+ font-size: var(--ttw-text-lg) !important;
3051
+ line-height: var(--tw-leading, var(--ttw-text-lg--line-height)) !important;
3052
+ }
3031
3053
  .ttw\:text-sm {
3032
3054
  font-size: var(--ttw-text-sm);
3033
3055
  line-height: var(--tw-leading, var(--ttw-text-sm--line-height));
3034
3056
  }
3057
+ .ttw\:text-sm\! {
3058
+ font-size: var(--ttw-text-sm) !important;
3059
+ line-height: var(--tw-leading, var(--ttw-text-sm--line-height)) !important;
3060
+ }
3035
3061
  .ttw\:text-xl {
3036
3062
  font-size: var(--ttw-text-xl);
3037
3063
  line-height: var(--tw-leading, var(--ttw-text-xl--line-height));
@@ -3119,6 +3145,10 @@
3119
3145
  --tw-font-weight: var(--ttw-font-weight-bold);
3120
3146
  font-weight: var(--ttw-font-weight-bold);
3121
3147
  }
3148
+ .ttw\:font-bold\! {
3149
+ --tw-font-weight: var(--ttw-font-weight-bold) !important;
3150
+ font-weight: var(--ttw-font-weight-bold) !important;
3151
+ }
3122
3152
  .ttw\:font-extrabold {
3123
3153
  --tw-font-weight: var(--ttw-font-weight-extrabold);
3124
3154
  font-weight: var(--ttw-font-weight-extrabold);
@@ -4426,6 +4456,10 @@
4426
4456
  outline-offset: 2px;
4427
4457
  }
4428
4458
  }
4459
+ .ttw\:focus-visible\:border-0:focus-visible {
4460
+ border-style: var(--tw-border-style);
4461
+ border-width: 0px;
4462
+ }
4429
4463
  .ttw\:focus-visible\:border-ring:focus-visible {
4430
4464
  border-color: var(--ttw-ring);
4431
4465
  }
@@ -5010,6 +5044,9 @@
5010
5044
  .ttw\:data-\[size\=default\]\:h-9[data-size="default"] {
5011
5045
  height: calc(var(--ttw-spacing) * 9);
5012
5046
  }
5047
+ .ttw\:data-\[size\=default\]\:h-14[data-size="default"] {
5048
+ height: calc(var(--ttw-spacing) * 14);
5049
+ }
5013
5050
  .ttw\:data-\[size\=default\]\:h-\[1\.15rem\][data-size="default"] {
5014
5051
  height: 1.15rem;
5015
5052
  }
@@ -5443,6 +5480,10 @@
5443
5480
  .ttw\:md\:flex-row {
5444
5481
  flex-direction: row;
5445
5482
  }
5483
+ .ttw\:md\:text-lg\! {
5484
+ font-size: var(--ttw-text-lg) !important;
5485
+ line-height: var(--tw-leading, var(--ttw-text-lg--line-height)) !important;
5486
+ }
5446
5487
  .ttw\:md\:text-sm {
5447
5488
  font-size: var(--ttw-text-sm);
5448
5489
  line-height: var(--tw-leading, var(--ttw-text-sm--line-height));
package/dist/index.d.ts CHANGED
@@ -4753,6 +4753,47 @@ declare function TransfersWidget({ labels, featureLabels, isTransferMoneyOpen, d
4753
4753
  */
4754
4754
  declare function WidgetProvider(props: PropsWithChildren<WidgetProviderProps>): ReactNode;
4755
4755
 
4756
+ interface CheckAmountAndDetailScreenLabels {
4757
+ title: string;
4758
+ backButton: string;
4759
+ customerLabel: string;
4760
+ invoiceLabel: string;
4761
+ invoicePlaceholder: string;
4762
+ invoiceNoneOption: string;
4763
+ clearInvoice: string;
4764
+ checkAmountLabel: string;
4765
+ currencyPrefix: string;
4766
+ continueButton: string;
4767
+ collectPaymentButton: string;
4768
+ }
4769
+
4770
+ interface CheckAmountAndDetailScreenTestIds {
4771
+ backButton?: string;
4772
+ customerSelect?: string;
4773
+ invoiceSelect?: string;
4774
+ clearInvoiceButton?: string;
4775
+ amountInput?: string;
4776
+ continueButton?: string;
4777
+ }
4778
+ interface CheckAmountAndDetailScreenProps {
4779
+ labels?: Partial<CheckAmountAndDetailScreenLabels>;
4780
+ testIds?: CheckAmountAndDetailScreenTestIds;
4781
+ customerOptions: string[];
4782
+ selectedCustomerIndex: number | null;
4783
+ onCustomerSelect: (index: number) => void;
4784
+ invoiceOptions: string[];
4785
+ selectedInvoiceIndex: number | null;
4786
+ onInvoiceSelect: (index: number) => void;
4787
+ onInvoiceClear: () => void;
4788
+ amount: string;
4789
+ onAmountChange: (value: string) => void;
4790
+ amountSourceHint?: string;
4791
+ limitsHint: string;
4792
+ onBack: () => void;
4793
+ onContinue: () => void;
4794
+ continueDisabled?: boolean;
4795
+ }
4796
+
4756
4797
  interface NoPolicyBannerLabels {
4757
4798
  Title: string;
4758
4799
  Body: string;
@@ -4812,7 +4853,7 @@ interface GapCoverageAlertProps {
4812
4853
  labels?: Partial<GapCoverageAlertLabels>;
4813
4854
  }
4814
4855
 
4815
- type PendingFeatureStyleSources = GapCoverageAlertProps | NoPolicyBannerProps;
4856
+ type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
4816
4857
 
4817
4858
  export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ACCOUNT_DELETE_DIALOG_LABELS_EN, ACCOUNT_FORM_SHEET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, AcceptDisclosuresWidget, AccountDeleteDialog, AccountFormSheet, BALANCES_WIDGET_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BillPayWidget, CHART_OF_ACCOUNTS_LABELS_EN, CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN, CREATE_CARD_FEATURE_LABELS_EN, CardDetailsWidget, CardFormatValue, CardsWidget, ChartOfAccountsTable, ChartOfAccountsWidget, CounterpartsWidget, CreateCardWidget, ERROR_STATE_ID, ExpenseApprovalPoliciesWidget, ExpenseManagementWidget, ExpenseRequirementsWidget, HELP_FAQ_EN, HELP_WIDGET_LABELS_EN, HelpWidget, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, Implementation, InsightsWidget, ReceivablesWidgetMonite as InvoicingWidget, LinkedAccountsWidget, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, ProfileWidget, RESULT_LABELS_EN, ReceiptMatchWidget, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, SettingsSection, SettingsWidget, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TagsWidget, TeamWidget, TransfersWidget, UIFramework, UploadReceiptWidget, WidgetProvider, WidgetTokenRefreshProvider, cloneEmbeddedClient, getGlobalWidgetConfig, getGlobalWidgetInitState, registerDesignSystemEnsurer, registerUIRenderers, resolveCreateCardFeatureLabels, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetLoading, useWidgetToken };
4818
4859
  export type { AcceptDisclosuresLinks, AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccountDeleteDialogLabels, AccountDeleteDialogProps, Labels$5 as AccountDetailsWidgetLabels, AccountFormErrors, AccountFormMode, AccountFormSheetLabels, AccountFormSheetProps, AccountFormValues, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$5 as BankAccountsWidgetFeatureLabels, Labels$6 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels as CardsWidgetFeatureLabels, CardsListLabels as CardsWidgetLabels, CardsWidgetPagination, CardsWidgetProps, ChartOfAccountsLabels, ChartOfAccountsMessageLabels, ChartOfAccountsTableProps, ChartOfAccountsWidgetLabelProps, ChartOfAccountsWidgetProps, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreateCardFeatureLabels, CreateCardWidgetLabels, CreateCardWidgetProps, DisclosureLinks, EmbeddedClient, ExpenseApprovalPoliciesWidgetProps, Labels$4 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseRequirementsWidgetProps, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, HelpWidgetLabels, HelpWidgetProps, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LedgerAccountRow, LinkComponent, LinkComponentProps, FeatureLabels$4 as LinkedAccountsWidgetFeatureLabels, Labels$3 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingWidgetContent, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, FeatureLabels$3 as ProfileWidgetFeatureLabels, Labels$2 as ProfileWidgetLabels, ProfileWidgetProps, ReceiptMatchSummary, ReceiptMatchWidgetProps, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$2 as SettingsWidgetFeatureLabels, Labels$1 as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, TagDeleteDialogLabels, TagFormSheetLabels, TagMessageLabels, TagsScreenLabels, TagsWidgetProps, FeatureLabels$1 as TeamWidgetFeatureLabels, Labels as TeamWidgetLabels, TeamWidgetProps, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderProps, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };