@tilli-pro/cookieconsent-plugin 0.6.0 → 0.7.23

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.
Files changed (95) hide show
  1. package/.cache/tsbuildinfo.json +1 -1
  2. package/demos/demo.html +3 -3
  3. package/demos/demo.min.html +1 -1
  4. package/demos/demo.styles.dark.html +10 -1
  5. package/demos/demo.styles.dark.min.html +9 -0
  6. package/demos/demo.styles.nudge.dark.html +18 -0
  7. package/demos/demo.styles.nudge.dark.min.html +9 -0
  8. package/demos/demo.styles.nudge.light.html +18 -0
  9. package/demos/demo.styles.nudge.light.min.html +9 -0
  10. package/demos/demo.styles.tenant_con-edison.dark.html +18 -0
  11. package/demos/demo.styles.tenant_con-edison.dark.min.html +9 -0
  12. package/demos/demo.styles.tenant_con-edison.light.html +18 -0
  13. package/demos/demo.styles.tenant_con-edison.light.min.html +9 -0
  14. package/demos/demo.styles.tenant_freeman.dark.html +18 -0
  15. package/demos/demo.styles.tenant_freeman.dark.min.html +9 -0
  16. package/demos/demo.styles.tenant_freeman.light.html +18 -0
  17. package/demos/demo.styles.tenant_frontier.dark.html +18 -0
  18. package/demos/demo.styles.tenant_frontier.dark.min.html +9 -0
  19. package/demos/demo.styles.tenant_frontier.light.html +18 -0
  20. package/demos/demo.styles.tenant_frontier.light.min.html +9 -0
  21. package/demos/demo.styles.tenant_oru.dark.html +18 -0
  22. package/demos/demo.styles.tenant_oru.dark.min.html +9 -0
  23. package/demos/demo.styles.tenant_oru.light.html +18 -0
  24. package/demos/demo.styles.tenant_oru.light.min.html +10 -0
  25. package/demos/demo.styles.tilli-pay.dark.html +18 -0
  26. package/demos/demo.styles.tilli-pay.dark.min.html +9 -0
  27. package/demos/demo.styles.tilli-pay.light.html +18 -0
  28. package/demos/demo.styles.tilli-pay.light.min.html +9 -0
  29. package/demos/demo.styles.tilli-website.dark.html +18 -0
  30. package/demos/demo.styles.tilli-website.dark.min.html +9 -0
  31. package/demos/demo.styles.tilli-website.light.html +18 -0
  32. package/demos/demo.styles.tilli-website.light.min.html +9 -0
  33. package/dist/_types.d.ts +1 -1
  34. package/dist/_types.d.ts.map +1 -1
  35. package/dist/_utils.d.ts +2 -2
  36. package/dist/_utils.d.ts.map +1 -1
  37. package/dist/_utils.js +2 -0
  38. package/dist/config/gui-options/html-components/ManageCookiePrefsButton.d.ts.map +1 -1
  39. package/dist/config/gui-options/html-components/ManageCookiePrefsButton.js +3 -0
  40. package/dist/config/gui-options/html-components/assets/CookieIcon.js +1 -1
  41. package/dist/init/nudge-website.d.ts +2 -0
  42. package/dist/init/nudge-website.d.ts.map +1 -0
  43. package/dist/init/nudge-website.js +124 -0
  44. package/dist/init/nudge.d.ts +2 -0
  45. package/dist/init/nudge.d.ts.map +1 -0
  46. package/dist/init/nudge.js +32 -0
  47. package/dist/init/tilli-pay-website.d.ts +2 -0
  48. package/dist/init/tilli-pay-website.d.ts.map +1 -0
  49. package/dist/init/tilli-pay-website.js +204 -0
  50. package/dist/init/tilli-pay.d.ts +2 -0
  51. package/dist/init/tilli-pay.d.ts.map +1 -0
  52. package/dist/init/tilli-pay.js +22 -0
  53. package/dist/init/tilli-website.js +188 -2
  54. package/dist/init/tilliX.d.ts +2 -0
  55. package/dist/init/tilliX.d.ts.map +1 -0
  56. package/dist/init/tilliX.js +24 -0
  57. package/dist/init/utils.script.d.ts +26 -0
  58. package/dist/init/utils.script.d.ts.map +1 -0
  59. package/dist/init/utils.script.js +63 -0
  60. package/dist/init.d.ts +1 -1
  61. package/dist/init.d.ts.map +1 -1
  62. package/dist/init.js +4 -2
  63. package/dist/styles/index.d.ts +5 -0
  64. package/dist/styles/index.d.ts.map +1 -1
  65. package/dist/styles/index.js +5 -0
  66. package/dist/styles/nudge.css +121 -0
  67. package/dist/styles/tenants/con-edison.css +157 -0
  68. package/dist/styles/tenants/freeman.css +56 -1
  69. package/dist/styles/tenants/frontier.css +59 -2
  70. package/dist/styles/tenants/oru.css +157 -0
  71. package/dist/styles/tilli-pay.css +121 -0
  72. package/dist/styles/tilli-website.css +121 -0
  73. package/package.json +1 -1
  74. package/src/_types.ts +3 -2
  75. package/src/_utils.ts +5 -3
  76. package/src/config/gui-options/html-components/ManageCookiePrefsButton.ts +3 -0
  77. package/src/config/gui-options/html-components/assets/CookieIcon.ts +1 -1
  78. package/src/init/nudge-website.ts +140 -0
  79. package/src/init/nudge.ts +45 -0
  80. package/src/init/tilli-pay-website.ts +221 -0
  81. package/src/init/tilli-pay.ts +35 -0
  82. package/src/init/tilli-website.ts +192 -2
  83. package/src/init/tilliX.ts +37 -0
  84. package/src/init/utils.script.ts +72 -0
  85. package/src/init.ts +4 -2
  86. package/src/styles/index.ts +5 -0
  87. package/src/styles/nudge.css +121 -0
  88. package/src/styles/tenants/con-edison.css +157 -0
  89. package/src/styles/tenants/freeman.css +56 -1
  90. package/src/styles/tenants/frontier.css +59 -2
  91. package/src/styles/tenants/oru.css +157 -0
  92. package/src/styles/tilli-pay.css +121 -0
  93. package/src/styles/tilli-website.css +121 -0
  94. package/demos/demo.styles.freeman.html +0 -9
  95. 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@e263f7ee8870689ff91d7184bf5d4f12933d79fe/dist/cookieconsent.css"
