@privacykit/web 1.2.1 → 1.3.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/index.d.ts +0 -6
- package/package.json +3 -2
- package/privacykit.d.ts +3 -3
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@privacykit/web",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Developer-friendly GDPR consent management with real enforcement.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
|
-
"
|
|
30
|
+
"fix-type": "sed -i '' 's/PrivacyKit?: PrivacyKitGlobalApi/PrivacyKit: PrivacyKitGlobalApi/' ./privacykit.d.ts",
|
|
31
|
+
"sync-types": "cp ../privacykit-sdk/public/privacykit.d.ts ./privacykit.d.ts && npm run fix-type",
|
|
31
32
|
"build": "npx tsc",
|
|
32
33
|
"publish:patch": "npm run build && npm login && npm version patch && npm publish",
|
|
33
34
|
"publish:minor": "npm run build && npm login && npm version minor && npm publish"
|
package/privacykit.d.ts
CHANGED
|
@@ -100,8 +100,8 @@ declare global {
|
|
|
100
100
|
* All visual rendering is delegated to the active design variant.
|
|
101
101
|
*
|
|
102
102
|
* Named slots for content overrides:
|
|
103
|
-
* - `dialog-logo`
|
|
104
|
-
* - `dialog-logo-
|
|
103
|
+
* - `dialog-logo-top` Optional logo shown in the dialog header (moves title into body)
|
|
104
|
+
* - `dialog-logo-right` Optional logo shown to the right of the first summary paragraph
|
|
105
105
|
* - `dialog-title` Override the dialog heading
|
|
106
106
|
* - `dialog-summary-part-1` Override the first summary paragraph
|
|
107
107
|
* - `dialog-summary-part-2` Override the second summary paragraph
|
|
@@ -243,7 +243,7 @@ declare global {
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
interface Window {
|
|
246
|
-
PrivacyKit
|
|
246
|
+
PrivacyKit: PrivacyKitGlobalApi;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
interface HTMLElementTagNameMap {
|