@tesouro/embedded-components-react 0.11.92 → 0.11.95
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 +0 -4
- package/dist/index.d.ts +5 -10
- package/dist/lib/ExpenseManagementWidget.d.ts +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +2 -6
- package/dist/lib/WidgetProvider.d.ts +2 -3
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -69,7 +69,6 @@
|
|
|
69
69
|
--ttw-color-zinc-500: oklch(55.2% 0.016 285.938);
|
|
70
70
|
--ttw-color-zinc-700: oklch(37% 0.013 285.805);
|
|
71
71
|
--ttw-color-zinc-900: oklch(21% 0.006 285.885);
|
|
72
|
-
--ttw-color-neutral-200: oklch(92.2% 0 none);
|
|
73
72
|
--ttw-color-stone-200: oklch(92.3% 0.003 48.717);
|
|
74
73
|
--ttw-color-black: #000;
|
|
75
74
|
--ttw-color-white: #fff;
|
|
@@ -2817,9 +2816,6 @@
|
|
|
2817
2816
|
background-color: color-mix(in oklab, var(--ttw-muted) 50%, transparent);
|
|
2818
2817
|
}
|
|
2819
2818
|
}
|
|
2820
|
-
.ttw\:bg-neutral-200 {
|
|
2821
|
-
background-color: var(--ttw-color-neutral-200);
|
|
2822
|
-
}
|
|
2823
2819
|
.ttw\:bg-orange-100 {
|
|
2824
2820
|
background-color: var(--ttw-color-orange-100);
|
|
2825
2821
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1326,10 +1326,7 @@ interface AuditHistoryActorLabels {
|
|
|
1326
1326
|
/** A template so locales own the wording/order, e.g. "Invoice created by Jane Doe". */
|
|
1327
1327
|
byActor: (title: string, actorName: string) => string;
|
|
1328
1328
|
}
|
|
1329
|
-
/**
|
|
1330
|
-
* Copy and formatting the caller owns, so the Monite panel can back this with
|
|
1331
|
-
* lingui and the native widget with its labels.ts.
|
|
1332
|
-
*/
|
|
1329
|
+
/** Copy and formatting the caller owns, backed by the widget's labels.ts. */
|
|
1333
1330
|
interface ReceivableAuditHistoryLabels extends AuditHistoryActorLabels {
|
|
1334
1331
|
dateLabel: (isoDateTime: string) => string;
|
|
1335
1332
|
timeLabel: (isoDateTime: string) => string;
|
|
@@ -1706,9 +1703,8 @@ interface UseWidgetTokenResult {
|
|
|
1706
1703
|
refresh: () => Promise<void>;
|
|
1707
1704
|
/**
|
|
1708
1705
|
* Synchronously read the manager's current state without subscribing the
|
|
1709
|
-
* caller to re-renders. Useful for non-React callbacks
|
|
1710
|
-
*
|
|
1711
|
-
* the React render lag of `state`.
|
|
1706
|
+
* caller to re-renders. Useful for non-React callbacks that need the
|
|
1707
|
+
* post-`await refresh()` token without the React render lag of `state`.
|
|
1712
1708
|
*/
|
|
1713
1709
|
getState: () => WidgetTokenState;
|
|
1714
1710
|
}
|
|
@@ -3680,7 +3676,7 @@ type ExpenseManagementWidgetProps = WidgetProviderProps & ExpenseManagementWidge
|
|
|
3680
3676
|
* the unmatched-receipts Action Item), and an Upload Receipts entry
|
|
3681
3677
|
* point — composed from `ExpensesScreen` rather than a monolithic UI
|
|
3682
3678
|
* component, following the `WidgetProvider` "Feature Component Pattern" the
|
|
3683
|
-
* same way `CustomersWidget` does.
|
|
3679
|
+
* same way `CustomersWidget` does.
|
|
3684
3680
|
*
|
|
3685
3681
|
* Team tab visibility matches legacy: `ExpenseReadOrg`, or a direct-reports
|
|
3686
3682
|
* probe for people-managers without org-wide read. The Team list, its count
|
|
@@ -6160,7 +6156,7 @@ interface ReceivableMessageLabels {
|
|
|
6160
6156
|
pendingValue: string;
|
|
6161
6157
|
/** The Number cell of a recurring row the series has not numbered. */
|
|
6162
6158
|
recurringNumber: string;
|
|
6163
|
-
/** `{days}` is replaced.
|
|
6159
|
+
/** `{days}` is replaced. */
|
|
6164
6160
|
listDayOverdue: string;
|
|
6165
6161
|
listDaysOverdue: string;
|
|
6166
6162
|
unknownCustomer: string;
|
|
@@ -6240,7 +6236,6 @@ interface ReceivableMessageLabels {
|
|
|
6240
6236
|
declineDescription: string;
|
|
6241
6237
|
declineConfirm: string;
|
|
6242
6238
|
issueFailed: string;
|
|
6243
|
-
/** Monite's fallback when a failed request carries no reason. */
|
|
6244
6239
|
unrecognizedError: string;
|
|
6245
6240
|
sendNoEmail: string;
|
|
6246
6241
|
cancelTitle: string;
|
|
@@ -820,7 +820,7 @@ type ExpenseManagementWidgetProps = WidgetProviderProps & ExpenseManagementWidge
|
|
|
820
820
|
* the unmatched-receipts Action Item), and an Upload Receipts entry
|
|
821
821
|
* point — composed from `ExpensesScreen` rather than a monolithic UI
|
|
822
822
|
* component, following the `WidgetProvider` "Feature Component Pattern" the
|
|
823
|
-
* same way `CustomersWidget` does.
|
|
823
|
+
* same way `CustomersWidget` does.
|
|
824
824
|
*
|
|
825
825
|
* Team tab visibility matches legacy: `ExpenseReadOrg`, or a direct-reports
|
|
826
826
|
* probe for people-managers without org-wide read. The Team list, its count
|
|
@@ -690,10 +690,7 @@ interface AuditHistoryActorLabels {
|
|
|
690
690
|
/** A template so locales own the wording/order, e.g. "Invoice created by Jane Doe". */
|
|
691
691
|
byActor: (title: string, actorName: string) => string;
|
|
692
692
|
}
|
|
693
|
-
/**
|
|
694
|
-
* Copy and formatting the caller owns, so the Monite panel can back this with
|
|
695
|
-
* lingui and the native widget with its labels.ts.
|
|
696
|
-
*/
|
|
693
|
+
/** Copy and formatting the caller owns, backed by the widget's labels.ts. */
|
|
697
694
|
interface ReceivableAuditHistoryLabels extends AuditHistoryActorLabels {
|
|
698
695
|
dateLabel: (isoDateTime: string) => string;
|
|
699
696
|
timeLabel: (isoDateTime: string) => string;
|
|
@@ -1443,7 +1440,7 @@ interface ReceivableMessageLabels {
|
|
|
1443
1440
|
pendingValue: string;
|
|
1444
1441
|
/** The Number cell of a recurring row the series has not numbered. */
|
|
1445
1442
|
recurringNumber: string;
|
|
1446
|
-
/** `{days}` is replaced.
|
|
1443
|
+
/** `{days}` is replaced. */
|
|
1447
1444
|
listDayOverdue: string;
|
|
1448
1445
|
listDaysOverdue: string;
|
|
1449
1446
|
unknownCustomer: string;
|
|
@@ -1523,7 +1520,6 @@ interface ReceivableMessageLabels {
|
|
|
1523
1520
|
declineDescription: string;
|
|
1524
1521
|
declineConfirm: string;
|
|
1525
1522
|
issueFailed: string;
|
|
1526
|
-
/** Monite's fallback when a failed request carries no reason. */
|
|
1527
1523
|
unrecognizedError: string;
|
|
1528
1524
|
sendNoEmail: string;
|
|
1529
1525
|
cancelTitle: string;
|
|
@@ -1284,9 +1284,8 @@ interface UseWidgetTokenResult {
|
|
|
1284
1284
|
refresh: () => Promise<void>;
|
|
1285
1285
|
/**
|
|
1286
1286
|
* Synchronously read the manager's current state without subscribing the
|
|
1287
|
-
* caller to re-renders. Useful for non-React callbacks
|
|
1288
|
-
*
|
|
1289
|
-
* the React render lag of `state`.
|
|
1287
|
+
* caller to re-renders. Useful for non-React callbacks that need the
|
|
1288
|
+
* post-`await refresh()` token without the React render lag of `state`.
|
|
1290
1289
|
*/
|
|
1291
1290
|
getState: () => WidgetTokenState;
|
|
1292
1291
|
}
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.11.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.11.95", n = "f74dd725837691099016e0b548fec8dee9fe29de", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|