@reform-digital/cookie-flow 2.0.0 → 2.1.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 +16 -0
- package/package.json +4 -2
- package/prod/index.js +1 -1
package/README.md
CHANGED
|
@@ -965,6 +965,22 @@ CookieFlow™ uses **HTML data attributes** to identify and control UI elements.
|
|
|
965
965
|
|
|
966
966
|
**Position**: Typically positioned as a floating button, often in the bottom-right corner
|
|
967
967
|
|
|
968
|
+
**Privacy Settings Link (Alternative to Manager)**
|
|
969
|
+
|
|
970
|
+
If you prefer to use a text link instead of the floating manager button (e.g., a "Privacy Settings" link in your footer), you can add this attribute to any element:
|
|
971
|
+
|
|
972
|
+
**Attribute**: `rd-cookieflow="manager-link"`
|
|
973
|
+
|
|
974
|
+
```html
|
|
975
|
+
<!-- Example: Footer privacy link -->
|
|
976
|
+
<a href="#" rd-cookieflow="manager-link">Privacy Settings</a>
|
|
977
|
+
```
|
|
978
|
+
|
|
979
|
+
**How It Works:**
|
|
980
|
+
- Clicking this element opens the CookieFlow™ settings modal, just like the floating manager button
|
|
981
|
+
- You can place this link anywhere on your page (footer, navigation, etc.)
|
|
982
|
+
- If using this approach, the floating manager button (`rd-cookieflow="manager"`) can be removed without affecting functionality
|
|
983
|
+
|
|
968
984
|
**3. Banner Components**
|
|
969
985
|
|
|
970
986
|
**Purpose**: Display consent options to users when they first visit
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reform-digital/cookie-flow",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "CookieFlow™ is a comprehensive cookie consent management solution developed by Reform Digital® specifically for Webflow websites. It provides a compliant, customizable framework for handling user consent preferences across different geographical regions, automatically adapting to privacy regulations like GDPR, CCPA, and others.",
|
|
5
5
|
"author": "Reform Digital®",
|
|
6
6
|
"keywords": [],
|
|
@@ -13,17 +13,19 @@
|
|
|
13
13
|
],
|
|
14
14
|
"main": "home.js",
|
|
15
15
|
"devDependencies": {
|
|
16
|
+
"@eslint/js": "^9.11.0",
|
|
16
17
|
"esbuild": "^0.25.11",
|
|
17
18
|
"eslint": "^9.38.0",
|
|
18
19
|
"eslint-config-prettier": "^10.1.8",
|
|
19
20
|
"eslint-plugin-prettier": "^5.5.4",
|
|
21
|
+
"globals": "^15.12.0",
|
|
20
22
|
"husky": "^9.1.7",
|
|
21
23
|
"javascript-obfuscator": "^4.1.1",
|
|
22
24
|
"lint-staged": "^16.2.6",
|
|
23
25
|
"prettier": "^3.6.2"
|
|
24
26
|
},
|
|
25
27
|
"dependencies": {
|
|
26
|
-
"@supabase/supabase-js": "^2.
|
|
28
|
+
"@supabase/supabase-js": "^2.77.0",
|
|
27
29
|
"chalk": "^5.6.2",
|
|
28
30
|
"chokidar": "^4.0.3",
|
|
29
31
|
"express": "^5.1.0",
|