@tilli-pro/cookieconsent-plugin 0.7.57 → 0.7.64
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/.cache/tsbuildinfo.json +1 -1
- package/demos/demo.html +2 -2
- package/demos/demo.min.html +1 -1
- package/demos/demo.styles.dark.html +2 -2
- package/demos/demo.styles.dark.min.html +1 -1
- package/demos/demo.styles.nudge-website.dark.html +3 -3
- package/demos/demo.styles.nudge-website.dark.min.html +1 -1
- package/demos/demo.styles.nudge-website.light.html +3 -3
- package/demos/demo.styles.nudge-website.light.min.html +1 -1
- package/demos/demo.styles.nudge.dark.html +2 -2
- package/demos/demo.styles.nudge.dark.min.html +1 -1
- package/demos/demo.styles.nudge.light.html +2 -2
- package/demos/demo.styles.nudge.light.min.html +1 -1
- package/demos/demo.styles.tenant_con-edison.dark.html +2 -2
- package/demos/demo.styles.tenant_con-edison.dark.min.html +1 -1
- package/demos/demo.styles.tenant_con-edison.light.html +2 -2
- package/demos/demo.styles.tenant_con-edison.light.min.html +1 -1
- package/demos/demo.styles.tenant_freeman.dark.html +2 -2
- package/demos/demo.styles.tenant_freeman.dark.min.html +1 -1
- package/demos/demo.styles.tenant_freeman.light.html +2 -2
- package/demos/demo.styles.tenant_frontier.dark.html +2 -2
- package/demos/demo.styles.tenant_frontier.dark.min.html +1 -1
- package/demos/demo.styles.tenant_frontier.light.html +2 -2
- package/demos/demo.styles.tenant_frontier.light.min.html +1 -1
- package/demos/demo.styles.tenant_oru.dark.html +2 -2
- package/demos/demo.styles.tenant_oru.dark.min.html +1 -1
- package/demos/demo.styles.tenant_oru.light.html +2 -2
- package/demos/demo.styles.tenant_oru.light.min.html +1 -1
- package/demos/demo.styles.tilli-pay.dark.html +2 -2
- package/demos/demo.styles.tilli-pay.dark.min.html +1 -1
- package/demos/demo.styles.tilli-pay.light.html +2 -2
- package/demos/demo.styles.tilli-pay.light.min.html +1 -1
- package/demos/demo.styles.tilli-website.dark.html +2 -2
- package/demos/demo.styles.tilli-website.dark.min.html +1 -1
- package/demos/demo.styles.tilli-website.light.html +2 -2
- package/demos/demo.styles.tilli-website.light.min.html +1 -1
- package/dist/init.d.ts +1 -1
- package/dist/init.js +2 -2
- package/dist/react-components/CookieConsentInit.client.d.ts +3 -2
- package/dist/react-components/CookieConsentInit.client.d.ts.map +1 -1
- package/dist/react-components/CookieConsentInit.client.js +3 -2
- package/dist/react-components/CookieConsentInit.server.d.ts +2 -2
- package/dist/react-components/CookieConsentInit.server.d.ts.map +1 -1
- package/dist/react-components/CookieConsentInit.server.js +2 -2
- 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/nudge-website.css +121 -0
- package/dist/styles/tenants/frontier.css +3 -0
- package/package.json +1 -1
- package/src/init.ts +2 -2
- package/src/react-components/CookieConsentInit.client.tsx +4 -3
- package/src/react-components/CookieConsentInit.server.tsx +3 -3
- package/src/styles/index.ts +1 -0
- package/src/styles/nudge-website.css +121 -0
- package/src/styles/tenants/frontier.css +3 -0
package/demos/demo.html
CHANGED
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/brf.js"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
package/demos/demo.min.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/brf.js"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/brf.js?theme=elegant-black"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/brf.js?theme=elegant-black"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -1,18 +1,18 @@
|
|
1
1
|
<!doctype html>
|
2
|
-
<html lang="en" class="cc--
|
2
|
+
<html lang="en" class="cc--nudge-website-dark dark">
|
3
3
|
<!-- it's best to also import the CSS at the <head> level, but it's optional (since the script will auto-add it if not already-present) -->
|
4
4
|
<head>
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/nudge-website.js?theme=nudge-website-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/nudge-website.js?theme=nudge-website-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -1,18 +1,18 @@
|
|
1
1
|
<!doctype html>
|
2
|
-
<html lang="en" class="cc--
|
2
|
+
<html lang="en" class="cc--nudge-website-light">
|
3
3
|
<!-- it's best to also import the CSS at the <head> level, but it's optional (since the script will auto-add it if not already-present) -->
|
4
4
|
<head>
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/nudge-website.js?theme=nudge-website-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/nudge-website.js?theme=nudge-website-light"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/nudge.js?theme=nudge-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/nudge.js?theme=nudge-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/nudge.js?theme=nudge-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/nudge.js?theme=nudge-light"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-light"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/brf.js?theme=tenant%3Afreeman-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/brf.js?theme=tenant%3Afreeman-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/brf.js?theme=tenant%3Afreeman-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/brf.js?theme=tenant%3Afrontier-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/brf.js?theme=tenant%3Afrontier-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/brf.js?theme=tenant%3Afrontier-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/brf.js?theme=tenant%3Afrontier-light"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<body>
|
5
5
|
<script
|
6
6
|
type="module"
|
7
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
7
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-light"
|
8
8
|
></script>
|
9
9
|
</body>
|
10
10
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilli-pay.js?theme=tilli-pay-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilli-pay.js?theme=tilli-pay-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilli-pay.js?theme=tilli-pay-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilli-pay.js?theme=tilli-pay-light"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilli-website.js?theme=tilli-website-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilli-website.js?theme=tilli-website-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilli-website.js?theme=tilli-website-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/plugin/init/tilli-website.js?theme=tilli-website-light"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
package/dist/init.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import "https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
1
|
+
import "https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.umd.js";
|
2
2
|
import type * as _CookieConsent from "@tilli-pro/cookieconsent";
|
3
3
|
import type { CookieConsentConfig } from "@tilli-pro/cookieconsent";
|
4
4
|
import { cookieConsentTheme } from "./_utils";
|
package/dist/init.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import "https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
1
|
+
import "https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@81eae9a592f089d1e18eb29cc76f5ed1f2d6909b/dist/cookieconsent.umd.js";
|
2
2
|
import { cookieConsentTheme } from "./_utils";
|
3
3
|
import _config from "./config";
|
4
4
|
import styles from "./styles";
|
5
5
|
import { initTheme } from "./init/utils.script";
|
6
|
-
const GIT_SHA = "
|
6
|
+
const GIT_SHA = "81eae9a592f089d1e18eb29cc76f5ed1f2d6909b";
|
7
7
|
const GIT_REPO = "tilli-pro/cookieconsent";
|
8
8
|
const GIT_CDN_BASE_URL = "https://cdn.jsdelivr.net/gh";
|
9
9
|
const GIT_CDN_URL = `${GIT_CDN_BASE_URL}/${GIT_REPO}@${GIT_SHA}`;
|
@@ -2,14 +2,15 @@ import { ConfigId } from "../init/_configs";
|
|
2
2
|
import "@tilli-pro/cookieconsent/dist/cookieconsent.css";
|
3
3
|
import "../styles/tilli-website.css";
|
4
4
|
import "../styles/tilli-pay.css";
|
5
|
+
import "../styles/nudge-website.css";
|
5
6
|
import "../styles/nudge.css";
|
6
7
|
import "../styles/tenants/freeman.css";
|
7
8
|
import "../styles/tenants/frontier.css";
|
8
9
|
import "../styles/tenants/con-edison.css";
|
9
10
|
import "../styles/tenants/oru.css";
|
10
11
|
interface CookieConsentInitProps {
|
11
|
-
|
12
|
+
config: ConfigId;
|
12
13
|
}
|
13
|
-
export default function CookieConsentInit({
|
14
|
+
export default function CookieConsentInit({ config, }: Readonly<CookieConsentInitProps>): null;
|
14
15
|
export {};
|
15
16
|
//# sourceMappingURL=CookieConsentInit.client.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CookieConsentInit.client.d.ts","sourceRoot":"","sources":["../../src/react-components/CookieConsentInit.client.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,OAAO,iDAAiD,CAAC;AAEzD,OAAO,6BAA6B,CAAC;AACrC,OAAO,yBAAyB,CAAC;AACjC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,+BAA+B,CAAC;AACvC,OAAO,gCAAgC,CAAC;AACxC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,2BAA2B,CAAC;AAEnC,UAAU,sBAAsB;IAC9B,
|
1
|
+
{"version":3,"file":"CookieConsentInit.client.d.ts","sourceRoot":"","sources":["../../src/react-components/CookieConsentInit.client.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,OAAO,iDAAiD,CAAC;AAEzD,OAAO,6BAA6B,CAAC;AACrC,OAAO,yBAAyB,CAAC;AACjC,OAAO,6BAA6B,CAAC;AACrC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,+BAA+B,CAAC;AACvC,OAAO,gCAAgC,CAAC;AACxC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,2BAA2B,CAAC;AAEnC,UAAU,sBAAsB;IAC9B,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,MAAM,GACP,EAAE,QAAQ,CAAC,sBAAsB,CAAC,QAIlC"}
|
@@ -4,12 +4,13 @@ import "@tilli-pro/cookieconsent/dist/cookieconsent.css";
|
|
4
4
|
// TODO: make theme imports below dynamic
|
5
5
|
import "../styles/tilli-website.css";
|
6
6
|
import "../styles/tilli-pay.css";
|
7
|
+
import "../styles/nudge-website.css";
|
7
8
|
import "../styles/nudge.css";
|
8
9
|
import "../styles/tenants/freeman.css";
|
9
10
|
import "../styles/tenants/frontier.css";
|
10
11
|
import "../styles/tenants/con-edison.css";
|
11
12
|
import "../styles/tenants/oru.css";
|
12
|
-
export default function CookieConsentInit({
|
13
|
-
useCookieConsent(
|
13
|
+
export default function CookieConsentInit({ config, }) {
|
14
|
+
useCookieConsent(config);
|
14
15
|
return null;
|
15
16
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import "server-only";
|
2
2
|
import type { ConfigId } from "../init/_configs";
|
3
3
|
interface CookieConsentInitProps {
|
4
|
-
|
4
|
+
config: ConfigId;
|
5
5
|
}
|
6
6
|
/** we use a server component to handle dynamic injection of the script all together
|
7
7
|
* > basically, there's no need to inject the client-side cookie-consent script if it's not in scope */
|
8
|
-
export default function CookieConsentInit({
|
8
|
+
export default function CookieConsentInit({ config, }: Readonly<CookieConsentInitProps>): import("react/jsx-runtime").JSX.Element | null;
|
9
9
|
export {};
|
10
10
|
//# sourceMappingURL=CookieConsentInit.server.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CookieConsentInit.server.d.ts","sourceRoot":"","sources":["../../src/react-components/CookieConsentInit.server.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIjD,UAAU,sBAAsB;IAC9B,
|
1
|
+
{"version":3,"file":"CookieConsentInit.server.d.ts","sourceRoot":"","sources":["../../src/react-components/CookieConsentInit.server.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIjD,UAAU,sBAAsB;IAC9B,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED;uGACuG;AACvG,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,MAAM,GACP,EAAE,QAAQ,CAAC,sBAAsB,CAAC,kDAIlC"}
|
@@ -4,6 +4,6 @@ import { COOKIE_CONSENT_ENABLED } from "../_consts";
|
|
4
4
|
import CookieConsentInitClient from "./CookieConsentInit.client";
|
5
5
|
/** we use a server component to handle dynamic injection of the script all together
|
6
6
|
* > basically, there's no need to inject the client-side cookie-consent script if it's not in scope */
|
7
|
-
export default function CookieConsentInit({
|
8
|
-
return COOKIE_CONSENT_ENABLED ? (_jsx(CookieConsentInitClient, {
|
7
|
+
export default function CookieConsentInit({ config, }) {
|
8
|
+
return COOKIE_CONSENT_ENABLED ? (_jsx(CookieConsentInitClient, { config })) : null;
|
9
9
|
}
|
package/dist/styles/index.d.ts
CHANGED