@tesouro/embedded-components-react 0.11.101 → 0.11.102
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 +21 -17
- package/dist/index.d.ts +10 -6
- package/dist/lib/CardDetailsWidget.d.ts +6 -4
- package/dist/lib/CreditCardsWidget.d.ts +6 -4
- package/dist/lib/DebitCardsWidget.d.ts +6 -4
- package/dist/lib/SettingsWidget.d.ts +2 -1
- package/dist/lib/WidgetSuite.d.ts +8 -5
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsPanel.js +199 -168
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/labels.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +44 -43
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index3.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index6.js +25 -284
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index7.js +291 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index3.js +28 -17
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index5.js +21 -34
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index6.js +71 -78
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index7.js +71 -77
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index8.js +43 -49
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index2.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index3.js +98 -91
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/ExpenseSettingsTabs/ExpenseSettingsTabs.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/SettingsWidget/SettingsWidget.js +14 -8
- package/dist/libs/tesouro-embedded-components-react/settings-widget/help/ui/shadcn/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index10.js +87 -81
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index3.js +63 -44
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index6.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +302 -276
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index12.js +36 -36
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index17.js +27 -13
- package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsSectionContent.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js +39 -37
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index11.js +39 -35
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index16.js +59 -61
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index7.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +114 -103
- 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/util/dist/index.js +12 -12
- package/dist/packages/shared-ui-shadcn/dist/index.js +18 -15
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -131,6 +131,10 @@
|
|
|
131
131
|
container-type: inline-size;
|
|
132
132
|
container-name: field-group;
|
|
133
133
|
}
|
|
134
|
+
.ttw\:\@container\/invoice-numbering {
|
|
135
|
+
container-type: inline-size;
|
|
136
|
+
container-name: invoice-numbering;
|
|
137
|
+
}
|
|
134
138
|
.ttw\:\@container\/line-item {
|
|
135
139
|
container-type: inline-size;
|
|
136
140
|
container-name: line-item;
|
|
@@ -1024,6 +1028,9 @@
|
|
|
1024
1028
|
.ttw\:w-110 {
|
|
1025
1029
|
width: calc(var(--ttw-spacing) * 110);
|
|
1026
1030
|
}
|
|
1031
|
+
.ttw\:w-112 {
|
|
1032
|
+
width: calc(var(--ttw-spacing) * 112);
|
|
1033
|
+
}
|
|
1027
1034
|
.ttw\:w-140 {
|
|
1028
1035
|
width: calc(var(--ttw-spacing) * 140);
|
|
1029
1036
|
}
|
|
@@ -1312,9 +1319,6 @@
|
|
|
1312
1319
|
.ttw\:min-w-30\.5 {
|
|
1313
1320
|
min-width: calc(var(--ttw-spacing) * 30.5);
|
|
1314
1321
|
}
|
|
1315
|
-
.ttw\:min-w-32 {
|
|
1316
|
-
min-width: calc(var(--ttw-spacing) * 32);
|
|
1317
|
-
}
|
|
1318
1322
|
.ttw\:min-w-35 {
|
|
1319
1323
|
min-width: calc(var(--ttw-spacing) * 35);
|
|
1320
1324
|
}
|
|
@@ -1375,6 +1379,9 @@
|
|
|
1375
1379
|
.ttw\:shrink-9999 {
|
|
1376
1380
|
flex-shrink: 9999;
|
|
1377
1381
|
}
|
|
1382
|
+
.ttw\:grow {
|
|
1383
|
+
flex-grow: 1;
|
|
1384
|
+
}
|
|
1378
1385
|
.ttw\:grow-0 {
|
|
1379
1386
|
flex-grow: 0;
|
|
1380
1387
|
}
|
|
@@ -1384,6 +1391,9 @@
|
|
|
1384
1391
|
.ttw\:basis-56 {
|
|
1385
1392
|
flex-basis: calc(var(--ttw-spacing) * 56);
|
|
1386
1393
|
}
|
|
1394
|
+
.ttw\:basis-80 {
|
|
1395
|
+
flex-basis: calc(var(--ttw-spacing) * 80);
|
|
1396
|
+
}
|
|
1387
1397
|
.ttw\:basis-\[6\.5rem\] {
|
|
1388
1398
|
flex-basis: 6.5rem;
|
|
1389
1399
|
}
|
|
@@ -1764,6 +1774,9 @@
|
|
|
1764
1774
|
.ttw\:self-center {
|
|
1765
1775
|
align-self: center;
|
|
1766
1776
|
}
|
|
1777
|
+
.ttw\:self-end {
|
|
1778
|
+
align-self: flex-end;
|
|
1779
|
+
}
|
|
1767
1780
|
.ttw\:self-start {
|
|
1768
1781
|
align-self: flex-start;
|
|
1769
1782
|
}
|
|
@@ -3650,9 +3663,6 @@
|
|
|
3650
3663
|
.ttw\:p-4 {
|
|
3651
3664
|
padding: calc(var(--ttw-spacing) * 4);
|
|
3652
3665
|
}
|
|
3653
|
-
.ttw\:p-5 {
|
|
3654
|
-
padding: calc(var(--ttw-spacing) * 5);
|
|
3655
|
-
}
|
|
3656
3666
|
.ttw\:p-6 {
|
|
3657
3667
|
padding: calc(var(--ttw-spacing) * 6);
|
|
3658
3668
|
}
|
|
@@ -6323,6 +6333,11 @@
|
|
|
6323
6333
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
6324
6334
|
}
|
|
6325
6335
|
}
|
|
6336
|
+
@container invoice-numbering (width >= 28rem) {
|
|
6337
|
+
.ttw\:\@md\/invoice-numbering\:grid-cols-3 {
|
|
6338
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
6339
|
+
}
|
|
6340
|
+
}
|
|
6326
6341
|
@container field-group (width >= 28rem) {
|
|
6327
6342
|
.ttw\:\@md\/field-group\:flex-row {
|
|
6328
6343
|
flex-direction: row;
|
|
@@ -6352,17 +6367,6 @@
|
|
|
6352
6367
|
display: none;
|
|
6353
6368
|
}
|
|
6354
6369
|
}
|
|
6355
|
-
@container card-details (width >= 36rem) {
|
|
6356
|
-
.ttw\:\@xl\/card-details\:shrink-0 {
|
|
6357
|
-
flex-shrink: 0;
|
|
6358
|
-
}
|
|
6359
|
-
.ttw\:\@xl\/card-details\:flex-row {
|
|
6360
|
-
flex-direction: row;
|
|
6361
|
-
}
|
|
6362
|
-
.ttw\:\@xl\/card-details\:items-start {
|
|
6363
|
-
align-items: flex-start;
|
|
6364
|
-
}
|
|
6365
|
-
}
|
|
6366
6370
|
@container summary-card-group (width >= 48rem) {
|
|
6367
6371
|
.ttw\:\@3xl\/summary-card-group\:grid-cols-4 {
|
|
6368
6372
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
package/dist/index.d.ts
CHANGED
|
@@ -2715,11 +2715,12 @@ interface CardDetailsCardFaceLabels {
|
|
|
2715
2715
|
}
|
|
2716
2716
|
/** Row headings and per-row copy affordance names for the details table. */
|
|
2717
2717
|
interface CardDetailsFieldLabels {
|
|
2718
|
+
detailsHeading: string;
|
|
2718
2719
|
cardholder: string;
|
|
2719
2720
|
nickname: string;
|
|
2720
2721
|
/**
|
|
2721
|
-
* Heading for the billing-address block
|
|
2722
|
-
*
|
|
2722
|
+
* Heading for the billing-address block: one heading, with a copy control
|
|
2723
|
+
* beside each populated address line.
|
|
2723
2724
|
*/
|
|
2724
2725
|
billingAddress: string;
|
|
2725
2726
|
/** Sub-header over the merchant categories / velocity control rows. */
|
|
@@ -2729,10 +2730,11 @@ interface CardDetailsFieldLabels {
|
|
|
2729
2730
|
perTransactionMax: string;
|
|
2730
2731
|
/** Stands in for a row whose value the card does not carry. */
|
|
2731
2732
|
emptyValue: string;
|
|
2732
|
-
/** @deprecated
|
|
2733
|
+
/** @deprecated The cardholder detail has no copy control. */
|
|
2733
2734
|
copyCardholderAriaLabel: string;
|
|
2734
|
-
/** @deprecated
|
|
2735
|
+
/** @deprecated The nickname detail has no copy control. */
|
|
2735
2736
|
copyNicknameAriaLabel: string;
|
|
2737
|
+
/** @deprecated Address lines have individual copy controls. */
|
|
2736
2738
|
copyBillingAddressAriaLabel: string;
|
|
2737
2739
|
copyBillingAddressLine1AriaLabel: string;
|
|
2738
2740
|
copyBillingAddressLine2AriaLabel: string;
|
|
@@ -3751,7 +3753,8 @@ interface GapCoverageAlertTestIds {
|
|
|
3751
3753
|
}
|
|
3752
3754
|
interface GapCoverageAlertProps {
|
|
3753
3755
|
gaps: GapRange[];
|
|
3754
|
-
|
|
3756
|
+
/** Omit for an informational coverage warning with no create-rule shortcut. */
|
|
3757
|
+
onSelectGap?: (id: string) => void;
|
|
3755
3758
|
disabled?: boolean;
|
|
3756
3759
|
labels?: Partial<GapCoverageAlertLabels>;
|
|
3757
3760
|
testIds?: GapCoverageAlertTestIds;
|
|
@@ -3977,7 +3980,8 @@ interface Labels {
|
|
|
3977
3980
|
interface SettingsWidgetSection {
|
|
3978
3981
|
id: string;
|
|
3979
3982
|
label: string;
|
|
3980
|
-
|
|
3983
|
+
/** The child may portal its action beside the shell-owned heading. */
|
|
3984
|
+
content: ReactNode | ((headerActionContainer: HTMLElement | null) => ReactNode);
|
|
3981
3985
|
}
|
|
3982
3986
|
|
|
3983
3987
|
/**
|
|
@@ -20,11 +20,12 @@ interface CardDetailsCardFaceLabels {
|
|
|
20
20
|
}
|
|
21
21
|
/** Row headings and per-row copy affordance names for the details table. */
|
|
22
22
|
interface CardDetailsFieldLabels {
|
|
23
|
+
detailsHeading: string;
|
|
23
24
|
cardholder: string;
|
|
24
25
|
nickname: string;
|
|
25
26
|
/**
|
|
26
|
-
* Heading for the billing-address block
|
|
27
|
-
*
|
|
27
|
+
* Heading for the billing-address block: one heading, with a copy control
|
|
28
|
+
* beside each populated address line.
|
|
28
29
|
*/
|
|
29
30
|
billingAddress: string;
|
|
30
31
|
/** Sub-header over the merchant categories / velocity control rows. */
|
|
@@ -34,10 +35,11 @@ interface CardDetailsFieldLabels {
|
|
|
34
35
|
perTransactionMax: string;
|
|
35
36
|
/** Stands in for a row whose value the card does not carry. */
|
|
36
37
|
emptyValue: string;
|
|
37
|
-
/** @deprecated
|
|
38
|
+
/** @deprecated The cardholder detail has no copy control. */
|
|
38
39
|
copyCardholderAriaLabel: string;
|
|
39
|
-
/** @deprecated
|
|
40
|
+
/** @deprecated The nickname detail has no copy control. */
|
|
40
41
|
copyNicknameAriaLabel: string;
|
|
42
|
+
/** @deprecated Address lines have individual copy controls. */
|
|
41
43
|
copyBillingAddressAriaLabel: string;
|
|
42
44
|
copyBillingAddressLine1AriaLabel: string;
|
|
43
45
|
copyBillingAddressLine2AriaLabel: string;
|
|
@@ -753,11 +753,12 @@ interface CardDetailsCardFaceLabels {
|
|
|
753
753
|
}
|
|
754
754
|
/** Row headings and per-row copy affordance names for the details table. */
|
|
755
755
|
interface CardDetailsFieldLabels {
|
|
756
|
+
detailsHeading: string;
|
|
756
757
|
cardholder: string;
|
|
757
758
|
nickname: string;
|
|
758
759
|
/**
|
|
759
|
-
* Heading for the billing-address block
|
|
760
|
-
*
|
|
760
|
+
* Heading for the billing-address block: one heading, with a copy control
|
|
761
|
+
* beside each populated address line.
|
|
761
762
|
*/
|
|
762
763
|
billingAddress: string;
|
|
763
764
|
/** Sub-header over the merchant categories / velocity control rows. */
|
|
@@ -767,10 +768,11 @@ interface CardDetailsFieldLabels {
|
|
|
767
768
|
perTransactionMax: string;
|
|
768
769
|
/** Stands in for a row whose value the card does not carry. */
|
|
769
770
|
emptyValue: string;
|
|
770
|
-
/** @deprecated
|
|
771
|
+
/** @deprecated The cardholder detail has no copy control. */
|
|
771
772
|
copyCardholderAriaLabel: string;
|
|
772
|
-
/** @deprecated
|
|
773
|
+
/** @deprecated The nickname detail has no copy control. */
|
|
773
774
|
copyNicknameAriaLabel: string;
|
|
775
|
+
/** @deprecated Address lines have individual copy controls. */
|
|
774
776
|
copyBillingAddressAriaLabel: string;
|
|
775
777
|
copyBillingAddressLine1AriaLabel: string;
|
|
776
778
|
copyBillingAddressLine2AriaLabel: string;
|
|
@@ -753,11 +753,12 @@ interface CardDetailsCardFaceLabels {
|
|
|
753
753
|
}
|
|
754
754
|
/** Row headings and per-row copy affordance names for the details table. */
|
|
755
755
|
interface CardDetailsFieldLabels {
|
|
756
|
+
detailsHeading: string;
|
|
756
757
|
cardholder: string;
|
|
757
758
|
nickname: string;
|
|
758
759
|
/**
|
|
759
|
-
* Heading for the billing-address block
|
|
760
|
-
*
|
|
760
|
+
* Heading for the billing-address block: one heading, with a copy control
|
|
761
|
+
* beside each populated address line.
|
|
761
762
|
*/
|
|
762
763
|
billingAddress: string;
|
|
763
764
|
/** Sub-header over the merchant categories / velocity control rows. */
|
|
@@ -767,10 +768,11 @@ interface CardDetailsFieldLabels {
|
|
|
767
768
|
perTransactionMax: string;
|
|
768
769
|
/** Stands in for a row whose value the card does not carry. */
|
|
769
770
|
emptyValue: string;
|
|
770
|
-
/** @deprecated
|
|
771
|
+
/** @deprecated The cardholder detail has no copy control. */
|
|
771
772
|
copyCardholderAriaLabel: string;
|
|
772
|
-
/** @deprecated
|
|
773
|
+
/** @deprecated The nickname detail has no copy control. */
|
|
773
774
|
copyNicknameAriaLabel: string;
|
|
775
|
+
/** @deprecated Address lines have individual copy controls. */
|
|
774
776
|
copyBillingAddressAriaLabel: string;
|
|
775
777
|
copyBillingAddressLine1AriaLabel: string;
|
|
776
778
|
copyBillingAddressLine2AriaLabel: string;
|
|
@@ -10,7 +10,8 @@ interface Labels {
|
|
|
10
10
|
interface SettingsWidgetSection {
|
|
11
11
|
id: string;
|
|
12
12
|
label: string;
|
|
13
|
-
|
|
13
|
+
/** The child may portal its action beside the shell-owned heading. */
|
|
14
|
+
content: ReactNode | ((headerActionContainer: HTMLElement | null) => ReactNode);
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
/**
|
|
@@ -1712,11 +1712,12 @@ interface CardDetailsCardFaceLabels {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
/** Row headings and per-row copy affordance names for the details table. */
|
|
1714
1714
|
interface CardDetailsFieldLabels {
|
|
1715
|
+
detailsHeading: string;
|
|
1715
1716
|
cardholder: string;
|
|
1716
1717
|
nickname: string;
|
|
1717
1718
|
/**
|
|
1718
|
-
* Heading for the billing-address block
|
|
1719
|
-
*
|
|
1719
|
+
* Heading for the billing-address block: one heading, with a copy control
|
|
1720
|
+
* beside each populated address line.
|
|
1720
1721
|
*/
|
|
1721
1722
|
billingAddress: string;
|
|
1722
1723
|
/** Sub-header over the merchant categories / velocity control rows. */
|
|
@@ -1726,10 +1727,11 @@ interface CardDetailsFieldLabels {
|
|
|
1726
1727
|
perTransactionMax: string;
|
|
1727
1728
|
/** Stands in for a row whose value the card does not carry. */
|
|
1728
1729
|
emptyValue: string;
|
|
1729
|
-
/** @deprecated
|
|
1730
|
+
/** @deprecated The cardholder detail has no copy control. */
|
|
1730
1731
|
copyCardholderAriaLabel: string;
|
|
1731
|
-
/** @deprecated
|
|
1732
|
+
/** @deprecated The nickname detail has no copy control. */
|
|
1732
1733
|
copyNicknameAriaLabel: string;
|
|
1734
|
+
/** @deprecated Address lines have individual copy controls. */
|
|
1733
1735
|
copyBillingAddressAriaLabel: string;
|
|
1734
1736
|
copyBillingAddressLine1AriaLabel: string;
|
|
1735
1737
|
copyBillingAddressLine2AriaLabel: string;
|
|
@@ -2838,7 +2840,8 @@ interface Labels {
|
|
|
2838
2840
|
interface SettingsWidgetSection {
|
|
2839
2841
|
id: string;
|
|
2840
2842
|
label: string;
|
|
2841
|
-
|
|
2843
|
+
/** The child may portal its action beside the shell-owned heading. */
|
|
2844
|
+
content: ReactNode | ((headerActionContainer: HTMLElement | null) => ReactNode);
|
|
2842
2845
|
}
|
|
2843
2846
|
|
|
2844
2847
|
/**
|