@seams/wallet 0.21.0 → 0.22.0

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 (92) hide show
  1. package/dist/.build-inputs.sha256 +1 -1
  2. package/dist/esm/core/signingEngine/uiConfirm/ui/preact/TransactionReceipt.js +107 -43
  3. package/dist/esm/core/signingEngine/uiConfirm/ui/preact/mountConfirmationSurface.js +1 -1
  4. package/dist/esm/core/signingEngine/uiConfirm/ui/transaction-receipt.js +36 -6
  5. package/dist/esm/core/ui/messages.js +9 -14
  6. package/dist/esm/react/components/AccountMenuButton/ProfileDropdown.js +23 -9
  7. package/dist/esm/react/components/AccountMenuButton/TransactionSettingsSection.css +376 -84
  8. package/dist/esm/react/components/AccountMenuButton/TransactionSettingsSection.js +87 -167
  9. package/dist/esm/react/components/AccountMenuButton/WalletRegionSection.js +11 -9
  10. package/dist/esm/react/components/AccountMenuButton/WalletSettingsLayout.css +76 -74
  11. package/dist/esm/react/components/AccountMenuButton/WalletSettingsLayout.js +23 -22
  12. package/dist/esm/react/components/AccountMenuButton/Web3AuthProfileButton.css +1 -5
  13. package/dist/esm/react/components/AccountMenuButton/icons/MapPinIcon.js +12 -0
  14. package/dist/esm/react/components/AccountMenuButton/index.js +2 -1
  15. package/dist/esm/react/styles/styles.css +452 -162
  16. package/dist/{public/sdk/ConfirmationDrawer-B7RCp58z.js → esm/sdk/ConfirmationDrawer-Ck33ZmU-.js} +1 -1
  17. package/dist/esm/sdk/adapters-CgJpSAxH.js +2 -0
  18. package/dist/esm/sdk/appearance-token-vars-BA3KQyEE.js +2 -0
  19. package/dist/esm/sdk/{export-viewer-host-CVdpEuY6.js → export-viewer-host-C9n-62Pi.js} +1 -1
  20. package/dist/esm/sdk/{exportKeypairOperation-gVCqLrDl.js → exportKeypairOperation-Du9HKB8f.js} +1 -1
  21. package/dist/esm/sdk/{host-Bz7mRJPZ.js → host-DoftJdVQ.js} +1 -1
  22. package/dist/esm/sdk/{localOnly-TXaYAZj-.js → localOnly-CvFSZFUy.js} +1 -1
  23. package/dist/esm/sdk/{mountExportPrivateKeySurface-DUnKOBQr.js → mountExportPrivateKeySurface-DdJHWwqY.js} +1 -1
  24. package/dist/esm/sdk/{mountRecoveryCodeBackupSurface-MGTl6FhG.js → mountRecoveryCodeBackupSurface-D3QFgMGE.js} +1 -1
  25. package/dist/{public/sdk/pendingWalletRecoveryCodeBackup-DWeemdJv.js → esm/sdk/pendingWalletRecoveryCodeBackup-LbstFwcY.js} +1 -1
  26. package/dist/esm/sdk/{registration-DVX_lnP7.js → registration-CIxJvbTo.js} +1 -1
  27. package/dist/esm/sdk/{registration-DeCUrUR9.js → registration-CeOmKyCG.js} +1 -1
  28. package/dist/esm/sdk/{runtime-auth-BAGyfscG.js → runtime-auth-C0V-5znH.js} +1 -1
  29. package/dist/{public/sdk/runtime-device-link-DKkMLVor.js → esm/sdk/runtime-device-link-B1jpHQSF.js} +1 -1
  30. package/dist/{public/sdk/runtime-ecdsa-tempo-0TAVH1xg.js → esm/sdk/runtime-ecdsa-tempo-CDSZ3pxS.js} +1 -1
  31. package/dist/esm/sdk/{runtime-email-otp-DoHa8Hif.js → runtime-email-otp-DXuxFOjL.js} +1 -1
  32. package/dist/esm/sdk/{runtime-export-CAt17IFH.js → runtime-export-Ba12ChDI.js} +1 -1
  33. package/dist/esm/sdk/{runtime-near-BQX9Jk9Z.js → runtime-near-DRrdWzmr.js} +1 -1
  34. package/dist/esm/sdk/{runtime-preferences-BuKTIpv6.js → runtime-preferences-BWyhRaBA.js} +1 -1
  35. package/dist/esm/sdk/{runtime-recovery-DyxJKKNw.js → runtime-recovery-DlJlaZlf.js} +1 -1
  36. package/dist/esm/sdk/{runtime-recovery-codes-CWmt0FDB.js → runtime-recovery-codes-CuqYWqK7.js} +1 -1
  37. package/dist/esm/sdk/{shared-BVps1f3F.js → shared-B95wnpoD.js} +1 -1
  38. package/dist/esm/sdk/transaction-activity-CpDMkSPm.js +1 -0
  39. package/dist/esm/sdk/tx-confirm-ui.js +186 -71
  40. package/dist/esm/sdk/wallet-iframe-host-ecdsa.js +1 -1
  41. package/dist/esm/sdk/wallet-iframe-host-full.js +1 -1
  42. package/dist/esm/sdk/wallet-iframe-host-near.js +1 -1
  43. package/dist/esm/sdk/wallet-iframe-host-runtime.js +1 -1
  44. package/dist/esm/sdk/wallet-ui.css +1 -1
  45. package/dist/{public/sdk/walletRecoveryAdminProof-CIoLawfC.js → esm/sdk/walletRecoveryAdminProof-CtH8_lph.js} +1 -1
  46. package/dist/public/headers.manifest.json +1 -1
  47. package/dist/{esm/sdk/ConfirmationDrawer-B7RCp58z.js → public/sdk/ConfirmationDrawer-Ck33ZmU-.js} +1 -1
  48. package/dist/public/sdk/adapters-CgJpSAxH.js +2 -0
  49. package/dist/public/sdk/appearance-token-vars-BA3KQyEE.js +2 -0
  50. package/dist/public/sdk/{export-viewer-host-CVdpEuY6.js → export-viewer-host-C9n-62Pi.js} +1 -1
  51. package/dist/public/sdk/{exportKeypairOperation-gVCqLrDl.js → exportKeypairOperation-Du9HKB8f.js} +1 -1
  52. package/dist/public/sdk/{host-Bz7mRJPZ.js → host-DoftJdVQ.js} +1 -1
  53. package/dist/public/sdk/{localOnly-TXaYAZj-.js → localOnly-CvFSZFUy.js} +1 -1
  54. package/dist/public/sdk/{mountExportPrivateKeySurface-DUnKOBQr.js → mountExportPrivateKeySurface-DdJHWwqY.js} +1 -1
  55. package/dist/public/sdk/{mountRecoveryCodeBackupSurface-MGTl6FhG.js → mountRecoveryCodeBackupSurface-D3QFgMGE.js} +1 -1
  56. package/dist/{esm/sdk/pendingWalletRecoveryCodeBackup-DWeemdJv.js → public/sdk/pendingWalletRecoveryCodeBackup-LbstFwcY.js} +1 -1
  57. package/dist/public/sdk/{registration-DVX_lnP7.js → registration-CIxJvbTo.js} +1 -1
  58. package/dist/public/sdk/{registration-DeCUrUR9.js → registration-CeOmKyCG.js} +1 -1
  59. package/dist/public/sdk/{runtime-auth-BAGyfscG.js → runtime-auth-C0V-5znH.js} +1 -1
  60. package/dist/{esm/sdk/runtime-device-link-DKkMLVor.js → public/sdk/runtime-device-link-B1jpHQSF.js} +1 -1
  61. package/dist/{esm/sdk/runtime-ecdsa-tempo-0TAVH1xg.js → public/sdk/runtime-ecdsa-tempo-CDSZ3pxS.js} +1 -1
  62. package/dist/public/sdk/{runtime-email-otp-DoHa8Hif.js → runtime-email-otp-DXuxFOjL.js} +1 -1
  63. package/dist/public/sdk/{runtime-export-CAt17IFH.js → runtime-export-Ba12ChDI.js} +1 -1
  64. package/dist/public/sdk/{runtime-near-BQX9Jk9Z.js → runtime-near-DRrdWzmr.js} +1 -1
  65. package/dist/public/sdk/{runtime-preferences-BuKTIpv6.js → runtime-preferences-BWyhRaBA.js} +1 -1
  66. package/dist/public/sdk/{runtime-recovery-DyxJKKNw.js → runtime-recovery-DlJlaZlf.js} +1 -1
  67. package/dist/public/sdk/{runtime-recovery-codes-CWmt0FDB.js → runtime-recovery-codes-CuqYWqK7.js} +1 -1
  68. package/dist/public/sdk/{shared-BVps1f3F.js → shared-B95wnpoD.js} +1 -1
  69. package/dist/public/sdk/transaction-activity-CpDMkSPm.js +1 -0
  70. package/dist/public/sdk/tx-confirm-ui.js +186 -71
  71. package/dist/public/sdk/wallet-iframe-host-ecdsa.js +1 -1
  72. package/dist/public/sdk/wallet-iframe-host-full.js +1 -1
  73. package/dist/public/sdk/wallet-iframe-host-near.js +1 -1
  74. package/dist/public/sdk/wallet-iframe-host-runtime.js +1 -1
  75. package/dist/public/sdk/wallet-ui.css +1 -1
  76. package/dist/{esm/sdk/walletRecoveryAdminProof-CIoLawfC.js → public/sdk/walletRecoveryAdminProof-CtH8_lph.js} +1 -1
  77. package/dist/public/wallet-assets.manifest.json +50 -50
  78. package/dist/public/wallet-service/index.html +4 -4
  79. package/dist/types/wallet/src/SeamsWeb/walletIframe/host/auth-menu/controller.d.ts +2 -0
  80. package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/transaction-activity.d.ts +2 -2
  81. package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/transaction-receipt.d.ts +25 -6
  82. package/dist/types/wallet/src/core/ui/messages.d.ts +1 -1
  83. package/dist/types/wallet/src/react/components/AccountMenuButton/icons/MapPinIcon.d.ts +2 -0
  84. package/package.json +1 -1
  85. package/dist/esm/react/components/AccountMenuButton/SegmentedControl.js +0 -77
  86. package/dist/esm/sdk/adapters-La60hveX.js +0 -2
  87. package/dist/esm/sdk/appearance-token-vars-Bu6YUWmf.js +0 -2
  88. package/dist/esm/sdk/transaction-activity-D5f-Yn9t.js +0 -1
  89. package/dist/public/sdk/adapters-La60hveX.js +0 -2
  90. package/dist/public/sdk/appearance-token-vars-Bu6YUWmf.js +0 -2
  91. package/dist/public/sdk/transaction-activity-D5f-Yn9t.js +0 -1
  92. package/dist/types/wallet/src/react/components/AccountMenuButton/SegmentedControl.d.ts +0 -25