8
+ https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/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@e263f7ee8870689ff91d7184bf5d4f12933d79fe/dist/plugin/init/tilli-website.js"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/brf.js"
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@e263f7ee8870689ff91d7184bf5d4f12933d79fe/dist/plugin/init/tilli-website.js"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/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@e263f7ee8870689ff91d7184bf5d4f12933d79fe/dist/plugin/init/tilli-website.js"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/brf.js?theme=elegant-black"
7
16
  ></script>
8
17
  </body>
9
18
  </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/brf.js?theme=elegant-black"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/nudge.js?theme=nudge-dark"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/nudge.js?theme=nudge-dark"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/nudge.js?theme=nudge-light"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/nudge.js?theme=nudge-light"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-dark"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-dark"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-light"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-light"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/brf.js?theme=tenant%3Afreeman-dark"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/brf.js?theme=tenant%3Afreeman-dark"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/brf.js?theme=tenant%3Afrontier-dark"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/brf.js?theme=tenant%3Afrontier-dark"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/brf.js?theme=tenant%3Afrontier-light"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/brf.js?theme=tenant%3Afrontier-light"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-dark"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-dark"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-light"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,10 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+
4
+ <body>
5
+ <script
6
+ type="module"
7
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-light"
8
+ ></script>
9
+ </body>
10
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilli-pay.js?theme=tilli-pay-dark"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilli-pay.js?theme=tilli-pay-dark"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilli-pay.js?theme=tilli-pay-light"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilli-pay.js?theme=tilli-pay-light"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilli-website.js?theme=tilli-website-dark"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilli-website.js?theme=tilli-website-dark"
7
+ ></script>
8
+ </body>
9
+ </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@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/cookieconsent.css"
9
+ />
10
+ </head>
11
+
12
+ <body>
13
+ <script
14
+ type="module"
15
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilli-website.js?theme=tilli-website-light"
16
+ ></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@693e3343f65c0e2a3c186bc4b913a83b9319a9f2/dist/plugin/init/tilli-website.js?theme=tilli-website-light"
7
+ ></script>
8
+ </body>
9
+ </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
@@ -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,CAAA"}
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?: string;
5
+ tenantRefId?: TenantRefId;
6
6
  url?: URL | null;
7
7
  }
8
8
  export declare const cookieConsentTheme: ({ theme, defaultTo, tenantRefId, url, }: CookieConsentThemeParams) => string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"_utils.d.ts","sourceRoot":"","sources":["../src/_utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,KAAK,EAAE,MAAM,UAAU,CAAC;AAUnD,UAAU,wBAAwB;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,4CAK5B,wBAAwB,uBAsC1B,CAAC"}
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,5 +1,7 @@
1
1
  import { COOKIE_CONSENT_TEST_SEARCH_PARAM_KEY_PREFIX } from "./_consts";
2
2
  const SUPPORTED_TENANT_THEMES = {
3
+ "con-edison": ["light"],
4
+ oru: ["light"],
3
5
  freeman: ["light"],
4
6
  frontier: ["light"],
5
7
  };
@@ -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,wBAmGE"}
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"}
@@ -60,6 +60,9 @@ export default (lang = "en") => `
60
60
  /* ensure always-interactable + visible */
61
61
  pointer-events: auto;
62
62
  visibility: visible !important;
63
+
64
+ /* prevent default <button> text color override */
65
+ color: inherit;
63
66
  }
64
67
 
65
68
  .dark #${buttonId} {
@@ -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: 1em${topOffset ? `; margin-top: ${topOffset.toFixed(4)}em` : ""};">
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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=nudge-website.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nudge-website.d.ts","sourceRoot":"","sources":["../../src/init/nudge-website.ts"],"names":[],"mappings":""}