@tesouro/embedded-components-react 0.11.71 → 0.11.72

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 (88) hide show
  1. package/README.md +1 -0
  2. package/dist/index.css +35 -192
  3. package/dist/index.d.ts +75 -71
  4. package/dist/lib/SettingsWidget.d.ts +5 -1
  5. package/dist/lib/WidgetSuite.d.ts +4 -0
  6. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index3.js +8 -7
  7. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index4.js +4 -1
  8. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index6.js +196 -131
  9. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index.js +4 -4
  10. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index3.js +11 -1
  11. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index4.js +5 -3
  12. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index5.js +38 -32
  13. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index6.js +103 -75
  14. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index7.js +140 -168
  15. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index8.js +97 -87
  16. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +11 -7
  17. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index8.js +0 -1
  18. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index2.js +3 -1
  19. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index3.js +134 -177
  20. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index4.js +110 -176
  21. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index5.js +28 -38
  22. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/ExpenseSettingsTabs/ExpenseSettingsTabs.js +13 -10
  23. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/SettingsWidget/SettingsWidget.js +28 -24
  24. package/dist/libs/tesouro-embedded-components-react/settings-widget/help/ui/shadcn/dist/index3.js +35 -31
  25. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index10.js +2 -0
  26. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index7.js +1 -5
  27. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index8.js +3 -0
  28. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index11.js +2 -1
  29. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index12.js +22 -36
  30. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index16.js +1 -1
  31. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index17.js +54 -60
  32. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index20.js +75 -60
  33. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index3.js +42 -27
  34. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index6.js +89 -82
  35. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index9.js +39 -38
  36. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +32 -32
  37. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/ui/dist/index2.js +1 -1
  38. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/ui/dist/index3.js +56 -71
  39. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index10.js +3 -0
  40. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index12.js +86 -66
  41. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index13.js +51 -51
  42. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index15.js +146 -132
  43. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +95 -99
  44. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index3.js +1 -0
  45. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index4.js +8 -27
  46. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index5.js +69 -72
  47. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index6.js +51 -51
  48. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index.js +9 -11
  49. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index10.js +83 -298
  50. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index11.js +13 -13
  51. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index12.js +122 -75
  52. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index13.js +41 -15
  53. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index14.js +7 -131
  54. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index15.js +147 -48
  55. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index16.js +240 -11
  56. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index17.js +15 -173
  57. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index2.js +38 -10
  58. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index3.js +5 -46
  59. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index4.js +52 -45
  60. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index5.js +101 -25
  61. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index6.js +40 -98
  62. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index7.js +415 -40
  63. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index8.js +261 -332
  64. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index9.js +15 -8
  65. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js +2 -2
  66. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js +9 -8
  67. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/useApprovalPolicyRules.js +136 -122
  68. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index.js +9 -8
  69. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index11.js +16 -17
  70. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index12.js +99 -100
  71. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index16.js +1 -1
  72. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index17.js +8 -8
  73. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index18.js +10 -55
  74. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index19.js +34 -8
  75. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index20.js +8 -84
  76. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index21.js +86 -0
  77. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index3.js +13 -13
  78. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index5.js +17 -18
  79. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index7.js +33 -42
  80. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  81. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +24 -24
  82. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/FileDropZone/FileDropZone.js +62 -0
  83. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/LoadingRegion/LoadingRegion.js +1 -0
  84. package/dist/packages/shared-ui-shadcn/dist/index.js +2301 -2283
  85. package/package.json +1 -1
  86. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index18.js +0 -291
  87. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index19.js +0 -22
  88. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/avatarSwatch.js +0 -26
package/README.md CHANGED
@@ -771,6 +771,7 @@ A single navigable settings surface combining profile, team, invoice, bill-pay,
771
771
  | `expenseContent` | `ReactNode` | Expense policies and requirements | Replaces expense content. |
772
772
  | `legalContent` | `ReactNode` | Bank disclosures widget | Replaces the Legal section content. |
773
773
  | `profileContactUrl` | `string` | `undefined` | Link for the Profile section's "contact your bank" line; unlinked when unset. |
774
+ | `showProfileHeader` | `boolean` | `true` | Shows the Profile section's decorative header band, a soft wash of your theme's primary color. |
774
775
  | `selectedSection` | `SettingsWidgetSectionId` | `undefined` | The section to show (controlled). Pair with `onSelectedSectionChange`; leave unset to let the widget own it. |
775
776
  | `defaultSelectedSection` | `SettingsWidgetSectionId` | First visible section | The section to open on; read once per mount and ignored when `selectedSection` is set. |
776
777
  | `onSelectedSectionChange` | `(section: SettingsWidgetSectionId) => void` | `undefined` | Called with the section the user selected, whether or not `selectedSection` is supplied. |
package/dist/index.css CHANGED
@@ -8,15 +8,11 @@
8
8
  --ttw-color-red-50: oklch(97.1% 0.013 17.38);
