@seams/wallet 0.21.0 → 0.23.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.
- package/THIRD_PARTY_NOTICES.md +5 -2
- package/dist/.build-inputs.sha256 +1 -1
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/TransactionReceipt.js +107 -43
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/mountConfirmationSurface.js +1 -1
- package/dist/esm/core/signingEngine/uiConfirm/ui/transaction-receipt.js +36 -6
- package/dist/esm/core/ui/messages.js +9 -14
- package/dist/esm/externalNear/actions.js +26 -0
- package/dist/esm/externalNear/boundary.js +53 -0
- package/dist/esm/externalNear/controller.js +187 -0
- package/dist/esm/externalNear/hot.js +40 -0
- package/dist/esm/externalNear/index.js +3 -0
- package/dist/esm/externalNear/intear.js +109 -0
- package/dist/esm/externalNear/intearPopup.js +83 -0
- package/dist/esm/externalNear/meteor.js +121 -0
- package/dist/esm/externalNear/meteorRequest.js +117 -0
- package/dist/esm/externalNear/types.js +17 -0
- package/dist/esm/externalNear/wallets.js +33 -0
- package/dist/esm/node_modules/borsh/lib/esm/buffer.js +67 -0
- package/dist/esm/node_modules/borsh/lib/esm/deserialize.js +94 -0
- package/dist/esm/node_modules/borsh/lib/esm/index.js +13 -0
- package/dist/esm/node_modules/borsh/lib/esm/serialize.js +127 -0
- package/dist/esm/node_modules/borsh/lib/esm/types.js +19 -0
- package/dist/esm/node_modules/borsh/lib/esm/utils.js +104 -0
- package/dist/esm/plugins/plugin-utils.js +2 -5
- package/dist/esm/react/components/AccountMenuButton/ProfileDropdown.js +23 -9
- package/dist/esm/react/components/AccountMenuButton/TransactionSettingsSection.css +376 -84
- package/dist/esm/react/components/AccountMenuButton/TransactionSettingsSection.js +87 -167
- package/dist/esm/react/components/AccountMenuButton/WalletRegionSection.js +11 -9
- package/dist/esm/react/components/AccountMenuButton/WalletSettingsLayout.css +76 -74
- package/dist/esm/react/components/AccountMenuButton/WalletSettingsLayout.js +23 -22
- package/dist/esm/react/components/AccountMenuButton/Web3AuthProfileButton.css +1 -5
- package/dist/esm/react/components/AccountMenuButton/icons/MapPinIcon.js +12 -0
- package/dist/esm/react/components/AccountMenuButton/index.js +2 -1
- package/dist/esm/react/externalNear.css +90 -0
- package/dist/esm/react/externalNear.js +104 -0
- package/dist/esm/react/styles/styles.css +452 -162
- package/dist/{public/sdk/ConfirmationDrawer-B7RCp58z.js → esm/sdk/ConfirmationDrawer-Ck33ZmU-.js} +1 -1
- package/dist/esm/sdk/adapters-CgJpSAxH.js +2 -0
- package/dist/esm/sdk/appearance-token-vars-BA3KQyEE.js +2 -0
- package/dist/esm/sdk/{export-viewer-host-CVdpEuY6.js → export-viewer-host-C9n-62Pi.js} +1 -1
- package/dist/esm/sdk/{exportKeypairOperation-gVCqLrDl.js → exportKeypairOperation-Du9HKB8f.js} +1 -1
- package/dist/esm/sdk/host-C5KYWEcs.js +1 -0
- package/dist/esm/sdk/{localOnly-TXaYAZj-.js → localOnly-CvFSZFUy.js} +1 -1
- package/dist/esm/sdk/{mountExportPrivateKeySurface-DUnKOBQr.js → mountExportPrivateKeySurface-DdJHWwqY.js} +1 -1
- package/dist/esm/sdk/{mountRecoveryCodeBackupSurface-MGTl6FhG.js → mountRecoveryCodeBackupSurface-D3QFgMGE.js} +1 -1
- package/dist/{public/sdk/pendingWalletRecoveryCodeBackup-DWeemdJv.js → esm/sdk/pendingWalletRecoveryCodeBackup-LbstFwcY.js} +1 -1
- package/dist/esm/sdk/{registration-DVX_lnP7.js → registration-CIxJvbTo.js} +1 -1
- package/dist/esm/sdk/{registration-DeCUrUR9.js → registration-CeOmKyCG.js} +1 -1
- package/dist/{public/sdk/runtime-auth-BAGyfscG.js → esm/sdk/runtime-auth-C0V-5znH.js} +1 -1
- package/dist/{public/sdk/runtime-device-link-DKkMLVor.js → esm/sdk/runtime-device-link-B1jpHQSF.js} +1 -1
- package/dist/{public/sdk/runtime-ecdsa-tempo-0TAVH1xg.js → esm/sdk/runtime-ecdsa-tempo-CDSZ3pxS.js} +1 -1
- package/dist/esm/sdk/{runtime-email-otp-DoHa8Hif.js → runtime-email-otp-DXuxFOjL.js} +1 -1
- package/dist/esm/sdk/{runtime-export-CAt17IFH.js → runtime-export-Ba12ChDI.js} +1 -1
- package/dist/esm/sdk/{runtime-near-BQX9Jk9Z.js → runtime-near-DRrdWzmr.js} +1 -1
- package/dist/esm/sdk/{runtime-preferences-BuKTIpv6.js → runtime-preferences-BWyhRaBA.js} +1 -1
- package/dist/esm/sdk/{runtime-recovery-DyxJKKNw.js → runtime-recovery-DlJlaZlf.js} +1 -1
- package/dist/esm/sdk/{runtime-recovery-codes-CWmt0FDB.js → runtime-recovery-codes-CuqYWqK7.js} +1 -1
- package/dist/esm/sdk/{shared-BVps1f3F.js → shared-B95wnpoD.js} +1 -1
- package/dist/esm/sdk/transaction-activity-CpDMkSPm.js +1 -0
- package/dist/esm/sdk/tx-confirm-ui.js +186 -71
- package/dist/esm/sdk/wallet-iframe-host-ecdsa.js +1 -1
- package/dist/esm/sdk/wallet-iframe-host-full.js +1 -1
- package/dist/esm/sdk/wallet-iframe-host-near.js +1 -1
- package/dist/esm/sdk/wallet-iframe-host-runtime.js +1 -1
- package/dist/esm/sdk/wallet-ui.css +1 -1
- package/dist/{public/sdk/walletRecoveryAdminProof-CIoLawfC.js → esm/sdk/walletRecoveryAdminProof-CtH8_lph.js} +1 -1
- package/dist/public/headers.manifest.json +1 -1
- package/dist/{esm/sdk/ConfirmationDrawer-B7RCp58z.js → public/sdk/ConfirmationDrawer-Ck33ZmU-.js} +1 -1
- package/dist/public/sdk/adapters-CgJpSAxH.js +2 -0
- package/dist/public/sdk/appearance-token-vars-BA3KQyEE.js +2 -0
- package/dist/public/sdk/{export-viewer-host-CVdpEuY6.js → export-viewer-host-C9n-62Pi.js} +1 -1
- package/dist/public/sdk/{exportKeypairOperation-gVCqLrDl.js → exportKeypairOperation-Du9HKB8f.js} +1 -1
- package/dist/public/sdk/host-C5KYWEcs.js +1 -0
- package/dist/public/sdk/{localOnly-TXaYAZj-.js → localOnly-CvFSZFUy.js} +1 -1
- package/dist/public/sdk/{mountExportPrivateKeySurface-DUnKOBQr.js → mountExportPrivateKeySurface-DdJHWwqY.js} +1 -1
- package/dist/public/sdk/{mountRecoveryCodeBackupSurface-MGTl6FhG.js → mountRecoveryCodeBackupSurface-D3QFgMGE.js} +1 -1
- package/dist/{esm/sdk/pendingWalletRecoveryCodeBackup-DWeemdJv.js → public/sdk/pendingWalletRecoveryCodeBackup-LbstFwcY.js} +1 -1
- package/dist/public/sdk/{registration-DVX_lnP7.js → registration-CIxJvbTo.js} +1 -1
- package/dist/public/sdk/{registration-DeCUrUR9.js → registration-CeOmKyCG.js} +1 -1
- package/dist/{esm/sdk/runtime-auth-BAGyfscG.js → public/sdk/runtime-auth-C0V-5znH.js} +1 -1
- package/dist/{esm/sdk/runtime-device-link-DKkMLVor.js → public/sdk/runtime-device-link-B1jpHQSF.js} +1 -1
- package/dist/{esm/sdk/runtime-ecdsa-tempo-0TAVH1xg.js → public/sdk/runtime-ecdsa-tempo-CDSZ3pxS.js} +1 -1
- package/dist/public/sdk/{runtime-email-otp-DoHa8Hif.js → runtime-email-otp-DXuxFOjL.js} +1 -1
- package/dist/public/sdk/{runtime-export-CAt17IFH.js → runtime-export-Ba12ChDI.js} +1 -1
- package/dist/public/sdk/{runtime-near-BQX9Jk9Z.js → runtime-near-DRrdWzmr.js} +1 -1
- package/dist/public/sdk/{runtime-preferences-BuKTIpv6.js → runtime-preferences-BWyhRaBA.js} +1 -1
- package/dist/public/sdk/{runtime-recovery-DyxJKKNw.js → runtime-recovery-DlJlaZlf.js} +1 -1
- package/dist/public/sdk/{runtime-recovery-codes-CWmt0FDB.js → runtime-recovery-codes-CuqYWqK7.js} +1 -1
- package/dist/public/sdk/{shared-BVps1f3F.js → shared-B95wnpoD.js} +1 -1
- package/dist/public/sdk/transaction-activity-CpDMkSPm.js +1 -0
- package/dist/public/sdk/tx-confirm-ui.js +186 -71
- package/dist/public/sdk/wallet-iframe-host-ecdsa.js +1 -1
- package/dist/public/sdk/wallet-iframe-host-full.js +1 -1
- package/dist/public/sdk/wallet-iframe-host-near.js +1 -1
- package/dist/public/sdk/wallet-iframe-host-runtime.js +1 -1
- package/dist/public/sdk/wallet-ui.css +1 -1
- package/dist/{esm/sdk/walletRecoveryAdminProof-CIoLawfC.js → public/sdk/walletRecoveryAdminProof-CtH8_lph.js} +1 -1
- package/dist/public/wallet-assets.manifest.json +50 -51
- package/dist/public/wallet-service/index.html +4 -4
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/auth-menu/controller.d.ts +2 -0
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/transaction-activity.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/transaction-receipt.d.ts +25 -6
- package/dist/types/wallet/src/core/ui/messages.d.ts +1 -1
- package/dist/types/wallet/src/externalNear/actions.d.ts +20 -0
- package/dist/types/wallet/src/externalNear/boundary.d.ts +7 -0
- package/dist/types/wallet/src/externalNear/controller.d.ts +23 -0
- package/dist/types/wallet/src/externalNear/hot.d.ts +13 -0
- package/dist/types/wallet/src/externalNear/index.d.ts +4 -0
- package/dist/types/wallet/src/externalNear/intear.d.ts +12 -0
- package/dist/types/wallet/src/externalNear/intearPopup.d.ts +25 -0
- package/dist/types/wallet/src/externalNear/meteor.d.ts +16 -0
- package/dist/types/wallet/src/externalNear/meteorRequest.d.ts +29 -0
- package/dist/types/wallet/src/externalNear/types.d.ts +67 -0
- package/dist/types/wallet/src/externalNear/wallets.d.ts +4 -0
- package/dist/types/wallet/src/plugins/plugin-utils.d.ts +1 -1
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/MapPinIcon.d.ts +2 -0
- package/dist/types/wallet/src/react/externalNear.d.ts +26 -0
- package/package.json +18 -1
- package/dist/esm/plugins/SeamsWeb/walletIframe/sanitization.js +0 -18
- package/dist/esm/react/components/AccountMenuButton/SegmentedControl.js +0 -77
- package/dist/esm/sdk/adapters-La60hveX.js +0 -2
- package/dist/esm/sdk/appearance-token-vars-Bu6YUWmf.js +0 -2
- package/dist/esm/sdk/host-Bz7mRJPZ.js +0 -1
- package/dist/esm/sdk/transaction-activity-D5f-Yn9t.js +0 -1
- package/dist/public/sdk/adapters-La60hveX.js +0 -2
- package/dist/public/sdk/appearance-token-vars-Bu6YUWmf.js +0 -2
- package/dist/public/sdk/host-Bz7mRJPZ.js +0 -1
- package/dist/public/sdk/transaction-activity-D5f-Yn9t.js +0 -1
- package/dist/types/wallet/src/react/components/AccountMenuButton/SegmentedControl.d.ts +0 -25
|
@@ -1,109 +1,401 @@
|
|
|
1
|
-
/*
|
|
2
|
-
.
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
7
|
-
transition: grid-template-rows 200ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
6
|
+
gap: 40px;
|
|
8
7
|
}
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
opacity: 0;
|
|
33
|
-
transform: translateY(4px);
|
|
54
|
+
border-color 120ms ease,
|
|
55
|
+
background-color 120ms ease;
|
|
34
56
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
57
|
+
.seams-transaction-choice-text {
|
|
58
|
+
display: grid;
|
|
59
|
+
gap: 6px;
|
|
60
|
+
padding-inline: 4px;
|
|
39
61
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
62
|
+
.seams-transaction-choice-head {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: space-between;
|
|
66
|
+
gap: 12px;
|
|
44
67
|
}
|
|
45
|
-
|
|
46
|
-
|
|
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
|
-
|
|
49
|
-
|
|
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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
background: var(--seams-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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
|
-
|
|
74
|
-
|
|
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(
|
|
78
|
-
gap:
|
|
79
|
-
height: 100%;
|
|
107
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
108
|
+
gap: 10px 16px;
|
|
80
109
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
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
|
-
|
|
93
|
-
|
|
132
|
+
gap: 6px;
|
|
133
|
+
}
|
|
134
|
+
.seams-transaction-review-text strong {
|
|
135
|
+
font-size: 16px;
|
|
94
136
|
font-weight: 600;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
-
|
|
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
|
-
.
|
|
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
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
}
|