@tesouro/embedded-components-react 0.11.219 → 0.11.221
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 +11 -7
- package/dist/experimental/QuickViewWidget.d.ts +25 -13
- package/dist/experimental/index.d.ts +25 -13
- package/dist/index.css +394 -30
- package/dist/index.d.ts +24 -7
- package/dist/lib/AcceptDisclosuresWidget.d.ts +6 -2
- package/dist/lib/BankAccountsWidget.d.ts +4 -0
- package/dist/lib/BillPayWidget.d.ts +4 -3
- package/dist/lib/ExpenseManagementWidget.d.ts +7 -0
- package/dist/lib/ReceivablesWidget.d.ts +3 -2
- package/dist/lib/WidgetSuite.d.ts +13 -1
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/resolveAcceptDisclosuresContent.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index25.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index9.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index12.js +27 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index29.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +61 -51
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +48 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +28 -30
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/ui/dist/index2.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/ui/dist/index5.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/AccordionItemCard/AccordionItemCard.js +8 -3
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesTransactionsFilterBar/ExpensesTransactionsFilterBar.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/FileViewer/FileViewer.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/FileViewer/labels.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/SingleInsight.js +47 -44
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +105 -97
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +66 -63
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index46.js +73 -74
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index48.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index51.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +42 -35
- package/dist/libs/tesouro-embedded-components-react/offer-widget/ui/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/bills/feature/dist/lib/BillsQuickViewWidget/BillsQuickViewWidgetFeature.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/bills/ui/dist/index3.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/CardsQuickViewWidgetFeature.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/ui/dist/index3.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/invoices/feature/dist/lib/InvoicesQuickViewWidget/InvoicesQuickViewWidgetFeature.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/invoices/ui/dist/index3.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/ui/dist/index6.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index12.js +5 -6
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +119 -119
- 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/ui/dist/index9.js +86 -77
- package/dist/libs/tesouro-embedded-components-react/shared/quick-view/ui/dist/index3.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/ConsentBlock/ConsentBlock.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/FdicLogo.js +76 -72
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShell.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/UploadTray/UploadTray.js +49 -43
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/theme/createTheme.js +20 -4
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/theme/themeTokens.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/feature/dist/lib/UploadReceiptWidget.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/ui/dist/index2.js +1 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +141 -124
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -201,11 +201,6 @@
|
|
|
201
201
|
margin-block-start: calc(calc(var(--ttw-spacing) * 4) * var(--tw-space-y-reverse));
|
|
202
202
|
margin-block-end: calc(calc(var(--ttw-spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
|
|
203
203
|
}
|
|
204
|
-
.ttw\:space-y-5 > :where(:not(:last-child)) {
|
|
205
|
-
--tw-space-y-reverse: 0;
|
|
206
|
-
margin-block-start: calc(calc(var(--ttw-spacing) * 5) * var(--tw-space-y-reverse));
|
|
207
|
-
margin-block-end: calc(calc(var(--ttw-spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
|
|
208
|
-
}
|
|
209
204
|
.ttw\:space-y-6 > :where(:not(:last-child)) {
|
|
210
205
|
--tw-space-y-reverse: 0;
|
|
211
206
|
margin-block-start: calc(calc(var(--ttw-spacing) * 6) * var(--tw-space-y-reverse));
|
|
@@ -535,6 +530,9 @@
|
|
|
535
530
|
.ttw\:mb-4 {
|
|
536
531
|
margin-bottom: calc(var(--ttw-spacing) * 4);
|
|
537
532
|
}
|
|
533
|
+
.ttw\:mb-5 {
|
|
534
|
+
margin-bottom: calc(var(--ttw-spacing) * 5);
|
|
535
|
+
}
|
|
538
536
|
.ttw\:mb-6 {
|
|
539
537
|
margin-bottom: calc(var(--ttw-spacing) * 6);
|
|
540
538
|
}
|
|
@@ -1996,6 +1994,126 @@
|
|
|
1996
1994
|
.ttw\:border-destructive {
|
|
1997
1995
|
border-color: var(--ttw-destructive);
|
|
1998
1996
|
}
|
|
1997
|
+
.ttw\:border-destructive-subtle {
|
|
1998
|
+
border-color: var(
|
|
1999
|
+
--ttw-destructive-subtle,
|
|
2000
|
+
var(
|
|
2001
|
+
--_ttw-tint-relative,
|
|
2002
|
+
oklch(
|
|
2003
|
+
from
|
|
2004
|
+
oklch(from var(--ttw-destructive) 0.56 c h)
|
|
2005
|
+
l
|
|
2006
|
+
min(
|
|
2007
|
+
calc(c * 2.5),
|
|
2008
|
+
calc(
|
|
2009
|
+
(1 - l) *
|
|
2010
|
+
(
|
|
2011
|
+
0.498 +
|
|
2012
|
+
(
|
|
2013
|
+
-0.028 * clamp(0, h, 30) + 0.087 *
|
|
2014
|
+
clamp(0, h - 30, 30) + 0.498 * clamp(0, h - 60, 30) +
|
|
2015
|
+
0.253 * clamp(0, h - 90, 30) + 0.113 *
|
|
2016
|
+
clamp(0, h - 120, 30) - 0.485 *
|
|
2017
|
+
clamp(0, h - 150, 30) - 0.14 * clamp(0, h - 180, 30) -
|
|
2018
|
+
0.316 * clamp(0, h - 210, 30) - 0.031 *
|
|
2019
|
+
clamp(0, h - 240, 30) + 0.083 *
|
|
2020
|
+
clamp(0, h - 270, 30) + 0.221 *
|
|
2021
|
+
clamp(0, h - 300, 30) - 0.255 * clamp(0, h - 330, 30)
|
|
2022
|
+
) /
|
|
2023
|
+
30
|
|
2024
|
+
)
|
|
2025
|
+
),
|
|
2026
|
+
calc(
|
|
2027
|
+
l *
|
|
2028
|
+
(
|
|
2029
|
+
0.396 +
|
|
2030
|
+
(
|
|
2031
|
+
-0.041 * clamp(0, h, 30) - 0.146 *
|
|
2032
|
+
clamp(0, h - 30, 30) - 0.016 * clamp(0, h - 60, 30) +
|
|
2033
|
+
0.032 * clamp(0, h - 90, 30) + 0.025 *
|
|
2034
|
+
clamp(0, h - 120, 30) - 0.086 *
|
|
2035
|
+
clamp(0, h - 150, 30) - 0.004 *
|
|
2036
|
+
clamp(0, h - 180, 30) + 0.001 *
|
|
2037
|
+
clamp(0, h - 210, 30) + 0.328 *
|
|
2038
|
+
clamp(0, h - 240, 30) + 0.036 *
|
|
2039
|
+
clamp(0, h - 270, 30) - 0.081 *
|
|
2040
|
+
clamp(0, h - 300, 30) - 0.048 * clamp(0, h - 330, 30)
|
|
2041
|
+
) /
|
|
2042
|
+
30
|
|
2043
|
+
)
|
|
2044
|
+
)
|
|
2045
|
+
)
|
|
2046
|
+
h
|
|
2047
|
+
)
|
|
2048
|
+
)
|
|
2049
|
+
var(
|
|
2050
|
+
--_ttw-tint-legacy,
|
|
2051
|
+
var(--ttw-destructive)
|
|
2052
|
+
)
|
|
2053
|
+
);
|
|
2054
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2055
|
+
border-color: var(
|
|
2056
|
+
--ttw-destructive-subtle,
|
|
2057
|
+
var(
|
|
2058
|
+
--_ttw-tint-relative,
|
|
2059
|
+
oklch(
|
|
2060
|
+
from
|
|
2061
|
+
color-mix(
|
|
2062
|
+
in oklch,
|
|
2063
|
+
oklch(from var(--ttw-destructive) 0.56 c h) 16%,
|
|
2064
|
+
oklch(from var(--ttw-background) l 0 none)
|
|
2065
|
+
)
|
|
2066
|
+
l
|
|
2067
|
+
min(
|
|
2068
|
+
calc(c * 2.5),
|
|
2069
|
+
calc(
|
|
2070
|
+
(1 - l) *
|
|
2071
|
+
(
|
|
2072
|
+
0.498 +
|
|
2073
|
+
(
|
|
2074
|
+
-0.028 * clamp(0, h, 30) + 0.087 *
|
|
2075
|
+
clamp(0, h - 30, 30) + 0.498 * clamp(0, h - 60, 30) +
|
|
2076
|
+
0.253 * clamp(0, h - 90, 30) + 0.113 *
|
|
2077
|
+
clamp(0, h - 120, 30) - 0.485 *
|
|
2078
|
+
clamp(0, h - 150, 30) - 0.14 * clamp(0, h - 180, 30) -
|
|
2079
|
+
0.316 * clamp(0, h - 210, 30) - 0.031 *
|
|
2080
|
+
clamp(0, h - 240, 30) + 0.083 *
|
|
2081
|
+
clamp(0, h - 270, 30) + 0.221 *
|
|
2082
|
+
clamp(0, h - 300, 30) - 0.255 * clamp(0, h - 330, 30)
|
|
2083
|
+
) /
|
|
2084
|
+
30
|
|
2085
|
+
)
|
|
2086
|
+
),
|
|
2087
|
+
calc(
|
|
2088
|
+
l *
|
|
2089
|
+
(
|
|
2090
|
+
0.396 +
|
|
2091
|
+
(
|
|
2092
|
+
-0.041 * clamp(0, h, 30) - 0.146 *
|
|
2093
|
+
clamp(0, h - 30, 30) - 0.016 * clamp(0, h - 60, 30) +
|
|
2094
|
+
0.032 * clamp(0, h - 90, 30) + 0.025 *
|
|
2095
|
+
clamp(0, h - 120, 30) - 0.086 *
|
|
2096
|
+
clamp(0, h - 150, 30) - 0.004 *
|
|
2097
|
+
clamp(0, h - 180, 30) + 0.001 *
|
|
2098
|
+
clamp(0, h - 210, 30) + 0.328 *
|
|
2099
|
+
clamp(0, h - 240, 30) + 0.036 *
|
|
2100
|
+
clamp(0, h - 270, 30) - 0.081 *
|
|
2101
|
+
clamp(0, h - 300, 30) - 0.048 * clamp(0, h - 330, 30)
|
|
2102
|
+
) /
|
|
2103
|
+
30
|
|
2104
|
+
)
|
|
2105
|
+
)
|
|
2106
|
+
)
|
|
2107
|
+
h
|
|
2108
|
+
)
|
|
2109
|
+
)
|
|
2110
|
+
var(
|
|
2111
|
+
--_ttw-tint-legacy,
|
|
2112
|
+
color-mix(in oklab, var(--ttw-destructive) 12%, var(--ttw-background))
|
|
2113
|
+
)
|
|
2114
|
+
);
|
|
2115
|
+
}
|
|
2116
|
+
}
|
|
1999
2117
|
.ttw\:border-destructive\/20 {
|
|
2000
2118
|
border-color: var(--ttw-destructive);
|
|
2001
2119
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2521,12 +2639,6 @@
|
|
|
2521
2639
|
background-color: color-mix(in oklab, var(--ttw-destructive) 10%, transparent);
|
|
2522
2640
|
}
|
|
2523
2641
|
}
|
|
2524
|
-
.ttw\:bg-destructive\/20 {
|
|
2525
|
-
background-color: var(--ttw-destructive);
|
|
2526
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2527
|
-
background-color: color-mix(in oklab, var(--ttw-destructive) 20%, transparent);
|
|
2528
|
-
}
|
|
2529
|
-
}
|
|
2530
2642
|
.ttw\:bg-emerald-50 {
|
|
2531
2643
|
background-color: var(--ttw-color-emerald-50);
|
|
2532
2644
|
}
|
|
@@ -3751,6 +3863,9 @@
|
|
|
3751
3863
|
.ttw\:pr-8 {
|
|
3752
3864
|
padding-right: calc(var(--ttw-spacing) * 8);
|
|
3753
3865
|
}
|
|
3866
|
+
.ttw\:pr-12 {
|
|
3867
|
+
padding-right: calc(var(--ttw-spacing) * 12);
|
|
3868
|
+
}
|
|
3754
3869
|
.ttw\:pr-14 {
|
|
3755
3870
|
padding-right: calc(var(--ttw-spacing) * 14);
|
|
3756
3871
|
}
|
|
@@ -4063,9 +4178,6 @@
|
|
|
4063
4178
|
.ttw\:text-\[\#101317\] {
|
|
4064
4179
|
color: #101317;
|
|
4065
4180
|
}
|
|
4066
|
-
.ttw\:text-\[\#999999\] {
|
|
4067
|
-
color: #999999;
|
|
4068
|
-
}
|
|
4069
4181
|
.ttw\:text-accent-foreground {
|
|
4070
4182
|
color: var(--ttw-accent-foreground);
|
|
4071
4183
|
}
|
|
@@ -5073,12 +5185,126 @@
|
|
|
5073
5185
|
.ttw\:hover\:bg-cyan-50:hover {
|
|
5074
5186
|
background-color: var(--ttw-color-cyan-50);
|
|
5075
5187
|
}
|
|
5076
|
-
.ttw\:hover\:bg-destructive
|
|
5077
|
-
background-color: var(
|
|
5188
|
+
.ttw\:hover\:bg-destructive-subtle:hover {
|
|
5189
|
+
background-color: var(
|
|
5190
|
+
--ttw-destructive-subtle,
|
|
5191
|
+
var(
|
|
5192
|
+
--_ttw-tint-relative,
|
|
5193
|
+
oklch(
|
|
5194
|
+
from
|
|
5195
|
+
oklch(from var(--ttw-destructive) 0.56 c h)
|
|
5196
|
+
l
|
|
5197
|
+
min(
|
|
5198
|
+
calc(c * 2.5),
|
|
5199
|
+
calc(
|
|
5200
|
+
(1 - l) *
|
|
5201
|
+
(
|
|
5202
|
+
0.498 +
|
|
5203
|
+
(
|
|
5204
|
+
-0.028 * clamp(0, h, 30) + 0.087 *
|
|
5205
|
+
clamp(0, h - 30, 30) + 0.498 * clamp(0, h - 60, 30) +
|
|
5206
|
+
0.253 * clamp(0, h - 90, 30) + 0.113 *
|
|
5207
|
+
clamp(0, h - 120, 30) - 0.485 *
|
|
5208
|
+
clamp(0, h - 150, 30) - 0.14 * clamp(0, h - 180, 30) -
|
|
5209
|
+
0.316 * clamp(0, h - 210, 30) - 0.031 *
|
|
5210
|
+
clamp(0, h - 240, 30) + 0.083 *
|
|
5211
|
+
clamp(0, h - 270, 30) + 0.221 *
|
|
5212
|
+
clamp(0, h - 300, 30) - 0.255 * clamp(0, h - 330, 30)
|
|
5213
|
+
) /
|
|
5214
|
+
30
|
|
5215
|
+
)
|
|
5216
|
+
),
|
|
5217
|
+
calc(
|
|
5218
|
+
l *
|
|
5219
|
+
(
|
|
5220
|
+
0.396 +
|
|
5221
|
+
(
|
|
5222
|
+
-0.041 * clamp(0, h, 30) - 0.146 *
|
|
5223
|
+
clamp(0, h - 30, 30) - 0.016 * clamp(0, h - 60, 30) +
|
|
5224
|
+
0.032 * clamp(0, h - 90, 30) + 0.025 *
|
|
5225
|
+
clamp(0, h - 120, 30) - 0.086 *
|
|
5226
|
+
clamp(0, h - 150, 30) - 0.004 *
|
|
5227
|
+
clamp(0, h - 180, 30) + 0.001 *
|
|
5228
|
+
clamp(0, h - 210, 30) + 0.328 *
|
|
5229
|
+
clamp(0, h - 240, 30) + 0.036 *
|
|
5230
|
+
clamp(0, h - 270, 30) - 0.081 *
|
|
5231
|
+
clamp(0, h - 300, 30) - 0.048 * clamp(0, h - 330, 30)
|
|
5232
|
+
) /
|
|
5233
|
+
30
|
|
5234
|
+
)
|
|
5235
|
+
)
|
|
5236
|
+
)
|
|
5237
|
+
h
|
|
5238
|
+
)
|
|
5239
|
+
)
|
|
5240
|
+
var(
|
|
5241
|
+
--_ttw-tint-legacy,
|
|
5242
|
+
var(--ttw-destructive)
|
|
5243
|
+
)
|
|
5244
|
+
);
|
|
5078
5245
|
}
|
|
5079
5246
|
@supports (color: color-mix(in lab, red, red)) {
|
|
5080
|
-
.ttw\:hover\:bg-destructive
|
|
5081
|
-
background-color:
|
|
5247
|
+
.ttw\:hover\:bg-destructive-subtle:hover {
|
|
5248
|
+
background-color: var(
|
|
5249
|
+
--ttw-destructive-subtle,
|
|
5250
|
+
var(
|
|
5251
|
+
--_ttw-tint-relative,
|
|
5252
|
+
oklch(
|
|
5253
|
+
from
|
|
5254
|
+
color-mix(
|
|
5255
|
+
in oklch,
|
|
5256
|
+
oklch(from var(--ttw-destructive) 0.56 c h) 16%,
|
|
5257
|
+
oklch(from var(--ttw-background) l 0 none)
|
|
5258
|
+
)
|
|
5259
|
+
l
|
|
5260
|
+
min(
|
|
5261
|
+
calc(c * 2.5),
|
|
5262
|
+
calc(
|
|
5263
|
+
(1 - l) *
|
|
5264
|
+
(
|
|
5265
|
+
0.498 +
|
|
5266
|
+
(
|
|
5267
|
+
-0.028 * clamp(0, h, 30) + 0.087 *
|
|
5268
|
+
clamp(0, h - 30, 30) + 0.498 * clamp(0, h - 60, 30) +
|
|
5269
|
+
0.253 * clamp(0, h - 90, 30) + 0.113 *
|
|
5270
|
+
clamp(0, h - 120, 30) - 0.485 *
|
|
5271
|
+
clamp(0, h - 150, 30) - 0.14 * clamp(0, h - 180, 30) -
|
|
5272
|
+
0.316 * clamp(0, h - 210, 30) - 0.031 *
|
|
5273
|
+
clamp(0, h - 240, 30) + 0.083 *
|
|
5274
|
+
clamp(0, h - 270, 30) + 0.221 *
|
|
5275
|
+
clamp(0, h - 300, 30) - 0.255 * clamp(0, h - 330, 30)
|
|
5276
|
+
) /
|
|
5277
|
+
30
|
|
5278
|
+
)
|
|
5279
|
+
),
|
|
5280
|
+
calc(
|
|
5281
|
+
l *
|
|
5282
|
+
(
|
|
5283
|
+
0.396 +
|
|
5284
|
+
(
|
|
5285
|
+
-0.041 * clamp(0, h, 30) - 0.146 *
|
|
5286
|
+
clamp(0, h - 30, 30) - 0.016 * clamp(0, h - 60, 30) +
|
|
5287
|
+
0.032 * clamp(0, h - 90, 30) + 0.025 *
|
|
5288
|
+
clamp(0, h - 120, 30) - 0.086 *
|
|
5289
|
+
clamp(0, h - 150, 30) - 0.004 *
|
|
5290
|
+
clamp(0, h - 180, 30) + 0.001 *
|
|
5291
|
+
clamp(0, h - 210, 30) + 0.328 *
|
|
5292
|
+
clamp(0, h - 240, 30) + 0.036 *
|
|
5293
|
+
clamp(0, h - 270, 30) - 0.081 *
|
|
5294
|
+
clamp(0, h - 300, 30) - 0.048 * clamp(0, h - 330, 30)
|
|
5295
|
+
) /
|
|
5296
|
+
30
|
|
5297
|
+
)
|
|
5298
|
+
)
|
|
5299
|
+
)
|
|
5300
|
+
h
|
|
5301
|
+
)
|
|
5302
|
+
)
|
|
5303
|
+
var(
|
|
5304
|
+
--_ttw-tint-legacy,
|
|
5305
|
+
color-mix(in oklab, var(--ttw-destructive) 12%, var(--ttw-background))
|
|
5306
|
+
)
|
|
5307
|
+
);
|
|
5082
5308
|
}
|
|
5083
5309
|
}
|
|
5084
5310
|
.ttw\:hover\:bg-destructive\/90:hover {
|
|
@@ -5451,6 +5677,9 @@
|
|
|
5451
5677
|
--tw-ring-color: color-mix(in oklab, var(--ttw-ring) 50%, transparent);
|
|
5452
5678
|
}
|
|
5453
5679
|
}
|
|
5680
|
+
.ttw\:has-\[\>\:not\(\:empty\)\]\:flex:has( > :not(:empty)) {
|
|
5681
|
+
display: flex;
|
|
5682
|
+
}
|
|
5454
5683
|
.ttw\:has-\[\>\[data-slot\=checkbox-group\]\]\:gap-3:has( > [data-slot=checkbox-group]) {
|
|
5455
5684
|
gap: calc(var(--ttw-spacing) * 3);
|
|
5456
5685
|
}
|
|
@@ -5964,14 +6193,155 @@
|
|
|
5964
6193
|
.ttw\:data-\[variant\=destructive\]\:text-destructive[data-variant="destructive"] {
|
|
5965
6194
|
color: var(--ttw-destructive);
|
|
5966
6195
|
}
|
|
5967
|
-
.ttw\:data-\[variant\=destructive\]\:focus\:bg-destructive
|
|
5968
|
-
background-color: var(
|
|
6196
|
+
.ttw\:data-\[variant\=destructive\]\:focus\:bg-destructive-subtle[data-variant="destructive"]:focus {
|
|
6197
|
+
background-color: var(
|
|
6198
|
+
--ttw-destructive-subtle,
|
|
6199
|
+
var(
|
|
6200
|
+
--_ttw-tint-relative,
|
|
6201
|
+
oklch(
|
|
6202
|
+
from
|
|
6203
|
+
oklch(from var(--ttw-destructive) 0.56 c h)
|
|
6204
|
+
l
|
|
6205
|
+
min(
|
|
6206
|
+
calc(c * 2.5),
|
|
6207
|
+
calc(
|
|
6208
|
+
(1 - l) *
|
|
6209
|
+
(
|
|
6210
|
+
0.498 +
|
|
6211
|
+
(
|
|
6212
|
+
-0.028 * clamp(0, h, 30) + 0.087 *
|
|
6213
|
+
clamp(0, h - 30, 30) + 0.498 * clamp(0, h - 60, 30) +
|
|
6214
|
+
0.253 * clamp(0, h - 90, 30) + 0.113 *
|
|
6215
|
+
clamp(0, h - 120, 30) - 0.485 *
|
|
6216
|
+
clamp(0, h - 150, 30) - 0.14 * clamp(0, h - 180, 30) -
|
|
6217
|
+
0.316 * clamp(0, h - 210, 30) - 0.031 *
|
|
6218
|
+
clamp(0, h - 240, 30) + 0.083 *
|
|
6219
|
+
clamp(0, h - 270, 30) + 0.221 *
|
|
6220
|
+
clamp(0, h - 300, 30) - 0.255 * clamp(0, h - 330, 30)
|
|
6221
|
+
) /
|
|
6222
|
+
30
|
|
6223
|
+
)
|
|
6224
|
+
),
|
|
6225
|
+
calc(
|
|
6226
|
+
l *
|
|
6227
|
+
(
|
|
6228
|
+
0.396 +
|
|
6229
|
+
(
|
|
6230
|
+
-0.041 * clamp(0, h, 30) - 0.146 *
|
|
6231
|
+
clamp(0, h - 30, 30) - 0.016 * clamp(0, h - 60, 30) +
|
|
6232
|
+
0.032 * clamp(0, h - 90, 30) + 0.025 *
|
|
6233
|
+
clamp(0, h - 120, 30) - 0.086 *
|
|
6234
|
+
clamp(0, h - 150, 30) - 0.004 *
|
|
6235
|
+
clamp(0, h - 180, 30) + 0.001 *
|
|
6236
|
+
clamp(0, h - 210, 30) + 0.328 *
|
|
6237
|
+
clamp(0, h - 240, 30) + 0.036 *
|
|
6238
|
+
clamp(0, h - 270, 30) - 0.081 *
|
|
6239
|
+
clamp(0, h - 300, 30) - 0.048 * clamp(0, h - 330, 30)
|
|
6240
|
+
) /
|
|
6241
|
+
30
|
|
6242
|
+
)
|
|
6243
|
+
)
|
|
6244
|
+
)
|
|
6245
|
+
h
|
|
6246
|
+
)
|
|
6247
|
+
)
|
|
6248
|
+
var(
|
|
6249
|
+
--_ttw-tint-legacy,
|
|
6250
|
+
var(--ttw-destructive)
|
|
6251
|
+
)
|
|
6252
|
+
);
|
|
5969
6253
|
@supports (color: color-mix(in lab, red, red)) {
|
|
5970
|
-
background-color:
|
|
6254
|
+
background-color: var(
|
|
6255
|
+
--ttw-destructive-subtle,
|
|
6256
|
+
var(
|
|
6257
|
+
--_ttw-tint-relative,
|
|
6258
|
+
oklch(
|
|
6259
|
+
from
|
|
6260
|
+
color-mix(
|
|
6261
|
+
in oklch,
|
|
6262
|
+
oklch(from var(--ttw-destructive) 0.56 c h) 16%,
|
|
6263
|
+
oklch(from var(--ttw-background) l 0 none)
|
|
6264
|
+
)
|
|
6265
|
+
l
|
|
6266
|
+
min(
|
|
6267
|
+
calc(c * 2.5),
|
|
6268
|
+
calc(
|
|
6269
|
+
(1 - l) *
|
|
6270
|
+
(
|
|
6271
|
+
0.498 +
|
|
6272
|
+
(
|
|
6273
|
+
-0.028 * clamp(0, h, 30) + 0.087 *
|
|
6274
|
+
clamp(0, h - 30, 30) + 0.498 * clamp(0, h - 60, 30) +
|
|
6275
|
+
0.253 * clamp(0, h - 90, 30) + 0.113 *
|
|
6276
|
+
clamp(0, h - 120, 30) - 0.485 *
|
|
6277
|
+
clamp(0, h - 150, 30) - 0.14 * clamp(0, h - 180, 30) -
|
|
6278
|
+
0.316 * clamp(0, h - 210, 30) - 0.031 *
|
|
6279
|
+
clamp(0, h - 240, 30) + 0.083 *
|
|
6280
|
+
clamp(0, h - 270, 30) + 0.221 *
|
|
6281
|
+
clamp(0, h - 300, 30) - 0.255 * clamp(0, h - 330, 30)
|
|
6282
|
+
) /
|
|
6283
|
+
30
|
|
6284
|
+
)
|
|
6285
|
+
),
|
|
6286
|
+
calc(
|
|
6287
|
+
l *
|
|
6288
|
+
(
|
|
6289
|
+
0.396 +
|
|
6290
|
+
(
|
|
6291
|
+
-0.041 * clamp(0, h, 30) - 0.146 *
|
|
6292
|
+
clamp(0, h - 30, 30) - 0.016 * clamp(0, h - 60, 30) +
|
|
6293
|
+
0.032 * clamp(0, h - 90, 30) + 0.025 *
|
|
6294
|
+
clamp(0, h - 120, 30) - 0.086 *
|
|
6295
|
+
clamp(0, h - 150, 30) - 0.004 *
|
|
6296
|
+
clamp(0, h - 180, 30) + 0.001 *
|
|
6297
|
+
clamp(0, h - 210, 30) + 0.328 *
|
|
6298
|
+
clamp(0, h - 240, 30) + 0.036 *
|
|
6299
|
+
clamp(0, h - 270, 30) - 0.081 *
|
|
6300
|
+
clamp(0, h - 300, 30) - 0.048 * clamp(0, h - 330, 30)
|
|
6301
|
+
) /
|
|
6302
|
+
30
|
|
6303
|
+
)
|
|
6304
|
+
)
|
|
6305
|
+
)
|
|
6306
|
+
h
|
|
6307
|
+
)
|
|
6308
|
+
)
|
|
6309
|
+
var(
|
|
6310
|
+
--_ttw-tint-legacy,
|
|
6311
|
+
color-mix(in oklab, var(--ttw-destructive) 12%, var(--ttw-background))
|
|
6312
|
+
)
|
|
6313
|
+
);
|
|
5971
6314
|
}
|
|
5972
6315
|
}
|
|
5973
|
-
.ttw\:data-\[variant\=destructive\]\:focus\:text-destructive[data-variant="destructive"]:focus {
|
|
5974
|
-
color: var(
|
|
6316
|
+
.ttw\:data-\[variant\=destructive\]\:focus\:text-destructive-subtle-foreground[data-variant="destructive"]:focus {
|
|
6317
|
+
color: var(
|
|
6318
|
+
--ttw-destructive-subtle-foreground,
|
|
6319
|
+
var(
|
|
6320
|
+
--_ttw-tint-relative,
|
|
6321
|
+
oklch(from var(--ttw-destructive) 0.55 c h)
|
|
6322
|
+
)
|
|
6323
|
+
var(
|
|
6324
|
+
--_ttw-tint-legacy,
|
|
6325
|
+
var(--ttw-destructive)
|
|
6326
|
+
)
|
|
6327
|
+
);
|
|
6328
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
6329
|
+
color: var(
|
|
6330
|
+
--ttw-destructive-subtle-foreground,
|
|
6331
|
+
var(
|
|
6332
|
+
--_ttw-tint-relative,
|
|
6333
|
+
color-mix(
|
|
6334
|
+
in oklch,
|
|
6335
|
+
oklch(from var(--ttw-destructive) 0.55 c h) 60%,
|
|
6336
|
+
oklch(from var(--ttw-foreground) l 0 none)
|
|
6337
|
+
)
|
|
6338
|
+
)
|
|
6339
|
+
var(
|
|
6340
|
+
--_ttw-tint-legacy,
|
|
6341
|
+
color-mix(in oklab, var(--ttw-destructive) 60%, var(--ttw-foreground))
|
|
6342
|
+
)
|
|
6343
|
+
);
|
|
6344
|
+
}
|
|
5975
6345
|
}
|
|
5976
6346
|
.ttw\:data-\[variant\=label\]\:text-sm[data-variant="label"] {
|
|
5977
6347
|
font-size: var(--ttw-text-sm);
|
|
@@ -6280,12 +6650,6 @@
|
|
|
6280
6650
|
.ttw\:dark\:data-\[state\=checked\]\:bg-primary:is(.dark *):not(.tesouro-embedded-light, .tesouro-embedded-light *)[data-state="checked"] {
|
|
6281
6651
|
background-color: var(--ttw-primary);
|
|
6282
6652
|
}
|
|
6283
|
-
.ttw\:dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:is(.dark *):not(.tesouro-embedded-light, .tesouro-embedded-light *)[data-variant="destructive"]:focus {
|
|
6284
|
-
background-color: var(--ttw-destructive);
|
|
6285
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
6286
|
-
background-color: color-mix(in oklab, var(--ttw-destructive) 20%, transparent);
|
|
6287
|
-
}
|
|
6288
|
-
}
|
|
6289
6653
|
.ttw\:\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading] {
|
|
6290
6654
|
padding-inline: calc(var(--ttw-spacing) * 2);
|
|
6291
6655
|
}
|
|
@@ -6703,7 +7067,7 @@
|
|
|
6703
7067
|
--ttw-secondary: oklch(0.97 0 0);
|
|
6704
7068
|
--ttw-secondary-foreground: oklch(0.205 0 0);
|
|
6705
7069
|
--ttw-muted: oklch(0.97 0 0);
|
|
6706
|
-
--ttw-muted-foreground: oklch(0.
|
|
7070
|
+
--ttw-muted-foreground: oklch(0.53 0 0);
|
|
6707
7071
|
--ttw-accent: oklch(0.97 0 0);
|
|
6708
7072
|
--ttw-accent-foreground: oklch(0.205 0 0);
|
|
6709
7073
|
--ttw-destructive: #dc2626;
|
package/dist/index.d.ts
CHANGED
|
@@ -2609,6 +2609,10 @@ interface Labels$3 {
|
|
|
2609
2609
|
statementColumn: string;
|
|
2610
2610
|
statementsActionsColumn: string;
|
|
2611
2611
|
viewStatementButton: string;
|
|
2612
|
+
/**
|
|
2613
|
+
* The View button's accessible name. Starts with `viewStatementButton`'s
|
|
2614
|
+
* text so a voice-control user can say what they see (WCAG 2.5.3).
|
|
2615
|
+
*/
|
|
2612
2616
|
viewStatementButtonAriaLabel: string;
|
|
2613
2617
|
statementsRowsPerPageLabel: string;
|
|
2614
2618
|
statementsPreviousPageButton: string;
|
|
@@ -3616,6 +3620,11 @@ interface ExpensesTransactionsTableLabels {
|
|
|
3616
3620
|
interface ExpensesTransactionsFilterBarLabels {
|
|
3617
3621
|
searchPlaceholder: string;
|
|
3618
3622
|
searchAriaLabel: string;
|
|
3623
|
+
/**
|
|
3624
|
+
* Visible text of the filters button, followed by "(N)" when filters are
|
|
3625
|
+
* active; it is also the button's accessible name. Named for its old
|
|
3626
|
+
* aria-label role and kept so existing host overrides still apply.
|
|
3627
|
+
*/
|
|
3619
3628
|
filtersButtonAriaLabel: string;
|
|
3620
3629
|
clearAll: string;
|
|
3621
3630
|
dateRangeFieldLabel: string;
|
|
@@ -3642,6 +3651,8 @@ interface Labels$2 {
|
|
|
3642
3651
|
|
|
3643
3652
|
interface FileViewerLabels {
|
|
3644
3653
|
filePreview: string;
|
|
3654
|
+
/** Names the scrollable viewport that holds the zoomed file. */
|
|
3655
|
+
previewRegion: string;
|
|
3645
3656
|
zoomIn: string;
|
|
3646
3657
|
zoomOut: string;
|
|
3647
3658
|
moreActions: string;
|
|
@@ -4698,6 +4709,7 @@ interface ReceivablePreviewLabels {
|
|
|
4698
4709
|
noItems: string;
|
|
4699
4710
|
payOnline: string;
|
|
4700
4711
|
paymentQrCodeLabel: string;
|
|
4712
|
+
previewRegionLabel: string;
|
|
4701
4713
|
}
|
|
4702
4714
|
|
|
4703
4715
|
interface RecurringSeriesScreenLabels {
|
|
@@ -5173,7 +5185,7 @@ interface InvoicingTabLabels extends InvoicingTabsLabels {
|
|
|
5173
5185
|
interface ReceivablesWidgetOwnProps {
|
|
5174
5186
|
/** Sponsor bank shown as "Powered by {bank}" beside embedded accounts. */
|
|
5175
5187
|
embeddedBankName?: string;
|
|
5176
|
-
/** Rendered above the tab row. The widget renders no heading of its own (embedded ADR 0010), so pass the page title here. */
|
|
5188
|
+
/** Rendered above the tab row, and kept when an error or the disclosures gate replaces the tabs. The widget renders no heading of its own (embedded ADR 0010), so pass the page title here. */
|
|
5177
5189
|
headerStart?: ReactNode;
|
|
5178
5190
|
/** The active tab. Omit to let the widget track it, starting on Invoices. */
|
|
5179
5191
|
selectedTab?: InvoicingTabId;
|
|
@@ -5213,7 +5225,7 @@ interface ReceivablesWidgetOwnProps {
|
|
|
5213
5225
|
|
|
5214
5226
|
type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
|
|
5215
5227
|
|
|
5216
|
-
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
5228
|
+
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, headerStart, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
5217
5229
|
|
|
5218
5230
|
interface Labels$1 {
|
|
5219
5231
|
title: string;
|
|
@@ -6109,6 +6121,10 @@ interface AcceptDisclosuresWidgetLabels {
|
|
|
6109
6121
|
acceptButton: string;
|
|
6110
6122
|
submittingButton?: string;
|
|
6111
6123
|
successToast?: string;
|
|
6124
|
+
/**
|
|
6125
|
+
* @deprecated Ignored. The checkbox is named by the visible agreement text
|
|
6126
|
+
* (WCAG 2.5.3). Kept so existing overrides continue to typecheck.
|
|
6127
|
+
*/
|
|
6112
6128
|
agreementCheckboxAriaLabel: string;
|
|
6113
6129
|
/** Fallback when the accept API fails without a usable message. */
|
|
6114
6130
|
acceptErrorFallback: string;
|
|
@@ -6144,8 +6160,8 @@ interface AcceptDisclosuresWidgetLabels {
|
|
|
6144
6160
|
/** Use `{bankName}` when the backend returned no documents. */
|
|
6145
6161
|
noDocumentsAgreementTextTemplate?: string;
|
|
6146
6162
|
/**
|
|
6147
|
-
*
|
|
6148
|
-
*
|
|
6163
|
+
* @deprecated Ignored. The checkbox is named by the visible agreement text
|
|
6164
|
+
* (WCAG 2.5.3). Kept so existing overrides continue to typecheck.
|
|
6149
6165
|
*/
|
|
6150
6166
|
noDocumentsAgreementCheckboxAriaLabel?: string;
|
|
6151
6167
|
/**
|
|
@@ -6466,11 +6482,12 @@ interface BillPayWidgetProps extends WidgetProviderProps {
|
|
|
6466
6482
|
/** Bank shown as "Powered by {bank}" next to the source account when paying; omitted hides the badge. */
|
|
6467
6483
|
poweredByBankName?: string;
|
|
6468
6484
|
/**
|
|
6469
|
-
* Opens the host's bill-pay settings surface, from a cog
|
|
6470
|
-
*
|
|
6471
|
-
* reach it.
|
|
6485
|
+
* Opens the host's bill-pay settings surface, from a cog at the top right,
|
|
6486
|
+
* on the `headerStart` line. Only rendered for a user whose scopes reach it.
|
|
6472
6487
|
*/
|
|
6473
6488
|
onSettingsClick?: () => void;
|
|
6489
|
+
/** Rendered above the tab row, beside the settings cog, and kept when an error or the disclosures gate replaces the tabs. The widget renders no heading of its own, so pass your page title here (embedded ADR 0010). */
|
|
6490
|
+
headerStart?: ReactNode;
|
|
6474
6491
|
/**
|
|
6475
6492
|
* The active summary card on the Bills tab, or `null` for none. Applied on
|
|
6476
6493
|
* mount and whenever it changes. Omit to let the widget track it.
|
|
@@ -8,6 +8,10 @@ interface AcceptDisclosuresWidgetLabels {
|
|
|
8
8
|
acceptButton: string;
|
|
9
9
|
submittingButton?: string;
|
|
10
10
|
successToast?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated Ignored. The checkbox is named by the visible agreement text
|
|
13
|
+
* (WCAG 2.5.3). Kept so existing overrides continue to typecheck.
|
|
14
|
+
*/
|
|
11
15
|
agreementCheckboxAriaLabel: string;
|
|
12
16
|
/** Fallback when the accept API fails without a usable message. */
|
|
13
17
|
acceptErrorFallback: string;
|
|
@@ -43,8 +47,8 @@ interface AcceptDisclosuresWidgetLabels {
|
|
|
43
47
|
/** Use `{bankName}` when the backend returned no documents. */
|
|
44
48
|
noDocumentsAgreementTextTemplate?: string;
|
|
45
49
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
50
|
+
* @deprecated Ignored. The checkbox is named by the visible agreement text
|
|
51
|
+
* (WCAG 2.5.3). Kept so existing overrides continue to typecheck.
|
|
48
52
|
*/
|
|
49
53
|
noDocumentsAgreementCheckboxAriaLabel?: string;
|
|
50
54
|
/**
|
|
@@ -676,6 +676,10 @@ interface Labels {
|
|
|
676
676
|
statementColumn: string;
|
|
677
677
|
statementsActionsColumn: string;
|
|
678
678
|
viewStatementButton: string;
|
|
679
|
+
/**
|
|
680
|
+
* The View button's accessible name. Starts with `viewStatementButton`'s
|
|
681
|
+
* text so a voice-control user can say what they see (WCAG 2.5.3).
|
|
682
|
+
*/
|
|
679
683
|
viewStatementButtonAriaLabel: string;
|
|
680
684
|
statementsRowsPerPageLabel: string;
|
|
681
685
|
statementsPreviousPageButton: string;
|
|
@@ -635,11 +635,12 @@ interface BillPayWidgetProps extends WidgetProviderProps {
|
|
|
635
635
|
/** Bank shown as "Powered by {bank}" next to the source account when paying; omitted hides the badge. */
|
|
636
636
|
poweredByBankName?: string;
|
|
637
637
|
/**
|
|
638
|
-
* Opens the host's bill-pay settings surface, from a cog
|
|
639
|
-
*
|
|
640
|
-
* reach it.
|
|
638
|
+
* Opens the host's bill-pay settings surface, from a cog at the top right,
|
|
639
|
+
* on the `headerStart` line. Only rendered for a user whose scopes reach it.
|
|
641
640
|
*/
|
|
642
641
|
onSettingsClick?: () => void;
|
|
642
|
+
/** Rendered above the tab row, beside the settings cog, and kept when an error or the disclosures gate replaces the tabs. The widget renders no heading of its own, so pass your page title here (embedded ADR 0010). */
|
|
643
|
+
headerStart?: ReactNode;
|
|
643
644
|
/**
|
|
644
645
|
* The active summary card on the Bills tab, or `null` for none. Applied on
|
|
645
646
|
* mount and whenever it changes. Omit to let the widget track it.
|
|
@@ -33,6 +33,11 @@ interface ExpensesTransactionsTableLabels {
|
|
|
33
33
|
interface ExpensesTransactionsFilterBarLabels {
|
|
34
34
|
searchPlaceholder: string;
|
|
35
35
|
searchAriaLabel: string;
|
|
36
|
+
/**
|
|
37
|
+
* Visible text of the filters button, followed by "(N)" when filters are
|
|
38
|
+
* active; it is also the button's accessible name. Named for its old
|
|
39
|
+
* aria-label role and kept so existing host overrides still apply.
|
|
40
|
+
*/
|
|
36
41
|
filtersButtonAriaLabel: string;
|
|
37
42
|
clearAll: string;
|
|
38
43
|
dateRangeFieldLabel: string;
|
|
@@ -59,6 +64,8 @@ interface Labels {
|
|
|
59
64
|
|
|
60
65
|
interface FileViewerLabels {
|
|
61
66
|
filePreview: string;
|
|
67
|
+
/** Names the scrollable viewport that holds the zoomed file. */
|
|
68
|
+
previewRegion: string;
|
|
62
69
|
zoomIn: string;
|
|
63
70
|
zoomOut: string;
|
|
64
71
|
moreActions: string;
|