9
9
  --ttw-color-red-100: oklch(93.6% 0.032 17.717);
10
10
  --ttw-color-red-200: oklch(88.5% 0.062 18.334);
11
- --ttw-color-red-400: oklch(70.4% 0.191 22.216);
12
11
  --ttw-color-red-500: oklch(63.7% 0.237 25.331);
13
12
  --ttw-color-red-600: oklch(57.7% 0.245 27.325);
14
13
  --ttw-color-red-700: oklch(50.5% 0.213 27.518);
15
- --ttw-color-orange-50: oklch(98% 0.016 73.684);
16
14
  --ttw-color-orange-100: oklch(95.4% 0.038 75.164);
17
- --ttw-color-orange-400: oklch(75% 0.183 55.934);
18
15
  --ttw-color-orange-700: oklch(55.3% 0.195 38.402);
19
- --ttw-color-orange-950: oklch(26.6% 0.079 36.259);
20
16
  --ttw-color-amber-50: oklch(98.7% 0.022 95.277);
21
17
  --ttw-color-amber-100: oklch(96.2% 0.059 95.617);
22
18
  --ttw-color-amber-200: oklch(92.4% 0.12 95.746);
@@ -29,9 +25,7 @@
29
25
  --ttw-color-yellow-800: oklch(47.6% 0.114 61.907);
30
26
  --ttw-color-yellow-900: oklch(42.1% 0.095 57.708);
31
27
  --ttw-color-yellow-950: oklch(28.6% 0.066 53.813);
32
- --ttw-color-green-50: oklch(98.2% 0.018 155.826);
33
28
  --ttw-color-green-100: oklch(96.2% 0.044 156.743);
34
- --ttw-color-green-200: oklch(92.5% 0.084 155.995);
35
29
  --ttw-color-green-500: oklch(72.3% 0.219 149.579);
36
30
  --ttw-color-green-600: oklch(62.7% 0.194 149.214);
37
31
  --ttw-color-green-700: oklch(52.7% 0.154 150.069);
@@ -47,8 +41,6 @@
47
41
  --ttw-color-cyan-200: oklch(91.7% 0.08 205.041);
48
42
  --ttw-color-cyan-700: oklch(52% 0.105 223.128);
49
43
  --ttw-color-sky-100: oklch(95.1% 0.026 236.824);
50
- --ttw-color-sky-200: oklch(90.1% 0.058 230.902);
51
- --ttw-color-sky-400: oklch(74.6% 0.16 232.661);
52
44
  --ttw-color-sky-700: oklch(50% 0.134 242.749);
53
45
  --ttw-color-blue-50: oklch(97% 0.014 254.604);
54
46
  --ttw-color-blue-100: oklch(93.2% 0.032 255.585);
@@ -65,22 +57,18 @@
65
57
  --ttw-color-violet-50: oklch(96.9% 0.016 293.756);
66
58
  --ttw-color-violet-100: oklch(94.3% 0.029 294.588);
67
59
  --ttw-color-violet-200: oklch(89.4% 0.057 293.283);
68
- --ttw-color-violet-400: oklch(70.2% 0.183 293.541);
69
60
  --ttw-color-violet-700: oklch(49.1% 0.27 292.581);
70
61
  --ttw-color-purple-50: oklch(97.7% 0.014 308.299);
71
62
  --ttw-color-purple-100: oklch(94.6% 0.033 307.174);
72
- --ttw-color-purple-400: oklch(71.4% 0.203 305.504);
73
63
  --ttw-color-purple-700: oklch(49.6% 0.265 301.924);
74
64
  --ttw-color-pink-50: oklch(97.1% 0.014 343.198);
75
65
  --ttw-color-pink-100: oklch(94.8% 0.028 342.258);
76
66
  --ttw-color-pink-200: oklch(89.9% 0.061 343.231);
77
67
  --ttw-color-pink-700: oklch(52.5% 0.223 3.958);
78
- --ttw-color-rose-300: oklch(81% 0.117 11.638);
79
68
  --ttw-color-zinc-100: oklch(96.7% 0.001 286.375);
80
69
  --ttw-color-zinc-500: oklch(55.2% 0.016 285.938);
81
70
  --ttw-color-zinc-700: oklch(37% 0.013 285.805);
82
71
  --ttw-color-zinc-900: oklch(21% 0.006 285.885);
83
- --ttw-color-zinc-950: oklch(14.1% 0.005 285.823);
84
72
  --ttw-color-neutral-200: oklch(92.2% 0 none);
85
73
  --ttw-color-stone-200: oklch(92.3% 0.003 48.717);
86
74
  --ttw-color-black: #000;
@@ -243,9 +231,6 @@
243
231
  .ttw\:right-2 {
244
232
  right: calc(var(--ttw-spacing) * 2);
245
233
  }
246
- .ttw\:right-2\.5 {
247
- right: calc(var(--ttw-spacing) * 2.5);
248
- }
249
234
  .ttw\:right-3 {
250
235
  right: calc(var(--ttw-spacing) * 3);
251
236
  }