@@ -1,109 +1,401 @@
1
- /* Expander (TransactionSettingsSection) */
2
- .seams-dropdown-tx-settings-root {
3
- background-color: var(--seams-expander-surface, var(--seams-colors-surface));
4
- transform-origin: top;
1
+ /* Transaction settings: a review switch, then the review layout as cards
2
+ with a small drawing. The settings page and the account menu share these
3
+ rules; the menu adds a compact variant. */
4
+ .seams-transaction-page {
5
5
  display: grid;
6
- grid-template-rows: 0fr;
7
- transition: grid-template-rows 200ms cubic-bezier(0.22, 1, 0.36, 1);
6
+ gap: 40px;
8
7
  }
9
-
10
- .seams-dropdown-tx-settings-root.is-expanded {
8
+ .seams-transaction-group {
9
+ min-width: 0;
10
+ margin: 0;
11
+ padding: 0;
12
+ border: 0;
13
+ }
14
+ .seams-transaction-review + .seams-transaction-group {
15
+ padding-top: 40px;
11
16
  border-top: 1px solid var(--seams-colors-borderPrimary);
12
- /* border-bottom: 1px solid var(--seams-colors-borderPrimary); */
13
- background-color: var(--seams-expander-surface, var(--seams-colors-surface));
14
- grid-template-rows: 1fr;
15
17
  }
16
-
17
- .seams-dropdown-toggle-tx-settings {
18
- overflow: hidden;
19
- min-height: 0;
20
- min-width: 0;
18
+ .seams-transaction-group legend {
19
+ /* A floated legend leaves the fieldset border, so the divider above a
20
+ group runs above its title, not through it. */
21
+ float: inline-start;
22
+ width: 100%;
23
+ padding: 0;
24
+ font-size: 18px;
25
+ font-weight: 600;
21
26
  }
22
-
23
- .seams-dropdown-toggle-tx-settings-content {
27
+ .seams-transaction-group legend + * {
28
+ clear: both;
29
+ }
30
+ .seams-transaction-group > p {
31
+ margin: 6px 0 20px;
32
+ color: var(--seams-colors-textSecondary);
33
+ font-size: 14px;
34
+ line-height: 1.5;
35
+ }
36
+ .seams-transaction-choices {
37
+ display: grid;
38
+ grid-template-columns: repeat(3, minmax(0, 1fr));
39
+ gap: 16px;
40
+ }
41
+ .seams-transaction-choice {
24
42
  display: flex;
25
43
  flex-direction: column;
26
- align-items: flex-start;
27
- justify-content: space-between;
28
- padding: 16px;
44
+ gap: 14px;
45
+ padding: 12px 12px 16px;
46
+ border: 1px solid var(--seams-colors-borderPrimary);
47
+ border-radius: 16px;
48
+ background: var(--seams-colors-colorBackground);
49
+ color: var(--seams-colors-textPrimary);
50
+ font: inherit;
51
+ text-align: start;
52
+ cursor: pointer;
29
53
  transition:
30
- opacity 100ms ease,
31
- transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
32
- opacity: 0;
33
- transform: translateY(4px);
54
+ border-color 120ms ease,
55
+ background-color 120ms ease;
34
56
  }
35
-
36
- .seams-dropdown-tx-settings-root.is-expanded .seams-dropdown-toggle-tx-settings-content {
37
- opacity: 1;
38
- transform: translateY(0);
57
+ .seams-transaction-choice-text {
58
+ display: grid;
59
+ gap: 6px;
60
+ padding-inline: 4px;
39
61
  }
40
-
41
- .seams-confirmation-options {
42
- font-size: 12px;
43
- margin-bottom: 6px;
62
+ .seams-transaction-choice-head {
63
+ display: flex;
64
+ align-items: center;
65
+ justify-content: space-between;
66
+ gap: 12px;
44
67
  }
45
-
46
- .seams-account-seg {
68
+ .seams-transaction-choice strong {
69
+ font-size: 15px;
70
+ font-weight: 600;
71
+ }
72
+ .seams-transaction-choice-description {
73
+ color: var(--seams-colors-textSecondary);
74
+ font-size: 13px;
75
+ line-height: 1.5;
76
+ }
77
+ .seams-transaction-choice-indicator {
78
+ flex-shrink: 0;
79
+ width: 18px;
80
+ height: 18px;
47
81
  box-sizing: border-box;
48
- min-width: 0;
49
- position: relative;
50
- min-height: 54px;
51
- overflow: hidden;
52
- padding: 5px;
53
- border: none;
54
- background: color-mix(in srgb, var(--seams-colors-textPrimary) 6%, var(--seams-colors-surface2));
55
- border-radius: var(--seams-border-radius-xl);
82
+ border: 1.5px solid var(--seams-colors-borderPrimary);
83
+ border-radius: 50%;
56
84
  }
57
-
58
- .seams-account-seg-active {
59
- position: absolute;
60
- top: 5px;
61
- bottom: 5px;
62
- left: 5px;
63
- width: calc((100% - 10px) / var(--seams-account-seg-count));
64
- border-radius: inherit;
65
- background: var(--seams-account-seg-active-bg);
66
- transform: translateX(calc(var(--seams-account-seg-active-index) * 100%));
67
- transition:
68
- transform 220ms ease,
69
- opacity 150ms ease;
70
- pointer-events: none;
85
+ .seams-transaction-choice[aria-pressed='true'] {
86
+ border-color: var(--seams-colors-primary);
87
+ box-shadow: inset 0 0 0 1px var(--seams-colors-primary);
88
+ }
89
+ .seams-transaction-choice[aria-pressed='true'] .seams-transaction-choice-indicator {
90
+ border: 5px solid var(--seams-colors-primary);
91
+ }
92
+ .seams-transaction-choice:hover:not(:disabled):not([aria-pressed='true']) {
93
+ background: var(--seams-colors-surface);
94
+ }
95
+ .seams-transaction-choice:focus-visible {
96
+ outline: 2px solid var(--seams-colors-primary);
97
+ outline-offset: 4px;
98
+ }
99
+ .seams-transaction-choice:disabled {
100
+ opacity: 0.5;
101
+ cursor: not-allowed;
71
102
  }
72
103
 
73
- .seams-account-seg-grid {
74
- position: relative;
75
- z-index: 1;
104
+ /* The switch row uses the card grid, so its edge lines up with the cards. */
105
+ .seams-transaction-review {
76
106
  display: grid;
77
- grid-template-columns: repeat(var(--seams-account-seg-count), minmax(0, 1fr));
78
- gap: 4px;
79
- height: 100%;
107
+ grid-template-columns: repeat(3, minmax(0, 1fr));
108
+ gap: 10px 16px;
80
109
  }
81
-
82
- .seams-account-seg-btn {
83
- min-width: 0;
84
- min-height: 44px;
85
- padding: 0 14px;
86
- border: 0;
87
- border-radius: 1rem;
88
- background: transparent;
89
- color: color-mix(in srgb, var(--seams-colors-textSecondary), var(--seams-colors-textPrimary) 45%);
90
- cursor: pointer;
110
+ .seams-transaction-review > * {
111
+ grid-column: span 2;
112
+ }
113
+ .seams-transaction-review > p {
114
+ margin: 0;
115
+ padding-inline: 4px;
116
+ color: var(--seams-colors-textSecondary);
117
+ font-size: 13px;
118
+ line-height: 1.5;
119
+ }
120
+ .seams-transaction-review-row {
121
+ display: flex;
122
+ align-items: center;
123
+ justify-content: space-between;
124
+ gap: 20px;
125
+ padding: 20px;
126
+ border: 1px solid var(--seams-colors-borderPrimary);
127
+ border-radius: 16px;
128
+ background: var(--seams-colors-colorBackground);
129
+ }
130
+ .seams-transaction-review-text {
91
131
  display: grid;
92
- place-items: center;
93
- font-size: clamp(13px, 3.6vw, 15px);
132
+ gap: 6px;
133
+ }
134
+ .seams-transaction-review-text strong {
135
+ font-size: 16px;
94
136
  font-weight: 600;
95
- text-align: center;
96
- touch-action: manipulation;
97
- transition: color 160ms ease;
98
- white-space: normal;
99
- -webkit-tap-highlight-color: transparent;
137
+ }
138
+ .seams-transaction-review-text > span {
139
+ color: var(--seams-colors-textSecondary);
140
+ font-size: 14px;
141
+ line-height: 1.5;
142
+ }
143
+ .seams-transaction-switch {
144
+ position: relative;
145
+ flex-shrink: 0;
146
+ width: 44px;
147
+ height: 26px;
148
+ padding: 0;
149
+ border: 0;
150
+ border-radius: 13px;
151
+ background: var(--seams-colors-borderPrimary);
152
+ cursor: pointer;
153
+ transition: background-color 150ms ease;
154
+ }
155
+ .seams-transaction-switch > span {
156
+ position: absolute;
157
+ inset-block-start: 3px;
158
+ inset-inline-start: 3px;
159
+ width: 20px;
160
+ height: 20px;
161
+ border-radius: 50%;
162
+ background: var(--seams-colors-colorBackground);
163
+ box-shadow: 0 1px 3px rgb(0 0 0 / 0.25);
164
+ transition: transform 150ms ease;
165
+ }
166
+ .seams-transaction-switch[aria-checked='true'] {
167
+ background: var(--seams-colors-primary);
168
+ }
169
+ .seams-transaction-switch[aria-checked='true'] > span {
170
+ transform: translateX(18px);
171
+ }
172
+ [dir='rtl'] .seams-transaction-switch[aria-checked='true'] > span {
173
+ transform: translateX(-18px);
174
+ }
175
+ .seams-transaction-switch:focus-visible {
176
+ outline: 2px solid var(--seams-colors-primary);
177
+ outline-offset: 3px;
178
+ }
179
+ .seams-transaction-switch:disabled {
180
+ opacity: 0.5;
181
+ cursor: not-allowed;
182
+ }
183
+ @media (prefers-reduced-motion: reduce) {
184
+ .seams-transaction-switch,
185
+ .seams-transaction-switch > span {
186
+ transition: none;
187
+ }
100
188
  }
101
189
 
102
- .seams-account-seg-btn.is-active {
190
+ /* The preview draws a page with the review surface on top of it. */
191
+ .seams-transaction-preview {
192
+ position: relative;
193
+ display: block;
194
+ aspect-ratio: 16 / 9;
195
+ overflow: hidden;
196
+ border-radius: 10px;
197
+ background: var(--seams-colors-surface);
198
+ color: var(--seams-colors-textSecondary);
199
+ }
200
+ .seams-transaction-choice[aria-pressed='true'] .seams-transaction-preview {
103
201
  color: var(--seams-colors-textPrimary);
104
202
  }
203
+ .seams-tp-page {
204
+ position: absolute;
205
+ inset: 14% 12%;
206
+ display: grid;
207
+ align-content: start;
208
+ gap: 8%;
209
+ }
210
+ .seams-tp-page i,
211
+ .seams-tp-panel i {
212
+ display: block;
213
+ height: 6px;
214
+ border-radius: 3px;
215
+ background: currentColor;
216
+ opacity: 0.18;
217
+ }
218
+ .seams-tp-page i:nth-child(1) {
219
+ width: 38%;
220
+ height: 8px;
221
+ opacity: 0.28;
222
+ }
223
+ .seams-tp-page i:nth-child(3) {
224
+ width: 72%;
225
+ }
226
+ .seams-tp-scrim {
227
+ position: absolute;
228
+ inset: 0;
229
+ background: rgb(0 0 0 / 0.1);
230
+ }
231
+ .seams-tp-panel {
232
+ position: absolute;
233
+ display: flex;
234
+ flex-direction: column;
235
+ gap: 6px;
236
+ padding: 10px;
237
+ border: 1px solid var(--seams-colors-borderPrimary);
238
+ border-radius: 8px;
239
+ background: var(--seams-colors-colorBackground);
240
+ box-shadow: 0 6px 16px rgb(0 0 0 / 0.08);
241
+ }
242
+ .seams-tp-panel i:nth-child(1) {
243
+ width: 60%;
244
+ opacity: 0.32;
245
+ }
246
+ .seams-tp-panel b {
247
+ display: block;
248
+ align-self: flex-end;
249
+ width: 48%;
250
+ height: 10px;
251
+ margin-top: auto;
252
+ border-radius: 4px;
253
+ background: var(--seams-colors-primary);
254
+ }
255
+ [data-preview='modal'] .seams-tp-panel {
256
+ inset: 18% 26%;
257
+ }
258
+ [data-preview='drawer'] .seams-tp-panel {
259
+ inset-block: 0;
260
+ inset-inline: auto 0;
261
+ width: 40%;
262
+ padding-top: 14px;
263
+ border-block: 0;
264
+ border-inline-end: 0;
265
+ border-radius: 0;
266
+ }
267
+
268
+ @media (max-width: 600px) {
269
+ [data-presentation='page'] .seams-transaction-review > * {
270
+ grid-column: 1 / -1;
271
+ }
272
+ [data-presentation='page'] .seams-transaction-review-row {
273
+ padding: 16px;
274
+ }
275
+ [data-presentation='page'] .seams-transaction-choices {
276
+ grid-template-columns: minmax(0, 1fr);
277
+ gap: 12px;
278
+ }
279
+ [data-presentation='page'] .seams-transaction-choice {
280
+ flex-direction: row;
281
+ align-items: center;
282
+ gap: 14px;
283
+ padding: 10px 14px 10px 10px;
284
+ }
285
+ [data-presentation='page'] .seams-transaction-preview {
286
+ flex-shrink: 0;
287
+ width: 104px;
288
+ }
289
+ [data-presentation='page'] .seams-transaction-choice-text {
290
+ flex: 1;
291
+ min-width: 0;
292
+ padding-inline: 0;
293
+ }
294
+ [data-presentation='page'] .seams-tp-panel {
295
+ gap: 4px;
296
+ padding: 6px;
297
+ border-radius: 5px;
298
+ }
299
+ [data-presentation='page'] .seams-tp-page i,
300
+ [data-presentation='page'] .seams-tp-panel i {
301
+ height: 4px;
302
+ }
303
+ [data-presentation='page'] .seams-tp-page i:nth-child(1) {
304
+ height: 5px;
305
+ }
306
+ [data-presentation='page'] .seams-tp-panel b {
307
+ height: 6px;
308
+ border-radius: 2px;
309
+ }
310
+ }
105
311
 
106
- .seams-account-seg-btn:focus-visible {
107
- box-shadow: 0 0 0 2px color-mix(in srgb, var(--seams-colors-focus), transparent 60%);
108
- outline: none;
312
+ /* The account menu is about 300px wide: three small cards per row, labels
313
+ only, and smaller drawings. */
314
+ .seams-transaction-page[data-presentation='menu'] {
315
+ gap: 16px;
316
+ padding-bottom: 4px;
317
+ }
318
+ [data-presentation='menu'] .seams-transaction-review + .seams-transaction-group {
319
+ padding-top: 16px;
320
+ }
321
+ [data-presentation='menu'] .seams-transaction-group legend {
322
+ font-size: 14px;
323
+ }
324
+ [data-presentation='menu'] .seams-transaction-group > p {
325
+ margin: 2px 0 10px;
326
+ font-size: 12px;
327
+ line-height: 1.4;
328
+ }
329
+ [data-presentation='menu'] .seams-transaction-choices {
330
+ gap: 8px;
331
+ }
332
+ [data-presentation='menu'] .seams-transaction-choice {
333
+ gap: 8px;
334
+ padding: 5px 5px 8px;
335
+ border-radius: 12px;
336
+ }
337
+ [data-presentation='menu'] .seams-transaction-choice-text {
338
+ padding-inline: 3px;
339
+ }
340
+ [data-presentation='menu'] .seams-transaction-choice {
341
+ position: relative;
342
+ }
343
+ [data-presentation='menu'] .seams-transaction-choice strong {
344
+ font-size: 12px;
345
+ font-weight: 500;
346
+ line-height: 1.3;
347
+ }
348
+ /* The dot sits on the drawing's corner, so a long label gets the full width. */
349
+ [data-presentation='menu'] .seams-transaction-choice-indicator {
350
+ position: absolute;
351
+ inset-block-start: 10px;
352
+ inset-inline-end: 10px;
353
+ width: 14px;
354
+ height: 14px;
355
+ background: var(--seams-colors-colorBackground);
356
+ }
357
+ [data-presentation='menu'] .seams-transaction-choice[aria-pressed='true'] .seams-transaction-choice-indicator {
358
+ border-width: 4px;
359
+ }
360
+ [data-presentation='menu'] .seams-transaction-preview {
361
+ border-radius: 8px;
362
+ }
363
+ [data-presentation='menu'] .seams-tp-panel {
364
+ gap: 3px;
365
+ padding: 5px;
366
+ border-radius: 4px;
367
+ }
368
+ [data-presentation='menu'] .seams-tp-page i,
369
+ [data-presentation='menu'] .seams-tp-panel i {
370
+ height: 3px;
371
+ border-radius: 2px;
372
+ }
373
+ [data-presentation='menu'] .seams-tp-page i:nth-child(1) {
374
+ height: 4px;
375
+ }
376
+ [data-presentation='menu'] .seams-tp-panel b {
377
+ height: 5px;
378
+ border-radius: 2px;
379
+ }
380
+ [data-presentation='menu'] [data-preview='drawer'] .seams-tp-panel {
381
+ padding-top: 7px;
382
+ }
383
+ [data-presentation='menu'] .seams-transaction-review > * {
384
+ grid-column: 1 / -1;
385
+ }
386
+ [data-presentation='menu'] .seams-transaction-review {
387
+ gap: 8px;
388
+ }
389
+ [data-presentation='menu'] .seams-transaction-review-row {
390
+ gap: 14px;
391
+ padding: 14px;
392
+ border-radius: 12px;
393
+ }
394
+ [data-presentation='menu'] .seams-transaction-review-text strong {
395
+ font-size: 14px;
396
+ }
397
+ [data-presentation='menu'] .seams-transaction-review-text > span,
398
+ [data-presentation='menu'] .seams-transaction-review > p {
399
+ font-size: 12px;
400
+ line-height: 1.4;
109
401
  }