@kya-os/consent 0.3.0 → 0.4.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/README.md +6 -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/inline.js +4 -4
- package/dist/cjs/bundle/inline.js.map +1 -1
- package/dist/cjs/components/consent-capabilities-screen.js +39 -3
- package/dist/cjs/components/consent-capabilities-screen.js.map +1 -1
- package/dist/cjs/components/consent-capability-card.js +75 -24
- package/dist/cjs/components/consent-capability-card.js.map +1 -1
- package/dist/cjs/components/consent-headline.js +50 -1
- package/dist/cjs/components/consent-headline.js.map +1 -1
- package/dist/cjs/components/index.js +2 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/constants/capabilities.js +11 -2
- package/dist/cjs/constants/capabilities.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/components/consent-capabilities-screen.d.ts +14 -3
- package/dist/components/consent-capabilities-screen.d.ts.map +1 -1
- package/dist/components/consent-capabilities-screen.js +37 -2
- package/dist/components/consent-capabilities-screen.js.map +1 -1
- package/dist/components/consent-capability-card.d.ts +19 -2
- package/dist/components/consent-capability-card.d.ts.map +1 -1
- package/dist/components/consent-capability-card.js +74 -23
- package/dist/components/consent-capability-card.js.map +1 -1
- package/dist/components/consent-headline.d.ts +25 -0
- package/dist/components/consent-headline.d.ts.map +1 -1
- package/dist/components/consent-headline.js +52 -3
- package/dist/components/consent-headline.js.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/consent.js +121 -25
- package/dist/consent.min.js +114 -94
- package/dist/constants/capabilities.d.ts +5 -2
- package/dist/constants/capabilities.d.ts.map +1 -1
- package/dist/constants/capabilities.js +11 -2
- package/dist/constants/capabilities.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/package.json +2 -2
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/** Public feature contract for hosts that embed the standalone screen bundle. */
|
|
2
2
|
export declare const CONSENT_CAPABILITIES_FEATURES: Readonly<{
|
|
3
|
-
|
|
3
|
+
/** 2 adds the `headline` slot, a slot per row and the row parts. */
|
|
4
|
+
version: 2;
|
|
4
5
|
scopesOnly: true;
|
|
5
|
-
slots: readonly ["identity", "details", "notice", "footer"];
|
|
6
|
+
slots: readonly ["identity", "details", "notice", "footer", "headline"];
|
|
7
|
+
/** A row's slot is this prefix and the capability's id. */
|
|
8
|
+
capabilitySlotPrefix: "capability-";
|
|
6
9
|
}>;
|
|
7
10
|
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../src/constants/capabilities.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,eAAO,MAAM,6BAA6B;;;;
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../src/constants/capabilities.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,eAAO,MAAM,6BAA6B;IACxC,oEAAoE;;;;IAUpE,2DAA2D;;EAE3D,CAAC"}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
/** Public feature contract for hosts that embed the standalone screen bundle. */
|
|
2
2
|
export const CONSENT_CAPABILITIES_FEATURES = Object.freeze({
|
|
3
|
-
|
|
3
|
+
/** 2 adds the `headline` slot, a slot per row and the row parts. */
|
|
4
|
+
version: 2,
|
|
4
5
|
scopesOnly: true,
|
|
5
|
-
slots: Object.freeze([
|
|
6
|
+
slots: Object.freeze([
|
|
7
|
+
"identity",
|
|
8
|
+
"details",
|
|
9
|
+
"notice",
|
|
10
|
+
"footer",
|
|
11
|
+
"headline",
|
|
12
|
+
]),
|
|
13
|
+
/** A row's slot is this prefix and the capability's id. */
|
|
14
|
+
capabilitySlotPrefix: "capability-",
|
|
6
15
|
});
|
|
7
16
|
//# sourceMappingURL=capabilities.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../src/constants/capabilities.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,MAAM,CAAC;IACzD,OAAO,EAAE,CAAC;IACV,UAAU,EAAE,IAAI;IAChB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../src/constants/capabilities.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,MAAM,CAAC;IACzD,oEAAoE;IACpE,OAAO,EAAE,CAAC;IACV,UAAU,EAAE,IAAI;IAChB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC;QACnB,UAAU;QACV,SAAS;QACT,QAAQ;QACR,QAAQ;QACR,UAAU;KACF,CAAC;IACX,2DAA2D;IAC3D,oBAAoB,EAAE,aAAa;CACpC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline.d.ts","sourceRoot":"","sources":["../../src/mcp-app/inline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"inline.d.ts","sourceRoot":"","sources":["../../src/mcp-app/inline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,EAAE,MAAg/h1B,CAAC;AAEphi1B,4CAA4C;AAC5C,eAAO,MAAM,yBAAyB,EAAE,MAAe,CAAC"}
|