@@ -369,9 +354,6 @@
369
354
  .ttw\:my-1\.5 {
370
355
  margin-block: calc(var(--ttw-spacing) * 1.5);
371
356
  }
372
- .ttw\:my-4 {
373
- margin-block: calc(var(--ttw-spacing) * 4);
374
- }
375
357
  .ttw\:-mt-5 {
376
358
  margin-top: calc(var(--ttw-spacing) * -5);
377
359
  }
@@ -450,9 +432,6 @@
450
432
  .ttw\:-ml-2 {
451
433
  margin-left: calc(var(--ttw-spacing) * -2);
452
434
  }
453
- .ttw\:-ml-3 {
454
- margin-left: calc(var(--ttw-spacing) * -3);
455
- }
456
435
  .ttw\:ml-1 {
457
436
  margin-left: var(--ttw-spacing);
458
437
  }
@@ -990,9 +969,6 @@
990
969
  .ttw\:w-28 {
991
970
  width: calc(var(--ttw-spacing) * 28);
992
971
  }
993
- .ttw\:w-29 {
994
- width: calc(var(--ttw-spacing) * 29);
995
- }
996
972
  .ttw\:w-31 {
997
973
  width: calc(var(--ttw-spacing) * 31);
998
974
  }
@@ -1041,9 +1017,6 @@
1041
1017
  .ttw\:w-90 {
1042
1018
  width: calc(var(--ttw-spacing) * 90);
1043
1019
  }
1044
- .ttw\:w-94 {
1045
- width: calc(var(--ttw-spacing) * 94);
1046
- }
1047
1020
  .ttw\:w-96 {
1048
1021
  width: calc(var(--ttw-spacing) * 96);
1049
1022
  }
@@ -1095,9 +1068,6 @@
1095
1068
  .ttw\:w-\[360px\] {
1096
1069
  width: 360px;
1097
1070
  }
1098
- .ttw\:w-\[423px\] {
1099
- width: 423px;
1100
- }
1101
1071
  .ttw\:w-\[440px\] {
1102
1072
  width: 440px;
1103
1073
  }
@@ -1143,9 +1113,6 @@
1143
1113
  .ttw\:w-max {
1144
1114
  width: max-content;
1145
1115
  }
1146
- .ttw\:w-min {
1147
- width: min-content;
1148
- }
1149
1116
  .ttw\:w-px {
1150
1117
  width: 1px;
1151
1118
  }
@@ -1158,9 +1125,6 @@
1158
1125
  .ttw\:max-w-3xl {
1159
1126
  max-width: var(--ttw-container-3xl);
1160
1127
  }
1161
- .ttw\:max-w-29 {
1162
- max-width: calc(var(--ttw-spacing) * 29);
1163
- }
1164
1128
  .ttw\:max-w-40 {
1165
1129
  max-width: calc(var(--ttw-spacing) * 40);
1166
1130
  }
@@ -1191,6 +1155,9 @@
1191
1155
  .ttw\:max-w-80 {
1192
1156
  max-width: calc(var(--ttw-spacing) * 80);
1193
1157
  }
1158
+ .ttw\:max-w-96 {
1159
+ max-width: calc(var(--ttw-spacing) * 96);
1160
+ }
1194
1161
  .ttw\:max-w-100 {
1195
1162
  max-width: calc(var(--ttw-spacing) * 100);
1196
1163
  }
@@ -1338,15 +1305,15 @@
1338
1305
  .ttw\:min-w-30\.5 {
1339
1306
  min-width: calc(var(--ttw-spacing) * 30.5);
1340
1307
  }
1308
+ .ttw\:min-w-32 {
1309
+ min-width: calc(var(--ttw-spacing) * 32);
1310
+ }
1341
1311
  .ttw\:min-w-35 {
1342
1312
  min-width: calc(var(--ttw-spacing) * 35);
1343
1313
  }
1344
1314
  .ttw\:min-w-40 {
1345
1315
  min-width: calc(var(--ttw-spacing) * 40);
1346
1316
  }
1347
- .ttw\:min-w-44 {
1348
- min-width: calc(var(--ttw-spacing) * 44);
1349
- }
1350
1317
  .ttw\:min-w-48 {
1351
1318
  min-width: calc(var(--ttw-spacing) * 48);
1352
1319
  }
@@ -1576,15 +1543,9 @@
1576
1543
  .ttw\:grid-cols-\[0_1fr\] {
1577
1544
  grid-template-columns: 0 1fr;
1578
1545
  }
1579
- .ttw\:grid-cols-\[2fr_2fr_80px\] {
1580
- grid-template-columns: 2fr 2fr 80px;
1581
- }
1582
1546
  .ttw\:grid-cols-\[3rem_minmax\(0\,1fr\)_auto\] {
1583
1547
  grid-template-columns: 3rem minmax(0,1fr) auto;
1584
1548
  }
