@tesouro/embedded-components-react 0.9.17 → 0.9.19

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.
Files changed (74) hide show
  1. package/dist/index.css +66 -16
  2. package/dist/index.d.ts +21 -0
  3. package/dist/lib/BankAccountOnboardingWidget.d.ts +2 -0
  4. package/dist/lib/CounterpartsWidget.d.ts +6 -0
  5. package/dist/lib/CounterpartsWidgetPublic.d.ts +6 -0
  6. package/dist/lib/CustomersWidget.d.ts +6 -0
  7. package/dist/lib/LinkedAccountsWidget.d.ts +1 -0
  8. package/dist/lib/ProductsWidget.d.ts +8 -0
  9. package/dist/lib/ReceivablesWidget.d.ts +12 -0
  10. package/dist/lib/WidgetSuite.d.ts +3 -0
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index31.js +2 -1
  12. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index32.js +2 -0
  13. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index3.js +1 -0
  14. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +1 -0
  15. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/CreateAccountDialog.js +1 -0
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index42.js +2 -1
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index43.js +1 -0
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index52.js +1 -0
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index5.js +2 -1
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index6.js +1 -0
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index10.js +57 -55
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index2.js +1 -0
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index3.js +2 -0
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -0
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +2 -0
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index8.js +1 -0
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js +1 -0
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index4.js +2 -0
  29. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index7.js +1 -0
  30. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/DeleteReceiptDialog/DeleteReceiptDialog.js +18 -14
  31. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/DeleteReceiptDialog/labels.js +2 -1
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +2 -1
  33. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +4 -2
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +2 -0
  35. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index43.js +1 -0
  36. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +2 -0
  37. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index50.js +1 -0
  38. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index57.js +29 -26
  39. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +2 -1
  40. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +1 -0
  41. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index11.js +1 -0
  42. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js +1 -0
  43. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index14.js +1 -0
  44. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index15.js +1 -0
  45. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index9.js +1 -0
  46. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index2.js +2 -1
  47. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index7.js +16 -12
  48. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index2.js +2 -1
  49. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index5.js +26 -22
  50. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index13.js +1 -0
  51. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index3.js +1 -0
  52. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index6.js +1 -0
  53. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index11.js +2 -1
  54. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index12.js +1 -0
  55. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index15.js +37 -33
  56. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index6.js +2 -1
  57. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index17.js +2 -1
  58. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index18.js +2 -0
  59. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index10.js +1 -0
  60. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index13.js +16 -12
  61. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index2.js +5 -3
  62. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index9.js +36 -31
  63. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  64. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index2.js +5 -2
  65. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index4.js +1 -0
  66. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index5.js +1 -0
  67. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index6.js +39 -35
  68. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +1 -0
  69. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetContainer/WidgetContainer.js +9 -21
  70. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetFrame/WidgetFrame.js +35 -0
  71. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetTitleWithIconAndChildren/WidgetTitleWithIconAndChildren.js +9 -31
  72. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferMoneyModal.js +1 -0
  73. package/dist/packages/shared-ui-shadcn/dist/index.js +4699 -4648
  74. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -129,7 +129,6 @@
129
129
  --ttw-leading-snug: 1.375;
130
130
  --ttw-leading-normal: 1.5;
131
131
  --ttw-leading-relaxed: 1.625;
132
- --ttw-radius-xs: 0.125rem;
133
132
  --ttw-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
134
133
  --ttw-animate-spin: spin 1s linear infinite;
135
134
  --ttw-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
@@ -139,6 +138,10 @@
139
138
  }
140
139
  }
