@tesouro/embedded-components-react 0.9.1 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -0
- package/dist/core.js +1 -0
- package/dist/index.css +387 -65
- package/dist/index.d.ts +74 -2
- package/dist/index.js +57 -55
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/lib/BalancesWidget/BalancesWidgetContext.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/buildOnboardingPrefill.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index4.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/formatters.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/useBankAccountsWidget.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index16.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index19.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index2.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index21.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index24.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index29.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index38.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index39.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index42.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index45.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index47.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index6.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/data-access/dist/index2.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/data-access/dist/index4.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index6.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index14.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index15.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index2.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/hasLiveScheduledRecord.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/useApplyDuplicateVerdictsMutation.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/analytics/events.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index11.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index13.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index8.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/index.js +17 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatBillMoney.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatScheduledDateLabel.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/formatters.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index4.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/formatters.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartDetailsContainer.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartsWidget.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/mapTransactionRow.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/TransactionDetails/TransactionDetailsFeature.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index2.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/apiValidationErrors.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/discount.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/lineItems.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/paymentRecord.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/preview.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/totals.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableBankAccount.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableDetails.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index11.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index4.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/policyViewModel.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useDeleteController.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useSubEntityForm.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/helpers.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/HostIsolationScope/HostIsolationScope.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/HostIsolationScope/usePortalThemeSync.js +45 -0
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/HostIsolationScope/useRenderedThemeCheck.js +20 -0
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/theme/color.js +182 -0
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/theme/createTheme.js +109 -0
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/theme/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/theme/themeTokens.js +170 -0
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/TransfersWidgetInner.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/transferViews.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransferMoneyModalController.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/labels.js +1 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +28 -13
- package/dist/theme.d.ts +2 -0
- package/package.json +1 -1
|
@@ -8499,7 +8499,7 @@ function Av({ container: e, ...t }) {
|
|
|
8499
8499
|
function jv({ className: e, style: t, ...n }) {
|
|
8500
8500
|
return /* @__PURE__ */ _(Wa, {
|
|
8501
8501
|
"data-slot": "alert-dialog-overlay",
|
|
8502
|
-
className: J("ttw:fixed ttw:inset-0 ttw:bg-
|
|
8502
|
+
className: J("ttw:fixed ttw:inset-0 ttw:bg-overlay ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0", e),
|
|
8503
8503
|
style: {
|
|
8504
8504
|
zIndex: 1300,
|
|
8505
8505
|
...t
|
|
@@ -8712,20 +8712,35 @@ function iy({ className: e, ...t }) {
|
|
|
8712
8712
|
...t
|
|
8713
8713
|
});
|
|
8714
8714
|
}
|
|
8715
|
-
var ay = _v("ttw:inline-flex ttw:items-center ttw:justify-center ttw:rounded-md ttw:border ttw:px-2 ttw:py-0.5 ttw:text-xs ttw:font-medium ttw:w-fit ttw:whitespace-nowrap ttw:shrink-0 ttw:[&>svg]:size-3 ttw:gap-1 ttw:[&>svg]:pointer-events-none ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:focus-visible:ring-[3px] ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:transition-[color,box-shadow] ttw:overflow-hidden", {
|
|
8716
|
-
|
|
8715
|
+
var ay = _v("ttw:inline-flex ttw:items-center ttw:justify-center ttw:rounded-md ttw:border ttw:px-2 ttw:py-0.5 ttw:text-xs ttw:font-medium ttw:w-fit ttw:whitespace-nowrap ttw:shrink-0 ttw:[&>svg]:size-3 ttw:gap-1 ttw:[&>svg]:pointer-events-none ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:focus-visible:ring-[3px] ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:transition-[color,box-shadow] ttw:overflow-hidden", { variants: {
|
|
8716
|
+
variant: {
|
|
8717
8717
|
default: "ttw:border-transparent ttw:bg-primary ttw:text-primary-foreground ttw:[a&]:hover:bg-primary/90",
|
|
8718
8718
|
secondary: "ttw:border-transparent ttw:bg-secondary ttw:text-secondary-foreground ttw:[a&]:hover:bg-secondary/90",
|
|
8719
|
-
destructive: "ttw:border-transparent ttw:bg-destructive ttw:text-
|
|
8719
|
+
destructive: "ttw:border-transparent ttw:bg-destructive ttw:text-destructive-foreground ttw:[a&]:hover:bg-destructive/90 ttw:focus-visible:ring-destructive/20 ttw:dark:focus-visible:ring-destructive/40 ttw:dark:bg-destructive/60",
|
|
8720
8720
|
outline: "ttw:text-foreground ttw:[a&]:hover:bg-accent ttw:[a&]:hover:text-accent-foreground"
|
|
8721
|
-
}
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8721
|
+
},
|
|
8722
|
+
tone: {
|
|
8723
|
+
neutral: "ttw:border-transparent ttw:bg-secondary ttw:text-secondary-foreground",
|
|
8724
|
+
info: "ttw:border-transparent ttw:bg-info-subtle ttw:text-info-foreground",
|
|
8725
|
+
success: "ttw:border-transparent ttw:bg-success-subtle ttw:text-success-foreground",
|
|
8726
|
+
warning: "ttw:border-transparent ttw:bg-warning-subtle ttw:text-warning-foreground",
|
|
8727
|
+
destructive: "ttw:border-transparent ttw:bg-destructive-subtle ttw:text-destructive-subtle-foreground"
|
|
8728
|
+
},
|
|
8729
|
+
accent: {
|
|
8730
|
+
violet: "ttw:border-transparent ttw:bg-violet-subtle ttw:text-violet-foreground",
|
|
8731
|
+
cyan: "ttw:border-transparent ttw:bg-cyan-subtle ttw:text-cyan-foreground"
|
|
8732
|
+
}
|
|
8733
|
+
} });
|
|
8734
|
+
function oy({ className: e, variant: t, tone: n, accent: r, asChild: i = !1, ...a }) {
|
|
8735
|
+
return /* @__PURE__ */ _(i ? be : "span", {
|
|
8726
8736
|
"data-slot": "badge",
|
|
8727
|
-
|
|
8728
|
-
|
|
8737
|
+
"data-tone": n,
|
|
8738
|
+
"data-accent": r,
|
|
8739
|
+
className: J(ay(n !== void 0 || r !== void 0 ? {
|
|
8740
|
+
tone: n,
|
|
8741
|
+
accent: r
|
|
8742
|
+
} : { variant: t ?? "default" }), e),
|
|
8743
|
+
...a
|
|
8729
8744
|
});
|
|
8730
8745
|
}
|
|
8731
8746
|
function sy(e, t) {
|
|
@@ -9472,7 +9487,7 @@ function Qy({ ...e }) {
|
|
|
9472
9487
|
function $y({ className: e, ...t }) {
|
|
9473
9488
|
return /* @__PURE__ */ _(da, {
|
|
9474
9489
|
"data-slot": "dialog-overlay",
|
|
9475
|
-
className: J("ttw:fixed ttw:inset-0 ttw:z-50 ttw:bg-
|
|
9490
|
+
className: J("ttw:fixed ttw:inset-0 ttw:z-50 ttw:bg-overlay ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0", e),
|
|
9476
9491
|
...t
|
|
9477
9492
|
});
|
|
9478
9493
|
}
|
|
@@ -9747,7 +9762,7 @@ function jb({ container: e, ...t }) {
|
|
|
9747
9762
|
function Mb({ className: e, ...t }) {
|
|
9748
9763
|
return /* @__PURE__ */ _(da, {
|
|
9749
9764
|
"data-slot": "sheet-overlay",
|
|
9750
|
-
className: J("ttw:fixed ttw:inset-0 ttw:z-50 ttw:bg-
|
|
9765
|
+
className: J("ttw:fixed ttw:inset-0 ttw:z-50 ttw:bg-overlay ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:animate-in ttw:data-[state=open]:fade-in-0", e),
|
|
9751
9766
|
...t
|
|
9752
9767
|
});
|
|
9753
9768
|
}
|
package/dist/theme.d.ts
ADDED