1585
- .ttw\:grid-cols-\[50\%_1fr\] {
1586
- grid-template-columns: 50% 1fr;
1587
- }
1588
1549
  .ttw\:grid-cols-\[max-content_1fr\] {
1589
1550
  grid-template-columns: max-content 1fr;
1590
1551
  }
@@ -1964,9 +1925,6 @@
1964
1925
  --tw-border-style: solid;
1965
1926
  border-style: solid;
1966
1927
  }
1967
- .ttw\:border-\[\#D0D5DD\] {
1968
- border-color: #D0D5DD;
1969
- }
1970
1928
  .ttw\:border-\[\#d9d9d9\] {
1971
1929
  border-color: #d9d9d9;
1972
1930
  }
@@ -2024,12 +1982,12 @@
2024
1982
  .ttw\:border-emerald-200 {
2025
1983
  border-color: var(--ttw-color-emerald-200);
2026
1984
  }
1985
+ .ttw\:border-foreground {
1986
+ border-color: var(--ttw-foreground);
1987
+ }
2027
1988
  .ttw\:border-green-100 {
2028
1989
  border-color: var(--ttw-color-green-100);
2029
1990
  }
2030
- .ttw\:border-green-200 {
2031
- border-color: var(--ttw-color-green-200);
2032
- }
2033
1991
  .ttw\:border-info\/40 {
2034
1992
  border-color: var(--ttw-info);
2035
1993
  @supports (color: color-mix(in lab, red, red)) {
@@ -2048,9 +2006,6 @@
2048
2006
  border-color: color-mix(in oklab, var(--ttw-muted-foreground) 40%, transparent);
2049
2007
  }
2050
2008
  }
2051
- .ttw\:border-orange-400 {
2052
- border-color: var(--ttw-color-orange-400);
2053
- }
2054
2009
  .ttw\:border-pink-100 {
2055
2010
  border-color: var(--ttw-color-pink-100);
2056
2011
  }
@@ -2108,72 +2063,9 @@
2108
2063
  .ttw\:border-t-transparent {
2109
2064
  border-top-color: transparent;
2110
2065
  }
2111
- .ttw\:bg-\[\#2DD4BF\] {
2112
- background-color: #2DD4BF;
2113
- }
2114
- .ttw\:bg-\[\#4ADE80\] {
2115
- background-color: #4ADE80;
2116
- }
2117
- .ttw\:bg-\[\#22D3EE\] {
2118
- background-color: #22D3EE;
2119
- }
2120
- .ttw\:bg-\[\#34D399\] {
2121
- background-color: #34D399;
2122
- }
2123
- .ttw\:bg-\[\#38BDF8\] {
2124
- background-color: #38BDF8;
2125
- }
2126
- .ttw\:bg-\[\#60A5FA\] {
2127
- background-color: #60A5FA;
2128
- }
2129
- .ttw\:bg-\[\#818CF8\] {
2130
- background-color: #818CF8;
2131
- }
2132
2066
  .ttw\:bg-\[\#101317\] {
2133
2067
  background-color: #101317;
2134
2068
  }
2135
- .ttw\:bg-\[\#A3E635\] {
2136
- background-color: #A3E635;
2137
- }
2138
- .ttw\:bg-\[\#A78BFA\] {
2139
- background-color: #A78BFA;
2140
- }
2141
- .ttw\:bg-\[\#C084FC\] {
2142
- background-color: #C084FC;
2143
- }
2144
- .ttw\:bg-\[\#E879F9\] {
2145
- background-color: #E879F9;
2146
- }
2147
- .ttw\:bg-\[\#ECFDF5\] {
2148
- background-color: #ECFDF5;
2149
- }
2150
- .ttw\:bg-\[\#EEF4FF\] {
2151
- background-color: #EEF4FF;
2152
- }
2153
- .ttw\:bg-\[\#EFF8FF\] {
2154
- background-color: #EFF8FF;
2155
- }
2156
- .ttw\:bg-\[\#F2F4F7\] {
2157
- background-color: #F2F4F7;
2158
- }
2159
- .ttw\:bg-\[\#F472B6\] {
2160
- background-color: #F472B6;
2161
- }
2162
- .ttw\:bg-\[\#F87171\] {
2163
- background-color: #F87171;
2164
- }
2165
- .ttw\:bg-\[\#FACC15\] {
2166
- background-color: #FACC15;
2167
- }
2168
- .ttw\:bg-\[\#FB923C\] {
2169
- background-color: #FB923C;
2170
- }
2171
- .ttw\:bg-\[\#FB7185\] {
2172
- background-color: #FB7185;
2173
- }
2174
- .ttw\:bg-\[\#FBBF24\] {
2175
- background-color: #FBBF24;
2176
- }
2177
2069
  .ttw\:bg-\[\#f2f2f2\] {
2178
2070
  background-color: #f2f2f2;
2179
2071
  }