141
140
  @layer utilities {
141
+ .ttw\:\@container\/description-list {
142
+ container-type: inline-size;
143
+ container-name: description-list;
144
+ }
142
145
  .ttw\:\@container\/field-group {
143
146
  container-type: inline-size;
144
147
  container-name: field-group;
@@ -829,6 +832,9 @@
829
832
  .ttw\:max-h-\[300px\] {
830
833
  max-height: 300px;
831
834
  }
835
+ .ttw\:max-h-\[calc\(100dvh-2rem\)\] {
836
+ max-height: calc(100dvh - 2rem);
837
+ }
832
838
  .ttw\:max-h-\[var\(--radix-context-menu-content-available-height\)\] {
833
839
  max-height: var(--radix-context-menu-content-available-height);
834
840
  }
@@ -1153,6 +1159,9 @@
1153
1159
  .ttw\:w-\[880px\] {
1154
1160
  width: 880px;
1155
1161
  }
1162
+ .ttw\:w-\[calc\(100\%-2rem\)\] {
1163
+ width: calc(100% - 2rem);
1164
+ }
1156
1165
  .ttw\:w-\[calc\(100vw-3rem\)\] {
1157
1166
  width: calc(100vw - 3rem);
1158
1167
  }
@@ -1213,12 +1222,21 @@
1213
1222
  .ttw\:max-w-60 {
1214
1223
  max-width: calc(var(--ttw-spacing) * 60);
1215
1224
  }
1225
+ .ttw\:max-w-64 {
1226
+ max-width: calc(var(--ttw-spacing) * 64);
1227
+ }
1216
1228
  .ttw\:max-w-80 {
1217
1229
  max-width: calc(var(--ttw-spacing) * 80);
1218
1230
  }
1231
+ .ttw\:max-w-100 {
1232
+ max-width: calc(var(--ttw-spacing) * 100);
1233
+ }
1219
1234
  .ttw\:max-w-130 {
1220
1235
  max-width: calc(var(--ttw-spacing) * 130);
1221
1236
  }
1237
+ .ttw\:max-w-140 {
1238
+ max-width: calc(var(--ttw-spacing) * 140);
1239
+ }
1222
1240
  .ttw\:max-w-150 {
1223
1241
  max-width: calc(var(--ttw-spacing) * 150);
1224
1242
  }
@@ -1276,9 +1294,6 @@
1276
1294
  .ttw\:max-w-\[900px\] {
1277
1295
  max-width: 900px;
1278
1296
  }
1279
- .ttw\:max-w-\[calc\(100\%-2rem\)\] {
1280
- max-width: calc(100% - 2rem);
1281
- }
1282
1297
  .ttw\:max-w-\[calc\(100vw-2rem\)\] {
1283
1298
  max-width: calc(100vw - 2rem);
1284
1299
  }
@@ -1924,9 +1939,6 @@
1924
1939
  .ttw\:rounded-xl {
1925
1940
  border-radius: calc(var(--ttw-radius) + 4px);
1926
1941
  }
1927
- .ttw\:rounded-xs {
1928
- border-radius: var(--ttw-radius-xs);
1929
- }
1930
1942
  .ttw\:rounded-t-xl {
1931
1943
  border-top-left-radius: calc(var(--ttw-radius) + 4px);
1932
1944
  border-top-right-radius: calc(var(--ttw-radius) + 4px);
@@ -2941,6 +2953,9 @@
2941
2953
  .ttw\:pr-12 {
2942
2954
  padding-right: calc(var(--ttw-spacing) * 12);
2943
2955
  }
2956
+ .ttw\:pr-14 {
2957
+ padding-right: calc(var(--ttw-spacing) * 14);
2958
+ }
2944
2959
  .ttw\:pr-16 {
2945
2960
  padding-right: calc(var(--ttw-spacing) * 16);
2946
2961
  }
@@ -5210,9 +5225,6 @@
5210
5225
  .ttw\:data-\[state\=open\]\:text-accent-foreground[data-state="open"] {
5211
5226
  color: var(--ttw-accent-foreground);
5212
5227
  }
5213
- .ttw\:data-\[state\=open\]\:text-muted-foreground[data-state="open"] {
5214
- color: var(--ttw-muted-foreground);
5215
- }
5216
5228
  .ttw\:data-\[state\=open\]\:opacity-100[data-state="open"] {
5217
5229
  opacity: 100%;
5218
5230
  }
@@ -5330,6 +5342,9 @@
5330
5342
  }
5331
5343
  }
5332
5344
  @media (width >= 40rem) {
5345
+ .ttw\:sm\:mr-auto {
5346
+ margin-right: auto;
5347
+ }
5333
5348
  .ttw\:sm\:flex {
5334
5349
  display: flex;
5335
5350
  }
@@ -5354,9 +5369,6 @@
5354
5369
  .ttw\:sm\:max-w-\[600px\] {
5355
5370
  max-width: 600px;
5356
5371
  }
5357
- .ttw\:sm\:max-w-lg {
5358
- max-width: var(--ttw-container-lg);
5359
- }
5360
5372
  .ttw\:sm\:max-w-screen {
5361
5373
  max-width: 100vw;
5362
5374
  }
@@ -5395,9 +5407,6 @@
5395
5407
  .ttw\:sm\:text-center {
5396
5408
  text-align: center;
5397
5409
  }
5398
- .ttw\:sm\:text-left {
5399
- text-align: left;
5400
- }
5401
5410
  }
5402
5411
  @media (width >= 48rem) {
5403
5412
  .ttw\:md\:absolute {
@@ -5453,6 +5462,23 @@
5453
5462
  display: none;
5454
5463
  }
5455
5464
  }
5465
+ @media (width >= 64rem) {
5466
+ .ttw\:lg\:grid {
5467
+ display: grid;
5468
+ }
5469
+ .ttw\:lg\:min-h-0 {
5470
+ min-height: 0px;
5471
+ }
5472
+ .ttw\:lg\:grid-cols-2 {
5473
+ grid-template-columns: repeat(2, minmax(0, 1fr));
5474
+ }
5475
+ .ttw\:lg\:overflow-hidden {
5476
+ overflow: hidden;
5477
+ }
5478
+ .ttw\:lg\:overflow-y-auto {
5479
+ overflow-y: auto;
5480
+ }
5481
+ }
5456
5482
  @media (width >= 80rem) {
5457
5483
  .ttw\:xl\:w-1\/2 {
5458
5484
  width: calc(1 / 2 * 100%);
@@ -5461,6 +5487,23 @@
5461
5487
  flex-direction: row;
5462
5488
  }
5463
5489
  }
5490
+ @container description-list (width >= 18rem) {
5491
+ .ttw\:\@2xs\/description-list\:w-32 {
5492
+ width: calc(var(--ttw-spacing) * 32);
5493
+ }
5494
+ .ttw\:\@2xs\/description-list\:shrink-0 {
5495
+ flex-shrink: 0;
5496
+ }
5497
+ .ttw\:\@2xs\/description-list\:flex-row {
5498
+ flex-direction: row;
5499
+ }
5500
+ .ttw\:\@2xs\/description-list\:items-start {
5501
+ align-items: flex-start;
5502
+ }
5503
+ .ttw\:\@2xs\/description-list\:gap-4 {
5504
+ gap: calc(var(--ttw-spacing) * 4);
5505
+ }
5506
+ }
5464
5507
  @container line-item (width >= 24rem) {
5465
5508
  .ttw\:\@sm\/line-item\:col-span-3 {
5466
5509
  grid-column: span 3 / span 3;
@@ -5801,6 +5844,10 @@
5801
5844
  width: calc(var(--ttw-spacing) * 4);
5802
5845
  height: calc(var(--ttw-spacing) * 4);
5803
5846
  }
5847
+ .ttw\:\[\&\>svg\]\:size-5 > svg {
5848
+ width: calc(var(--ttw-spacing) * 5);
5849
+ height: calc(var(--ttw-spacing) * 5);
5850
+ }
5804
5851
  .ttw\:\[\&\>svg\]\:size-6 > svg {
5805
5852
  width: calc(var(--ttw-spacing) * 6);
5806
5853
  height: calc(var(--ttw-spacing) * 6);
@@ -5818,6 +5865,9 @@
5818
5865
  .ttw\:\[\&\>svg\]\:text-muted-foreground > svg {
5819
5866
  color: var(--ttw-muted-foreground);
5820
5867
  }
5868
+ .ttw\:\[\&\>svg\]\:text-primary > svg {
5869
+ color: var(--ttw-primary);
5870
+ }
5821
5871
  .ttw\:\[\&\>svg\]\:text-sidebar-accent-foreground > svg {
5822
5872
  color: var(
5823
5873
  --ttw-sidebar-accent-foreground,
package/dist/index.d.ts CHANGED
@@ -2037,6 +2037,8 @@ interface DeleteApplicationDialogLabels {
2037
2037
  keepEditingButton: string;
2038
2038
  /** Permanently deletes the application. */
2039
2039
  deleteButton: string;
2040
+ /** Accessible name and tooltip of the dialog's close (X) button. */
2041
+ close: string;
2040
2042
  }
2041
2043
 
2042
2044
  /**
@@ -3623,6 +3625,7 @@ interface Labels$1 {
3623
3625
  checkingOption: string;
3624
3626
  savingsOption: string;
3625
3627
  cancelButton: string;
3628
+ closeButton: string;
3626
3629
  nextButton: string;
3627
3630
  backButton: string;
3628
3631
  /** Step indicator template, e.g. "Step {current}/{total}". */
@@ -4678,6 +4681,8 @@ interface CounterpartFormSheetLabels {
4678
4681
  createButtonCustomer: string;
4679
4682
  createButtonVendor: string;
4680
4683
  saveButton: string;
4684
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
4685
+ close: string;
4681
4686
  address: AddressFieldGroupLabels;
4682
4687
  ach: AchFieldGroupLabels;
4683
4688
  /** Seeds `address.fieldMarkers` and `ach.fieldMarkers` unless set per group. */
@@ -4702,6 +4707,8 @@ interface AddressFormSheetLabels {
4702
4707
  title: string;
4703
4708
  cancelButton: string;
4704
4709
  saveButton: string;
4710
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
4711
+ close: string;
4705
4712
  address: AddressFieldGroupLabels;
4706
4713
  /** Seeds `address.fieldMarkers` unless set on the group itself. */
4707
4714
  fieldMarkers: LabelLabels;
@@ -4710,6 +4717,8 @@ interface AddressFormSheetLabels {
4710
4717
  interface ConfirmDeleteDialogLabels {
4711
4718
  confirmButton: string;
4712
4719
  cancelButton: string;
4720
+ /** Screen-reader name and tooltip of the dialog's close (X) button. */
4721
+ close: string;
4713
4722
  }
4714
4723
 
4715
4724
  /**
@@ -5264,6 +5273,8 @@ interface ProductFormSheetLabels {
5264
5273
  /** `{type}` is replaced with the product/service word. */
5265
5274
  createButton: string;
5266
5275
  saveButton: string;
5276
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
5277
+ close: string;
5267
5278
  /** The required asterisk and "(optional)" note on each field label. */
5268
5279
  fieldMarkers: LabelLabels;
5269
5280
  requiredFieldsLegend: RequiredFieldsLegendLabels;
@@ -5285,6 +5296,8 @@ interface MeasureUnitsManagerLabels {
5285
5296
  emptyText: string;
5286
5297
  /** Accessible label for the per-row actions-menu trigger button. */
5287
5298
  moreActionsLabel: string;
5299
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
5300
+ close: string;
5288
5301
  }
5289
5302
  interface MeasureUnitDeleteDialogLabels {
5290
5303
  /** `{name}` is replaced with the unit name. */
@@ -5295,6 +5308,8 @@ interface MeasureUnitDeleteDialogLabels {
5295
5308
  messageWithItemsHint: string;
5296
5309
  confirmButton: string;
5297
5310
  cancelButton: string;
5311
+ /** Screen-reader name and tooltip of the dialog's close (X) button. */
5312
+ close: string;
5298
5313
  }
5299
5314
 
5300
5315
  /**
@@ -5418,6 +5433,8 @@ interface ProductDeleteDialogLabels {
5418
5433
  message: string;
5419
5434
  confirmButton: string;
5420
5435
  cancelButton: string;
5436
+ /** Accessible name and tooltip of the dialog's close (X) button. */
5437
+ close: string;
5421
5438
  }
5422
5439
 
5423
5440
  interface ProductsWidgetOwnProps {
@@ -5488,6 +5505,7 @@ interface ReceivableActionsModalLabels {
5488
5505
  productsCaption: string;
5489
5506
  productsAllLabel: string;
5490
5507
  saveItemsButton: string;
5508
+ close: string;
5491
5509
  }
5492
5510
 
5493
5511
  interface ReceivableBillingSectionLabels {
@@ -5537,6 +5555,7 @@ interface ReceivableRecurrenceEmailDialogLabels {
5537
5555
  recurrenceEmailFootnote: string;
5538
5556
  recurrenceEmailCancel: string;
5539
5557
  recurrenceEmailSave: string;
5558
+ recurrenceEmailClose: string;
5540
5559
  }
5541
5560
 
5542
5561
  interface ReceivablesScreenLabels {
@@ -5741,12 +5760,14 @@ interface ReceivablePaymentDialogLabels {
5741
5760
  reviewWarning: string;
5742
5761
  editRecordButton: string;
5743
5762
  confirmButton: string;
5763
+ close: string;
5744
5764
  }
5745
5765
  interface ReceivableActionDialogLabels {
5746
5766
  cancelButton: string;
5747
5767
  confirmButton: string;
5748
5768
  commentLabel: string;
5749
5769
  commentPlaceholder: string;
5770
+ close: string;
5750
5771
  }
5751
5772
 
5752
5773
  type ReceivableDocumentType = ReceivableDocumentKind;
@@ -1033,6 +1033,8 @@ interface DeleteApplicationDialogLabels {
1033
1033
  keepEditingButton: string;
1034
1034
  /** Permanently deletes the application. */
1035
1035
  deleteButton: string;
1036
+ /** Accessible name and tooltip of the dialog's close (X) button. */
1037
+ close: string;
1036
1038
  }
1037
1039
 
1038
1040
  /**
@@ -706,6 +706,8 @@ interface CounterpartFormSheetLabels {
706
706
  createButtonCustomer: string;
707
707
  createButtonVendor: string;
708
708
  saveButton: string;
709
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
710
+ close: string;
709
711
  address: AddressFieldGroupLabels;
710
712
  ach: AchFieldGroupLabels;
711
713
  /** Seeds `address.fieldMarkers` and `ach.fieldMarkers` unless set per group. */
@@ -730,6 +732,8 @@ interface AddressFormSheetLabels {
730
732
  title: string;
731
733
  cancelButton: string;
732
734
  saveButton: string;
735
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
736
+ close: string;
733
737
  address: AddressFieldGroupLabels;
734
738
  /** Seeds `address.fieldMarkers` unless set on the group itself. */
735
739
  fieldMarkers: LabelLabels;
@@ -738,6 +742,8 @@ interface AddressFormSheetLabels {
738
742
  interface ConfirmDeleteDialogLabels {
739
743
  confirmButton: string;
740
744
  cancelButton: string;
745
+ /** Screen-reader name and tooltip of the dialog's close (X) button. */
746
+ close: string;
741
747
  }
742
748
 
743
749
  /**
@@ -706,6 +706,8 @@ interface CounterpartFormSheetLabels {
706
706
  createButtonCustomer: string;
707
707
  createButtonVendor: string;
708
708
  saveButton: string;
709
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
710
+ close: string;
709
711
  address: AddressFieldGroupLabels;
710
712
  ach: AchFieldGroupLabels;
711
713
  /** Seeds `address.fieldMarkers` and `ach.fieldMarkers` unless set per group. */
@@ -730,6 +732,8 @@ interface AddressFormSheetLabels {
730
732
  title: string;
731
733
  cancelButton: string;
732
734
  saveButton: string;
735
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
736
+ close: string;
733
737
  address: AddressFieldGroupLabels;
734
738
  /** Seeds `address.fieldMarkers` unless set on the group itself. */
735
739
  fieldMarkers: LabelLabels;
@@ -738,6 +742,8 @@ interface AddressFormSheetLabels {
738
742
  interface ConfirmDeleteDialogLabels {
739
743
  confirmButton: string;
740
744
  cancelButton: string;
745
+ /** Screen-reader name and tooltip of the dialog's close (X) button. */
746
+ close: string;
741
747
  }
742
748
 
743
749
  /**
@@ -707,6 +707,8 @@ interface CounterpartFormSheetLabels {
707
707
  createButtonCustomer: string;
708
708
  createButtonVendor: string;
709
709
  saveButton: string;
710
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
711
+ close: string;
710
712
  address: AddressFieldGroupLabels;
711
713
  ach: AchFieldGroupLabels;
712
714
  /** Seeds `address.fieldMarkers` and `ach.fieldMarkers` unless set per group. */
@@ -718,6 +720,8 @@ interface AddressFormSheetLabels {
718
720
  title: string;
719
721
  cancelButton: string;
720
722
  saveButton: string;
723
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
724
+ close: string;
721
725
  address: AddressFieldGroupLabels;
722
726
  /** Seeds `address.fieldMarkers` unless set on the group itself. */
723
727
  fieldMarkers: LabelLabels;
@@ -726,6 +730,8 @@ interface AddressFormSheetLabels {
726
730
  interface ConfirmDeleteDialogLabels {
727
731
  confirmButton: string;
728
732
  cancelButton: string;
733
+ /** Screen-reader name and tooltip of the dialog's close (X) button. */
734
+ close: string;
729
735
  }
730
736
 
731
737
  /**
@@ -23,6 +23,7 @@ interface Labels {
23
23
  checkingOption: string;
24
24
  savingsOption: string;
25
25
  cancelButton: string;
26
+ closeButton: string;
26
27
  nextButton: string;
27
28
  backButton: string;
28
29
  /** Step indicator template, e.g. "Step {current}/{total}". */
@@ -659,6 +659,8 @@ interface ProductFormSheetLabels {
659
659
  /** `{type}` is replaced with the product/service word. */
660
660
  createButton: string;
661
661
  saveButton: string;
662
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
663
+ close: string;
662
664
  /** The required asterisk and "(optional)" note on each field label. */
663
665
  fieldMarkers: LabelLabels;
664
666
  requiredFieldsLegend: RequiredFieldsLegendLabels;
@@ -680,6 +682,8 @@ interface MeasureUnitsManagerLabels {
680
682
  emptyText: string;
681
683
  /** Accessible label for the per-row actions-menu trigger button. */
682
684
  moreActionsLabel: string;
685
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
686
+ close: string;
683
687
  }
684
688
  interface MeasureUnitDeleteDialogLabels {
685
689
  /** `{name}` is replaced with the unit name. */
@@ -690,6 +694,8 @@ interface MeasureUnitDeleteDialogLabels {
690
694
  messageWithItemsHint: string;
691
695
  confirmButton: string;
692
696
  cancelButton: string;
697
+ /** Screen-reader name and tooltip of the dialog's close (X) button. */
698
+ close: string;
693
699
  }
694
700
 
695
701
  /**
@@ -813,6 +819,8 @@ interface ProductDeleteDialogLabels {
813
819
  message: string;
814
820
  confirmButton: string;
815
821
  cancelButton: string;
822
+ /** Accessible name and tooltip of the dialog's close (X) button. */
823
+ close: string;
816
824
  }
817
825
 
818
826
  interface ProductsWidgetOwnProps {
@@ -795,6 +795,8 @@ interface CounterpartFormSheetLabels {
795
795
  createButtonCustomer: string;
796
796
  createButtonVendor: string;
797
797
  saveButton: string;
798
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
799
+ close: string;
798
800
  address: AddressFieldGroupLabels;
799
801
  ach: AchFieldGroupLabels;
800
802
  /** Seeds `address.fieldMarkers` and `ach.fieldMarkers` unless set per group. */
@@ -881,6 +883,8 @@ interface ProductFormSheetLabels {
881
883
  /** `{type}` is replaced with the product/service word. */
882
884
  createButton: string;
883
885
  saveButton: string;
886
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
887
+ close: string;
884
888
  /** The required asterisk and "(optional)" note on each field label. */
885
889
  fieldMarkers: LabelLabels;
886
890
  requiredFieldsLegend: RequiredFieldsLegendLabels;
@@ -902,6 +906,8 @@ interface MeasureUnitsManagerLabels {
902
906
  emptyText: string;
903
907
  /** Accessible label for the per-row actions-menu trigger button. */
904
908
  moreActionsLabel: string;
909
+ /** Screen-reader name and tooltip of the sheet's close (X) button. */
910
+ close: string;
905
911
  }
906
912
  interface MeasureUnitDeleteDialogLabels {
907
913
  /** `{name}` is replaced with the unit name. */
@@ -912,6 +918,8 @@ interface MeasureUnitDeleteDialogLabels {
912
918
  messageWithItemsHint: string;
913
919
  confirmButton: string;
914
920
  cancelButton: string;
921
+ /** Screen-reader name and tooltip of the dialog's close (X) button. */
922
+ close: string;
915
923
  }
916
924
 
917
925
  /**
@@ -997,6 +1005,7 @@ interface ReceivableActionsModalLabels {
997
1005
  productsCaption: string;
998
1006
  productsAllLabel: string;
999
1007
  saveItemsButton: string;
1008
+ close: string;
1000
1009
  }
1001
1010
 
1002
1011
  interface ReceivableBillingSectionLabels {
@@ -1046,6 +1055,7 @@ interface ReceivableRecurrenceEmailDialogLabels {
1046
1055
  recurrenceEmailFootnote: string;
1047
1056
  recurrenceEmailCancel: string;
1048
1057
  recurrenceEmailSave: string;
1058
+ recurrenceEmailClose: string;
1049
1059
  }
1050
1060
 
1051
1061
  interface ReceivableStatusBadgeLabels {
@@ -1268,12 +1278,14 @@ interface ReceivablePaymentDialogLabels {
1268
1278
  reviewWarning: string;
1269
1279
  editRecordButton: string;
1270
1280
  confirmButton: string;
1281
+ close: string;
1271
1282
  }
1272
1283
  interface ReceivableActionDialogLabels {
1273
1284
  cancelButton: string;
1274
1285
  confirmButton: string;
1275
1286
  commentLabel: string;
1276
1287
  commentPlaceholder: string;
1288
+ close: string;
1277
1289
  }
1278
1290
 
1279
1291
  type ReceivableDocumentType = ReceivableDocumentKind;
@@ -1083,6 +1083,8 @@ interface DeleteApplicationDialogLabels {
1083
1083
  keepEditingButton: string;
1084
1084
  /** Permanently deletes the application. */
1085
1085
  deleteButton: string;
1086
+ /** Accessible name and tooltip of the dialog's close (X) button. */
1087
+ close: string;
1086
1088
  }
1087
1089
 
1088
1090
  /**
@@ -2599,6 +2601,7 @@ interface Labels$1 {
2599
2601
  checkingOption: string;
2600
2602
  savingsOption: string;
2601
2603
  cancelButton: string;
2604
+ closeButton: string;
2602
2605
  nextButton: string;
2603
2606
  backButton: string;
2604
2607
  /** Step indicator template, e.g. "Step {current}/{total}". */
@@ -5,7 +5,8 @@ var e = {
5
5
  descriptionEmphasis: "Save and continue later",
6
6
  descriptionAfterEmphasis: " instead.",
7
7
  keepEditingButton: "Keep editing",
8
- deleteButton: "Delete application"
8
+ deleteButton: "Delete application",
9
+ close: "Close"
9
10
  };
10
11
  //#endregion
11
12
  export { e as DELETE_APPLICATION_DIALOG_LABELS_EN };
@@ -15,6 +15,8 @@ function f({ open: f, onConfirm: p, onCancel: m, isDeleting: h = !1, labels: g,
15
15
  !e && !h && m();
16
16
  },
17
17
  children: /* @__PURE__ */ u(t, {
18
+ closeDisabled: h,
19
+ labels: { close: v.close },
18
20
  "data-testid": _?.root,
19
21
  onOpenAutoFocus: (e) => {
20
22
  e.preventDefault(), y.current?.focus();
@@ -13,6 +13,7 @@ function _({ labels: o, open: s, form: c, isSubmitting: l, isSaveDisabled: h = !
13
13
  open: s,
14
14
  onOpenChange: v,
15
15
  children: /* @__PURE__ */ m(n, {
16
+ showCloseButton: !1,
16
17
  className: "ttw:max-w-[400px] ttw:gap-0 ttw:p-0",
17
18
  children: [
18
19
  /* @__PURE__ */ m(i, {
@@ -11,6 +11,7 @@ function p({ labels: p, open: m, startDate: h, endDate: g, isDownloading: _, isD
11
11
  open: m,
12
12
  onOpenChange: x,
13
13
  children: /* @__PURE__ */ u(r, {
14
+ showCloseButton: !1,
14
15
  className: "ttw:max-w-[400px] ttw:gap-0 ttw:p-0",
15
16
  children: [
16
17
  /* @__PURE__ */ u(o, {
@@ -28,6 +28,7 @@ function S({ labels: g, open: S, form: C, legalCopy: w, accessRows: T, isTeamMem
28
28
  open: S,
29
29
  onOpenChange: M,
30
30
  children: /* @__PURE__ */ v(n, {
31
+ showCloseButton: !1,
31
32
  className: "ttw:max-w-[460px] ttw:gap-0 ttw:p-0",
32
33
  children: [
33
34
  /* @__PURE__ */ v(a, {
@@ -3,7 +3,8 @@ var e = {
3
3
  title: "Discard unsaved changes?",
4
4
  description: "Your changes will be lost if you stop editing now.",
5
5
  keepEditingButton: "Keep editing",
6
- discardButton: "Discard changes"
6
+ discardButton: "Discard changes",
7
+ close: "Close"
7
8
  };
8
9
  //#endregion
9
10
  export { e as DISCARD_CHANGES_DIALOG_LABELS_EN };
@@ -14,6 +14,7 @@ function u({ open: u, onDiscard: d, onKeepEditing: f, labels: p, testId: m, disc
14
14
  },
15
15
  children: /* @__PURE__ */ l(t, {
16
16
  "data-testid": m,
17
+ labels: { close: g.close },
17
18
  children: [/* @__PURE__ */ l(i, { children: [/* @__PURE__ */ c(a, { children: g.title }), /* @__PURE__ */ c(n, { children: g.description })] }), /* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
18
19
  type: "button",
19
20
  variant: "outline",
@@ -14,6 +14,7 @@ function d({ open: d, onSaveDraft: f, onDiscard: p, onCancel: m, isSaving: h, is
14
14
  !e && !h && m();
15
15
  },
16
16
  children: /* @__PURE__ */ l(t, {
17
+ showCloseButton: !1,
17
18
  "data-testid": v,
18
19
  children: [
19
20
  /* @__PURE__ */ l("button", {
@@ -2,7 +2,8 @@
2
2
  var e = {
3
3
  dialogTitle: "Add a bill",
4
4
  dialogDescription: "Upload a bill to scan its details automatically, or enter it manually.",
5
- dropzoneFileInput: "Choose a file to upload for this new bill"
5
+ dropzoneFileInput: "Choose a file to upload for this new bill",
6
+ close: "Close"
6
7
  };
7
8
  //#endregion
8
9
  export { e as ADD_BILL_DIALOG_LABELS_EN };
@@ -21,6 +21,7 @@ function u({ open: u, onOpenChange: d, dialogLabels: f, ...p }) {
21
21
  onOpenChange: d,
22
22
  children: /* @__PURE__ */ l(t, {
23
23
  className: "ttw:sm:max-w-2xl",
24
+ labels: { close: m.close },
24
25
  children: [/* @__PURE__ */ l(r, {
25
26
  className: "ttw:sr-only",
26
27
  children: [/* @__PURE__ */ c(i, { children: m.dialogTitle }), /* @__PURE__ */ c(n, { children: m.dialogDescription })]