@kya-os/consent 0.3.0 → 0.4.1
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/README.md +185 -20
- package/dist/bundle/index.d.ts +4 -0
- package/dist/bundle/index.d.ts.map +1 -1
- package/dist/bundle/index.js +6 -0
- package/dist/bundle/index.js.map +1 -1
- package/dist/bundle/inline.d.ts.map +1 -1
- package/dist/bundle/inline.js +4 -4
- package/dist/bundle/inline.js.map +1 -1
- package/dist/cjs/bundle/index.js +15 -1
- package/dist/cjs/bundle/index.js.map +1 -1
- package/dist/cjs/bundle/inline.js +4 -4
- package/dist/cjs/bundle/inline.js.map +1 -1
- package/dist/cjs/components/consent-action-bar.js +97 -25
- package/dist/cjs/components/consent-action-bar.js.map +1 -1
- package/dist/cjs/components/consent-agent-header.js +7 -105
- package/dist/cjs/components/consent-agent-header.js.map +1 -1
- package/dist/cjs/components/consent-button.js +6 -1
- package/dist/cjs/components/consent-button.js.map +1 -1
- package/dist/cjs/components/consent-capabilities-screen.js +488 -66
- package/dist/cjs/components/consent-capabilities-screen.js.map +1 -1
- package/dist/cjs/components/consent-capability-card.js +197 -42
- package/dist/cjs/components/consent-capability-card.js.map +1 -1
- package/dist/cjs/components/consent-checkbox.js +7 -0
- package/dist/cjs/components/consent-checkbox.js.map +1 -1
- package/dist/cjs/components/consent-connector-header.js +206 -43
- package/dist/cjs/components/consent-connector-header.js.map +1 -1
- package/dist/cjs/components/consent-duration.js +1 -1
- package/dist/cjs/components/consent-footer.js +13 -12
- package/dist/cjs/components/consent-footer.js.map +1 -1
- package/dist/cjs/components/consent-headline.js +445 -30
- package/dist/cjs/components/consent-headline.js.map +1 -1
- package/dist/cjs/components/consent-oauth-button.js +71 -62
- package/dist/cjs/components/consent-oauth-button.js.map +1 -1
- package/dist/cjs/components/consent-otp-input.js +5 -0
- package/dist/cjs/components/consent-otp-input.js.map +1 -1
- package/dist/cjs/components/consent-phone-handoff.js +3 -3
- package/dist/cjs/components/consent-request-expiry.js +1 -1
- package/dist/cjs/components/consent-revocation-notice.js +4 -2
- package/dist/cjs/components/consent-revocation-notice.js.map +1 -1
- package/dist/cjs/components/consent-revoke.js +9 -4
- package/dist/cjs/components/consent-revoke.js.map +1 -1
- package/dist/cjs/components/consent-secured-by.js +106 -0
- package/dist/cjs/components/consent-secured-by.js.map +1 -0
- package/dist/cjs/components/consent-shell.js +1 -1
- package/dist/cjs/components/consent-terms.js +7 -0
- package/dist/cjs/components/consent-terms.js.map +1 -1
- package/dist/cjs/components/consent-wallet-check.js +1 -1
- package/dist/cjs/components/consent-wallet-notice.js +1 -1
- package/dist/cjs/components/consent-wallet-orb.js +1 -1
- package/dist/cjs/components/consent-wallet-signature.js +1 -1
- package/dist/cjs/components/decision-icons.js +33 -0
- package/dist/cjs/components/decision-icons.js.map +1 -0
- package/dist/cjs/components/edit-region.js +309 -0
- package/dist/cjs/components/edit-region.js.map +1 -0
- package/dist/cjs/components/grant-field-styles.js +2 -2
- package/dist/cjs/components/index.js +5 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/components/mcp-consent.js +81 -36
- package/dist/cjs/components/mcp-consent.js.map +1 -1
- package/dist/cjs/components/preview.js +67 -0
- package/dist/cjs/components/preview.js.map +1 -0
- package/dist/cjs/constants/capabilities.js +21 -2
- package/dist/cjs/constants/capabilities.js.map +1 -1
- package/dist/cjs/copy/tokens.js +60 -21
- package/dist/cjs/copy/tokens.js.map +1 -1
- package/dist/cjs/identity/agent-identity.js +3 -2
- package/dist/cjs/identity/agent-identity.js.map +1 -1
- package/dist/cjs/mcp-app/inline.js +2 -2
- package/dist/cjs/mcp-app/inline.js.map +1 -1
- package/dist/cjs/react/index.js +11 -2
- package/dist/cjs/react/index.js.map +1 -1
- package/dist/cjs/styles/brand.js +385 -0
- package/dist/cjs/styles/brand.js.map +1 -0
- package/dist/cjs/styles/index.js +1 -0
- package/dist/cjs/styles/index.js.map +1 -1
- package/dist/cjs/styles/theme.js +100 -30
- package/dist/cjs/styles/theme.js.map +1 -1
- package/dist/cjs/types/capabilities.types.js +1 -2
- package/dist/cjs/types/capabilities.types.js.map +1 -1
- package/dist/cjs/types/decision.types.js +13 -0
- package/dist/cjs/types/decision.types.js.map +1 -0
- package/dist/cjs/types/edit.types.js +80 -0
- package/dist/cjs/types/edit.types.js.map +1 -0
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/components/consent-action-bar.d.ts +20 -1
- package/dist/components/consent-action-bar.d.ts.map +1 -1
- package/dist/components/consent-action-bar.js +97 -25
- package/dist/components/consent-action-bar.js.map +1 -1
- package/dist/components/consent-agent-header.d.ts +4 -17
- package/dist/components/consent-agent-header.d.ts.map +1 -1
- package/dist/components/consent-agent-header.js +7 -105
- package/dist/components/consent-agent-header.js.map +1 -1
- package/dist/components/consent-button.d.ts +2 -0
- package/dist/components/consent-button.d.ts.map +1 -1
- package/dist/components/consent-button.js +6 -1
- package/dist/components/consent-button.js.map +1 -1
- package/dist/components/consent-capabilities-screen.d.ts +93 -14
- package/dist/components/consent-capabilities-screen.d.ts.map +1 -1
- package/dist/components/consent-capabilities-screen.js +488 -67
- package/dist/components/consent-capabilities-screen.js.map +1 -1
- package/dist/components/consent-capability-card.d.ts +42 -5
- package/dist/components/consent-capability-card.d.ts.map +1 -1
- package/dist/components/consent-capability-card.js +196 -41
- package/dist/components/consent-capability-card.js.map +1 -1
- package/dist/components/consent-checkbox.d.ts +2 -0
- package/dist/components/consent-checkbox.d.ts.map +1 -1
- package/dist/components/consent-checkbox.js +7 -0
- package/dist/components/consent-checkbox.js.map +1 -1
- package/dist/components/consent-connector-header.d.ts +39 -7
- package/dist/components/consent-connector-header.d.ts.map +1 -1
- package/dist/components/consent-connector-header.js +206 -43
- package/dist/components/consent-connector-header.js.map +1 -1
- package/dist/components/consent-duration.js +1 -1
- package/dist/components/consent-footer.d.ts +6 -4
- package/dist/components/consent-footer.d.ts.map +1 -1
- package/dist/components/consent-footer.js +13 -12
- package/dist/components/consent-footer.js.map +1 -1
- package/dist/components/consent-headline.d.ts +76 -12
- package/dist/components/consent-headline.d.ts.map +1 -1
- package/dist/components/consent-headline.js +445 -32
- package/dist/components/consent-headline.js.map +1 -1
- package/dist/components/consent-oauth-button.d.ts +7 -3
- package/dist/components/consent-oauth-button.d.ts.map +1 -1
- package/dist/components/consent-oauth-button.js +74 -65
- package/dist/components/consent-oauth-button.js.map +1 -1
- package/dist/components/consent-otp-input.d.ts.map +1 -1
- package/dist/components/consent-otp-input.js +5 -0
- package/dist/components/consent-otp-input.js.map +1 -1
- package/dist/components/consent-passkey.d.ts +6 -0
- package/dist/components/consent-passkey.d.ts.map +1 -1
- package/dist/components/consent-passkey.js +67 -9
- package/dist/components/consent-passkey.js.map +1 -1
- package/dist/components/consent-phone-handoff.js +3 -3
- package/dist/components/consent-request-expiry.js +1 -1
- package/dist/components/consent-revocation-notice.d.ts.map +1 -1
- package/dist/components/consent-revocation-notice.js +4 -2
- package/dist/components/consent-revocation-notice.js.map +1 -1
- package/dist/components/consent-revoke.d.ts +2 -0
- package/dist/components/consent-revoke.d.ts.map +1 -1
- package/dist/components/consent-revoke.js +9 -4
- package/dist/components/consent-revoke.js.map +1 -1
- package/dist/components/consent-secured-by.d.ts +25 -0
- package/dist/components/consent-secured-by.d.ts.map +1 -0
- package/dist/components/consent-secured-by.js +103 -0
- package/dist/components/consent-secured-by.js.map +1 -0
- package/dist/components/consent-shell.js +1 -1
- package/dist/components/consent-terms.d.ts +2 -0
- package/dist/components/consent-terms.d.ts.map +1 -1
- package/dist/components/consent-terms.js +7 -0
- package/dist/components/consent-terms.js.map +1 -1
- package/dist/components/consent-wallet-check.js +1 -1
- package/dist/components/consent-wallet-notice.js +1 -1
- package/dist/components/consent-wallet-orb.js +1 -1
- package/dist/components/consent-wallet-signature.js +1 -1
- package/dist/components/decision-icons.d.ts +22 -0
- package/dist/components/decision-icons.d.ts.map +1 -0
- package/dist/components/decision-icons.js +30 -0
- package/dist/components/decision-icons.js.map +1 -0
- package/dist/components/edit-region.d.ts +50 -0
- package/dist/components/edit-region.d.ts.map +1 -0
- package/dist/components/edit-region.js +305 -0
- package/dist/components/edit-region.js.map +1 -0
- package/dist/components/grant-field-styles.js +2 -2
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/mcp-consent.d.ts +15 -0
- package/dist/components/mcp-consent.d.ts.map +1 -1
- package/dist/components/mcp-consent.js +81 -36
- package/dist/components/mcp-consent.js.map +1 -1
- package/dist/components/preview.d.ts +38 -0
- package/dist/components/preview.d.ts.map +1 -0
- package/dist/components/preview.js +61 -0
- package/dist/components/preview.js.map +1 -0
- package/dist/consent.js +2200 -389
- package/dist/consent.min.js +1308 -496
- package/dist/constants/capabilities.d.ts +14 -2
- package/dist/constants/capabilities.d.ts.map +1 -1
- package/dist/constants/capabilities.js +21 -2
- package/dist/constants/capabilities.js.map +1 -1
- package/dist/copy/tokens.d.ts +60 -21
- package/dist/copy/tokens.d.ts.map +1 -1
- package/dist/copy/tokens.js +60 -21
- package/dist/copy/tokens.js.map +1 -1
- package/dist/identity/agent-identity.d.ts +3 -2
- package/dist/identity/agent-identity.d.ts.map +1 -1
- package/dist/identity/agent-identity.js +3 -2
- package/dist/identity/agent-identity.js.map +1 -1
- package/dist/mcp-app/inline.d.ts.map +1 -1
- package/dist/mcp-app/inline.js +2 -2
- package/dist/mcp-app/inline.js.map +1 -1
- package/dist/react/index.d.ts +6 -1
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +10 -1
- package/dist/react/index.js.map +1 -1
- package/dist/styles/brand.d.ts +184 -0
- package/dist/styles/brand.d.ts.map +1 -0
- package/dist/styles/brand.js +372 -0
- package/dist/styles/brand.js.map +1 -0
- package/dist/styles/index.d.ts +1 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/index.js +1 -0
- package/dist/styles/index.js.map +1 -1
- package/dist/styles/theme.d.ts +73 -13
- package/dist/styles/theme.d.ts.map +1 -1
- package/dist/styles/theme.js +96 -29
- package/dist/styles/theme.js.map +1 -1
- package/dist/types/capabilities.types.d.ts +12 -14
- package/dist/types/capabilities.types.d.ts.map +1 -1
- package/dist/types/capabilities.types.js +1 -2
- package/dist/types/capabilities.types.js.map +1 -1
- package/dist/types/decision.types.d.ts +57 -0
- package/dist/types/decision.types.d.ts.map +1 -0
- package/dist/types/decision.types.js +12 -0
- package/dist/types/decision.types.js.map +1 -0
- package/dist/types/edit.types.d.ts +73 -0
- package/dist/types/edit.types.d.ts.map +1 -0
- package/dist/types/edit.types.js +76 -0
- package/dist/types/edit.types.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,10 +2,22 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Consent Connector Header
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* The top of the consent screen: the client's mark on the left, a bridge with
|
|
6
|
+
* a shield in the middle, and the server's logo on the right. It shows "{client}
|
|
7
|
+
* is connecting to {server}" before the user reads any copy.
|
|
8
|
+
*
|
|
9
|
+
* Two bridges (`variant`):
|
|
10
|
+
* - `dots` (the default): dotted lines and a green shield.
|
|
11
|
+
* - `bridge`: dashed lines and a shield in the page's tint (`--cs-tint`,
|
|
12
|
+
* edged in `--cs-tint-line`), drawn in `--cs-mark`, so it follows a brand.
|
|
13
|
+
*
|
|
14
|
+
* Every logo is contained, never cropped: the client's mark in a square tile,
|
|
15
|
+
* the server's logo at the same height in a tile that widens for a wordmark,
|
|
16
|
+
* up to a cap, and shrinks it to fit past that. A missing or broken logo is
|
|
17
|
+
* the name's first letter; a new logo URL is tried again.
|
|
18
|
+
*
|
|
19
|
+
* Who carries the connection is the host's to say (`via`): with none, the
|
|
20
|
+
* header names only the client and the server.
|
|
9
21
|
*
|
|
10
22
|
* Logo resolution priority:
|
|
11
23
|
* 1. explicit `clientLogoUrl` / `serverLogoUrl` attributes (operator override)
|
|
@@ -14,8 +26,12 @@
|
|
|
14
26
|
* 3. logo.dev fallback when `logoDevToken` is set + a domain is derivable
|
|
15
27
|
* 4. monogram tile (first letter of name) as the last-resort placeholder
|
|
16
28
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
29
|
+
* Decorative: one visually hidden line says who is connecting to whom.
|
|
30
|
+
*
|
|
31
|
+
* @cssprop --cs-tile-radius - The tiles' corners (default: 14px).
|
|
32
|
+
* @cssprop --cs-tint - The `bridge` shield's fill.
|
|
33
|
+
* @cssprop --cs-tint-line - The `bridge` shield's edge.
|
|
34
|
+
* @cssprop --cs-mark - The `bridge` shield's mark.
|
|
19
35
|
*
|
|
20
36
|
* @module components/consent-connector-header
|
|
21
37
|
*/
|
|
@@ -26,9 +42,35 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
26
42
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27
43
|
};
|
|
28
44
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.ConsentConnectorHeader = void 0;
|
|
45
|
+
exports.ConsentConnectorHeader = exports.CONNECTOR_VARIANTS = void 0;
|
|
30
46
|
const lit_1 = require("lit");
|
|
31
47
|
const decorators_js_1 = require("lit/decorators.js");
|
|
48
|
+
/** The bridges the header draws between the two tiles. */
|
|
49
|
+
exports.CONNECTOR_VARIANTS = ["dots", "bridge"];
|
|
50
|
+
const SHIELD_CHECK = (0, lit_1.html) `<svg
|
|
51
|
+
viewBox="0 0 24 24"
|
|
52
|
+
fill="none"
|
|
53
|
+
stroke="currentColor"
|
|
54
|
+
stroke-width="2"
|
|
55
|
+
stroke-linecap="round"
|
|
56
|
+
stroke-linejoin="round"
|
|
57
|
+
>
|
|
58
|
+
<path
|
|
59
|
+
d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"
|
|
60
|
+
/>
|
|
61
|
+
<path d="m9 12 2 2 4-4" />
|
|
62
|
+
</svg>`;
|
|
63
|
+
const DOTS_SHIELD = (0, lit_1.html) `<svg
|
|
64
|
+
viewBox="0 0 24 24"
|
|
65
|
+
fill="none"
|
|
66
|
+
stroke="currentColor"
|
|
67
|
+
stroke-width="2.2"
|
|
68
|
+
stroke-linecap="round"
|
|
69
|
+
stroke-linejoin="round"
|
|
70
|
+
>
|
|
71
|
+
<path d="M12 3l8 3v5c0 4.5-3.5 8.5-8 10-4.5-1.5-8-5.5-8-10V6l8-3z" />
|
|
72
|
+
<path d="m9 12 2 2 4-4" />
|
|
73
|
+
</svg>`;
|
|
32
74
|
let ConsentConnectorHeader = class ConsentConnectorHeader extends lit_1.LitElement {
|
|
33
75
|
constructor() {
|
|
34
76
|
super(...arguments);
|
|
@@ -50,9 +92,28 @@ let ConsentConnectorHeader = class ConsentConnectorHeader extends lit_1.LitEleme
|
|
|
50
92
|
* logo.dev returns 404.
|
|
51
93
|
*/
|
|
52
94
|
this.logoDevToken = "";
|
|
95
|
+
/** The bridge between the tiles: `bridge` (default) or `dots`. */
|
|
96
|
+
this.variant = "bridge";
|
|
97
|
+
/**
|
|
98
|
+
* Who carries the connection, such as the host's product name. Read out as
|
|
99
|
+
* "{client} is connecting to {server} via {via}" and shown as the shield's
|
|
100
|
+
* tooltip. Empty: the header names only the client and the server.
|
|
101
|
+
*/
|
|
102
|
+
this.via = "";
|
|
53
103
|
this.clientImageOk = true;
|
|
54
104
|
this.serverImageOk = true;
|
|
55
105
|
}
|
|
106
|
+
/** A logo that failed is tried again when its URL changes. */
|
|
107
|
+
willUpdate(changed) {
|
|
108
|
+
if (changed.has("clientLogoUrl") || changed.has("clientDid")) {
|
|
109
|
+
this.clientImageOk = true;
|
|
110
|
+
}
|
|
111
|
+
if (changed.has("serverLogoUrl") ||
|
|
112
|
+
changed.has("serverDomain") ||
|
|
113
|
+
changed.has("logoDevToken")) {
|
|
114
|
+
this.serverImageOk = true;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
56
117
|
/**
|
|
57
118
|
* Derive a logo URL for an agent DID via KTA hosting convention.
|
|
58
119
|
* `did:web:knowthat.ai:agents:claude` → `https://knowthat.ai/img/agents/claude.png`
|
|
@@ -88,11 +149,35 @@ let ConsentConnectorHeader = class ConsentConnectorHeader extends lit_1.LitEleme
|
|
|
88
149
|
return this.logoDevLogo(this.serverDomain);
|
|
89
150
|
}
|
|
90
151
|
monogram(name) {
|
|
91
|
-
return (name
|
|
152
|
+
return (name.trim().charAt(0) || "?").toUpperCase();
|
|
153
|
+
}
|
|
154
|
+
/** What a screen reader hears in place of the picture. */
|
|
155
|
+
description() {
|
|
156
|
+
const client = this.clientName.trim() || "An agent";
|
|
157
|
+
const server = this.serverName.trim() || "this site";
|
|
158
|
+
const via = this.via.trim();
|
|
159
|
+
return `${client} is connecting to ${server}${via ? ` via ${via}` : ""}`;
|
|
160
|
+
}
|
|
161
|
+
renderBridge() {
|
|
162
|
+
const title = this.via.trim() ? `Protected by ${this.via.trim()}` : lit_1.nothing;
|
|
163
|
+
if (this.variant === "bridge") {
|
|
164
|
+
return (0, lit_1.html) `<div class="bridge" aria-hidden="true">
|
|
165
|
+
<span class="dash"></span>
|
|
166
|
+
<span class="shield" title=${title}>${SHIELD_CHECK}</span>
|
|
167
|
+
<span class="dash"></span>
|
|
168
|
+
</div>`;
|
|
169
|
+
}
|
|
170
|
+
return (0, lit_1.html) `<div class="bridge" aria-hidden="true">
|
|
171
|
+
<span class="dots"><span></span><span></span><span></span></span>
|
|
172
|
+
<span class="shield" title=${title}>${DOTS_SHIELD}</span>
|
|
173
|
+
<span class="dots"><span></span><span></span><span></span></span>
|
|
174
|
+
</div>`;
|
|
92
175
|
}
|
|
93
176
|
render() {
|
|
94
177
|
const clientLogo = this.resolveClientLogo();
|
|
95
|
-
const serverLogo = this.
|
|
178
|
+
const serverLogo = this.serverImageOk
|
|
179
|
+
? this.resolveServerLogo()
|
|
180
|
+
: undefined;
|
|
96
181
|
return (0, lit_1.html) `
|
|
97
182
|
<div class="tile client" aria-hidden="true">
|
|
98
183
|
${clientLogo && this.clientImageOk
|
|
@@ -101,28 +186,26 @@ let ConsentConnectorHeader = class ConsentConnectorHeader extends lit_1.LitEleme
|
|
|
101
186
|
alt=""
|
|
102
187
|
@error=${() => (this.clientImageOk = false)}
|
|
103
188
|
/>`
|
|
104
|
-
: (0, lit_1.html) `<span class="monogram"
|
|
189
|
+
: (0, lit_1.html) `<span class="monogram"
|
|
190
|
+
>${this.monogram(this.clientName)}</span
|
|
191
|
+
>`}
|
|
105
192
|
</div>
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
</svg>
|
|
113
|
-
</span>
|
|
114
|
-
<span class="dots"><span></span><span></span><span></span></span>
|
|
115
|
-
</div>
|
|
116
|
-
<div class="tile server" aria-hidden="true">
|
|
117
|
-
${serverLogo && this.serverImageOk
|
|
193
|
+
${this.renderBridge()}
|
|
194
|
+
<div
|
|
195
|
+
class="tile server ${serverLogo ? "has-logo" : ""}"
|
|
196
|
+
aria-hidden="true"
|
|
197
|
+
>
|
|
198
|
+
${serverLogo
|
|
118
199
|
? (0, lit_1.html) `<img
|
|
119
200
|
src="${serverLogo}"
|
|
120
201
|
alt=""
|
|
121
202
|
@error=${() => (this.serverImageOk = false)}
|
|
122
203
|
/>`
|
|
123
|
-
: (0, lit_1.html) `<span class="monogram"
|
|
204
|
+
: (0, lit_1.html) `<span class="monogram"
|
|
205
|
+
>${this.monogram(this.serverName)}</span
|
|
206
|
+
>`}
|
|
124
207
|
</div>
|
|
125
|
-
<span
|
|
208
|
+
<span class="visually-hidden">${this.description()}</span>
|
|
126
209
|
`;
|
|
127
210
|
}
|
|
128
211
|
};
|
|
@@ -136,10 +219,16 @@ ConsentConnectorHeader.styles = (0, lit_1.css) `
|
|
|
136
219
|
padding: 22px 0 4px;
|
|
137
220
|
}
|
|
138
221
|
|
|
222
|
+
:host([variant="bridge"]) {
|
|
223
|
+
gap: 8px;
|
|
224
|
+
padding: 20px 0 14px;
|
|
225
|
+
}
|
|
226
|
+
|
|
139
227
|
.tile {
|
|
140
|
-
|
|
228
|
+
box-sizing: border-box;
|
|
141
229
|
height: 56px;
|
|
142
|
-
|
|
230
|
+
min-width: 56px;
|
|
231
|
+
border-radius: var(--cs-tile-radius, 14px);
|
|
143
232
|
overflow: hidden;
|
|
144
233
|
display: flex;
|
|
145
234
|
align-items: center;
|
|
@@ -149,30 +238,46 @@ ConsentConnectorHeader.styles = (0, lit_1.css) `
|
|
|
149
238
|
border: 1px solid var(--cs-surface-border, rgba(15, 23, 42, 0.08));
|
|
150
239
|
}
|
|
151
240
|
|
|
152
|
-
/*
|
|
153
|
-
it 56px outside; the shared .tile (server) box is left unchanged. */
|
|
241
|
+
/* The agent's tile is white with a light border in every theme. */
|
|
154
242
|
.tile.client {
|
|
155
|
-
|
|
156
|
-
background: var(--cs-agent-tile-bg, #
|
|
243
|
+
width: 56px;
|
|
244
|
+
background: var(--cs-agent-tile-bg, #ffffff);
|
|
157
245
|
border: 1px solid var(--cs-agent-tile-border, rgba(15, 23, 42, 0.08));
|
|
158
246
|
}
|
|
159
247
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
height: 100%;
|
|
163
|
-
object-fit: cover;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/* Agent marks are contained, not cropped: 36px leaves a 10px inset inside
|
|
167
|
-
the centred 56px tile, so non-square logos keep their full shape. */
|
|
248
|
+
/* Marks are contained, not cropped: 36px leaves a 10px inset inside the
|
|
249
|
+
56px tile, so a non-square logo keeps its whole shape. */
|
|
168
250
|
.tile.client img {
|
|
169
251
|
width: 36px;
|
|
170
252
|
height: 36px;
|
|
171
253
|
object-fit: contain;
|
|
172
254
|
}
|
|
173
255
|
|
|
256
|
+
/* The server's logo at the mark's height: a square logo in a square tile,
|
|
257
|
+
a wordmark widening the tile up to 126px and contained past that (a
|
|
258
|
+
3.75:1 wordmark draws 108 by 29). Where the row is short of room the
|
|
259
|
+
tile gives some back, down to square, and the wordmark is contained in
|
|
260
|
+
what is left. */
|
|
261
|
+
.tile.server {
|
|
262
|
+
flex-shrink: 1;
|
|
263
|
+
max-width: 126px;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.tile.server.has-logo {
|
|
267
|
+
padding: 0 8px;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.tile.server img {
|
|
271
|
+
display: block;
|
|
272
|
+
height: 36px;
|
|
273
|
+
width: auto;
|
|
274
|
+
min-width: 36px;
|
|
275
|
+
max-width: 100%;
|
|
276
|
+
object-fit: contain;
|
|
277
|
+
}
|
|
278
|
+
|
|
174
279
|
.tile .monogram {
|
|
175
|
-
width:
|
|
280
|
+
width: 54px;
|
|
176
281
|
height: 100%;
|
|
177
282
|
display: flex;
|
|
178
283
|
align-items: center;
|
|
@@ -182,11 +287,11 @@ ConsentConnectorHeader.styles = (0, lit_1.css) `
|
|
|
182
287
|
}
|
|
183
288
|
|
|
184
289
|
.tile.client .monogram {
|
|
185
|
-
color: var(--cs-agent-tile-text, #
|
|
290
|
+
color: var(--cs-agent-tile-text, #0f172a);
|
|
186
291
|
}
|
|
187
292
|
|
|
188
293
|
.tile.server .monogram {
|
|
189
|
-
color: var(--cs-text-primary, #
|
|
294
|
+
color: var(--cs-text-primary, #0f172a);
|
|
190
295
|
}
|
|
191
296
|
|
|
192
297
|
.bridge {
|
|
@@ -204,7 +309,7 @@ ConsentConnectorHeader.styles = (0, lit_1.css) `
|
|
|
204
309
|
width: 4px;
|
|
205
310
|
height: 4px;
|
|
206
311
|
border-radius: 50%;
|
|
207
|
-
background: var(--cs-text-tertiary, #
|
|
312
|
+
background: var(--cs-text-tertiary, #94a3b8);
|
|
208
313
|
opacity: 0.55;
|
|
209
314
|
}
|
|
210
315
|
|
|
@@ -216,7 +321,7 @@ ConsentConnectorHeader.styles = (0, lit_1.css) `
|
|
|
216
321
|
display: inline-flex;
|
|
217
322
|
align-items: center;
|
|
218
323
|
justify-content: center;
|
|
219
|
-
color: #
|
|
324
|
+
color: #15803d;
|
|
220
325
|
flex-shrink: 0;
|
|
221
326
|
}
|
|
222
327
|
|
|
@@ -224,6 +329,58 @@ ConsentConnectorHeader.styles = (0, lit_1.css) `
|
|
|
224
329
|
width: 16px;
|
|
225
330
|
height: 16px;
|
|
226
331
|
}
|
|
332
|
+
|
|
333
|
+
/* 144px where there is room; it gives way first where there is not. */
|
|
334
|
+
:host([variant="bridge"]) .bridge {
|
|
335
|
+
flex: 0 4 144px;
|
|
336
|
+
height: 56px;
|
|
337
|
+
gap: 6px;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.dash {
|
|
341
|
+
flex: 1;
|
|
342
|
+
min-width: 12px;
|
|
343
|
+
height: 0;
|
|
344
|
+
border-top: 1px dashed var(--cs-text-tertiary, #5d6c82);
|
|
345
|
+
opacity: 0.5;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
:host([variant="bridge"]) .shield {
|
|
349
|
+
box-sizing: border-box;
|
|
350
|
+
width: 32px;
|
|
351
|
+
height: 32px;
|
|
352
|
+
background: var(
|
|
353
|
+
--cs-tint,
|
|
354
|
+
color-mix(
|
|
355
|
+
in srgb,
|
|
356
|
+
var(--cs-text-primary, #0f172a) 7%,
|
|
357
|
+
var(--cs-surface-card, #fff)
|
|
358
|
+
)
|
|
359
|
+
);
|
|
360
|
+
border: 1px solid
|
|
361
|
+
var(
|
|
362
|
+
--cs-tint-line,
|
|
363
|
+
color-mix(
|
|
364
|
+
in srgb,
|
|
365
|
+
var(--cs-text-primary, #0f172a) 18%,
|
|
366
|
+
var(--cs-surface-card, #fff)
|
|
367
|
+
)
|
|
368
|
+
);
|
|
369
|
+
color: var(--cs-mark, var(--cs-text-primary, #0f172a));
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.visually-hidden {
|
|
373
|
+
position: absolute;
|
|
374
|
+
width: 1px;
|
|
375
|
+
height: 1px;
|
|
376
|
+
padding: 0;
|
|
377
|
+
margin: -1px;
|
|
378
|
+
overflow: hidden;
|
|
379
|
+
clip: rect(0 0 0 0);
|
|
380
|
+
clip-path: inset(50%);
|
|
381
|
+
white-space: nowrap;
|
|
382
|
+
border: 0;
|
|
383
|
+
}
|
|
227
384
|
`;
|
|
228
385
|
__decorate([
|
|
229
386
|
(0, decorators_js_1.property)({ type: String })
|
|
@@ -246,6 +403,12 @@ __decorate([
|
|
|
246
403
|
__decorate([
|
|
247
404
|
(0, decorators_js_1.property)({ type: String, attribute: "logo-dev-token" })
|
|
248
405
|
], ConsentConnectorHeader.prototype, "logoDevToken", void 0);
|
|
406
|
+
__decorate([
|
|
407
|
+
(0, decorators_js_1.property)({ type: String, reflect: true })
|
|
408
|
+
], ConsentConnectorHeader.prototype, "variant", void 0);
|
|
409
|
+
__decorate([
|
|
410
|
+
(0, decorators_js_1.property)({ type: String })
|
|
411
|
+
], ConsentConnectorHeader.prototype, "via", void 0);
|
|
249
412
|
__decorate([
|
|
250
413
|
(0, decorators_js_1.state)()
|
|
251
414
|
], ConsentConnectorHeader.prototype, "clientImageOk", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent-connector-header.js","sourceRoot":"","sources":["../../../src/components/consent-connector-header.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"consent-connector-header.js","sourceRoot":"","sources":["../../../src/components/consent-connector-header.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;;;;;;;;;AAEH,6BAA0E;AAC1E,qDAAmE;AAEnE,0DAA0D;AAC7C,QAAA,kBA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EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uDAC/B;AAOiB;IAA3B,IAAA,wBAAQ,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;mDAAU;AAEpB;IAAhB,IAAA,qBAAK,GAAE;6DAA8B;AACrB;IAAhB,IAAA,qBAAK,GAAE;6DAA8B;iCAtC3B,sBAAsB;IADlC,IAAA,6BAAa,EAAC,0BAA0B,CAAC;GAC7B,sBAAsB,CAqUlC"}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Consent Footer
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* `✓ by Vouched KYA` (left) + `How does this work?` (right). Shared between
|
|
6
|
+
* the consent screen and the (future-migrated) gateway consent. A host that
|
|
7
|
+
* runs the screen itself puts its own footer in the screen's `footer` slot.
|
|
7
8
|
*
|
|
8
9
|
* @module components/consent-footer
|
|
9
10
|
*/
|
|
@@ -18,17 +19,17 @@ exports.ConsentFooter = void 0;
|
|
|
18
19
|
const lit_1 = require("lit");
|
|
19
20
|
const decorators_js_1 = require("lit/decorators.js");
|
|
20
21
|
const tokens_js_1 = require("../copy/tokens.js");
|
|
22
|
+
const preview_js_1 = require("./preview.js");
|
|
21
23
|
const resolve_branding_js_1 = require("../resolution/resolve-branding.js");
|
|
22
24
|
let ConsentFooter = class ConsentFooter extends lit_1.LitElement {
|
|
23
25
|
constructor() {
|
|
24
|
-
super(
|
|
25
|
-
this.theme = "light";
|
|
26
|
+
super();
|
|
26
27
|
this.howItWorksUrl = "";
|
|
28
|
+
/** Draws as it would live; its link goes nowhere. */
|
|
29
|
+
this.preview = false;
|
|
30
|
+
(0, preview_js_1.guardPreviewNavigation)(this);
|
|
27
31
|
}
|
|
28
32
|
render() {
|
|
29
|
-
const attribution = this.theme === "dark"
|
|
30
|
-
? tokens_js_1.CONSENT_COPY_TOKENS.attribution.securedBy
|
|
31
|
-
: tokens_js_1.CONSENT_COPY_TOKENS.attribution.protectedBy;
|
|
32
33
|
return (0, lit_1.html) `
|
|
33
34
|
<span class="left">
|
|
34
35
|
<svg
|
|
@@ -43,7 +44,7 @@ let ConsentFooter = class ConsentFooter extends lit_1.LitElement {
|
|
|
43
44
|
>
|
|
44
45
|
<path d="m3.5 8.5 3 3 6-6.5" />
|
|
45
46
|
</svg>
|
|
46
|
-
${attribution}
|
|
47
|
+
${tokens_js_1.CONSENT_COPY_TOKENS.attribution.byLine}
|
|
47
48
|
</span>
|
|
48
49
|
${(0, resolve_branding_js_1.sanitizeLinkUrl)(this.howItWorksUrl)
|
|
49
50
|
? (0, lit_1.html) `<a
|
|
@@ -72,7 +73,7 @@ ConsentFooter.styles = (0, lit_1.css) `
|
|
|
72
73
|
gap: 6px 16px;
|
|
73
74
|
padding-top: 12px;
|
|
74
75
|
font-size: 12px;
|
|
75
|
-
color: var(--cs-text-tertiary, #
|
|
76
|
+
color: var(--cs-text-tertiary, #5d6c82);
|
|
76
77
|
border-top: 1px solid var(--cs-surface-border, transparent);
|
|
77
78
|
}
|
|
78
79
|
|
|
@@ -103,12 +104,12 @@ ConsentFooter.styles = (0, lit_1.css) `
|
|
|
103
104
|
color: var(--cs-text-primary, #0f172a);
|
|
104
105
|
}
|
|
105
106
|
`;
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, decorators_js_1.property)({ type: String })
|
|
108
|
-
], ConsentFooter.prototype, "theme", void 0);
|
|
109
107
|
__decorate([
|
|
110
108
|
(0, decorators_js_1.property)({ type: String })
|
|
111
109
|
], ConsentFooter.prototype, "howItWorksUrl", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, decorators_js_1.property)({ type: Boolean, reflect: true })
|
|
112
|
+
], ConsentFooter.prototype, "preview", void 0);
|
|
112
113
|
exports.ConsentFooter = ConsentFooter = __decorate([
|
|
113
114
|
(0, decorators_js_1.customElement)("consent-footer")
|
|
114
115
|
], ConsentFooter);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent-footer.js","sourceRoot":"","sources":["../../../src/components/consent-footer.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"consent-footer.js","sourceRoot":"","sources":["../../../src/components/consent-footer.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;;;;;;;AAEH,6BAA4C;AAC5C,qDAA4D;AAE5D,iDAAwD;AACxD,6CAAsD;AACtD,2EAAoE;AAG7D,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,gBAAU;IAI3C;QACE,KAAK,EAAE,CAAC;QAJkB,kBAAa,GAAG,EAAE,CAAC;QAC/C,qDAAqD;QACT,YAAO,GAAG,KAAK,CAAC;QAG1D,IAAA,mCAAsB,EAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IA6CQ,MAAM;QACb,OAAO,IAAA,UAAI,EAAA;;;;;;;;;;;;;;UAcL,+BAAmB,CAAC,WAAW,CAAC,MAAM;;QAExC,IAAA,qCAAe,EAAC,IAAI,CAAC,aAAa,CAAC;YACnC,CAAC,CAAC,IAAA,UAAI,EAAA;;oBAEM,IAAA,qCAAe,EAAC,IAAI,CAAC,aAAa,CAAC;;;;cAIzC,+BAAmB,CAAC,WAAW,CAAC,YAAY;eAC3C;YACP,CAAC,CAAC,IAAA,UAAI,EAAA;eACC,+BAAmB,CAAC,WAAW,CAAC,YAAY;YAC/C;KACP,CAAC;IACJ,CAAC;;AAlFU,sCAAa;AASR,oBAAM,GAAG,IAAA,SAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyC3B,AAzCqB,CAyCpB;AAjD0B;IAA3B,IAAA,wBAAQ,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;oDAAoB;AAEH;IAA3C,IAAA,wBAAQ,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAAiB;wBAHjD,aAAa;IADzB,IAAA,6BAAa,EAAC,gBAAgB,CAAC;GACnB,aAAa,CAmFzB"}
|