@@ -2642,9 +2534,6 @@
2642
2534
  .ttw\:bg-foreground {
2643
2535
  background-color: var(--ttw-foreground);
2644
2536
  }
2645
- .ttw\:bg-green-50 {
2646
- background-color: var(--ttw-color-green-50);
2647
- }
2648
2537
  .ttw\:bg-green-100 {
2649
2538
  background-color: var(--ttw-color-green-100);
2650
2539
  }
@@ -2933,9 +2822,6 @@
2933
2822
  .ttw\:bg-neutral-200 {
2934
2823
  background-color: var(--ttw-color-neutral-200);
2935
2824
  }
2936
- .ttw\:bg-orange-50 {
2937
- background-color: var(--ttw-color-orange-50);
2938
- }
2939
2825
  .ttw\:bg-orange-100 {
2940
2826
  background-color: var(--ttw-color-orange-100);
2941
2827
  }
@@ -3675,21 +3561,18 @@
3675
3561
  }
3676
3562
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
3677
3563
  }
3678
- .ttw\:from-sky-200 {
3679
- --tw-gradient-from: var(--ttw-color-sky-200);
3680
- --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
3681
- }
3682
- .ttw\:from-sky-400 {
3683
- --tw-gradient-from: var(--ttw-color-sky-400);
3564
+ .ttw\:from-primary\/10 {
3565
+ --tw-gradient-from: var(--ttw-primary);
3566
+ @supports (color: color-mix(in lab, red, red)) {
3567
+ --tw-gradient-from: color-mix(in oklab, var(--ttw-primary) 10%, transparent);
3568
+ }
3684
3569
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
3685
3570
  }
3686
- .ttw\:via-red-400 {
3687
- --tw-gradient-via: var(--ttw-color-red-400);
3688
- --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
3689
- --tw-gradient-stops: var(--tw-gradient-via-stops);
3690
- }
3691
- .ttw\:via-rose-300 {
3692
- --tw-gradient-via: var(--ttw-color-rose-300);
3571
+ .ttw\:via-primary\/40 {
3572
+ --tw-gradient-via: var(--ttw-primary);
3573
+ @supports (color: color-mix(in lab, red, red)) {
3574
+ --tw-gradient-via: color-mix(in oklab, var(--ttw-primary) 40%, transparent);
3575
+ }
3693
3576
  --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
3694
3577
  --tw-gradient-stops: var(--tw-gradient-via-stops);
3695
3578
  }
@@ -3701,18 +3584,17 @@
3701
3584
  --tw-gradient-to: #e2e8f0;
3702
3585
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
3703
3586
  }
3704
- .ttw\:to-purple-400 {
3705
- --tw-gradient-to: var(--ttw-color-purple-400);
3587
+ .ttw\:to-primary\/20 {
3588
+ --tw-gradient-to: var(--ttw-primary);
3589
+ @supports (color: color-mix(in lab, red, red)) {
3590
+ --tw-gradient-to: color-mix(in oklab, var(--ttw-primary) 20%, transparent);
3591
+ }
3706
3592
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
3707
3593
  }
3708
3594
  .ttw\:to-transparent {
3709
3595
  --tw-gradient-to: transparent;
3710
3596
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
3711
3597
  }
3712
- .ttw\:to-violet-400 {
3713
- --tw-gradient-to: var(--ttw-color-violet-400);
3714
- --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
3715
- }
3716
3598
  .ttw\:fill-current {
3717
3599
  fill: currentcolor;
3718
3600
  }
@@ -3938,9 +3820,6 @@
3938
3820
  .ttw\:pr-8 {
3939
3821
  padding-right: calc(var(--ttw-spacing) * 8);
3940
3822
  }
3941
- .ttw\:pr-9 {
3942
- padding-right: calc(var(--ttw-spacing) * 9);
3943
- }
3944
3823
  .ttw\:pr-14 {
3945
3824
  padding-right: calc(var(--ttw-spacing) * 14);
3946
3825
  }
@@ -4001,9 +3880,6 @@
4001
3880
  .ttw\:pl-6 {
4002
3881
  padding-left: calc(var(--ttw-spacing) * 6);
4003
3882
  }
4004
- .ttw\:pl-7 {
4005
- padding-left: calc(var(--ttw-spacing) * 7);
4006
- }
4007
3883
  .ttw\:pl-8 {
4008
3884
  padding-left: calc(var(--ttw-spacing) * 8);
4009
3885
  }
@@ -4247,33 +4123,18 @@
4247
4123
  .ttw\:whitespace-pre-wrap {
4248
4124
  white-space: pre-wrap;
4249
4125
  }
4250
- .ttw\:text-\[\#027A48\] {
4251
- color: #027A48;
4252
- }
4253
- .ttw\:text-\[\#98A2B3\] {
4254
- color: #98A2B3;
4255
- }
4256
- .ttw\:text-\[\#175CD3\] {
4257
- color: #175CD3;
4258
- }
4259
4126
  .ttw\:text-\[\#432dd7\] {
4260
4127
  color: #432dd7;
4261
4128
  }
4262
4129
  .ttw\:text-\[\#003256\] {
4263
4130
  color: #003256;
4264
4131
  }
4265
- .ttw\:text-\[\#3538CD\] {
4266
- color: #3538CD;
4267
- }
4268
4132
  .ttw\:text-\[\#101011\] {
4269
4133
  color: #101011;
4270
4134
  }
4271
4135
  .ttw\:text-\[\#101317\] {
4272
4136
  color: #101317;
4273
4137
  }
4274
- .ttw\:text-\[\#344054\] {
4275
- color: #344054;
4276
- }
4277
4138
  .ttw\:text-\[\#999999\] {
4278
4139
  color: #999999;
4279
4140
  }
@@ -4388,9 +4249,6 @@
4388
4249
  .ttw\:text-green-500 {
4389
4250
  color: var(--ttw-color-green-500);
4390
4251
  }
4391
- .ttw\:text-green-600 {
4392
- color: var(--ttw-color-green-600);
4393
- }
4394
4252
  .ttw\:text-green-700 {
4395
4253
  color: var(--ttw-color-green-700);
4396
4254
  }
@@ -4445,9 +4303,6 @@
4445
4303
  .ttw\:text-orange-700 {
4446
4304
  color: var(--ttw-color-orange-700);
4447
4305
  }
4448
- .ttw\:text-orange-950 {
4449
- color: var(--ttw-color-orange-950);
4450
- }
4451
4306
  .ttw\:text-pink-700 {
4452
4307
  color: var(--ttw-color-pink-700);
4453
4308
  }
@@ -4625,9 +4480,6 @@
4625
4480
  .ttw\:text-zinc-700 {
4626
4481
  color: var(--ttw-color-zinc-700);
4627
4482
  }
4628
- .ttw\:text-zinc-950 {
4629
- color: var(--ttw-color-zinc-950);
4630
- }
4631
4483
  .ttw\:capitalize {
4632
4484
  text-transform: capitalize;
4633
4485
  }
@@ -5141,9 +4993,6 @@
5141
4993
  .ttw\:peer-data-\[size\=sm\]\/menu-button\:top-1:is(:where(.ttw\:peer\/menu-button)[data-size="sm"] ~ *) {
5142
4994
  top: var(--ttw-spacing);
5143
4995
  }
5144
- .ttw\:first-letter\:uppercase::first-letter {
5145
- text-transform: uppercase;
5146
- }
5147
4996
  .ttw\:marker\:text-primary ::marker {
5148
4997
  color: var(--ttw-primary);
5149
4998
  }
@@ -5261,9 +5110,6 @@
5261
5110
  content: var(--tw-content);
5262
5111
  width: calc(var(--ttw-spacing) * 0.5);
5263
5112
  }
5264
- .ttw\:first\:ml-0:first-child {
5265
- margin-left: 0px;
5266
- }
5267
5113
  .ttw\:last\:mt-0:last-child {
5268
5114
  margin-top: 0px;
5269
5115
  }
@@ -6329,15 +6175,9 @@
6329
6175
  .ttw\:sm\:max-w-178 {
6330
6176
  max-width: calc(var(--ttw-spacing) * 178);
6331
6177
  }
6332
- .ttw\:sm\:max-w-\[423px\] {
6333
- max-width: 423px;
6334
- }
6335
6178
  .ttw\:sm\:max-w-screen {
6336
6179
  max-width: 100vw;
6337
6180
  }
6338
- .ttw\:sm\:max-w-sm {
6339
- max-width: var(--ttw-container-sm);
6340
- }
6341
6181
  .ttw\:sm\:grid-cols-2 {
6342
6182
  grid-template-columns: repeat(2, minmax(0, 1fr));
6343
6183
  }
@@ -6446,20 +6286,23 @@
6446
6286
  }
