@tilli-pro/cookieconsent-plugin 0.7.0 → 0.7.29
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 +3 -3
- package/demos/demo.min.html +1 -1
- package/demos/demo.styles.dark.html +10 -1
- package/demos/demo.styles.dark.min.html +9 -0
- package/demos/demo.styles.nudge.dark.html +18 -0
- package/demos/demo.styles.nudge.dark.min.html +9 -0
- package/demos/demo.styles.nudge.light.html +18 -0
- package/demos/demo.styles.nudge.light.min.html +9 -0
- package/demos/demo.styles.tenant_con-edison.dark.html +18 -0
- package/demos/demo.styles.tenant_con-edison.dark.min.html +9 -0
- package/demos/demo.styles.tenant_con-edison.light.html +18 -0
- package/demos/demo.styles.tenant_con-edison.light.min.html +9 -0
- package/demos/demo.styles.tenant_freeman.dark.html +18 -0
- package/demos/demo.styles.tenant_freeman.dark.min.html +9 -0
- package/demos/demo.styles.tenant_freeman.light.html +18 -0
- package/demos/demo.styles.tenant_frontier.dark.html +18 -0
- package/demos/demo.styles.tenant_frontier.dark.min.html +9 -0
- package/demos/demo.styles.tenant_frontier.light.html +18 -0
- package/demos/demo.styles.tenant_frontier.light.min.html +9 -0
- package/demos/demo.styles.tenant_oru.dark.html +18 -0
- package/demos/demo.styles.tenant_oru.dark.min.html +9 -0
- package/demos/demo.styles.tenant_oru.light.html +18 -0
- package/demos/demo.styles.tenant_oru.light.min.html +10 -0
- package/demos/demo.styles.tilli-pay.dark.html +18 -0
- package/demos/demo.styles.tilli-pay.dark.min.html +9 -0
- package/demos/demo.styles.tilli-pay.light.html +18 -0
- package/demos/demo.styles.tilli-pay.light.min.html +9 -0
- package/demos/demo.styles.tilli-website.dark.html +18 -0
- package/demos/demo.styles.tilli-website.dark.min.html +9 -0
- package/demos/demo.styles.tilli-website.light.html +18 -0
- package/demos/demo.styles.tilli-website.light.min.html +9 -0
- package/dist/_types.d.ts +1 -1
- package/dist/_types.d.ts.map +1 -1
- package/dist/_utils.d.ts +2 -2
- package/dist/_utils.d.ts.map +1 -1
- package/dist/_utils.js +2 -0
- package/dist/config/gui-options/html-components/ManageCookiePrefsButton.d.ts.map +1 -1
- package/dist/config/gui-options/html-components/ManageCookiePrefsButton.js +3 -0
- package/dist/config/gui-options/html-components/assets/CookieIcon.js +1 -1
- package/dist/init/nudge-website.d.ts +2 -0
- package/dist/init/nudge-website.d.ts.map +1 -0
- package/dist/init/nudge-website.js +124 -0
- package/dist/init/nudge.d.ts +2 -0
- package/dist/init/nudge.d.ts.map +1 -0
- package/dist/init/nudge.js +32 -0
- package/dist/init/tilli-pay-website.d.ts +2 -0
- package/dist/init/tilli-pay-website.d.ts.map +1 -0
- package/dist/init/tilli-pay-website.js +204 -0
- package/dist/init/tilli-pay.d.ts +2 -0
- package/dist/init/tilli-pay.d.ts.map +1 -0
- package/dist/init/tilli-pay.js +22 -0
- package/dist/init/tilli-website.js +188 -2
- package/dist/init/tilliX.d.ts +2 -0
- package/dist/init/tilliX.d.ts.map +1 -0
- package/dist/init/tilliX.js +24 -0
- package/dist/init/utils.script.d.ts +26 -0
- package/dist/init/utils.script.d.ts.map +1 -0
- package/dist/init/utils.script.js +63 -0
- package/dist/init.d.ts +1 -1
- package/dist/init.d.ts.map +1 -1
- package/dist/init.js +4 -2
- package/dist/styles/index.d.ts +5 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/index.js +5 -0
- package/dist/styles/nudge.css +121 -0
- package/dist/styles/tenants/con-edison.css +174 -0
- package/dist/styles/tenants/freeman.css +56 -1
- package/dist/styles/tenants/frontier.css +59 -2
- package/dist/styles/tenants/oru.css +174 -0
- package/dist/styles/tilli-pay.css +121 -0
- package/dist/styles/tilli-website.css +121 -0
- package/package.json +1 -1
- package/src/_types.ts +3 -2
- package/src/_utils.ts +5 -3
- package/src/config/gui-options/html-components/ManageCookiePrefsButton.ts +3 -0
- package/src/config/gui-options/html-components/assets/CookieIcon.ts +1 -1
- package/src/init/nudge-website.ts +140 -0
- package/src/init/nudge.ts +45 -0
- package/src/init/tilli-pay-website.ts +221 -0
- package/src/init/tilli-pay.ts +35 -0
- package/src/init/tilli-website.ts +192 -2
- package/src/init/tilliX.ts +37 -0
- package/src/init/utils.script.ts +72 -0
- package/src/init.ts +4 -2
- package/src/styles/index.ts +5 -0
- package/src/styles/nudge.css +121 -0
- package/src/styles/tenants/con-edison.css +174 -0
- package/src/styles/tenants/freeman.css +56 -1
- package/src/styles/tenants/frontier.css +59 -2
- package/src/styles/tenants/oru.css +174 -0
- package/src/styles/tilli-pay.css +121 -0
- package/src/styles/tilli-website.css +121 -0
- package/demos/demo.styles.freeman.html +0 -9
- package/demos/demo.styles.frontier.html +0 -9
package/demos/demo.html
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
<!doctype html>
|
2
2
|
<html lang="en">
|
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) -->
|
3
4
|
<head>
|
4
|
-
<!-- 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) -->
|
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@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/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@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/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@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/brf.js"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -1,9 +1,18 @@
|
|
1
1
|
<!doctype html>
|
2
2
|
<html lang="en" class="cc--elegant-black dark">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
3
12
|
<body>
|
4
13
|
<script
|
5
14
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/brf.js?theme=elegant-black"
|
7
16
|
></script>
|
8
17
|
</body>
|
9
18
|
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--nudge-dark dark">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/nudge.js?theme=nudge-dark"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--nudge-light">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/nudge.js?theme=nudge-light"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tenant:con-edison-dark dark">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-dark"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tenant:con-edison-light">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-light"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tenant:freeman-dark dark">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/brf.js?theme=tenant%3Afreeman-dark"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tenant:freeman-light">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/brf.js?theme=tenant%3Afreeman-light"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tenant:frontier-dark dark">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/brf.js?theme=tenant%3Afrontier-dark"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tenant:frontier-light">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/brf.js?theme=tenant%3Afrontier-light"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tenant:oru-dark dark">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-dark"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tenant:oru-light">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-light"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tilli-pay-dark dark">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/tilli-pay.js?theme=tilli-pay-dark"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tilli-pay-light">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/tilli-pay.js?theme=tilli-pay-light"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tilli-website-dark dark">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/tilli-website.js?theme=tilli-website-dark"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tilli-website-light">
|
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
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@e7ce1cf75b91068c10b64cbaa7fff5020fe90880/dist/plugin/init/tilli-website.js?theme=tilli-website-light"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
package/dist/_types.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
export type Theme = "light" | "dark" | "system";
|
2
|
-
export type TenantRefId = "nudge" | "gps" | "freeman" | "wgl-energy" | "frontier" | "con-edison";
|
2
|
+
export type TenantRefId = "nudge" | "gps" | "freeman" | "wgl-energy" | "frontier" | "con-edison" | "oru";
|
3
3
|
//# sourceMappingURL=_types.d.ts.map
|
package/dist/_types.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../src/_types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAChD,MAAM,MAAM,WAAW,GACnB,OAAO,GACP,KAAK,GACL,SAAS,GACT,YAAY,GACZ,UAAU,GACV,YAAY,
|
1
|
+
{"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../src/_types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAChD,MAAM,MAAM,WAAW,GACnB,OAAO,GACP,KAAK,GACL,SAAS,GACT,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,KAAK,CAAC"}
|
package/dist/_utils.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import type { Theme } from "./_types";
|
1
|
+
import type { TenantRefId, Theme } from "./_types";
|
2
2
|
interface CookieConsentThemeParams {
|
3
3
|
theme?: Theme;
|
4
4
|
defaultTo?: Exclude<Theme, "system">;
|
5
|
-
tenantRefId?:
|
5
|
+
tenantRefId?: TenantRefId;
|
6
6
|
url?: URL | null;
|
7
7
|
}
|
8
8
|
export declare const cookieConsentTheme: ({ theme, defaultTo, tenantRefId, url, }: CookieConsentThemeParams) => string | undefined;
|
package/dist/_utils.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"_utils.d.ts","sourceRoot":"","sources":["../src/_utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"_utils.d.ts","sourceRoot":"","sources":["../src/_utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAYnD,UAAU,wBAAwB;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,4CAK5B,wBAAwB,uBAsC1B,CAAC"}
|
package/dist/_utils.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ManageCookiePrefsButton.d.ts","sourceRoot":"","sources":["../../../../src/config/gui-options/html-components/ManageCookiePrefsButton.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY;;;;CAIjB,CAAC;AAEF,eAAO,MAAM,QAAQ,oDAAoD,CAAC;AAC1E,eAAO,MAAM,WAAW,8DAA0B,CAAC;AAEnD;;;;;;;GAOG;gCACmB,MAAM,OAAO,YAAY,KAAU,MAAM;AAA/D,
|
1
|
+
{"version":3,"file":"ManageCookiePrefsButton.d.ts","sourceRoot":"","sources":["../../../../src/config/gui-options/html-components/ManageCookiePrefsButton.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY;;;;CAIjB,CAAC;AAEF,eAAO,MAAM,QAAQ,oDAAoD,CAAC;AAC1E,eAAO,MAAM,WAAW,8DAA0B,CAAC;AAEnD;;;;;;;GAOG;gCACmB,MAAM,OAAO,YAAY,KAAU,MAAM;AAA/D,wBAsGE"}
|
@@ -3,7 +3,7 @@ import assets from "../../../../assets";
|
|
3
3
|
export default (centered /* 😉 */, scale = 0.6667, // -> 0.6667 ((100 * n)%)
|
4
4
|
topOffset = 0, // -> -0.25 (em)
|
5
5
|
rightOffset = 0) => `
|
6
|
-
<span style="display: inline-block; vertical-align: middle; transform: scale(${scale}); transform-origin: top left; margin-right: ${((centered ? -0.5 : -0.25) + rightOffset).toFixed(4)}em; height:
|
6
|
+
<span style="display: inline-block; vertical-align: middle; transform: scale(${scale}); transform-origin: top left; margin-right: ${((centered ? -0.5 : -0.25) + rightOffset).toFixed(4)}em; height: 16px${topOffset ? `; margin-top: ${topOffset.toFixed(4)}em` : ""};">
|
7
7
|
${assets.cookie}
|
8
8
|
<!-- invisible "🍪" icon (used for copy-paste/a11y purposes) -->
|
9
9
|
<span style="max-width: 0; max-height: 0; opacity: 0; position: absolute">🍪</span>
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"nudge-website.d.ts","sourceRoot":"","sources":["../../src/init/nudge-website.ts"],"names":[],"mappings":""}
|