6447
6287
  }
6448
6288
  @container description-list (width >= 18rem) {
6449
- .ttw\:\@2xs\/description-list\:w-32 {
6450
- width: calc(var(--ttw-spacing) * 32);
6289
+ .ttw\:\@2xs\/description-list\:col-span-2 {
6290
+ grid-column: span 2 / span 2;
6451
6291
  }
6452
- .ttw\:\@2xs\/description-list\:shrink-0 {
6453
- flex-shrink: 0;
6292
+ .ttw\:\@2xs\/description-list\:grid {
6293
+ display: grid;
6454
6294
  }
6455
- .ttw\:\@2xs\/description-list\:flex-row {
6456
- flex-direction: row;
6295
+ .ttw\:\@2xs\/description-list\:grid-cols-\[fit-content\(50\%\)_minmax\(0\,1fr\)\] {
6296
+ grid-template-columns: fit-content(50%) minmax(0,1fr);
6297
+ }
6298
+ .ttw\:\@2xs\/description-list\:grid-cols-subgrid {
6299
+ grid-template-columns: subgrid;
6457
6300
  }
6458
6301
  .ttw\:\@2xs\/description-list\:items-start {
6459
6302
  align-items: flex-start;
6460
6303
  }
6461
- .ttw\:\@2xs\/description-list\:gap-4 {
6462
- gap: calc(var(--ttw-spacing) * 4);
6304
+ .ttw\:\@2xs\/description-list\:gap-x-4 {
6305
+ column-gap: calc(var(--ttw-spacing) * 4);
6463
6306
  }
6464
6307
  }
6465
6308
  @container line-item (width >= 24rem) {
package/dist/index.d.ts CHANGED
@@ -3687,6 +3687,76 @@ type ExpenseManagementWidgetProps = WidgetProviderProps & ExpenseManagementWidge
3687
3687
  */
3688
3688
  declare function ExpenseManagementWidget({ screenLabels, headerLabels, transactionsTableLabels, filterBarLabels, actionItemsLabels, statusBadgeLabels, transactionDetailsLabels, transactionDetailsCardLabels, transactionDetailsActionsLabels, fileViewerLabels, receiptUpload, bankDisplayName, bankLogoSrc, bankLogoAlt, isBankingTaglineVisible, onSettingsClick, ...widgetProviderProps }: ExpenseManagementWidgetProps): React.JSX.Element;
3689
3689
 
3690
+ interface NoPolicyBannerLabels {
3691
+ Title: string;
3692
+ Body: string;
3693
+ /**
3694
+ * Heading for an org that *has* rules, none of which this editor can show. The
3695
+ * plain `Title` would contradict the notice sitting directly above it, which
3696
+ * has just said how many rules exist.
3697
+ */
3698
+ TitleWithUnlistedRules: string;
3699
+ /** Body for that case. The notice above already explains the why. */
3700
+ BodyWithUnlistedRules: string;
3701
+ CreateRule: string;
3702
+ }
3703
+
3704
+ interface NoPolicyBannerTestIds {
3705
+ root?: string;
3706
+ createRuleButton?: string;
3707
+ /** The disabled-reason wrapper shown in place of the button. */
3708
+ createRuleBlocked?: string;
3709
+ }
3710
+ interface NoPolicyBannerProps {
3711
+ onCreateRule: () => void;
3712
+ disabled?: boolean;
3713
+ /**
3714
+ * Why Create rule is off, shown on hover and on keyboard focus. Omit it for the
3715
+ * transient reasons that explain themselves on screen (a write in flight).
3716
+ */
3717
+ createRuleDisabledReason?: string;
3718
+ /**
3719
+ * Whether the org has rules that simply are not shown here. Switches the copy
3720
+ * off the "none created yet" claim, which would contradict the notice that
3721
+ * sits above this banner and has just counted them.
3722
+ */
3723
+ hasUnlistedRules?: boolean;
3724
+ labels?: Partial<NoPolicyBannerLabels>;
3725
+ testIds?: NoPolicyBannerTestIds;
3726
+ }
3727
+
3728
+ interface GapCoverageAlertLabels {
3729
+ Title: string;
3730
+ Footer: string;
3731
+ }
3732
+
3733
+ /**
3734
+ * One uncovered bill-amount range. `label` is pre-formatted by the caller
3735
+ * (e.g. "$10.01 to $99.99" or "$500.01 or more") — this component renders it
3736
+ * as-is rather than composing range/currency copy itself.
3737
+ */
3738
+ interface GapRange {
3739
+ id: string;
3740
+ label: string;
3741
+ /**
3742
+ * Why a new rule cannot take this range, for the link's tooltip. A range can be
3743
+ * uncovered today and still be spoken for — a rule whose schedule has not
3744
+ * started covers nothing yet but claims its range — in which case starting a
3745
+ * rule here only ever ends in a rejected save. Omit for a range that is free.
3746
+ */
3747
+ blockedReason?: string;
3748
+ }
3749
+ interface GapCoverageAlertTestIds {
3750
+ root?: string;
3751
+ }
3752
+ interface GapCoverageAlertProps {
3753
+ gaps: GapRange[];
3754
+ onSelectGap: (id: string) => void;
3755
+ disabled?: boolean;
3756
+ labels?: Partial<GapCoverageAlertLabels>;
3757
+ testIds?: GapCoverageAlertTestIds;
3758
+ }
3759
+
3690
3760
  interface InsightsWidgetLabels {
3691
3761
  widgetTitle: string;
3692
3762
  filterTabsLabel: string;
@@ -4037,6 +4107,10 @@ interface SettingsWidgetProps extends WidgetProviderProps {
4037
4107
  * falls back to a plain, unlinked sentence when unset, for the same reason
4038
4108
  * {@link SettingsWidgetProps.helpContactUrl} does. */
4039
4109
  profileContactUrl?: string;
4110
+ /** Forwarded to the embedded Profile section's {@link ProfileWidget} —
4111
+ * whether it paints its decorative header band, a soft wash of the theme's
4112
+ * primary color. Defaults to `true`; pass `false` to drop it. */
4113
+ showProfileHeader?: boolean;
4040
4114
  /** The section to show. Leave unset to let the widget own the selection;
4041
4115
  * supply it (with {@link SettingsWidgetProps.onSelectedSectionChange}) to
4042
4116
  * drive navigation from a route, a search param, or host state. A section
@@ -4064,7 +4138,7 @@ interface SettingsWidgetProps extends WidgetProviderProps {
4064
4138
  invoiceContent?: ReactNode;
4065
4139
  legalContent?: ReactNode;
4066
4140
  }
4067
- declare function SettingsWidget({ labels, featureLabels, acceptInviteRedirectUri, teamInitialView, helpContactUrl, helpFaq, profileContactUrl, selectedSection, defaultSelectedSection, onSelectedSectionChange, additionalSections, profileContent, teamContent, billPayContent, helpContent, expenseContent, accountingContent, invoiceContent, legalContent, ...widgetProviderProps }: SettingsWidgetProps): React.JSX.Element;
4141
+ declare function SettingsWidget({ labels, featureLabels, acceptInviteRedirectUri, teamInitialView, helpContactUrl, helpFaq, profileContactUrl, showProfileHeader, selectedSection, defaultSelectedSection, onSelectedSectionChange, additionalSections, profileContent, teamContent, billPayContent, helpContent, expenseContent, accountingContent, invoiceContent, legalContent, ...widgetProviderProps }: SettingsWidgetProps): React.JSX.Element;
4068
4142
 
4069
4143
  interface TransfersWidgetLabels {
4070
4144
  widgetTitle: string;
@@ -5047,76 +5121,6 @@ interface ReceivableStatusBadgeLabels {
5047
5121
  unknown: string;
5048
5122
  }
5049
5123
 
5050
- interface NoPolicyBannerLabels {
5051
- Title: string;
5052
- Body: string;
5053
- /**
5054
- * Heading for an org that *has* rules, none of which this editor can show. The
5055
- * plain `Title` would contradict the notice sitting directly above it, which
5056
- * has just said how many rules exist.
5057
- */
5058
- TitleWithUnlistedRules: string;
5059
- /** Body for that case. The notice above already explains the why. */
5060
- BodyWithUnlistedRules: string;
5061
- CreateRule: string;
5062
- }
5063
-
5064
- interface NoPolicyBannerTestIds {
5065
- root?: string;
5066
- createRuleButton?: string;
5067
- /** The disabled-reason wrapper shown in place of the button. */
5068
- createRuleBlocked?: string;
5069
- }
5070
- interface NoPolicyBannerProps {
5071
- onCreateRule: () => void;
5072
- disabled?: boolean;
5073
- /**
5074
- * Why Create rule is off, shown on hover and on keyboard focus. Omit it for the
5075
- * transient reasons that explain themselves on screen (a write in flight).
5076
- */
5077
- createRuleDisabledReason?: string;
5078
- /**
5079
- * Whether the org has rules that simply are not shown here. Switches the copy
5080
- * off the "none created yet" claim, which would contradict the notice that
5081
- * sits above this banner and has just counted them.
5082
- */
5083
- hasUnlistedRules?: boolean;
5084
- labels?: Partial<NoPolicyBannerLabels>;
5085
- testIds?: NoPolicyBannerTestIds;
5086
- }
5087
-
5088
- interface GapCoverageAlertLabels {
5089
- Title: string;
5090
- Footer: string;
5091
- }
5092
-
5093
- /**
5094
- * One uncovered bill-amount range. `label` is pre-formatted by the caller
5095
- * (e.g. "$10.01 to $99.99" or "$500.01 or more") — this component renders it
5096
- * as-is rather than composing range/currency copy itself.
5097
- */
5098
- interface GapRange {
5099
- id: string;
5100
- label: string;
5101
- /**
5102
- * Why a new rule cannot take this range, for the link's tooltip. A range can be
5103
- * uncovered today and still be spoken for — a rule whose schedule has not
5104
- * started covers nothing yet but claims its range — in which case starting a
5105
- * rule here only ever ends in a rejected save. Omit for a range that is free.
5106
- */
5107
- blockedReason?: string;
5108
- }
5109
- interface GapCoverageAlertTestIds {
5110
- root?: string;
5111
- }
5112
- interface GapCoverageAlertProps {
5113
- gaps: GapRange[];
5114
- onSelectGap: (id: string) => void;
5115
- disabled?: boolean;
5116
- labels?: Partial<GapCoverageAlertLabels>;
5117
- testIds?: GapCoverageAlertTestIds;
5118
- }
5119
-
5120
5124
  interface CounterpartsScreenLabels {
5121
5125
  /** Customer-mode create action. */
5122
5126
  createButton: string;